@xyo-network/manifest-model 4.1.7 → 4.2.1

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.
@@ -1,6 +1,38 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
3
  "definitions": {
4
+ "Address": {
5
+ "allOf": [
6
+ {
7
+ "items": {
8
+ "type": "string"
9
+ },
10
+ "type": "array"
11
+ },
12
+ {
13
+ "properties": {
14
+ "__hex": {
15
+ "$ref": "#/definitions/typeof__hex"
16
+ }
17
+ },
18
+ "required": [
19
+ "__hex"
20
+ ],
21
+ "type": "object"
22
+ },
23
+ {
24
+ "properties": {
25
+ "__address": {
26
+ "$ref": "#/definitions/typeof__address"
27
+ }
28
+ },
29
+ "required": [
30
+ "__address"
31
+ ],
32
+ "type": "object"
33
+ }
34
+ ]
35
+ },
4
36
  "ConfigManifest": {
5
37
  "properties": {
6
38
  "accountPath": {
@@ -48,13 +80,10 @@
48
80
  "status": {
49
81
  "properties": {
50
82
  "address": {
51
- "items": {
52
- "type": "string"
53
- },
54
- "type": "array"
83
+ "$ref": "#/definitions/Address"
55
84
  },
56
85
  "children": {
57
- "$ref": "#/definitions/Record<Lowercase<string>,string>"
86
+ "$ref": "#/definitions/Record<Address,string>"
58
87
  }
59
88
  },
60
89
  "required": [
@@ -113,13 +142,10 @@
113
142
  "status": {
114
143
  "properties": {
115
144
  "address": {
116
- "items": {
117
- "type": "string"
118
- },
119
- "type": "array"
145
+ "$ref": "#/definitions/Address"
120
146
  },
121
147
  "children": {
122
- "$ref": "#/definitions/Record<Lowercase<string>,string>"
148
+ "$ref": "#/definitions/Record<Address,string>"
123
149
  }
124
150
  },
125
151
  "required": [
@@ -133,7 +159,7 @@
133
159
  ],
134
160
  "type": "object"
135
161
  },
136
- "Record<Lowercase<string>,string>": {
162
+ "Record<Address,string>": {
137
163
  "type": "object"
138
164
  },
139
165
  "Record<string,ModuleManifest>": {
@@ -141,6 +167,36 @@
141
167
  },
142
168
  "Record<string,string>": {
143
169
  "type": "object"
170
+ },
171
+ "typeof__address": {
172
+ "properties": {
173
+ "__@toStringTag@21": {
174
+ "type": "string"
175
+ },
176
+ "description": {
177
+ "type": "string"
178
+ }
179
+ },
180
+ "required": [
181
+ "__@toStringTag@21",
182
+ "description"
183
+ ],
184
+ "type": "object"
185
+ },
186
+ "typeof__hex": {
187
+ "properties": {
188
+ "__@toStringTag@21": {
189
+ "type": "string"
190
+ },
191
+ "description": {
192
+ "type": "string"
193
+ }
194
+ },
195
+ "required": [
196
+ "__@toStringTag@21",
197
+ "description"
198
+ ],
199
+ "type": "object"
144
200
  }
145
201
  },
146
202
  "properties": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/manifest-model",
3
- "version": "4.1.7",
3
+ "version": "4.2.1",
4
4
  "description": "Primary SDK for using XYO Protocol 2.0",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -37,14 +37,14 @@
37
37
  "package-compile": "yarn gen-schema && yarn package-compile-only"
38
38
  },
39
39
  "dependencies": {
40
- "@xylabs/hex": "^4.13.23",
41
- "@xylabs/object": "^4.13.23",
42
- "@xyo-network/payload-model": "^4.1.7"
40
+ "@xylabs/hex": "^4.14.1",
41
+ "@xylabs/object": "^4.14.1",
42
+ "@xyo-network/payload-model": "^4.2.1"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@types/node": "^24.1.0",
46
- "@xylabs/ts-scripts-yarn3": "^7.0.0",
47
- "@xylabs/tsconfig": "^7.0.0",
46
+ "@xylabs/ts-scripts-yarn3": "^7.0.1",
47
+ "@xylabs/tsconfig": "^7.0.1",
48
48
  "typescript": "^5.8.3",
49
49
  "typescript-json-schema": "^0.65.1"
50
50
  },