rn-linkrunner 0.4.1 → 0.4.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/README.md +7 -2
- package/lib/commonjs/index.js +1 -1
- package/lib/module/index.js +1 -1
- package/package.json +1 -1
- package/src/index.ts +1 -1
package/README.md
CHANGED
|
@@ -54,8 +54,13 @@ import linkrunner from 'rn-linkrunner';
|
|
|
54
54
|
|
|
55
55
|
const onTrigger = () => {
|
|
56
56
|
linkrunner.trigger({
|
|
57
|
-
|
|
58
|
-
|
|
57
|
+
user_data: {
|
|
58
|
+
id: 1,
|
|
59
|
+
name: "Darshil Rathod", // optional
|
|
60
|
+
phone: "9583849238", // optional
|
|
61
|
+
email: "darshil@linkrunner.io", //optional
|
|
62
|
+
},
|
|
63
|
+
data: {}, // Any other data you might need
|
|
59
64
|
});
|
|
60
65
|
};
|
|
61
66
|
```
|
package/lib/commonjs/index.js
CHANGED
|
@@ -10,7 +10,7 @@ var _reactNativeEncryptedStorage = _interopRequireDefault(require("react-native-
|
|
|
10
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
11
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
12
12
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
13
|
-
const package_version = '0.4.
|
|
13
|
+
const package_version = '0.4.2';
|
|
14
14
|
const app_version = _reactNativeDeviceInfo.default.getVersion();
|
|
15
15
|
const EncryptedStorageTokenName = 'linkrunner-token';
|
|
16
16
|
const device_data = {
|
package/lib/module/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Linking } from 'react-native';
|
|
2
2
|
import DeviceInfo, { getManufacturer, getSystemVersion } from 'react-native-device-info';
|
|
3
3
|
import EncryptedStorage from 'react-native-encrypted-storage';
|
|
4
|
-
const package_version = '0.4.
|
|
4
|
+
const package_version = '0.4.2';
|
|
5
5
|
const app_version = DeviceInfo.getVersion();
|
|
6
6
|
const EncryptedStorageTokenName = 'linkrunner-token';
|
|
7
7
|
const device_data = {
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -5,7 +5,7 @@ import DeviceInfo, {
|
|
|
5
5
|
} from 'react-native-device-info';
|
|
6
6
|
import EncryptedStorage from 'react-native-encrypted-storage';
|
|
7
7
|
|
|
8
|
-
const package_version = '0.4.
|
|
8
|
+
const package_version = '0.4.2';
|
|
9
9
|
const app_version = DeviceInfo.getVersion();
|
|
10
10
|
const EncryptedStorageTokenName = 'linkrunner-token';
|
|
11
11
|
|