@cardanowall/sdk-ts 0.0.0
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/LICENSE +202 -0
- package/README.md +207 -0
- package/dist/client/index.cjs +2695 -0
- package/dist/client/index.cjs.map +1 -0
- package/dist/client/index.d.cts +397 -0
- package/dist/client/index.d.ts +397 -0
- package/dist/client/index.js +2641 -0
- package/dist/client/index.js.map +1 -0
- package/dist/conformance/cli.cjs +4901 -0
- package/dist/conformance/cli.cjs.map +1 -0
- package/dist/conformance/cli.d.cts +18 -0
- package/dist/conformance/cli.d.ts +18 -0
- package/dist/conformance/cli.js +4878 -0
- package/dist/conformance/cli.js.map +1 -0
- package/dist/fetch/index.cjs +335 -0
- package/dist/fetch/index.cjs.map +1 -0
- package/dist/fetch/index.d.cts +13 -0
- package/dist/fetch/index.d.ts +13 -0
- package/dist/fetch/index.js +323 -0
- package/dist/fetch/index.js.map +1 -0
- package/dist/fetch-outbound-BT5-NiYN.d.cts +76 -0
- package/dist/fetch-outbound-BT5-NiYN.d.ts +76 -0
- package/dist/hash/index.cjs +25 -0
- package/dist/hash/index.cjs.map +1 -0
- package/dist/hash/index.d.cts +1 -0
- package/dist/hash/index.d.ts +1 -0
- package/dist/hash/index.js +21 -0
- package/dist/hash/index.js.map +1 -0
- package/dist/identity/index.cjs +1388 -0
- package/dist/identity/index.cjs.map +1 -0
- package/dist/identity/index.d.cts +27 -0
- package/dist/identity/index.d.ts +27 -0
- package/dist/identity/index.js +1362 -0
- package/dist/identity/index.js.map +1 -0
- package/dist/ids/index.cjs +146 -0
- package/dist/ids/index.cjs.map +1 -0
- package/dist/ids/index.d.cts +55 -0
- package/dist/ids/index.d.ts +55 -0
- package/dist/ids/index.js +135 -0
- package/dist/ids/index.js.map +1 -0
- package/dist/index-BhnlWJAY.d.cts +10 -0
- package/dist/index-BhnlWJAY.d.ts +10 -0
- package/dist/index-Cg1QqVmA.d.cts +19 -0
- package/dist/index-Cg1QqVmA.d.ts +19 -0
- package/dist/index.cjs +7127 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +21 -0
- package/dist/index.d.ts +21 -0
- package/dist/index.js +7004 -0
- package/dist/index.js.map +1 -0
- package/dist/merkle/index.cjs +396 -0
- package/dist/merkle/index.cjs.map +1 -0
- package/dist/merkle/index.d.cts +2 -0
- package/dist/merkle/index.d.ts +2 -0
- package/dist/merkle/index.js +387 -0
- package/dist/merkle/index.js.map +1 -0
- package/dist/types-B8Q3gW54.d.ts +123 -0
- package/dist/types-BQMtbRCb.d.cts +321 -0
- package/dist/types-BQMtbRCb.d.ts +321 -0
- package/dist/types-CLXdbjqr.d.cts +123 -0
- package/dist/verifier/index.cjs +4901 -0
- package/dist/verifier/index.cjs.map +1 -0
- package/dist/verifier/index.d.cts +176 -0
- package/dist/verifier/index.d.ts +176 -0
- package/dist/verifier/index.js +4848 -0
- package/dist/verifier/index.js.map +1 -0
- package/package.json +108 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
interface ParsedArgs {
|
|
3
|
+
readonly txHash: string | undefined;
|
|
4
|
+
readonly gateways: ReadonlyArray<string>;
|
|
5
|
+
readonly threshold: number | undefined;
|
|
6
|
+
readonly json: boolean;
|
|
7
|
+
readonly showHelp: boolean;
|
|
8
|
+
readonly showVersion: boolean;
|
|
9
|
+
readonly error: string | undefined;
|
|
10
|
+
}
|
|
11
|
+
declare function parseArgs(args: ReadonlyArray<string>): ParsedArgs;
|
|
12
|
+
interface RunIO {
|
|
13
|
+
readonly stdout: (text: string) => void;
|
|
14
|
+
readonly stderr: (text: string) => void;
|
|
15
|
+
}
|
|
16
|
+
declare function run(args: ReadonlyArray<string>, io: RunIO): Promise<number>;
|
|
17
|
+
|
|
18
|
+
export { type RunIO, parseArgs, run };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
interface ParsedArgs {
|
|
3
|
+
readonly txHash: string | undefined;
|
|
4
|
+
readonly gateways: ReadonlyArray<string>;
|
|
5
|
+
readonly threshold: number | undefined;
|
|
6
|
+
readonly json: boolean;
|
|
7
|
+
readonly showHelp: boolean;
|
|
8
|
+
readonly showVersion: boolean;
|
|
9
|
+
readonly error: string | undefined;
|
|
10
|
+
}
|
|
11
|
+
declare function parseArgs(args: ReadonlyArray<string>): ParsedArgs;
|
|
12
|
+
interface RunIO {
|
|
13
|
+
readonly stdout: (text: string) => void;
|
|
14
|
+
readonly stderr: (text: string) => void;
|
|
15
|
+
}
|
|
16
|
+
declare function run(args: ReadonlyArray<string>, io: RunIO): Promise<number>;
|
|
17
|
+
|
|
18
|
+
export { type RunIO, parseArgs, run };
|