@toon-protocol/client 3.1.1 → 3.2.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/{chunk-KQE6S23B.js → chunk-ZHWYFPOP.js} +73 -20
- package/dist/chunk-ZHWYFPOP.js.map +1 -0
- package/dist/cli/main.js +9 -2
- package/dist/cli/main.js.map +1 -1
- package/dist/{client-AV355FHQ.js → client-SCEP67S5.js} +4 -2
- package/dist/index.d.ts +147 -15
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-KQE6S23B.js.map +0 -1
- /package/dist/{client-AV355FHQ.js.map → client-SCEP67S5.js.map} +0 -0
package/dist/cli/main.js
CHANGED
|
@@ -542,7 +542,7 @@ function buildClientConfig(settings, keys) {
|
|
|
542
542
|
};
|
|
543
543
|
}
|
|
544
544
|
async function defaultCreateClient(config) {
|
|
545
|
-
const module = await import("../client-
|
|
545
|
+
const module = await import("../client-SCEP67S5.js");
|
|
546
546
|
const factory = module.ToonClient;
|
|
547
547
|
if (factory === void 0) {
|
|
548
548
|
throw new Error(
|
|
@@ -972,7 +972,14 @@ async function run4(ctx) {
|
|
|
972
972
|
} else {
|
|
973
973
|
ctx.out.line("Routes:");
|
|
974
974
|
ctx.out.rows(
|
|
975
|
-
description.routes.map((r) => [
|
|
975
|
+
description.routes.map((r) => [
|
|
976
|
+
r.prefix,
|
|
977
|
+
// A route's own carriage pin, where it has one (TOON_Network#111).
|
|
978
|
+
// Beside the price, because a route priced and not qualified reads as
|
|
979
|
+
// one you can simply pay for — which is how the devnet relay read for
|
|
980
|
+
// as long as it pinned BTP and said nothing.
|
|
981
|
+
r.requiredTransport === void 0 ? formatAmount(r.price, asset) : `${formatAmount(r.price, asset)} (${r.requiredTransport} carriage)`
|
|
982
|
+
])
|
|
976
983
|
);
|
|
977
984
|
}
|
|
978
985
|
});
|