@descope/web-js-sdk 0.1.0-alpha.29 → 0.1.0-alpha.30
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/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.d.ts +84 -10
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +9 -10
- package/dist/cjs/test/autoRefresh.test.d.ts +0 -1
- package/dist/cjs/test/fingerprint.test.d.ts +0 -1
- package/dist/cjs/test/fingerprintUtils.test.d.ts +0 -1
- package/dist/cjs/test/index.test.d.ts +0 -1
- package/dist/cjs/test/lastLoggedInUser.test.d.ts +0 -1
- package/dist/cjs/test/mocks.d.ts +0 -43
- package/dist/cjs/test/notifications.test.d.ts +0 -1
- package/dist/cjs/test/persistTokens.test.d.ts +0 -1
- package/dist/cjs/test/sdk.test.d.ts +0 -1
- package/dist/cjs/test/testUtils.d.ts +0 -8
- package/dist/cjs/test/webauthn.test.d.ts +0 -1
- package/dist/test/autoRefresh.test.d.ts +0 -1
- package/dist/test/fingerprint.test.d.ts +0 -1
- package/dist/test/fingerprintUtils.test.d.ts +0 -1
- package/dist/test/index.test.d.ts +0 -1
- package/dist/test/lastLoggedInUser.test.d.ts +0 -1
- package/dist/test/mocks.d.ts +0 -43
- package/dist/test/notifications.test.d.ts +0 -1
- package/dist/test/persistTokens.test.d.ts +0 -1
- package/dist/test/sdk.test.d.ts +0 -1
- package/dist/test/testUtils.d.ts +0 -8
- package/dist/test/webauthn.test.d.ts +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@descope/web-js-sdk",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.30",
|
|
4
4
|
"main": "dist/cjs/index.cjs.js",
|
|
5
5
|
"module": "dist/index.esm.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -41,10 +41,10 @@
|
|
|
41
41
|
],
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@open-wc/rollup-plugin-html": "1.2.5",
|
|
44
|
-
"@rollup/plugin-commonjs": "
|
|
44
|
+
"@rollup/plugin-commonjs": "24.0.1",
|
|
45
45
|
"@rollup/plugin-node-resolve": "^15.0.0",
|
|
46
|
-
"@rollup/plugin-replace": "^5.0.
|
|
47
|
-
"@rollup/plugin-typescript": "^
|
|
46
|
+
"@rollup/plugin-replace": "^5.0.2",
|
|
47
|
+
"@rollup/plugin-typescript": "^11.0.0",
|
|
48
48
|
"@types/jest": "^27.0.2",
|
|
49
49
|
"@types/js-cookie": "^3.0.2",
|
|
50
50
|
"@types/lodash.get": "^4.4.7",
|
|
@@ -69,23 +69,22 @@
|
|
|
69
69
|
"lint-staged": "^13.0.3",
|
|
70
70
|
"prettier": "^2.6.2",
|
|
71
71
|
"pretty-quick": "^3.1.3",
|
|
72
|
-
"rimraf": "^
|
|
73
|
-
"rollup": "^
|
|
72
|
+
"rimraf": "^4.0.0",
|
|
73
|
+
"rollup": "^3.0.0",
|
|
74
74
|
"rollup-plugin-auto-external": "^2.0.0",
|
|
75
75
|
"rollup-plugin-browsersync": "^1.3.3",
|
|
76
|
-
"rollup-plugin-define": "^1.0.1",
|
|
77
76
|
"rollup-plugin-delete": "^2.0.0",
|
|
78
|
-
"rollup-plugin-dts": "^
|
|
77
|
+
"rollup-plugin-dts": "^5.1.1",
|
|
79
78
|
"rollup-plugin-esbuild": "^5.0.0",
|
|
80
79
|
"rollup-plugin-inject-process-env": "^1.3.1",
|
|
81
80
|
"rollup-plugin-livereload": "^2.0.5",
|
|
82
|
-
"rollup
|
|
81
|
+
"@rollup/plugin-terser": "^0.4.0",
|
|
83
82
|
"ts-jest": "^27.0.7",
|
|
84
83
|
"ts-node": "10.9.1",
|
|
85
84
|
"typescript": "^4.5.3"
|
|
86
85
|
},
|
|
87
86
|
"dependencies": {
|
|
88
|
-
"@descope/core-js-sdk": "0.0.41-alpha.
|
|
87
|
+
"@descope/core-js-sdk": "0.0.41-alpha.53",
|
|
89
88
|
"@fingerprintjs/fingerprintjs-pro": "3.8.1",
|
|
90
89
|
"js-cookie": "3.0.1"
|
|
91
90
|
},
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/cjs/test/mocks.d.ts
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
export declare const authInfo: {
|
|
2
|
-
sessionJwt: string;
|
|
3
|
-
refreshJwt: string;
|
|
4
|
-
cookieDomain: string;
|
|
5
|
-
cookiePath: string;
|
|
6
|
-
cookieExpiration: number;
|
|
7
|
-
user: {
|
|
8
|
-
name: string;
|
|
9
|
-
loginIds: string[];
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
export declare const flowResponse: {
|
|
13
|
-
authInfo: {
|
|
14
|
-
sessionJwt: string;
|
|
15
|
-
refreshJwt: string;
|
|
16
|
-
cookieDomain: string;
|
|
17
|
-
cookiePath: string;
|
|
18
|
-
cookieExpiration: number;
|
|
19
|
-
user: {
|
|
20
|
-
name: string;
|
|
21
|
-
loginIds: string[];
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
status: string;
|
|
25
|
-
};
|
|
26
|
-
export declare const completedFlowResponse: {
|
|
27
|
-
authInfo: {
|
|
28
|
-
sessionJwt: string;
|
|
29
|
-
refreshJwt: string;
|
|
30
|
-
cookieDomain: string;
|
|
31
|
-
cookiePath: string;
|
|
32
|
-
cookieExpiration: number;
|
|
33
|
-
user: {
|
|
34
|
-
name: string;
|
|
35
|
-
loginIds: string[];
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
status: string;
|
|
39
|
-
};
|
|
40
|
-
export declare const mockFingerprint: {
|
|
41
|
-
vsid: string;
|
|
42
|
-
vrid: string;
|
|
43
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/test/mocks.d.ts
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
export declare const authInfo: {
|
|
2
|
-
sessionJwt: string;
|
|
3
|
-
refreshJwt: string;
|
|
4
|
-
cookieDomain: string;
|
|
5
|
-
cookiePath: string;
|
|
6
|
-
cookieExpiration: number;
|
|
7
|
-
user: {
|
|
8
|
-
name: string;
|
|
9
|
-
loginIds: string[];
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
export declare const flowResponse: {
|
|
13
|
-
authInfo: {
|
|
14
|
-
sessionJwt: string;
|
|
15
|
-
refreshJwt: string;
|
|
16
|
-
cookieDomain: string;
|
|
17
|
-
cookiePath: string;
|
|
18
|
-
cookieExpiration: number;
|
|
19
|
-
user: {
|
|
20
|
-
name: string;
|
|
21
|
-
loginIds: string[];
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
status: string;
|
|
25
|
-
};
|
|
26
|
-
export declare const completedFlowResponse: {
|
|
27
|
-
authInfo: {
|
|
28
|
-
sessionJwt: string;
|
|
29
|
-
refreshJwt: string;
|
|
30
|
-
cookieDomain: string;
|
|
31
|
-
cookiePath: string;
|
|
32
|
-
cookieExpiration: number;
|
|
33
|
-
user: {
|
|
34
|
-
name: string;
|
|
35
|
-
loginIds: string[];
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
status: string;
|
|
39
|
-
};
|
|
40
|
-
export declare const mockFingerprint: {
|
|
41
|
-
vsid: string;
|
|
42
|
-
vrid: string;
|
|
43
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/test/sdk.test.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/test/testUtils.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|