@pagopa/io-react-native-cie 1.2.0 → 1.3.0-beta.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.
|
@@ -34,7 +34,7 @@ class IoReactNativeCieModule(reactContext: ReactApplicationContext) :
|
|
|
34
34
|
* Lazy value ensures it is initialized with a valid activity when first used.
|
|
35
35
|
*/
|
|
36
36
|
val cieSdk: CieSDK by lazy {
|
|
37
|
-
CieSDK.withContext(currentActivity)
|
|
37
|
+
CieSDK.withContext(reactApplicationContext.currentActivity)
|
|
38
38
|
};
|
|
39
39
|
|
|
40
40
|
@ReactMethod
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pagopa/io-react-native-cie",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0-beta.0",
|
|
4
4
|
"description": "Native support for CIE",
|
|
5
5
|
"source": "./src/index.ts",
|
|
6
6
|
"main": "./lib/module/index.js",
|
|
@@ -59,6 +59,10 @@
|
|
|
59
59
|
"registry": "https://registry.npmjs.org/"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
+
"@babel/core": "^7.28.4",
|
|
63
|
+
"@babel/preset-env": "^7.28.3",
|
|
64
|
+
"@babel/preset-flow": "^7.27.1",
|
|
65
|
+
"@babel/preset-typescript": "^7.27.1",
|
|
62
66
|
"@commitlint/config-conventional": "^19.6.0",
|
|
63
67
|
"@eslint/compat": "^1.2.7",
|
|
64
68
|
"@eslint/eslintrc": "^3.3.0",
|
|
@@ -66,6 +70,8 @@
|
|
|
66
70
|
"@evilmartians/lefthook": "^1.5.0",
|
|
67
71
|
"@react-native/eslint-config": "^0.78.0",
|
|
68
72
|
"@release-it/conventional-changelog": "^9.0.2",
|
|
73
|
+
"@types/babel__core": "^7",
|
|
74
|
+
"@types/babel__preset-env": "^7",
|
|
69
75
|
"@types/jest": "^29.5.5",
|
|
70
76
|
"@types/react": "^19.0.0",
|
|
71
77
|
"commitlint": "^19.6.1",
|
|
@@ -73,31 +79,25 @@
|
|
|
73
79
|
"eslint": "^9.22.0",
|
|
74
80
|
"eslint-config-prettier": "^10.1.1",
|
|
75
81
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
82
|
+
"eslint-plugin-ft-flow": "^3.0.11",
|
|
76
83
|
"eslint-plugin-prettier": "^5.2.3",
|
|
77
84
|
"jest": "^29.7.0",
|
|
78
85
|
"prettier": "^3.0.3",
|
|
79
|
-
"react": "19.
|
|
80
|
-
"react-native": "0.
|
|
86
|
+
"react": "19.1.0",
|
|
87
|
+
"react-native": "0.81.5",
|
|
81
88
|
"react-native-builder-bob": "^0.40.6",
|
|
82
89
|
"release-it": "^17.10.0",
|
|
83
90
|
"turbo": "^1.10.7",
|
|
84
91
|
"typescript": "^5.2.2"
|
|
85
92
|
},
|
|
86
93
|
"peerDependencies": {
|
|
87
|
-
"react": "
|
|
88
|
-
"react-native": "
|
|
94
|
+
"react": ">=19.1",
|
|
95
|
+
"react-native": ">=0.81"
|
|
89
96
|
},
|
|
90
97
|
"workspaces": [
|
|
91
98
|
"example"
|
|
92
99
|
],
|
|
93
100
|
"packageManager": "yarn@3.6.1",
|
|
94
|
-
"jest": {
|
|
95
|
-
"preset": "react-native",
|
|
96
|
-
"modulePathIgnorePatterns": [
|
|
97
|
-
"<rootDir>/example/node_modules",
|
|
98
|
-
"<rootDir>/lib/"
|
|
99
|
-
]
|
|
100
|
-
},
|
|
101
101
|
"commitlint": {
|
|
102
102
|
"extends": [
|
|
103
103
|
"@commitlint/config-conventional"
|