@xyo-network/api 3.6.11 → 3.7.0

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/api",
3
- "version": "3.6.11",
3
+ "version": "3.7.0",
4
4
  "description": "Primary SDK for using XYO Protocol 2.0",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -30,10 +30,10 @@
30
30
  "types": "dist/neutral/index.d.ts",
31
31
  "dependencies": {
32
32
  "@xylabs/axios": "^4.5.1",
33
- "@xyo-network/api-models": "^3.6.11",
34
- "@xyo-network/diviner-model": "^3.6.11",
35
- "@xyo-network/huri": "^3.6.11",
36
- "@xyo-network/payload-model": "^3.6.11",
33
+ "@xyo-network/api-models": "^3.7.0",
34
+ "@xyo-network/diviner-model": "^3.7.0",
35
+ "@xyo-network/huri": "^3.7.0",
36
+ "@xyo-network/payload-model": "^3.7.0",
37
37
  "axios": "^1.7.9"
38
38
  },
39
39
  "devDependencies": {
@@ -43,9 +43,9 @@
43
43
  "@xylabs/ts-scripts-yarn3": "^4.2.6",
44
44
  "@xylabs/tsconfig": "^4.2.6",
45
45
  "@xylabs/vitest-extended": "^4.5.1",
46
- "@xyo-network/boundwitness-model": "^3.6.11",
47
- "@xyo-network/module-model": "^3.6.11",
48
- "@xyo-network/query-payload-plugin": "^3.6.11",
46
+ "@xyo-network/boundwitness-model": "^3.7.0",
47
+ "@xyo-network/module-model": "^3.7.0",
48
+ "@xyo-network/query-payload-plugin": "^3.7.0",
49
49
  "typescript": "^5.7.3",
50
50
  "uuid": "^11.0.5",
51
51
  "vitest": "^3.0.4"
@@ -1,3 +0,0 @@
1
- export * from './testBoundWitness.ts';
2
- export * from './testPayload.ts';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Test/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA;AACrC,cAAc,kBAAkB,CAAA"}
@@ -1,4 +0,0 @@
1
- import type { BoundWitness } from '@xyo-network/boundwitness-model';
2
- declare const testBoundWitness: BoundWitness;
3
- export { testBoundWitness };
4
- //# sourceMappingURL=testBoundWitness.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"testBoundWitness.d.ts","sourceRoot":"","sources":["../../../src/Test/testBoundWitness.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAA;AAGnE,QAAA,MAAM,gBAAgB,EAAE,YAOP,CAAA;AAEjB,OAAO,EAAE,gBAAgB,EAAE,CAAA"}
@@ -1,6 +0,0 @@
1
- import type { StringKeyObject } from '@xylabs/object';
2
- import type { Payload } from '@xyo-network/payload-model';
3
- declare const testSchema = "network.xyo.test";
4
- declare const testPayload: Payload<StringKeyObject>;
5
- export { testPayload, testSchema };
6
- //# sourceMappingURL=testPayload.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"testPayload.d.ts","sourceRoot":"","sources":["../../../src/Test/testPayload.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AACrD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEzD,QAAA,MAAM,UAAU,qBAAqB,CAAA;AACrC,QAAA,MAAM,WAAW,EAAE,OAAO,CAAC,eAAe,CAUzC,CAAA;AAED,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,CAAA"}
package/src/Test/index.ts DELETED
@@ -1,2 +0,0 @@
1
- export * from './testBoundWitness.ts'
2
- export * from './testPayload.ts'
@@ -1,13 +0,0 @@
1
- import type { BoundWitness } from '@xyo-network/boundwitness-model'
2
- import { BoundWitnessSchema } from '@xyo-network/boundwitness-model'
3
-
4
- const testBoundWitness: BoundWitness = {
5
- $signatures: ['95100e5fd2012b958e96895870cfac5353c3a33a19314cfd1304ef7d01d052ec2a3ef80d6449cf88d463027fe0d868ed8cfb8b7323d37e93a08570233eea0b17'],
6
- addresses: ['5346a2ce56ec4177b67092bda710e150ba6fa046'],
7
- payload_hashes: ['20e14207f952a09f767ff614a648546c037fe524ace0bfe55db31f818aff1f1c'],
8
- payload_schemas: ['network.xyo.test'],
9
- previous_hashes: [null],
10
- schema: BoundWitnessSchema,
11
- } as BoundWitness
12
-
13
- export { testBoundWitness }
@@ -1,17 +0,0 @@
1
- import type { StringKeyObject } from '@xylabs/object'
2
- import type { Payload } from '@xyo-network/payload-model'
3
-
4
- const testSchema = 'network.xyo.test'
5
- const testPayload: Payload<StringKeyObject> = {
6
- _hash: '20e14207f952a09f767ff614a648546c037fe524ace0bfe55db31f818aff1f1c',
7
- _timestamp: 1_609_459_255_555,
8
- numberField: 1,
9
- objectField: {
10
- numberField: 1,
11
- stringField: 'stringValue',
12
- },
13
- schema: testSchema,
14
- stringField: 'stringValue',
15
- }
16
-
17
- export { testPayload, testSchema }