@seedprotocol/sdk 0.1.121 → 0.1.122

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.
@@ -1815,7 +1815,7 @@ const saveEasPropertiesToDb = (_a) => __awaiter(void 0, [_a], void 0, function*
1815
1815
  isList = true;
1816
1816
  refValueType = 'list';
1817
1817
  const result = parseEasRelationPropertyName(propertyNameSnake);
1818
- if (result) {
1818
+ {
1819
1819
  propertyNameSnake = result.propertyName;
1820
1820
  refSeedType = result.modelName;
1821
1821
  }
@@ -2114,7 +2114,7 @@ const addModelsToDb = fromCallback(({ sendBack, input: { context } }) => {
2114
2114
  if (!models$1) {
2115
2115
  return;
2116
2116
  }
2117
- const { models: SeedModels } = yield import('./seed.schema.config-CEyCY7bh.js');
2117
+ const { models: SeedModels } = yield import('./seed.schema.config-BHoBrAJe.js');
2118
2118
  const allModels = Object.assign(Object.assign({}, SeedModels), models$1);
2119
2119
  let hasModelsInDb = false;
2120
2120
  const schemaDefsByModelName = new Map();
@@ -3157,7 +3157,7 @@ const setArweaveDomain = (newDomain) => {
3157
3157
  const getMetadata = (props) => __awaiter(void 0, void 0, void 0, function* () {
3158
3158
  const appDb = getAppDb();
3159
3159
  let storageTransactionId;
3160
- if (props) {
3160
+ {
3161
3161
  storageTransactionId = props.storageTransactionId;
3162
3162
  }
3163
3163
  const whereClauses = [];
@@ -6564,7 +6564,7 @@ const client = {
6564
6564
  addresses,
6565
6565
  arweaveDomain,
6566
6566
  });
6567
- import('./seed.schema.config-CEyCY7bh.js').then(({ models }) => {
6567
+ import('./seed.schema.config-BHoBrAJe.js').then(({ models }) => {
6568
6568
  for (const [key, value] of Object.entries(models)) {
6569
6569
  setModel(key, value);
6570
6570
  }
@@ -7239,7 +7239,7 @@ const hydrateFromDb = fromCallback(({ sendBack, input: { context } }) => {
7239
7239
  if (propertyRecordSchema &&
7240
7240
  propertyRecordSchema.storageType &&
7241
7241
  propertyRecordSchema.storageType === 'ItemStorage') {
7242
- const { Item } = yield import('./index-Bj_ICJrP.js');
7242
+ const { Item } = yield import('./index-IgTStLC1.js');
7243
7243
  const item = yield Item.find({
7244
7244
  seedLocalId,
7245
7245
  modelName,
@@ -8181,4 +8181,4 @@ if (isNode()) {
8181
8181
  }
8182
8182
 
8183
8183
  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 };
8184
- //# sourceMappingURL=index-CQVtBXqn.js.map
8184
+ //# sourceMappingURL=index-D30kap8f.js.map