@nibssplc/cams-sdk-react 1.0.0-rc.13 → 1.0.0-rc.130
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 +36 -4
- package/dist/components/ADLoginModal.d.ts +1 -0
- package/dist/components/CoreFIDO.d.ts +1 -9
- package/dist/components/DefaultLoginPage.d.ts +3 -7
- package/dist/components/GenericOTP.d.ts +2 -1
- package/dist/components/Loading.d.ts +2 -4
- package/dist/components/MFAGate.d.ts +8 -5
- package/dist/components/MFAOptions.d.ts +3 -3
- package/dist/context/CAMSContext.d.ts +8 -2
- package/dist/{components → context}/CAMSMSALProvider.d.ts +0 -1
- package/dist/{components → context}/UnifiedCAMSProvider.d.ts +7 -3
- package/dist/hooks/useCAMSMSALAuth.d.ts +8 -7
- package/dist/hooks/useFIDOAuth.d.ts +1 -1
- package/dist/hooks/useOTPHandler.d.ts +7 -8
- package/dist/index.cjs.js +676 -1202
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.esm.js +679 -1205
- package/dist/index.esm.js.map +1 -1
- package/dist/styles.css +0 -0
- package/dist/utils/cookies.d.ts +1 -1
- package/package.json +21 -14
- package/dist/lib/actions/Axiosinstance.d.ts +0 -1
- package/dist/utils/DeviceID.d.ts +0 -4
- /package/dist/{components → context}/CAMSProvider.d.ts +0 -0
package/dist/styles.css
ADDED
|
File without changes
|
package/dist/utils/cookies.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const setCookie: (name: string, value: string,
|
|
1
|
+
export declare const setCookie: (name: string, value: string, minutes?: number) => void;
|
|
2
2
|
export declare const getCookie: (name: string) => string | null;
|
|
3
3
|
export declare const deleteCookie: (name: string) => void;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nibssplc/cams-sdk-react",
|
|
3
|
-
"version": "1.0.0-rc.
|
|
4
|
-
"description": "React
|
|
3
|
+
"version": "1.0.0-rc.130",
|
|
4
|
+
"description": "React Hooks and Components for NIBSS CAMS SDK",
|
|
5
5
|
"main": "./dist/index.cjs.js",
|
|
6
6
|
"module": "./dist/index.esm.js",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"import": "./dist/index.esm.js",
|
|
12
12
|
"require": "./dist/index.cjs.js",
|
|
13
13
|
"default": "./dist/index.esm.js"
|
|
14
|
-
}
|
|
14
|
+
},
|
|
15
|
+
"./dist/styles.css": "./dist/styles.css"
|
|
15
16
|
},
|
|
16
17
|
"scripts": {
|
|
17
18
|
"clean": "rm -rf dist || true",
|
|
@@ -20,8 +21,10 @@
|
|
|
20
21
|
"test": "npx jest --verbose"
|
|
21
22
|
},
|
|
22
23
|
"keywords": [
|
|
23
|
-
"
|
|
24
|
-
"
|
|
24
|
+
"CAMS",
|
|
25
|
+
"NIBSS",
|
|
26
|
+
"SDK",
|
|
27
|
+
"Authentication",
|
|
25
28
|
"react",
|
|
26
29
|
"hooks",
|
|
27
30
|
"nextjs"
|
|
@@ -30,21 +33,19 @@
|
|
|
30
33
|
"license": "MIT",
|
|
31
34
|
"dependencies": {
|
|
32
35
|
"@hookform/resolvers": "^5.2.2",
|
|
33
|
-
"@nibssplc/cams-sdk": "^0.0.1-beta.
|
|
36
|
+
"@nibssplc/cams-sdk": "^0.0.1-beta.85",
|
|
34
37
|
"@radix-ui/react-dialog": "^1.1.15",
|
|
35
38
|
"@radix-ui/react-label": "^2.1.7",
|
|
36
39
|
"@radix-ui/react-slot": "^1.2.3",
|
|
37
|
-
"axios": "^1.
|
|
40
|
+
"axios": "^1.13.2",
|
|
38
41
|
"class-variance-authority": "^0.7.1",
|
|
39
42
|
"clsx": "^2.1.1",
|
|
40
43
|
"framer-motion": "^12.23.22",
|
|
41
44
|
"input-otp": "^1.4.2",
|
|
42
|
-
"ldrs": "^1.1.
|
|
45
|
+
"ldrs": "^1.1.9",
|
|
43
46
|
"lucide-react": "^0.544.0",
|
|
44
47
|
"motion": "^12.23.22",
|
|
45
|
-
"react-hook-form": "^7.63.0",
|
|
46
48
|
"sonner": "^2.0.7",
|
|
47
|
-
"tailwind": "^4.0.0",
|
|
48
49
|
"tailwind-merge": "^3.3.1",
|
|
49
50
|
"tslib": "^2.6.0",
|
|
50
51
|
"zod": "^4.1.11"
|
|
@@ -55,7 +56,8 @@
|
|
|
55
56
|
},
|
|
56
57
|
"peerDependencies": {
|
|
57
58
|
"react": ">=16.8.0",
|
|
58
|
-
"react-dom": ">=16.8.0"
|
|
59
|
+
"react-dom": ">=16.8.0",
|
|
60
|
+
"react-hook-form": "^7.0.0"
|
|
59
61
|
},
|
|
60
62
|
"devDependencies": {
|
|
61
63
|
"@rollup/plugin-commonjs": "^25.0.7",
|
|
@@ -64,20 +66,25 @@
|
|
|
64
66
|
"@rollup/plugin-typescript": "^11.1.6",
|
|
65
67
|
"@testing-library/jest-dom": "^6.8.0",
|
|
66
68
|
"@testing-library/react": "^16.3.0",
|
|
69
|
+
"@types/jest": "^29.5.14",
|
|
67
70
|
"@types/react": "^19",
|
|
68
71
|
"@types/react-dom": "^19",
|
|
72
|
+
"autoprefixer": "^10.4.22",
|
|
69
73
|
"jest": "^29.7.0",
|
|
70
74
|
"jest-environment-jsdom": "^29.7.0",
|
|
75
|
+
"mime": "^4.1.0",
|
|
71
76
|
"postcss": "^8.5.6",
|
|
72
|
-
"react": "^19.1
|
|
73
|
-
"react-dom": "^19.1
|
|
77
|
+
"react": "^19.2.1",
|
|
78
|
+
"react-dom": "^19.2.1",
|
|
74
79
|
"rollup": "^4.21.1",
|
|
75
80
|
"rollup-plugin-postcss": "^4.0.2",
|
|
81
|
+
"tailwindcss": "^4.0.0",
|
|
76
82
|
"ts-jest": "^29.4.4",
|
|
77
83
|
"typescript": "^5.4.5"
|
|
78
84
|
},
|
|
79
85
|
"files": [
|
|
80
|
-
"dist"
|
|
86
|
+
"dist",
|
|
87
|
+
"dist/styles.css"
|
|
81
88
|
],
|
|
82
89
|
"publishConfig": {
|
|
83
90
|
"access": "public"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const axiosInstance: import("axios").AxiosInstance;
|
package/dist/utils/DeviceID.d.ts
DELETED
|
File without changes
|