feat: add snjs package

This commit is contained in:
Karol Sójko
2022-07-06 14:04:18 +02:00
parent 321a055bae
commit 0e40469e2f
296 changed files with 46109 additions and 187 deletions

View File

@@ -0,0 +1,18 @@
import { ProtocolExpirationDates, ProtocolVersion } from '@standardnotes/common'
export const ConfirmStrings = {
ProtocolVersionExpired(version: ProtocolVersion) {
return {
Message:
'The encryption version for your account is outdated and requires upgrade. ' +
'You may proceed with login, but are advised to perform a security update using the web or desktop application.\n\n' +
`If your account was created after ${ProtocolExpirationDates[
version
]?.toLocaleString()}, it may not be safe to continue signing in. ` +
'In that case, please discontinue your sign in request and contact support.\n\n' +
'For more information, visit standardnotes.com/help/security.',
Title: 'Update Recommended',
ConfirmButton: 'Sign In',
}
},
}