@hyperbook/markdown 0.58.3 → 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.
@@ -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 (hyperbook) {
543
- const blob = new Blob([JSON.stringify(hyperbook)], {
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperbook/markdown",
3
- "version": "0.58.3",
3
+ "version": "0.58.4",
4
4
  "author": "Mike Barkmin",
5
5
  "homepage": "https://github.com/openpatch/hyperbook#readme",
6
6
  "license": "MIT",