@xyo-network/diviner-address-chain 5.6.4 → 6.0.0
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/neutral/abstract.mjs +1 -1
- package/dist/neutral/abstract.mjs.map +7 -1
- package/dist/neutral/index.mjs +1 -1
- package/dist/neutral/index.mjs.map +7 -1
- package/dist/neutral/memory.mjs +1 -1
- package/dist/neutral/memory.mjs.map +7 -1
- package/dist/neutral/model.mjs +1 -1
- package/dist/neutral/model.mjs.map +7 -1
- package/package.json +45 -44
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/AddressChainDiviner.ts"],
|
|
4
|
+
"sourcesContent": ["import { AbstractDiviner } from '@xyo-network/diviner-abstract'\nimport type { DivinerInstance, DivinerModuleEventData } from '@xyo-network/diviner-model'\nimport type { Payload } from '@xyo-network/payload-model'\n\nimport type { AddressChainDivinerParams } from './Params.ts'\n\nexport abstract class AddressChainDiviner<\n TParams extends AddressChainDivinerParams = AddressChainDivinerParams,\n TIn extends Payload = Payload,\n TOut extends Payload = Payload,\n TEventData extends DivinerModuleEventData<DivinerInstance<TParams, TIn, TOut>, TIn, TOut> = DivinerModuleEventData<\n DivinerInstance<TParams, TIn, TOut>,\n TIn,\n TOut\n >,\n> extends AbstractDiviner<TParams, TIn, TOut, TEventData> {}\n"],
|
|
5
|
+
"mappings": ";AAAA,SAAS,uBAAuB;AAMzB,IAAe,sBAAf,cASG,gBAAgD;AAAC;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/dist/neutral/index.mjs
CHANGED
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/AddressChainDiviner.ts", "../../src/MemoryAddressChainDiviner.ts", "../../src/Schema.ts", "../../src/Payload.ts", "../../src/Query.ts"],
|
|
4
|
+
"sourcesContent": ["import { AbstractDiviner } from '@xyo-network/diviner-abstract'\nimport type { DivinerInstance, DivinerModuleEventData } from '@xyo-network/diviner-model'\nimport type { Payload } from '@xyo-network/payload-model'\n\nimport type { AddressChainDivinerParams } from './Params.ts'\n\nexport abstract class AddressChainDiviner<\n TParams extends AddressChainDivinerParams = AddressChainDivinerParams,\n TIn extends Payload = Payload,\n TOut extends Payload = Payload,\n TEventData extends DivinerModuleEventData<DivinerInstance<TParams, TIn, TOut>, TIn, TOut> = DivinerModuleEventData<\n DivinerInstance<TParams, TIn, TOut>,\n TIn,\n TOut\n >,\n> extends AbstractDiviner<TParams, TIn, TOut, TEventData> {}\n", "import type { Hash } from '@xylabs/sdk-js'\nimport { assertEx } from '@xylabs/sdk-js'\nimport type { ArchivistInstance } from '@xyo-network/archivist-model'\nimport type { BoundWitness } from '@xyo-network/boundwitness-model'\nimport { BoundWitnessSchema } from '@xyo-network/boundwitness-model'\nimport type { DivinerParams } from '@xyo-network/diviner-model'\nimport type { AnyConfigSchema } from '@xyo-network/module-model'\nimport {\n isStorageMeta, type Payload, type Schema,\n} from '@xyo-network/payload-model'\n\nimport { AddressChainDiviner } from './AddressChainDiviner.ts'\nimport type { AddressChainDivinerConfig } from './Config.ts'\nimport { AddressChainDivinerConfigSchema } from './Schema.ts'\n\n// This diviner returns the most recent boundwitness signed by the address that can be found\n// if multiple broken chains are found, all the heads are returned\nexport type MemoryAddressChainDivinerParams = DivinerParams<AnyConfigSchema<AddressChainDivinerConfig>>\n\nexport class MemoryAddressChainDiviner<\n TParams extends MemoryAddressChainDivinerParams = MemoryAddressChainDivinerParams,\n> extends AddressChainDiviner<TParams> {\n static override readonly configSchemas: Schema[] = [...super.configSchemas, AddressChainDivinerConfigSchema]\n static override readonly defaultConfigSchema: Schema = AddressChainDivinerConfigSchema\n\n get queryAddress() {\n return assertEx(this.config.address, () => 'Missing address')\n }\n\n protected override async divineHandler(payloads: Payload[] = []): Promise<Payload[]> {\n const result: Payload[] = []\n assertEx(payloads.length === 0, () => 'MemoryAddressChainDiviner.divine does not allow payloads to be sent')\n try {\n const archivistIn = await this.archivistInstance()\n const archivist = assertEx(archivistIn, () => 'Unable to resolve archivist')\n let currentHash: Hash | null = assertEx(this.config.startHash, () => 'Missing startHash')\n while (currentHash && result.length < (this.config.maxResults ?? 1000)) {\n const bw = await this.archivistFindHash([archivist], currentHash)\n if (bw) {\n result.push(bw)\n const addressIndex = bw.addresses.indexOf(this.queryAddress)\n currentHash = addressIndex === -1 ? null : bw.previous_hashes[addressIndex] ?? null\n } else {\n console.log(`Hash is not a BoundWitness [${currentHash}]`)\n currentHash = null\n }\n }\n } catch (ex) {\n console.log(ex)\n }\n return result\n }\n\n private async archivistFindHash(archivists: ArchivistInstance[], hash: Hash): Promise<BoundWitness | undefined> {\n const archivist = archivists[0]\n if (archivist) {\n return (await archivist.get([hash])).findLast(x => x.schema === BoundWitnessSchema && isStorageMeta(x)) as BoundWitness | undefined\n }\n }\n}\n", "import { asSchema } from '@xyo-network/payload-model'\n\nexport const AddressChainSchema = asSchema('network.xyo.diviner.address.chain', true)\nexport type AddressChainSchema = typeof AddressChainSchema\n\nexport const AddressChainDivinerConfigSchema = asSchema(`${AddressChainSchema}.config`, true)\nexport type AddressChainDivinerConfigSchema = typeof AddressChainDivinerConfigSchema\n\nexport const AddressChainQuerySchema = asSchema(`${AddressChainSchema}.query`, true)\nexport type AddressChainQuerySchema = typeof AddressChainQuerySchema\n", "import type { Payload } from '@xyo-network/payload-model'\n\nimport { AddressChainSchema } from './Schema.ts'\n\nexport type AddressChainPayload = Payload<{ schema: AddressChainSchema }>\nexport const isAddressChainPayload = (x?: Payload | null): x is AddressChainPayload => x?.schema === AddressChainSchema\n", "import type { PayloadFindFilter, Query } from '@xyo-network/payload-model'\nimport { isPayloadOfSchemaType } from '@xyo-network/payload-model'\n\nimport { AddressChainQuerySchema } from './Schema.ts'\n\nexport type AddressChainQueryPayload = Query<{ schema: AddressChainQuerySchema } & Omit<PayloadFindFilter, 'schema'>>\nexport const isAddressChainQueryPayload = isPayloadOfSchemaType<AddressChainQueryPayload>(AddressChainQuerySchema)\n"],
|
|
5
|
+
"mappings": ";AAAA,SAAS,uBAAuB;AAMzB,IAAe,sBAAf,cASG,gBAAgD;AAAC;;;ACd3D,SAAS,gBAAgB;AAGzB,SAAS,0BAA0B;AAGnC;AAAA,EACE;AAAA,OACK;;;ACTP,SAAS,gBAAgB;AAElB,IAAM,qBAAqB,SAAS,qCAAqC,IAAI;AAG7E,IAAM,kCAAkC,SAAS,GAAG,kBAAkB,WAAW,IAAI;AAGrF,IAAM,0BAA0B,SAAS,GAAG,kBAAkB,UAAU,IAAI;;;ADW5E,IAAM,4BAAN,cAEG,oBAA6B;AAAA,EACrC,OAAyB,gBAA0B,CAAC,GAAG,MAAM,eAAe,+BAA+B;AAAA,EAC3G,OAAyB,sBAA8B;AAAA,EAEvD,IAAI,eAAe;AACjB,WAAO,SAAS,KAAK,OAAO,SAAS,MAAM,iBAAiB;AAAA,EAC9D;AAAA,EAEA,MAAyB,cAAc,WAAsB,CAAC,GAAuB;AACnF,UAAM,SAAoB,CAAC;AAC3B,aAAS,SAAS,WAAW,GAAG,MAAM,qEAAqE;AAC3G,QAAI;AACF,YAAM,cAAc,MAAM,KAAK,kBAAkB;AACjD,YAAM,YAAY,SAAS,aAAa,MAAM,6BAA6B;AAC3E,UAAI,cAA2B,SAAS,KAAK,OAAO,WAAW,MAAM,mBAAmB;AACxF,aAAO,eAAe,OAAO,UAAU,KAAK,OAAO,cAAc,MAAO;AACtE,cAAM,KAAK,MAAM,KAAK,kBAAkB,CAAC,SAAS,GAAG,WAAW;AAChE,YAAI,IAAI;AACN,iBAAO,KAAK,EAAE;AACd,gBAAM,eAAe,GAAG,UAAU,QAAQ,KAAK,YAAY;AAC3D,wBAAc,iBAAiB,KAAK,OAAO,GAAG,gBAAgB,YAAY,KAAK;AAAA,QACjF,OAAO;AACL,kBAAQ,IAAI,+BAA+B,WAAW,GAAG;AACzD,wBAAc;AAAA,QAChB;AAAA,MACF;AAAA,IACF,SAAS,IAAI;AACX,cAAQ,IAAI,EAAE;AAAA,IAChB;AACA,WAAO;AAAA,EACT;AAAA,EAEA,MAAc,kBAAkB,YAAiC,MAA+C;AAC9G,UAAM,YAAY,WAAW,CAAC;AAC9B,QAAI,WAAW;AACb,cAAQ,MAAM,UAAU,IAAI,CAAC,IAAI,CAAC,GAAG,SAAS,OAAK,EAAE,WAAW,sBAAsB,cAAc,CAAC,CAAC;AAAA,IACxG;AAAA,EACF;AACF;;;AEtDO,IAAM,wBAAwB,CAAC,MAAiD,GAAG,WAAW;;;ACJrG,SAAS,6BAA6B;AAK/B,IAAM,6BAA6B,sBAAgD,uBAAuB;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/dist/neutral/memory.mjs
CHANGED
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/MemoryAddressChainDiviner.ts", "../../src/AddressChainDiviner.ts", "../../src/Schema.ts"],
|
|
4
|
+
"sourcesContent": ["import type { Hash } from '@xylabs/sdk-js'\nimport { assertEx } from '@xylabs/sdk-js'\nimport type { ArchivistInstance } from '@xyo-network/archivist-model'\nimport type { BoundWitness } from '@xyo-network/boundwitness-model'\nimport { BoundWitnessSchema } from '@xyo-network/boundwitness-model'\nimport type { DivinerParams } from '@xyo-network/diviner-model'\nimport type { AnyConfigSchema } from '@xyo-network/module-model'\nimport {\n isStorageMeta, type Payload, type Schema,\n} from '@xyo-network/payload-model'\n\nimport { AddressChainDiviner } from './AddressChainDiviner.ts'\nimport type { AddressChainDivinerConfig } from './Config.ts'\nimport { AddressChainDivinerConfigSchema } from './Schema.ts'\n\n// This diviner returns the most recent boundwitness signed by the address that can be found\n// if multiple broken chains are found, all the heads are returned\nexport type MemoryAddressChainDivinerParams = DivinerParams<AnyConfigSchema<AddressChainDivinerConfig>>\n\nexport class MemoryAddressChainDiviner<\n TParams extends MemoryAddressChainDivinerParams = MemoryAddressChainDivinerParams,\n> extends AddressChainDiviner<TParams> {\n static override readonly configSchemas: Schema[] = [...super.configSchemas, AddressChainDivinerConfigSchema]\n static override readonly defaultConfigSchema: Schema = AddressChainDivinerConfigSchema\n\n get queryAddress() {\n return assertEx(this.config.address, () => 'Missing address')\n }\n\n protected override async divineHandler(payloads: Payload[] = []): Promise<Payload[]> {\n const result: Payload[] = []\n assertEx(payloads.length === 0, () => 'MemoryAddressChainDiviner.divine does not allow payloads to be sent')\n try {\n const archivistIn = await this.archivistInstance()\n const archivist = assertEx(archivistIn, () => 'Unable to resolve archivist')\n let currentHash: Hash | null = assertEx(this.config.startHash, () => 'Missing startHash')\n while (currentHash && result.length < (this.config.maxResults ?? 1000)) {\n const bw = await this.archivistFindHash([archivist], currentHash)\n if (bw) {\n result.push(bw)\n const addressIndex = bw.addresses.indexOf(this.queryAddress)\n currentHash = addressIndex === -1 ? null : bw.previous_hashes[addressIndex] ?? null\n } else {\n console.log(`Hash is not a BoundWitness [${currentHash}]`)\n currentHash = null\n }\n }\n } catch (ex) {\n console.log(ex)\n }\n return result\n }\n\n private async archivistFindHash(archivists: ArchivistInstance[], hash: Hash): Promise<BoundWitness | undefined> {\n const archivist = archivists[0]\n if (archivist) {\n return (await archivist.get([hash])).findLast(x => x.schema === BoundWitnessSchema && isStorageMeta(x)) as BoundWitness | undefined\n }\n }\n}\n", "import { AbstractDiviner } from '@xyo-network/diviner-abstract'\nimport type { DivinerInstance, DivinerModuleEventData } from '@xyo-network/diviner-model'\nimport type { Payload } from '@xyo-network/payload-model'\n\nimport type { AddressChainDivinerParams } from './Params.ts'\n\nexport abstract class AddressChainDiviner<\n TParams extends AddressChainDivinerParams = AddressChainDivinerParams,\n TIn extends Payload = Payload,\n TOut extends Payload = Payload,\n TEventData extends DivinerModuleEventData<DivinerInstance<TParams, TIn, TOut>, TIn, TOut> = DivinerModuleEventData<\n DivinerInstance<TParams, TIn, TOut>,\n TIn,\n TOut\n >,\n> extends AbstractDiviner<TParams, TIn, TOut, TEventData> {}\n", "import { asSchema } from '@xyo-network/payload-model'\n\nexport const AddressChainSchema = asSchema('network.xyo.diviner.address.chain', true)\nexport type AddressChainSchema = typeof AddressChainSchema\n\nexport const AddressChainDivinerConfigSchema = asSchema(`${AddressChainSchema}.config`, true)\nexport type AddressChainDivinerConfigSchema = typeof AddressChainDivinerConfigSchema\n\nexport const AddressChainQuerySchema = asSchema(`${AddressChainSchema}.query`, true)\nexport type AddressChainQuerySchema = typeof AddressChainQuerySchema\n"],
|
|
5
|
+
"mappings": ";AACA,SAAS,gBAAgB;AAGzB,SAAS,0BAA0B;AAGnC;AAAA,EACE;AAAA,OACK;;;ACTP,SAAS,uBAAuB;AAMzB,IAAe,sBAAf,cASG,gBAAgD;AAAC;;;ACf3D,SAAS,gBAAgB;AAElB,IAAM,qBAAqB,SAAS,qCAAqC,IAAI;AAG7E,IAAM,kCAAkC,SAAS,GAAG,kBAAkB,WAAW,IAAI;AAGrF,IAAM,0BAA0B,SAAS,GAAG,kBAAkB,UAAU,IAAI;;;AFW5E,IAAM,4BAAN,cAEG,oBAA6B;AAAA,EACrC,OAAyB,gBAA0B,CAAC,GAAG,MAAM,eAAe,+BAA+B;AAAA,EAC3G,OAAyB,sBAA8B;AAAA,EAEvD,IAAI,eAAe;AACjB,WAAO,SAAS,KAAK,OAAO,SAAS,MAAM,iBAAiB;AAAA,EAC9D;AAAA,EAEA,MAAyB,cAAc,WAAsB,CAAC,GAAuB;AACnF,UAAM,SAAoB,CAAC;AAC3B,aAAS,SAAS,WAAW,GAAG,MAAM,qEAAqE;AAC3G,QAAI;AACF,YAAM,cAAc,MAAM,KAAK,kBAAkB;AACjD,YAAM,YAAY,SAAS,aAAa,MAAM,6BAA6B;AAC3E,UAAI,cAA2B,SAAS,KAAK,OAAO,WAAW,MAAM,mBAAmB;AACxF,aAAO,eAAe,OAAO,UAAU,KAAK,OAAO,cAAc,MAAO;AACtE,cAAM,KAAK,MAAM,KAAK,kBAAkB,CAAC,SAAS,GAAG,WAAW;AAChE,YAAI,IAAI;AACN,iBAAO,KAAK,EAAE;AACd,gBAAM,eAAe,GAAG,UAAU,QAAQ,KAAK,YAAY;AAC3D,wBAAc,iBAAiB,KAAK,OAAO,GAAG,gBAAgB,YAAY,KAAK;AAAA,QACjF,OAAO;AACL,kBAAQ,IAAI,+BAA+B,WAAW,GAAG;AACzD,wBAAc;AAAA,QAChB;AAAA,MACF;AAAA,IACF,SAAS,IAAI;AACX,cAAQ,IAAI,EAAE;AAAA,IAChB;AACA,WAAO;AAAA,EACT;AAAA,EAEA,MAAc,kBAAkB,YAAiC,MAA+C;AAC9G,UAAM,YAAY,WAAW,CAAC;AAC9B,QAAI,WAAW;AACb,cAAQ,MAAM,UAAU,IAAI,CAAC,IAAI,CAAC,GAAG,SAAS,OAAK,EAAE,WAAW,sBAAsB,cAAc,CAAC,CAAC;AAAA,IACxG;AAAA,EACF;AACF;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/dist/neutral/model.mjs
CHANGED
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/Schema.ts", "../../src/Payload.ts", "../../src/Query.ts"],
|
|
4
|
+
"sourcesContent": ["import { asSchema } from '@xyo-network/payload-model'\n\nexport const AddressChainSchema = asSchema('network.xyo.diviner.address.chain', true)\nexport type AddressChainSchema = typeof AddressChainSchema\n\nexport const AddressChainDivinerConfigSchema = asSchema(`${AddressChainSchema}.config`, true)\nexport type AddressChainDivinerConfigSchema = typeof AddressChainDivinerConfigSchema\n\nexport const AddressChainQuerySchema = asSchema(`${AddressChainSchema}.query`, true)\nexport type AddressChainQuerySchema = typeof AddressChainQuerySchema\n", "import type { Payload } from '@xyo-network/payload-model'\n\nimport { AddressChainSchema } from './Schema.ts'\n\nexport type AddressChainPayload = Payload<{ schema: AddressChainSchema }>\nexport const isAddressChainPayload = (x?: Payload | null): x is AddressChainPayload => x?.schema === AddressChainSchema\n", "import type { PayloadFindFilter, Query } from '@xyo-network/payload-model'\nimport { isPayloadOfSchemaType } from '@xyo-network/payload-model'\n\nimport { AddressChainQuerySchema } from './Schema.ts'\n\nexport type AddressChainQueryPayload = Query<{ schema: AddressChainQuerySchema } & Omit<PayloadFindFilter, 'schema'>>\nexport const isAddressChainQueryPayload = isPayloadOfSchemaType<AddressChainQueryPayload>(AddressChainQuerySchema)\n"],
|
|
5
|
+
"mappings": ";AAAA,SAAS,gBAAgB;AAElB,IAAM,qBAAqB,SAAS,qCAAqC,IAAI;AAG7E,IAAM,kCAAkC,SAAS,GAAG,kBAAkB,WAAW,IAAI;AAGrF,IAAM,0BAA0B,SAAS,GAAG,kBAAkB,UAAU,IAAI;;;ACH5E,IAAM,wBAAwB,CAAC,MAAiD,GAAG,WAAW;;;ACJrG,SAAS,6BAA6B;AAK/B,IAAM,6BAA6B,sBAAgD,uBAAuB;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/diviner-address-chain",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0",
|
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -46,72 +46,73 @@
|
|
|
46
46
|
"README.md"
|
|
47
47
|
],
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@xyo-network/diviner-abstract": "~
|
|
50
|
-
"@xyo-network/diviner-model": "~
|
|
51
|
-
"@xyo-network/module-model": "~
|
|
49
|
+
"@xyo-network/diviner-abstract": "~6.0.0",
|
|
50
|
+
"@xyo-network/diviner-model": "~6.0.0",
|
|
51
|
+
"@xyo-network/module-model": "~6.0.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@bitauth/libauth": "~3.0.0",
|
|
55
55
|
"@opentelemetry/api": "^1.9.1",
|
|
56
56
|
"@opentelemetry/sdk-trace-base": "^2.7.1",
|
|
57
57
|
"@scure/base": "~2.2.0",
|
|
58
|
-
"@
|
|
59
|
-
"@xylabs/
|
|
60
|
-
"@xylabs/
|
|
61
|
-
"@xylabs/
|
|
62
|
-
"@xylabs/
|
|
63
|
-
"@
|
|
64
|
-
"@xyo-network/account
|
|
65
|
-
"@xyo-network/
|
|
66
|
-
"@xyo-network/boundwitness-
|
|
67
|
-
"@xyo-network/boundwitness-
|
|
68
|
-
"@xyo-network/
|
|
69
|
-
"@xyo-network/
|
|
70
|
-
"@xyo-network/
|
|
71
|
-
"@xyo-network/payload-
|
|
72
|
-
"@xyo-network/payload-
|
|
73
|
-
"@xyo-network/
|
|
74
|
-
"@xyo-network/
|
|
58
|
+
"@types/node": "^25.9.1",
|
|
59
|
+
"@xylabs/sdk-js": "^6.0.0",
|
|
60
|
+
"@xylabs/threads": "~6.0.0",
|
|
61
|
+
"@xylabs/toolchain": "~8.0.17",
|
|
62
|
+
"@xylabs/tsconfig": "~8.0.17",
|
|
63
|
+
"@xylabs/vitest-extended": "~6.0.0",
|
|
64
|
+
"@xyo-network/account": "~6.0",
|
|
65
|
+
"@xyo-network/account-model": "~6.0",
|
|
66
|
+
"@xyo-network/boundwitness-builder": "~6.0",
|
|
67
|
+
"@xyo-network/boundwitness-model": "~6.0",
|
|
68
|
+
"@xyo-network/boundwitness-wrapper": "~6.0",
|
|
69
|
+
"@xyo-network/config-payload-plugin": "~6.0",
|
|
70
|
+
"@xyo-network/manifest-model": "~6.0",
|
|
71
|
+
"@xyo-network/payload-builder": "~6.0.0",
|
|
72
|
+
"@xyo-network/payload-model": "~6.0.0",
|
|
73
|
+
"@xyo-network/payload-wrapper": "~6.0.0",
|
|
74
|
+
"@xyo-network/query-payload-plugin": "~6.0",
|
|
75
|
+
"@xyo-network/wallet-model": "~6.0",
|
|
75
76
|
"async-mutex": "^0.5.0",
|
|
76
77
|
"bn.js": "^5.2.3",
|
|
77
78
|
"buffer": "^6.0.3",
|
|
78
79
|
"chalk": "^5.6.2",
|
|
79
80
|
"debug": "~4.4.3",
|
|
80
|
-
"eslint": "^10.
|
|
81
|
+
"eslint": "^10.4.0",
|
|
81
82
|
"ethers": "^6.16.0",
|
|
82
83
|
"hash-wasm": "~4.12.0",
|
|
83
|
-
"lru-cache": "^11.
|
|
84
|
+
"lru-cache": "^11.5.0",
|
|
84
85
|
"observable-fns": "~0.6.1",
|
|
85
86
|
"pako": "~2.1.0",
|
|
86
|
-
"typescript": "~
|
|
87
|
-
"vite": "^8.0.
|
|
88
|
-
"vitest": "~4.1.
|
|
87
|
+
"typescript": "~6.0.3",
|
|
88
|
+
"vite": "^8.0.13",
|
|
89
|
+
"vitest": "~4.1.6",
|
|
89
90
|
"wasm-feature-detect": "~1.8.0",
|
|
90
91
|
"zod": "^4.4.3",
|
|
91
|
-
"@xyo-network/archivist-memory": "~
|
|
92
|
-
"@xyo-network/archivist-model": "~
|
|
93
|
-
"@xyo-network/archivist-wrapper": "~
|
|
94
|
-
"@xyo-network/node-model": "~
|
|
95
|
-
"@xyo-network/node-memory": "~
|
|
92
|
+
"@xyo-network/archivist-memory": "~6.0.0",
|
|
93
|
+
"@xyo-network/archivist-model": "~6.0.0",
|
|
94
|
+
"@xyo-network/archivist-wrapper": "~6.0.0",
|
|
95
|
+
"@xyo-network/node-model": "~6.0.0",
|
|
96
|
+
"@xyo-network/node-memory": "~6.0.0"
|
|
96
97
|
},
|
|
97
98
|
"peerDependencies": {
|
|
98
99
|
"@bitauth/libauth": "~3.0",
|
|
99
100
|
"@opentelemetry/api": "^1.9",
|
|
100
101
|
"@opentelemetry/sdk-trace-base": "^2.7",
|
|
101
102
|
"@scure/base": "~2.2",
|
|
102
|
-
"@xylabs/sdk-js": "^
|
|
103
|
-
"@xylabs/threads": "~
|
|
104
|
-
"@xyo-network/account": "~
|
|
105
|
-
"@xyo-network/account-model": "~
|
|
106
|
-
"@xyo-network/boundwitness-builder": "~
|
|
107
|
-
"@xyo-network/boundwitness-model": "~
|
|
108
|
-
"@xyo-network/boundwitness-wrapper": "~
|
|
109
|
-
"@xyo-network/config-payload-plugin": "~
|
|
110
|
-
"@xyo-network/manifest-model": "~
|
|
111
|
-
"@xyo-network/payload-builder": "~
|
|
112
|
-
"@xyo-network/payload-model": "~
|
|
113
|
-
"@xyo-network/query-payload-plugin": "~
|
|
114
|
-
"@xyo-network/wallet-model": "~
|
|
103
|
+
"@xylabs/sdk-js": "^6.0",
|
|
104
|
+
"@xylabs/threads": "~6.0",
|
|
105
|
+
"@xyo-network/account": "~6.0",
|
|
106
|
+
"@xyo-network/account-model": "~6.0",
|
|
107
|
+
"@xyo-network/boundwitness-builder": "~6.0",
|
|
108
|
+
"@xyo-network/boundwitness-model": "~6.0",
|
|
109
|
+
"@xyo-network/boundwitness-wrapper": "~6.0",
|
|
110
|
+
"@xyo-network/config-payload-plugin": "~6.0",
|
|
111
|
+
"@xyo-network/manifest-model": "~6.0",
|
|
112
|
+
"@xyo-network/payload-builder": "~6.0",
|
|
113
|
+
"@xyo-network/payload-model": "~6.0",
|
|
114
|
+
"@xyo-network/query-payload-plugin": "~6.0",
|
|
115
|
+
"@xyo-network/wallet-model": "~6.0",
|
|
115
116
|
"async-mutex": "^0.5",
|
|
116
117
|
"bn.js": "^5.2",
|
|
117
118
|
"buffer": "^6.0",
|