fix: encryption exports (#1205)

* fix: encryptio exports

* fix: imports

* fix: items key mutator import
This commit is contained in:
Karol Sójko
2022-07-05 11:31:22 +02:00
committed by GitHub
parent d311ce40b9
commit 945248d7d3
12 changed files with 53 additions and 46 deletions

View File

@@ -1,7 +1,7 @@
import { ContentType, ProtocolVersion } from '@standardnotes/common'
import { DecryptedPayload, ItemContent, ItemsKeyContent, PayloadTimestampDefaults } from '@standardnotes/models'
import { PureCryptoInterface } from '@standardnotes/sncrypto-common'
import { SNItemsKey } from '../../Keys/ItemsKey'
import { SNItemsKey } from '../../Keys/ItemsKey/ItemsKey'
import { ItemAuthenticatedData } from '../../Types/ItemAuthenticatedData'
import { SNProtocolOperator004 } from './Operator004'

View File

@@ -20,7 +20,7 @@ import { DecryptedParameters, EncryptedParameters, ErrorDecryptingParameters } f
import { RootKeyEncryptedAuthenticatedData } from '../../Types/RootKeyEncryptedAuthenticatedData'
import { ItemAuthenticatedData } from '../../Types/ItemAuthenticatedData'
import { LegacyAttachedData } from '../../Types/LegacyAttachedData'
import { isItemsKey } from '../../Keys/ItemsKey'
import { isItemsKey } from '../../Keys/ItemsKey/ItemsKey'
type V004StringComponents = [version: string, nonce: string, ciphertext: string, authenticatedData: string]