@thunderid/nextjs 0.2.0 → 0.2.1
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/{SessionManager-BPpyyzfa.js → SessionManager-BvmZ19QF.js} +23 -23
- package/dist/{cache-B9tFVOO5.js → cache-DOmEIb7_.js} +278 -1996
- package/dist/cjs/{SessionManager-SBxwYnwV.js → SessionManager-x03qrCM_.js} +23 -23
- package/dist/cjs/{cache-0QwhuLuy.js → cache-Bw8u7jYk.js} +278 -1996
- package/dist/cjs/{dynamic-rendering-W7rdgerZ.js → dynamic-rendering-DY0EUx64.js} +32 -62
- package/dist/cjs/{getAccessToken-EiHUciAb.js → getAccessToken-eJk739AD.js} +2 -2
- package/dist/cjs/{getSessionId-Do242Vmz.js → getSessionId-BXqdO0BZ.js} +2 -2
- package/dist/cjs/getSessionId-j-ERy_WP.js +5 -0
- package/dist/cjs/index.cjs +7 -54
- package/dist/cjs/index2.cjs +5 -5
- package/dist/cjs/middleware.cjs +106 -106
- package/dist/cjs/{segment-CPZPzHDj.js → segment-CViTHaAn.js} +3 -3
- package/dist/cjs/{server-BAGHs6kk.js → server-ABSmm73r.js} +60 -102
- package/dist/{dynamic-rendering-CkPpk5pF.js → dynamic-rendering-CXn-s32e.js} +33 -45
- package/dist/{getAccessToken-DCP_zasP.js → getAccessToken-oRxArjVC.js} +2 -2
- package/dist/getSessionId-6IipYdCB.js +5 -0
- package/dist/{getSessionId-Ctmvpfgp.js → getSessionId-_7hj8QSX.js} +2 -2
- package/dist/index.js +7 -54
- package/dist/index2.js +5 -5
- package/dist/middleware.js +106 -106
- package/dist/{segment-D3vdYYI5.js → segment-DRUZ6e3T.js} +3 -3
- package/dist/{server-Bn2BrWaL.js → server-BUNp5d6D.js} +61 -103
- package/dist/types/ThunderIDNextClient.d.ts +2 -3
- package/dist/types/ThunderIDNextClient.d.ts.map +1 -1
- package/dist/types/client/components/presentation/SignIn/SignIn.d.ts +0 -38
- package/dist/types/client/components/presentation/SignIn/SignIn.d.ts.map +1 -1
- package/dist/types/client/components/presentation/SignUp/SignUp.d.ts.map +1 -1
- package/dist/types/client/contexts/ThunderID/ThunderIDProvider.d.ts.map +1 -1
- package/dist/types/server/actions/signInAction.d.ts +3 -3
- package/dist/types/server/actions/signInAction.d.ts.map +1 -1
- package/dist/types/server/actions/signUpAction.d.ts +3 -10
- package/dist/types/server/actions/signUpAction.d.ts.map +1 -1
- package/package.json +9 -9
- package/dist/cjs/getSessionId-BUDHvxX2.js +0 -5
- package/dist/getSessionId-pG-rZbaH.js +0 -5
|
@@ -5,20 +5,9 @@ var __getOwnPropDesc$1 = Object.getOwnPropertyDescriptor;
|
|
|
5
5
|
var __getOwnPropNames$1 = Object.getOwnPropertyNames;
|
|
6
6
|
var __getProtoOf = Object.getPrototypeOf;
|
|
7
7
|
var __hasOwnProp$1 = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __esm = (fn, res) => function() {
|
|
9
|
-
return fn && (res = (0, fn[__getOwnPropNames$1(fn)[0]])(fn = 0)), res;
|
|
10
|
-
};
|
|
11
8
|
var __commonJS = (cb, mod) => function() {
|
|
12
9
|
return mod || (0, cb[__getOwnPropNames$1(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
13
10
|
};
|
|
14
|
-
var __export$1 = (all) => {
|
|
15
|
-
let target = {};
|
|
16
|
-
for (var name in all) __defProp$1(target, name, {
|
|
17
|
-
get: all[name],
|
|
18
|
-
enumerable: true
|
|
19
|
-
});
|
|
20
|
-
return target;
|
|
21
|
-
};
|
|
22
11
|
var __copyProps$1 = (to, from, except, desc) => {
|
|
23
12
|
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames$1(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
24
13
|
key = keys[i];
|
|
@@ -33,13 +22,12 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
33
22
|
value: mod,
|
|
34
23
|
enumerable: true
|
|
35
24
|
}) : target, mod));
|
|
36
|
-
var __toCommonJS$1 = (mod) => __copyProps$1(__defProp$1({}, "__esModule", { value: true }), mod);
|
|
37
25
|
var __toDynamicImportESM = (isNodeMode) => (mod) => __toESM(mod.default, isNodeMode);
|
|
38
26
|
|
|
39
27
|
//#endregion
|
|
40
28
|
|
|
41
|
-
//#region ../../node_modules/.pnpm/next@15.5.18_@
|
|
42
|
-
var require_cookies$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@
|
|
29
|
+
//#region ../../node_modules/.pnpm/next@15.5.18_@playwright+test@1.60.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/next/dist/compiled/@edge-runtime/cookies/index.js
|
|
30
|
+
var require_cookies$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@playwright+test@1.60.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/next/dist/compiled/@edge-runtime/cookies/index.js": ((exports, module) => {
|
|
43
31
|
var __defProp = Object.defineProperty;
|
|
44
32
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
45
33
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
@@ -344,8 +332,8 @@ var require_cookies$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/n
|
|
|
344
332
|
}) });
|
|
345
333
|
|
|
346
334
|
//#endregion
|
|
347
|
-
//#region ../../node_modules/.pnpm/next@15.5.18_@
|
|
348
|
-
var require_cookies = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@
|
|
335
|
+
//#region ../../node_modules/.pnpm/next@15.5.18_@playwright+test@1.60.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/next/dist/server/web/spec-extension/cookies.js
|
|
336
|
+
var require_cookies = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@playwright+test@1.60.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/next/dist/server/web/spec-extension/cookies.js": ((exports) => {
|
|
349
337
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
350
338
|
function _export$10(target, all) {
|
|
351
339
|
for (var name in all) Object.defineProperty(target, name, {
|
|
@@ -368,8 +356,8 @@ var require_cookies = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/nex
|
|
|
368
356
|
}) });
|
|
369
357
|
|
|
370
358
|
//#endregion
|
|
371
|
-
//#region ../../node_modules/.pnpm/next@15.5.18_@
|
|
372
|
-
var require_async_local_storage = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@
|
|
359
|
+
//#region ../../node_modules/.pnpm/next@15.5.18_@playwright+test@1.60.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/next/dist/server/app-render/async-local-storage.js
|
|
360
|
+
var require_async_local_storage = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@playwright+test@1.60.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/next/dist/server/app-render/async-local-storage.js": ((exports) => {
|
|
373
361
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
374
362
|
function _export$9(target, all) {
|
|
375
363
|
for (var name in all) Object.defineProperty(target, name, {
|
|
@@ -429,8 +417,8 @@ var require_async_local_storage = /* @__PURE__ */ __commonJS({ "../../node_modul
|
|
|
429
417
|
}) });
|
|
430
418
|
|
|
431
419
|
//#endregion
|
|
432
|
-
//#region ../../node_modules/.pnpm/next@15.5.18_@
|
|
433
|
-
var require_work_async_storage_instance = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@
|
|
420
|
+
//#region ../../node_modules/.pnpm/next@15.5.18_@playwright+test@1.60.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/next/dist/server/app-render/work-async-storage-instance.js
|
|
421
|
+
var require_work_async_storage_instance = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@playwright+test@1.60.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/next/dist/server/app-render/work-async-storage-instance.js": ((exports) => {
|
|
434
422
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
435
423
|
Object.defineProperty(exports, "workAsyncStorageInstance", {
|
|
436
424
|
enumerable: true,
|
|
@@ -442,8 +430,8 @@ var require_work_async_storage_instance = /* @__PURE__ */ __commonJS({ "../../no
|
|
|
442
430
|
}) });
|
|
443
431
|
|
|
444
432
|
//#endregion
|
|
445
|
-
//#region ../../node_modules/.pnpm/next@15.5.18_@
|
|
446
|
-
var require_work_async_storage_external = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@
|
|
433
|
+
//#region ../../node_modules/.pnpm/next@15.5.18_@playwright+test@1.60.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/next/dist/server/app-render/work-async-storage.external.js
|
|
434
|
+
var require_work_async_storage_external = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@playwright+test@1.60.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/next/dist/server/app-render/work-async-storage.external.js": ((exports) => {
|
|
447
435
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
448
436
|
Object.defineProperty(exports, "workAsyncStorage", {
|
|
449
437
|
enumerable: true,
|
|
@@ -455,8 +443,8 @@ var require_work_async_storage_external = /* @__PURE__ */ __commonJS({ "../../no
|
|
|
455
443
|
}) });
|
|
456
444
|
|
|
457
445
|
//#endregion
|
|
458
|
-
//#region ../../node_modules/.pnpm/next@15.5.18_@
|
|
459
|
-
var require_work_unit_async_storage_instance = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@
|
|
446
|
+
//#region ../../node_modules/.pnpm/next@15.5.18_@playwright+test@1.60.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js
|
|
447
|
+
var require_work_unit_async_storage_instance = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@playwright+test@1.60.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js": ((exports) => {
|
|
460
448
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
461
449
|
Object.defineProperty(exports, "workUnitAsyncStorageInstance", {
|
|
462
450
|
enumerable: true,
|
|
@@ -468,8 +456,8 @@ var require_work_unit_async_storage_instance = /* @__PURE__ */ __commonJS({ "../
|
|
|
468
456
|
}) });
|
|
469
457
|
|
|
470
458
|
//#endregion
|
|
471
|
-
//#region ../../node_modules/.pnpm/next@15.5.18_@
|
|
472
|
-
var require_app_router_headers = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@
|
|
459
|
+
//#region ../../node_modules/.pnpm/next@15.5.18_@playwright+test@1.60.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/next/dist/client/components/app-router-headers.js
|
|
460
|
+
var require_app_router_headers = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@playwright+test@1.60.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/next/dist/client/components/app-router-headers.js": ((exports, module) => {
|
|
473
461
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
474
462
|
function _export$8(target, all) {
|
|
475
463
|
for (var name in all) Object.defineProperty(target, name, {
|
|
@@ -561,8 +549,8 @@ var require_app_router_headers = /* @__PURE__ */ __commonJS({ "../../node_module
|
|
|
561
549
|
}) });
|
|
562
550
|
|
|
563
551
|
//#endregion
|
|
564
|
-
//#region ../../node_modules/.pnpm/next@15.5.18_@
|
|
565
|
-
var require_invariant_error = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@
|
|
552
|
+
//#region ../../node_modules/.pnpm/next@15.5.18_@playwright+test@1.60.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/next/dist/shared/lib/invariant-error.js
|
|
553
|
+
var require_invariant_error = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@playwright+test@1.60.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/next/dist/shared/lib/invariant-error.js": ((exports) => {
|
|
566
554
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
567
555
|
Object.defineProperty(exports, "InvariantError", {
|
|
568
556
|
enumerable: true,
|
|
@@ -579,8 +567,8 @@ var require_invariant_error = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
579
567
|
}) });
|
|
580
568
|
|
|
581
569
|
//#endregion
|
|
582
|
-
//#region ../../node_modules/.pnpm/next@15.5.18_@
|
|
583
|
-
var require_work_unit_async_storage_external = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@
|
|
570
|
+
//#region ../../node_modules/.pnpm/next@15.5.18_@playwright+test@1.60.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js
|
|
571
|
+
var require_work_unit_async_storage_external = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@playwright+test@1.60.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js": ((exports) => {
|
|
584
572
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
585
573
|
function _export$7(target, all) {
|
|
586
574
|
for (var name in all) Object.defineProperty(target, name, {
|
|
@@ -758,8 +746,8 @@ var require_work_unit_async_storage_external = /* @__PURE__ */ __commonJS({ "../
|
|
|
758
746
|
}) });
|
|
759
747
|
|
|
760
748
|
//#endregion
|
|
761
|
-
//#region ../../node_modules/.pnpm/next@15.5.18_@
|
|
762
|
-
var require_hooks_server_context = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@
|
|
749
|
+
//#region ../../node_modules/.pnpm/next@15.5.18_@playwright+test@1.60.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/next/dist/client/components/hooks-server-context.js
|
|
750
|
+
var require_hooks_server_context = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@playwright+test@1.60.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/next/dist/client/components/hooks-server-context.js": ((exports, module) => {
|
|
763
751
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
764
752
|
function _export$6(target, all) {
|
|
765
753
|
for (var name in all) Object.defineProperty(target, name, {
|
|
@@ -793,8 +781,8 @@ var require_hooks_server_context = /* @__PURE__ */ __commonJS({ "../../node_modu
|
|
|
793
781
|
}) });
|
|
794
782
|
|
|
795
783
|
//#endregion
|
|
796
|
-
//#region ../../node_modules/.pnpm/next@15.5.18_@
|
|
797
|
-
var require_static_generation_bailout = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@
|
|
784
|
+
//#region ../../node_modules/.pnpm/next@15.5.18_@playwright+test@1.60.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/next/dist/client/components/static-generation-bailout.js
|
|
785
|
+
var require_static_generation_bailout = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@playwright+test@1.60.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/next/dist/client/components/static-generation-bailout.js": ((exports, module) => {
|
|
798
786
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
799
787
|
function _export$5(target, all) {
|
|
800
788
|
for (var name in all) Object.defineProperty(target, name, {
|
|
@@ -828,8 +816,8 @@ var require_static_generation_bailout = /* @__PURE__ */ __commonJS({ "../../node
|
|
|
828
816
|
}) });
|
|
829
817
|
|
|
830
818
|
//#endregion
|
|
831
|
-
//#region ../../node_modules/.pnpm/next@15.5.18_@
|
|
832
|
-
var require_dynamic_rendering_utils = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@
|
|
819
|
+
//#region ../../node_modules/.pnpm/next@15.5.18_@playwright+test@1.60.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/next/dist/server/dynamic-rendering-utils.js
|
|
820
|
+
var require_dynamic_rendering_utils = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@playwright+test@1.60.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/next/dist/server/dynamic-rendering-utils.js": ((exports) => {
|
|
833
821
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
834
822
|
function _export$4(target, all) {
|
|
835
823
|
for (var name in all) Object.defineProperty(target, name, {
|
|
@@ -889,8 +877,8 @@ var require_dynamic_rendering_utils = /* @__PURE__ */ __commonJS({ "../../node_m
|
|
|
889
877
|
}) });
|
|
890
878
|
|
|
891
879
|
//#endregion
|
|
892
|
-
//#region ../../node_modules/.pnpm/next@15.5.18_@
|
|
893
|
-
var require_boundary_constants = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@
|
|
880
|
+
//#region ../../node_modules/.pnpm/next@15.5.18_@playwright+test@1.60.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/next/dist/lib/framework/boundary-constants.js
|
|
881
|
+
var require_boundary_constants = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@playwright+test@1.60.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/next/dist/lib/framework/boundary-constants.js": ((exports) => {
|
|
894
882
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
895
883
|
function _export$3(target, all) {
|
|
896
884
|
for (var name in all) Object.defineProperty(target, name, {
|
|
@@ -919,8 +907,8 @@ var require_boundary_constants = /* @__PURE__ */ __commonJS({ "../../node_module
|
|
|
919
907
|
}) });
|
|
920
908
|
|
|
921
909
|
//#endregion
|
|
922
|
-
//#region ../../node_modules/.pnpm/next@15.5.18_@
|
|
923
|
-
var require_scheduler = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@
|
|
910
|
+
//#region ../../node_modules/.pnpm/next@15.5.18_@playwright+test@1.60.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/next/dist/lib/scheduler.js
|
|
911
|
+
var require_scheduler = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@playwright+test@1.60.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/next/dist/lib/scheduler.js": ((exports) => {
|
|
924
912
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
925
913
|
function _export$2(target, all) {
|
|
926
914
|
for (var name in all) Object.defineProperty(target, name, {
|
|
@@ -962,8 +950,8 @@ var require_scheduler = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/n
|
|
|
962
950
|
}) });
|
|
963
951
|
|
|
964
952
|
//#endregion
|
|
965
|
-
//#region ../../node_modules/.pnpm/next@15.5.18_@
|
|
966
|
-
var require_bailout_to_csr = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@
|
|
953
|
+
//#region ../../node_modules/.pnpm/next@15.5.18_@playwright+test@1.60.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js
|
|
954
|
+
var require_bailout_to_csr = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@playwright+test@1.60.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js": ((exports) => {
|
|
967
955
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
968
956
|
function _export$1(target, all) {
|
|
969
957
|
for (var name in all) Object.defineProperty(target, name, {
|
|
@@ -992,8 +980,8 @@ var require_bailout_to_csr = /* @__PURE__ */ __commonJS({ "../../node_modules/.p
|
|
|
992
980
|
}) });
|
|
993
981
|
|
|
994
982
|
//#endregion
|
|
995
|
-
//#region ../../node_modules/.pnpm/next@15.5.18_@
|
|
996
|
-
var require_dynamic_rendering = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@
|
|
983
|
+
//#region ../../node_modules/.pnpm/next@15.5.18_@playwright+test@1.60.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/next/dist/server/app-render/dynamic-rendering.js
|
|
984
|
+
var require_dynamic_rendering = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@playwright+test@1.60.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/next/dist/server/app-render/dynamic-rendering.js": ((exports) => {
|
|
997
985
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
998
986
|
function _export(target, all) {
|
|
999
987
|
for (var name in all) Object.defineProperty(target, name, {
|
|
@@ -1442,24 +1430,6 @@ Object.defineProperty(exports, '__commonJS', {
|
|
|
1442
1430
|
return __commonJS;
|
|
1443
1431
|
}
|
|
1444
1432
|
});
|
|
1445
|
-
Object.defineProperty(exports, '__esm', {
|
|
1446
|
-
enumerable: true,
|
|
1447
|
-
get: function () {
|
|
1448
|
-
return __esm;
|
|
1449
|
-
}
|
|
1450
|
-
});
|
|
1451
|
-
Object.defineProperty(exports, '__export', {
|
|
1452
|
-
enumerable: true,
|
|
1453
|
-
get: function () {
|
|
1454
|
-
return __export$1;
|
|
1455
|
-
}
|
|
1456
|
-
});
|
|
1457
|
-
Object.defineProperty(exports, '__toCommonJS', {
|
|
1458
|
-
enumerable: true,
|
|
1459
|
-
get: function () {
|
|
1460
|
-
return __toCommonJS$1;
|
|
1461
|
-
}
|
|
1462
|
-
});
|
|
1463
1433
|
Object.defineProperty(exports, '__toDynamicImportESM', {
|
|
1464
1434
|
enumerable: true,
|
|
1465
1435
|
get: function () {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const require_dynamic_rendering = require('./dynamic-rendering-
|
|
2
|
-
const require_SessionManager = require('./SessionManager-
|
|
1
|
+
const require_dynamic_rendering = require('./dynamic-rendering-DY0EUx64.js');
|
|
2
|
+
const require_SessionManager = require('./SessionManager-x03qrCM_.js');
|
|
3
3
|
|
|
4
4
|
//#region src/server/actions/getAccessToken.ts
|
|
5
5
|
var import_headers = /* @__PURE__ */ require_dynamic_rendering.__toESM(require_SessionManager.require_headers(), 1);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const require_dynamic_rendering = require('./dynamic-rendering-
|
|
2
|
-
const require_SessionManager = require('./SessionManager-
|
|
1
|
+
const require_dynamic_rendering = require('./dynamic-rendering-DY0EUx64.js');
|
|
2
|
+
const require_SessionManager = require('./SessionManager-x03qrCM_.js');
|
|
3
3
|
|
|
4
4
|
//#region src/server/actions/getSessionId.ts
|
|
5
5
|
var import_headers = /* @__PURE__ */ require_dynamic_rendering.__toESM(require_SessionManager.require_headers(), 1);
|
package/dist/cjs/index.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const require_dynamic_rendering = require('./dynamic-rendering-
|
|
2
|
-
require('./SessionManager-
|
|
3
|
-
const require_server = require('./server-
|
|
4
|
-
const require_getSessionId = require('./getSessionId-
|
|
5
|
-
require('./segment-
|
|
1
|
+
const require_dynamic_rendering = require('./dynamic-rendering-DY0EUx64.js');
|
|
2
|
+
require('./SessionManager-x03qrCM_.js');
|
|
3
|
+
const require_server = require('./server-ABSmm73r.js');
|
|
4
|
+
const require_getSessionId = require('./getSessionId-BXqdO0BZ.js');
|
|
5
|
+
require('./segment-CViTHaAn.js');
|
|
6
6
|
let __thunderid_node = require("@thunderid/node");
|
|
7
7
|
__thunderid_node = require_dynamic_rendering.__toESM(__thunderid_node);
|
|
8
8
|
let react = require("react");
|
|
@@ -629,61 +629,14 @@ var SignUpButton_default = SignUpButton;
|
|
|
629
629
|
* A SignIn component for Next.js that provides native authentication flow.
|
|
630
630
|
* This component delegates to the BaseSignIn from @thunderid/react and requires
|
|
631
631
|
* the API functions to be provided as props.
|
|
632
|
-
*
|
|
633
|
-
* @remarks This component requires the authentication API functions to be provided
|
|
634
|
-
* as props. For a complete working example, you'll need to implement the server-side
|
|
635
|
-
* authentication endpoints or use the traditional OAuth flow with SignInButton.
|
|
636
|
-
*
|
|
637
|
-
* @example
|
|
638
|
-
* ```tsx
|
|
639
|
-
* import { SignIn } from '@thunderid/nextjs';
|
|
640
|
-
* import { executeEmbeddedSignInFlow } from '@thunderid/browser';
|
|
641
|
-
*
|
|
642
|
-
* const LoginPage = () => {
|
|
643
|
-
* const handleInitialize = async () => {
|
|
644
|
-
* return await executeEmbeddedSignInFlow({
|
|
645
|
-
* response_mode: 'direct',
|
|
646
|
-
* });
|
|
647
|
-
* };
|
|
648
|
-
*
|
|
649
|
-
* const handleSubmit = async (flow) => {
|
|
650
|
-
* return await executeEmbeddedSignInFlow({ flow });
|
|
651
|
-
* };
|
|
652
|
-
*
|
|
653
|
-
* return (
|
|
654
|
-
* <SignIn
|
|
655
|
-
* onInitialize={handleInitialize}
|
|
656
|
-
* onSubmit={handleSubmit}
|
|
657
|
-
* onSuccess={(authData) => {
|
|
658
|
-
* console.log('Authentication successful:', authData);
|
|
659
|
-
* }}
|
|
660
|
-
* onError={(error) => {
|
|
661
|
-
* console.error('Authentication failed:', error);
|
|
662
|
-
* }}
|
|
663
|
-
* size="medium"
|
|
664
|
-
* variant="outlined"
|
|
665
|
-
* afterSignInUrl="/dashboard"
|
|
666
|
-
* />
|
|
667
|
-
* );
|
|
668
|
-
* };
|
|
669
|
-
* ```
|
|
670
632
|
*/
|
|
671
633
|
const SignIn = ({ size = "medium", variant = "outlined",...rest }) => {
|
|
672
|
-
const { signIn
|
|
673
|
-
const handleInitialize = async () => signIn && await signIn({
|
|
674
|
-
flowId: "",
|
|
675
|
-
selectedAuthenticator: {
|
|
676
|
-
authenticatorId: "",
|
|
677
|
-
params: {}
|
|
678
|
-
}
|
|
679
|
-
});
|
|
634
|
+
const { signIn } = useThunderID_default();
|
|
680
635
|
const handleOnSubmit = async (payload, request) => {
|
|
681
636
|
if (!signIn) throw new __thunderid_node.ThunderIDRuntimeError("`signIn` function is not available.", "SignIn-handleOnSubmit-RuntimeError-001", "nextjs");
|
|
682
|
-
|
|
637
|
+
await signIn(payload, request);
|
|
683
638
|
};
|
|
684
639
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(__thunderid_react.BaseSignIn, {
|
|
685
|
-
afterSignInUrl,
|
|
686
|
-
onInitialize: handleInitialize,
|
|
687
640
|
onSubmit: handleOnSubmit,
|
|
688
641
|
size,
|
|
689
642
|
variant,
|
package/dist/cjs/index2.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
require('./SessionManager-
|
|
3
|
-
const require_server = require('./server-
|
|
4
|
-
require('./getSessionId-
|
|
5
|
-
require('./segment-
|
|
1
|
+
require('./dynamic-rendering-DY0EUx64.js');
|
|
2
|
+
require('./SessionManager-x03qrCM_.js');
|
|
3
|
+
const require_server = require('./server-ABSmm73r.js');
|
|
4
|
+
require('./getSessionId-BXqdO0BZ.js');
|
|
5
|
+
require('./segment-CViTHaAn.js');
|
|
6
6
|
|
|
7
7
|
exports.ThunderIDProvider = require_server.ThunderIDProvider_default;
|
|
8
8
|
exports.thunderid = require_server.thunderid_default;
|