@supernova-studio/client 0.47.75 → 0.48.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/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/yjs/version-room/frontend.ts +4 -1
package/dist/index.js
CHANGED
|
@@ -6231,7 +6231,9 @@ var FrontendVersionRoomYDoc = class {
|
|
|
6231
6231
|
}
|
|
6232
6232
|
updatedDraftState.changes.previousTitle = publishedState.title;
|
|
6233
6233
|
}
|
|
6234
|
-
|
|
6234
|
+
const currentConfigHash = generateHash(currentState.configuration, this.debug);
|
|
6235
|
+
const publishedConfigHash = generateHash(publishedState.configuration, this.debug);
|
|
6236
|
+
if (currentConfigHash !== publishedConfigHash) {
|
|
6235
6237
|
if (this.debug) {
|
|
6236
6238
|
console.log(`Item ${itemPersistentId} (${currentState.title}): updated configuration`);
|
|
6237
6239
|
}
|