@baerae/zkap-zkp-react-native 0.1.1 → 0.1.2
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/android/build.gradle +2 -0
- package/android/libs/arm64-v8a/libzkap_uniffi_bindings.so +0 -0
- package/android/libs/armeabi-v7a/libzkap_uniffi_bindings.so +0 -0
- package/android/libs/x86_64/libzkap_uniffi_bindings.so +0 -0
- package/android/src/main/java/expo/modules/zkap/ZkapSdkModule.kt +127 -38
- package/android/src/main/java/uniffi/zkap_uniffi_bindings/zkap_uniffi_bindings.kt +1566 -0
- package/ios/ZkapSdkModule.swift +103 -63
- package/ios/ZkapZkp.xcframework/Info.plist +9 -9
- package/ios/ZkapZkp.xcframework/ios-arm64/Headers/zkap_uniffi_bindingsFFI.h +567 -0
- package/ios/ZkapZkp.xcframework/ios-arm64/{libzkap_zkp_rn.a → libzkap_uniffi_bindings.a} +0 -0
- package/ios/ZkapZkp.xcframework/ios-arm64_x86_64-simulator/Headers/zkap_uniffi_bindingsFFI.h +567 -0
- package/ios/ZkapZkp.xcframework/ios-arm64_x86_64-simulator/{libzkap_zkp_rn_sim.a → libzkap_uniffi_bindings_sim.a} +0 -0
- package/ios/uniffi/zkap_uniffi_bindings.swift +1174 -0
- package/ios/uniffi/zkap_uniffi_bindingsFFI.h +567 -0
- package/ios/uniffi/zkap_uniffi_bindingsFFI.modulemap +7 -0
- package/package.json +2 -2
- package/src/index.ts +10 -8
- package/android/libs/arm64-v8a/libzkap_zkp_rn.so +0 -0
- package/android/libs/armeabi-v7a/libzkap_zkp_rn.so +0 -0
- package/android/libs/x86_64/libzkap_zkp_rn.so +0 -0
- package/ios/ZkapZkp.xcframework/ios-arm64/Headers/zkap_zkp_rn.h +0 -15
- package/ios/ZkapZkp.xcframework/ios-arm64_x86_64-simulator/Headers/zkap_zkp_rn.h +0 -15
- package/ios/include/zkap_zkp_rn.h +0 -15
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
#pragma once
|
|
2
|
-
#ifdef __cplusplus
|
|
3
|
-
extern "C" {
|
|
4
|
-
#endif
|
|
5
|
-
|
|
6
|
-
char* zkap_generate_hash(const char* input_json);
|
|
7
|
-
char* zkap_generate_anchor(const char* input_json);
|
|
8
|
-
char* zkap_generate_aud_hash(const char* input_json);
|
|
9
|
-
char* zkap_generate_leaf_hash(const char* input_json);
|
|
10
|
-
char* zkap_prove(const char* input_json);
|
|
11
|
-
void zkap_free_string(char* ptr);
|
|
12
|
-
|
|
13
|
-
#ifdef __cplusplus
|
|
14
|
-
}
|
|
15
|
-
#endif
|