@xyo-network/payload 7.0.12 → 7.0.13
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/README.md +47 -1
- package/dist/neutral/builder.d.ts +1 -5
- package/dist/neutral/builder.d.ts.map +1 -1
- package/dist/neutral/builder.mjs +1 -1
- package/dist/neutral/builder.mjs.map +2 -2
- package/dist/neutral/index.d.ts +5 -5
- package/dist/neutral/index.d.ts.map +1 -1
- package/dist/neutral/index.mjs +5 -1
- package/dist/neutral/index.mjs.map +2 -2
- package/dist/neutral/model.d.ts +1 -5
- package/dist/neutral/model.d.ts.map +1 -1
- package/dist/neutral/model.mjs +1 -1
- package/dist/neutral/model.mjs.map +2 -2
- package/dist/neutral/validator.d.ts +1 -5
- package/dist/neutral/validator.d.ts.map +1 -1
- package/dist/neutral/validator.mjs +1 -1
- package/dist/neutral/validator.mjs.map +2 -2
- package/dist/neutral/wrapper.d.ts +1 -5
- package/dist/neutral/wrapper.d.ts.map +1 -1
- package/dist/neutral/wrapper.mjs +1 -1
- package/dist/neutral/wrapper.mjs.map +2 -2
- package/dist/node/builder.d.ts +2 -0
- package/dist/node/builder.d.ts.map +1 -0
- package/dist/node/builder.mjs +3 -0
- package/dist/node/builder.mjs.map +7 -0
- package/dist/node/index.d.ts +6 -0
- package/dist/node/index.d.ts.map +1 -0
- package/dist/node/index.mjs +7 -0
- package/dist/node/index.mjs.map +7 -0
- package/dist/node/model.d.ts +2 -0
- package/dist/node/model.d.ts.map +1 -0
- package/dist/node/model.mjs +3 -0
- package/dist/node/model.mjs.map +7 -0
- package/dist/node/validator.d.ts +2 -0
- package/dist/node/validator.d.ts.map +1 -0
- package/dist/node/validator.mjs +3 -0
- package/dist/node/validator.mjs.map +7 -0
- package/dist/node/wrapper.d.ts +2 -0
- package/dist/node/wrapper.d.ts.map +1 -0
- package/dist/node/wrapper.mjs +3 -0
- package/dist/node/wrapper.mjs.map +7 -0
- package/package.json +81 -41
package/README.md
CHANGED
|
@@ -1,3 +1,49 @@
|
|
|
1
|
+
[![logo][]](https://xyo.network)
|
|
2
|
+
|
|
1
3
|
# @xyo-network/payload
|
|
2
4
|
|
|
3
|
-
|
|
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:
|
|
13
|
+
|
|
14
|
+
```sh
|
|
15
|
+
npm install {{name}}
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Using yarn:
|
|
19
|
+
|
|
20
|
+
```sh
|
|
21
|
+
yarn add {{name}}
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Using pnpm:
|
|
25
|
+
|
|
26
|
+
```sh
|
|
27
|
+
pnpm add {{name}}
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
Using bun:
|
|
31
|
+
|
|
32
|
+
```sh
|
|
33
|
+
bun add {{name}}
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
## License
|
|
38
|
+
|
|
39
|
+
See the [LICENSE](LICENSE) file for license rights and limitations (LGPL-3.0-only).
|
|
40
|
+
|
|
41
|
+
## Credits
|
|
42
|
+
|
|
43
|
+
[Made with 🔥 and ❄️ by XYO Foundation](https://xyo.network)
|
|
44
|
+
|
|
45
|
+
[npm-badge]: https://img.shields.io/npm/v/@xyo-network/payload.svg
|
|
46
|
+
[npm-link]: https://www.npmjs.com/package/@xyo-network/payload
|
|
47
|
+
[license-badge]: https://img.shields.io/npm/l/@xyo-network/payload.svg
|
|
48
|
+
[license-link]: https://github.com/xylabs/sdk-js/blob/main/LICENSE
|
|
49
|
+
[logo]: https://cdn.xy.company/img/brand/XYO_full_colored.png
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
* @deprecated Use `@xyo-network/sdk-protocol/payload-builder` instead.
|
|
3
|
-
* `@xyo-network/payload/builder` is a backward-compatibility re-export stub.
|
|
4
|
-
*/
|
|
5
|
-
export * from '@xyo-network/sdk-protocol/payload-builder';
|
|
1
|
+
export * from '@xyo-network/payload-builder';
|
|
6
2
|
//# sourceMappingURL=builder.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"builder.d.ts","sourceRoot":"","sources":["../../src/builder.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"builder.d.ts","sourceRoot":"","sources":["../../src/builder.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAA"}
|
package/dist/neutral/builder.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/builder.ts"],
|
|
4
|
-
"sourcesContent": ["
|
|
5
|
-
"mappings": ";
|
|
4
|
+
"sourcesContent": ["export * from '@xyo-network/payload-builder'\n"],
|
|
5
|
+
"mappings": ";AAAA,cAAc;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/neutral/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
* @
|
|
3
|
-
*
|
|
4
|
-
|
|
5
|
-
export * from '@xyo-network/
|
|
1
|
+
export * from '@xyo-network/huri';
|
|
2
|
+
export * from '@xyo-network/payload-builder';
|
|
3
|
+
export * from '@xyo-network/payload-model';
|
|
4
|
+
export * from '@xyo-network/payload-validator';
|
|
5
|
+
export * from '@xyo-network/payload-wrapper';
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,gCAAgC,CAAA;AAC9C,cAAc,8BAA8B,CAAA"}
|
package/dist/neutral/index.mjs
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
1
|
// src/index.ts
|
|
2
|
-
export * from "@xyo-network/
|
|
2
|
+
export * from "@xyo-network/huri";
|
|
3
|
+
export * from "@xyo-network/payload-builder";
|
|
4
|
+
export * from "@xyo-network/payload-model";
|
|
5
|
+
export * from "@xyo-network/payload-validator";
|
|
6
|
+
export * from "@xyo-network/payload-wrapper";
|
|
3
7
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/index.ts"],
|
|
4
|
-
"sourcesContent": ["
|
|
5
|
-
"mappings": ";
|
|
4
|
+
"sourcesContent": ["export * from '@xyo-network/huri'\nexport * from '@xyo-network/payload-builder'\nexport * from '@xyo-network/payload-model'\nexport * from '@xyo-network/payload-validator'\nexport * from '@xyo-network/payload-wrapper'\n"],
|
|
5
|
+
"mappings": ";AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/neutral/model.d.ts
CHANGED
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
* @deprecated Use `@xyo-network/sdk-protocol/payload-model` instead.
|
|
3
|
-
* `@xyo-network/payload/model` is a backward-compatibility re-export stub.
|
|
4
|
-
*/
|
|
5
|
-
export * from '@xyo-network/sdk-protocol/payload-model';
|
|
1
|
+
export * from '@xyo-network/payload-model';
|
|
6
2
|
//# sourceMappingURL=model.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../src/model.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../src/model.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAA"}
|
package/dist/neutral/model.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/model.ts"],
|
|
4
|
-
"sourcesContent": ["
|
|
5
|
-
"mappings": ";
|
|
4
|
+
"sourcesContent": ["export * from '@xyo-network/payload-model'\n"],
|
|
5
|
+
"mappings": ";AAAA,cAAc;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
* @deprecated Use `@xyo-network/sdk-protocol/payload-validator` instead.
|
|
3
|
-
* `@xyo-network/payload/validator` is a backward-compatibility re-export stub.
|
|
4
|
-
*/
|
|
5
|
-
export * from '@xyo-network/sdk-protocol/payload-validator';
|
|
1
|
+
export * from '@xyo-network/payload-validator';
|
|
6
2
|
//# sourceMappingURL=validator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validator.d.ts","sourceRoot":"","sources":["../../src/validator.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"validator.d.ts","sourceRoot":"","sources":["../../src/validator.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/validator.ts"],
|
|
4
|
-
"sourcesContent": ["
|
|
5
|
-
"mappings": ";
|
|
4
|
+
"sourcesContent": ["export * from '@xyo-network/payload-validator'\n"],
|
|
5
|
+
"mappings": ";AAAA,cAAc;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
* @deprecated Use `@xyo-network/sdk-protocol/payload-wrapper` instead.
|
|
3
|
-
* `@xyo-network/payload/wrapper` is a backward-compatibility re-export stub.
|
|
4
|
-
*/
|
|
5
|
-
export * from '@xyo-network/sdk-protocol/payload-wrapper';
|
|
1
|
+
export * from '@xyo-network/payload-wrapper';
|
|
6
2
|
//# sourceMappingURL=wrapper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wrapper.d.ts","sourceRoot":"","sources":["../../src/wrapper.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"wrapper.d.ts","sourceRoot":"","sources":["../../src/wrapper.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAA"}
|
package/dist/neutral/wrapper.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/wrapper.ts"],
|
|
4
|
-
"sourcesContent": ["
|
|
5
|
-
"mappings": ";
|
|
4
|
+
"sourcesContent": ["export * from '@xyo-network/payload-wrapper'\n"],
|
|
5
|
+
"mappings": ";AAAA,cAAc;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"builder.d.ts","sourceRoot":"","sources":["../../src/builder.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,gCAAgC,CAAA;AAC9C,cAAc,8BAA8B,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// src/index.ts
|
|
2
|
+
export * from "@xyo-network/huri";
|
|
3
|
+
export * from "@xyo-network/payload-builder";
|
|
4
|
+
export * from "@xyo-network/payload-model";
|
|
5
|
+
export * from "@xyo-network/payload-validator";
|
|
6
|
+
export * from "@xyo-network/payload-wrapper";
|
|
7
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/index.ts"],
|
|
4
|
+
"sourcesContent": ["export * from '@xyo-network/huri'\nexport * from '@xyo-network/payload-builder'\nexport * from '@xyo-network/payload-model'\nexport * from '@xyo-network/payload-validator'\nexport * from '@xyo-network/payload-wrapper'\n"],
|
|
5
|
+
"mappings": ";AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../src/model.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validator.d.ts","sourceRoot":"","sources":["../../src/validator.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wrapper.d.ts","sourceRoot":"","sources":["../../src/wrapper.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/payload",
|
|
3
|
-
"version": "7.0.
|
|
4
|
-
"description": "
|
|
5
|
-
"deprecated": "Use @xyo-network/sdk-protocol/payload instead. @xyo-network/payload is a backward-compatibility re-export stub and will not receive further updates.",
|
|
3
|
+
"version": "7.0.13",
|
|
4
|
+
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
6
5
|
"homepage": "https://xyo.network",
|
|
7
6
|
"bugs": {
|
|
8
7
|
"url": "git+https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues",
|
|
@@ -22,26 +21,56 @@
|
|
|
22
21
|
"type": "module",
|
|
23
22
|
"exports": {
|
|
24
23
|
".": {
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
24
|
+
"node": {
|
|
25
|
+
"types": "./dist/node/index.d.ts",
|
|
26
|
+
"default": "./dist/node/index.mjs"
|
|
27
|
+
},
|
|
28
|
+
"default": {
|
|
29
|
+
"types": "./dist/neutral/index.d.ts",
|
|
30
|
+
"default": "./dist/neutral/index.mjs"
|
|
31
|
+
}
|
|
32
32
|
},
|
|
33
33
|
"./model": {
|
|
34
|
-
"
|
|
35
|
-
|
|
34
|
+
"node": {
|
|
35
|
+
"types": "./dist/node/model.d.ts",
|
|
36
|
+
"default": "./dist/node/model.mjs"
|
|
37
|
+
},
|
|
38
|
+
"default": {
|
|
39
|
+
"types": "./dist/neutral/model.d.ts",
|
|
40
|
+
"default": "./dist/neutral/model.mjs"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"./builder": {
|
|
44
|
+
"node": {
|
|
45
|
+
"types": "./dist/node/builder.d.ts",
|
|
46
|
+
"default": "./dist/node/builder.mjs"
|
|
47
|
+
},
|
|
48
|
+
"default": {
|
|
49
|
+
"types": "./dist/neutral/builder.d.ts",
|
|
50
|
+
"default": "./dist/neutral/builder.mjs"
|
|
51
|
+
}
|
|
36
52
|
},
|
|
37
53
|
"./validator": {
|
|
38
|
-
"
|
|
39
|
-
|
|
54
|
+
"node": {
|
|
55
|
+
"types": "./dist/node/validator.d.ts",
|
|
56
|
+
"default": "./dist/node/validator.mjs"
|
|
57
|
+
},
|
|
58
|
+
"default": {
|
|
59
|
+
"types": "./dist/neutral/validator.d.ts",
|
|
60
|
+
"default": "./dist/neutral/validator.mjs"
|
|
61
|
+
}
|
|
40
62
|
},
|
|
41
63
|
"./wrapper": {
|
|
42
|
-
"
|
|
43
|
-
|
|
44
|
-
|
|
64
|
+
"node": {
|
|
65
|
+
"types": "./dist/node/wrapper.d.ts",
|
|
66
|
+
"default": "./dist/node/wrapper.mjs"
|
|
67
|
+
},
|
|
68
|
+
"default": {
|
|
69
|
+
"types": "./dist/neutral/wrapper.d.ts",
|
|
70
|
+
"default": "./dist/neutral/wrapper.mjs"
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"./package.json": "./package.json"
|
|
45
74
|
},
|
|
46
75
|
"files": [
|
|
47
76
|
"dist",
|
|
@@ -51,34 +80,45 @@
|
|
|
51
80
|
"README.md"
|
|
52
81
|
],
|
|
53
82
|
"dependencies": {
|
|
54
|
-
"@xyo-network/
|
|
83
|
+
"@xyo-network/payload-builder": "~7.0.13",
|
|
84
|
+
"@xyo-network/payload-model": "~7.0.13",
|
|
85
|
+
"@xyo-network/huri": "~7.0.13",
|
|
86
|
+
"@xyo-network/payload-wrapper": "~7.0.13",
|
|
87
|
+
"@xyo-network/payload-validator": "~7.0.13"
|
|
55
88
|
},
|
|
56
89
|
"devDependencies": {
|
|
57
|
-
"@
|
|
58
|
-
"@
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
90
|
+
"@ariestools/sdk": "~7.0.8",
|
|
91
|
+
"@bitauth/libauth": "~3.0.0",
|
|
92
|
+
"@opentelemetry/api": "~1.9.1",
|
|
93
|
+
"@opentelemetry/sdk-trace-base": "~2.9.0",
|
|
94
|
+
"@scure/base": "~2.2.0",
|
|
95
|
+
"@xylabs/threads": "~7.0.8",
|
|
96
|
+
"@xylabs/toolchain": "~8.6.2",
|
|
97
|
+
"@xylabs/tsconfig": "~8.6.2",
|
|
98
|
+
"async-mutex": "~0.5.0",
|
|
99
|
+
"browserslist": "~4.28.4",
|
|
100
|
+
"debug": "~4.4.3",
|
|
101
|
+
"eslint": "~10.6.0",
|
|
102
|
+
"eslint-import-resolver-typescript": "~4.4.5",
|
|
103
|
+
"ethers": "~6.17.0",
|
|
104
|
+
"hash-wasm": "~4.12.0",
|
|
105
|
+
"observable-fns": "~0.6.1",
|
|
106
|
+
"typescript": "~6.0.3",
|
|
107
|
+
"zod": "~4.4.3"
|
|
63
108
|
},
|
|
64
109
|
"peerDependencies": {
|
|
65
|
-
"@ariestools/sdk": "^7.0.
|
|
66
|
-
"@bitauth/libauth": "
|
|
67
|
-
"@
|
|
68
|
-
"@opentelemetry/
|
|
69
|
-
"@
|
|
70
|
-
"@
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"ethers": "^6.16",
|
|
78
|
-
"hash-wasm": "~4.12",
|
|
79
|
-
"idb": "^8.0",
|
|
80
|
-
"observable-fns": "^0.6",
|
|
81
|
-
"zod": "^4.4"
|
|
110
|
+
"@ariestools/sdk": "^7.0.8",
|
|
111
|
+
"@bitauth/libauth": "^3.0.0",
|
|
112
|
+
"@opentelemetry/api": "^1.9.1",
|
|
113
|
+
"@opentelemetry/sdk-trace-base": "^2.9.0",
|
|
114
|
+
"@scure/base": "^2.2.0",
|
|
115
|
+
"@xylabs/threads": "^7.0.8",
|
|
116
|
+
"async-mutex": "^0.5.0",
|
|
117
|
+
"debug": "^4.4.3",
|
|
118
|
+
"ethers": "^6.17.0",
|
|
119
|
+
"hash-wasm": "^4.12.0",
|
|
120
|
+
"observable-fns": "^0.6.1",
|
|
121
|
+
"zod": "^4.4.3"
|
|
82
122
|
},
|
|
83
123
|
"engines": {
|
|
84
124
|
"node": "^24"
|