@sentiance-react-native/legacy 6.11.0-alpha.2 → 6.11.0
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.
|
@@ -319,7 +319,7 @@ public class LegacySentianceModule extends AbstractSentianceModule implements Li
|
|
|
319
319
|
|
|
320
320
|
@Override
|
|
321
321
|
@ReactMethod
|
|
322
|
-
protected void addNativeListener(String eventName, int subscriptionId, Promise promise) {
|
|
322
|
+
protected void addNativeListener(String eventName, int subscriptionId, @Nullable ReadableMap payload, Promise promise) {
|
|
323
323
|
|
|
324
324
|
}
|
|
325
325
|
|
package/lib/legacy/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const {NativeModules, Platform} = require('react-native');
|
|
2
|
-
const {varToString} = require(
|
|
2
|
+
const {varToString} = require("@sentiance-react-native/core/lib/generated/utils");
|
|
3
3
|
|
|
4
4
|
const {RNSentiance, SentianceCore} = NativeModules;
|
|
5
5
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentiance-react-native/legacy",
|
|
3
|
-
"version": "6.11.0
|
|
3
|
+
"version": "6.11.0",
|
|
4
4
|
"description": "The Sentiance Legacy library",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"typings": "lib/index.d.ts",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"sentiance"
|
|
15
15
|
],
|
|
16
16
|
"peerDependencies": {
|
|
17
|
-
"@sentiance-react-native/crash-detection": "6.11.0
|
|
17
|
+
"@sentiance-react-native/crash-detection": "6.11.0"
|
|
18
18
|
},
|
|
19
19
|
"author": "",
|
|
20
20
|
"license": "",
|