@seedprotocol/sdk 0.1.124 → 0.1.126

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.
package/dist/main.js CHANGED
@@ -1,4 +1,4 @@
1
- export { j as ImageSrc, I as Item, k as ItemProperty, J as Json, L as List, M as Model, P as Property, R as Relation, T as Text, t as client, v as getCorrectId, s as getGlobalService, n as useCreateItem, p as useDeleteItem, q as useGlobalServiceStatus, l as useItem, m as useItemProperties, o as useItemProperty, u as useItems, r as useServices, w as withSeed } from './index-B_wcyM6Y.js';
1
+ export { j as ImageSrc, I as Item, k as ItemProperty, J as Json, L as List, M as Model, P as Property, R as Relation, T as Text, t as client, v as getCorrectId, s as getGlobalService, n as useCreateItem, p as useDeleteItem, q as useGlobalServiceStatus, l as useItem, m as useItemProperties, o as useItemProperty, u as useItems, r as useServices, w as withSeed } from './index-DUt28tMW.js';
2
2
  import 'immer';
3
3
  import 'reflect-metadata';
4
4
  import 'tslib';
@@ -1,6 +1,6 @@
1
1
  import { __decorate, __metadata } from 'tslib';
2
2
  import 'drizzle-orm';
3
- import { T as Text, M as Model } from './index-B_wcyM6Y.js';
3
+ import { T as Text, M as Model } from './index-DUt28tMW.js';
4
4
  import 'react';
5
5
  import 'reflect-metadata';
6
6
  import 'xstate';
@@ -80,4 +80,4 @@ const models = {
80
80
  };
81
81
 
82
82
  export { models };
83
- //# sourceMappingURL=seed.schema.config-B_quI2AB.js.map
83
+ //# sourceMappingURL=seed.schema.config-CRyEhrSQ.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"seed.schema.config-B_quI2AB.js","sources":["../../src/shared/configs/seed.schema.config.ts"],"sourcesContent":["import { Model, Text } from '@/browser'\n\n@Model\nclass Seed {\n @Text() uid!: string\n @Text() type!: string\n}\n\n@Model\nclass Version {\n @Text() seedUid!: string\n @Text() note!: string\n}\n\n@Model\nclass Metadata {\n @Text() key!: string\n @Text() value!: string\n}\n\nexport const models = {\n Seed,\n Version,\n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/configs/seed.schema.config.ts"],"sourcesContent":["import { Model, Text } from '@/browser'\n\n@Model\nclass Seed {\n @Text() uid!: string\n @Text() type!: string\n}\n\n@Model\nclass Version {\n @Text() seedUid!: string\n @Text() note!: string\n}\n\n@Model\nclass Metadata {\n @Text() key!: string\n @Text() value!: string\n}\n\nexport const models = {\n Seed,\n Version,\n Metadata,\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,IAAM,IAAI,GAAV,MAAM,IAAI,CAAA;CAGT;AAFS,UAAA,CAAA;AAAP,IAAA,IAAI,EAAE;;AAAa,CAAA,EAAA,IAAA,CAAA,SAAA,EAAA,KAAA,EAAA,KAAA,CAAA,CAAA;AACZ,UAAA,CAAA;AAAP,IAAA,IAAI,EAAE;;AAAc,CAAA,EAAA,IAAA,CAAA,SAAA,EAAA,MAAA,EAAA,KAAA,CAAA,CAAA;AAFjB,IAAI,GAAA,UAAA,CAAA;IADT;AACK,CAAA,EAAA,IAAI,CAGT;AAGD,IAAM,OAAO,GAAb,MAAM,OAAO,CAAA;CAGZ;AAFS,UAAA,CAAA;AAAP,IAAA,IAAI,EAAE;;AAAiB,CAAA,EAAA,OAAA,CAAA,SAAA,EAAA,SAAA,EAAA,KAAA,CAAA,CAAA;AAChB,UAAA,CAAA;AAAP,IAAA,IAAI,EAAE;;AAAc,CAAA,EAAA,OAAA,CAAA,SAAA,EAAA,MAAA,EAAA,KAAA,CAAA,CAAA;AAFjB,OAAO,GAAA,UAAA,CAAA;IADZ;AACK,CAAA,EAAA,OAAO,CAGZ;AAGD,IAAM,QAAQ,GAAd,MAAM,QAAQ,CAAA;CAGb;AAFS,UAAA,CAAA;AAAP,IAAA,IAAI,EAAE;;AAAa,CAAA,EAAA,QAAA,CAAA,SAAA,EAAA,KAAA,EAAA,KAAA,CAAA,CAAA;AACZ,UAAA,CAAA;AAAP,IAAA,IAAI,EAAE;;AAAe,CAAA,EAAA,QAAA,CAAA,SAAA,EAAA,OAAA,EAAA,KAAA,CAAA,CAAA;AAFlB,QAAQ,GAAA,UAAA,CAAA;IADb;AACK,CAAA,EAAA,QAAQ,CAGb;AAEY,MAAA,MAAM,GAAG;IACpB,IAAI;IACJ,OAAO;IACP,QAAQ;;;;;"}
@@ -139,45 +139,35 @@ const processRelationProperty = async (
139
139
  relationProperty.propertyDef!.ref as string,
140
140
  )
