@xyo-network/payload 7.0.4 → 7.0.6
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 +1 -47
- package/dist/neutral/builder.d.ts +5 -1
- 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 +1 -5
- package/dist/neutral/index.mjs.map +2 -2
- package/dist/neutral/model.d.ts +5 -1
- 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 +5 -1
- 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 +5 -1
- 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/package.json +19 -37
package/README.md
CHANGED
|
@@ -1,49 +1,3 @@
|
|
|
1
|
-
[![logo][]](https://xyo.network)
|
|
2
|
-
|
|
3
1
|
# @xyo-network/payload
|
|
4
2
|
|
|
5
|
-
|
|
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
|
|
3
|
+
Deprecated compatibility stub. Use `@xyo-network/sdk-protocol/payload` instead.
|
|
@@ -1,2 +1,6 @@
|
|
|
1
|
-
|
|
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';
|
|
2
6
|
//# sourceMappingURL=builder.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"builder.d.ts","sourceRoot":"","sources":["../../src/builder.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"builder.d.ts","sourceRoot":"","sources":["../../src/builder.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,cAAc,2CAA2C,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": ["export * from '@xyo-network/payload-builder'\n"],
|
|
5
|
-
"mappings": ";
|
|
4
|
+
"sourcesContent": ["/**\n * @deprecated Use `@xyo-network/sdk-protocol/payload-builder` instead.\n * `@xyo-network/payload/builder` is a backward-compatibility re-export stub.\n */\nexport * from '@xyo-network/sdk-protocol/payload-builder'\n"],
|
|
5
|
+
"mappings": ";AAIA,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/payload
|
|
1
|
+
/**
|
|
2
|
+
* @deprecated Use `@xyo-network/sdk-protocol/payload` instead.
|
|
3
|
+
* `@xyo-network/payload` is a backward-compatibility re-export stub.
|
|
4
|
+
*/
|
|
5
|
+
export * from '@xyo-network/sdk-protocol/payload';
|
|
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;;;GAGG;AACH,cAAc,mCAAmC,CAAA"}
|
package/dist/neutral/index.mjs
CHANGED
|
@@ -1,7 +1,3 @@
|
|
|
1
1
|
// src/index.ts
|
|
2
|
-
export * from "@xyo-network/
|
|
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";
|
|
2
|
+
export * from "@xyo-network/sdk-protocol/payload";
|
|
7
3
|
//# 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": ["/**\n * @deprecated Use `@xyo-network/sdk-protocol/payload` instead.\n * `@xyo-network/payload` is a backward-compatibility re-export stub.\n */\nexport * from '@xyo-network/sdk-protocol/payload'\n"],
|
|
5
|
+
"mappings": ";AAIA,cAAc;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/neutral/model.d.ts
CHANGED
|
@@ -1,2 +1,6 @@
|
|
|
1
|
-
|
|
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';
|
|
2
6
|
//# sourceMappingURL=model.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../src/model.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../src/model.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,cAAc,yCAAyC,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": ["export * from '@xyo-network/payload-model'\n"],
|
|
5
|
-
"mappings": ";
|
|
4
|
+
"sourcesContent": ["/**\n * @deprecated Use `@xyo-network/sdk-protocol/payload-model` instead.\n * `@xyo-network/payload/model` is a backward-compatibility re-export stub.\n */\nexport * from '@xyo-network/sdk-protocol/payload-model'\n"],
|
|
5
|
+
"mappings": ";AAIA,cAAc;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,2 +1,6 @@
|
|
|
1
|
-
|
|
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';
|
|
2
6
|
//# sourceMappingURL=validator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validator.d.ts","sourceRoot":"","sources":["../../src/validator.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"validator.d.ts","sourceRoot":"","sources":["../../src/validator.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,cAAc,6CAA6C,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/validator.ts"],
|
|
4
|
-
"sourcesContent": ["export * from '@xyo-network/payload-validator'\n"],
|
|
5
|
-
"mappings": ";
|
|
4
|
+
"sourcesContent": ["/**\n * @deprecated Use `@xyo-network/sdk-protocol/payload-validator` instead.\n * `@xyo-network/payload/validator` is a backward-compatibility re-export stub.\n */\nexport * from '@xyo-network/sdk-protocol/payload-validator'\n"],
|
|
5
|
+
"mappings": ";AAIA,cAAc;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,2 +1,6 @@
|
|
|
1
|
-
|
|
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';
|
|
2
6
|
//# sourceMappingURL=wrapper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wrapper.d.ts","sourceRoot":"","sources":["../../src/wrapper.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"wrapper.d.ts","sourceRoot":"","sources":["../../src/wrapper.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,cAAc,2CAA2C,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": ["export * from '@xyo-network/payload-wrapper'\n"],
|
|
5
|
-
"mappings": ";
|
|
4
|
+
"sourcesContent": ["/**\n * @deprecated Use `@xyo-network/sdk-protocol/payload-wrapper` instead.\n * `@xyo-network/payload/wrapper` is a backward-compatibility re-export stub.\n */\nexport * from '@xyo-network/sdk-protocol/payload-wrapper'\n"],
|
|
5
|
+
"mappings": ";AAIA,cAAc;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/payload",
|
|
3
|
-
"version": "7.0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "7.0.6",
|
|
4
|
+
"description": "DEPRECATED - use @xyo-network/sdk-protocol/payload. Backward-compatibility re-export stub for @xyo-network/payload.",
|
|
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.",
|
|
5
6
|
"homepage": "https://xyo.network",
|
|
6
7
|
"bugs": {
|
|
7
8
|
"url": "git+https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues",
|
|
@@ -24,14 +25,15 @@
|
|
|
24
25
|
"types": "./dist/neutral/index.d.ts",
|
|
25
26
|
"default": "./dist/neutral/index.mjs"
|
|
26
27
|
},
|
|
27
|
-
"./
|
|
28
|
-
"types": "./dist/neutral/model.d.ts",
|
|
29
|
-
"default": "./dist/neutral/model.mjs"
|
|
30
|
-
},
|
|
28
|
+
"./package.json": "./package.json",
|
|
31
29
|
"./builder": {
|
|
32
30
|
"types": "./dist/neutral/builder.d.ts",
|
|
33
31
|
"default": "./dist/neutral/builder.mjs"
|
|
34
32
|
},
|
|
33
|
+
"./model": {
|
|
34
|
+
"types": "./dist/neutral/model.d.ts",
|
|
35
|
+
"default": "./dist/neutral/model.mjs"
|
|
36
|
+
},
|
|
35
37
|
"./validator": {
|
|
36
38
|
"types": "./dist/neutral/validator.d.ts",
|
|
37
39
|
"default": "./dist/neutral/validator.mjs"
|
|
@@ -39,8 +41,7 @@
|
|
|
39
41
|
"./wrapper": {
|
|
40
42
|
"types": "./dist/neutral/wrapper.d.ts",
|
|
41
43
|
"default": "./dist/neutral/wrapper.mjs"
|
|
42
|
-
}
|
|
43
|
-
"./package.json": "./package.json"
|
|
44
|
+
}
|
|
44
45
|
},
|
|
45
46
|
"files": [
|
|
46
47
|
"dist",
|
|
@@ -50,51 +51,32 @@
|
|
|
50
51
|
"README.md"
|
|
51
52
|
],
|
|
52
53
|
"dependencies": {
|
|
53
|
-
"@xyo-network/
|
|
54
|
-
"@xyo-network/huri": "~7.0.4",
|
|
55
|
-
"@xyo-network/payload-model": "~7.0.4",
|
|
56
|
-
"@xyo-network/payload-validator": "~7.0.4",
|
|
57
|
-
"@xyo-network/payload-wrapper": "~7.0.4"
|
|
54
|
+
"@xyo-network/sdk-protocol": "~7.0.6"
|
|
58
55
|
},
|
|
59
56
|
"devDependencies": {
|
|
60
|
-
"@
|
|
61
|
-
"@
|
|
62
|
-
"@opentelemetry/sdk-trace-base": "^2.8.0",
|
|
63
|
-
"@scure/base": "~2.2.0",
|
|
64
|
-
"@xylabs/sdk": "^7.0.1",
|
|
65
|
-
"@xylabs/threads": "~7.0.1",
|
|
66
|
-
"@xylabs/toolchain": "~8.5.3",
|
|
67
|
-
"@xylabs/tsconfig": "~8.5.3",
|
|
68
|
-
"@xylabs/vitest-extended": "^7.0.1",
|
|
69
|
-
"ajv": "^8.20.0",
|
|
70
|
-
"async-mutex": "^0.5.0",
|
|
57
|
+
"@xylabs/toolchain": "~8.5.12",
|
|
58
|
+
"@xylabs/tsconfig": "~8.5.12",
|
|
71
59
|
"browserslist": "4.28.4",
|
|
72
|
-
"debug": "^4.4.3",
|
|
73
60
|
"eslint": "^10.6.0",
|
|
74
61
|
"eslint-import-resolver-typescript": "^4.4.5",
|
|
75
|
-
"
|
|
76
|
-
"hash-wasm": "~4.12.0",
|
|
77
|
-
"observable-fns": "^0.6.1",
|
|
78
|
-
"typescript": "~6.0.3",
|
|
79
|
-
"vite": "^8.1.0",
|
|
80
|
-
"vitest": "~4.1.9",
|
|
81
|
-
"zod": "^4.4.3",
|
|
82
|
-
"@xyo-network/account": "~7.0.4",
|
|
83
|
-
"@xyo-network/hash": "~7.0.4",
|
|
84
|
-
"@xyo-network/address": "~7.0.4",
|
|
85
|
-
"@xyo-network/schema-name-validator": "~7.0.4"
|
|
62
|
+
"typescript": "~6.0.3"
|
|
86
63
|
},
|
|
87
64
|
"peerDependencies": {
|
|
65
|
+
"@ariestools/sdk": "^7.0.4",
|
|
88
66
|
"@bitauth/libauth": "~3.0",
|
|
67
|
+
"@noble/post-quantum": "~0.6.1",
|
|
89
68
|
"@opentelemetry/api": "^1.9",
|
|
90
69
|
"@opentelemetry/sdk-trace-base": "^2.7",
|
|
91
70
|
"@scure/base": "~2.2",
|
|
92
|
-
"@
|
|
71
|
+
"@scure/bip39": "~2.2",
|
|
72
|
+
"@xylabs/geo": "^7.0",
|
|
93
73
|
"@xylabs/threads": "^7.0",
|
|
74
|
+
"ajv": "^8.20",
|
|
94
75
|
"async-mutex": "^0.5",
|
|
95
76
|
"debug": "^4.4",
|
|
96
77
|
"ethers": "^6.16",
|
|
97
78
|
"hash-wasm": "~4.12",
|
|
79
|
+
"idb": "^8.0",
|
|
98
80
|
"observable-fns": "^0.6",
|
|
99
81
|
"zod": "^4.4"
|
|
100
82
|
},
|