@seedprotocol/sdk 0.1.104 → 0.1.105

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.
@@ -1067,7 +1067,7 @@ const hydrateFromDb = fromCallback(({ sendBack, input: { context } }) => {
1067
1067
  if (propertyRecordSchema &&
1068
1068
  propertyRecordSchema.storageType &&
1069
1069
  propertyRecordSchema.storageType === 'ItemStorage') {
1070
- const { Item } = yield import('./index-S6aUqdI6.js');
1070
+ const { Item } = yield import('./index-D5tYjtxh.js');
1071
1071
  const item = yield Item.find({
1072
1072
  seedLocalId,
1073
1073
  modelName: itemModelName,
@@ -2621,7 +2621,7 @@ const addModelsToDb = fromCallback(({ sendBack, input: { context } }) => {
2621
2621
  if (!models$1) {
2622
2622
  return;
2623
2623
  }
2624
- const { models: SeedModels } = yield import('./seed.schema.config-D5w2jMZV.js');
2624
+ const { models: SeedModels } = yield import('./seed.schema.config-wQXee2fb.js');
2625
2625
  const allModels = Object.assign(Object.assign({}, SeedModels), models$1);
2626
2626
  let hasModelsInDb = false;
2627
2627
  const schemaDefsByModelName = new Map();
@@ -5898,8 +5898,7 @@ const getPublishPayload = (seedLocalId) => __awaiter(void 0, void 0, void 0, fun
5898
5898
  ],
5899
5899
  });
5900
5900
  }
5901
- console.log('ZERO_ADDRESS: ', ZERO_ADDRESS);
5902
- const payload = [
5901
+ return [
5903
5902
  {
5904
5903
  localId,
5905
5904
  seedIsRevocable,
@@ -5911,8 +5910,6 @@ const getPublishPayload = (seedLocalId) => __awaiter(void 0, void 0, void 0, fun
5911
5910
  propertiesToUpdate,
5912
5911
  },
5913
5912
  ];
5914
- console.log('payload: ', payload);
5915
- return payload;
5916
5913
  });
5917
5914
 
5918
5915
  var _a$1;
@@ -5948,7 +5945,7 @@ class Item {
5948
5945
  });
5949
5946
  });
5950
5947
  this.getPublishPayload = () => __awaiter(this, void 0, void 0, function* () {
5951
- yield getPublishPayload(this.seedLocalId);
5948
+ return yield getPublishPayload(this.seedLocalId);
5952
5949
  });
5953
5950
  const { modelName, seedUid, schemaUid, seedLocalId, latestVersionLocalId, latestVersionUid, } = initialValues;
5954
5951
  const ModelClass = getModel(modelName);
@@ -6701,7 +6698,7 @@ const client = {
6701
6698
  console.error('fs listeners not ready during init');
6702
6699
  }
6703
6700
  globalService.send({ type: 'init', endpoints, models, addresses });
6704
- import('./seed.schema.config-D5w2jMZV.js').then(({ models }) => {
6701
+ import('./seed.schema.config-wQXee2fb.js').then(({ models }) => {
6705
6702
  for (const [key, value] of Object.entries(models)) {
6706
6703
  setModel(key, value);
6707
6704
  }
@@ -7654,4 +7651,4 @@ if (isNode()) {
7654
7651
  }
7655
7652
 
7656
7653
  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 };
7657
- //# sourceMappingURL=index-opZLss_R.js.map
7654
+ //# sourceMappingURL=index--nvTinP_.js.map