thaifi-wallet-cli 0.3.0 → 0.3.1

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.
@@ -185,7 +185,7 @@ async function maybeSaveImage(text) {
185
185
  const id = (body?.id ?? body?.data?.id ?? "image").toString().replace(/[^\w-]/g, "");
186
186
  const mime = (body?.mime_type ?? body?.data?.mime_type ?? "image/png").toString();
187
187
  const ext = mime.includes("jpeg") ? "jpg" : mime.includes("webp") ? "webp" : "png";
188
- const file = `iapp-${id}.${ext}`;
188
+ const file = `image-${id}.${ext}`;
189
189
  const { writeFileSync } = await import("node:fs");
190
190
  writeFileSync(file, Buffer.from(b64, "base64"));
191
191
  const { width, height, time } = body;
package/dist/tokens.js CHANGED
@@ -7,13 +7,13 @@ export const PATHUSD = {
7
7
  decimals: 6,
8
8
  };
9
9
  export const THCFI = {
10
- address: "0x185cd24d61D400d4A22469B311B3915d04e10DCF",
10
+ address: "0xfe76fedcfb6a7dfe7f10ecc518150ace70bd6994",
11
11
  symbol: "THCFI",
12
12
  name: "ThaiCoin ThaiFi",
13
13
  decimals: 6,
14
14
  };
15
15
  export const THCOC = {
16
- address: "0x5c4B54cf00Df2be0169E05DfAF34eE754cace9a4",
16
+ address: "0xadda91c4b336285ec732da4ae905f5ab3b4333b3",
17
17
  symbol: "THCOC",
18
18
  name: "ThaiCoin OpenCraft",
19
19
  decimals: 6,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "thaifi-wallet-cli",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "ThaiFi Wallet CLI for AI agents — pair with wallet.thaifi.com, sign with on-chain access keys (spending limits enforced on-chain), x402/MPP payments",
5
5
  "type": "module",
6
6
  "bin": {