@trustwallet/cli 0.10.0 → 0.12.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/dist/commands/automate.d.ts.map +1 -1
- package/dist/commands/onramp.d.ts.map +1 -1
- package/dist/commands/query.d.ts.map +1 -1
- package/dist/commands/setup.d.ts +14 -0
- package/dist/commands/setup.d.ts.map +1 -0
- package/dist/commands/transfer.d.ts +8 -0
- package/dist/commands/transfer.d.ts.map +1 -1
- package/dist/commands/wallet.d.ts.map +1 -1
- package/dist/commands/watch.d.ts.map +1 -1
- package/dist/config-loader.d.ts.map +1 -1
- package/dist/index.js +2881 -1448
- package/dist/setup/atomic-write.d.ts +2 -0
- package/dist/setup/atomic-write.d.ts.map +1 -0
- package/dist/setup/harnesses/claude-code.d.ts +3 -0
- package/dist/setup/harnesses/claude-code.d.ts.map +1 -0
- package/dist/setup/harnesses/claude-desktop.d.ts +4 -0
- package/dist/setup/harnesses/claude-desktop.d.ts.map +1 -0
- package/dist/setup/harnesses/codex.d.ts +4 -0
- package/dist/setup/harnesses/codex.d.ts.map +1 -0
- package/dist/setup/harnesses/cursor.d.ts +3 -0
- package/dist/setup/harnesses/cursor.d.ts.map +1 -0
- package/dist/setup/harnesses/index.d.ts +5 -0
- package/dist/setup/harnesses/index.d.ts.map +1 -0
- package/dist/setup/harnesses/json-base.d.ts +8 -0
- package/dist/setup/harnesses/json-base.d.ts.map +1 -0
- package/dist/setup/harnesses/types.d.ts +17 -0
- package/dist/setup/harnesses/types.d.ts.map +1 -0
- package/dist/setup/phase-credentials.d.ts +18 -0
- package/dist/setup/phase-credentials.d.ts.map +1 -0
- package/dist/setup/phase-harnesses.d.ts +19 -0
- package/dist/setup/phase-harnesses.d.ts.map +1 -0
- package/dist/setup/phase-wallet.d.ts +28 -0
- package/dist/setup/phase-wallet.d.ts.map +1 -0
- package/dist/setup/types.d.ts +14 -0
- package/dist/setup/types.d.ts.map +1 -0
- package/package.json +17 -15
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"automate.d.ts","sourceRoot":"","sources":["../../src/commands/automate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"automate.d.ts","sourceRoot":"","sources":["../../src/commands/automate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAiDpC,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAuO9D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"onramp.d.ts","sourceRoot":"","sources":["../../src/commands/onramp.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"onramp.d.ts","sourceRoot":"","sources":["../../src/commands/onramp.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAwKpC,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAsY5D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query.d.ts","sourceRoot":"","sources":["../../src/commands/query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"query.d.ts","sourceRoot":"","sources":["../../src/commands/query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AA4BpC,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAmwB3D"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Command } from 'commander';
|
|
2
|
+
import type { PhaseRunners, SetupOptions } from '../setup/types';
|
|
3
|
+
interface RawSetupOpts {
|
|
4
|
+
reconfigureCreds?: boolean;
|
|
5
|
+
harness?: string;
|
|
6
|
+
wallet?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare function parseSetupOpts(raw: RawSetupOpts): SetupOptions;
|
|
9
|
+
export declare function isNonInteractive(): boolean;
|
|
10
|
+
export declare function printSetupBanner(): void;
|
|
11
|
+
export declare function runSetup(opts: SetupOptions, phases?: PhaseRunners): Promise<void>;
|
|
12
|
+
export declare function registerSetupCommand(program: Command): void;
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=setup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setup.d.ts","sourceRoot":"","sources":["../../src/commands/setup.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAU,MAAM,WAAW,CAAC;AAI5C,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAKjE,UAAU,YAAY;IACpB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAKD,wBAAgB,cAAc,CAAC,GAAG,EAAE,YAAY,GAAG,YAAY,CAO9D;AAWD,wBAAgB,gBAAgB,IAAI,OAAO,CAI1C;AAGD,wBAAgB,gBAAgB,IAAI,IAAI,CAIvC;AAKD,wBAAsB,QAAQ,CAC5B,IAAI,EAAE,YAAY,EAClB,MAAM,GAAE,YAA4B,GACnC,OAAO,CAAC,IAAI,CAAC,CAKf;AASD,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAqB3D"}
|
|
@@ -1,3 +1,11 @@
|
|
|
1
1
|
import { Command } from 'commander';
|
|
2
|
+
/**
|
|
3
|
+
* Classify an error from BlockchainClient.transfer() into a TransferError with a
|
|
4
|
+
* specific code. Shared by `transfer` and `onramp sell-confirm` since both wrap
|
|
5
|
+
* the same Trust SDK broadcast path.
|
|
6
|
+
*
|
|
7
|
+
* Always throws — caller convention is `throw mapBroadcastError(err)`.
|
|
8
|
+
*/
|
|
9
|
+
export declare function mapBroadcastError(err: unknown): never;
|
|
2
10
|
export declare function registerTransferCommand(program: Command): void;
|
|
3
11
|
//# sourceMappingURL=transfer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transfer.d.ts","sourceRoot":"","sources":["../../src/commands/transfer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"transfer.d.ts","sourceRoot":"","sources":["../../src/commands/transfer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAqBpC;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,OAAO,GAAG,KAAK,CAiCrD;AAaD,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAiJ9D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wallet.d.ts","sourceRoot":"","sources":["../../src/commands/wallet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"wallet.d.ts","sourceRoot":"","sources":["../../src/commands/wallet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AA4CpC,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CA0tB5D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"watch.d.ts","sourceRoot":"","sources":["../../src/commands/watch.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"watch.d.ts","sourceRoot":"","sources":["../../src/commands/watch.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AA0CpC,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CA6X3D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config-loader.d.ts","sourceRoot":"","sources":["../src/config-loader.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"config-loader.d.ts","sourceRoot":"","sources":["../src/config-loader.ts"],"names":[],"mappings":"AACA,OAAO,EAAkC,cAAc,EAAwB,MAAM,YAAY,CAAC;AAElG,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAanD,UAAU,WAAW;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,gBAAgB,IAAI,cAAc,CAejD;AAED,wBAAsB,cAAc,IAAI,OAAO,CAAC,WAAW,CAAC,CAsB3D;AAED,wBAAsB,SAAS,IAAI,OAAO,CAAC,cAAc,CAAC,CAGzD;AAED,wBAAsB,YAAY,IAAI,OAAO,CAAC,cAAc,GAAG,SAAS,CAAC,CAWxE;AAED,wBAAsB,cAAc,IAAI,OAAO,CAAC,WAAW,CAAC,CAQ3D;AAED,wBAAsB,yBAAyB,CAC7C,KAAK,EAAE,WAAW,EAClB,QAAQ,EAAE,mBAAmB,GAC5B,OAAO,CAAC,IAAI,CAAC,CAef;AAED,wBAAsB,eAAe,CAAC,IAAI,CAAC,EAAE;IAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAkBnF"}
|