@ilalv3/cli 0.2.13 → 0.2.14
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/index.js +1 -1
- package/dist/ui.js +3 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -19,7 +19,7 @@ const program = new Command();
|
|
|
19
19
|
program
|
|
20
20
|
.name("ilal")
|
|
21
21
|
.description("ILAL Protocol CLI — Uniswap v4 compliance hook toolkit")
|
|
22
|
-
.version("0.2.
|
|
22
|
+
.version("0.2.14")
|
|
23
23
|
.addHelpText("before", `\n ${fmt.bold(fmt.cyan("◆"))} ${fmt.bold("ILAL Protocol")} ${fmt.gray("Uniswap v4 Compliance Hook")}\n`);
|
|
24
24
|
// ─── init ─────────────────────────────────────────────────────────────────────
|
|
25
25
|
program
|
package/dist/ui.js
CHANGED
|
@@ -178,6 +178,9 @@ const CONTRACT_ERRORS = {
|
|
|
178
178
|
"0xfa9f081c": "Schema hash mismatch",
|
|
179
179
|
"0xb7e9429b": "Issuer hash mismatch",
|
|
180
180
|
"0x0e917e64": "Wallet hash mismatch — wrong wallet key",
|
|
181
|
+
"0x21374865": "Session signature invalid — re-sign hookData with the wallet that owns the CNF",
|
|
182
|
+
"0xd9b2290c": "Session user mismatch — hookData can only be used by the wallet that signed it",
|
|
183
|
+
"0x1fb09b80": "Session nonce already used — sign a fresh session",
|
|
181
184
|
};
|
|
182
185
|
function parseViemError(e) {
|
|
183
186
|
const msg = e instanceof Error ? e.message : String(e);
|