@thunderid/express 0.2.0 → 0.2.3
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 +1 -1
- package/dist/edge/index.js +2 -2
- package/dist/index.js +2 -2
- package/package.json +8 -8
package/dist/cjs/index.cjs
CHANGED
|
@@ -339,7 +339,7 @@ const handleFlow = () => {
|
|
|
339
339
|
const authUrl = await client.getSignInUrl();
|
|
340
340
|
resolvedAuthId = new URL(authUrl).searchParams.get("authId") ?? void 0;
|
|
341
341
|
}
|
|
342
|
-
const flowResponse = await (0, __thunderid_node.
|
|
342
|
+
const flowResponse = await (0, __thunderid_node.executeEmbeddedSignInFlow)({
|
|
343
343
|
authId: resolvedAuthId,
|
|
344
344
|
baseUrl,
|
|
345
345
|
payload: executionId ? {
|
package/dist/edge/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ThunderIDAuthException, ThunderIDNodeClient, ThunderIDRuntimeError,
|
|
1
|
+
import { ThunderIDAuthException, ThunderIDNodeClient, ThunderIDRuntimeError, executeEmbeddedSignInFlow, logger } from "@thunderid/node";
|
|
2
2
|
import { v4 } from "uuid";
|
|
3
3
|
|
|
4
4
|
export * from "@thunderid/node"
|
|
@@ -316,7 +316,7 @@ const handleFlow = () => {
|
|
|
316
316
|
const authUrl = await client.getSignInUrl();
|
|
317
317
|
resolvedAuthId = new URL(authUrl).searchParams.get("authId") ?? void 0;
|
|
318
318
|
}
|
|
319
|
-
const flowResponse = await
|
|
319
|
+
const flowResponse = await executeEmbeddedSignInFlow({
|
|
320
320
|
authId: resolvedAuthId,
|
|
321
321
|
baseUrl,
|
|
322
322
|
payload: executionId ? {
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ThunderIDAuthException, ThunderIDNodeClient, ThunderIDRuntimeError,
|
|
1
|
+
import { ThunderIDAuthException, ThunderIDNodeClient, ThunderIDRuntimeError, executeEmbeddedSignInFlow, logger } from "@thunderid/node";
|
|
2
2
|
import { v4 } from "uuid";
|
|
3
3
|
|
|
4
4
|
export * from "@thunderid/node"
|
|
@@ -316,7 +316,7 @@ const handleFlow = () => {
|
|
|
316
316
|
const authUrl = await client.getSignInUrl();
|
|
317
317
|
resolvedAuthId = new URL(authUrl).searchParams.get("authId") ?? void 0;
|
|
318
318
|
}
|
|
319
|
-
const flowResponse = await
|
|
319
|
+
const flowResponse = await executeEmbeddedSignInFlow({
|
|
320
320
|
authId: resolvedAuthId,
|
|
321
321
|
baseUrl,
|
|
322
322
|
payload: executionId ? {
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thunderid/express",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "Express.js SDK for ThunderID",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"thunderid",
|
|
7
7
|
"express.js",
|
|
8
8
|
"server"
|
|
9
9
|
],
|
|
10
|
-
"homepage": "https://github.com/thunder-id/
|
|
10
|
+
"homepage": "https://github.com/thunder-id/javascript-sdks/tree/main/packages/express#readme",
|
|
11
11
|
"bugs": {
|
|
12
12
|
"url": "https://github.com/thunder-id/thunderid/issues"
|
|
13
13
|
},
|
|
@@ -29,10 +29,12 @@
|
|
|
29
29
|
"types": "dist/index.d.ts",
|
|
30
30
|
"repository": {
|
|
31
31
|
"type": "git",
|
|
32
|
-
"url": "https://github.com/thunder-id/
|
|
33
|
-
"directory": "
|
|
32
|
+
"url": "https://github.com/thunder-id/javascript-sdks",
|
|
33
|
+
"directory": "packages/express"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
+
"@thunderid/eslint-plugin": "0.0.2",
|
|
37
|
+
"@thunderid/prettier-config": "0.0.2",
|
|
36
38
|
"@types/cookie-parser": "^1.4.8",
|
|
37
39
|
"@types/express": "^5.0.6",
|
|
38
40
|
"@types/node": "22.15.3",
|
|
@@ -42,13 +44,11 @@
|
|
|
42
44
|
"rimraf": "6.1.3",
|
|
43
45
|
"rolldown": "1.0.0-beta.45",
|
|
44
46
|
"typescript": "5.9.3",
|
|
45
|
-
"vitest": "4.1.8"
|
|
46
|
-
"@thunderid/eslint-plugin": "^0.0.0",
|
|
47
|
-
"@thunderid/prettier-config": "^0.0.0"
|
|
47
|
+
"vitest": "4.1.8"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"uuid": "11.1.1",
|
|
51
|
-
"@thunderid/node": "^0.2.
|
|
51
|
+
"@thunderid/node": "^0.2.1"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
54
|
"express": ">=4.21.2"
|