@carlonicora/nextjs-jsonapi 1.29.0 → 1.29.2
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-YBVEOPV4.js → BlockNoteEditor-BEWKLGW3.js} +13 -13
- package/dist/{BlockNoteEditor-YBVEOPV4.js.map → BlockNoteEditor-BEWKLGW3.js.map} +1 -1
- package/dist/{BlockNoteEditor-ZM4YPXHO.mjs → BlockNoteEditor-GNFK7ZVR.mjs} +3 -3
- package/dist/billing/index.js +334 -333
- package/dist/billing/index.js.map +1 -1
- package/dist/billing/index.mjs +8 -7
- package/dist/billing/index.mjs.map +1 -1
- package/dist/{chunk-UCD5CUE4.mjs → chunk-IJSB4FH6.mjs} +5 -5
- package/dist/{chunk-UCD5CUE4.mjs.map → chunk-IJSB4FH6.mjs.map} +1 -1
- package/dist/{chunk-DU64WMZD.mjs → chunk-NYNLJEPF.mjs} +4 -4
- package/dist/chunk-NYNLJEPF.mjs.map +1 -0
- package/dist/{chunk-J22NEVSK.js → chunk-UYBCHXXL.js} +4 -4
- package/dist/chunk-UYBCHXXL.js.map +1 -0
- package/dist/{chunk-3X7EEFMN.js → chunk-XU4MY6OG.js} +429 -429
- package/dist/{chunk-3X7EEFMN.js.map → chunk-XU4MY6OG.js.map} +1 -1
- package/dist/client/index.js +3 -3
- package/dist/client/index.mjs +2 -2
- package/dist/components/index.js +3 -3
- package/dist/components/index.mjs +2 -2
- package/dist/contexts/index.js +3 -3
- package/dist/contexts/index.mjs +2 -2
- package/dist/core/index.js +2 -2
- package/dist/core/index.mjs +1 -1
- package/dist/index.js +2 -2
- package/dist/index.mjs +1 -1
- package/dist/server/index.js +3 -3
- package/dist/server/index.mjs +1 -1
- package/package.json +1 -1
- package/src/components/pages/PageContentContainer.tsx +2 -2
- package/src/core/abstracts/AbstractService.ts +2 -2
- package/src/features/billing/stripe-subscription/hooks/useSubscriptionWizard.ts +5 -4
- package/src/utils/blocknote-diff.util.ts +1 -1
- package/dist/chunk-DU64WMZD.mjs.map +0 -1
- package/dist/chunk-J22NEVSK.js.map +0 -1
- /package/dist/{BlockNoteEditor-ZM4YPXHO.mjs.map → BlockNoteEditor-GNFK7ZVR.mjs.map} +0 -0
|
@@ -342,7 +342,7 @@ var AbstractService = class {
|
|
|
342
342
|
globalErrorHandler(apiResponse.response, apiResponse.error);
|
|
343
343
|
return void 0;
|
|
344
344
|
} else {
|
|
345
|
-
const error = new Error(`${apiResponse.error}`);
|
|
345
|
+
const error = new Error(`${apiResponse.response}:${apiResponse.error}`);
|
|
346
346
|
error.status = apiResponse.response;
|
|
347
347
|
error.digest = `HTTP_${apiResponse.response}`;
|
|
348
348
|
throw error;
|
|
@@ -427,7 +427,7 @@ var AbstractService = class {
|
|
|
427
427
|
globalErrorHandler(apiResponse.response, apiResponse.error);
|
|
428
428
|
return { data: void 0, meta: void 0 };
|
|
429
429
|
} else {
|
|
430
|
-
const error = new Error(`${apiResponse.error}`);
|
|
430
|
+
const error = new Error(`${apiResponse.response}:${apiResponse.error}`);
|
|
431
431
|
error.status = apiResponse.response;
|
|
432
432
|
error.digest = `HTTP_${apiResponse.response}`;
|
|
433
433
|
throw error;
|
|
@@ -1249,7 +1249,7 @@ var BlockNoteDiffUtil = class {
|
|
|
1249
1249
|
for (const newBlock of newBlocks) {
|
|
1250
1250
|
const blockId = newBlock.id;
|
|
1251
1251
|
if (blockId && processedNewIds.has(blockId)) continue;
|
|
1252
|
-
const generatedId = blockId ||
|
|
1252
|
+
const generatedId = blockId || v4();
|
|
1253
1253
|
const addedBlock = {
|
|
1254
1254
|
...newBlock,
|
|
1255
1255
|
id: generatedId,
|
|
@@ -5305,4 +5305,4 @@ export {
|
|
|
5305
5305
|
AVAILABLE_OAUTH_SCOPES,
|
|
5306
5306
|
DEFAULT_GRANT_TYPES
|
|
5307
5307
|
};
|
|
5308
|
-
//# sourceMappingURL=chunk-
|
|
5308
|
+
//# sourceMappingURL=chunk-NYNLJEPF.mjs.map
|