@wireapp/core-crypto 10.4.0 → 10.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3483,6 +3483,10 @@ declare class CoreCryptoContext extends UniffiAbstractObject {
3483
3483
  /**
3484
3484
  * Creates a new Proteus prekey with the given ID and returns its CBOR-serialized bundle.
3485
3485
  *
3486
+ * Fails if the ID is already in use. Prekeys are not replaceable: the ID has been published to
3487
+ * peers in a bundle, and overwriting it would strand anyone still holding that bundle. Use
3488
+ * `proteus_new_prekey_auto` to have a free ID chosen instead.
3489
+ *
3486
3490
  * Warning: the Proteus client must be initialized with `proteus_init` first or an error will be returned.
3487
3491
  */
3488
3492
  proteusNewPrekey(prekeyId: number, asyncOpts_?: {
@@ -2563,20 +2563,20 @@ var FfiConverterTypeBuildMetadata = (() => {
2563
2563
  return new FFIConverter;
2564
2564
  })();
2565
2565
  var MlsError_Tags;
2566
- ((MlsError_Tags2) => {
2567
- MlsError_Tags2["ConversationAlreadyExists"] = "ConversationAlreadyExists";
2568
- MlsError_Tags2["DuplicateMessage"] = "DuplicateMessage";
2569
- MlsError_Tags2["BufferedFutureMessage"] = "BufferedFutureMessage";
2570
- MlsError_Tags2["WrongEpoch"] = "WrongEpoch";
2571
- MlsError_Tags2["BufferedCommit"] = "BufferedCommit";
2572
- MlsError_Tags2["MessageEpochTooOld"] = "MessageEpochTooOld";
2573
- MlsError_Tags2["SelfCommitIgnored"] = "SelfCommitIgnored";
2574
- MlsError_Tags2["UnmergedPendingGroup"] = "UnmergedPendingGroup";
2575
- MlsError_Tags2["StaleProposal"] = "StaleProposal";
2576
- MlsError_Tags2["StaleCommit"] = "StaleCommit";
2577
- MlsError_Tags2["OrphanWelcome"] = "OrphanWelcome";
2578
- MlsError_Tags2["MessageRejected"] = "MessageRejected";
2579
- MlsError_Tags2["Other"] = "Other";
2566
+ ((MlsError_Tags) => {
2567
+ MlsError_Tags["ConversationAlreadyExists"] = "ConversationAlreadyExists";
2568
+ MlsError_Tags["DuplicateMessage"] = "DuplicateMessage";
2569
+ MlsError_Tags["BufferedFutureMessage"] = "BufferedFutureMessage";
2570
+ MlsError_Tags["WrongEpoch"] = "WrongEpoch";
2571
+ MlsError_Tags["BufferedCommit"] = "BufferedCommit";
2572
+ MlsError_Tags["MessageEpochTooOld"] = "MessageEpochTooOld";
2573
+ MlsError_Tags["SelfCommitIgnored"] = "SelfCommitIgnored";
2574
+ MlsError_Tags["UnmergedPendingGroup"] = "UnmergedPendingGroup";
2575
+ MlsError_Tags["StaleProposal"] = "StaleProposal";
2576
+ MlsError_Tags["StaleCommit"] = "StaleCommit";
2577
+ MlsError_Tags["OrphanWelcome"] = "OrphanWelcome";
2578
+ MlsError_Tags["MessageRejected"] = "MessageRejected";
2579
+ MlsError_Tags["Other"] = "Other";
2580
2580
  })(MlsError_Tags ||= {});
2581
2581
  var MlsError = (() => {
2582
2582
 
@@ -2993,11 +2993,11 @@ var FfiConverterTypeMlsError = (() => {
2993
2993
  return new FFIConverter;
2994
2994
  })();
2995
2995
  var ProteusError_Tags;
2996
- ((ProteusError_Tags2) => {
2997
- ProteusError_Tags2["SessionNotFound"] = "SessionNotFound";
2998
- ProteusError_Tags2["DuplicateMessage"] = "DuplicateMessage";
2999
- ProteusError_Tags2["RemoteIdentityChanged"] = "RemoteIdentityChanged";
3000
- ProteusError_Tags2["Other"] = "Other";
2996
+ ((ProteusError_Tags) => {
2997
+ ProteusError_Tags["SessionNotFound"] = "SessionNotFound";
2998
+ ProteusError_Tags["DuplicateMessage"] = "DuplicateMessage";
2999
+ ProteusError_Tags["RemoteIdentityChanged"] = "RemoteIdentityChanged";
3000
+ ProteusError_Tags["Other"] = "Other";
3001
3001
  })(ProteusError_Tags ||= {});
3002
3002
  var ProteusError = (() => {
3003
3003
 
@@ -3151,12 +3151,12 @@ var FfiConverterTypeProteusError = (() => {
3151
3151
  return new FFIConverter;
3152
3152
  })();
3153
3153
  var CoreCryptoError_Tags;
3154
- ((CoreCryptoError_Tags2) => {
3155
- CoreCryptoError_Tags2["Mls"] = "Mls";
3156
- CoreCryptoError_Tags2["Proteus"] = "Proteus";
3157
- CoreCryptoError_Tags2["E2ei"] = "E2ei";
3158
- CoreCryptoError_Tags2["TransactionFailed"] = "TransactionFailed";
3159
- CoreCryptoError_Tags2["Other"] = "Other";
3154
+ ((CoreCryptoError_Tags) => {
3155
+ CoreCryptoError_Tags["Mls"] = "Mls";
3156
+ CoreCryptoError_Tags["Proteus"] = "Proteus";
3157
+ CoreCryptoError_Tags["E2ei"] = "E2ei";
3158
+ CoreCryptoError_Tags["TransactionFailed"] = "TransactionFailed";
3159
+ CoreCryptoError_Tags["Other"] = "Other";
3160
3160
  })(CoreCryptoError_Tags ||= {});
3161
3161
  var CoreCryptoError = (() => {
3162
3162
 
@@ -3462,9 +3462,9 @@ var uniffiTypeWelcomeObjectFactory = (() => {
3462
3462
  })();
3463
3463
  var FfiConverterTypeWelcome = new FfiConverterObject(uniffiTypeWelcomeObjectFactory);
3464
3464
  var MlsGroupInfoEncryptionType;
3465
- ((MlsGroupInfoEncryptionType2) => {
3466
- MlsGroupInfoEncryptionType2[MlsGroupInfoEncryptionType2["Plaintext"] = 1] = "Plaintext";
3467
- MlsGroupInfoEncryptionType2[MlsGroupInfoEncryptionType2["JweEncrypted"] = 2] = "JweEncrypted";
3465
+ ((MlsGroupInfoEncryptionType) => {
3466
+ MlsGroupInfoEncryptionType[MlsGroupInfoEncryptionType["Plaintext"] = 1] = "Plaintext";
3467
+ MlsGroupInfoEncryptionType[MlsGroupInfoEncryptionType["JweEncrypted"] = 2] = "JweEncrypted";
3468
3468
  })(MlsGroupInfoEncryptionType ||= {});
3469
3469
  var FfiConverterTypeMlsGroupInfoEncryptionType = (() => {
3470
3470
  const ordinalConverter = FfiConverterInt32;
@@ -3495,10 +3495,10 @@ var FfiConverterTypeMlsGroupInfoEncryptionType = (() => {
3495
3495
  return new FFIConverter;
3496
3496
  })();
3497
3497
  var MlsRatchetTreeType;
3498
- ((MlsRatchetTreeType2) => {
3499
- MlsRatchetTreeType2[MlsRatchetTreeType2["Full"] = 1] = "Full";
3500
- MlsRatchetTreeType2[MlsRatchetTreeType2["Delta"] = 2] = "Delta";
3501
- MlsRatchetTreeType2[MlsRatchetTreeType2["ByRef"] = 3] = "ByRef";
3498
+ ((MlsRatchetTreeType) => {
3499
+ MlsRatchetTreeType[MlsRatchetTreeType["Full"] = 1] = "Full";
3500
+ MlsRatchetTreeType[MlsRatchetTreeType["Delta"] = 2] = "Delta";
3501
+ MlsRatchetTreeType[MlsRatchetTreeType["ByRef"] = 3] = "ByRef";
3502
3502
  })(MlsRatchetTreeType ||= {});
3503
3503
  var FfiConverterTypeMlsRatchetTreeType = (() => {
3504
3504
  const ordinalConverter = FfiConverterInt32;
@@ -4072,10 +4072,10 @@ var FfiConverterTypeProteusAutoPrekeyBundle = (() => {
4072
4072
  return new FFIConverter;
4073
4073
  })();
4074
4074
  var DeviceStatus;
4075
- ((DeviceStatus2) => {
4076
- DeviceStatus2[DeviceStatus2["Valid"] = 1] = "Valid";
4077
- DeviceStatus2[DeviceStatus2["Expired"] = 2] = "Expired";
4078
- DeviceStatus2[DeviceStatus2["Revoked"] = 3] = "Revoked";
4075
+ ((DeviceStatus) => {
4076
+ DeviceStatus[DeviceStatus["Valid"] = 1] = "Valid";
4077
+ DeviceStatus[DeviceStatus["Expired"] = 2] = "Expired";
4078
+ DeviceStatus[DeviceStatus["Revoked"] = 3] = "Revoked";
4079
4079
  })(DeviceStatus ||= {});
4080
4080
  var FfiConverterTypeDeviceStatus = (() => {
4081
4081
  const ordinalConverter = FfiConverterInt32;
@@ -4110,9 +4110,9 @@ var FfiConverterTypeDeviceStatus = (() => {
4110
4110
  return new FFIConverter;
4111
4111
  })();
4112
4112
  var CredentialType;
4113
- ((CredentialType2) => {
4114
- CredentialType2[CredentialType2["Basic"] = 1] = "Basic";
4115
- CredentialType2[CredentialType2["X509"] = 2] = "X509";
4113
+ ((CredentialType) => {
4114
+ CredentialType[CredentialType["Basic"] = 1] = "Basic";
4115
+ CredentialType[CredentialType["X509"] = 2] = "X509";
4116
4116
  })(CredentialType ||= {});
4117
4117
  var FfiConverterTypeCredentialType = (() => {
4118
4118
  const ordinalConverter = FfiConverterInt32;
@@ -4220,14 +4220,14 @@ var FfiConverterTypeWireIdentity = (() => {
4220
4220
  return new FFIConverter;
4221
4221
  })();
4222
4222
  var CipherSuite;
4223
- ((CipherSuite2) => {
4224
- CipherSuite2[CipherSuite2["Mls128Dhkemx25519Aes128gcmSha256Ed25519"] = 1] = "Mls128Dhkemx25519Aes128gcmSha256Ed25519";
4225
- CipherSuite2[CipherSuite2["Mls128Dhkemp256Aes128gcmSha256P256"] = 2] = "Mls128Dhkemp256Aes128gcmSha256P256";
4226
- CipherSuite2[CipherSuite2["Mls128Dhkemx25519Chacha20poly1305Sha256Ed25519"] = 3] = "Mls128Dhkemx25519Chacha20poly1305Sha256Ed25519";
4227
- CipherSuite2[CipherSuite2["Mls256Dhkemx448Aes256gcmSha512Ed448"] = 4] = "Mls256Dhkemx448Aes256gcmSha512Ed448";
4228
- CipherSuite2[CipherSuite2["Mls256Dhkemp521Aes256gcmSha512P521"] = 5] = "Mls256Dhkemp521Aes256gcmSha512P521";
4229
- CipherSuite2[CipherSuite2["Mls256Dhkemx448Chacha20poly1305Sha512Ed448"] = 6] = "Mls256Dhkemx448Chacha20poly1305Sha512Ed448";
4230
- CipherSuite2[CipherSuite2["Mls256Dhkemp384Aes256gcmSha384P384"] = 7] = "Mls256Dhkemp384Aes256gcmSha384P384";
4223
+ ((CipherSuite) => {
4224
+ CipherSuite[CipherSuite["Mls128Dhkemx25519Aes128gcmSha256Ed25519"] = 1] = "Mls128Dhkemx25519Aes128gcmSha256Ed25519";
4225
+ CipherSuite[CipherSuite["Mls128Dhkemp256Aes128gcmSha256P256"] = 2] = "Mls128Dhkemp256Aes128gcmSha256P256";
4226
+ CipherSuite[CipherSuite["Mls128Dhkemx25519Chacha20poly1305Sha256Ed25519"] = 3] = "Mls128Dhkemx25519Chacha20poly1305Sha256Ed25519";
4227
+ CipherSuite[CipherSuite["Mls256Dhkemx448Aes256gcmSha512Ed448"] = 4] = "Mls256Dhkemx448Aes256gcmSha512Ed448";
4228
+ CipherSuite[CipherSuite["Mls256Dhkemp521Aes256gcmSha512P521"] = 5] = "Mls256Dhkemp521Aes256gcmSha512P521";
4229
+ CipherSuite[CipherSuite["Mls256Dhkemx448Chacha20poly1305Sha512Ed448"] = 6] = "Mls256Dhkemx448Chacha20poly1305Sha512Ed448";
4230
+ CipherSuite[CipherSuite["Mls256Dhkemp384Aes256gcmSha384P384"] = 7] = "Mls256Dhkemp384Aes256gcmSha384P384";
4231
4231
  })(CipherSuite ||= {});
4232
4232
  var FfiConverterTypeCipherSuite = (() => {
4233
4233
  const ordinalConverter = FfiConverterInt32;
@@ -4453,13 +4453,13 @@ var FfiConverterTypeBufferedDecryptedMessage = (() => {
4453
4453
  return new FFIConverter;
4454
4454
  })();
4455
4455
  var CoreCryptoLogLevel;
4456
- ((CoreCryptoLogLevel2) => {
4457
- CoreCryptoLogLevel2[CoreCryptoLogLevel2["Off"] = 1] = "Off";
4458
- CoreCryptoLogLevel2[CoreCryptoLogLevel2["Trace"] = 2] = "Trace";
4459
- CoreCryptoLogLevel2[CoreCryptoLogLevel2["Debug"] = 3] = "Debug";
4460
- CoreCryptoLogLevel2[CoreCryptoLogLevel2["Info"] = 4] = "Info";
4461
- CoreCryptoLogLevel2[CoreCryptoLogLevel2["Warn"] = 5] = "Warn";
4462
- CoreCryptoLogLevel2[CoreCryptoLogLevel2["Error"] = 6] = "Error";
4456
+ ((CoreCryptoLogLevel) => {
4457
+ CoreCryptoLogLevel[CoreCryptoLogLevel["Off"] = 1] = "Off";
4458
+ CoreCryptoLogLevel[CoreCryptoLogLevel["Trace"] = 2] = "Trace";
4459
+ CoreCryptoLogLevel[CoreCryptoLogLevel["Debug"] = 3] = "Debug";
4460
+ CoreCryptoLogLevel[CoreCryptoLogLevel["Info"] = 4] = "Info";
4461
+ CoreCryptoLogLevel[CoreCryptoLogLevel["Warn"] = 5] = "Warn";
4462
+ CoreCryptoLogLevel[CoreCryptoLogLevel["Error"] = 6] = "Error";
4463
4463
  })(CoreCryptoLogLevel ||= {});
4464
4464
  var FfiConverterTypeCoreCryptoLogLevel = (() => {
4465
4465
  const ordinalConverter = FfiConverterInt32;
@@ -4641,10 +4641,10 @@ var FfiConverterTypeDecryptedMessage = (() => {
4641
4641
  return new FFIConverter;
4642
4642
  })();
4643
4643
  var E2eiConversationState;
4644
- ((E2eiConversationState2) => {
4645
- E2eiConversationState2[E2eiConversationState2["Verified"] = 1] = "Verified";
4646
- E2eiConversationState2[E2eiConversationState2["NotVerified"] = 2] = "NotVerified";
4647
- E2eiConversationState2[E2eiConversationState2["NotEnabled"] = 3] = "NotEnabled";
4644
+ ((E2eiConversationState) => {
4645
+ E2eiConversationState[E2eiConversationState["Verified"] = 1] = "Verified";
4646
+ E2eiConversationState[E2eiConversationState["NotVerified"] = 2] = "NotVerified";
4647
+ E2eiConversationState[E2eiConversationState["NotEnabled"] = 3] = "NotEnabled";
4648
4648
  })(E2eiConversationState ||= {});
4649
4649
  var FfiConverterTypeE2eiConversationState = (() => {
4650
4650
  const ordinalConverter = FfiConverterInt32;
@@ -4679,8 +4679,8 @@ var FfiConverterTypeE2eiConversationState = (() => {
4679
4679
  return new FFIConverter;
4680
4680
  })();
4681
4681
  var EpochChangedReportingError_Tags;
4682
- ((EpochChangedReportingError_Tags2) => {
4683
- EpochChangedReportingError_Tags2["Ffi"] = "Ffi";
4682
+ ((EpochChangedReportingError_Tags) => {
4683
+ EpochChangedReportingError_Tags["Ffi"] = "Ffi";
4684
4684
  })(EpochChangedReportingError_Tags ||= {});
4685
4685
  var EpochChangedReportingError = (() => {
4686
4686
 
@@ -4727,13 +4727,13 @@ var FfiConverterTypeEpochChangedReportingError = (() => {
4727
4727
  return new FfiConverter;
4728
4728
  })();
4729
4729
  var HttpMethod;
4730
- ((HttpMethod2) => {
4731
- HttpMethod2[HttpMethod2["Get"] = 0] = "Get";
4732
- HttpMethod2[HttpMethod2["Post"] = 1] = "Post";
4733
- HttpMethod2[HttpMethod2["Put"] = 2] = "Put";
4734
- HttpMethod2[HttpMethod2["Delete"] = 3] = "Delete";
4735
- HttpMethod2[HttpMethod2["Patch"] = 4] = "Patch";
4736
- HttpMethod2[HttpMethod2["Head"] = 5] = "Head";
4730
+ ((HttpMethod) => {
4731
+ HttpMethod[HttpMethod["Get"] = 0] = "Get";
4732
+ HttpMethod[HttpMethod["Post"] = 1] = "Post";
4733
+ HttpMethod[HttpMethod["Put"] = 2] = "Put";
4734
+ HttpMethod[HttpMethod["Delete"] = 3] = "Delete";
4735
+ HttpMethod[HttpMethod["Patch"] = 4] = "Patch";
4736
+ HttpMethod[HttpMethod["Head"] = 5] = "Head";
4737
4737
  })(HttpMethod ||= {});
4738
4738
  var FfiConverterTypeHttpMethod = (() => {
4739
4739
  const ordinalConverter = FfiConverterInt32;
@@ -4780,8 +4780,8 @@ var FfiConverterTypeHttpMethod = (() => {
4780
4780
  return new FFIConverter;
4781
4781
  })();
4782
4782
  var LoggingError_Tags;
4783
- ((LoggingError_Tags2) => {
4784
- LoggingError_Tags2["Ffi"] = "Ffi";
4783
+ ((LoggingError_Tags) => {
4784
+ LoggingError_Tags["Ffi"] = "Ffi";
4785
4785
  })(LoggingError_Tags ||= {});
4786
4786
  var LoggingError = (() => {
4787
4787
 
@@ -5009,12 +5009,12 @@ var FfiConverterTypePkiEnvironmentHooksError = (() => {
5009
5009
  return new FFIConverter;
5010
5010
  })();
5011
5011
  var SignatureScheme;
5012
- ((SignatureScheme2) => {
5013
- SignatureScheme2[SignatureScheme2["EcdsaSecp256r1Sha256"] = 1027] = "EcdsaSecp256r1Sha256";
5014
- SignatureScheme2[SignatureScheme2["EcdsaSecp384r1Sha384"] = 1283] = "EcdsaSecp384r1Sha384";
5015
- SignatureScheme2[SignatureScheme2["EcdsaSecp521r1Sha512"] = 1539] = "EcdsaSecp521r1Sha512";
5016
- SignatureScheme2[SignatureScheme2["Ed25519"] = 2055] = "Ed25519";
5017
- SignatureScheme2[SignatureScheme2["Ed448"] = 2056] = "Ed448";
5012
+ ((SignatureScheme) => {
5013
+ SignatureScheme[SignatureScheme["EcdsaSecp256r1Sha256"] = 1027] = "EcdsaSecp256r1Sha256";
5014
+ SignatureScheme[SignatureScheme["EcdsaSecp384r1Sha384"] = 1283] = "EcdsaSecp384r1Sha384";
5015
+ SignatureScheme[SignatureScheme["EcdsaSecp521r1Sha512"] = 1539] = "EcdsaSecp521r1Sha512";
5016
+ SignatureScheme[SignatureScheme["Ed25519"] = 2055] = "Ed25519";
5017
+ SignatureScheme[SignatureScheme["Ed448"] = 2056] = "Ed448";
5018
5018
  })(SignatureScheme ||= {});
5019
5019
  var FfiConverterTypeSignatureScheme = (() => {
5020
5020
  const ordinalConverter = FfiConverterInt32;
@@ -8556,7 +8556,7 @@ function uniffiEnsureInitialized() {
8556
8556
  if (core_crypto_ffi_ffi_default().uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_last_resort_prekey() !== 59192) {
8557
8557
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_last_resort_prekey");
8558
8558
  }
8559
- if (core_crypto_ffi_ffi_default().uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_new_prekey() !== 50191) {
8559
+ if (core_crypto_ffi_ffi_default().uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_new_prekey() !== 47943) {
8560
8560
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_new_prekey");
8561
8561
  }
8562
8562
  if (core_crypto_ffi_ffi_default().uniffi_core_crypto_ffi_checksum_method_corecryptocontext_proteus_new_prekey_auto() !== 37928) {
@@ -8999,62 +8999,62 @@ class X509CredentialAcquisition2 extends X509CredentialAcquisition {
8999
8999
  }
9000
9000
  }
9001
9001
  export {
9002
- version,
9003
- setMaxLogLevel,
9004
- setLogger,
9005
- proteusLastResortPrekeyIdFfi as proteusLastResortPrekeyId,
9006
- migrateDatabaseKeyTypeToBytes,
9007
- cipherSuiteFromU16,
9008
- cipherSuiteDefault,
9009
- buildMetadata,
9010
- X509Identity,
9011
- X509CredentialAcquisitionConfiguration,
9012
- X509CredentialAcquisition2 as X509CredentialAcquisition,
9013
- WireIdentity,
9014
- Welcome,
9015
- Uuid,
9016
- SignatureScheme,
9017
- SecretKey,
9018
- MlsRatchetTreeType as RatchetTreeType,
9019
- ProteusError_Tags,
9020
- ProteusError,
9021
- ProteusAutoPrekeyBundle,
9022
- PkiEnvironmentHooksError,
9023
- PkiEnvironment,
9024
- NewHistoryClientReportingError,
9025
- MlsTransportError,
9026
- MlsError_Tags,
9027
- MlsError,
9028
- LoggingError_Tags,
9029
- LoggingError,
9030
- KeyPackageRef,
9031
- KeyPackage,
9032
- HttpResponse,
9033
- HttpMethod,
9034
- HttpHeader,
9035
- MlsGroupInfoEncryptionType as GroupInfoEncryptionType,
9036
- GroupInfo,
9037
- ExternalSender,
9038
- EpochChangedReportingError_Tags,
9039
- EpochChangedReportingError,
9040
- E2eiConversationState,
9041
- DeviceStatus,
9042
- DeviceId,
9043
- DeserializedClientId,
9044
- DecryptedMessage,
9045
- DatabaseKey,
9046
- Database,
9047
- CredentialType,
9048
- CredentialRef,
9049
- Credential,
9050
- CoreCryptoLogLevel,
9051
- CoreCryptoError_Tags,
9052
- CoreCryptoError,
9053
- CoreCryptoContext2 as CoreCryptoContext,
9054
- CoreCrypto,
9055
- ConversationId,
9056
- ClientId,
9057
- CipherSuite,
9002
+ BufferedDecryptedMessage,
9058
9003
  BuildMetadata,
9059
- BufferedDecryptedMessage
9004
+ CipherSuite,
9005
+ ClientId,
9006
+ ConversationId,
9007
+ CoreCrypto,
9008
+ CoreCryptoContext2 as CoreCryptoContext,
9009
+ CoreCryptoError,
9010
+ CoreCryptoError_Tags,
9011
+ CoreCryptoLogLevel,
9012
+ Credential,
9013
+ CredentialRef,
9014
+ CredentialType,
9015
+ Database,
9016
+ DatabaseKey,
9017
+ DecryptedMessage,
9018
+ DeserializedClientId,
9019
+ DeviceId,
9020
+ DeviceStatus,
9021
+ E2eiConversationState,
9022
+ EpochChangedReportingError,
9023
+ EpochChangedReportingError_Tags,
9024
+ ExternalSender,
9025
+ GroupInfo,
9026
+ MlsGroupInfoEncryptionType as GroupInfoEncryptionType,
9027
+ HttpHeader,
9028
+ HttpMethod,
9029
+ HttpResponse,
9030
+ KeyPackage,
9031
+ KeyPackageRef,
9032
+ LoggingError,
9033
+ LoggingError_Tags,
9034
+ MlsError,
9035
+ MlsError_Tags,
9036
+ MlsTransportError,
9037
+ NewHistoryClientReportingError,
9038
+ PkiEnvironment,
9039
+ PkiEnvironmentHooksError,
9040
+ ProteusAutoPrekeyBundle,
9041
+ ProteusError,
9042
+ ProteusError_Tags,
9043
+ MlsRatchetTreeType as RatchetTreeType,
9044
+ SecretKey,
9045
+ SignatureScheme,
9046
+ Uuid,
9047
+ Welcome,
9048
+ WireIdentity,
9049
+ X509CredentialAcquisition2 as X509CredentialAcquisition,
9050
+ X509CredentialAcquisitionConfiguration,
9051
+ X509Identity,
9052
+ buildMetadata,
9053
+ cipherSuiteDefault,
9054
+ cipherSuiteFromU16,
9055
+ migrateDatabaseKeyTypeToBytes,
9056
+ proteusLastResortPrekeyIdFfi as proteusLastResortPrekeyId,
9057
+ setLogger,
9058
+ setMaxLogLevel,
9059
+ version
9060
9060
  };
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wireapp/core-crypto",
3
- "version": "10.4.0",
3
+ "version": "10.5.1",
4
4
  "description": "CoreCrypto bindings for browser and native JavaScript runtimes",
5
5
  "keywords": [
6
6
  "corecrypto",