@seedprotocol/sdk 0.2.41 → 0.2.43

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.
Files changed (49) hide show
  1. package/dist/{Db-pJHPyQsS.js → Db-B4XyOmGy.js} +2 -2
  2. package/dist/{Db-pJHPyQsS.js.map → Db-B4XyOmGy.js.map} +1 -1
  3. package/dist/{Db-C_8DgrQ4.js → Db-Bug4efsE.js} +2 -2
  4. package/dist/{Db-C_8DgrQ4.js.map → Db-Bug4efsE.js.map} +1 -1
  5. package/dist/{Item-Bk75WcM3.js → Item-vjJTzf1d.js} +2 -2
  6. package/dist/{Item-Bk75WcM3.js.map → Item-vjJTzf1d.js.map} +1 -1
  7. package/dist/{ItemProperty-CkCP8NJX.js → ItemProperty-DJpbernm.js} +2 -2
  8. package/dist/{ItemProperty-CkCP8NJX.js.map → ItemProperty-DJpbernm.js.map} +1 -1
  9. package/dist/content-hash.js +27 -0
  10. package/dist/content-hash.js.map +1 -0
  11. package/dist/{index-CVcUj21U.js → index-BWIn7kWN.js} +2 -2
  12. package/dist/index-BWIn7kWN.js.map +1 -0
  13. package/dist/{index-BsY4KtUQ.js → index-DcPIAiHD.js} +15 -84
  14. package/dist/index-DcPIAiHD.js.map +1 -0
  15. package/dist/main.js +1 -1
  16. package/dist/{seed.schema.config-BOa_ckO5.js → seed.schema.config-DGcg6TCS.js} +2 -2
  17. package/dist/{seed.schema.config-BOa_ckO5.js.map → seed.schema.config-DGcg6TCS.js.map} +1 -1
  18. package/dist/src/content-hash.ts +30 -0
  19. package/dist/src/waitForDb.ts +17 -18
  20. package/dist/types/__tests__/__mocks__/browser/project/schema.d.ts +52 -0
  21. package/dist/types/__tests__/__mocks__/browser/project/schema.d.ts.map +1 -0
  22. package/dist/types/__tests__/__mocks__/node/schema.d.ts +52 -0
  23. package/dist/types/__tests__/__mocks__/node/schema.d.ts.map +1 -0
  24. package/dist/types/__tests__/browser/db/drizzle.test.d.ts +2 -0
  25. package/dist/types/__tests__/browser/db/drizzle.test.d.ts.map +1 -0
  26. package/dist/types/__tests__/browser/property/propertyMachine.test.d.ts +2 -0
  27. package/dist/types/__tests__/browser/property/propertyMachine.test.d.ts.map +1 -0
  28. package/dist/types/__tests__/browser/react/index.test.d.ts +2 -0
  29. package/dist/types/__tests__/browser/react/index.test.d.ts.map +1 -0
  30. package/dist/types/__tests__/dist/exports.test.d.ts +2 -0
  31. package/dist/types/__tests__/dist/exports.test.d.ts.map +1 -0
  32. package/dist/types/__tests__/fs/index.test.d.ts +2 -0
  33. package/dist/types/__tests__/fs/index.test.d.ts.map +1 -0
  34. package/dist/types/__tests__/index.test.d.ts +2 -0
  35. package/dist/types/__tests__/index.test.d.ts.map +1 -0
  36. package/dist/types/__tests__/node/Item/Item.test.d.ts +2 -0
  37. package/dist/types/__tests__/node/Item/Item.test.d.ts.map +1 -0
  38. package/dist/types/__tests__/node/setup.d.ts +2 -0
  39. package/dist/types/__tests__/node/setup.d.ts.map +1 -0
  40. package/dist/types/__tests__/scripts/bin.test.d.ts +2 -0
  41. package/dist/types/__tests__/scripts/bin.test.d.ts.map +1 -0
  42. package/dist/types/__tests__/setup.d.ts +2 -0
  43. package/dist/types/__tests__/setup.d.ts.map +1 -0
  44. package/dist/types/src/events/files/index.d.ts.map +1 -1
  45. package/dist/types/src/workers/content-hash.d.ts +2 -0
  46. package/dist/types/src/workers/content-hash.d.ts.map +1 -0
  47. package/package.json +1 -1
  48. package/dist/index-BsY4KtUQ.js.map +0 -1
  49. package/dist/index-CVcUj21U.js.map +0 -1
package/dist/main.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import 'immer';
2
2
  import 'reflect-metadata';
