@xyo-network/api 3.6.0-rc.1 → 3.6.0-rc.10
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.
@@ -3,10 +3,10 @@ import { Huri } from '@xyo-network/huri';
|
|
3
3
|
import type { Payload } from '@xyo-network/payload-model';
|
4
4
|
import { ApiSimple } from '../Simple.ts';
|
5
5
|
export declare class ArchivistApi<C extends ApiConfig = ApiConfig> extends ApiSimple<Payload[], C> {
|
6
|
-
huri(huri: Huri | string): ApiSimple<{
|
7
|
-
schema:
|
8
|
-
}
|
9
|
-
schema:
|
10
|
-
}
|
6
|
+
huri(huri: Huri | string): ApiSimple<import("@xylabs/object").DeepRestrictToStringKeys<{
|
7
|
+
schema: import("@xyo-network/payload-model").Schema;
|
8
|
+
}>, import("@xylabs/object").DeepRestrictToStringKeys<{
|
9
|
+
schema: import("@xyo-network/payload-model").Schema;
|
10
|
+
}>, import("@xyo-network/payload-model").PayloadFindFilter, ApiConfig>;
|
11
11
|
}
|
12
12
|
//# sourceMappingURL=Api.d.ts.map
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@xyo-network/api",
|
3
|
-
"version": "3.6.0-rc.
|
3
|
+
"version": "3.6.0-rc.10",
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
5
5
|
"homepage": "https://xyo.network",
|
6
6
|
"bugs": {
|
@@ -29,23 +29,23 @@
|
|
29
29
|
"module": "dist/neutral/index.mjs",
|
30
30
|
"types": "dist/neutral/index.d.ts",
|
31
31
|
"dependencies": {
|
32
|
-
"@xylabs/axios": "^4.4.
|
33
|
-
"@xylabs/object": "^4.4.
|
34
|
-
"@xyo-network/api-models": "^3.6.0-rc.
|
35
|
-
"@xyo-network/boundwitness-model": "^3.6.0-rc.
|
36
|
-
"@xyo-network/diviner-model": "^3.6.0-rc.
|
37
|
-
"@xyo-network/huri": "^3.6.0-rc.
|
38
|
-
"@xyo-network/payload-model": "^3.6.0-rc.
|
32
|
+
"@xylabs/axios": "^4.4.21",
|
33
|
+
"@xylabs/object": "^4.4.21",
|
34
|
+
"@xyo-network/api-models": "^3.6.0-rc.10",
|
35
|
+
"@xyo-network/boundwitness-model": "^3.6.0-rc.10",
|
36
|
+
"@xyo-network/diviner-model": "^3.6.0-rc.10",
|
37
|
+
"@xyo-network/huri": "^3.6.0-rc.10",
|
38
|
+
"@xyo-network/payload-model": "^3.6.0-rc.10",
|
39
39
|
"axios": "^1.7.9"
|
40
40
|
},
|
41
41
|
"devDependencies": {
|
42
|
-
"@types/node": "^22.10.
|
42
|
+
"@types/node": "^22.10.2",
|
43
43
|
"@types/uuid": "^10.0.0",
|
44
|
-
"@xylabs/ts-scripts-yarn3": "^4.2.
|
45
|
-
"@xylabs/tsconfig": "^4.2.
|
46
|
-
"@xylabs/vitest-extended": "^4.4.
|
47
|
-
"@xyo-network/module-model": "^3.6.0-rc.
|
48
|
-
"@xyo-network/query-payload-plugin": "^3.6.0-rc.
|
44
|
+
"@xylabs/ts-scripts-yarn3": "^4.2.6",
|
45
|
+
"@xylabs/tsconfig": "^4.2.6",
|
46
|
+
"@xylabs/vitest-extended": "^4.4.21",
|
47
|
+
"@xyo-network/module-model": "^3.6.0-rc.10",
|
48
|
+
"@xyo-network/query-payload-plugin": "^3.6.0-rc.10",
|
49
49
|
"typescript": "^5.7.2",
|
50
50
|
"uuid": "^11.0.3",
|
51
51
|
"vitest": "^2.1.8"
|
@@ -2,7 +2,7 @@ import type { BoundWitness } from '@xyo-network/boundwitness-model'
|
|
2
2
|
import { BoundWitnessSchema } from '@xyo-network/boundwitness-model'
|
3
3
|
|
4
4
|
const testBoundWitness: BoundWitness = {
|
5
|
-
$
|
5
|
+
$signatures: ['95100e5fd2012b958e96895870cfac5353c3a33a19314cfd1304ef7d01d052ec2a3ef80d6449cf88d463027fe0d868ed8cfb8b7323d37e93a08570233eea0b17'],
|
6
6
|
addresses: ['5346a2ce56ec4177b67092bda710e150ba6fa046'],
|
7
7
|
payload_hashes: ['20e14207f952a09f767ff614a648546c037fe524ace0bfe55db31f818aff1f1c'],
|
8
8
|
payload_schemas: ['network.xyo.test'],
|