@t2000/cli 0.47.0 → 0.48.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-4W7T24L5.js → chunk-Q52KM4VI.js} +9 -1
- package/dist/{chunk-4W7T24L5.js.map → chunk-Q52KM4VI.js.map} +1 -1
- package/dist/{dist-Y7A6L6BS.js → dist-4KFY6MX6.js} +4 -2
- package/dist/{dist-33NVE725.js → dist-H6MWADWT.js} +2 -2
- package/dist/{dist-33NVE725.js.map → dist-H6MWADWT.js.map} +1 -1
- package/dist/index.js +3 -3
- package/package.json +3 -3
- /package/dist/{dist-Y7A6L6BS.js.map → dist-4KFY6MX6.js.map} +0 -0
|
@@ -60713,6 +60713,13 @@ function truncateAddress(address) {
|
|
|
60713
60713
|
if (address.length <= 10) return address;
|
|
60714
60714
|
return `${address.slice(0, 6)}...${address.slice(-4)}`;
|
|
60715
60715
|
}
|
|
60716
|
+
function normalizeCoinType2(coinType) {
|
|
60717
|
+
const parts = coinType.split("::");
|
|
60718
|
+
if (parts.length !== 3) return coinType;
|
|
60719
|
+
const [addr, mod3, name] = parts;
|
|
60720
|
+
if (!addr.startsWith("0x")) return coinType;
|
|
60721
|
+
return `${normalizeSuiAddress(addr)}::${mod3}::${name}`;
|
|
60722
|
+
}
|
|
60716
60723
|
init_errors();
|
|
60717
60724
|
var ALGORITHM = "aes-256-gcm";
|
|
60718
60725
|
var SCRYPT_N = 2 ** 14;
|
|
@@ -67470,6 +67477,7 @@ export {
|
|
|
67470
67477
|
GAS_RESERVE_MIN,
|
|
67471
67478
|
validateAddress,
|
|
67472
67479
|
truncateAddress,
|
|
67480
|
+
normalizeCoinType2 as normalizeCoinType,
|
|
67473
67481
|
generateKeypair,
|
|
67474
67482
|
keypairFromPrivateKey,
|
|
67475
67483
|
saveKey,
|
|
@@ -67580,4 +67588,4 @@ axios/dist/node/axios.cjs:
|
|
|
67580
67588
|
@scure/bip39/index.js:
|
|
67581
67589
|
(*! scure-bip39 - MIT License (c) 2022 Patricio Palladino, Paul Miller (paulmillr.com) *)
|
|
67582
67590
|
*/
|
|
67583
|
-
//# sourceMappingURL=chunk-
|
|
67591
|
+
//# sourceMappingURL=chunk-Q52KM4VI.js.map
|