@seedprotocol/sdk 0.1.77 → 0.1.79

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.
@@ -1,4 +1,4 @@
1
- export { g as GET_ALL_PROPERTIES_FOR_ALL_VERSIONS, f as GET_PROPERTIES, G as GET_SCHEMAS, a as GET_SCHEMA_BY_NAME, b as GET_SEEDS, c as GET_SEED_IDS, d as GET_STORAGE_TRANSACTION_ID, e as GET_VERSIONS, I as Item, h as itemMachineAll, i as itemMachineSingle } from './index-BH0P1ozi.js';
1
+ export { g as GET_ALL_PROPERTIES_FOR_ALL_VERSIONS, f as GET_PROPERTIES, G as GET_SCHEMAS, a as GET_SCHEMA_BY_NAME, b as GET_SEEDS, c as GET_SEED_IDS, d as GET_STORAGE_TRANSACTION_ID, e as GET_VERSIONS, I as Item, h as itemMachineAll, i as itemMachineSingle } from './index-_JWt4nA-.js';
2
2
  import './constants-rmQ8zg8_.js';
3
3
  import '@ethereum-attestation-service/eas-sdk';
4
4
  import 'thirdweb';
@@ -29,4 +29,4 @@ import 'rxjs';
29
29
  import 'drizzle-orm/sqlite-proxy';
30
30
  import '@zenfs/dom';
31
31
  import 'arweave';
32
- //# sourceMappingURL=index-BpkGOxI0.js.map
32
+ //# sourceMappingURL=index-DmrlOoY_.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index-BpkGOxI0.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index-DmrlOoY_.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -991,6 +991,7 @@ const hydrateFromDb = fromCallback(({ sendBack, input: { context } }) => {
991
991
  propertyRecordSchema.refValueType === 'ImageSrc') {
992
992
  dir = 'images';
993
993
  }
994
+ dir = dir.replace(/^\//, '');
994
995
  if (!refResolvedValue &&
995
996
  propertyValueFromDb &&
996
997
  propertyValueFromDb.length === 66) {
@@ -1049,7 +1050,7 @@ const hydrateFromDb = fromCallback(({ sendBack, input: { context } }) => {
1049
1050
  if (propertyRecordSchema &&
1050
1051
  propertyRecordSchema.storageType &&
1051
1052
  propertyRecordSchema.storageType === 'ItemStorage') {
1052
- const { Item } = yield import('./index-BpkGOxI0.js');
1053
+ const { Item } = yield import('./index-DmrlOoY_.js');
1053
1054
  const item = yield Item.find({
1054
1055
  seedLocalId,
1055
1056
  modelName: itemModelName,
@@ -2611,7 +2612,7 @@ const addModelsToDb = fromCallback(({ sendBack, input: { context } }) => {
2611
2612
  if (!models$1) {
2612
2613
  return;
2613
2614
  }
2614
- const { models: SeedModels } = yield import('./seed.schema.config-CR4yAjam.js');
2615
+ const { models: SeedModels } = yield import('./seed.schema.config-CD9Ee46X.js');
2615
2616
  const allModels = Object.assign(Object.assign({}, SeedModels), models$1);
2616
2617
  let hasModelsInDb = false;
2617
2618
  const schemaDefsByModelName = new Map();
@@ -6611,7 +6612,7 @@ const client = {
6611
6612
  console.error('fs listeners not ready during init');
6612
6613
  }
6613
6614
  globalService.send({ type: 'init', endpoints, models, addresses });
6614
- import('./seed.schema.config-CR4yAjam.js').then(({ models }) => {
6615
+ import('./seed.schema.config-CD9Ee46X.js').then(({ models }) => {
6615
6616
  for (const [key, value] of Object.entries(models)) {
6616
6617
  setModel(key, value);
6617
6618
  }
@@ -7565,4 +7566,4 @@ if (isNode()) {
7565
7566
  }
7566
7567
 
7567
7568
  export { GET_SCHEMAS as G, Item as I, Json as J, List as L, Model as M, Property as P, Relation as R, Text as T, GET_SCHEMA_BY_NAME as a, GET_SEEDS as b, GET_SEED_IDS as c, GET_STORAGE_TRANSACTION_ID as d, GET_VERSIONS as e, GET_PROPERTIES as f, GET_ALL_PROPERTIES_FOR_ALL_VERSIONS as g, itemMachineAll as h, itemMachineSingle as i, ImageSrc as j, ItemProperty as k, useItem as l, useItemProperties as m, useCreateItem as n, useItemProperty as o, useDeleteItem as p, useGlobalServiceStatus as q, useServices as r, getGlobalService as s, client as t, useItems as u, getCorrectId as v, withSeed as w };
7568
- //# sourceMappingURL=index-BH0P1ozi.js.map
7569
+ //# sourceMappingURL=index-_JWt4nA-.js.map