3
- export { D as Db, c as ImageSrc, d as Item, e as ItemProperty, J as Json, L as List, M as Model, P as Property, R as Relation, T as Text, t as client, r as eventEmitter, p as getCorrectId, q as getGlobalService, h as useCreateItem, j as useDeleteItem, k as useGlobalServiceStatus, f as useItem, g as useItemProperties, i as useItemProperty, u as useItems, m as usePersistedSnapshots, l as usePublishItem, o as useService, n as useServices, s as withSeed } from './index-BsY4KtUQ.js';
3
+ export { D as Db, c as ImageSrc, d as Item, e as ItemProperty, J as Json, L as List, M as Model, P as Property, R as Relation, T as Text, t as client, r as eventEmitter, p as getCorrectId, q as getGlobalService, h as useCreateItem, j as useDeleteItem, k as useGlobalServiceStatus, f as useItem, g as useItemProperties, i as useItemProperty, u as useItems, m as usePersistedSnapshots, l as usePublishItem, o as useService, n as useServices, s as withSeed } from './index-DcPIAiHD.js';
4
4
  export { B as BaseArweaveClient, a as BaseEasClient, c as BaseFileManager, b as BaseQueryClient } from './constants-BakHTrB9.js';
5
5
  import 'tslib';
6
6
  import '@sinclair/typebox';
@@ -1,6 +1,6 @@
1
1
  import { __decorate, __metadata } from 'tslib';
2
2
  import 'reflect-metadata';
3
- import { T as Text, M as Model } from './index-BsY4KtUQ.js';
3
+ import { T as Text, M as Model } from './index-DcPIAiHD.js';
4
4
  import 'immer';
5
5
  import '@sinclair/typebox';
6
6
  import 'eventemitter3';
@@ -72,4 +72,4 @@ const models = {
72
72
  };
73
73
 
74
74
  export { models };
