@supernova-studio/client 0.48.32 → 0.48.33
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/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/yjs/version-room/utils.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -2438,7 +2438,7 @@ var FigmaComponentBooleanProperty = _zod.z.object({
|
|
|
2438
2438
|
var FigmaComponentInstanceSwapProperty = _zod.z.object({
|
|
2439
2439
|
type: _zod.z.literal(FigmaComponentPropertyType.enum.InstanceSwap),
|
|
2440
2440
|
value: _zod.z.string()
|
|
2441
|
-
// Persistent ID of a Component to swap
|
|
2441
|
+
// Persistent ID of a Component to swap??
|
|
2442
2442
|
});
|
|
2443
2443
|
var FigmaComponentVariantProperty = _zod.z.object({
|
|
2444
2444
|
type: _zod.z.literal(FigmaComponentPropertyType.enum.Variant),
|
|
@@ -6360,7 +6360,7 @@ var VersionRoomBaseYDoc = class {
|
|
|
6360
6360
|
|
|
6361
6361
|
// src/yjs/version-room/utils.ts
|
|
6362
6362
|
function generatePageContentHash(content, definitions, debug = false) {
|
|
6363
|
-
let sanitizedContent = content;
|
|
6363
|
+
let sanitizedContent = structuredClone(content);
|
|
6364
6364
|
sanitizedContent = removeCommentSpansFromPage(content, definitions);
|
|
6365
6365
|
if (isPageContentEmpty(sanitizedContent)) {
|
|
6366
6366
|
sanitizedContent = { blocks: [] };
|