@xyo-network/payload-utils 3.0.6 → 3.0.8
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/dist/browser/combinationsByBoundwitness.d.ts +4 -0
- package/dist/browser/combinationsByBoundwitness.d.ts.map +1 -0
- package/dist/browser/combinationsBySchema.d.ts +3 -0
- package/dist/browser/combinationsBySchema.d.ts.map +1 -0
- package/dist/browser/index.d.ts +4 -11
- package/dist/browser/index.d.ts.map +1 -0
- package/dist/browser/intraBoundwitnessSchemaCombinations.d.ts +5 -0
- package/dist/browser/intraBoundwitnessSchemaCombinations.d.ts.map +1 -0
- package/dist/neutral/combinationsByBoundwitness.d.ts +4 -0
- package/dist/neutral/combinationsByBoundwitness.d.ts.map +1 -0
- package/dist/neutral/combinationsBySchema.d.ts +3 -0
- package/dist/neutral/combinationsBySchema.d.ts.map +1 -0
- package/dist/neutral/index.d.ts +4 -11
- package/dist/neutral/index.d.ts.map +1 -0
- package/dist/neutral/intraBoundwitnessSchemaCombinations.d.ts +5 -0
- package/dist/neutral/intraBoundwitnessSchemaCombinations.d.ts.map +1 -0
- package/dist/node/combinationsByBoundwitness.d.ts +4 -0
- package/dist/node/combinationsByBoundwitness.d.ts.map +1 -0
- package/dist/node/combinationsBySchema.d.ts +3 -0
- package/dist/node/combinationsBySchema.d.ts.map +1 -0
- package/dist/node/index.d.ts +4 -11
- package/dist/node/index.d.ts.map +1 -0
- package/dist/node/intraBoundwitnessSchemaCombinations.d.ts +5 -0
- package/dist/node/intraBoundwitnessSchemaCombinations.d.ts.map +1 -0
- package/package.json +32 -32
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { BoundWitness } from '@xyo-network/boundwitness-model';
|
|
2
|
+
import type { Payload } from '@xyo-network/payload-model';
|
|
3
|
+
export declare const combinationsByBoundwitness: (payloads: Payload[]) => Promise<[BoundWitness, ...Payload[]][]>;
|
|
4
|
+
//# sourceMappingURL=combinationsByBoundwitness.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"combinationsByBoundwitness.d.ts","sourceRoot":"","sources":["../../src/combinationsByBoundwitness.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAA;AAGnE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAQzD,eAAO,MAAM,0BAA0B,aAAoB,OAAO,EAAE,KAAG,OAAO,CAAC,CAAC,YAAY,EAAE,GAAG,OAAO,EAAE,CAAC,EAAE,CAc5G,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"combinationsBySchema.d.ts","sourceRoot":"","sources":["../../src/combinationsBySchema.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAmBzD,eAAO,MAAM,oBAAoB,aAAoB,OAAO,EAAE,WAAW,MAAM,EAAE,KAAG,OAAO,CAAC,OAAO,EAAE,EAAE,CA8CtG,CAAA"}
|
package/dist/browser/index.d.ts
CHANGED
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
declare const combinationsByBoundwitness: (payloads: Payload[]) => Promise<[BoundWitness, ...Payload[]][]>;
|
|
6
|
-
|
|
7
|
-
declare const combinationsBySchema: (payloads: Payload[], schemas: string[]) => Promise<Payload[][]>;
|
|
8
|
-
|
|
9
|
-
declare const intraBoundwitnessSchemaCombinations: (boundwitness: BoundWitness, schemas: Schema[]) => Hash[][];
|
|
10
|
-
|
|
11
|
-
export { combinationsByBoundwitness, combinationsBySchema, intraBoundwitnessSchemaCombinations };
|
|
1
|
+
export * from './combinationsByBoundwitness.ts';
|
|
2
|
+
export * from './combinationsBySchema.ts';
|
|
3
|
+
export * from './intraBoundwitnessSchemaCombinations.ts';
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAA;AAC/C,cAAc,2BAA2B,CAAA;AACzC,cAAc,0CAA0C,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { Hash } from '@xylabs/hex';
|
|
2
|
+
import type { BoundWitness } from '@xyo-network/boundwitness-model';
|
|
3
|
+
import type { Schema } from '@xyo-network/payload-model';
|
|
4
|
+
export declare const intraBoundwitnessSchemaCombinations: (boundwitness: BoundWitness, schemas: Schema[]) => Hash[][];
|
|
5
|
+
//# sourceMappingURL=intraBoundwitnessSchemaCombinations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"intraBoundwitnessSchemaCombinations.d.ts","sourceRoot":"","sources":["../../src/intraBoundwitnessSchemaCombinations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAA;AACnE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AAQxD,eAAO,MAAM,mCAAmC,iBAAkB,YAAY,WAAW,MAAM,EAAE,KAAG,IAAI,EAAE,EA6CzG,CAAA"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { BoundWitness } from '@xyo-network/boundwitness-model';
|
|
2
|
+
import type { Payload } from '@xyo-network/payload-model';
|
|
3
|
+
export declare const combinationsByBoundwitness: (payloads: Payload[]) => Promise<[BoundWitness, ...Payload[]][]>;
|
|
4
|
+
//# sourceMappingURL=combinationsByBoundwitness.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"combinationsByBoundwitness.d.ts","sourceRoot":"","sources":["../../src/combinationsByBoundwitness.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAA;AAGnE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAQzD,eAAO,MAAM,0BAA0B,aAAoB,OAAO,EAAE,KAAG,OAAO,CAAC,CAAC,YAAY,EAAE,GAAG,OAAO,EAAE,CAAC,EAAE,CAc5G,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"combinationsBySchema.d.ts","sourceRoot":"","sources":["../../src/combinationsBySchema.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAmBzD,eAAO,MAAM,oBAAoB,aAAoB,OAAO,EAAE,WAAW,MAAM,EAAE,KAAG,OAAO,CAAC,OAAO,EAAE,EAAE,CA8CtG,CAAA"}
|
package/dist/neutral/index.d.ts
CHANGED
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
declare const combinationsByBoundwitness: (payloads: Payload[]) => Promise<[BoundWitness, ...Payload[]][]>;
|
|
6
|
-
|
|
7
|
-
declare const combinationsBySchema: (payloads: Payload[], schemas: string[]) => Promise<Payload[][]>;
|
|
8
|
-
|
|
9
|
-
declare const intraBoundwitnessSchemaCombinations: (boundwitness: BoundWitness, schemas: Schema[]) => Hash[][];
|
|
10
|
-
|
|
11
|
-
export { combinationsByBoundwitness, combinationsBySchema, intraBoundwitnessSchemaCombinations };
|
|
1
|
+
export * from './combinationsByBoundwitness.ts';
|
|
2
|
+
export * from './combinationsBySchema.ts';
|
|
3
|
+
export * from './intraBoundwitnessSchemaCombinations.ts';
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAA;AAC/C,cAAc,2BAA2B,CAAA;AACzC,cAAc,0CAA0C,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { Hash } from '@xylabs/hex';
|
|
2
|
+
import type { BoundWitness } from '@xyo-network/boundwitness-model';
|
|
3
|
+
import type { Schema } from '@xyo-network/payload-model';
|
|
4
|
+
export declare const intraBoundwitnessSchemaCombinations: (boundwitness: BoundWitness, schemas: Schema[]) => Hash[][];
|
|
5
|
+
//# sourceMappingURL=intraBoundwitnessSchemaCombinations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"intraBoundwitnessSchemaCombinations.d.ts","sourceRoot":"","sources":["../../src/intraBoundwitnessSchemaCombinations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAA;AACnE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AAQxD,eAAO,MAAM,mCAAmC,iBAAkB,YAAY,WAAW,MAAM,EAAE,KAAG,IAAI,EAAE,EA6CzG,CAAA"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { BoundWitness } from '@xyo-network/boundwitness-model';
|
|
2
|
+
import type { Payload } from '@xyo-network/payload-model';
|
|
3
|
+
export declare const combinationsByBoundwitness: (payloads: Payload[]) => Promise<[BoundWitness, ...Payload[]][]>;
|
|
4
|
+
//# sourceMappingURL=combinationsByBoundwitness.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"combinationsByBoundwitness.d.ts","sourceRoot":"","sources":["../../src/combinationsByBoundwitness.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAA;AAGnE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAQzD,eAAO,MAAM,0BAA0B,aAAoB,OAAO,EAAE,KAAG,OAAO,CAAC,CAAC,YAAY,EAAE,GAAG,OAAO,EAAE,CAAC,EAAE,CAc5G,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"combinationsBySchema.d.ts","sourceRoot":"","sources":["../../src/combinationsBySchema.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAmBzD,eAAO,MAAM,oBAAoB,aAAoB,OAAO,EAAE,WAAW,MAAM,EAAE,KAAG,OAAO,CAAC,OAAO,EAAE,EAAE,CA8CtG,CAAA"}
|
package/dist/node/index.d.ts
CHANGED
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
declare const combinationsByBoundwitness: (payloads: Payload[]) => Promise<[BoundWitness, ...Payload[]][]>;
|
|
6
|
-
|
|
7
|
-
declare const combinationsBySchema: (payloads: Payload[], schemas: string[]) => Promise<Payload[][]>;
|
|
8
|
-
|
|
9
|
-
declare const intraBoundwitnessSchemaCombinations: (boundwitness: BoundWitness, schemas: Schema[]) => Hash[][];
|
|
10
|
-
|
|
11
|
-
export { combinationsByBoundwitness, combinationsBySchema, intraBoundwitnessSchemaCombinations };
|
|
1
|
+
export * from './combinationsByBoundwitness.ts';
|
|
2
|
+
export * from './combinationsBySchema.ts';
|
|
3
|
+
export * from './intraBoundwitnessSchemaCombinations.ts';
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAA;AAC/C,cAAc,2BAA2B,CAAA;AACzC,cAAc,0CAA0C,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { Hash } from '@xylabs/hex';
|
|
2
|
+
import type { BoundWitness } from '@xyo-network/boundwitness-model';
|
|
3
|
+
import type { Schema } from '@xyo-network/payload-model';
|
|
4
|
+
export declare const intraBoundwitnessSchemaCombinations: (boundwitness: BoundWitness, schemas: Schema[]) => Hash[][];
|
|
5
|
+
//# sourceMappingURL=intraBoundwitnessSchemaCombinations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"intraBoundwitnessSchemaCombinations.d.ts","sourceRoot":"","sources":["../../src/intraBoundwitnessSchemaCombinations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAA;AACnE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AAQxD,eAAO,MAAM,mCAAmC,iBAAkB,YAAY,WAAW,MAAM,EAAE,KAAG,IAAI,EAAE,EA6CzG,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,30 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/payload-utils",
|
|
3
|
-
"
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
"url": "https://xyo.network"
|
|
7
|
-
},
|
|
3
|
+
"version": "3.0.8",
|
|
4
|
+
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
|
+
"homepage": "https://xyo.network",
|
|
8
6
|
"bugs": {
|
|
9
|
-
"
|
|
10
|
-
"
|
|
7
|
+
"url": "git+https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues",
|
|
8
|
+
"email": "support@xyo.network"
|
|
11
9
|
},
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"@xylabs/set": "^4.0.2",
|
|
16
|
-
"@xyo-network/boundwitness-model": "^3.0.6",
|
|
17
|
-
"@xyo-network/hash": "^3.0.6",
|
|
18
|
-
"@xyo-network/payload-builder": "^3.0.6",
|
|
19
|
-
"@xyo-network/payload-model": "^3.0.6"
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "git+https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
|
|
20
13
|
},
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
14
|
+
"license": "LGPL-3.0-only",
|
|
15
|
+
"author": {
|
|
16
|
+
"name": "XYO Development Team",
|
|
17
|
+
"email": "support@xyo.network",
|
|
18
|
+
"url": "https://xyo.network"
|
|
26
19
|
},
|
|
27
|
-
"
|
|
20
|
+
"sideEffects": false,
|
|
21
|
+
"type": "module",
|
|
28
22
|
"exports": {
|
|
29
23
|
".": {
|
|
30
24
|
"types": "./dist/neutral/index.d.ts",
|
|
@@ -33,17 +27,23 @@
|
|
|
33
27
|
"./package.json": "./package.json"
|
|
34
28
|
},
|
|
35
29
|
"module": "dist/neutral/index.mjs",
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
|
|
39
|
-
"
|
|
30
|
+
"types": "dist/neutral/index.d.ts",
|
|
31
|
+
"dependencies": {
|
|
32
|
+
"@xylabs/exists": "^4.0.3",
|
|
33
|
+
"@xylabs/hex": "^4.0.3",
|
|
34
|
+
"@xylabs/set": "^4.0.3",
|
|
35
|
+
"@xyo-network/boundwitness-model": "^3.0.8",
|
|
36
|
+
"@xyo-network/hash": "^3.0.8",
|
|
37
|
+
"@xyo-network/payload-builder": "^3.0.8",
|
|
38
|
+
"@xyo-network/payload-model": "^3.0.8"
|
|
40
39
|
},
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
40
|
+
"devDependencies": {
|
|
41
|
+
"@xylabs/ts-scripts-yarn3": "^4.0.7",
|
|
42
|
+
"@xylabs/tsconfig": "^4.0.7",
|
|
43
|
+
"@xyo-network/boundwitness-builder": "^3.0.8",
|
|
44
|
+
"typescript": "^5.5.4"
|
|
44
45
|
},
|
|
45
|
-
"
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
"type": "module"
|
|
46
|
+
"publishConfig": {
|
|
47
|
+
"access": "public"
|
|
48
|
+
}
|
|
49
49
|
}
|