@teamvortexsoftware/vortex-react-native 0.0.10 → 0.0.12
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.
|
@@ -18,12 +18,10 @@ const react_native_1 = require("react-native");
|
|
|
18
18
|
const api_1 = __importDefault(require("../shared/api"));
|
|
19
19
|
const themeUtils_1 = require("../utils/themeUtils");
|
|
20
20
|
const useThemeStyles_1 = require("./useThemeStyles");
|
|
21
|
-
const
|
|
22
|
-
const uuid_1 = require("uuid");
|
|
21
|
+
const react_native_uuid_1 = __importDefault(require("react-native-uuid"));
|
|
23
22
|
const formUtils_1 = require("../utils/formUtils");
|
|
24
|
-
(0, expo_standard_web_crypto_1.polyfillWebCrypto)();
|
|
25
23
|
function useVortexInvite({ widgetId, environmentId, vortexApiHost, isLoading = false, jwt, onSuccess, onError, }) {
|
|
26
|
-
const vortexClient = (0, react_1.useMemo)(() => new api_1.default(vortexApiHost,
|
|
24
|
+
const vortexClient = (0, react_1.useMemo)(() => new api_1.default(vortexApiHost, react_native_uuid_1.default.v4()), [vortexApiHost]);
|
|
27
25
|
const [widgetConfiguration, setWidgetConfiguration] = (0, react_1.useState)();
|
|
28
26
|
const [error, setError] = (0, react_1.useState)(null);
|
|
29
27
|
const [fetching, setFetching] = (0, react_1.useState)(isLoading);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useVortexInvite.d.ts","sourceRoot":"","sources":["../../../src/hooks/useVortexInvite.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAEtE,OAAO,EAAE,QAAQ,EAAoB,MAAM,cAAc,CAAC;AAI1D,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"useVortexInvite.d.ts","sourceRoot":"","sources":["../../../src/hooks/useVortexInvite.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAEtE,OAAO,EAAE,QAAQ,EAAoB,MAAM,cAAc,CAAC;AAI1D,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAanF,MAAM,WAAW,sBAAsB;IACrC,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,kBAAkB,KAAK,IAAI,CAAC;IACjD,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,gBAAgB,KAAK,IAAI,CAAC;CAC1D;AAED,wBAAgB,eAAe,CAAC,EAC9B,QAAQ,EACR,aAAa,EACb,aAAa,EACb,SAAiB,EACjB,GAAG,EACH,SAAS,EACT,OAAO,GACR,EAAE,sBAAsB;;;iBAIuB,MAAM;;;;;;;;;;;;;wCAqIH,UAAU,KAAG,OAAO,CAAC,IAAI,CAAC;;;;;;;;;;;EAqJ5E"}
|
package/package.json
CHANGED
|
@@ -2,24 +2,24 @@
|
|
|
2
2
|
"name": "@teamvortexsoftware/vortex-react-native",
|
|
3
3
|
"description": "",
|
|
4
4
|
"author": "@teamvortexsoftware",
|
|
5
|
-
"version": "0.0.
|
|
5
|
+
"version": "0.0.12",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist"
|
|
8
8
|
],
|
|
9
|
+
"main": "./dist/index.js",
|
|
9
10
|
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"import": "./dist/index.js",
|
|
13
|
+
"require": "./dist/index.js",
|
|
14
|
+
"types": "./dist/types/index.d.ts"
|
|
15
|
+
},
|
|
10
16
|
"./runtime": "./dist/index.js"
|
|
11
17
|
},
|
|
12
|
-
"expo": {
|
|
13
|
-
"plugins": [
|
|
14
|
-
"@teamvortexsoftware/vortex-react-native"
|
|
15
|
-
]
|
|
16
|
-
},
|
|
17
18
|
"types": "dist/types/index.d.ts",
|
|
18
19
|
"react-native": "dist/index.js",
|
|
19
20
|
"devDependencies": {
|
|
20
21
|
"@eslint/js": "^9.24.0",
|
|
21
|
-
"@
|
|
22
|
-
"@types/react": "18.2.14",
|
|
22
|
+
"@types/react": "^19.0.10",
|
|
23
23
|
"@types/react-native-vector-icons": "^6.4.18",
|
|
24
24
|
"eslint": "^9.24.0",
|
|
25
25
|
"eslint-plugin-react-native": "^4.1.0",
|
|
@@ -29,18 +29,15 @@
|
|
|
29
29
|
"@teamvortexsoftware/eslint-config": "0.0.0"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"
|
|
33
|
-
"react": "
|
|
34
|
-
"react-native": "0.
|
|
32
|
+
"react-native-qrcode-svg": "^6.3.15",
|
|
33
|
+
"react-native-svg": "^15.12.0",
|
|
34
|
+
"react-native-uuid": "^2.0.3",
|
|
35
35
|
"react-native-vector-icons": "^10.2.0",
|
|
36
|
-
"uuid": "11.0.5",
|
|
37
36
|
"@teamvortexsoftware/vortex-core": "0.0.1"
|
|
38
37
|
},
|
|
39
38
|
"peerDependencies": {
|
|
40
|
-
"react": "
|
|
41
|
-
"react-native": "
|
|
42
|
-
"react-native-qrcode-svg": "*",
|
|
43
|
-
"react-native-svg": "*"
|
|
39
|
+
"react": ">=19.0.0",
|
|
40
|
+
"react-native": ">=0.79.0"
|
|
44
41
|
},
|
|
45
42
|
"scripts": {
|
|
46
43
|
"build": "tsc",
|