@xyo-network/payload-utils 4.1.2 → 4.1.3
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/index.d.ts +4 -29
- package/dist/neutral/index.d.ts +4 -29
- package/dist/node/index.d.ts +4 -29
- package/package.json +12 -12
package/dist/browser/index.d.ts
CHANGED
|
@@ -1,29 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Returns tuples of bound witnesses and their payloads from the supplied payloads. Omits
|
|
7
|
-
* bound witnesses where the payloads were not included in the supplied payloads.
|
|
8
|
-
* @param payloads An array of bound witnesses and payloads
|
|
9
|
-
* @returns An array of tuples of bound witnesses and their payloads
|
|
10
|
-
*/
|
|
11
|
-
declare const combinationsByBoundwitness: (payloads: Payload[]) => Promise<[BoundWitness, ...Payload[]][]>;
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* Returns the unique combinations of payloads for the given schemas
|
|
15
|
-
* @param payloads An array of payloads
|
|
16
|
-
* @param schemas An array of schemas
|
|
17
|
-
* @returns An array of unique combinations of payloads
|
|
18
|
-
*/
|
|
19
|
-
declare const combinationsBySchema: (payloads: Payload[], schemas: string[]) => Promise<Payload[][]>;
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Returns all the possible combinations of payloads for the supplied schemas within the bound witness
|
|
23
|
-
* @param boundwitness The bound witness to search
|
|
24
|
-
* @param schemas The schemas to search for unique combinations of
|
|
25
|
-
* @returns The payload hashes corresponding to the unique combinations of the supplied schemas
|
|
26
|
-
*/
|
|
27
|
-
declare const intraBoundwitnessSchemaCombinations: (boundwitness: BoundWitness, schemas: Schema[]) => Hash[][];
|
|
28
|
-
|
|
29
|
-
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
|
package/dist/neutral/index.d.ts
CHANGED
|
@@ -1,29 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Returns tuples of bound witnesses and their payloads from the supplied payloads. Omits
|
|
7
|
-
* bound witnesses where the payloads were not included in the supplied payloads.
|
|
8
|
-
* @param payloads An array of bound witnesses and payloads
|
|
9
|
-
* @returns An array of tuples of bound witnesses and their payloads
|
|
10
|
-
*/
|
|
11
|
-
declare const combinationsByBoundwitness: (payloads: Payload[]) => Promise<[BoundWitness, ...Payload[]][]>;
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* Returns the unique combinations of payloads for the given schemas
|
|
15
|
-
* @param payloads An array of payloads
|
|
16
|
-
* @param schemas An array of schemas
|
|
17
|
-
* @returns An array of unique combinations of payloads
|
|
18
|
-
*/
|
|
19
|
-
declare const combinationsBySchema: (payloads: Payload[], schemas: string[]) => Promise<Payload[][]>;
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Returns all the possible combinations of payloads for the supplied schemas within the bound witness
|
|
23
|
-
* @param boundwitness The bound witness to search
|
|
24
|
-
* @param schemas The schemas to search for unique combinations of
|
|
25
|
-
* @returns The payload hashes corresponding to the unique combinations of the supplied schemas
|
|
26
|
-
*/
|
|
27
|
-
declare const intraBoundwitnessSchemaCombinations: (boundwitness: BoundWitness, schemas: Schema[]) => Hash[][];
|
|
28
|
-
|
|
29
|
-
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
|
package/dist/node/index.d.ts
CHANGED
|
@@ -1,29 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Returns tuples of bound witnesses and their payloads from the supplied payloads. Omits
|
|
7
|
-
* bound witnesses where the payloads were not included in the supplied payloads.
|
|
8
|
-
* @param payloads An array of bound witnesses and payloads
|
|
9
|
-
* @returns An array of tuples of bound witnesses and their payloads
|
|
10
|
-
*/
|
|
11
|
-
declare const combinationsByBoundwitness: (payloads: Payload[]) => Promise<[BoundWitness, ...Payload[]][]>;
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* Returns the unique combinations of payloads for the given schemas
|
|
15
|
-
* @param payloads An array of payloads
|
|
16
|
-
* @param schemas An array of schemas
|
|
17
|
-
* @returns An array of unique combinations of payloads
|
|
18
|
-
*/
|
|
19
|
-
declare const combinationsBySchema: (payloads: Payload[], schemas: string[]) => Promise<Payload[][]>;
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Returns all the possible combinations of payloads for the supplied schemas within the bound witness
|
|
23
|
-
* @param boundwitness The bound witness to search
|
|
24
|
-
* @param schemas The schemas to search for unique combinations of
|
|
25
|
-
* @returns The payload hashes corresponding to the unique combinations of the supplied schemas
|
|
26
|
-
*/
|
|
27
|
-
declare const intraBoundwitnessSchemaCombinations: (boundwitness: BoundWitness, schemas: Schema[]) => Hash[][];
|
|
28
|
-
|
|
29
|
-
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
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/payload-utils",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.3",
|
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -29,19 +29,19 @@
|
|
|
29
29
|
"module": "dist/neutral/index.mjs",
|
|
30
30
|
"types": "dist/neutral/index.d.ts",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@xylabs/exists": "^4.13.
|
|
33
|
-
"@xylabs/hex": "^4.13.
|
|
34
|
-
"@xylabs/set": "^4.13.
|
|
35
|
-
"@xyo-network/boundwitness-model": "^4.1.
|
|
36
|
-
"@xyo-network/hash": "^4.1.
|
|
37
|
-
"@xyo-network/payload-builder": "^4.1.
|
|
38
|
-
"@xyo-network/payload-model": "^4.1.
|
|
32
|
+
"@xylabs/exists": "^4.13.16",
|
|
33
|
+
"@xylabs/hex": "^4.13.16",
|
|
34
|
+
"@xylabs/set": "^4.13.16",
|
|
35
|
+
"@xyo-network/boundwitness-model": "^4.1.3",
|
|
36
|
+
"@xyo-network/hash": "^4.1.3",
|
|
37
|
+
"@xyo-network/payload-builder": "^4.1.3",
|
|
38
|
+
"@xyo-network/payload-model": "^4.1.3"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@xylabs/ts-scripts-yarn3": "^7.0.0-rc.
|
|
42
|
-
"@xylabs/tsconfig": "^7.0.0-rc.
|
|
43
|
-
"@xylabs/vitest-extended": "^4.13.
|
|
44
|
-
"@xyo-network/boundwitness-builder": "^4.1.
|
|
41
|
+
"@xylabs/ts-scripts-yarn3": "^7.0.0-rc.27",
|
|
42
|
+
"@xylabs/tsconfig": "^7.0.0-rc.27",
|
|
43
|
+
"@xylabs/vitest-extended": "^4.13.16",
|
|
44
|
+
"@xyo-network/boundwitness-builder": "^4.1.3",
|
|
45
45
|
"typescript": "^5.8.3",
|
|
46
46
|
"vitest": "^3.2.4"
|
|
47
47
|
},
|