@seedprotocol/sdk 0.1.109 → 0.1.110

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-vtm826YJ.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-DPl7MLMn.js';
2
2
  import './constants-CEnkzyny.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-vHcSfvyu.js.map
32
+ //# sourceMappingURL=index-DBeuQew5.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index-vHcSfvyu.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index-DBeuQew5.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -2090,7 +2090,7 @@ const addModelsToDb = fromCallback(({ sendBack, input: { context } }) => {
2090
2090
  if (!models$1) {
2091
2091
  return;
2092
2092
  }
2093
- const { models: SeedModels } = yield import('./seed.schema.config-Brb7H5eC.js');
2093
+ const { models: SeedModels } = yield import('./seed.schema.config-B7qlhJai.js');
2094
2094
  const allModels = Object.assign(Object.assign({}, SeedModels), models$1);
2095
2095
  let hasModelsInDb = false;
2096
2096
  const schemaDefsByModelName = new Map();
@@ -5459,12 +5459,12 @@ const processListProperty = (listProperty, multiPublishPayload) => __awaiter(voi
5459
5459
  return multiPublishPayload;
5460
5460
  });
5461
5461
  const getPublishPayload = (item, uploadedTransactions) => __awaiter(void 0, void 0, void 0, function* () {
5462
- if (item.modelName === 'Post') {
5463
- item.authors = [
5464
- 'Sr0bIx9Fwj',
5465
- '0xc2879650e9503a303ceb46f966e55baab480b267dc20cede23ef503622eee6d7',
5466
- ];
5467
- }
5462
+ // if (item.modelName === 'Post') {
5463
+ // item.authors = [
5464
+ // 'Sr0bIx9Fwj',
5465
+ // '0xc2879650e9503a303ceb46f966e55baab480b267dc20cede23ef503622eee6d7',
5466
+ // ]
5467
+ // }
5468
5468
  let multiPublishPayload = [];
5469
5469
  // Each PublishPayload is generated from a Seed that needs publishing
5470
5470
  // First we need to determine all Seeds to publish
@@ -5617,14 +5617,14 @@ const processUploadProperty = (uploadProperty, uploads, relatedItemProperty) =>
5617
5617
  return uploads;
5618
5618
  });
5619
5619
  const getPublishUploads = (item_1, ...args_1) => __awaiter(void 0, [item_1, ...args_1], void 0, function* (item, uploads = [], relatedItemProperty) {
5620
- if (item.modelName === 'Post') {
5621
- if (!item.authors) {
5622
- item.authors = [
5623
- 'Sr0bIx9Fwj',
5624
- '0xc2879650e9503a303ceb46f966e55baab480b267dc20cede23ef503622eee6d7',
5625
- ];
5626
- }
5627
- }
5620
+ // if (item.modelName === 'Post') {
5621
+ // if (!item.authors) {
5622
+ // item.authors = [
5623
+ // 'Sr0bIx9Fwj',
5624
+ // '0xc2879650e9503a303ceb46f966e55baab480b267dc20cede23ef503622eee6d7',
5625
+ // ]
5626
+ // }
5627
+ // }
5628
5628
  const { itemUploadProperties, itemRelationProperties } = getSegmentedItemProperties(item);
5629
5629
  for (const uploadProperty of itemUploadProperties) {
5630
5630
  uploads = yield processUploadProperty(uploadProperty, uploads, relatedItemProperty);
@@ -6451,7 +6451,7 @@ const client = {
6451
6451
  console.error('fs listeners not ready during init');
6452
6452
  }
6453
6453
  globalService.send({ type: 'init', endpoints, models, addresses });
6454
- import('./seed.schema.config-Brb7H5eC.js').then(({ models }) => {
6454
+ import('./seed.schema.config-B7qlhJai.js').then(({ models }) => {
6455
6455
  for (const [key, value] of Object.entries(models)) {
6456
6456
  setModel(key, value);
6457
6457
  }
@@ -7126,7 +7126,7 @@ const hydrateFromDb = fromCallback(({ sendBack, input: { context } }) => {
7126
7126
  if (propertyRecordSchema &&
7127
7127
  propertyRecordSchema.storageType &&
7128
7128
  propertyRecordSchema.storageType === 'ItemStorage') {
7129
- const { Item } = yield import('./index-vHcSfvyu.js');
7129
+ const { Item } = yield import('./index-DBeuQew5.js');
7130
7130
  const item = yield Item.find({
7131
7131
  seedLocalId,
7132
7132
  modelName,
@@ -8068,4 +8068,4 @@ if (isNode()) {
8068
8068
  }
8069
8069
 
8070
8070
  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 };
8071
- //# sourceMappingURL=index-vtm826YJ.js.map
8071
+ //# sourceMappingURL=index-DPl7MLMn.js.map