@novastera-oss/nitro-metamask 0.7.2 → 0.7.3
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.
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
#include <fbjni/fbjni.h>
|
|
1
2
|
#include <jni.h>
|
|
3
|
+
|
|
2
4
|
#include "NitroMetamaskOnLoad.hpp"
|
|
3
5
|
|
|
4
6
|
JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM* vm, void*) {
|
|
5
|
-
return margelo::nitro::nitrometamask::
|
|
7
|
+
return facebook::jni::initialize(vm, []() { margelo::nitro::nitrometamask::registerAllNatives(); });
|
|
6
8
|
}
|
|
@@ -37,10 +37,9 @@ class NitroMetamaskPackage : BaseReactPackage() {
|
|
|
37
37
|
"NitroMetamaskPackage",
|
|
38
38
|
false, // canOverrideExistingModule
|
|
39
39
|
true, // needsEagerInit
|
|
40
|
-
true, // hasConstants
|
|
41
40
|
false, // isCxxModule
|
|
42
|
-
true // isTurboModule
|
|
43
|
-
)
|
|
41
|
+
true, // isTurboModule
|
|
42
|
+
),
|
|
44
43
|
)
|
|
45
44
|
}
|
|
46
45
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@novastera-oss/nitro-metamask",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.3",
|
|
4
4
|
"description": "Native mobile MetaMask wallet integration for React Native. Part of Novastera CRM/ERP platform ecosystem. Provides secure authentication and message signing for Web3 mobile applications.",
|
|
5
5
|
"main": "./lib/commonjs/index.js",
|
|
6
6
|
"module": "./lib/module/index.js",
|