@xyo-network/payload-utils 3.0.7 → 3.0.9

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.
@@ -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,3 @@
1
+ import type { Payload } from '@xyo-network/payload-model';
2
+ export declare const combinationsBySchema: (payloads: Payload[], schemas: string[]) => Promise<Payload[][]>;
3
+ //# sourceMappingURL=combinationsBySchema.d.ts.map
@@ -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"}
@@ -1,11 +1,4 @@
1
- import { BoundWitness } from '@xyo-network/boundwitness-model';
2
- import { Payload, Schema } from '@xyo-network/payload-model';
3
- import { Hash } from '@xylabs/hex';
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,3 @@
1
+ import type { Payload } from '@xyo-network/payload-model';
2
+ export declare const combinationsBySchema: (payloads: Payload[], schemas: string[]) => Promise<Payload[][]>;
3
+ //# sourceMappingURL=combinationsBySchema.d.ts.map
@@ -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"}
@@ -1,11 +1,4 @@
1
- import { BoundWitness } from '@xyo-network/boundwitness-model';
2
- import { Payload, Schema } from '@xyo-network/payload-model';
3
- import { Hash } from '@xylabs/hex';
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,3 @@
1
+ import type { Payload } from '@xyo-network/payload-model';
2
+ export declare const combinationsBySchema: (payloads: Payload[], schemas: string[]) => Promise<Payload[][]>;
3
+ //# sourceMappingURL=combinationsBySchema.d.ts.map
@@ -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"}
@@ -1,11 +1,4 @@
1
- import { BoundWitness } from '@xyo-network/boundwitness-model';
2
- import { Payload, Schema } from '@xyo-network/payload-model';
3
- import { Hash } from '@xylabs/hex';
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,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/payload-utils",
3
- "version": "3.0.7",
3
+ "version": "3.0.9",
4
4
  "description": "Primary SDK for using XYO Protocol 2.0",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -29,18 +29,18 @@
29
29
  "module": "dist/neutral/index.mjs",
30
30
  "types": "dist/neutral/index.d.ts",
31
31
  "dependencies": {
32
- "@xylabs/exists": "^4.0.2",
33
- "@xylabs/hex": "^4.0.2",
34
- "@xylabs/set": "^4.0.2",
35
- "@xyo-network/boundwitness-model": "^3.0.7",
36
- "@xyo-network/hash": "^3.0.7",
37
- "@xyo-network/payload-builder": "^3.0.7",
38
- "@xyo-network/payload-model": "^3.0.7"
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.9",
36
+ "@xyo-network/hash": "^3.0.9",
37
+ "@xyo-network/payload-builder": "^3.0.9",
38
+ "@xyo-network/payload-model": "^3.0.9"
39
39
  },
40
40
  "devDependencies": {
41
- "@xylabs/ts-scripts-yarn3": "^4.0.0",
42
- "@xylabs/tsconfig": "^4.0.0",
43
- "@xyo-network/boundwitness-builder": "^3.0.7",
41
+ "@xylabs/ts-scripts-yarn3": "^4.0.7",
42
+ "@xylabs/tsconfig": "^4.0.7",
43
+ "@xyo-network/boundwitness-builder": "^3.0.9",
44
44
  "typescript": "^5.5.4"
45
45
  },
46
46
  "publishConfig": {