diff --git a/_package/package.json b/_package/package.json index 14f4933..06686c1 100644 --- a/_package/package.json +++ b/_package/package.json @@ -1,6 +1,6 @@ { "name": "@initia/initia-registry-types", - "version": "0.0.6", + "version": "0.0.7", "description": "The package provides TypeScript type definitions and Zod integration for initia-registry.", "types": "./dist/types/index.d.ts", "exports": { @@ -36,4 +36,3 @@ "typescript": "^5.2.2" } } - diff --git a/_package/src/types/Chain.ts b/_package/src/types/Chain.ts index ec5f9d5..3378a0f 100644 --- a/_package/src/types/Chain.ts +++ b/_package/src/types/Chain.ts @@ -240,6 +240,10 @@ export interface Chain { "nft-transfer"?: string; }[]; }; + /** + * URL pointing to the asset list, which provides metadata associated with Cosmos denoms. + */ + assetlist?: string; }; } export interface FeeToken { diff --git a/_package/src/zods/Chain.ts b/_package/src/zods/Chain.ts index 9945781..9c93b20 100644 --- a/_package/src/zods/Chain.ts +++ b/_package/src/zods/Chain.ts @@ -546,6 +546,12 @@ export const ChainSchema = z "[Optional] The list of IBC channels that are supported by the chain." ) .optional(), + assetlist: z + .string() + .describe( + "URL pointing to the asset list, which provides metadata associated with Cosmos denoms." + ) + .optional(), }) .strict() .optional(), diff --git a/chain.schema.json b/chain.schema.json index 98499f3..8317000 100644 --- a/chain.schema.json +++ b/chain.schema.json @@ -697,6 +697,10 @@ } ], "description": "[Optional] The list of IBC channels that are supported by the chain." + }, + "assetlist": { + "type": "string", + "description": "URL pointing to the asset list, which provides metadata associated with Cosmos denoms." } }, "additionalProperties": false diff --git a/devnets/mahalo/chain.json b/devnets/mahalo/chain.json index d4c9f29..04bdc57 100644 --- a/devnets/mahalo/chain.json +++ b/devnets/mahalo/chain.json @@ -153,6 +153,7 @@ "transfer": "channel-1" } ] - } + }, + "assetlist": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/assetlist.json" } } diff --git a/devnets/minimove/chain.json b/devnets/minimove/chain.json index 0b2f1d1..60eff60 100644 --- a/devnets/minimove/chain.json +++ b/devnets/minimove/chain.json @@ -138,6 +138,7 @@ "transfer": "channel-0" } ] - } + }, + "assetlist": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/assetlist.json" } } diff --git a/devnets/miniwasm/chain.json b/devnets/miniwasm/chain.json index 9a43a9e..14793e2 100644 --- a/devnets/miniwasm/chain.json +++ b/devnets/miniwasm/chain.json @@ -143,6 +143,7 @@ "transfer": "channel-0" } ] - } + }, + "assetlist": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/miniwasm/assetlist.json" } }