@thunderid/nextjs 0.0.5 → 0.2.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.
- package/README.md +3 -2
- package/dist/{SessionManager-CRaYjvAo.js → SessionManager-BPpyyzfa.js} +23 -23
- package/dist/{cache-4fytrYS0.js → cache-B9tFVOO5.js} +842 -688
- package/dist/cjs/{SessionManager-DzRABsA2.js → SessionManager-SBxwYnwV.js} +23 -23
- package/dist/cjs/{cache-CD8ivAdf.js → cache-0QwhuLuy.js} +842 -688
- package/dist/cjs/{dynamic-rendering-pr2V7b6q.js → dynamic-rendering-W7rdgerZ.js} +32 -32
- package/dist/cjs/{getAccessToken-BqOlkz2I.js → getAccessToken-EiHUciAb.js} +2 -2
- package/dist/cjs/getSessionId-BUDHvxX2.js +5 -0
- package/dist/cjs/{getSessionId-Ds_Ms78c.js → getSessionId-Do242Vmz.js} +2 -2
- package/dist/cjs/index.cjs +11 -7
- package/dist/cjs/index2.cjs +5 -5
- package/dist/cjs/middleware.cjs +106 -106
- package/dist/cjs/{segment-ChvbqN01.js → segment-CPZPzHDj.js} +3 -3
- package/dist/cjs/{server-BPUUa7u4.js → server-BAGHs6kk.js} +98 -82
- package/dist/{dynamic-rendering-Dg_MPBOn.js → dynamic-rendering-CkPpk5pF.js} +32 -32
- package/dist/{getAccessToken-phAFc2I5.js → getAccessToken-DCP_zasP.js} +2 -2
- package/dist/{getSessionId-BnKaT16N.js → getSessionId-Ctmvpfgp.js} +2 -2
- package/dist/getSessionId-pG-rZbaH.js +5 -0
- package/dist/index.js +11 -7
- package/dist/index2.js +5 -5
- package/dist/middleware.js +106 -106
- package/dist/{segment-C4UDivcl.js → segment-D3vdYYI5.js} +3 -3
- package/dist/{server-D_1r_yfp.js → server-Bn2BrWaL.js} +99 -83
- package/dist/types/ThunderIDNextClient.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/handleOAuthCallbackAction.d.ts.map +1 -1
- package/dist/types/server/actions/switchOrganization.d.ts.map +1 -1
- package/dist/types/server/thunderid.d.ts.map +1 -1
- package/package.json +8 -6
- package/dist/cjs/getSessionId-_aI8yBQp.js +0 -5
- package/dist/getSessionId-D5XFhakK.js +0 -5
|
@@ -40,8 +40,8 @@ var __toDynamicImportESM = (isNodeMode) => (mod) => __toESM(mod.default, isNodeM
|
|
|
40
40
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
41
41
|
|
|
42
42
|
//#endregion
|
|
43
|
-
//#region ../../node_modules/.pnpm/next@15.5.18_@
|
|
44
|
-
var require_cookies$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@
|
|
43
|
+
//#region ../../node_modules/.pnpm/next@15.5.18_@opentelemetry+api@1.9.0_@playwright+test@1.60.0_react-dom@19.2.6_react@19.2.3__react@19.2.3_sass@1.98.0/node_modules/next/dist/compiled/@edge-runtime/cookies/index.js
|
|
44
|
+
var require_cookies$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@opentelemetry+api@1.9.0_@playwright+test@1.60.0_react-dom@19.2.6_react@19.2.3__react@19.2.3_sass@1.98.0/node_modules/next/dist/compiled/@edge-runtime/cookies/index.js": ((exports, module) => {
|
|
45
45
|
var __defProp = Object.defineProperty;
|
|
46
46
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
47
47
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
@@ -346,8 +346,8 @@ var require_cookies$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/n
|
|
|
346
346
|
}) });
|
|
347
347
|
|
|
348
348
|
//#endregion
|
|
349
|
-
//#region ../../node_modules/.pnpm/next@15.5.18_@
|
|
350
|
-
var require_cookies = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@
|
|
349
|
+
//#region ../../node_modules/.pnpm/next@15.5.18_@opentelemetry+api@1.9.0_@playwright+test@1.60.0_react-dom@19.2.6_react@19.2.3__react@19.2.3_sass@1.98.0/node_modules/next/dist/server/web/spec-extension/cookies.js
|
|
350
|
+
var require_cookies = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@opentelemetry+api@1.9.0_@playwright+test@1.60.0_react-dom@19.2.6_react@19.2.3__react@19.2.3_sass@1.98.0/node_modules/next/dist/server/web/spec-extension/cookies.js": ((exports) => {
|
|
351
351
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
352
352
|
function _export$10(target, all) {
|
|
353
353
|
for (var name in all) Object.defineProperty(target, name, {
|
|
@@ -370,8 +370,8 @@ var require_cookies = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/nex
|
|
|
370
370
|
}) });
|
|
371
371
|
|
|
372
372
|
//#endregion
|
|
373
|
-
//#region ../../node_modules/.pnpm/next@15.5.18_@
|
|
374
|
-
var require_async_local_storage = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@
|
|
373
|
+
//#region ../../node_modules/.pnpm/next@15.5.18_@opentelemetry+api@1.9.0_@playwright+test@1.60.0_react-dom@19.2.6_react@19.2.3__react@19.2.3_sass@1.98.0/node_modules/next/dist/server/app-render/async-local-storage.js
|
|
374
|
+
var require_async_local_storage = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@opentelemetry+api@1.9.0_@playwright+test@1.60.0_react-dom@19.2.6_react@19.2.3__react@19.2.3_sass@1.98.0/node_modules/next/dist/server/app-render/async-local-storage.js": ((exports) => {
|
|
375
375
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
376
376
|
function _export$9(target, all) {
|
|
377
377
|
for (var name in all) Object.defineProperty(target, name, {
|
|
@@ -431,8 +431,8 @@ var require_async_local_storage = /* @__PURE__ */ __commonJS({ "../../node_modul
|
|
|
431
431
|
}) });
|
|
432
432
|
|
|
433
433
|
//#endregion
|
|
434
|
-
//#region ../../node_modules/.pnpm/next@15.5.18_@
|
|
435
|
-
var require_work_async_storage_instance = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@
|
|
434
|
+
//#region ../../node_modules/.pnpm/next@15.5.18_@opentelemetry+api@1.9.0_@playwright+test@1.60.0_react-dom@19.2.6_react@19.2.3__react@19.2.3_sass@1.98.0/node_modules/next/dist/server/app-render/work-async-storage-instance.js
|
|
435
|
+
var require_work_async_storage_instance = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@opentelemetry+api@1.9.0_@playwright+test@1.60.0_react-dom@19.2.6_react@19.2.3__react@19.2.3_sass@1.98.0/node_modules/next/dist/server/app-render/work-async-storage-instance.js": ((exports) => {
|
|
436
436
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
437
437
|
Object.defineProperty(exports, "workAsyncStorageInstance", {
|
|
438
438
|
enumerable: true,
|
|
@@ -444,8 +444,8 @@ var require_work_async_storage_instance = /* @__PURE__ */ __commonJS({ "../../no
|
|
|
444
444
|
}) });
|
|
445
445
|
|
|
446
446
|
//#endregion
|
|
447
|
-
//#region ../../node_modules/.pnpm/next@15.5.18_@
|
|
448
|
-
var require_work_async_storage_external = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@
|
|
447
|
+
//#region ../../node_modules/.pnpm/next@15.5.18_@opentelemetry+api@1.9.0_@playwright+test@1.60.0_react-dom@19.2.6_react@19.2.3__react@19.2.3_sass@1.98.0/node_modules/next/dist/server/app-render/work-async-storage.external.js
|
|
448
|
+
var require_work_async_storage_external = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@opentelemetry+api@1.9.0_@playwright+test@1.60.0_react-dom@19.2.6_react@19.2.3__react@19.2.3_sass@1.98.0/node_modules/next/dist/server/app-render/work-async-storage.external.js": ((exports) => {
|
|
449
449
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
450
450
|
Object.defineProperty(exports, "workAsyncStorage", {
|
|
451
451
|
enumerable: true,
|
|
@@ -457,8 +457,8 @@ var require_work_async_storage_external = /* @__PURE__ */ __commonJS({ "../../no
|
|
|
457
457
|
}) });
|
|
458
458
|
|
|
459
459
|
//#endregion
|
|
460
|
-
//#region ../../node_modules/.pnpm/next@15.5.18_@
|
|
461
|
-
var require_work_unit_async_storage_instance = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@
|
|
460
|
+
//#region ../../node_modules/.pnpm/next@15.5.18_@opentelemetry+api@1.9.0_@playwright+test@1.60.0_react-dom@19.2.6_react@19.2.3__react@19.2.3_sass@1.98.0/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js
|
|
461
|
+
var require_work_unit_async_storage_instance = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@opentelemetry+api@1.9.0_@playwright+test@1.60.0_react-dom@19.2.6_react@19.2.3__react@19.2.3_sass@1.98.0/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js": ((exports) => {
|
|
462
462
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
463
463
|
Object.defineProperty(exports, "workUnitAsyncStorageInstance", {
|
|
464
464
|
enumerable: true,
|
|
@@ -470,8 +470,8 @@ var require_work_unit_async_storage_instance = /* @__PURE__ */ __commonJS({ "../
|
|
|
470
470
|
}) });
|
|
471
471
|
|
|
472
472
|
//#endregion
|
|
473
|
-
//#region ../../node_modules/.pnpm/next@15.5.18_@
|
|
474
|
-
var require_app_router_headers = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@
|
|
473
|
+
//#region ../../node_modules/.pnpm/next@15.5.18_@opentelemetry+api@1.9.0_@playwright+test@1.60.0_react-dom@19.2.6_react@19.2.3__react@19.2.3_sass@1.98.0/node_modules/next/dist/client/components/app-router-headers.js
|
|
474
|
+
var require_app_router_headers = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@opentelemetry+api@1.9.0_@playwright+test@1.60.0_react-dom@19.2.6_react@19.2.3__react@19.2.3_sass@1.98.0/node_modules/next/dist/client/components/app-router-headers.js": ((exports, module) => {
|
|
475
475
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
476
476
|
function _export$8(target, all) {
|
|
477
477
|
for (var name in all) Object.defineProperty(target, name, {
|
|
@@ -563,8 +563,8 @@ var require_app_router_headers = /* @__PURE__ */ __commonJS({ "../../node_module
|
|
|
563
563
|
}) });
|
|
564
564
|
|
|
565
565
|
//#endregion
|
|
566
|
-
//#region ../../node_modules/.pnpm/next@15.5.18_@
|
|
567
|
-
var require_invariant_error = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@
|
|
566
|
+
//#region ../../node_modules/.pnpm/next@15.5.18_@opentelemetry+api@1.9.0_@playwright+test@1.60.0_react-dom@19.2.6_react@19.2.3__react@19.2.3_sass@1.98.0/node_modules/next/dist/shared/lib/invariant-error.js
|
|
567
|
+
var require_invariant_error = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@opentelemetry+api@1.9.0_@playwright+test@1.60.0_react-dom@19.2.6_react@19.2.3__react@19.2.3_sass@1.98.0/node_modules/next/dist/shared/lib/invariant-error.js": ((exports) => {
|
|
568
568
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
569
569
|
Object.defineProperty(exports, "InvariantError", {
|
|
570
570
|
enumerable: true,
|
|
@@ -581,8 +581,8 @@ var require_invariant_error = /* @__PURE__ */ __commonJS({ "../../node_modules/.
|
|
|
581
581
|
}) });
|
|
582
582
|
|
|
583
583
|
//#endregion
|
|
584
|
-
//#region ../../node_modules/.pnpm/next@15.5.18_@
|
|
585
|
-
var require_work_unit_async_storage_external = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@
|
|
584
|
+
//#region ../../node_modules/.pnpm/next@15.5.18_@opentelemetry+api@1.9.0_@playwright+test@1.60.0_react-dom@19.2.6_react@19.2.3__react@19.2.3_sass@1.98.0/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js
|
|
585
|
+
var require_work_unit_async_storage_external = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@opentelemetry+api@1.9.0_@playwright+test@1.60.0_react-dom@19.2.6_react@19.2.3__react@19.2.3_sass@1.98.0/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js": ((exports) => {
|
|
586
586
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
587
587
|
function _export$7(target, all) {
|
|
588
588
|
for (var name in all) Object.defineProperty(target, name, {
|
|
@@ -760,8 +760,8 @@ var require_work_unit_async_storage_external = /* @__PURE__ */ __commonJS({ "../
|
|
|
760
760
|
}) });
|
|
761
761
|
|
|
762
762
|
//#endregion
|
|
763
|
-
//#region ../../node_modules/.pnpm/next@15.5.18_@
|
|
764
|
-
var require_hooks_server_context = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@
|
|
763
|
+
//#region ../../node_modules/.pnpm/next@15.5.18_@opentelemetry+api@1.9.0_@playwright+test@1.60.0_react-dom@19.2.6_react@19.2.3__react@19.2.3_sass@1.98.0/node_modules/next/dist/client/components/hooks-server-context.js
|
|
764
|
+
var require_hooks_server_context = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@opentelemetry+api@1.9.0_@playwright+test@1.60.0_react-dom@19.2.6_react@19.2.3__react@19.2.3_sass@1.98.0/node_modules/next/dist/client/components/hooks-server-context.js": ((exports, module) => {
|
|
765
765
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
766
766
|
function _export$6(target, all) {
|
|
767
767
|
for (var name in all) Object.defineProperty(target, name, {
|
|
@@ -795,8 +795,8 @@ var require_hooks_server_context = /* @__PURE__ */ __commonJS({ "../../node_modu
|
|
|
795
795
|
}) });
|
|
796
796
|
|
|
797
797
|
//#endregion
|
|
798
|
-
//#region ../../node_modules/.pnpm/next@15.5.18_@
|
|
799
|
-
var require_static_generation_bailout = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@
|
|
798
|
+
//#region ../../node_modules/.pnpm/next@15.5.18_@opentelemetry+api@1.9.0_@playwright+test@1.60.0_react-dom@19.2.6_react@19.2.3__react@19.2.3_sass@1.98.0/node_modules/next/dist/client/components/static-generation-bailout.js
|
|
799
|
+
var require_static_generation_bailout = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@opentelemetry+api@1.9.0_@playwright+test@1.60.0_react-dom@19.2.6_react@19.2.3__react@19.2.3_sass@1.98.0/node_modules/next/dist/client/components/static-generation-bailout.js": ((exports, module) => {
|
|
800
800
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
801
801
|
function _export$5(target, all) {
|
|
802
802
|
for (var name in all) Object.defineProperty(target, name, {
|
|
@@ -830,8 +830,8 @@ var require_static_generation_bailout = /* @__PURE__ */ __commonJS({ "../../node
|
|
|
830
830
|
}) });
|
|
831
831
|
|
|
832
832
|
//#endregion
|
|
833
|
-
//#region ../../node_modules/.pnpm/next@15.5.18_@
|
|
834
|
-
var require_dynamic_rendering_utils = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@
|
|
833
|
+
//#region ../../node_modules/.pnpm/next@15.5.18_@opentelemetry+api@1.9.0_@playwright+test@1.60.0_react-dom@19.2.6_react@19.2.3__react@19.2.3_sass@1.98.0/node_modules/next/dist/server/dynamic-rendering-utils.js
|
|
834
|
+
var require_dynamic_rendering_utils = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@opentelemetry+api@1.9.0_@playwright+test@1.60.0_react-dom@19.2.6_react@19.2.3__react@19.2.3_sass@1.98.0/node_modules/next/dist/server/dynamic-rendering-utils.js": ((exports) => {
|
|
835
835
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
836
836
|
function _export$4(target, all) {
|
|
837
837
|
for (var name in all) Object.defineProperty(target, name, {
|
|
@@ -891,8 +891,8 @@ var require_dynamic_rendering_utils = /* @__PURE__ */ __commonJS({ "../../node_m
|
|
|
891
891
|
}) });
|
|
892
892
|
|
|
893
893
|
//#endregion
|
|
894
|
-
//#region ../../node_modules/.pnpm/next@15.5.18_@
|
|
895
|
-
var require_boundary_constants = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@
|
|
894
|
+
//#region ../../node_modules/.pnpm/next@15.5.18_@opentelemetry+api@1.9.0_@playwright+test@1.60.0_react-dom@19.2.6_react@19.2.3__react@19.2.3_sass@1.98.0/node_modules/next/dist/lib/framework/boundary-constants.js
|
|
895
|
+
var require_boundary_constants = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@opentelemetry+api@1.9.0_@playwright+test@1.60.0_react-dom@19.2.6_react@19.2.3__react@19.2.3_sass@1.98.0/node_modules/next/dist/lib/framework/boundary-constants.js": ((exports) => {
|
|
896
896
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
897
897
|
function _export$3(target, all) {
|
|
898
898
|
for (var name in all) Object.defineProperty(target, name, {
|
|
@@ -921,8 +921,8 @@ var require_boundary_constants = /* @__PURE__ */ __commonJS({ "../../node_module
|
|
|
921
921
|
}) });
|
|
922
922
|
|
|
923
923
|
//#endregion
|
|
924
|
-
//#region ../../node_modules/.pnpm/next@15.5.18_@
|
|
925
|
-
var require_scheduler = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@
|
|
924
|
+
//#region ../../node_modules/.pnpm/next@15.5.18_@opentelemetry+api@1.9.0_@playwright+test@1.60.0_react-dom@19.2.6_react@19.2.3__react@19.2.3_sass@1.98.0/node_modules/next/dist/lib/scheduler.js
|
|
925
|
+
var require_scheduler = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@opentelemetry+api@1.9.0_@playwright+test@1.60.0_react-dom@19.2.6_react@19.2.3__react@19.2.3_sass@1.98.0/node_modules/next/dist/lib/scheduler.js": ((exports) => {
|
|
926
926
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
927
927
|
function _export$2(target, all) {
|
|
928
928
|
for (var name in all) Object.defineProperty(target, name, {
|
|
@@ -964,8 +964,8 @@ var require_scheduler = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/n
|
|
|
964
964
|
}) });
|
|
965
965
|
|
|
966
966
|
//#endregion
|
|
967
|
-
//#region ../../node_modules/.pnpm/next@15.5.18_@
|
|
968
|
-
var require_bailout_to_csr = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@
|
|
967
|
+
//#region ../../node_modules/.pnpm/next@15.5.18_@opentelemetry+api@1.9.0_@playwright+test@1.60.0_react-dom@19.2.6_react@19.2.3__react@19.2.3_sass@1.98.0/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js
|
|
968
|
+
var require_bailout_to_csr = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@opentelemetry+api@1.9.0_@playwright+test@1.60.0_react-dom@19.2.6_react@19.2.3__react@19.2.3_sass@1.98.0/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js": ((exports) => {
|
|
969
969
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
970
970
|
function _export$1(target, all) {
|
|
971
971
|
for (var name in all) Object.defineProperty(target, name, {
|
|
@@ -994,8 +994,8 @@ var require_bailout_to_csr = /* @__PURE__ */ __commonJS({ "../../node_modules/.p
|
|
|
994
994
|
}) });
|
|
995
995
|
|
|
996
996
|
//#endregion
|
|
997
|
-
//#region ../../node_modules/.pnpm/next@15.5.18_@
|
|
998
|
-
var require_dynamic_rendering = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@
|
|
997
|
+
//#region ../../node_modules/.pnpm/next@15.5.18_@opentelemetry+api@1.9.0_@playwright+test@1.60.0_react-dom@19.2.6_react@19.2.3__react@19.2.3_sass@1.98.0/node_modules/next/dist/server/app-render/dynamic-rendering.js
|
|
998
|
+
var require_dynamic_rendering = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/next@15.5.18_@opentelemetry+api@1.9.0_@playwright+test@1.60.0_react-dom@19.2.6_react@19.2.3__react@19.2.3_sass@1.98.0/node_modules/next/dist/server/app-render/dynamic-rendering.js": ((exports) => {
|
|
999
999
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1000
1000
|
function _export(target, all) {
|
|
1001
1001
|
for (var name in all) Object.defineProperty(target, name, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { v as __toESM } from "./dynamic-rendering-
|
|
2
|
-
import { n as require_headers, t as SessionManager_default } from "./SessionManager-
|
|
1
|
+
import { v as __toESM } from "./dynamic-rendering-CkPpk5pF.js";
|
|
2
|
+
import { n as require_headers, t as SessionManager_default } from "./SessionManager-BPpyyzfa.js";
|
|
3
3
|
|
|
4
4
|
//#region src/server/actions/getAccessToken.ts
|
|
5
5
|
var import_headers = /* @__PURE__ */ __toESM(require_headers(), 1);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { v as __toESM } from "./dynamic-rendering-
|
|
2
|
-
import { n as require_headers, t as SessionManager_default } from "./SessionManager-
|
|
1
|
+
import { v as __toESM } from "./dynamic-rendering-CkPpk5pF.js";
|
|
2
|
+
import { n as require_headers, t as SessionManager_default } from "./SessionManager-BPpyyzfa.js";
|
|
3
3
|
|
|
4
4
|
//#region src/server/actions/getSessionId.ts
|
|
5
5
|
var import_headers = /* @__PURE__ */ __toESM(require_headers(), 1);
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { v as __toESM } from "./dynamic-rendering-
|
|
2
|
-
import "./SessionManager-
|
|
3
|
-
import { a as logger_default, c as ThunderIDNextClient_default, i as require_navigation, n as require_jsx_runtime, o as thunderid_default, r as ThunderIDContext_default, s as getClient_default, t as ThunderIDProvider_default } from "./server-
|
|
4
|
-
import { t as getSessionId_default } from "./getSessionId-
|
|
5
|
-
import "./segment-
|
|
1
|
+
import { v as __toESM } from "./dynamic-rendering-CkPpk5pF.js";
|
|
2
|
+
import "./SessionManager-BPpyyzfa.js";
|
|
3
|
+
import { a as logger_default, c as ThunderIDNextClient_default, i as require_navigation, n as require_jsx_runtime, o as thunderid_default, r as ThunderIDContext_default, s as getClient_default, t as ThunderIDProvider_default } from "./server-Bn2BrWaL.js";
|
|
4
|
+
import { t as getSessionId_default } from "./getSessionId-Ctmvpfgp.js";
|
|
5
|
+
import "./segment-D3vdYYI5.js";
|
|
6
6
|
import { EmbeddedFlowType, ThunderIDRuntimeError, createPatchOperations, updateOrganization } from "@thunderid/node";
|
|
7
7
|
import { forwardRef, useContext, useEffect, useState } from "react";
|
|
8
8
|
import { BaseCreateOrganization, BaseOrganization, BaseOrganizationList, BaseOrganizationProfile, BaseOrganizationSwitcher, BaseSignIn, BaseSignInButton, BaseSignOutButton, BaseSignUp, BaseSignUpButton, BaseUser, BaseUserDropdown, BaseUserProfile, BuildingAlt, useOrganization, useTranslation, useUser } from "@thunderid/react";
|
|
@@ -806,13 +806,17 @@ var User_default = User;
|
|
|
806
806
|
* ```
|
|
807
807
|
*/
|
|
808
808
|
const SignUp = ({ className, size = "medium", variant = "outlined", afterSignUpUrl, onError }) => {
|
|
809
|
-
const { signUp } = useThunderID_default();
|
|
809
|
+
const { signUp, applicationId: contextApplicationId, scopes } = useThunderID_default();
|
|
810
810
|
/**
|
|
811
811
|
* Initialize the sign-up flow.
|
|
812
812
|
*/
|
|
813
813
|
const handleInitialize = async (payload) => {
|
|
814
814
|
if (!signUp) throw new ThunderIDRuntimeError("`signUp` function is not available.", "SignUp-handleInitialize-RuntimeError-001", "nextjs");
|
|
815
|
-
return await signUp(payload || {
|
|
815
|
+
return await signUp(payload || {
|
|
816
|
+
flowType: EmbeddedFlowType.Registration,
|
|
817
|
+
...contextApplicationId && { applicationId: contextApplicationId },
|
|
818
|
+
...scopes && { scopes }
|
|
819
|
+
});
|
|
816
820
|
};
|
|
817
821
|
/**
|
|
818
822
|
* Handle sign-up steps.
|
package/dist/index2.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "./dynamic-rendering-
|
|
2
|
-
import "./SessionManager-
|
|
3
|
-
import { o as thunderid_default, t as ThunderIDProvider_default } from "./server-
|
|
4
|
-
import "./getSessionId-
|
|
5
|
-
import "./segment-
|
|
1
|
+
import "./dynamic-rendering-CkPpk5pF.js";
|
|
2
|
+
import "./SessionManager-BPpyyzfa.js";
|
|
3
|
+
import { o as thunderid_default, t as ThunderIDProvider_default } from "./server-Bn2BrWaL.js";
|
|
4
|
+
import "./getSessionId-Ctmvpfgp.js";
|
|
5
|
+
import "./segment-D3vdYYI5.js";
|
|
6
6
|
|
|
7
7
|
export { ThunderIDProvider_default as ThunderIDProvider, thunderid_default as thunderid };
|