@t2000/cli 0.22.21 → 0.22.23
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/{ccip-3TXHQUZ5.js → ccip-JEEJV65M.js} +3 -3
- package/dist/{chunk-3W7OQGNS.js → chunk-3XUF7GM3.js} +21 -42
- package/dist/chunk-3XUF7GM3.js.map +1 -0
- package/dist/chunk-77SWBATH.js +204 -0
- package/dist/chunk-77SWBATH.js.map +1 -0
- package/dist/{chunk-ML6HST4W.js → chunk-A5X4KG7U.js} +1878 -341
- package/dist/chunk-A5X4KG7U.js.map +1 -0
- package/dist/{chunk-VREOXJUB.js → chunk-EEPD7SHV.js} +15455 -14941
- package/dist/chunk-EEPD7SHV.js.map +1 -0
- package/dist/chunk-KHIL2KNW.js +4016 -0
- package/dist/chunk-KHIL2KNW.js.map +1 -0
- package/dist/{chunk-ZNF5QSAT.js → chunk-RN7Z6TWD.js} +33444 -24623
- package/dist/chunk-RN7Z6TWD.js.map +1 -0
- package/dist/{chunk-AB65Y674.js → chunk-V7PXDEKG.js} +2 -2
- package/dist/chunk-V7PXDEKG.js.map +1 -0
- package/dist/client-I4SGZLVD.js +746 -0
- package/dist/client-I4SGZLVD.js.map +1 -0
- package/dist/{client-SYS6Z5RX.js → client-R3NRAXMD.js} +5715 -2933
- package/dist/client-R3NRAXMD.js.map +1 -0
- package/dist/{dist-73ESA7QZ.js → dist-FDS4MNUV.js} +135 -4160
- package/dist/dist-FDS4MNUV.js.map +1 -0
- package/dist/{dist-IANNA5N7.js → dist-G5YKLWC5.js} +5 -5
- package/dist/{esm-IQVNJILX.js → esm-QBJBHFZA.js} +11 -11
- package/dist/esm-QBJBHFZA.js.map +1 -0
- package/dist/index.js +48 -36
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
- package/dist/chunk-3W7OQGNS.js.map +0 -1
- package/dist/chunk-AB65Y674.js.map +0 -1
- package/dist/chunk-H66DC3S3.js +0 -1908
- package/dist/chunk-H66DC3S3.js.map +0 -1
- package/dist/chunk-IHPSFXUW.js +0 -5002
- package/dist/chunk-IHPSFXUW.js.map +0 -1
- package/dist/chunk-ML6HST4W.js.map +0 -1
- package/dist/chunk-VREOXJUB.js.map +0 -1
- package/dist/chunk-ZNF5QSAT.js.map +0 -1
- package/dist/client-4DBCJNJO.js +0 -117
- package/dist/client-4DBCJNJO.js.map +0 -1
- package/dist/client-SYS6Z5RX.js.map +0 -1
- package/dist/dist-73ESA7QZ.js.map +0 -1
- package/dist/esm-IQVNJILX.js.map +0 -1
- /package/dist/{ccip-3TXHQUZ5.js.map → ccip-JEEJV65M.js.map} +0 -0
- /package/dist/{dist-IANNA5N7.js.map → dist-G5YKLWC5.js.map} +0 -0
|
@@ -74,10 +74,10 @@ import {
|
|
|
74
74
|
usdcToRaw,
|
|
75
75
|
validateAddress,
|
|
76
76
|
walletExists
|
|
77
|
-
} from "./chunk-
|
|
78
|
-
import "./chunk-
|
|
79
|
-
import "./chunk-
|
|
80
|
-
import "./chunk-
|
|
77
|
+
} from "./chunk-RN7Z6TWD.js";
|
|
78
|
+
import "./chunk-V7PXDEKG.js";
|
|
79
|
+
import "./chunk-KHIL2KNW.js";
|
|
80
|
+
import "./chunk-3XUF7GM3.js";
|
|
81
81
|
import "./chunk-YPWSCLE3.js";
|
|
82
82
|
export {
|
|
83
83
|
AutoInvestManager,
|
|
@@ -155,4 +155,4 @@ export {
|
|
|
155
155
|
validateAddress,
|
|
156
156
|
walletExists
|
|
157
157
|
};
|
|
158
|
-
//# sourceMappingURL=dist-
|
|
158
|
+
//# sourceMappingURL=dist-G5YKLWC5.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from 'module'; import { fileURLToPath as __fileURLToPath } from 'url'; import { dirname as __pathDirname } from 'path'; const require = __createRequire(import.meta.url); const __filename = __fileURLToPath(import.meta.url); const __dirname = __pathDirname(__filename);
|
|
2
2
|
import {
|
|
3
3
|
SIGNATURE_SCHEME_TO_FLAG
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-V7PXDEKG.js";
|
|
5
5
|
import {
|
|
6
6
|
SUI_ADDRESS_LENGTH,
|
|
7
7
|
base64urlnopad,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
randomBytes,
|
|
20
20
|
toBase64,
|
|
21
21
|
toHex
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-3XUF7GM3.js";
|
|
23
23
|
import {
|
|
24
24
|
__commonJS,
|
|
25
25
|
__toESM
|
|
@@ -819,7 +819,7 @@ var require_poseidon_lite = __commonJS({
|
|
|
819
819
|
}
|
|
820
820
|
});
|
|
821
821
|
|
|
822
|
-
// ../../node_modules/.pnpm/@mysten+sui@2.
|
|
822
|
+
// ../../node_modules/.pnpm/@mysten+sui@2.11.0_typescript@5.9.3/node_modules/@mysten/sui/dist/zklogin/poseidon.mjs
|
|
823
823
|
var import_poseidon_lite = __toESM(require_poseidon_lite(), 1);
|
|
824
824
|
var poseidonNumToHashFN = [
|
|
825
825
|
import_poseidon_lite.poseidon1,
|
|
@@ -851,7 +851,7 @@ function poseidonHash(inputs) {
|
|
|
851
851
|
else throw new Error(`Yet to implement: Unable to hash a vector of length ${inputs.length}`);
|
|
852
852
|
}
|
|
853
853
|
|
|
854
|
-
// ../../node_modules/.pnpm/@mysten+sui@2.
|
|
854
|
+
// ../../node_modules/.pnpm/@mysten+sui@2.11.0_typescript@5.9.3/node_modules/@mysten/sui/dist/zklogin/utils.mjs
|
|
855
855
|
init_utils();
|
|
856
856
|
var MAX_KEY_CLAIM_NAME_LENGTH = 32;
|
|
857
857
|
var MAX_KEY_CLAIM_VALUE_LENGTH = 115;
|
|
@@ -901,7 +901,7 @@ function normalizeZkLoginIssuer(iss) {
|
|
|
901
901
|
return iss;
|
|
902
902
|
}
|
|
903
903
|
|
|
904
|
-
// ../../node_modules/.pnpm/@mysten+sui@2.
|
|
904
|
+
// ../../node_modules/.pnpm/@mysten+sui@2.11.0_typescript@5.9.3/node_modules/@mysten/sui/dist/zklogin/jwt-decode.mjs
|
|
905
905
|
var InvalidTokenError = class extends Error {
|
|
906
906
|
};
|
|
907
907
|
InvalidTokenError.prototype.name = "InvalidTokenError";
|
|
@@ -951,7 +951,7 @@ function jwtDecode(token, options) {
|
|
|
951
951
|
}
|
|
952
952
|
}
|
|
953
953
|
|
|
954
|
-
// ../../node_modules/.pnpm/@mysten+sui@2.
|
|
954
|
+
// ../../node_modules/.pnpm/@mysten+sui@2.11.0_typescript@5.9.3/node_modules/@mysten/sui/dist/zklogin/jwt-utils.mjs
|
|
955
955
|
function decodeJwt(jwt) {
|
|
956
956
|
const { iss, aud, sub, ...decodedJWT } = jwtDecode(jwt);
|
|
957
957
|
if (!sub || !iss || !aud) throw new Error("Missing jwt data");
|
|
@@ -965,7 +965,7 @@ function decodeJwt(jwt) {
|
|
|
965
965
|
};
|
|
966
966
|
}
|
|
967
967
|
|
|
968
|
-
// ../../node_modules/.pnpm/@mysten+sui@2.
|
|
968
|
+
// ../../node_modules/.pnpm/@mysten+sui@2.11.0_typescript@5.9.3/node_modules/@mysten/sui/dist/zklogin/bcs.mjs
|
|
969
969
|
init_dist();
|
|
970
970
|
var zkLoginSignature = bcs.struct("ZkLoginSignature", {
|
|
971
971
|
inputs: bcs.struct("ZkLoginSignatureInputs", {
|
|
@@ -985,7 +985,7 @@ var zkLoginSignature = bcs.struct("ZkLoginSignature", {
|
|
|
985
985
|
userSignature: bcs.byteVector()
|
|
986
986
|
});
|
|
987
987
|
|
|
988
|
-
// ../../node_modules/.pnpm/@mysten+sui@2.
|
|
988
|
+
// ../../node_modules/.pnpm/@mysten+sui@2.11.0_typescript@5.9.3/node_modules/@mysten/sui/dist/zklogin/signature.mjs
|
|
989
989
|
init_dist();
|
|
990
990
|
function getZkLoginSignatureBytes({ inputs, maxEpoch, userSignature }) {
|
|
991
991
|
return zkLoginSignature.serialize({
|
|
@@ -1006,7 +1006,7 @@ function getZkLoginSignature({ inputs, maxEpoch, userSignature }) {
|
|
|
1006
1006
|
return toBase64(signatureBytes);
|
|
1007
1007
|
}
|
|
1008
1008
|
|
|
1009
|
-
// ../../node_modules/.pnpm/@mysten+sui@2.
|
|
1009
|
+
// ../../node_modules/.pnpm/@mysten+sui@2.11.0_typescript@5.9.3/node_modules/@mysten/sui/dist/zklogin/address.mjs
|
|
1010
1010
|
init_sui_types();
|
|
1011
1011
|
init_blake2();
|
|
1012
1012
|
init_utils();
|
|
@@ -1048,7 +1048,7 @@ function computeZkLoginAddress({ claimName, claimValue, iss, aud, userSalt, lega
|
|
|
1048
1048
|
return computeZkLoginAddressFromSeed(genAddressSeed(userSalt, claimName, claimValue, aud), iss, legacyAddress);
|
|
1049
1049
|
}
|
|
1050
1050
|
|
|
1051
|
-
// ../../node_modules/.pnpm/@mysten+sui@2.
|
|
1051
|
+
// ../../node_modules/.pnpm/@mysten+sui@2.11.0_typescript@5.9.3/node_modules/@mysten/sui/dist/zklogin/nonce.mjs
|
|
1052
1052
|
init_dist();
|
|
1053
1053
|
init_utils();
|
|
1054
1054
|
init_base();
|
|
@@ -1095,4 +1095,4 @@ export {
|
|
|
1095
1095
|
jwtToAddress2 as jwtToAddress,
|
|
1096
1096
|
poseidonHash
|
|
1097
1097
|
};
|
|
1098
|
-
//# sourceMappingURL=esm-
|
|
1098
|
+
//# sourceMappingURL=esm-QBJBHFZA.js.map
|