@carlonicora/nextjs-jsonapi 1.29.6 → 1.31.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/dist/{BlockNoteEditor-4NQ5LSD6.mjs → BlockNoteEditor-CUIQPN6C.mjs} +3 -3
- package/dist/{BlockNoteEditor-AZNYW5Y7.js → BlockNoteEditor-NBASFIQP.js} +13 -13
- package/dist/{BlockNoteEditor-AZNYW5Y7.js.map → BlockNoteEditor-NBASFIQP.js.map} +1 -1
- package/dist/billing/index.js +331 -331
- package/dist/billing/index.mjs +2 -2
- package/dist/{chunk-5KQXRLK3.js → chunk-HBCIT6KE.js} +12 -1
- package/dist/chunk-HBCIT6KE.js.map +1 -0
- package/dist/{chunk-CWRYS2F3.js → chunk-ITBPDMUX.js} +537 -453
- package/dist/chunk-ITBPDMUX.js.map +1 -0
- package/dist/{chunk-WQ3KF6BG.mjs → chunk-RACFENTQ.mjs} +12 -1
- package/dist/chunk-RACFENTQ.mjs.map +1 -0
- package/dist/{chunk-ZQEFAWFP.mjs → chunk-TM4RWVZE.mjs} +984 -900
- package/dist/chunk-TM4RWVZE.mjs.map +1 -0
- package/dist/client/index.js +3 -3
- package/dist/client/index.mjs +2 -2
- package/dist/components/index.d.mts +17 -1
- package/dist/components/index.d.ts +17 -1
- package/dist/components/index.js +7 -3
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +6 -2
- package/dist/contexts/index.js +3 -3
- package/dist/contexts/index.mjs +2 -2
- package/dist/core/index.d.mts +2 -2
- package/dist/core/index.d.ts +2 -2
- package/dist/core/index.js +2 -2
- package/dist/core/index.mjs +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/index.mjs +1 -1
- package/dist/{s3.service-BMT7W6KS.d.mts → s3.service-D2vIfl9y.d.mts} +8 -0
- package/dist/{s3.service-DsXo9nop.d.ts → s3.service-D7NyMnNY.d.ts} +8 -0
- package/dist/server/index.d.mts +1 -1
- package/dist/server/index.d.ts +1 -1
- package/dist/server/index.js +3 -3
- package/dist/server/index.mjs +1 -1
- package/package.json +1 -1
- package/src/components/containers/ReactMarkdownContainer.tsx +1 -1
- package/src/components/forms/GdprConsentCheckbox.tsx +45 -0
- package/src/components/forms/index.ts +1 -0
- package/src/features/auth/components/GdprConsentSection.tsx +50 -0
- package/src/features/auth/components/forms/ForgotPassword.tsx +1 -1
- package/src/features/auth/components/forms/Login.tsx +4 -4
- package/src/features/auth/components/forms/Register.tsx +12 -1
- package/src/features/auth/components/index.ts +1 -0
- package/src/features/auth/data/auth.service.ts +20 -0
- package/src/features/company/components/forms/CompanyConfigurationEditor.tsx +1 -1
- package/src/features/company/components/forms/CompanyDeleter.tsx +1 -1
- package/src/features/user/components/widgets/UserSearchPopover.tsx +1 -1
- package/dist/chunk-5KQXRLK3.js.map +0 -1
- package/dist/chunk-CWRYS2F3.js.map +0 -1
- package/dist/chunk-WQ3KF6BG.mjs.map +0 -1
- package/dist/chunk-ZQEFAWFP.mjs.map +0 -1
- /package/dist/{BlockNoteEditor-4NQ5LSD6.mjs.map → BlockNoteEditor-CUIQPN6C.mjs.map} +0 -0
|
@@ -2389,6 +2389,17 @@ var AuthService = class extends AbstractService {
|
|
|
2389
2389
|
});
|
|
2390
2390
|
}
|
|
2391
2391
|
}
|
|
2392
|
+
static async completeOAuthRegistration(params) {
|
|
2393
|
+
const endpoint = new EndpointCreator({ endpoint: Modules.Auth, id: "oauth", childEndpoint: "complete" });
|
|
2394
|
+
const response = await JsonApiPost({
|
|
2395
|
+
classKey: Modules.Auth,
|
|
2396
|
+
endpoint: endpoint.generate(),
|
|
2397
|
+
body: params,
|
|
2398
|
+
language: "en"
|
|
2399
|
+
});
|
|
2400
|
+
if (!response.ok) throw new Error(response.error);
|
|
2401
|
+
return response.data;
|
|
2402
|
+
}
|
|
2392
2403
|
};
|
|
2393
2404
|
|
|
2394
2405
|
// src/features/auth/enums/AuthComponent.ts
|
|
@@ -5328,4 +5339,4 @@ export {
|
|
|
5328
5339
|
AVAILABLE_OAUTH_SCOPES,
|
|
5329
5340
|
DEFAULT_GRANT_TYPES
|
|
5330
5341
|
};
|
|
5331
|
-
//# sourceMappingURL=chunk-
|
|
5342
|
+
//# sourceMappingURL=chunk-RACFENTQ.mjs.map
|