ping-openmls-sdk-react-native-macos 0.7.12 → 0.7.13
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.
- package/Frameworks/libping_ffi.a +0 -0
- package/ios/Generated.swift +26 -0
- package/ios/pingFFI.h +22 -0
- package/package.json +1 -1
package/Frameworks/libping_ffi.a
CHANGED
|
Binary file
|
package/ios/Generated.swift
CHANGED
|
@@ -4152,6 +4152,26 @@ public func generateMnemonicPhrase() throws -> String {
|
|
|
4152
4152
|
})
|
|
4153
4153
|
}
|
|
4154
4154
|
|
|
4155
|
+
public func hpkeOpen(sealed: Data, recipientPriv: Data, info: Data) throws -> Data {
|
|
4156
|
+
return try FfiConverterData.lift(rustCallWithError(FfiConverterTypePingError.lift) {
|
|
4157
|
+
uniffi_ping_ffi_fn_func_hpke_open(
|
|
4158
|
+
FfiConverterData.lower(sealed),
|
|
4159
|
+
FfiConverterData.lower(recipientPriv),
|
|
4160
|
+
FfiConverterData.lower(info), $0
|
|
4161
|
+
)
|
|
4162
|
+
})
|
|
4163
|
+
}
|
|
4164
|
+
|
|
4165
|
+
public func hpkeSeal(plaintext: Data, recipientPub: Data, info: Data) throws -> Data {
|
|
4166
|
+
return try FfiConverterData.lift(rustCallWithError(FfiConverterTypePingError.lift) {
|
|
4167
|
+
uniffi_ping_ffi_fn_func_hpke_seal(
|
|
4168
|
+
FfiConverterData.lower(plaintext),
|
|
4169
|
+
FfiConverterData.lower(recipientPub),
|
|
4170
|
+
FfiConverterData.lower(info), $0
|
|
4171
|
+
)
|
|
4172
|
+
})
|
|
4173
|
+
}
|
|
4174
|
+
|
|
4155
4175
|
public func normalizeMnemonicPhrase(phrase: String) throws -> String {
|
|
4156
4176
|
return try FfiConverterString.lift(rustCallWithError(FfiConverterTypePingError.lift) {
|
|
4157
4177
|
uniffi_ping_ffi_fn_func_normalize_mnemonic_phrase(
|
|
@@ -4229,6 +4249,12 @@ private var initializationResult: InitializationResult = {
|
|
|
4229
4249
|
if uniffi_ping_ffi_checksum_func_generate_mnemonic_phrase() != 9754 {
|
|
4230
4250
|
return InitializationResult.apiChecksumMismatch
|
|
4231
4251
|
}
|
|
4252
|
+
if uniffi_ping_ffi_checksum_func_hpke_open() != 21701 {
|
|
4253
|
+
return InitializationResult.apiChecksumMismatch
|
|
4254
|
+
}
|
|
4255
|
+
if uniffi_ping_ffi_checksum_func_hpke_seal() != 7740 {
|
|
4256
|
+
return InitializationResult.apiChecksumMismatch
|
|
4257
|
+
}
|
|
4232
4258
|
if uniffi_ping_ffi_checksum_func_normalize_mnemonic_phrase() != 55353 {
|
|
4233
4259
|
return InitializationResult.apiChecksumMismatch
|
|
4234
4260
|
}
|
package/ios/pingFFI.h
CHANGED
|
@@ -572,6 +572,16 @@ RustBuffer uniffi_ping_ffi_fn_func_generate_identity_export(RustCallStatus *_Non
|
|
|
572
572
|
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_FUNC_GENERATE_MNEMONIC_PHRASE
|
|
573
573
|
RustBuffer uniffi_ping_ffi_fn_func_generate_mnemonic_phrase(RustCallStatus *_Nonnull out_status
|
|
574
574
|
|
|
575
|
+
);
|
|
576
|
+
#endif
|
|
577
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_FUNC_HPKE_OPEN
|
|
578
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_FUNC_HPKE_OPEN
|
|
579
|
+
RustBuffer uniffi_ping_ffi_fn_func_hpke_open(RustBuffer sealed, RustBuffer recipient_priv, RustBuffer info, RustCallStatus *_Nonnull out_status
|
|
580
|
+
);
|
|
581
|
+
#endif
|
|
582
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_FUNC_HPKE_SEAL
|
|
583
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_FUNC_HPKE_SEAL
|
|
584
|
+
RustBuffer uniffi_ping_ffi_fn_func_hpke_seal(RustBuffer plaintext, RustBuffer recipient_pub, RustBuffer info, RustCallStatus *_Nonnull out_status
|
|
575
585
|
);
|
|
576
586
|
#endif
|
|
577
587
|
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_FN_FUNC_NORMALIZE_MNEMONIC_PHRASE
|
|
@@ -907,6 +917,18 @@ uint16_t uniffi_ping_ffi_checksum_func_generate_identity_export(void
|
|
|
907
917
|
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_FUNC_GENERATE_MNEMONIC_PHRASE
|
|
908
918
|
uint16_t uniffi_ping_ffi_checksum_func_generate_mnemonic_phrase(void
|
|
909
919
|
|
|
920
|
+
);
|
|
921
|
+
#endif
|
|
922
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_FUNC_HPKE_OPEN
|
|
923
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_FUNC_HPKE_OPEN
|
|
924
|
+
uint16_t uniffi_ping_ffi_checksum_func_hpke_open(void
|
|
925
|
+
|
|
926
|
+
);
|
|
927
|
+
#endif
|
|
928
|
+
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_FUNC_HPKE_SEAL
|
|
929
|
+
#define UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_FUNC_HPKE_SEAL
|
|
930
|
+
uint16_t uniffi_ping_ffi_checksum_func_hpke_seal(void
|
|
931
|
+
|
|
910
932
|
);
|
|
911
933
|
#endif
|
|
912
934
|
#ifndef UNIFFI_FFIDEF_UNIFFI_PING_FFI_CHECKSUM_FUNC_NORMALIZE_MNEMONIC_PHRASE
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ping-openmls-sdk-react-native-macos",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.13",
|
|
4
4
|
"description": "Real MLS for React Native macOS apps — wraps the ping-openmls-sdk Rust core via UniFFI.",
|
|
5
5
|
"homepage": "https://github.com/AMP-Media-Development/ping-openmls-sdk",
|
|
6
6
|
"license": "Apache-2.0",
|