@xyo-network/diviner-address-chain-model 5.3.22 → 5.3.24
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/package.json +14 -18
- package/src/Config.ts +0 -11
- package/src/Params.ts +0 -6
- package/src/Payload.ts +0 -6
- package/src/Query.ts +0 -7
- package/src/Schema.ts +0 -10
- package/src/index.ts +0 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/diviner-address-chain-model",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.24",
|
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -30,35 +30,31 @@
|
|
|
30
30
|
"types": "dist/neutral/index.d.ts",
|
|
31
31
|
"files": [
|
|
32
32
|
"dist",
|
|
33
|
-
"src",
|
|
34
33
|
"!**/*.bench.*",
|
|
35
34
|
"!**/*.spec.*",
|
|
36
35
|
"!**/*.test.*",
|
|
37
36
|
"README.md"
|
|
38
37
|
],
|
|
39
38
|
"dependencies": {
|
|
40
|
-
"@xyo-network/diviner-model": "~5.3.
|
|
41
|
-
"@xyo-network/
|
|
42
|
-
"@xyo-network/
|
|
39
|
+
"@xyo-network/diviner-model": "~5.3.24",
|
|
40
|
+
"@xyo-network/payload-model": "~5.3.24",
|
|
41
|
+
"@xyo-network/module-model": "~5.3.24"
|
|
43
42
|
},
|
|
44
43
|
"devDependencies": {
|
|
45
44
|
"@opentelemetry/api": "^1.9.1",
|
|
46
45
|
"@types/node": "^25.5.0",
|
|
47
|
-
"@xylabs/sdk-js": "^5.0.
|
|
48
|
-
"@xylabs/ts-scripts-common": "~7.6.
|
|
49
|
-
"@xylabs/ts-scripts-
|
|
50
|
-
"@xylabs/tsconfig": "~7.6.
|
|
51
|
-
"@xyo-network/diviner-model": "~5.3.22",
|
|
52
|
-
"@xyo-network/module-model": "~5.3.22",
|
|
53
|
-
"@xyo-network/payload-model": "~5.3.22",
|
|
46
|
+
"@xylabs/sdk-js": "^5.0.93",
|
|
47
|
+
"@xylabs/ts-scripts-common": "~7.6.16",
|
|
48
|
+
"@xylabs/ts-scripts-pnpm": "~7.6.16",
|
|
49
|
+
"@xylabs/tsconfig": "~7.6.16",
|
|
54
50
|
"acorn": "^8.16.0",
|
|
55
51
|
"axios": "^1.14.0",
|
|
56
|
-
"
|
|
57
|
-
"esbuild": "^0.27.4",
|
|
58
|
-
"eslint": "^10.1.0",
|
|
59
|
-
"rollup": "^4.60.1",
|
|
52
|
+
"esbuild": "^0.28.0",
|
|
60
53
|
"typescript": "~5.9.3",
|
|
61
|
-
"zod": "^4.3.6"
|
|
54
|
+
"zod": "^4.3.6",
|
|
55
|
+
"@xyo-network/diviner-model": "~5.3.24",
|
|
56
|
+
"@xyo-network/module-model": "~5.3.24",
|
|
57
|
+
"@xyo-network/payload-model": "~5.3.24"
|
|
62
58
|
},
|
|
63
59
|
"peerDependencies": {
|
|
64
60
|
"@xylabs/sdk-js": "^5"
|
|
@@ -66,4 +62,4 @@
|
|
|
66
62
|
"publishConfig": {
|
|
67
63
|
"access": "public"
|
|
68
64
|
}
|
|
69
|
-
}
|
|
65
|
+
}
|
package/src/Config.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Address, Hash } from '@xylabs/sdk-js'
|
|
2
|
-
import type { DivinerConfig } from '@xyo-network/diviner-model'
|
|
3
|
-
|
|
4
|
-
import type { AddressChainDivinerConfigSchema } from './Schema.ts'
|
|
5
|
-
|
|
6
|
-
export type AddressChainDivinerConfig = DivinerConfig<{
|
|
7
|
-
address?: Address
|
|
8
|
-
maxResults?: number
|
|
9
|
-
schema: AddressChainDivinerConfigSchema
|
|
10
|
-
startHash?: Hash
|
|
11
|
-
}>
|
package/src/Params.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { DivinerParams } from '@xyo-network/diviner-model'
|
|
2
|
-
import type { AnyConfigSchema } from '@xyo-network/module-model'
|
|
3
|
-
|
|
4
|
-
import type { AddressChainDivinerConfig } from './Config.ts'
|
|
5
|
-
|
|
6
|
-
export type AddressChainDivinerParams = DivinerParams<AnyConfigSchema<AddressChainDivinerConfig>>
|
package/src/Payload.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { Payload } from '@xyo-network/payload-model'
|
|
2
|
-
|
|
3
|
-
import { AddressChainSchema } from './Schema.ts'
|
|
4
|
-
|
|
5
|
-
export type AddressChainPayload = Payload<{ schema: AddressChainSchema }>
|
|
6
|
-
export const isAddressChainPayload = (x?: Payload | null): x is AddressChainPayload => x?.schema === AddressChainSchema
|
package/src/Query.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { PayloadFindFilter, Query } from '@xyo-network/payload-model'
|
|
2
|
-
import { isPayloadOfSchemaType } from '@xyo-network/payload-model'
|
|
3
|
-
|
|
4
|
-
import { AddressChainQuerySchema } from './Schema.ts'
|
|
5
|
-
|
|
6
|
-
export type AddressChainQueryPayload = Query<{ schema: AddressChainQuerySchema } & Omit<PayloadFindFilter, 'schema'>>
|
|
7
|
-
export const isAddressChainQueryPayload = isPayloadOfSchemaType<AddressChainQueryPayload>(AddressChainQuerySchema)
|
package/src/Schema.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { asSchema } from '@xyo-network/payload-model'
|
|
2
|
-
|
|
3
|
-
export const AddressChainSchema = asSchema('network.xyo.diviner.address.chain', true)
|
|
4
|
-
export type AddressChainSchema = typeof AddressChainSchema
|
|
5
|
-
|
|
6
|
-
export const AddressChainDivinerConfigSchema = asSchema(`${AddressChainSchema}.config`, true)
|
|
7
|
-
export type AddressChainDivinerConfigSchema = typeof AddressChainDivinerConfigSchema
|
|
8
|
-
|
|
9
|
-
export const AddressChainQuerySchema = asSchema(`${AddressChainSchema}.query`, true)
|
|
10
|
-
export type AddressChainQuerySchema = typeof AddressChainQuerySchema
|