@xyo-network/diviner-address-history-model 5.3.22 → 5.3.25
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 -13
- package/src/Diviner.ts +0 -16
- package/src/Params.ts +0 -6
- package/src/index.ts +0 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/diviner-address-history-model",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.25",
|
|
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/module-model": "~5.3.
|
|
42
|
-
"@xyo-network/payload-model": "~5.3.
|
|
39
|
+
"@xyo-network/diviner-model": "~5.3.25",
|
|
40
|
+
"@xyo-network/module-model": "~5.3.25",
|
|
41
|
+
"@xyo-network/payload-model": "~5.3.25"
|
|
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.25",
|
|
56
|
+
"@xyo-network/module-model": "~5.3.25",
|
|
57
|
+
"@xyo-network/payload-model": "~5.3.25"
|
|
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,13 +0,0 @@
|
|
|
1
|
-
import type { Address } from '@xylabs/sdk-js'
|
|
2
|
-
import type { DivinerConfig } from '@xyo-network/diviner-model'
|
|
3
|
-
import { asSchema } from '@xyo-network/payload-model'
|
|
4
|
-
|
|
5
|
-
import { AddressHistorySchema } from './Diviner.ts'
|
|
6
|
-
|
|
7
|
-
export const AddressHistoryDivinerConfigSchema = asSchema(`${AddressHistorySchema}.config`, true)
|
|
8
|
-
export type AddressHistoryDivinerConfigSchema = typeof AddressHistoryDivinerConfigSchema
|
|
9
|
-
|
|
10
|
-
export type AddressHistoryDivinerConfig = DivinerConfig<{
|
|
11
|
-
address?: Address
|
|
12
|
-
schema: AddressHistoryDivinerConfigSchema
|
|
13
|
-
}>
|
package/src/Diviner.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
Payload, PayloadFindFilter, Query,
|
|
3
|
-
} from '@xyo-network/payload-model'
|
|
4
|
-
import { asSchema, isPayloadOfSchemaType } from '@xyo-network/payload-model'
|
|
5
|
-
|
|
6
|
-
export const AddressHistorySchema = asSchema('network.xyo.diviner.address.history', true)
|
|
7
|
-
export type AddressHistorySchema = typeof AddressHistorySchema
|
|
8
|
-
|
|
9
|
-
export const AddressHistoryQuerySchema = asSchema('network.xyo.diviner.address.history.query', true)
|
|
10
|
-
export type AddressHistoryQuerySchema = typeof AddressHistoryQuerySchema
|
|
11
|
-
|
|
12
|
-
export type AddressHistoryPayload = Payload<{ schema: AddressHistorySchema }>
|
|
13
|
-
export const isAddressHistoryPayload = (x?: Payload | null): x is AddressHistoryPayload => x?.schema === AddressHistorySchema
|
|
14
|
-
|
|
15
|
-
export type AddressHistoryQueryPayload = Query<{ schema: AddressHistoryQuerySchema } & Omit<PayloadFindFilter, 'schema'>>
|
|
16
|
-
export const isAddressHistoryQueryPayload = isPayloadOfSchemaType<AddressHistoryQueryPayload>(AddressHistoryQuerySchema)
|
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 { AddressHistoryDivinerConfig } from './Config.ts'
|
|
5
|
-
|
|
6
|
-
export type AddressHistoryDivinerParams = DivinerParams<AnyConfigSchema<AddressHistoryDivinerConfig>>
|
package/src/index.ts
DELETED