75
- //# sourceMappingURL=seed.schema.config-BOa_ckO5.js.map
75
+ //# sourceMappingURL=seed.schema.config-DGcg6TCS.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"seed.schema.config-BOa_ckO5.js","sources":["../../src/db/configs/seed.schema.config.ts"],"sourcesContent":["import { Model, Text } from '@/schema'\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;;;;;"}
1
+ {"version":3,"file":"seed.schema.config-DGcg6TCS.js","sources":["../../src/db/configs/seed.schema.config.ts"],"sourcesContent":["import { Model, Text } from '@/schema'\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;;;;;"}
@@ -0,0 +1,30 @@
1
+ const hashLargeString = async ( input: string, ): Promise<string> => {
2
+ // Convert the string to an ArrayBuffer
3
+ const encoder = new TextEncoder()
4
+ const data = encoder.encode(input,)
5
+
6
+ // Hash the data with SHA-256
7
+ const hashBuffer = await crypto.subtle.digest('SHA-256', data,)
8
+
9
+ // Convert the ArrayBuffer to a hex string
10
+ const hashArray = Array.from(new Uint8Array(hashBuffer,),)
11
+ const hashHex = hashArray.map(( b, ) => b.toString(16,).padStart(2, '0',),).join('',)
12
+
13
+ return hashHex
14
+ }
15
+
16
+ onmessage = async (event,) => {
17
+ postMessage('Content hash worker received message',)
18
+ if (!event || !event.data || !event.data.trackingId || !event.data.base64) {
19
+ postMessage('No event data received',)
20
+ return
21
+ }
22
+ const { trackingId, base64, } = event.data
23
+ postMessage('Beginning content hash calculation',)
24
+ const contentHash = await hashLargeString(base64,)
25
+ postMessage('Content hash calculation complete',)
26
+ postMessage({
27
+ trackingId,
28
+ contentHash,
29
+ },)
30
+ }
@@ -1,23 +1,22 @@
1
1
  import { EventObject, fromCallback } from 'xstate'
2
- import { FromCallbackInput, PropertyMachineContext } from '@/types'
2
+ import { itemMachineSingle } from '@/Item/service/itemMachineSingle'
3
3
  import { BaseDb } from '@/db/Db/BaseDb'
4
4
 
5
- export const waitForDb = fromCallback<
6
- EventObject,
7
- FromCallbackInput<PropertyMachineContext>
8
- >(({ sendBack }) => {
9
- const _waitForDb = new Promise<void>((resolve) => {
10
- const interval = setInterval(() => {
11
- const appDb = BaseDb.getAppDb()
5
+ export const waitForDb = fromCallback<EventObject, typeof itemMachineSingle>(
6
+ ({ sendBack }) => {
7
+ const _waitForDb = new Promise<void>((resolve) => {
8
+ const interval = setInterval(() => {
9
+ const appDb = BaseDb.getAppDb()
12
10
 
13
- if (appDb) {
14
- clearInterval(interval)
15
- resolve()
16
- }
17
- }, 100)
18
- })
11
+ if (appDb) {
12
+ clearInterval(interval)
13
+ resolve()
14
+ }
15
+ }, 100)
16
+ })
19
17
 
20
- _waitForDb.then(() => {
21
- sendBack({ type: 'waitForDbSuccess' })
22
- })
23
- })
18
+ _waitForDb.then(() => {
19
+ sendBack({ type: 'waitForDbSuccess' })
20
+ })
21
+ },
22
+ )
@@ -0,0 +1,52 @@
1
+ declare class Image {
2
+ storageTransactionId: string;
3
+ uri: string;
4
+ alt: string;
5
+ src: string;
6
+ }
7
+ declare class Post {
8
+ title: string;
9
+ summary: string;
10
+ featureImage: string;
11
+ html: string;
12
+ json: string;
13
+ storageTransactionId: string;
14
+ authors: string[];
15
+ importUrl: string;
16
+ }
17
+ declare class Identity {
18
+ name: string;
19
+ profile: string;
20
+ displayName: string;
21
+ avatarImage: string;
22
+ coverImage: string;
23
+ }
24
+ declare class Link {
25
+ url: string;
26
+ text: string;
27
+ }
28
+ declare const models: {
29
+ Identity: typeof Identity;
30
+ Image: typeof Image;
31
+ Link: typeof Link;
32
+ Post: typeof Post;
33
+ };
34
+ declare const endpoints: {
35
+ filePaths: string;
36
+ files: string;
37
+ };
38
+ export { models, endpoints };
39
+ declare const _default: {
40
+ models: {
41
+ Identity: typeof Identity;
42
+ Image: typeof Image;
43
+ Link: typeof Link;
44
+ Post: typeof Post;
45
+ };
46
+ endpoints: {
47
+ filePaths: string;
48
+ files: string;
49
+ };
50
+ };
51
+ export default _default;
52
+ //# sourceMappingURL=schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../../__tests__/__mocks__/browser/project/schema.ts"],"names":[],"mappings":"AAEA,cACM,KAAK;IACD,oBAAoB,EAAG,MAAM,CAAA;IAC7B,GAAG,EAAG,MAAM,CAAA;IACZ,GAAG,EAAG,MAAM,CAAA;IACR,GAAG,EAAG,MAAM,CAAA;CACzB;AAED,cACM,IAAI;IACA,KAAK,EAAG,MAAM,CAAA;IACd,OAAO,EAAG,MAAM,CAAA;IACO,YAAY,EAAG,MAAM,CAAA;IACb,IAAI,EAAG,MAAM,CAAA;IACb,IAAI,EAAG,MAAM,CAAA;IAC5C,oBAAoB,EAAG,MAAM,CAAA;IACnB,OAAO,EAAG,MAAM,EAAE,CAAA;IAC5B,SAAS,EAAG,MAAM,CAAA;CAC3B;AAED,cACM,QAAQ;IACJ,IAAI,EAAG,MAAM,CAAA;IACb,OAAO,EAAG,MAAM,CAAA;IAChB,WAAW,EAAG,MAAM,CAAA;IACG,WAAW,EAAG,MAAM,CAAA;IACpB,UAAU,EAAG,MAAM,CAAA;CACnD;AAED,cACM,IAAI;IACA,GAAG,EAAG,MAAM,CAAA;IACZ,IAAI,EAAG,MAAM,CAAA;CACtB;AAED,QAAA,MAAM,MAAM;;;;;CAKX,CAAA;AAED,QAAA,MAAM,SAAS;;;CAGd,CAAA;AAED,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,CAAA;;;;;;;;;;;;;AAE5B,wBAAoC"}
@@ -0,0 +1,52 @@
1
+ declare class Image {
2
+ storageTransactionId: string;
3
+ uri: string;
4
+ alt: string;
5
+ src: string;
6
+ }
7
+ declare class Post {
8
+ title: string;
9
+ summary: string;
10
+ featureImage: string;
11
+ html: string;
12
+ json: string;
13
+ storageTransactionId: string;
14
+ authors: string[];
15
+ importUrl: string;
16
+ }
17
+ declare class Identity {
18
+ name: string;
19
+ profile: string;
20
+ displayName: string;
21
+ avatarImage: string;
22
+ coverImage: string;
23
+ }
24
+ declare class Link {
25
+ url: string;
26
+ text: string;
27
+ }
28
+ declare const models: {
29
+ Identity: typeof Identity;
30
+ Image: typeof Image;
31
+ Link: typeof Link;
32
+ Post: typeof Post;
33
+ };
34
+ declare const endpoints: {
35
+ filePaths: string;
36
+ files: string;
37
+ };
38
+ export { models, endpoints };
39
+ declare const _default: {
40
+ models: {
41
+ Identity: typeof Identity;
42
+ Image: typeof Image;
43
+ Link: typeof Link;
44
+ Post: typeof Post;
45
+ };
46
+ endpoints: {
47
+ filePaths: string;
48
+ files: string;
49
+ };
50
+ };
51
+ export default _default;
52
+ //# sourceMappingURL=schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../__tests__/__mocks__/node/schema.ts"],"names":[],"mappings":"AAEA,cACM,KAAK;IACD,oBAAoB,EAAG,MAAM,CAAA;IAC7B,GAAG,EAAG,MAAM,CAAA;IACZ,GAAG,EAAG,MAAM,CAAA;IACR,GAAG,EAAG,MAAM,CAAA;CACzB;AAED,cACM,IAAI;IACA,KAAK,EAAG,MAAM,CAAA;IACd,OAAO,EAAG,MAAM,CAAA;IACO,YAAY,EAAG,MAAM,CAAA;IACb,IAAI,EAAG,MAAM,CAAA;IACb,IAAI,EAAG,MAAM,CAAA;IAC5C,oBAAoB,EAAG,MAAM,CAAA;IACnB,OAAO,EAAG,MAAM,EAAE,CAAA;IAC5B,SAAS,EAAG,MAAM,CAAA;CAC3B;AAED,cACM,QAAQ;IACJ,IAAI,EAAG,MAAM,CAAA;IACb,OAAO,EAAG,MAAM,CAAA;IAChB,WAAW,EAAG,MAAM,CAAA;IACG,WAAW,EAAG,MAAM,CAAA;IACpB,UAAU,EAAG,MAAM,CAAA;CACnD;AAED,cACM,IAAI;IACA,GAAG,EAAG,MAAM,CAAA;IACZ,IAAI,EAAG,MAAM,CAAA;CACtB;AAED,QAAA,MAAM,MAAM;;;;;CAKX,CAAA;AAED,QAAA,MAAM,SAAS;;;CAGd,CAAA;AAED,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,CAAA;;;;;;;;;;;;;AAE5B,wBAAoC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=drizzle.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"drizzle.test.d.ts","sourceRoot":"","sources":["../../../../../__tests__/browser/db/drizzle.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=propertyMachine.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"propertyMachine.test.d.ts","sourceRoot":"","sources":["../../../../../__tests__/browser/property/propertyMachine.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=index.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.test.d.ts","sourceRoot":"","sources":["../../../../../__tests__/browser/react/index.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=exports.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"exports.test.d.ts","sourceRoot":"","sources":["../../../../__tests__/dist/exports.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=index.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.test.d.ts","sourceRoot":"","sources":["../../../../__tests__/fs/index.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=index.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.test.d.ts","sourceRoot":"","sources":["../../../__tests__/index.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import 'dotenv/config';
2
+ //# sourceMappingURL=Item.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Item.test.d.ts","sourceRoot":"","sources":["../../../../../__tests__/node/Item/Item.test.ts"],"names":[],"mappings":"AAOA,OAAO,eAAe,CAAA"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=setup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setup.d.ts","sourceRoot":"","sources":["../../../../__tests__/node/setup.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=bin.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bin.test.d.ts","sourceRoot":"","sources":["../../../../__tests__/scripts/bin.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=setup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setup.d.ts","sourceRoot":"","sources":["../../../__tests__/setup.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/events/files/index.ts"],"names":[],"mappings":"AA4EA,eAAO,MAAM,gBAAgB,YAW5B,CAAA;AAED,eAAO,MAAM,mBAAmB,eAE/B,CAAA;AAED,eAAO,MAAM,eAAe,eAE3B,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/events/files/index.ts"],"names":[],"mappings":"AAmFA,eAAO,MAAM,gBAAgB,YAW5B,CAAA;AAED,eAAO,MAAM,mBAAmB,eAE/B,CAAA;AAED,eAAO,MAAM,eAAe,eAE3B,CAAA"}
@@ -0,0 +1,2 @@
1
+ declare const hashLargeString: (input: string) => Promise<string>;
2
+ //# sourceMappingURL=content-hash.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"content-hash.d.ts","sourceRoot":"","sources":["../../../../src/workers/content-hash.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,eAAe,UAAkB,MAAM,KAAK,OAAO,CAAC,MAAM,CAa/D,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seedprotocol/sdk",
3
- "version": "0.2.41",
3
+ "version": "0.2.43",
4
4
  "description": "The SDK for Seed Protocol",
5
5
  "type": "module",
6
6
  "engines": {