@xyo-network/diviner-address-chain-model 5.3.25 → 5.3.27

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 (2) hide show
  1. package/README.md +230 -10
  2. package/package.json +12 -15
package/README.md CHANGED
@@ -1,23 +1,243 @@
1
+ [![logo][]](https://xyo.network)
2
+
1
3
  # @xyo-network/diviner-address-chain-model
2
4
 
3
- [![logo][]](https://xyo.network)
5
+ [![npm][npm-badge]][npm-link]
6
+ [![license][license-badge]][license-link]
7
+
8
+ > Primary SDK for using XYO Protocol 2.0
9
+
10
+ ## Install
11
+
12
+ Using npm:
4
13
 
5
- Version: 5.0.2
14
+ ```sh
15
+ npm install {{name}}
16
+ ```
6
17
 
7
- Primary SDK for using XYO Protocol 2.0
18
+ Using yarn:
8
19
 
9
- ## Documentation
20
+ ```sh
21
+ yarn add {{name}}
22
+ ```
10
23
 
11
- [TypeDoc Generated Documentation](https://gitbook.xyo.network/xyo-data-lab/xyo-reference/package-documentation/xyo-network__diviner-address-chain-model)
24
+ Using pnpm:
25
+
26
+ ```sh
27
+ pnpm add {{name}}
28
+ ```
29
+
30
+ Using bun:
31
+
32
+ ```sh
33
+ bun add {{name}}
34
+ ```
12
35
 
13
- Part of [sdk-xyo-client-js](https://www.npmjs.com/package/@xyo-network/sdk-xyo-client-js)
14
36
 
15
37
  ## License
16
38
 
17
- > See the [LICENSE](LICENSE) file for license details
39
+ See the [LICENSE](LICENSE) file for license rights and limitations (LGPL-3.0-only).
40
+
41
+ ## Reference
42
+
43
+ ### packages
44
+
45
+ ### modules
46
+
47
+ ### packages
48
+
49
+ ### diviner
50
+
51
+ ### packages
52
+
53
+ ### addresschain
54
+
55
+ ### packages
56
+
57
+ ### model
58
+
59
+ ### .temp-typedoc
60
+
61
+ ### functions
62
+
63
+ ### <a id="isAddressChainPayload"></a>isAddressChainPayload
64
+
65
+ [**@xyo-network/diviner-address-chain-model**](#../README)
66
+
67
+ ***
68
+
69
+ ```ts
70
+ function isAddressChainPayload(x?): x is AddressChainPayload;
71
+ ```
72
+
73
+ ## Parameters
74
+
75
+ ### x?
76
+
77
+ `Payload` \| `null`
78
+
79
+ ## Returns
80
+
81
+ `x is AddressChainPayload`
82
+
83
+ ### type-aliases
84
+
85
+ ### <a id="AddressChainDivinerConfig"></a>AddressChainDivinerConfig
86
+
87
+ [**@xyo-network/diviner-address-chain-model**](#../README)
88
+
89
+ ***
90
+
91
+ ```ts
92
+ type AddressChainDivinerConfig = DivinerConfig<{
93
+ address?: Address;
94
+ maxResults?: number;
95
+ schema: AddressChainDivinerConfigSchema;
96
+ startHash?: Hash;
97
+ }>;
98
+ ```
99
+
100
+ ### <a id="AddressChainDivinerConfigSchema"></a>AddressChainDivinerConfigSchema
101
+
102
+ [**@xyo-network/diviner-address-chain-model**](#../README)
103
+
104
+ ***
105
+
106
+ ```ts
107
+ type AddressChainDivinerConfigSchema = typeof AddressChainDivinerConfigSchema;
108
+ ```
109
+
110
+ ### <a id="AddressChainDivinerParams"></a>AddressChainDivinerParams
111
+
112
+ [**@xyo-network/diviner-address-chain-model**](#../README)
113
+
114
+ ***
115
+
116
+ ```ts
117
+ type AddressChainDivinerParams = DivinerParams<AnyConfigSchema<AddressChainDivinerConfig>>;
118
+ ```
119
+
120
+ ### <a id="AddressChainPayload"></a>AddressChainPayload
121
+
122
+ [**@xyo-network/diviner-address-chain-model**](#../README)
123
+
124
+ ***
125
+
126
+ ```ts
127
+ type AddressChainPayload = Payload<{
128
+ schema: AddressChainSchema;
129
+ }>;
130
+ ```
131
+
132
+ ### <a id="AddressChainQueryPayload"></a>AddressChainQueryPayload
133
+
134
+ [**@xyo-network/diviner-address-chain-model**](#../README)
135
+
136
+ ***
137
+
138
+ ```ts
139
+ type AddressChainQueryPayload = Query<object & Omit<PayloadFindFilter, "schema">>;
140
+ ```
141
+
142
+ ### <a id="AddressChainQuerySchema"></a>AddressChainQuerySchema
143
+
144
+ [**@xyo-network/diviner-address-chain-model**](#../README)
145
+
146
+ ***
147
+
148
+ ```ts
149
+ type AddressChainQuerySchema = typeof AddressChainQuerySchema;
150
+ ```
151
+
152
+ ### <a id="AddressChainSchema"></a>AddressChainSchema
153
+
154
+ [**@xyo-network/diviner-address-chain-model**](#../README)
155
+
156
+ ***
157
+
158
+ ```ts
159
+ type AddressChainSchema = typeof AddressChainSchema;
160
+ ```
161
+
162
+ ### variables
163
+
164
+ ### <a id="AddressChainDivinerConfigSchema"></a>AddressChainDivinerConfigSchema
165
+
166
+ [**@xyo-network/diviner-address-chain-model**](#../README)
167
+
168
+ ***
169
+
170
+ ```ts
171
+ const AddressChainDivinerConfigSchema: string & object;
172
+ ```
173
+
174
+ ## Type Declaration
175
+
176
+ ### \_\_schema
177
+
178
+ ```ts
179
+ readonly __schema: true;
180
+ ```
181
+
182
+ ### <a id="AddressChainQuerySchema"></a>AddressChainQuerySchema
183
+
184
+ [**@xyo-network/diviner-address-chain-model**](#../README)
185
+
186
+ ***
187
+
188
+ ```ts
189
+ const AddressChainQuerySchema: string & object;
190
+ ```
191
+
192
+ ## Type Declaration
193
+
194
+ ### \_\_schema
195
+
196
+ ```ts
197
+ readonly __schema: true;
198
+ ```
199
+
200
+ ### <a id="AddressChainSchema"></a>AddressChainSchema
201
+
202
+ [**@xyo-network/diviner-address-chain-model**](#../README)
203
+
204
+ ***
205
+
206
+ ```ts
207
+ const AddressChainSchema: "network.xyo.diviner.address.chain" & object;
208
+ ```
209
+
210
+ ## Type Declaration
211
+
212
+ ### \_\_schema
213
+
214
+ ```ts
215
+ readonly __schema: true;
216
+ ```
217
+
218
+ ### <a id="isAddressChainQueryPayload"></a>isAddressChainQueryPayload
219
+
220
+ [**@xyo-network/diviner-address-chain-model**](#../README)
221
+
222
+ ***
223
+
224
+ ```ts
225
+ const isAddressChainQueryPayload: (x?) => x is AddressChainQueryPayload;
226
+ ```
227
+
228
+ ## Parameters
229
+
230
+ ### x?
231
+
232
+ `unknown`
233
+
234
+ ## Returns
18
235
 
19
- ## Credits
236
+ `x is AddressChainQueryPayload`
20
237
 
21
- [Made with 🔥 and ❄️ by XYO](https://xyo.network)
22
238
 
23
- [logo]: https://cdn.xy.company/img/brand/XYO_full_colored.png
239
+ [logo]: https://cdn.xy.company/img/brand/XYO_full_colored.png
240
+ [npm-badge]: https://img.shields.io/npm/v/@xyo-network/diviner-address-chain-model.svg
241
+ [npm-link]: https://www.npmjs.com/package/@xyo-network/diviner-address-chain-model
242
+ [license-badge]: https://img.shields.io/npm/l/@xyo-network/diviner-address-chain-model.svg
243
+ [license-link]: https://github.com/xylabs/sdk-js/blob/main/LICENSE
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/diviner-address-chain-model",
3
- "version": "5.3.25",
3
+ "version": "5.3.27",
4
4
  "description": "Primary SDK for using XYO Protocol 2.0",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -22,11 +22,11 @@
22
22
  "exports": {
23
23
  ".": {
24
24
  "types": "./dist/neutral/index.d.ts",
25
+ "import": "./dist/neutral/index.mjs",
25
26
  "default": "./dist/neutral/index.mjs"
26
27
  },
27
28
  "./package.json": "./package.json"
28
29
  },
29
- "module": "dist/neutral/index.mjs",
30
30
  "types": "dist/neutral/index.d.ts",
31
31
  "files": [
32
32
  "dist",
@@ -36,25 +36,22 @@
36
36
  "README.md"
37
37
  ],
38
38
  "dependencies": {
39
- "@xyo-network/diviner-model": "~5.3.25",
40
- "@xyo-network/payload-model": "~5.3.25",
41
- "@xyo-network/module-model": "~5.3.25"
39
+ "@xyo-network/diviner-model": "~5.3.27",
40
+ "@xyo-network/payload-model": "~5.3.27",
41
+ "@xyo-network/module-model": "~5.3.27"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@opentelemetry/api": "^1.9.1",
45
- "@types/node": "^25.5.0",
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",
50
- "acorn": "^8.16.0",
45
+ "@xylabs/sdk-js": "^5.0.94",
46
+ "@xylabs/ts-scripts-common": "~7.7.15",
47
+ "@xylabs/ts-scripts-pnpm": "~7.7.15",
48
+ "@xylabs/tsconfig": "~7.7.15",
51
49
  "axios": "^1.14.0",
52
- "esbuild": "^0.28.0",
53
50
  "typescript": "~5.9.3",
54
51
  "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"
52
+ "@xyo-network/diviner-model": "~5.3.27",
53
+ "@xyo-network/payload-model": "~5.3.27",
54
+ "@xyo-network/module-model": "~5.3.27"
58
55
  },
59
56
  "peerDependencies": {
60
57
  "@xylabs/sdk-js": "^5"