@seedprotocol/sdk 0.1.85 → 0.1.86

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.
@@ -1061,7 +1061,7 @@ const hydrateFromDb = fromCallback(({ sendBack, input: { context } }) => {
1061
1061
  if (propertyRecordSchema &&
1062
1062
  propertyRecordSchema.storageType &&
1063
1063
  propertyRecordSchema.storageType === 'ItemStorage') {
1064
- const { Item } = yield import('./index-BFSW1upn.js');
1064
+ const { Item } = yield import('./index-DAMQTiS7.js');
1065
1065
  const item = yield Item.find({
1066
1066
  seedLocalId,
1067
1067
  modelName: itemModelName,
@@ -1611,7 +1611,6 @@ class ItemProperty {
1611
1611
  const cacheKey = ItemProperty.cacheKey(cacheKeyId, propertyName);
1612
1612
  if (this.instanceCache.has(cacheKey)) {
1613
1613
  const { instance, refCount } = this.instanceCache.get(cacheKey);
1614
- instance.getService().send({ type: 'reload' });
1615
1614
  this.instanceCache.set(cacheKey, {
1616
1615
  instance,
1617
1616
  refCount: refCount + 1,
@@ -2629,7 +2628,7 @@ const addModelsToDb = fromCallback(({ sendBack, input: { context } }) => {
2629
2628
  if (!models$1) {
2630
2629
  return;
2631
2630
  }
2632
- const { models: SeedModels } = yield import('./seed.schema.config-DjUwnjlb.js');
2631
+ const { models: SeedModels } = yield import('./seed.schema.config-BqcatDl0.js');
2633
2632
  const allModels = Object.assign(Object.assign({}, SeedModels), models$1);
2634
2633
  let hasModelsInDb = false;
2635
2634
  const schemaDefsByModelName = new Map();
@@ -6631,7 +6630,7 @@ const client = {
6631
6630
  console.error('fs listeners not ready during init');
6632
6631
  }
6633
6632
  globalService.send({ type: 'init', endpoints, models, addresses });
6634
- import('./seed.schema.config-DjUwnjlb.js').then(({ models }) => {
6633
+ import('./seed.schema.config-BqcatDl0.js').then(({ models }) => {
6635
6634
  for (const [key, value] of Object.entries(models)) {
6636
6635
  setModel(key, value);
6637
6636
  }
@@ -7273,7 +7272,7 @@ const propertyMachine = setup({
7273
7272
  };
7274
7273
  }),
7275
7274
  },
7276
- reload: '.hydratingFromDb',
7275
+ // reload: '.hydratingFromDb',
7277
7276
  save: {
7278
7277
  actions: assign({
7279
7278
  isSaving: true,
@@ -7585,4 +7584,4 @@ if (isNode()) {
7585
7584
  }
7586
7585
 
7587
7586
  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 };
7588
- //# sourceMappingURL=index-D0rjBEnK.js.map
7587
+ //# sourceMappingURL=index-64tJyd3u.js.map