@seedprotocol/sdk 0.7.7 → 0.7.8-next.1034.g2acd2a2
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/{ClientManager-2GtDWHq6.js → ClientManager-DBKvmJov.js} +64 -36
- package/dist/ClientManager-DBKvmJov.js.map +1 -0
- package/dist/{Item-D6j0IvBP.js → Item-BiMHgg-_.js} +539 -486
- package/dist/Item-BiMHgg-_.js.map +1 -0
- package/dist/{ModelProperty-B52C3CQ2.js → ModelProperty-C1Fzcnbm.js} +50 -51
- package/dist/ModelProperty-C1Fzcnbm.js.map +1 -0
- package/dist/{Schema-O1QLoXv6.js → Schema-COTbavcm.js} +97 -82
- package/dist/Schema-COTbavcm.js.map +1 -0
- package/dist/{SchemaValidationService-BxCbfDaI.js → SchemaValidationService-paOfbcwd.js} +6 -6
- package/dist/{SchemaValidationService-BxCbfDaI.js.map → SchemaValidationService-paOfbcwd.js.map} +1 -1
- package/dist/{backfillMetadataPropertyIds-CzSbuucw.js → backfillMetadataPropertyIds-BkpBahbz.js} +3 -3
- package/dist/{backfillMetadataPropertyIds-CzSbuucw.js.map → backfillMetadataPropertyIds-BkpBahbz.js.map} +1 -1
- package/dist/{configurePlatform-Bbpw_R4y.js → configurePlatform-_XR45RnJ.js} +2 -2
- package/dist/{configurePlatform-Bbpw_R4y.js.map → configurePlatform-_XR45RnJ.js.map} +1 -1
- package/dist/{detachRowsBeforeDelete-D1TyEMco.js → detachRowsBeforeDelete-C1iapUFl.js} +2 -2
- package/dist/{detachRowsBeforeDelete-D1TyEMco.js.map → detachRowsBeforeDelete-C1iapUFl.js.map} +1 -1
- package/dist/{discardNewDraft-hiVaUVjV.js → discardNewDraft-D4nrwp3T.js} +5 -5
- package/dist/{discardNewDraft-hiVaUVjV.js.map → discardNewDraft-D4nrwp3T.js.map} +1 -1
- package/dist/dist/{ClientManager-2GtDWHq6.d.ts → ClientManager-DBKvmJov.d.ts} +20 -1
- package/dist/dist/ClientManager-DBKvmJov.d.ts.map +1 -0
- package/dist/dist/{Item-D6j0IvBP.d.ts → Item-BiMHgg-_.d.ts} +146 -85
- package/dist/dist/Item-BiMHgg-_.d.ts.map +1 -0
- package/dist/dist/{ModelProperty-B52C3CQ2.d.ts → ModelProperty-C1Fzcnbm.d.ts} +1 -1
- package/dist/dist/{ModelProperty-B52C3CQ2.d.ts.map → ModelProperty-C1Fzcnbm.d.ts.map} +1 -1
- package/dist/dist/{Schema-O1QLoXv6.d.ts → Schema-COTbavcm.d.ts} +11 -4
- package/dist/dist/Schema-COTbavcm.d.ts.map +1 -0
- package/dist/dist/{SchemaValidationService-BxCbfDaI.d.ts → SchemaValidationService-paOfbcwd.d.ts} +1 -1
- package/dist/dist/{SchemaValidationService-BxCbfDaI.d.ts.map → SchemaValidationService-paOfbcwd.d.ts.map} +1 -1
- package/dist/dist/{backfillMetadataPropertyIds-CzSbuucw.d.ts → backfillMetadataPropertyIds-BkpBahbz.d.ts} +1 -1
- package/dist/dist/backfillMetadataPropertyIds-BkpBahbz.d.ts.map +1 -0
- package/dist/dist/{configurePlatform-Bbpw_R4y.d.ts → configurePlatform-_XR45RnJ.d.ts} +1 -1
- package/dist/dist/configurePlatform-_XR45RnJ.d.ts.map +1 -0
- package/dist/dist/{detachRowsBeforeDelete-D1TyEMco.d.ts → detachRowsBeforeDelete-C1iapUFl.d.ts} +1 -1
- package/dist/dist/detachRowsBeforeDelete-C1iapUFl.d.ts.map +1 -0
- package/dist/dist/{discardNewDraft-hiVaUVjV.d.ts → discardNewDraft-D4nrwp3T.d.ts} +1 -1
- package/dist/dist/discardNewDraft-D4nrwp3T.d.ts.map +1 -0
- package/dist/dist/{eas-DOdj-EMK.d.ts → eas-BRVEGT97.d.ts} +1 -1
- package/dist/dist/eas-BRVEGT97.d.ts.map +1 -0
- package/dist/dist/{errors-KM-yq2MD.d.ts → errors-CQagdED2.d.ts} +39 -24
- package/dist/dist/errors-CQagdED2.d.ts.map +1 -0
- package/dist/dist/{getItem-Bh0zv-o1.d.ts → getItem-Jpr1SKIL.d.ts} +1 -1
- package/dist/dist/getItem-Jpr1SKIL.d.ts.map +1 -0
- package/dist/dist/{getPublishPayload-oH8wJhnH.d.ts → getPublishPayload-Bmeqtq4l.d.ts} +1 -1
- package/dist/dist/{getPublishPayload-oH8wJhnH.d.ts.map → getPublishPayload-Bmeqtq4l.d.ts.map} +1 -1
- package/dist/dist/{getPublishUploads-Cex-NBe6.d.ts → getPublishUploads-7nW1kMZV.d.ts} +1 -1
- package/dist/dist/{getPublishUploads-Cex-NBe6.d.ts.map → getPublishUploads-7nW1kMZV.d.ts.map} +1 -1
- package/dist/dist/{index-BbFwftAv.d.ts → index-3_hGVu7v.d.ts} +1 -1
- package/dist/dist/{index-BbFwftAv.d.ts.map → index-3_hGVu7v.d.ts.map} +1 -1
- package/dist/dist/{index-DpgQMIRq.d.ts → index-C-NqjjY_.d.ts} +11 -5
- package/dist/dist/index-C-NqjjY_.d.ts.map +1 -0
- package/dist/dist/{index-BAao3_Po.d.ts → index-DM3zrNtX.d.ts} +5 -5
- package/dist/dist/index-DM3zrNtX.d.ts.map +1 -0
- package/dist/dist/{index.browser-nndbVM7z.d.ts → index.browser-DGoOSs1J.d.ts} +1 -1
- package/dist/dist/{index.browser-nndbVM7z.d.ts.map → index.browser-DGoOSs1J.d.ts.map} +1 -1
- package/dist/dist/{index.node-BUfx-JaP.d.ts → index.node-CTv62R2a.d.ts} +1 -1
- package/dist/dist/{index.node-BUfx-JaP.d.ts.map → index.node-CTv62R2a.d.ts.map} +1 -1
- package/dist/dist/platform.browser.d.ts +2 -2
- package/dist/dist/platform.node.d.ts +2 -2
- package/dist/dist/{property-BDBvImLs.d.ts → property-DaUy4XMe.d.ts} +3 -3
- package/dist/dist/property-DaUy4XMe.d.ts.map +1 -0
- package/dist/dist/{propertyValidationRules-BlfLn4rP.d.ts → propertyValidationRules-DbbWvBzj.d.ts} +1 -1
- package/dist/dist/propertyValidationRules-DbbWvBzj.d.ts.map +1 -0
- package/dist/dist/{publishDraftGraph-CLO85LLz.d.ts → publishDraftGraph-CCa6EzeO.d.ts} +1 -1
- package/dist/dist/{publishDraftGraph-CLO85LLz.d.ts.map → publishDraftGraph-CCa6EzeO.d.ts.map} +1 -1
- package/dist/dist/{resetAmbiguousLegacyItemData-Cy8ik7xk.d.ts → resetAmbiguousLegacyItemData--PN1v53N.d.ts} +1 -1
- package/dist/dist/resetAmbiguousLegacyItemData--PN1v53N.d.ts.map +1 -0
- package/dist/dist/{resolveModelForSyncedSeed-DFr4COc4.d.ts → resolveModelForSyncedSeed-VDzkS6Rs.d.ts} +1 -1
- package/dist/dist/resolveModelForSyncedSeed-VDzkS6Rs.d.ts.map +1 -0
- package/dist/dist/{syncDbWithEas-CAOlw3i-.d.ts → syncDbWithEas-D0gyJ58h.d.ts} +1 -1
- package/dist/dist/syncDbWithEas-D0gyJ58h.d.ts.map +1 -0
- package/dist/dist/{tabEvents-DksXwk3X.d.ts → tabEvents-UH-wNsZC.d.ts} +7 -4
- package/dist/dist/tabEvents-UH-wNsZC.d.ts.map +1 -0
- package/dist/dist/{tolerantWebAccess-CEIjFGf0.d.ts → tolerantWebAccess-CpcTCAZv.d.ts} +1 -1
- package/dist/dist/{tolerantWebAccess-CEIjFGf0.d.ts.map → tolerantWebAccess-CpcTCAZv.d.ts.map} +1 -1
- package/dist/dist/{updateSeedRevokedAt-Cjr35YjE.d.ts → updateSeedRevokedAt-D230zfWk.d.ts} +1 -1
- package/dist/dist/updateSeedRevokedAt-D230zfWk.d.ts.map +1 -0
- package/dist/{eas-DOdj-EMK.js → eas-BRVEGT97.js} +4 -4
- package/dist/{eas-DOdj-EMK.js.map → eas-BRVEGT97.js.map} +1 -1
- package/dist/{errors-KM-yq2MD.js → errors-CQagdED2.js} +222 -275
- package/dist/errors-CQagdED2.js.map +1 -0
- package/dist/{getItem-Bh0zv-o1.js → getItem-Jpr1SKIL.js} +4 -4
- package/dist/{getItem-Bh0zv-o1.js.map → getItem-Jpr1SKIL.js.map} +1 -1
- package/dist/{getPublishPayload-oH8wJhnH.js → getPublishPayload-Bmeqtq4l.js} +15 -15
- package/dist/{getPublishPayload-oH8wJhnH.js.map → getPublishPayload-Bmeqtq4l.js.map} +1 -1
- package/dist/{getPublishUploads-Cex-NBe6.js → getPublishUploads-7nW1kMZV.js} +6 -6
- package/dist/{getPublishUploads-Cex-NBe6.js.map → getPublishUploads-7nW1kMZV.js.map} +1 -1
- package/dist/{index-BbFwftAv.js → index-3_hGVu7v.js} +2 -2
- package/dist/index-3_hGVu7v.js.map +1 -0
- package/dist/{index-DpgQMIRq.js → index-C-NqjjY_.js} +18 -3
- package/dist/index-C-NqjjY_.js.map +1 -0
- package/dist/{index-BAao3_Po.js → index-DM3zrNtX.js} +8 -8
- package/dist/index-DM3zrNtX.js.map +1 -0
- package/dist/{index.browser-nndbVM7z.js → index.browser-DGoOSs1J.js} +27 -18
- package/dist/index.browser-DGoOSs1J.js.map +1 -0
- package/dist/{index.node-BUfx-JaP.js → index.node-CTv62R2a.js} +6 -6
- package/dist/{index.node-BUfx-JaP.js.map → index.node-CTv62R2a.js.map} +1 -1
- package/dist/main.js +24 -24
- package/dist/node.js +11 -11
- package/dist/platform.browser.js +5 -5
- package/dist/platform.node.js +4 -4
- package/dist/{property-BDBvImLs.js → property-DaUy4XMe.js} +9 -11
- package/dist/property-DaUy4XMe.js.map +1 -0
- package/dist/{propertyValidationRules-BlfLn4rP.js → propertyValidationRules-DbbWvBzj.js} +10 -10
- package/dist/{propertyValidationRules-BlfLn4rP.js.map → propertyValidationRules-DbbWvBzj.js.map} +1 -1
- package/dist/{publishDraftGraph-CLO85LLz.js → publishDraftGraph-CCa6EzeO.js} +6 -6
- package/dist/{publishDraftGraph-CLO85LLz.js.map → publishDraftGraph-CCa6EzeO.js.map} +1 -1
- package/dist/{resetAmbiguousLegacyItemData-Cy8ik7xk.js → resetAmbiguousLegacyItemData--PN1v53N.js} +2 -2
- package/dist/{resetAmbiguousLegacyItemData-Cy8ik7xk.js.map → resetAmbiguousLegacyItemData--PN1v53N.js.map} +1 -1
- package/dist/{resolveModelForSyncedSeed-DFr4COc4.js → resolveModelForSyncedSeed-VDzkS6Rs.js} +2 -2
- package/dist/{resolveModelForSyncedSeed-DFr4COc4.js.map → resolveModelForSyncedSeed-VDzkS6Rs.js.map} +1 -1
- package/dist/src/Item/Item.d.ts +23 -6
- package/dist/src/Item/Item.d.ts.map +1 -1
- package/dist/src/Item/service/itemMachineSingle.d.ts.map +1 -1
- package/dist/src/ItemProperty/ItemProperty.d.ts +38 -6
- package/dist/src/ItemProperty/ItemProperty.d.ts.map +1 -1
- package/dist/src/ItemProperty/service/actors/hydrateFromDb.d.ts.map +1 -1
- package/dist/src/ItemProperty/service/actors/loadOrCreateProperty.d.ts.map +1 -1
- package/dist/src/ItemProperty/service/propertyMachine.d.ts.map +1 -1
- package/dist/src/Model/Model.d.ts +50 -9
- package/dist/src/Model/Model.d.ts.map +1 -1
- package/dist/src/Model/service/actors/validateModel.d.ts.map +1 -1
- package/dist/src/ModelProperty/ModelProperty.d.ts.map +1 -1
- package/dist/src/ModelProperty/service/actors/compareAndMarkDraft.d.ts.map +1 -1
- package/dist/src/ModelProperty/service/actors/validateProperty.d.ts.map +1 -1
- package/dist/src/Schema/Schema.d.ts +22 -3
- package/dist/src/Schema/Schema.d.ts.map +1 -1
- package/dist/src/Schema/service/actors/checkExistingSchema.d.ts.map +1 -1
- package/dist/src/Schema/service/actors/createModelInstances.d.ts.map +1 -1
- package/dist/src/Schema/service/actors/loadOrCreateSchema.d.ts.map +1 -1
- package/dist/src/browser/db/Db.d.ts.map +1 -1
- package/dist/src/browser/helpers/FileManager.d.ts.map +1 -1
- package/dist/src/client/ClientManager.d.ts +13 -0
- package/dist/src/client/ClientManager.d.ts.map +1 -1
- package/dist/src/helpers/entity/entityCache.d.ts +2 -42
- package/dist/src/helpers/entity/entityCache.d.ts.map +1 -1
- package/dist/src/helpers/entity/entityCommon.d.ts +9 -0
- package/dist/src/helpers/entity/entityCommon.d.ts.map +1 -1
- package/dist/src/helpers/entity/entityDestroy.d.ts +13 -7
- package/dist/src/helpers/entity/entityDestroy.d.ts.map +1 -1
- package/dist/src/helpers/entity/entityLiveQuery.d.ts +3 -2
- package/dist/src/helpers/entity/entityLiveQuery.d.ts.map +1 -1
- package/dist/src/helpers/entity/entityState.d.ts +28 -0
- package/dist/src/helpers/entity/entityState.d.ts.map +1 -0
- package/dist/src/helpers/entity/entityUnload.d.ts +3 -2
- package/dist/src/helpers/entity/entityUnload.d.ts.map +1 -1
- package/dist/src/helpers/entity/index.d.ts +1 -0
- package/dist/src/helpers/entity/index.d.ts.map +1 -1
- package/dist/src/helpers/metadataPropertyNames.d.ts +6 -0
- package/dist/src/helpers/metadataPropertyNames.d.ts.map +1 -1
- package/dist/src/helpers/property.d.ts.map +1 -1
- package/dist/src/helpers/reactiveProxy.d.ts +18 -0
- package/dist/src/helpers/reactiveProxy.d.ts.map +1 -1
- package/dist/src/helpers/sessionObjectUrls.d.ts +4 -0
- package/dist/src/helpers/sessionObjectUrls.d.ts.map +1 -0
- package/dist/src/imports/json.d.ts.map +1 -1
- package/dist/{syncDbWithEas-CAOlw3i-.js → syncDbWithEas-D0gyJ58h.js} +19 -19
- package/dist/syncDbWithEas-D0gyJ58h.js.map +1 -0
- package/dist/{tabEvents-DksXwk3X.js → tabEvents-UH-wNsZC.js} +24 -7
- package/dist/tabEvents-UH-wNsZC.js.map +1 -0
- package/dist/{tolerantWebAccess-CEIjFGf0.js → tolerantWebAccess-CpcTCAZv.js} +6 -6
- package/dist/{tolerantWebAccess-CEIjFGf0.js.map → tolerantWebAccess-CpcTCAZv.js.map} +1 -1
- package/dist/{updateSeedRevokedAt-Cjr35YjE.js → updateSeedRevokedAt-D230zfWk.js} +3 -3
- package/dist/{updateSeedRevokedAt-Cjr35YjE.js.map → updateSeedRevokedAt-D230zfWk.js.map} +1 -1
- package/package.json +6 -6
- package/dist/ClientManager-2GtDWHq6.js.map +0 -1
- package/dist/Item-D6j0IvBP.js.map +0 -1
- package/dist/ModelProperty-B52C3CQ2.js.map +0 -1
- package/dist/Schema-O1QLoXv6.js.map +0 -1
- package/dist/dist/ClientManager-2GtDWHq6.d.ts.map +0 -1
- package/dist/dist/Item-D6j0IvBP.d.ts.map +0 -1
- package/dist/dist/Schema-O1QLoXv6.d.ts.map +0 -1
- package/dist/dist/backfillMetadataPropertyIds-CzSbuucw.d.ts.map +0 -1
- package/dist/dist/configurePlatform-Bbpw_R4y.d.ts.map +0 -1
- package/dist/dist/detachRowsBeforeDelete-D1TyEMco.d.ts.map +0 -1
- package/dist/dist/discardNewDraft-hiVaUVjV.d.ts.map +0 -1
- package/dist/dist/eas-DOdj-EMK.d.ts.map +0 -1
- package/dist/dist/errors-KM-yq2MD.d.ts.map +0 -1
- package/dist/dist/getItem-Bh0zv-o1.d.ts.map +0 -1
- package/dist/dist/index-BAao3_Po.d.ts.map +0 -1
- package/dist/dist/index-DpgQMIRq.d.ts.map +0 -1
- package/dist/dist/property-BDBvImLs.d.ts.map +0 -1
- package/dist/dist/propertyValidationRules-BlfLn4rP.d.ts.map +0 -1
- package/dist/dist/resetAmbiguousLegacyItemData-Cy8ik7xk.d.ts.map +0 -1
- package/dist/dist/resolveModelForSyncedSeed-DFr4COc4.d.ts.map +0 -1
- package/dist/dist/syncDbWithEas-CAOlw3i-.d.ts.map +0 -1
- package/dist/dist/tabEvents-DksXwk3X.d.ts.map +0 -1
- package/dist/dist/updateSeedRevokedAt-Cjr35YjE.d.ts.map +0 -1
- package/dist/errors-KM-yq2MD.js.map +0 -1
- package/dist/index-BAao3_Po.js.map +0 -1
- package/dist/index-BbFwftAv.js.map +0 -1
- package/dist/index-DpgQMIRq.js.map +0 -1
- package/dist/index.browser-nndbVM7z.js.map +0 -1
- package/dist/property-BDBvImLs.js.map +0 -1
- package/dist/syncDbWithEas-CAOlw3i-.js.map +0 -1
- package/dist/tabEvents-DksXwk3X.js.map +0 -1
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export { M as Model, T as TModelSchema, a as TModelValues } from './errors-
|
|
2
|
-
import { M as ModelPropertyDataTypes } from './index-
|
|
3
|
-
export { D as DEFAULT_TEXT_MAX_LENGTH, P as Property, T as THtmlEmbeddedDataUriPolicy, a as TProperty, b as TPropertyConstructor, c as TPropertyDataType, d as TPropertyDefs, e as TStorageType, f as TValidationRules, i as isDataType, n as normalizeDataType, g as normalizePropertyRecordSchema } from './index-
|
|
4
|
-
export { getPropertySchema } from './property-
|
|
1
|
+
export { M as Model, T as TModelSchema, a as TModelValues } from './errors-CQagdED2.js';
|
|
2
|
+
import { M as ModelPropertyDataTypes } from './index-C-NqjjY_.js';
|
|
3
|
+
export { D as DEFAULT_TEXT_MAX_LENGTH, P as Property, T as THtmlEmbeddedDataUriPolicy, a as TProperty, b as TPropertyConstructor, c as TPropertyDataType, d as TPropertyDefs, e as TStorageType, f as TValidationRules, i as isDataType, n as normalizeDataType, g as normalizePropertyRecordSchema } from './index-C-NqjjY_.js';
|
|
4
|
+
export { getPropertySchema } from './property-DaUy4XMe.js';
|
|
5
5
|
import 'xstate';
|
|
6
6
|
import 'drizzle-orm';
|
|
7
7
|
import 'debug';
|
|
8
|
-
import './Item-
|
|
8
|
+
import './Item-BiMHgg-_.js';
|
|
9
9
|
import 'pluralize';
|
|
10
10
|
import 'rxjs';
|
|
11
11
|
import 'lodash-es';
|
|
12
12
|
import '@seedprotocol/eas';
|
|
13
|
+
import './tabEvents-UH-wNsZC.js';
|
|
13
14
|
import '@seedprotocol/arweave';
|
|
14
|
-
import './tabEvents-DksXwk3X.js';
|
|
15
15
|
import './model-oHA3YhOd.js';
|
|
16
|
-
import './ClientManager-
|
|
16
|
+
import './ClientManager-DBKvmJov.js';
|
|
17
17
|
import '@noble/hashes/sha3';
|
|
18
18
|
import '@noble/hashes/utils';
|
|
19
19
|
import '@seedprotocol/query';
|
|
@@ -26,4 +26,4 @@ import '@noble/hashes/sha256';
|
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
export { ModelPropertyDataTypes };
|
|
29
|
-
//# sourceMappingURL=index-
|
|
29
|
+
//# sourceMappingURL=index-DM3zrNtX.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-DM3zrNtX.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { B as BasePathResolver } from './configurePlatform-
|
|
2
|
-
import {
|
|
1
|
+
import { B as BasePathResolver } from './configurePlatform-_XR45RnJ.js';
|
|
2
|
+
import { a as withDbTabLock, n as notifyFilesWrittenOutsideCache, c as createSessionObjectUrl, b as withSeedDbLock } from './tabEvents-UH-wNsZC.js';
|
|
3
|
+
import { B as BaseDb, j as appState, aA as contentSha256TagMatches, h as BaseFileManager } from './index-C-NqjjY_.js';
|
|
3
4
|
import { eq, sql } from 'drizzle-orm';
|
|
4
|
-
import { a as withDbTabLock, n as notifyFilesWrittenOutsideCache, b as withSeedDbLock } from './tabEvents-DksXwk3X.js';
|
|
5
5
|
import { M as MIME_TO_EXTENSION } from './mimeTypes-C9r76DCH.js';
|
|
6
6
|
import debug from 'debug';
|
|
7
7
|
import { F as FileSystemLockedError, D as DatabaseNotPersistentError } from './errors-Do7v6RKu.js';
|
|
8
8
|
import { drizzle } from 'drizzle-orm/sqlite-proxy';
|
|
9
9
|
import { sha256 } from '@noble/hashes/sha256';
|
|
10
10
|
import { bytesToHex, utf8ToBytes } from '@noble/hashes/utils';
|
|
11
|
-
import { s as schema } from './index-
|
|
11
|
+
import { s as schema } from './index-3_hGVu7v.js';
|
|
12
12
|
import { SQLocalDrizzle } from 'sqlocal/drizzle';
|
|
13
13
|
import { Observable, distinctUntilChanged } from 'rxjs';
|
|
14
14
|
import { BaseArweaveClient, fetchTransactionStatusAcrossGateways, getPreferredArweaveReadBaseUrls, fetchArweaveRawFromBaseUrl, GET_TRANSACTION_TAGS } from '@seedprotocol/arweave';
|
|
@@ -1443,13 +1443,13 @@ class BrowserFileManager {
|
|
|
1443
1443
|
const fileExists = await this.pathExists(path);
|
|
1444
1444
|
if (fileExists) {
|
|
1445
1445
|
const file = await this.readFile(path);
|
|
1446
|
-
return
|
|
1446
|
+
return createSessionObjectUrl(file);
|
|
1447
1447
|
}
|
|
1448
1448
|
}
|
|
1449
1449
|
async initializeFileSystem(_workingDir) {
|
|
1450
1450
|
const zenfs = await this.getFs();
|
|
1451
|
-
const { TolerantWebAccess, TolerantWebAccessFS } = await import('./tolerantWebAccess-
|
|
1452
|
-
const _mod_0 = await import('./tabEvents-
|
|
1451
|
+
const { TolerantWebAccess, TolerantWebAccessFS } = await import('./tolerantWebAccess-CpcTCAZv.js');
|
|
1452
|
+
const _mod_0 = await import('./tabEvents-UH-wNsZC.js');
|
|
1453
1453
|
const _ns_0 = _mod_0.t;
|
|
1454
1454
|
const { queueFilesChangedNotice } = _ns_0;
|
|
1455
1455
|
const { configureSingle } = zenfs;
|
|
@@ -1518,7 +1518,7 @@ class BrowserFileManager {
|
|
|
1518
1518
|
}
|
|
1519
1519
|
async invalidateNow(filePaths) {
|
|
1520
1520
|
const { mounts } = await this.getFs();
|
|
1521
|
-
const { TolerantWebAccessFS } = await import('./tolerantWebAccess-
|
|
1521
|
+
const { TolerantWebAccessFS } = await import('./tolerantWebAccess-CpcTCAZv.js');
|
|
1522
1522
|
const mounted = mounts.get('/');
|
|
1523
1523
|
if (!(mounted instanceof TolerantWebAccessFS))
|
|
1524
1524
|
return;
|
|
@@ -4069,10 +4069,10 @@ class BrowserDb {
|
|
|
4069
4069
|
}
|
|
4070
4070
|
await this.runMigrations(db);
|
|
4071
4071
|
this.appDb = db;
|
|
4072
|
-
const { backfillMetadataPropertyIds } = await import('./backfillMetadataPropertyIds-
|
|
4072
|
+
const { backfillMetadataPropertyIds } = await import('./backfillMetadataPropertyIds-BkpBahbz.js');
|
|
4073
4073
|
await backfillMetadataPropertyIds();
|
|
4074
4074
|
// One-time: clear item data whose model can't be determined (seeds.model_file_id, migration 0015)
|
|
4075
|
-
const { resetAmbiguousLegacyItemData } = await import('./resetAmbiguousLegacyItemData
|
|
4075
|
+
const { resetAmbiguousLegacyItemData } = await import('./resetAmbiguousLegacyItemData--PN1v53N.js');
|
|
4076
4076
|
await resetAmbiguousLegacyItemData();
|
|
4077
4077
|
})(), workerFailed);
|
|
4078
4078
|
return this.appDb;
|
|
@@ -4264,13 +4264,22 @@ class BrowserDb {
|
|
|
4264
4264
|
throw new Error('Reactive queries not enabled. Initialize SQLocalDrizzle with reactive: true.');
|
|
4265
4265
|
}
|
|
4266
4266
|
const baseObservable = new Observable((subscriber) => {
|
|
4267
|
-
|
|
4268
|
-
|
|
4269
|
-
|
|
4270
|
-
|
|
4271
|
-
|
|
4272
|
-
|
|
4273
|
-
|
|
4267
|
+
// Setup errors (bad SQL, a closed database) go to the subscriber like query errors, so
|
|
4268
|
+
// callers see them as an error notification rather than only in the console.
|
|
4269
|
+
let subscription;
|
|
4270
|
+
try {
|
|
4271
|
+
subscription = this.sqlocalInstance.reactiveQuery(query).subscribe((data) => {
|
|
4272
|
+
subscriber.next(data);
|
|
4273
|
+
}, (err) => {
|
|
4274
|
+
logger$1('[BaseDb.liveQuery] SQLocal reactiveQuery error:', err);
|
|
4275
|
+
subscriber.error(err);
|
|
4276
|
+
});
|
|
4277
|
+
}
|
|
4278
|
+
catch (error) {
|
|
4279
|
+
logger$1('[BaseDb.liveQuery] SQLocal reactiveQuery setup failed:', error);
|
|
4280
|
+
subscriber.error(error);
|
|
4281
|
+
return;
|
|
4282
|
+
}
|
|
4274
4283
|
return () => {
|
|
4275
4284
|
subscription.unsubscribe();
|
|
4276
4285
|
};
|
|
@@ -4513,4 +4522,4 @@ function resolveFilesDir(filesDir) {
|
|
|
4513
4522
|
}
|
|
4514
4523
|
|
|
4515
4524
|
export { createPlatformServices as c, isSkippableOpfsEntryError as i, resolveFilesDir as r };
|
|
4516
|
-
//# sourceMappingURL=index.browser-
|
|
4525
|
+
//# sourceMappingURL=index.browser-DGoOSs1J.js.map
|