141
141
 
142
- let publishPayload: PublishPayload = {
143
- localId: relationProperty.localId,
142
+ const publishPayload: PublishPayload = {
143
+ localId: relatedItem.seedLocalId,
144
144
  seedIsRevocable: true,
145
145
  versionSchemaUid: VERSION_SCHEMA_UID_OPTIMISM_SEPOLIA,
146
146
  seedUid: seedUid || ZERO_BYTES32,
147
147
  seedSchemaUid,
148
148
  versionUid,
149
149
  listOfAttestations: [],
150
- propertiesToUpdate: [],
151
- }
152
-
153
- const { itemBasicProperties, itemUploadProperties } =
154
- getSegmentedItemProperties(relatedItem)
155
-
156
- if (itemUploadProperties.length === 1) {
157
- const uploadProperty = itemUploadProperties[0]
158
- const itemProperty = uploadProperty.itemProperty
159
- const transactionData = uploadedTransactions.find(
160
- (transaction) => transaction.seedLocalId === relatedItem.seedLocalId,
161
- )
162
- if (transactionData) {
163
- itemProperty.value = transactionData.txId
164
- await itemProperty.save()
165
- itemBasicProperties.push(itemProperty)
166
- }
150
+ propertiesToUpdate: [
151
+ {
152
+ publishLocalId: relationProperty.localId,
153
+ propertySchemaUid: relationProperty.schemaUid,
154
+ },
155
+ ],
167
156
  }
168
157
 
169
- publishPayload = await processBasicProperties(
170
- itemBasicProperties,
158
+ multiPublishPayload = await processItem(
159
+ relatedItem,
171
160
  publishPayload,
161
+ uploadedTransactions,
162
+ multiPublishPayload,
172
163
  )
173
164
 
174
- multiPublishPayload.push(publishPayload)
175
-
176
165
  return multiPublishPayload
177
166
  }
178
167
 
179
168
  const processListProperty = async (
180
169
  listProperty: ItemProperty<any>,
170
+ uploadTransactions: UploadedTransaction[],
181
171
  multiPublishPayload: MultiPublishPayload,
182
172
  ): Promise<MultiPublishPayload> => {
183
173
  let value = listProperty.getService().getSnapshot().context.propertyValue
@@ -238,14 +228,65 @@ const processListProperty = async (
238
228
  ],
239
229
  }
240
230
 
241
- const { itemBasicProperties } = getSegmentedItemProperties(relatedItem)
242
-
243
- publishPayload = await processBasicProperties(
244
- itemBasicProperties,
231
+ multiPublishPayload = await processItem(
232
+ relatedItem,
245
233
  publishPayload,
234
+ uploadTransactions,
235
+ multiPublishPayload,
236
+ )
237
+ }
238
+
239
+ return multiPublishPayload
240
+ }
241
+
242
+ const processItem = async (
243
+ item: Item<any>,
244
+ itemPublishData: PublishPayload,
245
+ uploadedTransactions: UploadedTransaction[],
246
+ multiPublishPayload: MultiPublishPayload,
247
+ ) => {
248
+ const {
249
+ itemBasicProperties,
250
+ itemRelationProperties,
251
+ itemListProperties,
252
+ itemUploadProperties,
253
+ } = getSegmentedItemProperties(item)
254
+
255
+ if (itemUploadProperties.length === 1) {
256
+ const uploadProperty = itemUploadProperties[0]
257
+ const itemProperty = uploadProperty.itemProperty
258
+ const transactionData = uploadedTransactions.find(
259
+ (transaction) => transaction.seedLocalId === item.seedLocalId,
260
+ )
261
+ if (transactionData) {
262
+ itemProperty.value = transactionData.txId
263
+ await itemProperty.save()
264
+ itemBasicProperties.push(itemProperty)
265
+ }
266
+ }
267
+
268
+ for (const relationProperty of itemRelationProperties) {
269
+ multiPublishPayload = await processRelationProperty(
270
+ relationProperty,
271
+ multiPublishPayload,
272
+ uploadedTransactions,
246
273
  )
274
+ itemBasicProperties.push(relationProperty)
275
+ }
276
+
277
+ itemPublishData = await processBasicProperties(
278
+ itemBasicProperties,
279
+ itemPublishData,
280
+ )
247
281
 
248
- multiPublishPayload.push(publishPayload)
282
+ multiPublishPayload.push(itemPublishData)
283
+
284
+ for (const listProperty of itemListProperties) {
285
+ multiPublishPayload = await processListProperty(
286
+ listProperty,
287
+ uploadedTransactions,
288
+ multiPublishPayload,
289
+ )
249
290
  }
250
291
 
251
292
  return multiPublishPayload
@@ -291,7 +332,7 @@ export const getPublishPayload = async (
291
332
 
292
333
  // That means the Seed of the Item, plus any Seeds pointed to by Relations
293
334
 
294
- let itemPublishData: PublishPayload = {
335
+ const itemPublishData: PublishPayload = {
295
336
  localId: item.seedLocalId,
296
337
  seedUid: item.seedUid || ZERO_BYTES32,
297
338
  seedIsRevocable: true,
@@ -302,47 +343,12 @@ export const getPublishPayload = async (
302
343
  propertiesToUpdate: [],
303
344
  }
304
345
 
305
- const {
306
- itemBasicProperties,
307
- itemRelationProperties,
308
- itemListProperties,
309
- itemUploadProperties,
310
- } = getSegmentedItemProperties(item)
311
-
312
- if (itemUploadProperties.length === 1) {
313
- const uploadProperty = itemUploadProperties[0]
314
- const itemProperty = uploadProperty.itemProperty
315
- const transactionData = uploadedTransactions.find(
316
- (transaction) => transaction.seedLocalId === item.seedLocalId,
317
- )
318
- if (transactionData) {
319
- itemProperty.value = transactionData.txId
320
- await itemProperty.save()
321
- itemBasicProperties.push(itemProperty)
322
- }
323
- }
324
-
325
- itemPublishData = await processBasicProperties(
326
- itemBasicProperties,
346
+ multiPublishPayload = await processItem(
347
+ item,
327
348
  itemPublishData,
349
+ uploadedTransactions,
350
+ multiPublishPayload,
328
351
  )
329
352
 
330
- multiPublishPayload.push(itemPublishData)
331
-
332
- for (const relationProperty of itemRelationProperties) {
333
- multiPublishPayload = await processRelationProperty(
334
- relationProperty,
335
- multiPublishPayload,
336
- uploadedTransactions,
337
- )
338
- }
339
-
340
- for (const listProperty of itemListProperties) {
341
- multiPublishPayload = await processListProperty(
342
- listProperty,
343
- multiPublishPayload,
344
- )
345
- }
346
-
347
353
  return multiPublishPayload
348
354
  }
@@ -129,7 +129,11 @@ const processUploadProperty = async (
129
129
  // })
130
130
  }
131
131
 
132
- fileContents = await fs.promises.readFile(filePath)
132
+ try {
133
+ fileContents = await fs.promises.readFile(filePath)
134
+ } catch (e) {
135
+ fileContents = fs.readFileSync(filePath)
136
+ }
133
137
  }
134
138
  if (!fileContents) {
135
139
  return uploads
@@ -142,9 +146,16 @@ const processUploadProperty = async (
142
146
  let compositeFileContents = ''
143
147
 
144
148
  for (const childUpload of childUploads) {
145
- const childUploadContents = await fs.promises.readFile(
146
- childUpload.localStoragePath,
147
- )
149
+ let childUploadContents
150
+
151
+ try {
152
+ childUploadContents = await fs.promises.readFile(
153
+ childUpload.localStoragePath,
154
+ )
155
+ } catch (e) {
156
+ childUploadContents = fs.readFileSync(childUpload.localStoragePath)
157
+ }
158
+
148
159
  compositeFileContents += `${separator}${childUpload.propertyName}${separator}${childUploadContents}`
149
160
  }
150
161
 
package/dist/src/index.ts CHANGED
@@ -1,4 +1,21 @@
1
- export * from './analyzeInput'
2
- export * from './saveImageSrc'
3
- export * from './saveRelation'
4
- export * from './saveItemStorage'
1
+ import { setup } from 'xstate'
2
+ import {
3
+ uploadBinaryData,
4
+ uploadMetadata,
5
+ } from '@/browser/schema/file/upload/actors'
6
+
7
+ export const uploadMachine = setup({
8
+ actors: {
9
+ uploadBinaryData,
10
+ uploadMetadata,
11
+ },
12
+ }).createMachine({
13
+ id: 'upload',
14
+ initial: 'idle',
15
+ context: {
16
+ file: '',
17
+ },
18
+ states: {
19
+ idle: {},
20
+ },
21
+ })
@@ -160,11 +160,19 @@ export const saveImageSrc = fromCallback<
160
160
  })
161
161
 
162
162
  if (fileData instanceof ArrayBuffer) {
163
- await fs.promises.writeFile(filePath, new Uint8Array(fileData))
163
+ try {
164
+ await fs.promises.writeFile(filePath, new Uint8Array(fileData))
165
+ } catch (e) {
166
+ fs.writeFileSync(filePath, new Uint8Array(fileData))
167
+ }
164
168
  }
165
169
 
166
170
  if (typeof fileData === 'string') {
167
- await fs.promises.writeFile(filePath, fileData)
171
+ try {
172
+ await fs.promises.writeFile(filePath, fileData)
173
+ } catch (e) {
174
+ fs.writeFileSync(filePath, fileData)
175
+ }
168
176
  }
169
177
 
170
178
  const refResolvedDisplayValue = await getContentUrlFromPath(filePath)
@@ -1 +1 @@
1
- {"version":3,"file":"getPublishPayload.d.ts","sourceRoot":"","sources":["../../../../../../src/browser/db/read/getPublishPayload.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,kBAAkB,EAGnB,MAAM,uCAAuC,CAAA;AAS9C,OAAO,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAA;AA0O1C,KAAK,cAAc,GAAG;IACpB,OAAO,EAAE,MAAM,CAAA;IACf,eAAe,EAAE,OAAO,CAAA;IACxB,aAAa,EAAE,MAAM,CAAA;IACrB,OAAO,EAAE,MAAM,CAAA;IACf,gBAAgB,EAAE,MAAM,CAAA;IACxB,UAAU,EAAE,MAAM,CAAA;IAClB,kBAAkB,EAAE,kBAAkB,EAAE,CAAA;IACxC,kBAAkB,EAAE,GAAG,EAAE,CAAA;CAC1B,CAAA;AAED,KAAK,mBAAmB,GAAG,cAAc,EAAE,CAAA;AAE3C,KAAK,mBAAmB,GAAG;IACzB,IAAI,EAAE,MAAM,CAAA;IACZ,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC1B,CAAA;AAED,eAAO,MAAM,iBAAiB,SACtB,IAAI,CAAC,GAAG,CAAC,wBACO,mBAAmB,EAAE,KAC1C,OAAO,CAAC,mBAAmB,CAsE7B,CAAA"}
1
+ {"version":3,"file":"getPublishPayload.d.ts","sourceRoot":"","sources":["../../../../../../src/browser/db/read/getPublishPayload.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,kBAAkB,EAGnB,MAAM,uCAAuC,CAAA;AAS9C,OAAO,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAA;AAmR1C,KAAK,cAAc,GAAG;IACpB,OAAO,EAAE,MAAM,CAAA;IACf,eAAe,EAAE,OAAO,CAAA;IACxB,aAAa,EAAE,MAAM,CAAA;IACrB,OAAO,EAAE,MAAM,CAAA;IACf,gBAAgB,E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AAM,CAAA;IACnB,cAAc,EAAE,MAAM,CAAA;IACtB,iBAAiB,EAAE,WAAW,CAAA;CAC/B,CAAA;AACD,eAAO,MAAM,iBAAiB,SACtB,IAAI,CAAC,GAAG,CAAC,YACN,aAAa,EAAE,wBACF,YAAY,CAAC,GAAG,CAAC,6BA+CxC,CAAA"}
1
+ {"version":3,"file":"getPublishUploads.d.ts","sourceRoot":"","sources":["../../../../../../src/browser/db/read/getPublishUploads.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAC9C,OAAO,WAAW,MAAM,6BAA6B,CAAA;AAUrD,eAAO,MAAM,cAAc,WACjB,MAAM,GAAG,IAAI,GAAG,SAAS,QAC3B,UAAU,GAAG,SAAS,KAC3B,OAAO,CAAC,MAAM,CAkBhB,CAAA;AACD,eAAO,MAAM,yBAAyB,SAC9B,MAAM,GAAG,UAAU,eACZ,MAAM,GAAG,SAAS,KAC9B,OAAO,CAAC,WAAW,CAerB,CAAA;AACD,MAAM,MAAM,cAAc,GAAG;IAC3B,YAAY,EAAE,YAAY,CAAC,GAAG,CAAC,CAAA;IAC/B,eAAe,EAAE,YAAY,CAAC,GAAG,CAAC,EAAE,CAAA;CACrC,CAAA;AA4ID,MAAM,MAAM,aAAa,GAAG;IAC1B,gBAAgB,EAAE,MAAM,CAAA;IACxB,mBAAmB,EAAE,MAAM,CAAA;IAC3B,WAAW,EAAE,MAAM,CAAA;IACnB,cAAc,EAAE,MAAM,CAAA;IACtB,iBAAiB,EAAE,WAAW,CAAA;CAC/B,CAAA;AACD,eAAO,MAAM,iBAAiB,SACtB,IAAI,CAAC,GAAG,CAAC,YACN,aAAa,EAAE,wBACF,YAAY,CAAC,GAAG,CAAC,6BA+CxC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"saveImageSrc.d.ts","sourceRoot":"","sources":["../../../../../../../src/browser/property/actors/saveValueToDb/saveImageSrc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAgB,MAAM,QAAQ,CAAA;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AACpD,OAAO,EAGL,kBAAkB,EACnB,MAAM,kBAAkB,CAAA;AA6DzB,eAAO,MAAM,YAAY,2GAsKvB,CAAA"}
1
+ {"version":3,"file":"saveImageSrc.d.ts","sourceRoot":"","sources":["../../../../../../../src/browser/property/actors/saveValueToDb/saveImageSrc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAgB,MAAM,QAAQ,CAAA;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AACpD,OAAO,EAGL,kBAAkB,EACnB,MAAM,kBAAkB,CAAA;AA6DzB,eAAO,MAAM,YAAY,2GA8KvB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seedprotocol/sdk",
3
- "version": "0.1.124",
3
+ "version": "0.1.126",
4
4
  "description": "The SDK for Seed Protocol",
5
5
  "type": "module",
6
6
  "types": "./dist/types/src/index.d.ts",
@@ -1 +0,0 @@
1
- {"version":3,"file":"index-Bh9mwpKP.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}