@hyperbook/markdown 0.58.2 → 0.58.4
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/assets/cloud.js +3 -3
- package/dist/assets/store.js +1 -1
- package/package.json +3 -3
package/dist/assets/cloud.js
CHANGED
|
@@ -537,10 +537,10 @@ hyperbook.cloud = (function () {
|
|
|
537
537
|
|
|
538
538
|
if (data && data.snapshot) {
|
|
539
539
|
const storeData = data.snapshot.data || data.snapshot;
|
|
540
|
-
const { hyperbook } = storeData;
|
|
540
|
+
const { hyperbook: hb } = storeData;
|
|
541
541
|
|
|
542
|
-
if (
|
|
543
|
-
const blob = new Blob([JSON.stringify(
|
|
542
|
+
if (hb) {
|
|
543
|
+
const blob = new Blob([JSON.stringify(hb)], {
|
|
544
544
|
type: "application/json",
|
|
545
545
|
});
|
|
546
546
|
await hyperbook.store.db.import(blob, { clearTablesBeforeImport: true });
|
package/dist/assets/store.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyperbook/markdown",
|
|
3
|
-
"version": "0.58.
|
|
3
|
+
"version": "0.58.4",
|
|
4
4
|
"author": "Mike Barkmin",
|
|
5
5
|
"homepage": "https://github.com/openpatch/hyperbook#readme",
|
|
6
6
|
"license": "MIT",
|
|
@@ -95,8 +95,8 @@
|
|
|
95
95
|
"vitest": "^4.0.18",
|
|
96
96
|
"wavesurfer.js": "^7.12.1",
|
|
97
97
|
"@hyperbook/fs": "0.24.2",
|
|
98
|
-
"@hyperbook/
|
|
99
|
-
"@hyperbook/
|
|
98
|
+
"@hyperbook/web-component-excalidraw": "0.3.3",
|
|
99
|
+
"@hyperbook/types": "0.22.1"
|
|
100
100
|
},
|
|
101
101
|
"scripts": {
|
|
102
102
|
"version": "pnpm build",
|