@xyo-network/boundwitness-model 7.0.5 → 7.0.7
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/README.md +1 -47
- package/dist/neutral/index.d.ts +5 -2
- package/dist/neutral/index.d.ts.map +1 -1
- package/dist/neutral/index.mjs +2 -130
- package/dist/neutral/index.mjs.map +4 -4
- package/package.json +19 -16
- package/dist/neutral/BoundWitness/BoundWitness.d.ts +0 -173
- package/dist/neutral/BoundWitness/BoundWitness.d.ts.map +0 -1
- package/dist/neutral/BoundWitness/BoundWitnessJsonSchema.d.ts +0 -37
- package/dist/neutral/BoundWitness/BoundWitnessJsonSchema.d.ts.map +0 -1
- package/dist/neutral/BoundWitness/BoundWitnessSchema.d.ts +0 -5
- package/dist/neutral/BoundWitness/BoundWitnessSchema.d.ts.map +0 -1
- package/dist/neutral/BoundWitness/HydratedBoundWitness.d.ts +0 -72
- package/dist/neutral/BoundWitness/HydratedBoundWitness.d.ts.map +0 -1
- package/dist/neutral/BoundWitness/Signatures.d.ts +0 -14
- package/dist/neutral/BoundWitness/Signatures.d.ts.map +0 -1
- package/dist/neutral/BoundWitness/SignedBoundWitness.d.ts +0 -44
- package/dist/neutral/BoundWitness/SignedBoundWitness.d.ts.map +0 -1
- package/dist/neutral/BoundWitness/UnsignedBoundWitness.d.ts +0 -44
- package/dist/neutral/BoundWitness/UnsignedBoundWitness.d.ts.map +0 -1
- package/dist/neutral/BoundWitness/index.d.ts +0 -8
- package/dist/neutral/BoundWitness/index.d.ts.map +0 -1
- package/dist/neutral/QueryBoundWitness.d.ts +0 -150
- package/dist/neutral/QueryBoundWitness.d.ts.map +0 -1
package/README.md
CHANGED
|
@@ -1,49 +1,3 @@
|
|
|
1
|
-
[![logo][]](https://xyo.network)
|
|
2
|
-
|
|
3
1
|
# @xyo-network/boundwitness-model
|
|
4
2
|
|
|
5
|
-
|
|
6
|
-
[![license][license-badge]][license-link]
|
|
7
|
-
|
|
8
|
-
> Primary SDK for using XYO Protocol 2.0
|
|
9
|
-
|
|
10
|
-
## Install
|
|
11
|
-
|
|
12
|
-
Using npm:
|
|
13
|
-
|
|
14
|
-
```sh
|
|
15
|
-
npm install {{name}}
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
Using yarn:
|
|
19
|
-
|
|
20
|
-
```sh
|
|
21
|
-
yarn add {{name}}
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
Using pnpm:
|
|
25
|
-
|
|
26
|
-
```sh
|
|
27
|
-
pnpm add {{name}}
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
Using bun:
|
|
31
|
-
|
|
32
|
-
```sh
|
|
33
|
-
bun add {{name}}
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
## License
|
|
38
|
-
|
|
39
|
-
See the [LICENSE](LICENSE) file for license rights and limitations (LGPL-3.0-only).
|
|
40
|
-
|
|
41
|
-
## Credits
|
|
42
|
-
|
|
43
|
-
[Made with 🔥 and ❄️ by XYO Foundation](https://xyo.network)
|
|
44
|
-
|
|
45
|
-
[npm-badge]: https://img.shields.io/npm/v/@xyo-network/boundwitness-model.svg
|
|
46
|
-
[npm-link]: https://www.npmjs.com/package/@xyo-network/boundwitness-model
|
|
47
|
-
[license-badge]: https://img.shields.io/npm/l/@xyo-network/boundwitness-model.svg
|
|
48
|
-
[license-link]: https://github.com/xylabs/sdk-js/blob/main/LICENSE
|
|
49
|
-
[logo]: https://cdn.xy.company/img/brand/XYO_full_colored.png
|
|
3
|
+
Deprecated compatibility stub. Use `@xyo-network/sdk-protocol/boundwitness-model` instead.
|
package/dist/neutral/index.d.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @deprecated Use `@xyo-network/sdk-protocol/boundwitness-model` instead.
|
|
3
|
+
* `@xyo-network/boundwitness-model` is a backward-compatibility re-export stub.
|
|
4
|
+
*/
|
|
5
|
+
export * from '@xyo-network/sdk-protocol/boundwitness-model';
|
|
3
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,cAAc,8CAA8C,CAAA"}
|
package/dist/neutral/index.mjs
CHANGED
|
@@ -1,131 +1,3 @@
|
|
|
1
|
-
// src/
|
|
2
|
-
|
|
3
|
-
HashZod,
|
|
4
|
-
zodAsFactory,
|
|
5
|
-
zodIsFactory,
|
|
6
|
-
zodToFactory
|
|
7
|
-
} from "@xylabs/sdk";
|
|
8
|
-
import { XyoAddressZod } from "@xyo-network/address";
|
|
9
|
-
import { PayloadZod, SchemaZod } from "@xyo-network/payload-model";
|
|
10
|
-
import * as z2 from "zod/mini";
|
|
11
|
-
|
|
12
|
-
// src/BoundWitness/BoundWitnessSchema.ts
|
|
13
|
-
import { asSchema } from "@xyo-network/payload-model";
|
|
14
|
-
var BoundWitnessSchema = asSchema("network.xyo.boundwitness", true);
|
|
15
|
-
|
|
16
|
-
// src/BoundWitness/Signatures.ts
|
|
17
|
-
import { HexZod } from "@xylabs/sdk";
|
|
18
|
-
import * as z from "zod/mini";
|
|
19
|
-
var signatureOrNullZod = z.union([HexZod, z.null()]);
|
|
20
|
-
var SignaturesMetaZod = z.object({ $signatures: z.array(signatureOrNullZod) });
|
|
21
|
-
var UnsignedSignaturesMetaZod = z.object({ $signatures: z.array(z.null()) });
|
|
22
|
-
var SignedSignaturesMetaZod = z.object({ $signatures: z.array(HexZod).check(z.minLength(1)) });
|
|
23
|
-
|
|
24
|
-
// src/BoundWitness/BoundWitness.ts
|
|
25
|
-
var BoundWitnessRequiredFieldsZod = z2.object({
|
|
26
|
-
addresses: z2.array(XyoAddressZod),
|
|
27
|
-
payload_hashes: z2.array(HashZod),
|
|
28
|
-
payload_schemas: z2.array(SchemaZod),
|
|
29
|
-
previous_hashes: z2.array(z2.nullable(HashZod))
|
|
30
|
-
});
|
|
31
|
-
var BoundWitnessMetaZod = z2.extend(
|
|
32
|
-
z2.object({
|
|
33
|
-
$destination: z2.optional(XyoAddressZod),
|
|
34
|
-
$sourceQuery: z2.optional(HashZod)
|
|
35
|
-
}),
|
|
36
|
-
SignaturesMetaZod.shape
|
|
37
|
-
);
|
|
38
|
-
var BoundWitnessPayloadZod = z2.safeExtend(PayloadZod, { schema: z2.literal(BoundWitnessSchema) });
|
|
39
|
-
var BoundWitnessWithRequiredZod = z2.safeExtend(BoundWitnessPayloadZod, BoundWitnessRequiredFieldsZod.shape);
|
|
40
|
-
var BoundWitnessZod = z2.safeExtend(BoundWitnessWithRequiredZod, BoundWitnessMetaZod.shape);
|
|
41
|
-
var isBoundWitness = zodIsFactory(BoundWitnessZod);
|
|
42
|
-
var asBoundWitness = zodAsFactory(BoundWitnessZod, "asBoundWitness");
|
|
43
|
-
var toBoundWitness = zodToFactory(BoundWitnessZod, "toBoundWitness");
|
|
44
|
-
var AnyBoundWitnessZod = z2.looseObject(BoundWitnessZod.shape);
|
|
45
|
-
|
|
46
|
-
// src/BoundWitness/BoundWitnessJsonSchema.ts
|
|
47
|
-
var BoundWitnessJsonSchema = () => {
|
|
48
|
-
return {
|
|
49
|
-
$id: "https://schemas.xyo.network/2.0/boundwitness",
|
|
50
|
-
additionalProperties: false,
|
|
51
|
-
properties: {
|
|
52
|
-
addresses: { items: { type: "string" }, type: "array" },
|
|
53
|
-
payload_hashes: { items: { type: "string" }, type: "array" },
|
|
54
|
-
payload_schemas: { items: { type: "string" }, type: "array" },
|
|
55
|
-
previous_hashes: { items: { nullable: true, type: "string" }, type: "array" },
|
|
56
|
-
schema: { type: "string" }
|
|
57
|
-
},
|
|
58
|
-
required: ["addresses", "payload_hashes", "payload_schemas", "previous_hashes", "schema"],
|
|
59
|
-
type: "object"
|
|
60
|
-
};
|
|
61
|
-
};
|
|
62
|
-
|
|
63
|
-
// src/BoundWitness/HydratedBoundWitness.ts
|
|
64
|
-
import { AnyPayloadZod } from "@xyo-network/payload-model";
|
|
65
|
-
import * as z5 from "zod/mini";
|
|
66
|
-
|
|
67
|
-
// src/BoundWitness/SignedBoundWitness.ts
|
|
68
|
-
import * as z3 from "zod/mini";
|
|
69
|
-
var SignedBoundWitnessZod = z3.extend(BoundWitnessZod, SignedSignaturesMetaZod.shape);
|
|
70
|
-
var AnySignedBoundWitnessZod = z3.looseObject(SignedBoundWitnessZod.shape);
|
|
71
|
-
|
|
72
|
-
// src/BoundWitness/UnsignedBoundWitness.ts
|
|
73
|
-
import * as z4 from "zod/mini";
|
|
74
|
-
var UnsignedBoundWitnessZod = z4.extend(BoundWitnessZod, UnsignedSignaturesMetaZod.shape);
|
|
75
|
-
var AnyUnsignedBoundWitnessZod = z4.looseObject(UnsignedBoundWitnessZod.shape);
|
|
76
|
-
|
|
77
|
-
// src/BoundWitness/HydratedBoundWitness.ts
|
|
78
|
-
function HydratedBoundWitnessZodBuilder(bwZod) {
|
|
79
|
-
return z5.tuple([bwZod, z5.array(AnyPayloadZod)]);
|
|
80
|
-
}
|
|
81
|
-
var HydratedBoundWitnessZod = HydratedBoundWitnessZodBuilder(BoundWitnessZod);
|
|
82
|
-
var SignedHydratedBoundWitnessZod = HydratedBoundWitnessZodBuilder(SignedBoundWitnessZod);
|
|
83
|
-
var UnsignedHydratedBoundWitnessZod = HydratedBoundWitnessZodBuilder(UnsignedBoundWitnessZod);
|
|
84
|
-
|
|
85
|
-
// src/QueryBoundWitness.ts
|
|
86
|
-
import {
|
|
87
|
-
HashZod as HashZod2,
|
|
88
|
-
zodAsFactory as zodAsFactory2,
|
|
89
|
-
zodIsFactory as zodIsFactory2,
|
|
90
|
-
zodToFactory as zodToFactory2
|
|
91
|
-
} from "@xylabs/sdk";
|
|
92
|
-
import { isStorageMeta } from "@xyo-network/payload-model";
|
|
93
|
-
import * as z6 from "zod/mini";
|
|
94
|
-
var QueryBoundWitnessFieldsZod = z6.object({
|
|
95
|
-
error_hashes: z6.optional(z6.array(HashZod2)),
|
|
96
|
-
query: HashZod2
|
|
97
|
-
});
|
|
98
|
-
var QueryBoundWitnessZod = z6.safeExtend(BoundWitnessZod, QueryBoundWitnessFieldsZod.shape);
|
|
99
|
-
var isQueryBoundWitness = zodIsFactory2(QueryBoundWitnessZod);
|
|
100
|
-
var asQueryBoundWitness = zodAsFactory2(QueryBoundWitnessZod, "asQueryBoundWitness");
|
|
101
|
-
var toQueryBoundWitness = zodToFactory2(QueryBoundWitnessZod, "toQueryBoundWitness");
|
|
102
|
-
var isQueryBoundWitnessWithStorageMeta = (x) => isQueryBoundWitness(x) && isStorageMeta(x);
|
|
103
|
-
export {
|
|
104
|
-
AnyBoundWitnessZod,
|
|
105
|
-
AnySignedBoundWitnessZod,
|
|
106
|
-
AnyUnsignedBoundWitnessZod,
|
|
107
|
-
BoundWitnessJsonSchema,
|
|
108
|
-
BoundWitnessMetaZod,
|
|
109
|
-
BoundWitnessRequiredFieldsZod,
|
|
110
|
-
BoundWitnessSchema,
|
|
111
|
-
BoundWitnessZod,
|
|
112
|
-
HydratedBoundWitnessZod,
|
|
113
|
-
HydratedBoundWitnessZodBuilder,
|
|
114
|
-
QueryBoundWitnessFieldsZod,
|
|
115
|
-
QueryBoundWitnessZod,
|
|
116
|
-
SignaturesMetaZod,
|
|
117
|
-
SignedBoundWitnessZod,
|
|
118
|
-
SignedHydratedBoundWitnessZod,
|
|
119
|
-
SignedSignaturesMetaZod,
|
|
120
|
-
UnsignedBoundWitnessZod,
|
|
121
|
-
UnsignedHydratedBoundWitnessZod,
|
|
122
|
-
UnsignedSignaturesMetaZod,
|
|
123
|
-
asBoundWitness,
|
|
124
|
-
asQueryBoundWitness,
|
|
125
|
-
isBoundWitness,
|
|
126
|
-
isQueryBoundWitness,
|
|
127
|
-
isQueryBoundWitnessWithStorageMeta,
|
|
128
|
-
toBoundWitness,
|
|
129
|
-
toQueryBoundWitness
|
|
130
|
-
};
|
|
1
|
+
// src/index.ts
|
|
2
|
+
export * from "@xyo-network/sdk-protocol/boundwitness-model";
|
|
131
3
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["../../src/
|
|
4
|
-
"sourcesContent": ["
|
|
5
|
-
"mappings": ";
|
|
6
|
-
"names": [
|
|
3
|
+
"sources": ["../../src/index.ts"],
|
|
4
|
+
"sourcesContent": ["/**\n * @deprecated Use `@xyo-network/sdk-protocol/boundwitness-model` instead.\n * `@xyo-network/boundwitness-model` is a backward-compatibility re-export stub.\n */\nexport * from '@xyo-network/sdk-protocol/boundwitness-model'\n"],
|
|
5
|
+
"mappings": ";AAIA,cAAc;",
|
|
6
|
+
"names": []
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/boundwitness-model",
|
|
3
|
-
"version": "7.0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "7.0.7",
|
|
4
|
+
"description": "DEPRECATED - use @xyo-network/sdk-protocol/boundwitness-model. Backward-compatibility re-export stub for @xyo-network/boundwitness-model.",
|
|
5
|
+
"deprecated": "Use @xyo-network/sdk-protocol/boundwitness-model instead. @xyo-network/boundwitness-model is a backward-compatibility re-export stub and will not receive further updates.",
|
|
5
6
|
"homepage": "https://xyo.network",
|
|
6
7
|
"bugs": {
|
|
7
8
|
"url": "git+https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues",
|
|
@@ -34,31 +35,33 @@
|
|
|
34
35
|
"README.md"
|
|
35
36
|
],
|
|
36
37
|
"dependencies": {
|
|
37
|
-
"@xyo-network/
|
|
38
|
-
"@xyo-network/payload-model": "~7.0.5"
|
|
38
|
+
"@xyo-network/sdk-protocol": "~7.0.7"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@
|
|
42
|
-
"@
|
|
43
|
-
"@scure/base": "~2.2.0",
|
|
44
|
-
"@xylabs/sdk": "^7.0.1",
|
|
45
|
-
"@xylabs/toolchain": "~8.5.3",
|
|
46
|
-
"@xylabs/tsconfig": "~8.5.3",
|
|
47
|
-
"async-mutex": "^0.5.0",
|
|
41
|
+
"@xylabs/toolchain": "~8.5.13",
|
|
42
|
+
"@xylabs/tsconfig": "~8.5.13",
|
|
48
43
|
"browserslist": "4.28.4",
|
|
49
44
|
"eslint": "^10.6.0",
|
|
50
45
|
"eslint-import-resolver-typescript": "^4.4.5",
|
|
51
|
-
"typescript": "~6.0.3"
|
|
52
|
-
"vite": "^8.1.0",
|
|
53
|
-
"vitest": "~4.1.9",
|
|
54
|
-
"zod": "^4.4.3"
|
|
46
|
+
"typescript": "~6.0.3"
|
|
55
47
|
},
|
|
56
48
|
"peerDependencies": {
|
|
49
|
+
"@ariestools/sdk": "^7.0.4",
|
|
50
|
+
"@bitauth/libauth": "~3.0",
|
|
51
|
+
"@noble/post-quantum": "~0.6.1",
|
|
57
52
|
"@opentelemetry/api": "^1.9",
|
|
58
53
|
"@opentelemetry/sdk-trace-base": "^2.7",
|
|
59
54
|
"@scure/base": "~2.2",
|
|
60
|
-
"@
|
|
55
|
+
"@scure/bip39": "~2.2",
|
|
56
|
+
"@xylabs/geo": "^7.0",
|
|
57
|
+
"@xylabs/threads": "^7.0",
|
|
58
|
+
"ajv": "^8.20",
|
|
61
59
|
"async-mutex": "^0.5",
|
|
60
|
+
"debug": "^4.4",
|
|
61
|
+
"ethers": "^6.16",
|
|
62
|
+
"hash-wasm": "~4.12",
|
|
63
|
+
"idb": "^8.0",
|
|
64
|
+
"observable-fns": "^0.6",
|
|
62
65
|
"zod": "^4.4"
|
|
63
66
|
},
|
|
64
67
|
"engines": {
|
|
@@ -1,173 +0,0 @@
|
|
|
1
|
-
import * as z from 'zod/mini';
|
|
2
|
-
import type { SignedSignaturesMeta, UnsignedSignaturesMeta } from './Signatures.ts';
|
|
3
|
-
export declare const BoundWitnessRequiredFieldsZod: z.ZodMiniObject<{
|
|
4
|
-
addresses: z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<Lowercase<string> & {
|
|
5
|
-
readonly __hex: true;
|
|
6
|
-
} & {
|
|
7
|
-
readonly __address: true;
|
|
8
|
-
}, string>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/address").XyoQuantAddress, string>>]>>;
|
|
9
|
-
payload_hashes: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>;
|
|
10
|
-
payload_schemas: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/payload-model").BrandedSchema<string>, string>>>;
|
|
11
|
-
previous_hashes: z.ZodMiniArray<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>>;
|
|
12
|
-
}, z.core.$strip>;
|
|
13
|
-
export type BoundWitnessRequiredFields = z.infer<typeof BoundWitnessRequiredFieldsZod>;
|
|
14
|
-
export declare const BoundWitnessMetaZod: z.ZodMiniObject<{
|
|
15
|
-
$destination: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<Lowercase<string> & {
|
|
16
|
-
readonly __hex: true;
|
|
17
|
-
} & {
|
|
18
|
-
readonly __address: true;
|
|
19
|
-
}, string>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/address").XyoQuantAddress, string>>]>>;
|
|
20
|
-
$sourceQuery: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>;
|
|
21
|
-
$signatures: z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHex, string>>, z.ZodMiniNull]>>;
|
|
22
|
-
}, z.core.$strip>;
|
|
23
|
-
export type BoundWitnessMeta = z.infer<typeof BoundWitnessMetaZod>;
|
|
24
|
-
export declare const BoundWitnessZod: z.ZodMiniObject<{
|
|
25
|
-
schema: z.ZodMiniLiteral<"network.xyo.boundwitness" & {
|
|
26
|
-
readonly __schema: true;
|
|
27
|
-
}>;
|
|
28
|
-
addresses: z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<Lowercase<string> & {
|
|
29
|
-
readonly __hex: true;
|
|
30
|
-
} & {
|
|
31
|
-
readonly __address: true;
|
|
32
|
-
}, string>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/address").XyoQuantAddress, string>>]>>;
|
|
33
|
-
payload_hashes: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>;
|
|
34
|
-
payload_schemas: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/payload-model").BrandedSchema<string>, string>>>;
|
|
35
|
-
previous_hashes: z.ZodMiniArray<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>>;
|
|
36
|
-
$destination: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<Lowercase<string> & {
|
|
37
|
-
readonly __hex: true;
|
|
38
|
-
} & {
|
|
39
|
-
readonly __address: true;
|
|
40
|
-
}, string>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/address").XyoQuantAddress, string>>]>>;
|
|
41
|
-
$sourceQuery: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>;
|
|
42
|
-
$signatures: z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHex, string>>, z.ZodMiniNull]>>;
|
|
43
|
-
}, z.core.$strip>;
|
|
44
|
-
export type BoundWitness = z.infer<typeof BoundWitnessZod>;
|
|
45
|
-
export declare const isBoundWitness: <T>(value: T) => value is T & {
|
|
46
|
-
schema: "network.xyo.boundwitness" & {
|
|
47
|
-
readonly __schema: true;
|
|
48
|
-
};
|
|
49
|
-
addresses: ((Lowercase<string> & {
|
|
50
|
-
readonly __hex: true;
|
|
51
|
-
} & {
|
|
52
|
-
readonly __address: true;
|
|
53
|
-
}) | import("@xyo-network/address").XyoQuantAddress)[];
|
|
54
|
-
payload_hashes: import("@xylabs/sdk").BrandedHash[];
|
|
55
|
-
payload_schemas: import("@xyo-network/payload-model").BrandedSchema<string>[];
|
|
56
|
-
previous_hashes: (import("@xylabs/sdk").BrandedHash | null)[];
|
|
57
|
-
$signatures: (import("@xylabs/sdk").BrandedHex | null)[];
|
|
58
|
-
$destination?: (Lowercase<string> & {
|
|
59
|
-
readonly __hex: true;
|
|
60
|
-
} & {
|
|
61
|
-
readonly __address: true;
|
|
62
|
-
}) | import("@xyo-network/address").XyoQuantAddress | undefined;
|
|
63
|
-
$sourceQuery?: import("@xylabs/sdk").BrandedHash | undefined;
|
|
64
|
-
};
|
|
65
|
-
export declare const asBoundWitness: {
|
|
66
|
-
<T>(value: T): (T & {
|
|
67
|
-
schema: "network.xyo.boundwitness" & {
|
|
68
|
-
readonly __schema: true;
|
|
69
|
-
};
|
|
70
|
-
addresses: ((Lowercase<string> & {
|
|
71
|
-
readonly __hex: true;
|
|
72
|
-
} & {
|
|
73
|
-
readonly __address: true;
|
|
74
|
-
}) | import("@xyo-network/address").XyoQuantAddress)[];
|
|
75
|
-
payload_hashes: import("@xylabs/sdk").BrandedHash[];
|
|
76
|
-
payload_schemas: import("@xyo-network/payload-model").BrandedSchema<string>[];
|
|
77
|
-
previous_hashes: (import("@xylabs/sdk").BrandedHash | null)[];
|
|
78
|
-
$signatures: (import("@xylabs/sdk").BrandedHex | null)[];
|
|
79
|
-
$destination?: (Lowercase<string> & {
|
|
80
|
-
readonly __hex: true;
|
|
81
|
-
} & {
|
|
82
|
-
readonly __address: true;
|
|
83
|
-
}) | import("@xyo-network/address").XyoQuantAddress | undefined;
|
|
84
|
-
$sourceQuery?: import("@xylabs/sdk").BrandedHash | undefined;
|
|
85
|
-
}) | undefined;
|
|
86
|
-
<T>(value: T, assert: import("@xylabs/sdk").ZodFactoryConfig): T & {
|
|
87
|
-
schema: "network.xyo.boundwitness" & {
|
|
88
|
-
readonly __schema: true;
|
|
89
|
-
};
|
|
90
|
-
addresses: ((Lowercase<string> & {
|
|
91
|
-
readonly __hex: true;
|
|
92
|
-
} & {
|
|
93
|
-
readonly __address: true;
|
|
94
|
-
}) | import("@xyo-network/address").XyoQuantAddress)[];
|
|
95
|
-
payload_hashes: import("@xylabs/sdk").BrandedHash[];
|
|
96
|
-
payload_schemas: import("@xyo-network/payload-model").BrandedSchema<string>[];
|
|
97
|
-
previous_hashes: (import("@xylabs/sdk").BrandedHash | null)[];
|
|
98
|
-
$signatures: (import("@xylabs/sdk").BrandedHex | null)[];
|
|
99
|
-
$destination?: (Lowercase<string> & {
|
|
100
|
-
readonly __hex: true;
|
|
101
|
-
} & {
|
|
102
|
-
readonly __address: true;
|
|
103
|
-
}) | import("@xyo-network/address").XyoQuantAddress | undefined;
|
|
104
|
-
$sourceQuery?: import("@xylabs/sdk").BrandedHash | undefined;
|
|
105
|
-
};
|
|
106
|
-
};
|
|
107
|
-
export declare const toBoundWitness: {
|
|
108
|
-
<T>(value: T): (T & {
|
|
109
|
-
schema: "network.xyo.boundwitness" & {
|
|
110
|
-
readonly __schema: true;
|
|
111
|
-
};
|
|
112
|
-
addresses: ((Lowercase<string> & {
|
|
113
|
-
readonly __hex: true;
|
|
114
|
-
} & {
|
|
115
|
-
readonly __address: true;
|
|
116
|
-
}) | import("@xyo-network/address").XyoQuantAddress)[];
|
|
117
|
-
payload_hashes: import("@xylabs/sdk").BrandedHash[];
|
|
118
|
-
payload_schemas: import("@xyo-network/payload-model").BrandedSchema<string>[];
|
|
119
|
-
previous_hashes: (import("@xylabs/sdk").BrandedHash | null)[];
|
|
120
|
-
$signatures: (import("@xylabs/sdk").BrandedHex | null)[];
|
|
121
|
-
$destination?: (Lowercase<string> & {
|
|
122
|
-
readonly __hex: true;
|
|
123
|
-
} & {
|
|
124
|
-
readonly __address: true;
|
|
125
|
-
}) | import("@xyo-network/address").XyoQuantAddress | undefined;
|
|
126
|
-
$sourceQuery?: import("@xylabs/sdk").BrandedHash | undefined;
|
|
127
|
-
}) | undefined;
|
|
128
|
-
<T>(value: T, assert: import("@xylabs/sdk").ZodFactoryConfig): T & {
|
|
129
|
-
schema: "network.xyo.boundwitness" & {
|
|
130
|
-
readonly __schema: true;
|
|
131
|
-
};
|
|
132
|
-
addresses: ((Lowercase<string> & {
|
|
133
|
-
readonly __hex: true;
|
|
134
|
-
} & {
|
|
135
|
-
readonly __address: true;
|
|
136
|
-
}) | import("@xyo-network/address").XyoQuantAddress)[];
|
|
137
|
-
payload_hashes: import("@xylabs/sdk").BrandedHash[];
|
|
138
|
-
payload_schemas: import("@xyo-network/payload-model").BrandedSchema<string>[];
|
|
139
|
-
previous_hashes: (import("@xylabs/sdk").BrandedHash | null)[];
|
|
140
|
-
$signatures: (import("@xylabs/sdk").BrandedHex | null)[];
|
|
141
|
-
$destination?: (Lowercase<string> & {
|
|
142
|
-
readonly __hex: true;
|
|
143
|
-
} & {
|
|
144
|
-
readonly __address: true;
|
|
145
|
-
}) | import("@xyo-network/address").XyoQuantAddress | undefined;
|
|
146
|
-
$sourceQuery?: import("@xylabs/sdk").BrandedHash | undefined;
|
|
147
|
-
};
|
|
148
|
-
};
|
|
149
|
-
export declare const AnyBoundWitnessZod: z.ZodMiniObject<{
|
|
150
|
-
schema: z.ZodMiniLiteral<"network.xyo.boundwitness" & {
|
|
151
|
-
readonly __schema: true;
|
|
152
|
-
}>;
|
|
153
|
-
addresses: z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<Lowercase<string> & {
|
|
154
|
-
readonly __hex: true;
|
|
155
|
-
} & {
|
|
156
|
-
readonly __address: true;
|
|
157
|
-
}, string>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/address").XyoQuantAddress, string>>]>>;
|
|
158
|
-
payload_hashes: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>;
|
|
159
|
-
payload_schemas: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/payload-model").BrandedSchema<string>, string>>>;
|
|
160
|
-
previous_hashes: z.ZodMiniArray<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>>;
|
|
161
|
-
$destination: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<Lowercase<string> & {
|
|
162
|
-
readonly __hex: true;
|
|
163
|
-
} & {
|
|
164
|
-
readonly __address: true;
|
|
165
|
-
}, string>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/address").XyoQuantAddress, string>>]>>;
|
|
166
|
-
$sourceQuery: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>;
|
|
167
|
-
$signatures: z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHex, string>>, z.ZodMiniNull]>>;
|
|
168
|
-
}, z.core.$loose>;
|
|
169
|
-
export type AnyBoundWitness = z.infer<typeof AnyBoundWitnessZod>;
|
|
170
|
-
export type Unsigned<T extends BoundWitness> = Omit<T, '$signatures'> & UnsignedSignaturesMeta;
|
|
171
|
-
export type Signed<T extends BoundWitness> = Omit<T, '$signatures'> & SignedSignaturesMeta;
|
|
172
|
-
export type PossiblySigned<T extends BoundWitness> = Unsigned<T> | Signed<T>;
|
|
173
|
-
//# sourceMappingURL=BoundWitness.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BoundWitness.d.ts","sourceRoot":"","sources":["../../../src/BoundWitness/BoundWitness.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAG7B,OAAO,KAAK,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAA;AAGnF,eAAO,MAAM,6BAA6B;;;;;;;;;iBAKxC,CAAA;AAEF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAA;AAEtF,eAAO,MAAM,mBAAmB;;;;;;;;iBAM/B,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAA;AAIlE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;iBAAuE,CAAA;AAEnG,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAA;AAE1D,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;CAAgC,CAAA;AAC3D,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAkD,CAAA;AAC7E,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAkD,CAAA;AAE7E,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;iBAAuC,CAAA;AACtE,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAA;AAEhE,MAAM,MAAM,QAAQ,CAAC,CAAC,SAAS,YAAY,IAAI,IAAI,CAAC,CAAC,EAAE,aAAa,CAAC,GAAG,sBAAsB,CAAA;AAE9F,MAAM,MAAM,MAAM,CAAC,CAAC,SAAS,YAAY,IAAI,IAAI,CAAC,CAAC,EAAE,aAAa,CAAC,GAAG,oBAAoB,CAAA;AAE1F,MAAM,MAAM,cAAc,CAAC,CAAC,SAAS,YAAY,IAAI,QAAQ,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC,CAAC,CAAA"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
export declare const BoundWitnessJsonSchema: () => {
|
|
2
|
-
$id: string;
|
|
3
|
-
additionalProperties: boolean;
|
|
4
|
-
properties: {
|
|
5
|
-
addresses: {
|
|
6
|
-
items: {
|
|
7
|
-
type: string;
|
|
8
|
-
};
|
|
9
|
-
type: string;
|
|
10
|
-
};
|
|
11
|
-
payload_hashes: {
|
|
12
|
-
items: {
|
|
13
|
-
type: string;
|
|
14
|
-
};
|
|
15
|
-
type: string;
|
|
16
|
-
};
|
|
17
|
-
payload_schemas: {
|
|
18
|
-
items: {
|
|
19
|
-
type: string;
|
|
20
|
-
};
|
|
21
|
-
type: string;
|
|
22
|
-
};
|
|
23
|
-
previous_hashes: {
|
|
24
|
-
items: {
|
|
25
|
-
nullable: boolean;
|
|
26
|
-
type: string;
|
|
27
|
-
};
|
|
28
|
-
type: string;
|
|
29
|
-
};
|
|
30
|
-
schema: {
|
|
31
|
-
type: string;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
required: string[];
|
|
35
|
-
type: string;
|
|
36
|
-
};
|
|
37
|
-
//# sourceMappingURL=BoundWitnessJsonSchema.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BoundWitnessJsonSchema.d.ts","sourceRoot":"","sources":["../../../src/BoundWitness/BoundWitnessJsonSchema.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAclC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BoundWitnessSchema.d.ts","sourceRoot":"","sources":["../../../src/BoundWitness/BoundWitnessSchema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB;;CAA6C,CAAA;AAC5E,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAA"}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import * as z from 'zod/mini';
|
|
2
|
-
import { type BoundWitness } from './BoundWitness.ts';
|
|
3
|
-
export declare function HydratedBoundWitnessZodBuilder<T extends z.core.$ZodType<BoundWitness>>(bwZod: T): z.ZodMiniTuple<readonly [T, z.ZodMiniArray<z.ZodMiniObject<{
|
|
4
|
-
schema: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/payload-model").BrandedSchema<string>, string>>;
|
|
5
|
-
}, z.core.$loose>>], null>;
|
|
6
|
-
export declare const HydratedBoundWitnessZod: z.ZodMiniTuple<readonly [z.ZodMiniObject<{
|
|
7
|
-
schema: z.ZodMiniLiteral<"network.xyo.boundwitness" & {
|
|
8
|
-
readonly __schema: true;
|
|
9
|
-
}>;
|
|
10
|
-
addresses: z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<Lowercase<string> & {
|
|
11
|
-
readonly __hex: true;
|
|
12
|
-
} & {
|
|
13
|
-
readonly __address: true;
|
|
14
|
-
}, string>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/address").XyoQuantAddress, string>>]>>;
|
|
15
|
-
payload_hashes: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>;
|
|
16
|
-
payload_schemas: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/payload-model").BrandedSchema<string>, string>>>;
|
|
17
|
-
previous_hashes: z.ZodMiniArray<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>>;
|
|
18
|
-
$destination: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<Lowercase<string> & {
|
|
19
|
-
readonly __hex: true;
|
|
20
|
-
} & {
|
|
21
|
-
readonly __address: true;
|
|
22
|
-
}, string>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/address").XyoQuantAddress, string>>]>>;
|
|
23
|
-
$sourceQuery: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>;
|
|
24
|
-
$signatures: z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHex, string>>, z.ZodMiniNull]>>;
|
|
25
|
-
}, z.core.$strip>, z.ZodMiniArray<z.ZodMiniObject<{
|
|
26
|
-
schema: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/payload-model").BrandedSchema<string>, string>>;
|
|
27
|
-
}, z.core.$loose>>], null>;
|
|
28
|
-
export declare const SignedHydratedBoundWitnessZod: z.ZodMiniTuple<readonly [z.ZodMiniObject<{
|
|
29
|
-
schema: z.ZodMiniLiteral<"network.xyo.boundwitness" & {
|
|
30
|
-
readonly __schema: true;
|
|
31
|
-
}>;
|
|
32
|
-
addresses: z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<Lowercase<string> & {
|
|
33
|
-
readonly __hex: true;
|
|
34
|
-
} & {
|
|
35
|
-
readonly __address: true;
|
|
36
|
-
}, string>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/address").XyoQuantAddress, string>>]>>;
|
|
37
|
-
payload_hashes: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>;
|
|
38
|
-
payload_schemas: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/payload-model").BrandedSchema<string>, string>>>;
|
|
39
|
-
previous_hashes: z.ZodMiniArray<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>>;
|
|
40
|
-
$destination: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<Lowercase<string> & {
|
|
41
|
-
readonly __hex: true;
|
|
42
|
-
} & {
|
|
43
|
-
readonly __address: true;
|
|
44
|
-
}, string>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/address").XyoQuantAddress, string>>]>>;
|
|
45
|
-
$sourceQuery: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>;
|
|
46
|
-
$signatures: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHex, string>>>;
|
|
47
|
-
}, z.core.$strip>, z.ZodMiniArray<z.ZodMiniObject<{
|
|
48
|
-
schema: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/payload-model").BrandedSchema<string>, string>>;
|
|
49
|
-
}, z.core.$loose>>], null>;
|
|
50
|
-
export declare const UnsignedHydratedBoundWitnessZod: z.ZodMiniTuple<readonly [z.ZodMiniObject<{
|
|
51
|
-
schema: z.ZodMiniLiteral<"network.xyo.boundwitness" & {
|
|
52
|
-
readonly __schema: true;
|
|
53
|
-
}>;
|
|
54
|
-
addresses: z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<Lowercase<string> & {
|
|
55
|
-
readonly __hex: true;
|
|
56
|
-
} & {
|
|
57
|
-
readonly __address: true;
|
|
58
|
-
}, string>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/address").XyoQuantAddress, string>>]>>;
|
|
59
|
-
payload_hashes: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>;
|
|
60
|
-
payload_schemas: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/payload-model").BrandedSchema<string>, string>>>;
|
|
61
|
-
previous_hashes: z.ZodMiniArray<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>>;
|
|
62
|
-
$destination: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<Lowercase<string> & {
|
|
63
|
-
readonly __hex: true;
|
|
64
|
-
} & {
|
|
65
|
-
readonly __address: true;
|
|
66
|
-
}, string>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/address").XyoQuantAddress, string>>]>>;
|
|
67
|
-
$sourceQuery: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>;
|
|
68
|
-
$signatures: z.ZodMiniArray<z.ZodMiniNull>;
|
|
69
|
-
}, z.core.$strip>, z.ZodMiniArray<z.ZodMiniObject<{
|
|
70
|
-
schema: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/payload-model").BrandedSchema<string>, string>>;
|
|
71
|
-
}, z.core.$loose>>], null>;
|
|
72
|
-
//# sourceMappingURL=HydratedBoundWitness.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HydratedBoundWitness.d.ts","sourceRoot":"","sources":["../../../src/BoundWitness/HydratedBoundWitness.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAE7B,OAAO,EAAE,KAAK,YAAY,EAAmB,MAAM,mBAAmB,CAAA;AAItE,wBAAgB,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC,EAAE,KAAK,EAAE,CAAC;;2BAE/F;AAED,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;0BAAkD,CAAA;AAGtF,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;0BAAwD,CAAA;AAGlG,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;0BAA0D,CAAA"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as z from 'zod/mini';
|
|
2
|
-
export declare const SignaturesMetaZod: z.ZodMiniObject<{
|
|
3
|
-
$signatures: z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHex, string>>, z.ZodMiniNull]>>;
|
|
4
|
-
}, z.core.$strip>;
|
|
5
|
-
export declare const UnsignedSignaturesMetaZod: z.ZodMiniObject<{
|
|
6
|
-
$signatures: z.ZodMiniArray<z.ZodMiniNull>;
|
|
7
|
-
}, z.core.$strip>;
|
|
8
|
-
export declare const SignedSignaturesMetaZod: z.ZodMiniObject<{
|
|
9
|
-
$signatures: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHex, string>>>;
|
|
10
|
-
}, z.core.$strip>;
|
|
11
|
-
export type SignaturesMeta = z.infer<typeof SignaturesMetaZod>;
|
|
12
|
-
export type UnsignedSignaturesMeta = z.infer<typeof UnsignedSignaturesMetaZod>;
|
|
13
|
-
export type SignedSignaturesMeta = z.infer<typeof SignedSignaturesMetaZod>;
|
|
14
|
-
//# sourceMappingURL=Signatures.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Signatures.d.ts","sourceRoot":"","sources":["../../../src/BoundWitness/Signatures.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAG7B,eAAO,MAAM,iBAAiB;;iBAAyD,CAAA;AACvF,eAAO,MAAM,yBAAyB;;iBAA+C,CAAA;AACrF,eAAO,MAAM,uBAAuB;;iBAAmE,CAAA;AAEvG,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAC9D,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAA;AAC9E,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAA"}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import * as z from 'zod/mini';
|
|
2
|
-
export declare const SignedBoundWitnessZod: z.ZodMiniObject<{
|
|
3
|
-
schema: z.ZodMiniLiteral<"network.xyo.boundwitness" & {
|
|
4
|
-
readonly __schema: true;
|
|
5
|
-
}>;
|
|
6
|
-
addresses: z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<Lowercase<string> & {
|
|
7
|
-
readonly __hex: true;
|
|
8
|
-
} & {
|
|
9
|
-
readonly __address: true;
|
|
10
|
-
}, string>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/address").XyoQuantAddress, string>>]>>;
|
|
11
|
-
payload_hashes: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>;
|
|
12
|
-
payload_schemas: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/payload-model").BrandedSchema<string>, string>>>;
|
|
13
|
-
previous_hashes: z.ZodMiniArray<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>>;
|
|
14
|
-
$destination: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<Lowercase<string> & {
|
|
15
|
-
readonly __hex: true;
|
|
16
|
-
} & {
|
|
17
|
-
readonly __address: true;
|
|
18
|
-
}, string>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/address").XyoQuantAddress, string>>]>>;
|
|
19
|
-
$sourceQuery: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>;
|
|
20
|
-
$signatures: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHex, string>>>;
|
|
21
|
-
}, z.core.$strip>;
|
|
22
|
-
export type SignedBoundWitness = z.infer<typeof SignedBoundWitnessZod>;
|
|
23
|
-
export declare const AnySignedBoundWitnessZod: z.ZodMiniObject<{
|
|
24
|
-
schema: z.ZodMiniLiteral<"network.xyo.boundwitness" & {
|
|
25
|
-
readonly __schema: true;
|
|
26
|
-
}>;
|
|
27
|
-
addresses: z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<Lowercase<string> & {
|
|
28
|
-
readonly __hex: true;
|
|
29
|
-
} & {
|
|
30
|
-
readonly __address: true;
|
|
31
|
-
}, string>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/address").XyoQuantAddress, string>>]>>;
|
|
32
|
-
payload_hashes: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>;
|
|
33
|
-
payload_schemas: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/payload-model").BrandedSchema<string>, string>>>;
|
|
34
|
-
previous_hashes: z.ZodMiniArray<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>>;
|
|
35
|
-
$destination: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<Lowercase<string> & {
|
|
36
|
-
readonly __hex: true;
|
|
37
|
-
} & {
|
|
38
|
-
readonly __address: true;
|
|
39
|
-
}, string>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/address").XyoQuantAddress, string>>]>>;
|
|
40
|
-
$sourceQuery: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>;
|
|
41
|
-
$signatures: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHex, string>>>;
|
|
42
|
-
}, z.core.$loose>;
|
|
43
|
-
export type AnySignedBoundWitness = z.infer<typeof AnySignedBoundWitnessZod>;
|
|
44
|
-
//# sourceMappingURL=SignedBoundWitness.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SignedBoundWitness.d.ts","sourceRoot":"","sources":["../../../src/BoundWitness/SignedBoundWitness.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAK7B,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;iBAA2D,CAAA;AAC7F,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAEtE,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;iBAA6C,CAAA;AAClF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA"}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import * as z from 'zod/mini';
|
|
2
|
-
export declare const UnsignedBoundWitnessZod: z.ZodMiniObject<{
|
|
3
|
-
schema: z.ZodMiniLiteral<"network.xyo.boundwitness" & {
|
|
4
|
-
readonly __schema: true;
|
|
5
|
-
}>;
|
|
6
|
-
addresses: z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<Lowercase<string> & {
|
|
7
|
-
readonly __hex: true;
|
|
8
|
-
} & {
|
|
9
|
-
readonly __address: true;
|
|
10
|
-
}, string>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/address").XyoQuantAddress, string>>]>>;
|
|
11
|
-
payload_hashes: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>;
|
|
12
|
-
payload_schemas: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/payload-model").BrandedSchema<string>, string>>>;
|
|
13
|
-
previous_hashes: z.ZodMiniArray<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>>;
|
|
14
|
-
$destination: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<Lowercase<string> & {
|
|
15
|
-
readonly __hex: true;
|
|
16
|
-
} & {
|
|
17
|
-
readonly __address: true;
|
|
18
|
-
}, string>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/address").XyoQuantAddress, string>>]>>;
|
|
19
|
-
$sourceQuery: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>;
|
|
20
|
-
$signatures: z.ZodMiniArray<z.ZodMiniNull>;
|
|
21
|
-
}, z.core.$strip>;
|
|
22
|
-
export type UnsignedBoundWitness = z.infer<typeof UnsignedBoundWitnessZod>;
|
|
23
|
-
export declare const AnyUnsignedBoundWitnessZod: z.ZodMiniObject<{
|
|
24
|
-
schema: z.ZodMiniLiteral<"network.xyo.boundwitness" & {
|
|
25
|
-
readonly __schema: true;
|
|
26
|
-
}>;
|
|
27
|
-
addresses: z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<Lowercase<string> & {
|
|
28
|
-
readonly __hex: true;
|
|
29
|
-
} & {
|
|
30
|
-
readonly __address: true;
|
|
31
|
-
}, string>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/address").XyoQuantAddress, string>>]>>;
|
|
32
|
-
payload_hashes: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>;
|
|
33
|
-
payload_schemas: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/payload-model").BrandedSchema<string>, string>>>;
|
|
34
|
-
previous_hashes: z.ZodMiniArray<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>>;
|
|
35
|
-
$destination: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<Lowercase<string> & {
|
|
36
|
-
readonly __hex: true;
|
|
37
|
-
} & {
|
|
38
|
-
readonly __address: true;
|
|
39
|
-
}, string>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/address").XyoQuantAddress, string>>]>>;
|
|
40
|
-
$sourceQuery: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>;
|
|
41
|
-
$signatures: z.ZodMiniArray<z.ZodMiniNull>;
|
|
42
|
-
}, z.core.$loose>;
|
|
43
|
-
export type AnyUnsignedBoundWitness = z.infer<typeof AnyUnsignedBoundWitnessZod>;
|
|
44
|
-
//# sourceMappingURL=UnsignedBoundWitness.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UnsignedBoundWitness.d.ts","sourceRoot":"","sources":["../../../src/BoundWitness/UnsignedBoundWitness.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAK7B,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;iBAA6D,CAAA;AACjG,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAE1E,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;iBAA+C,CAAA;AACtF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAA"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export * from './BoundWitness.ts';
|
|
2
|
-
export * from './BoundWitnessJsonSchema.ts';
|
|
3
|
-
export * from './BoundWitnessSchema.ts';
|
|
4
|
-
export * from './HydratedBoundWitness.ts';
|
|
5
|
-
export * from './Signatures.ts';
|
|
6
|
-
export * from './SignedBoundWitness.ts';
|
|
7
|
-
export * from './UnsignedBoundWitness.ts';
|
|
8
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/BoundWitness/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,6BAA6B,CAAA;AAC3C,cAAc,yBAAyB,CAAA;AACvC,cAAc,2BAA2B,CAAA;AACzC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,yBAAyB,CAAA;AACvC,cAAc,2BAA2B,CAAA"}
|
|
@@ -1,150 +0,0 @@
|
|
|
1
|
-
import type { WithStorageMeta } from '@xyo-network/payload-model';
|
|
2
|
-
import * as z from 'zod/mini';
|
|
3
|
-
export declare const QueryBoundWitnessFieldsZod: z.ZodMiniObject<{
|
|
4
|
-
error_hashes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>>;
|
|
5
|
-
query: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>;
|
|
6
|
-
}, z.core.$strip>;
|
|
7
|
-
export type QueryBoundWitnessFields = z.infer<typeof QueryBoundWitnessFieldsZod>;
|
|
8
|
-
export declare const QueryBoundWitnessZod: z.ZodMiniObject<{
|
|
9
|
-
schema: z.ZodMiniLiteral<"network.xyo.boundwitness" & {
|
|
10
|
-
readonly __schema: true;
|
|
11
|
-
}>;
|
|
12
|
-
addresses: z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<Lowercase<string> & {
|
|
13
|
-
readonly __hex: true;
|
|
14
|
-
} & {
|
|
15
|
-
readonly __address: true;
|
|
16
|
-
}, string>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/address").XyoQuantAddress, string>>]>>;
|
|
17
|
-
payload_hashes: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>;
|
|
18
|
-
payload_schemas: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/payload-model").BrandedSchema<string>, string>>>;
|
|
19
|
-
previous_hashes: z.ZodMiniArray<z.ZodMiniNullable<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>>;
|
|
20
|
-
$destination: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<Lowercase<string> & {
|
|
21
|
-
readonly __hex: true;
|
|
22
|
-
} & {
|
|
23
|
-
readonly __address: true;
|
|
24
|
-
}, string>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/address").XyoQuantAddress, string>>]>>;
|
|
25
|
-
$sourceQuery: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>;
|
|
26
|
-
$signatures: z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHex, string>>, z.ZodMiniNull]>>;
|
|
27
|
-
error_hashes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>>>;
|
|
28
|
-
query: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xylabs/sdk").BrandedHash, string>>;
|
|
29
|
-
}, z.core.$strip>;
|
|
30
|
-
export type QueryBoundWitness = z.infer<typeof QueryBoundWitnessZod>;
|
|
31
|
-
/**
|
|
32
|
-
* @deprecated Use `QueryBoundWitness` instead
|
|
33
|
-
*/
|
|
34
|
-
export type UnsignedQueryBoundWitness = QueryBoundWitness;
|
|
35
|
-
export declare const isQueryBoundWitness: <T>(value: T) => value is T & {
|
|
36
|
-
schema: "network.xyo.boundwitness" & {
|
|
37
|
-
readonly __schema: true;
|
|
38
|
-
};
|
|
39
|
-
addresses: ((Lowercase<string> & {
|
|
40
|
-
readonly __hex: true;
|
|
41
|
-
} & {
|
|
42
|
-
readonly __address: true;
|
|
43
|
-
}) | import("@xyo-network/address").XyoQuantAddress)[];
|
|
44
|
-
payload_hashes: import("@xylabs/sdk").BrandedHash[];
|
|
45
|
-
payload_schemas: import("@xyo-network/payload-model").BrandedSchema<string>[];
|
|
46
|
-
previous_hashes: (import("@xylabs/sdk").BrandedHash | null)[];
|
|
47
|
-
$signatures: (import("@xylabs/sdk").BrandedHex | null)[];
|
|
48
|
-
query: import("@xylabs/sdk").BrandedHash;
|
|
49
|
-
$destination?: (Lowercase<string> & {
|
|
50
|
-
readonly __hex: true;
|
|
51
|
-
} & {
|
|
52
|
-
readonly __address: true;
|
|
53
|
-
}) | import("@xyo-network/address").XyoQuantAddress | undefined;
|
|
54
|
-
$sourceQuery?: import("@xylabs/sdk").BrandedHash | undefined;
|
|
55
|
-
error_hashes?: import("@xylabs/sdk").BrandedHash[] | undefined;
|
|
56
|
-
};
|
|
57
|
-
export declare const asQueryBoundWitness: {
|
|
58
|
-
<T>(value: T): (T & {
|
|
59
|
-
schema: "network.xyo.boundwitness" & {
|
|
60
|
-
readonly __schema: true;
|
|
61
|
-
};
|
|
62
|
-
addresses: ((Lowercase<string> & {
|
|
63
|
-
readonly __hex: true;
|
|
64
|
-
} & {
|
|
65
|
-
readonly __address: true;
|
|
66
|
-
}) | import("@xyo-network/address").XyoQuantAddress)[];
|
|
67
|
-
payload_hashes: import("@xylabs/sdk").BrandedHash[];
|
|
68
|
-
payload_schemas: import("@xyo-network/payload-model").BrandedSchema<string>[];
|
|
69
|
-
previous_hashes: (import("@xylabs/sdk").BrandedHash | null)[];
|
|
70
|
-
$signatures: (import("@xylabs/sdk").BrandedHex | null)[];
|
|
71
|
-
query: import("@xylabs/sdk").BrandedHash;
|
|
72
|
-
$destination?: (Lowercase<string> & {
|
|
73
|
-
readonly __hex: true;
|
|
74
|
-
} & {
|
|
75
|
-
readonly __address: true;
|
|
76
|
-
}) | import("@xyo-network/address").XyoQuantAddress | undefined;
|
|
77
|
-
$sourceQuery?: import("@xylabs/sdk").BrandedHash | undefined;
|
|
78
|
-
error_hashes?: import("@xylabs/sdk").BrandedHash[] | undefined;
|
|
79
|
-
}) | undefined;
|
|
80
|
-
<T>(value: T, assert: import("@xylabs/sdk").ZodFactoryConfig): T & {
|
|
81
|
-
schema: "network.xyo.boundwitness" & {
|
|
82
|
-
readonly __schema: true;
|
|
83
|
-
};
|
|
84
|
-
addresses: ((Lowercase<string> & {
|
|
85
|
-
readonly __hex: true;
|
|
86
|
-
} & {
|
|
87
|
-
readonly __address: true;
|
|
88
|
-
}) | import("@xyo-network/address").XyoQuantAddress)[];
|
|
89
|
-
payload_hashes: import("@xylabs/sdk").BrandedHash[];
|
|
90
|
-
payload_schemas: import("@xyo-network/payload-model").BrandedSchema<string>[];
|
|
91
|
-
previous_hashes: (import("@xylabs/sdk").BrandedHash | null)[];
|
|
92
|
-
$signatures: (import("@xylabs/sdk").BrandedHex | null)[];
|
|
93
|
-
query: import("@xylabs/sdk").BrandedHash;
|
|
94
|
-
$destination?: (Lowercase<string> & {
|
|
95
|
-
readonly __hex: true;
|
|
96
|
-
} & {
|
|
97
|
-
readonly __address: true;
|
|
98
|
-
}) | import("@xyo-network/address").XyoQuantAddress | undefined;
|
|
99
|
-
$sourceQuery?: import("@xylabs/sdk").BrandedHash | undefined;
|
|
100
|
-
error_hashes?: import("@xylabs/sdk").BrandedHash[] | undefined;
|
|
101
|
-
};
|
|
102
|
-
};
|
|
103
|
-
export declare const toQueryBoundWitness: {
|
|
104
|
-
<T>(value: T): (T & {
|
|
105
|
-
schema: "network.xyo.boundwitness" & {
|
|
106
|
-
readonly __schema: true;
|
|
107
|
-
};
|
|
108
|
-
addresses: ((Lowercase<string> & {
|
|
109
|
-
readonly __hex: true;
|
|
110
|
-
} & {
|
|
111
|
-
readonly __address: true;
|
|
112
|
-
}) | import("@xyo-network/address").XyoQuantAddress)[];
|
|
113
|
-
payload_hashes: import("@xylabs/sdk").BrandedHash[];
|
|
114
|
-
payload_schemas: import("@xyo-network/payload-model").BrandedSchema<string>[];
|
|
115
|
-
previous_hashes: (import("@xylabs/sdk").BrandedHash | null)[];
|
|
116
|
-
$signatures: (import("@xylabs/sdk").BrandedHex | null)[];
|
|
117
|
-
query: import("@xylabs/sdk").BrandedHash;
|
|
118
|
-
$destination?: (Lowercase<string> & {
|
|
119
|
-
readonly __hex: true;
|
|
120
|
-
} & {
|
|
121
|
-
readonly __address: true;
|
|
122
|
-
}) | import("@xyo-network/address").XyoQuantAddress | undefined;
|
|
123
|
-
$sourceQuery?: import("@xylabs/sdk").BrandedHash | undefined;
|
|
124
|
-
error_hashes?: import("@xylabs/sdk").BrandedHash[] | undefined;
|
|
125
|
-
}) | undefined;
|
|
126
|
-
<T>(value: T, assert: import("@xylabs/sdk").ZodFactoryConfig): T & {
|
|
127
|
-
schema: "network.xyo.boundwitness" & {
|
|
128
|
-
readonly __schema: true;
|
|
129
|
-
};
|
|
130
|
-
addresses: ((Lowercase<string> & {
|
|
131
|
-
readonly __hex: true;
|
|
132
|
-
} & {
|
|
133
|
-
readonly __address: true;
|
|
134
|
-
}) | import("@xyo-network/address").XyoQuantAddress)[];
|
|
135
|
-
payload_hashes: import("@xylabs/sdk").BrandedHash[];
|
|
136
|
-
payload_schemas: import("@xyo-network/payload-model").BrandedSchema<string>[];
|
|
137
|
-
previous_hashes: (import("@xylabs/sdk").BrandedHash | null)[];
|
|
138
|
-
$signatures: (import("@xylabs/sdk").BrandedHex | null)[];
|
|
139
|
-
query: import("@xylabs/sdk").BrandedHash;
|
|
140
|
-
$destination?: (Lowercase<string> & {
|
|
141
|
-
readonly __hex: true;
|
|
142
|
-
} & {
|
|
143
|
-
readonly __address: true;
|
|
144
|
-
}) | import("@xyo-network/address").XyoQuantAddress | undefined;
|
|
145
|
-
$sourceQuery?: import("@xylabs/sdk").BrandedHash | undefined;
|
|
146
|
-
error_hashes?: import("@xylabs/sdk").BrandedHash[] | undefined;
|
|
147
|
-
};
|
|
148
|
-
};
|
|
149
|
-
export declare const isQueryBoundWitnessWithStorageMeta: (x?: unknown) => x is WithStorageMeta<QueryBoundWitness>;
|
|
150
|
-
//# sourceMappingURL=QueryBoundWitness.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"QueryBoundWitness.d.ts","sourceRoot":"","sources":["../../src/QueryBoundWitness.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAEjE,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAI7B,eAAO,MAAM,0BAA0B;;;iBAGrC,CAAA;AAEF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAA;AAEhF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;iBAAkE,CAAA;AAEnG,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAEpE;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG,iBAAiB,CAAA;AAEzD,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;CAAqC,CAAA;AACrE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4D,CAAA;AAC5F,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4D,CAAA;AAE5F,eAAO,MAAM,kCAAkC,GAAI,IAAI,OAAO,KAAG,CAAC,IAAI,eAAe,CAAC,iBAAiB,CAC3D,CAAA"}
|