From 5a08fd9739d862b84340303e879558baac44c39c Mon Sep 17 00:00:00 2001 From: ALPAC-4 Date: Tue, 2 Apr 2024 14:59:13 +0900 Subject: [PATCH 1/7] feat: add initia-registry package --- .../workflows/npm_publish_initia_registry.yml | 10 +- .github/workflows/npm_publish_types.yml | 26 + .gitignore | 2 + .vscode/settings.json | 5 - _packages/initia-registry/.gitignore | 9 + .../initia-registry/.yarn/install-state.gz | Bin 0 -> 15632 bytes _packages/initia-registry/package-lock.json | 544 ++++++++++++++++ _packages/initia-registry/package.json | 43 ++ _packages/initia-registry/scripts/build.js | 580 ++++++++++++++++++ _packages/initia-registry/src/all.ts | 11 + _packages/initia-registry/src/assets.ts | 7 + _packages/initia-registry/src/chains.ts | 7 + _packages/initia-registry/src/devnet/all.ts | 11 + .../initia-registry/src/devnet/assets.ts | 9 + .../initia-registry/src/devnet/chains.ts | 9 + _packages/initia-registry/src/devnet/ibc.ts | 7 + _packages/initia-registry/src/devnet/index.ts | 3 + .../src/devnet/initia/assets.ts | 148 +++++ .../src/devnet/initia/chain.ts | 136 ++++ .../initia-registry/src/devnet/initia/ibc.ts | 66 ++ .../src/devnet/initia/ibc_chain1.ts | 66 ++ .../src/devnet/initia/index.ts | 9 + .../src/devnet/minimove/assets.ts | 64 ++ .../src/devnet/minimove/chain.ts | 113 ++++ .../src/devnet/minimove/ibc.ts | 9 +- .../src/devnet/minimove/index.ts | 7 + .../src/devnet/miniwasm/assets.ts | 64 ++ .../src/devnet/miniwasm/chain.ts | 113 ++++ .../src/devnet/miniwasm/ibc.ts | 35 ++ .../src/devnet/miniwasm/index.ts | 7 + _packages/initia-registry/src/ibc.ts | 7 + _packages/initia-registry/src/index.ts | 8 + _packages/initia-registry/tsconfig.json | 19 + _packages/initia-registry/types/all.d.ts | 10 + _packages/initia-registry/types/assets.d.ts | 3 + _packages/initia-registry/types/chains.d.ts | 3 + .../initia-registry/types/devnet/all.d.ts | 10 + .../initia-registry/types/devnet/assets.d.ts | 3 + .../initia-registry/types/devnet/chains.d.ts | 3 + .../initia-registry/types/devnet/ibc.d.ts | 3 + .../initia-registry/types/devnet/index.d.ts | 3 + .../types/devnet/initia/assets.d.ts | 3 + .../types/devnet/initia/chain.d.ts | 3 + .../types/devnet/initia/ibc.d.ts | 3 + .../types/devnet/initia/ibc_chain1.d.ts | 3 + .../types/devnet/initia/index.d.ts | 4 + .../types/devnet/minimove/assets.d.ts | 3 + .../types/devnet/minimove/chain.d.ts | 3 + .../types/devnet/minimove/ibc.d.ts | 3 + .../types/devnet/minimove/index.d.ts | 3 + .../types/devnet/miniwasm/assets.d.ts | 3 + .../types/devnet/miniwasm/chain.d.ts | 3 + .../types/devnet/miniwasm/ibc.d.ts | 30 + .../types/devnet/miniwasm/index.d.ts | 31 + _packages/initia-registry/types/ibc.d.ts | 3 + _packages/initia-registry/types/index.d.ts | 10 + _packages/initia-registry/yarn.lock | 356 +++++++++++ {_package => _packages/types}/.gitignore | 0 {_package => _packages/types}/.npmignore | 0 .../types}/package-lock.json | 198 ++++-- {_package => _packages/types}/package.json | 2 +- {_package => _packages/types}/src/generate.ts | 6 +- .../types}/src/types/AssetList.ts | 0 .../types}/src/types/Chain.ts | 0 .../types/src/types/IBCInfo.ts | 2 +- .../types}/src/types/index.ts | 2 +- .../types}/src/zods/AssetList.ts | 0 .../types}/src/zods/Chain.ts | 0 .../types/src/zods/IBCInfo.ts | 2 +- .../types}/src/zods/index.ts | 2 +- {_package => _packages/types}/tsconfig.json | 0 devnets/_IBC/initia-minimove.json | 31 + ...alo-miniwasm.json => initia-miniwasm.json} | 2 +- devnets/mahalo/chain.json | 4 +- devnets/minimove/chain.json | 10 +- devnets/miniwasm/chain.json | 4 +- 76 files changed, 2831 insertions(+), 90 deletions(-) create mode 100644 .github/workflows/npm_publish_types.yml delete mode 100644 .vscode/settings.json create mode 100644 _packages/initia-registry/.gitignore create mode 100644 _packages/initia-registry/.yarn/install-state.gz create mode 100644 _packages/initia-registry/package-lock.json create mode 100644 _packages/initia-registry/package.json create mode 100644 _packages/initia-registry/scripts/build.js create mode 100644 _packages/initia-registry/src/all.ts create mode 100644 _packages/initia-registry/src/assets.ts create mode 100644 _packages/initia-registry/src/chains.ts create mode 100644 _packages/initia-registry/src/devnet/all.ts create mode 100644 _packages/initia-registry/src/devnet/assets.ts create mode 100644 _packages/initia-registry/src/devnet/chains.ts create mode 100644 _packages/initia-registry/src/devnet/ibc.ts create mode 100644 _packages/initia-registry/src/devnet/index.ts create mode 100644 _packages/initia-registry/src/devnet/initia/assets.ts create mode 100644 _packages/initia-registry/src/devnet/initia/chain.ts create mode 100644 _packages/initia-registry/src/devnet/initia/ibc.ts create mode 100644 _packages/initia-registry/src/devnet/initia/ibc_chain1.ts create mode 100644 _packages/initia-registry/src/devnet/initia/index.ts create mode 100644 _packages/initia-registry/src/devnet/minimove/assets.ts create mode 100644 _packages/initia-registry/src/devnet/minimove/chain.ts rename devnets/_IBC/mahalo-minimove.json => _packages/initia-registry/src/devnet/minimove/ibc.ts (82%) create mode 100644 _packages/initia-registry/src/devnet/minimove/index.ts create mode 100644 _packages/initia-registry/src/devnet/miniwasm/assets.ts create mode 100644 _packages/initia-registry/src/devnet/miniwasm/chain.ts create mode 100644 _packages/initia-registry/src/devnet/miniwasm/ibc.ts create mode 100644 _packages/initia-registry/src/devnet/miniwasm/index.ts create mode 100644 _packages/initia-registry/src/ibc.ts create mode 100644 _packages/initia-registry/src/index.ts create mode 100644 _packages/initia-registry/tsconfig.json create mode 100644 _packages/initia-registry/types/all.d.ts create mode 100644 _packages/initia-registry/types/assets.d.ts create mode 100644 _packages/initia-registry/types/chains.d.ts create mode 100644 _packages/initia-registry/types/devnet/all.d.ts create mode 100644 _packages/initia-registry/types/devnet/assets.d.ts create mode 100644 _packages/initia-registry/types/devnet/chains.d.ts create mode 100644 _packages/initia-registry/types/devnet/ibc.d.ts create mode 100644 _packages/initia-registry/types/devnet/index.d.ts create mode 100644 _packages/initia-registry/types/devnet/initia/assets.d.ts create mode 100644 _packages/initia-registry/types/devnet/initia/chain.d.ts create mode 100644 _packages/initia-registry/types/devnet/initia/ibc.d.ts create mode 100644 _packages/initia-registry/types/devnet/initia/ibc_chain1.d.ts create mode 100644 _packages/initia-registry/types/devnet/initia/index.d.ts create mode 100644 _packages/initia-registry/types/devnet/minimove/assets.d.ts create mode 100644 _packages/initia-registry/types/devnet/minimove/chain.d.ts create mode 100644 _packages/initia-registry/types/devnet/minimove/ibc.d.ts create mode 100644 _packages/initia-registry/types/devnet/minimove/index.d.ts create mode 100644 _packages/initia-registry/types/devnet/miniwasm/assets.d.ts create mode 100644 _packages/initia-registry/types/devnet/miniwasm/chain.d.ts create mode 100644 _packages/initia-registry/types/devnet/miniwasm/ibc.d.ts create mode 100644 _packages/initia-registry/types/devnet/miniwasm/index.d.ts create mode 100644 _packages/initia-registry/types/ibc.d.ts create mode 100644 _packages/initia-registry/types/index.d.ts create mode 100644 _packages/initia-registry/yarn.lock rename {_package => _packages/types}/.gitignore (100%) rename {_package => _packages/types}/.npmignore (100%) rename {_package => _packages/types}/package-lock.json (92%) rename {_package => _packages/types}/package.json (97%) rename {_package => _packages/types}/src/generate.ts (92%) rename {_package => _packages/types}/src/types/AssetList.ts (100%) rename {_package => _packages/types}/src/types/Chain.ts (100%) rename _package/src/types/IBCData.ts => _packages/types/src/types/IBCInfo.ts (99%) rename {_package => _packages/types}/src/types/index.ts (66%) rename {_package => _packages/types}/src/zods/AssetList.ts (100%) rename {_package => _packages/types}/src/zods/Chain.ts (100%) rename _package/src/zods/IBCData.ts => _packages/types/src/zods/IBCInfo.ts (99%) rename {_package => _packages/types}/src/zods/index.ts (66%) rename {_package => _packages/types}/tsconfig.json (100%) create mode 100644 devnets/_IBC/initia-minimove.json rename devnets/_IBC/{mahalo-miniwasm.json => initia-miniwasm.json} (95%) diff --git a/.github/workflows/npm_publish_initia_registry.yml b/.github/workflows/npm_publish_initia_registry.yml index c4ad687..84902f7 100644 --- a/.github/workflows/npm_publish_initia_registry.yml +++ b/.github/workflows/npm_publish_initia_registry.yml @@ -4,10 +4,10 @@ on: push: branches: ["main"] paths: - - _package/package.json + - _packages/initia_registry/package.json jobs: - build: + publish_types: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -17,10 +17,10 @@ jobs: node-version: "20.x" registry-url: "https://registry.npmjs.org" - run: npm ci - working-directory: ./_package + working-directory: ./_packages/initia_registry - run: npm run build - working-directory: ./_package + working-directory: ./_packages/initia_registry - run: npm publish - working-directory: ./_package + working-directory: ./_packages/initia_registry env: NODE_AUTH_TOKEN: ${{ secrets.NPMJS_ACCESS_TOKEN }} diff --git a/.github/workflows/npm_publish_types.yml b/.github/workflows/npm_publish_types.yml new file mode 100644 index 0000000..0400d9c --- /dev/null +++ b/.github/workflows/npm_publish_types.yml @@ -0,0 +1,26 @@ +name: NPM publish initia-registry-types + +on: + push: + branches: ["main"] + paths: + - _packages/types/package.json + +jobs: + publish_types: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + # Setup .npmrc file to publish to npm + - uses: actions/setup-node@v3 + with: + node-version: "20.x" + registry-url: "https://registry.npmjs.org" + - run: npm ci + working-directory: ./_packages/types + - run: npm run build + working-directory: ./_packages/types + - run: npm publish + working-directory: ./_packages/types + env: + NODE_AUTH_TOKEN: ${{ secrets.NPMJS_ACCESS_TOKEN }} diff --git a/.gitignore b/.gitignore index e43b0f9..29bb3fc 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ .DS_Store + +.vscode \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index 6f910ed..0000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "cSpell.words": [ - "devnets" - ] -} \ No newline at end of file diff --git a/_packages/initia-registry/.gitignore b/_packages/initia-registry/.gitignore new file mode 100644 index 0000000..2bc1ad0 --- /dev/null +++ b/_packages/initia-registry/.gitignore @@ -0,0 +1,9 @@ +dist +node_modules + +# MacOS +.DS_Store + +# dist +main +esm \ No newline at end of file diff --git a/_packages/initia-registry/.yarn/install-state.gz b/_packages/initia-registry/.yarn/install-state.gz new file mode 100644 index 0000000000000000000000000000000000000000..16f2177ceaf4e26fb1743372c5ba50505ba130d7 GIT binary patch literal 15632 zcmYkDRa6|&wyq%|5JHeZa199%LU4Bp?(XjHjk~+M6Wq0NcXt|X+#8o}oSVJRx#Qk? zS@lw5%&}_Kl>hsSH1Z?de=n?s&Xsv$P&}!q`9ONSDbM%e91b~ZBzhlw!>QvJdHTfB zg#mQg9mgzO{+>l}2|Dr@1o?Xbsru8T*Ywk;u8Y_1gcFnma(XhgpI@B#dBq3OpT##k zLFbz;ubcc{ua`A^-q)vz9`3LjZx`6fLy7Ns&2uRF+rcym-;Eq(``_((1FrAkHH`H2 zs^3?c{vwCR7kc^UzGRxT%lF>{C%p@<`@{ZTnYcj!e%)OBkfT!F;FIEUpp`Yl5Dz9$qS5&m13Wpu?|pmjV*^#m zxh}8oJ-6$_^=PD;EC2IlXQ=P}j!Cx1!v&A$)onv8UpX&{4{T9RZ{dE$j`#VzMDG0h zp?|X?x5MN3;lz&L9eP4f@|qm`az35IvnH40eOvQ(JE-@3%FX{Y^)Fbzk*Gp^;Uwxd zry(Amppf7wVkbs~D%#$)KMsEbxBOV0Vq0sOjQZ2UJr9LY2*tb$b~u6Lg?W_I1o}MA zM_HPCEt67WQ?Acf*q)ve6P#2aM^Y1Mq)Xv*xIa0+m4LsTdqf%Q z((*jXe+>qNAvE{8)k=rvzDx5wgfdrZizg?`+k4N~z%HBly}S55H8)SS%2PCLR1#`A zlG$)c;G!@}6u!$IO`+O4Oh zr?rVJt5W~ZjG#fb1L@_Mt$K}czrnp8w(K0vUYO6Yo?Vi7>o;i-FmiYyn&7)ooCOE1 z*%rZZ>$d~tV`3^#S}qLEXrtWVeqnt(R#X&`4eiWgVlANgM0`IJ*57r(=`4W~w$s0^ zyq@rk2LY|=Zf-=eV}om~5kr{Vdn)+;k*=DpVppag)Xf&k@P{IJKMON8VyfDW#uMt3 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9G{uCa=rosa1fnIXDidOqr#MBF{0!*lg7u9?;DtFURA4fbRYd_^(83j7k+ zSq7*D&C$0mF0I*Z%sCX$u(w<0wW$Ptko6VaW%Ja7=!bVhT4I-;+M$gr(tQ`%Js+Vh zI{ZA5=Xg4UR@qLmh+fc*h~7`G-7{+QuW?YwEd#e3o=%6E%u-dt=5Iiv7lYiLhp(}i znk}U~C@ZQhW;znmGFv#s*W*@uy5PF*9J@@~wZ?OZ7hSzRA=2lJi`+00IiRn3edn@% zG&bqxVV&A%I!(@JMx1tJ9%R;k@ANi?30(gg0)0(z_||KIo6Z6J(c^=#D>>E0 zwO{J@;U^`Ymp%1ZiRcRXy=di+!@mq0+avG6d0SAbx;o8dNprUSnbVUC6z5lSsKc}` zzV@ze1&_xN?eg#dCZvUagV|K(~33R%&K+Y){O;vU6s~N{?3r|Oeq{Q z#l>*Ug@#g^WaJBGS|Lllplj!WI@d382a47)UExqPK1WiPByMOi25T}AC;%0?LX$V8 zx9^8&gW=x18(H4_{eT5(t%bADr>DDJBida4Dt42%(UJ>r7stES5`Hgl@z993w?JRG N@WRuQG-i0X{{y(L88`p{ literal 0 HcmV?d00001 diff --git a/_packages/initia-registry/package-lock.json b/_packages/initia-registry/package-lock.json new file mode 100644 index 0000000..b354ca0 --- /dev/null +++ b/_packages/initia-registry/package-lock.json @@ -0,0 +1,544 @@ +{ + "name": "@initia/initia-registry", + "version": "1.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "@initia/initia-registry", + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "@initia/initia-registry-types": "^0.0.11" + }, + "devDependencies": { + "glob": "^10.3.12", + "mkdirp": "^3.0.1", + "rimraf": "^5.0.5" + } + }, + "node_modules/@initia/initia-registry-types": { + "version": "0.0.11", + "resolved": "https://registry.npmjs.org/@initia/initia-registry-types/-/initia-registry-types-0.0.11.tgz", + "integrity": "sha512-a/6ceFWNLfK614Ltuo2xVdTuRTRmARfx/Ok8zGK57Dyu/VRyHNnHF+YKXdFIYwpJOb0azYL9cJi04Fc/uxZ+pw==", + "dependencies": { + "zod": "^3.22.4" + } + }, + "node_modules/@isaacs/cliui": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", + "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", + "dev": true, + "dependencies": { + "string-width": "^5.1.2", + "string-width-cjs": "npm:string-width@^4.2.0", + "strip-ansi": "^7.0.1", + "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", + "wrap-ansi": "^8.1.0", + "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@pkgjs/parseargs": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", + "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", + "dev": true, + "optional": true, + "engines": { + "node": ">=14" + } + }, + "node_modules/ansi-regex": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/ansi-styles": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", + "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "dev": true + }, + "node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/cross-spawn": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", + "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "dev": true, + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/eastasianwidth": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", + "dev": true + }, + "node_modules/emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", + "dev": true + }, + "node_modules/foreground-child": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz", + "integrity": "sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==", + "dev": true, + "dependencies": { + "cross-spawn": "^7.0.0", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/glob": { + "version": "10.3.12", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.12.tgz", + "integrity": "sha512-TCNv8vJ+xz4QiqTpfOJA7HvYv+tNIRHKfUWw/q+v2jdgN4ebz+KY9tGx5J4rHP0o84mNP+ApH66HRX8us3Khqg==", + "dev": true, + "dependencies": { + "foreground-child": "^3.1.0", + "jackspeak": "^2.3.6", + "minimatch": "^9.0.1", + "minipass": "^7.0.4", + "path-scurry": "^1.10.2" + }, + "bin": { + "glob": "dist/esm/bin.mjs" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "dev": true + }, + "node_modules/jackspeak": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.3.6.tgz", + "integrity": "sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ==", + "dev": true, + "dependencies": { + "@isaacs/cliui": "^8.0.2" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + }, + "optionalDependencies": { + "@pkgjs/parseargs": "^0.11.0" + } + }, + "node_modules/lru-cache": { + "version": "10.2.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.2.0.tgz", + "integrity": "sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q==", + "dev": true, + "engines": { + "node": "14 || >=16.14" + } + }, + "node_modules/minimatch": { + "version": "9.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.4.tgz", + "integrity": "sha512-KqWh+VchfxcMNRAJjj2tnsSJdNbHsVgnkBhTNrW7AjVo6OvLtxw8zfT9oLw1JSohlFzJ8jCoTgaoXvJ+kHt6fw==", + "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/minipass": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==", + "dev": true, + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/mkdirp": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-3.0.1.tgz", + "integrity": "sha512-+NsyUUAZDmo6YVHzL/stxSu3t9YS1iljliy3BSDrXJ/dkn1KYdmtZODGGjLcc9XLgVVpH4KshHB8XmZgMhaBXg==", + "dev": true, + "bin": { + "mkdirp": "dist/cjs/src/bin.js" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/path-scurry": { + "version": "1.10.2", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.10.2.tgz", + "integrity": "sha512-7xTavNy5RQXnsjANvVvMkEjvloOinkAjv/Z6Ildz9v2RinZ4SBKTWFOVRbaF8p0vpHnyjV/UwNDdKuUv6M5qcA==", + "dev": true, + "dependencies": { + "lru-cache": "^10.2.0", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/rimraf": { + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-5.0.5.tgz", + "integrity": "sha512-CqDakW+hMe/Bz202FPEymy68P+G50RfMQK+Qo5YUqc9SPipvbGjCGKd0RSKEelbsfQuw3g5NZDSrlZZAJurH1A==", + "dev": true, + "dependencies": { + "glob": "^10.3.7" + }, + "bin": { + "rimraf": "dist/esm/bin.mjs" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dev": true, + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "dev": true, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "dev": true, + "dependencies": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/string-width-cjs": { + "name": "string-width", + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/string-width-cjs/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/string-width-cjs/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + }, + "node_modules/string-width-cjs/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "dev": true, + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "node_modules/strip-ansi-cjs": { + "name": "strip-ansi", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi-cjs/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/wrap-ansi": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", + "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", + "dev": true, + "dependencies": { + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs": { + "name": "wrap-ansi", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + }, + "node_modules/wrap-ansi-cjs/node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/zod": { + "version": "3.22.4", + "resolved": "https://registry.npmjs.org/zod/-/zod-3.22.4.tgz", + "integrity": "sha512-iC+8Io04lddc+mVqQ9AZ7OQ2MrUKGN+oIQyq1vemgt46jwCwLfhq7/pwnBnNXXXZb8VTVLKwp9EDkx+ryxIWmg==", + "funding": { + "url": "https://github.com/sponsors/colinhacks" + } + } + } +} diff --git a/_packages/initia-registry/package.json b/_packages/initia-registry/package.json new file mode 100644 index 0000000..5e56b33 --- /dev/null +++ b/_packages/initia-registry/package.json @@ -0,0 +1,43 @@ +{ + "name": "@initia/initia-registry", + "version": "0.0.1", + "description": "Initia chain registry", + "main": "main/index.js", + "module": "esm/index.js", + "typings": "types/index.d.ts", + "directories": { + "lib": "src", + "test": "__tests__" + }, + "files": [ + "types", + "esm", + "main" + ], + "scripts": { + "build:cjs": "tsc -p tsconfig.json --outDir main --module commonjs --declaration --declarationDir types || true", + "build:mjs": "tsc -p tsconfig.json --outDir esm --module es2022 --declaration false || true", + "clean:main": "rimraf main", + "clean:esm": "rimraf esm", + "clean": "npm run clean:main && npm run clean:esm", + "build": "npm run clean && npm run build:mjs && npm run build:cjs" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/initia-labs/initia-registry.git" + }, + "author": "InitiaLabs", + "license": "MIT", + "bugs": { + "url": "https://github.com/initia-labs/initia-registry/issues" + }, + "homepage": "https://github.com/initia-labs/initia-registry#readme", + "devDependencies": { + "glob": "^10.3.12", + "mkdirp": "^3.0.1", + "rimraf": "^5.0.5" + }, + "dependencies": { + "@initia/initia-registry-types": "^0.0.11" + } +} diff --git a/_packages/initia-registry/scripts/build.js b/_packages/initia-registry/scripts/build.js new file mode 100644 index 0000000..83bc241 --- /dev/null +++ b/_packages/initia-registry/scripts/build.js @@ -0,0 +1,580 @@ +const fs = require("fs"); +const { mkdirpSync } = require("mkdirp"); +const glob = require("glob").sync; +const path = require("path"); + +const NON_COSMOS_NETWORK_TYPE = "noncosmos"; + +const getValidVarName = (varName) => { + if (!/^[a-zA-Z_$]/.test(varName)) { + return `_${varName}`; + } + + return varName; +}; + +const write = (filePath, json, TypeName, isArray = false) => { + const strfy = JSON.stringify(json, null, 2); + const exportType = isArray ? TypeName + "[]" : TypeName; + fs.writeFileSync( + filePath, + `import { ${TypeName} } from '@initia/initia-registry-types'; +const info: ${exportType} = ${strfy}; +export default info;` + ); +}; + +const writeChainIndex = (filePath, chainObj) => { + fs.writeFileSync( + filePath, + `${ + chainObj.assets + ? `import _assets from './assets'; +` + : "" + }${ + chainObj.chain + ? `import _chain from './chain'; +` + : "" + }${ + chainObj.ibc + ? `import _ibc from './ibc'; +` + : "" + }${ + chainObj.ibc_chain1 + ? `import _ibc_chain1 from './ibc_chain1'; +` + : "" + } +${ + chainObj.assets + ? `export const assets = _assets; +` + : "" +}${ + chainObj.chain + ? `export const chain = _chain; +` + : "" + }${ + chainObj.ibc + ? `export const ibc = _ibc; +` + : "" + }${ + chainObj.ibc_chain1 + ? `export const ibc_chain1 = _ibc_chain1; +` + : "" + }` + ); +}; + +const writeNetworkAssets = (filePath, networkObj) => { + const validChain = []; + const importStat = Object.keys(networkObj) + .map((chain_name) => { + if (!networkObj[chain_name].assets) { + return null; + } + + validChain.push(chain_name); + return `import * as _${chain_name} from './${chain_name}'`; + }) + .filter(Boolean) + .join(";\n"); + + if (!validChain.length) { + return false; + } + + fs.writeFileSync( + filePath, + `import { AssetList } from '@initia/initia-registry-types'; + +${importStat} + +const assets: AssetList[] = [${validChain + .map((chain_name) => { + return `_${chain_name}.assets`; + }) + .join(",")}]; + +export default assets; +` + ); + + return true; +}; + +const writeNetworkChains = (filePath, networkObj) => { + const validChain = []; + + const importStat = Object.keys(networkObj) + .map((chain_name) => { + if (!networkObj[chain_name].chain) { + return null; + } + + validChain.push(chain_name); + return `import * as _${chain_name} from './${chain_name}'`; + }) + .filter(Boolean) + .join(";\n"); + + if (!validChain.length) { + return false; + } + + fs.writeFileSync( + filePath, + `import { Chain } from '@initia/initia-registry-types'; + +${importStat} + +const chains: Chain[] = [${validChain + .map((chain_name) => { + return `_${chain_name}.chain`; + }) + .join(",")}]; + +export default chains; +` + ); + + return true; +}; + +const writeNetworkIbc = (filePath, networkObj) => { + const validChain = []; + + const importStat = Object.keys(networkObj) + .map((chain_name) => { + if (!networkObj[chain_name].ibc_chain1) { + return null; + } + + validChain.push(chain_name); + return `import * as _${chain_name} from './${chain_name}'`; + }) + .filter(Boolean) + .join(";\n"); + + if (!validChain.length) { + return false; + } + + fs.writeFileSync( + filePath, + `import { IBCInfo } from '@initia/initia-registry-types'; + +${importStat} + +const ibc: IBCInfo[] = [${validChain + .map((chain_name) => { + return `..._${chain_name}.ibc_chain1`; + }) + .join(",")}]; + +export default ibc; +` + ); + + return true; +}; + +const writeNetworkIndex = (filePath, networkObj) => { + fs.writeFileSync( + filePath, + `${Object.keys(networkObj) + .map((chain_name) => { + return `export * as ${getValidVarName( + chain_name + )} from './${chain_name}'`; + }) + .filter(Boolean) + .join(";\n")}` + ); +}; + +const writeNetworkAll = (filePath, isAssets, isChains, isIbc) => { + fs.writeFileSync( + filePath, + `${ + isAssets + ? `import assets from './assets'; +` + : "" + }${ + isChains + ? `import chains from './chains'; +` + : "" + }${ + isIbc + ? `import ibc from './ibc'; +` + : "" + } + + export default { + ${isAssets ? "assets," : ""} + ${isChains ? "chains," : ""} + ${isIbc ? "ibc," : ""} + }; + + export { + ${isAssets ? "assets," : ""} + ${isChains ? "chains," : ""} + ${isIbc ? "ibc," : ""} + }; +` + ); +}; + +const writeRootAssets = (filePath, obj) => { + const validNetwork = []; + const importStat = Object.keys(obj) + .map((network_type) => { + if (!obj[network_type].all_files.isAssets) { + return null; + } + + validNetwork.push(network_type); + return `import * as _${network_type} from './${network_type}/all'`; + }) + .filter(Boolean) + .join(";\n"); + + if (!validNetwork.length) { + return false; + } + + fs.writeFileSync( + filePath, + `import { AssetList } from '@initia/initia-registry-types'; + +${importStat} + +const assets: AssetList[] = [${validNetwork + .map((network_type) => { + return `..._${network_type}.assets`; + }) + .join(",")}]; + +export default assets; +` + ); + + return true; +}; + +const writeRootChains = (filePath, obj) => { + const validNetwork = []; + + const importStat = Object.keys(obj) + .map((network_type) => { + if (!obj[network_type].all_files.isChains) { + return null; + } + + validNetwork.push(network_type); + return `import * as _${network_type} from './${network_type}/all'`; + }) + .filter(Boolean) + .join(";\n"); + + if (!validNetwork.length) { + return false; + } + + fs.writeFileSync( + filePath, + `import { Chain } from '@initia/initia-registry-types'; + +${importStat} + +const chains: Chain[] = [${validNetwork + .map((network_type) => { + return `..._${network_type}.chains`; + }) + .join(",")}]; + +export default chains; +` + ); + + return true; +}; + +const writeRootIbc = (filePath, obj) => { + const validNetwork = []; + + const importStat = Object.keys(obj) + .map((network_type) => { + if (!obj[network_type].all_files.isIbc) { + return null; + } + + validNetwork.push(network_type); + return `import * as _${network_type} from './${network_type}/all'`; + }) + .filter(Boolean) + .join(";\n"); + + if (!validNetwork.length) { + return false; + } + + fs.writeFileSync( + filePath, + `import { IBCInfo } from '@initia/initia-registry-types'; + +${importStat} + +const ibc: IBCInfo[] = [${validNetwork + .map((network_type) => { + return `..._${network_type}.ibc`; + }) + .join(",")}]; + +export default ibc; +` + ); + + return true; +}; + +const writeRootAll = (filePath) => { + fs.writeFileSync( + filePath, + `import assets from './assets'; +import chains from './chains'; +import ibc from './ibc'; + +export default { + assets, + chains, + ibc +}; + +export { assets, chains, ibc };` + ); +}; + +const writeRootIndex = (filePath, obj) => { + let imports = Object.keys(obj) + .map((network_type) => { + return `export * from './${network_type}'`; + }) + .filter(Boolean) + .join(";\n"); + + imports = `${imports}; import all from './all'; + + export default all; + + const { assets, chains, ibc }= all; + + export { assets, chains, ibc }; + `; + + fs.writeFileSync(filePath, `${imports}`); +}; + +const initChainBlock = (obj, network_type, chain_name) => { + if (!obj[network_type]) { + obj[network_type] = {}; + } + + if (!obj[network_type][chain_name]) { + obj[network_type][chain_name] = {}; + } +}; + +const initIBC = (obj, ibcFieldName) => { + if (!obj[ibcFieldName]) { + obj[ibcFieldName] = []; + } +}; + +const NON_INFO_DIRS = ["_packages", "_scripts", "_template", ".github"]; + +const chainPaths = glob(`${__dirname}/../../../**/chain.json`).filter((a) => { + const splitedDirs = a.split("chain-registry/chain-registry"); + let dir = splitedDirs.pop(); + dir = path.basename(path.dirname(dir)); + return !NON_INFO_DIRS.includes(dir); +}); + +const paths = glob(`${__dirname}/../../../**/*.json`).filter((a) => { + const splitedDirs = a.split("chain-registry/chain-registry"); + const filePath = splitedDirs.pop(); + const dir = path.basename(path.dirname(filePath)); + return ( + !NON_INFO_DIRS.includes(dir) && path.basename(filePath) !== "chain.json" + ); +}); + +const chainNetworkMap = {}; + +const result = {}; + +chainPaths.forEach((file) => { + const data = JSON.parse(fs.readFileSync(file, "utf-8")); + if (!data.$schema) { + console.warn("problematic data:"); + console.log(data); + return; + } + + if (data.$schema.endsWith("chain.schema.json")) { + if (!data.slip44) data.slip44 = 118; + if (data.codebase) { + data.codebase = { + cosmos_sdk_version: data.codebase.cosmos_sdk_version, + cosmwasm_enabled: data.codebase.cosmwasm_enabled, + cosmwasm_version: data.codebase.cosmwasm_version, + }; + } + delete data.peers; + + if (!data.chain_name) { + console.log(`problematic file: ${file}`); + return; + } + + initChainBlock(result, data.network_type, data.chain_name); + + result[data.network_type][data.chain_name].chain = data; + + chainNetworkMap[data.chain_name] = data.network_type; + } +}); + +paths.forEach((file) => { + const data = JSON.parse(fs.readFileSync(file, "utf-8")); + if (!data.$schema) { + console.warn("problematic data:"); + console.log(data); + return; + } + + if (data.$schema.endsWith("assetlist.schema.json")) { + const network_type = chainNetworkMap[data.chain_name]; + + if (!network_type) { + initChainBlock(result, NON_COSMOS_NETWORK_TYPE, data.chain_name); + result[NON_COSMOS_NETWORK_TYPE][data.chain_name].assets = data; + } else { + result[network_type][data.chain_name].assets = data; + } + } + + if (data.$schema.endsWith("ibc_data.schema.json")) { + const network_type1 = chainNetworkMap[data.chain_1.chain_name]; + + if (!network_type1) { + initChainBlock(result, NON_COSMOS_NETWORK_TYPE, data.chain_1.chain_name); + initIBC(result[NON_COSMOS_NETWORK_TYPE][data.chain_1.chain_name], "ibc"); + initIBC( + result[NON_COSMOS_NETWORK_TYPE][data.chain_1.chain_name], + "ibc_chain1" + ); + result[NON_COSMOS_NETWORK_TYPE][data.chain_1.chain_name].ibc.push(data); + result[NON_COSMOS_NETWORK_TYPE][data.chain_1.chain_name].ibc_chain1.push( + data + ); + } else { + initIBC(result[network_type1][data.chain_1.chain_name], "ibc"); + initIBC(result[network_type1][data.chain_1.chain_name], "ibc_chain1"); + result[network_type1][data.chain_1.chain_name].ibc.push(data); + result[network_type1][data.chain_1.chain_name].ibc_chain1.push(data); + } + + const network_type2 = chainNetworkMap[data.chain_2.chain_name]; + + if (!network_type2) { + initChainBlock(result, NON_COSMOS_NETWORK_TYPE, data.chain_2.chain_name); + initIBC(result[NON_COSMOS_NETWORK_TYPE][data.chain_2.chain_name], "ibc"); + result[NON_COSMOS_NETWORK_TYPE][data.chain_2.chain_name].ibc.push(data); + } else { + initIBC(result[network_type2][data.chain_2.chain_name], "ibc"); + result[network_type2][data.chain_2.chain_name].ibc.push(data); + } + } +}); + +const SRC_ROOT = `${__dirname}/../src`; +fs.rmSync(SRC_ROOT, { recursive: true }); + +Object.keys(result).forEach((network_type) => { + const networkFolder = path.join(SRC_ROOT, network_type); + + Object.keys(result[network_type]).forEach((chain_name) => { + const chainFolderPath = path.join(networkFolder, chain_name); + mkdirpSync(chainFolderPath); + + const chainObj = result[network_type][chain_name]; + + if (chainObj.chain) { + const chainFilePath = path.join(chainFolderPath, "chain.ts"); + write(chainFilePath, chainObj.chain, "Chain", false); + } + + if (chainObj.assets) { + const assetsFilePath = path.join(chainFolderPath, "assets.ts"); + write(assetsFilePath, chainObj.assets, "AssetList", false); + } + + if (chainObj.ibc) { + const ibcFilePath = path.join(chainFolderPath, "ibc.ts"); + write(ibcFilePath, chainObj.ibc, "IBCInfo", true); + } + + if (chainObj.ibc_chain1) { + const ibc1FilePath = path.join(chainFolderPath, "ibc_chain1.ts"); + write(ibc1FilePath, chainObj.ibc_chain1, "IBCInfo", true); + } + + const indexFilePath = path.join(chainFolderPath, "index.ts"); + writeChainIndex(indexFilePath, chainObj); + }); + + const assetsFilePath = path.join(networkFolder, "assets.ts"); + const isAssets = writeNetworkAssets(assetsFilePath, result[network_type]); + + const chainsFilePath = path.join(networkFolder, "chains.ts"); + const isChains = writeNetworkChains(chainsFilePath, result[network_type]); + + const ibcFilePath = path.join(networkFolder, "ibc.ts"); + const isIbc = writeNetworkIbc(ibcFilePath, result[network_type]); + + const indexFilePath = path.join(networkFolder, "index.ts"); + writeNetworkIndex(indexFilePath, result[network_type]); + + const allFilePath = path.join(networkFolder, "all.ts"); + result[network_type]["all_files"] = { + isAssets, + isChains, + isIbc, + }; + writeNetworkAll(allFilePath, isAssets, isChains, isIbc); +}); + +const assetsRootFilePath = path.join(SRC_ROOT, "assets.ts"); +writeRootAssets(assetsRootFilePath, result); + +const chainsRootFilePath = path.join(SRC_ROOT, "chains.ts"); +writeRootChains(chainsRootFilePath, result); + +const ibcRootFilePath = path.join(SRC_ROOT, "ibc.ts"); +writeRootIbc(ibcRootFilePath, result); + +const allRootFilePath = path.join(SRC_ROOT, "all.ts"); +writeRootAll(allRootFilePath); + +const indexRootFilePath = path.join(SRC_ROOT, "index.ts"); +writeRootIndex(indexRootFilePath, result); diff --git a/_packages/initia-registry/src/all.ts b/_packages/initia-registry/src/all.ts new file mode 100644 index 0000000..066767a --- /dev/null +++ b/_packages/initia-registry/src/all.ts @@ -0,0 +1,11 @@ +import assets from './assets'; +import chains from './chains'; +import ibc from './ibc'; + +export default { + assets, + chains, + ibc +}; + +export { assets, chains, ibc }; diff --git a/_packages/initia-registry/src/assets.ts b/_packages/initia-registry/src/assets.ts new file mode 100644 index 0000000..315135f --- /dev/null +++ b/_packages/initia-registry/src/assets.ts @@ -0,0 +1,7 @@ +import { AssetList } from '@initia/initia-registry-types'; + +import * as _devnet from './devnet/all' + +const assets: AssetList[] = [..._devnet.assets]; + +export default assets; diff --git a/_packages/initia-registry/src/chains.ts b/_packages/initia-registry/src/chains.ts new file mode 100644 index 0000000..0efbdc5 --- /dev/null +++ b/_packages/initia-registry/src/chains.ts @@ -0,0 +1,7 @@ +import { Chain } from '@initia/initia-registry-types'; + +import * as _devnet from './devnet/all' + +const chains: Chain[] = [..._devnet.chains]; + +export default chains; diff --git a/_packages/initia-registry/src/devnet/all.ts b/_packages/initia-registry/src/devnet/all.ts new file mode 100644 index 0000000..066767a --- /dev/null +++ b/_packages/initia-registry/src/devnet/all.ts @@ -0,0 +1,11 @@ +import assets from './assets'; +import chains from './chains'; +import ibc from './ibc'; + +export default { + assets, + chains, + ibc +}; + +export { assets, chains, ibc }; diff --git a/_packages/initia-registry/src/devnet/assets.ts b/_packages/initia-registry/src/devnet/assets.ts new file mode 100644 index 0000000..482521c --- /dev/null +++ b/_packages/initia-registry/src/devnet/assets.ts @@ -0,0 +1,9 @@ +import { AssetList } from '@initia/initia-registry-types'; + +import * as _miniwasm from './miniwasm'; +import * as _minimove from './minimove'; +import * as _initia from './initia' + +const assets: AssetList[] = [_miniwasm.assets,_minimove.assets,_initia.assets]; + +export default assets; diff --git a/_packages/initia-registry/src/devnet/chains.ts b/_packages/initia-registry/src/devnet/chains.ts new file mode 100644 index 0000000..c508260 --- /dev/null +++ b/_packages/initia-registry/src/devnet/chains.ts @@ -0,0 +1,9 @@ +import { Chain } from '@initia/initia-registry-types'; + +import * as _miniwasm from './miniwasm'; +import * as _minimove from './minimove'; +import * as _initia from './initia' + +const chains: Chain[] = [_miniwasm.chain,_minimove.chain,_initia.chain]; + +export default chains; diff --git a/_packages/initia-registry/src/devnet/ibc.ts b/_packages/initia-registry/src/devnet/ibc.ts new file mode 100644 index 0000000..976350b --- /dev/null +++ b/_packages/initia-registry/src/devnet/ibc.ts @@ -0,0 +1,7 @@ +import { IBCData } from '@initia/initia-registry-types'; + +import * as _initia from './initia' + +const ibc: IBCData[] = [..._initia.ibc_chain1]; + +export default ibc; diff --git a/_packages/initia-registry/src/devnet/index.ts b/_packages/initia-registry/src/devnet/index.ts new file mode 100644 index 0000000..2bdd67f --- /dev/null +++ b/_packages/initia-registry/src/devnet/index.ts @@ -0,0 +1,3 @@ +export * as miniwasm from './miniwasm'; +export * as minimove from './minimove'; +export * as initia from './initia'; diff --git a/_packages/initia-registry/src/devnet/initia/assets.ts b/_packages/initia-registry/src/devnet/initia/assets.ts new file mode 100644 index 0000000..fb7720b --- /dev/null +++ b/_packages/initia-registry/src/devnet/initia/assets.ts @@ -0,0 +1,148 @@ +import { AssetList } from '@initia/initia-registry-types'; +const info: AssetList = { + "$schema": "../../assetlist.schema.json", + "chain_name": "initia", + "assets": [ + { + "description": "The native token of Initia", + "denom_units": [ + { + "denom": "uinit", + "exponent": 0 + }, + { + "denom": "INIT", + "exponent": 6 + } + ], + "base": "uinit", + "display": "INIT", + "name": "Initia Native Token", + "symbol": "INIT", + "coingecko_id": "", + "images": [ + { + "png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/INIT.png", + "svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/INIT.svg" + } + ], + "logo_URIs": { + "png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/INIT.png", + "svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/INIT.svg" + } + }, + { + "description": "The fake ETH", + "denom_units": [ + { + "denom": "ueth", + "exponent": 0 + }, + { + "denom": "ETH", + "exponent": 6 + } + ], + "base": "ueth", + "display": "ETH", + "name": "Fake ETH Token", + "symbol": "ETH", + "coingecko_id": "", + "images": [ + { + "png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/ETH.png", + "svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/ETH.svg" + } + ], + "logo_URIs": { + "png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/ETH.png", + "svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/ETH.svg" + } + }, + { + "description": "The fake USDC", + "denom_units": [ + { + "denom": "uusdc", + "exponent": 0 + }, + { + "denom": "USDC", + "exponent": 6 + } + ], + "base": "uusdc", + "display": "USDC", + "name": "Fake USDC Token", + "symbol": "USDC", + "coingecko_id": "", + "images": [ + { + "png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/USDC.png", + "svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/USDC.svg" + } + ], + "logo_URIs": { + "png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/USDC.png", + "svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/USDC.svg" + } + }, + { + "description": "The LP token of USDC-INIT", + "denom_units": [ + { + "denom": "move/dbf06c48af3984ec6d9ae8a9aa7dbb0bb1e784aa9b8c4a5681af660cf8558d7d", + "exponent": 0 + }, + { + "denom": "USDC-INIT LP", + "exponent": 6 + } + ], + "base": "move/dbf06c48af3984ec6d9ae8a9aa7dbb0bb1e784aa9b8c4a5681af660cf8558d7d", + "display": "USDC-INIT LP", + "name": "USDC-INIT LP Token", + "symbol": "USDC-INIT LP", + "coingecko_id": "", + "images": [ + { + "png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/USDC-INIT.png", + "svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/USDC-INIT.svg" + } + ], + "logo_URIs": { + "png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/USDC-INIT.png", + "svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/USDC-INIT.svg" + } + }, + { + "description": "The LP token of ETH-INIT", + "denom_units": [ + { + "denom": "move/a2b0d3c8e53e379ede31f3a361ff02716d50ec53c6b65b8c48a81d5b06548200", + "exponent": 0 + }, + { + "denom": "ETH-INIT LP", + "exponent": 6 + } + ], + "base": "move/a2b0d3c8e53e379ede31f3a361ff02716d50ec53c6b65b8c48a81d5b06548200", + "display": "ETH-INIT LP", + "name": "ETH-INIT LP Token", + "symbol": "ETH-INIT LP", + "coingecko_id": "", + "images": [ + { + "png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/ETH-INIT.png", + "svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/ETH-INIT.svg" + } + ], + "logo_URIs": { + "png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/ETH-INIT.png", + "svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/ETH-INIT.svg" + } + } + ] +}; +export default info; \ No newline at end of file diff --git a/_packages/initia-registry/src/devnet/initia/chain.ts b/_packages/initia-registry/src/devnet/initia/chain.ts new file mode 100644 index 0000000..662466c --- /dev/null +++ b/_packages/initia-registry/src/devnet/initia/chain.ts @@ -0,0 +1,136 @@ +import { Chain } from '@initia/initia-registry-types'; +const info: Chain = { + "$schema": "../../chain.schema.json", + "chain_name": "initia", + "chain_id": "mahalo-2", + "website": "https://initia.xyz", + "pretty_name": "Initia", + "status": "live", + "network_type": "devnet", + "bech32_prefix": "init", + "daemon_name": "initiad", + "node_home": "$HOME/.initia", + "key_algos": [ + "secp256k1" + ], + "slip44": 118, + "fees": { + "fee_tokens": [ + { + "denom": "uinit", + "fixed_min_gas_price": 0.15, + "low_gas_price": 0.15, + "average_gas_price": 0.15, + "high_gas_price": 0.4 + }, + { + "denom": "ueth" + }, + { + "denom": "uusdc" + } + ] + }, + "staking": { + "staking_tokens": [ + { + "denom": "uinit" + }, + { + "denom": "move/dbf06c48af3984ec6d9ae8a9aa7dbb0bb1e784aa9b8c4a5681af660cf8558d7d" + }, + { + "denom": "move/a2b0d3c8e53e379ede31f3a361ff02716d50ec53c6b65b8c48a81d5b06548200" + } + ] + }, + "codebase": {}, + "description": "Initia Closed Devnet", + "apis": { + "rpc": [ + { + "address": "https://rpc.mahalo-2.initia.xyz", + "provider": "Foundation" + } + ], + "rest": [ + { + "address": "https://lcd.mahalo-2.initia.xyz", + "provider": "Foundation" + } + ], + "api": [ + { + "address": "https://api.mahalo-2.initia.xyz", + "provider": "Foundation" + } + ], + "grpc": [ + { + "address": "grpc://34.87.121.251:9090", + "provider": "Foundation" + } + ] + }, + "explorers": [ + { + "kind": "explorer", + "url": "https://explorer.mahalo-2.initia.xyz/?layer=l1%2520testnet", + "tx_page": "https://explorer.mahalo-2.initia.xyz/tx/${txHash}?layer=l1%20testnet", + "account_page": "https://explorer.mahalo-2.initia.xyz/address/${accountAddress}?layer=l1%20testnet" + }, + { + "kind": "initia scan", + "url": "https://scan.initia.xyz/mahalo-2", + "tx_page": "https://scan.initia.xyz/mahalo-2/txs/${txHash}", + "account_page": "https://scan.initia.xyz/mahalo-2/accounts/${accountAddress}" + } + ], + "faucets": [ + { + "kind": "faucet", + "url": "https://faucet.mahalo-2.initia.xyz/" + } + ], + "images": [ + { + "png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/INIT.png", + "svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/INIT.svg" + } + ], + "logo_URIs": { + "png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/INIT.png", + "svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/INIT.svg" + }, + "metadata": { + "is_l1": true, + "ibc_channels": [ + { + "chain_id": "minimove-2", + "port_id": "transfer", + "channel_id": "channel-0", + "version": "ics20-1" + }, + { + "chain_id": "minimove-2", + "port_id": "nft-transfer", + "channel_id": "channel-2", + "version": "ics721-1" + }, + { + "chain_id": "miniwasm-2", + "port_id": "transfer", + "channel_id": "channel-1", + "version": "ics20-1" + }, + { + "chain_id": "miniwasm-2", + "port_id": "nft-transfer", + "channel_id": "channel-3", + "version": "ics721-1" + } + ], + "assetlist": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/assetlist.json" + } +}; +export default info; \ No newline at end of file diff --git a/_packages/initia-registry/src/devnet/initia/ibc.ts b/_packages/initia-registry/src/devnet/initia/ibc.ts new file mode 100644 index 0000000..f881f7a --- /dev/null +++ b/_packages/initia-registry/src/devnet/initia/ibc.ts @@ -0,0 +1,66 @@ +import { IBCData } from '@initia/initia-registry-types'; +const info: IBCData[] = [ + { + "$schema": "../../ibc_data.schema.json", + "chain_1": { + "chain_name": "initia", + "client_id": "07-tendermint-1", + "connection_id": "connection-1" + }, + "chain_2": { + "chain_name": "miniwasm", + "client_id": "07-tendermint-0", + "connection_id": "connection-0" + }, + "channels": [ + { + "chain_1": { + "channel_id": "channel-1", + "port_id": "transfer" + }, + "chain_2": { + "channel_id": "channel-0", + "port_id": "transfer" + }, + "ordering": "unordered", + "version": "ics20-1", + "tags": { + "status": "live", + "preferred": true + } + } + ] + }, + { + "$schema": "../../ibc_data.schema.json", + "chain_1": { + "chain_name": "initia", + "client_id": "07-tendermint-0", + "connection_id": "connection-0" + }, + "chain_2": { + "chain_name": "minimove", + "client_id": "07-tendermint-0", + "connection_id": "connection-0" + }, + "channels": [ + { + "chain_1": { + "channel_id": "channel-0", + "port_id": "transfer" + }, + "chain_2": { + "channel_id": "channel-0", + "port_id": "transfer" + }, + "ordering": "unordered", + "version": "ics20-1", + "tags": { + "status": "live", + "preferred": true + } + } + ] + } +]; +export default info; \ No newline at end of file diff --git a/_packages/initia-registry/src/devnet/initia/ibc_chain1.ts b/_packages/initia-registry/src/devnet/initia/ibc_chain1.ts new file mode 100644 index 0000000..f881f7a --- /dev/null +++ b/_packages/initia-registry/src/devnet/initia/ibc_chain1.ts @@ -0,0 +1,66 @@ +import { IBCData } from '@initia/initia-registry-types'; +const info: IBCData[] = [ + { + "$schema": "../../ibc_data.schema.json", + "chain_1": { + "chain_name": "initia", + "client_id": "07-tendermint-1", + "connection_id": "connection-1" + }, + "chain_2": { + "chain_name": "miniwasm", + "client_id": "07-tendermint-0", + "connection_id": "connection-0" + }, + "channels": [ + { + "chain_1": { + "channel_id": "channel-1", + "port_id": "transfer" + }, + "chain_2": { + "channel_id": "channel-0", + "port_id": "transfer" + }, + "ordering": "unordered", + "version": "ics20-1", + "tags": { + "status": "live", + "preferred": true + } + } + ] + }, + { + "$schema": "../../ibc_data.schema.json", + "chain_1": { + "chain_name": "initia", + "client_id": "07-tendermint-0", + "connection_id": "connection-0" + }, + "chain_2": { + "chain_name": "minimove", + "client_id": "07-tendermint-0", + "connection_id": "connection-0" + }, + "channels": [ + { + "chain_1": { + "channel_id": "channel-0", + "port_id": "transfer" + }, + "chain_2": { + "channel_id": "channel-0", + "port_id": "transfer" + }, + "ordering": "unordered", + "version": "ics20-1", + "tags": { + "status": "live", + "preferred": true + } + } + ] + } +]; +export default info; \ No newline at end of file diff --git a/_packages/initia-registry/src/devnet/initia/index.ts b/_packages/initia-registry/src/devnet/initia/index.ts new file mode 100644 index 0000000..af8a2d5 --- /dev/null +++ b/_packages/initia-registry/src/devnet/initia/index.ts @@ -0,0 +1,9 @@ +import _assets from './assets'; +import _chain from './chain'; +import _ibc from './ibc'; +import _ibc_chain1 from './ibc_chain1'; + +export const assets = _assets; +export const chain = _chain; +export const ibc = _ibc; +export const ibc_chain1 = _ibc_chain1; diff --git a/_packages/initia-registry/src/devnet/minimove/assets.ts b/_packages/initia-registry/src/devnet/minimove/assets.ts new file mode 100644 index 0000000..c7189d1 --- /dev/null +++ b/_packages/initia-registry/src/devnet/minimove/assets.ts @@ -0,0 +1,64 @@ +import { AssetList } from '@initia/initia-registry-types'; +const info: AssetList = { + "$schema": "../../assetlist.schema.json", + "chain_name": "minimove", + "assets": [ + { + "description": "The native token of Initia", + "denom_units": [ + { + "denom": "l2/771d639f30fbe45e3fbca954ffbe2fcc26f915f5513c67a4a2d0bc1d635bdefd", + "exponent": 0 + }, + { + "denom": "INIT", + "exponent": 6 + } + ], + "base": "l2/771d639f30fbe45e3fbca954ffbe2fcc26f915f5513c67a4a2d0bc1d635bdefd", + "display": "INIT", + "name": "Initia Native Token", + "symbol": "INIT", + "coingecko_id": "", + "images": [ + { + "png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/INIT.png", + "svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/INIT.svg" + } + ], + "logo_URIs": { + "png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/INIT.png", + "svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/INIT.svg" + } + }, + { + "description": "The fake USDC", + "denom_units": [ + { + "denom": "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", + "exponent": 0 + }, + { + "denom": "USDC", + "exponent": 6 + } + ], + "base": "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", + "display": "USDC", + "name": "USDC", + "symbol": "USDC", + "coingecko_id": "", + "images": [ + { + "png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/USDC.png", + "svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/USDC.svg" + } + ], + "logo_URIs": { + "png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/USDC.png", + "svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/USDC.svg" + } + } + ] +}; +export default info; \ No newline at end of file diff --git a/_packages/initia-registry/src/devnet/minimove/chain.ts b/_packages/initia-registry/src/devnet/minimove/chain.ts new file mode 100644 index 0000000..37031d1 --- /dev/null +++ b/_packages/initia-registry/src/devnet/minimove/chain.ts @@ -0,0 +1,113 @@ +import { Chain } from '@initia/initia-registry-types'; +const info: Chain = { + "$schema": "../../chain.schema.json", + "chain_name": "minimove", + "chain_id": "minimove-2", + "website": "https://initia.xyz", + "pretty_name": "Minimove", + "status": "live", + "network_type": "devnet", + "bech32_prefix": "init", + "daemon_name": "minitiad", + "node_home": "$HOME/.minitia", + "key_algos": [ + "secp256k1" + ], + "slip44": 118, + "fees": { + "fee_tokens": [ + { + "denom": "l2/2588fd87a8e081f6a557f43ff14f05dddf5e34cb27afcefd6eaf81f1daea30d0", + "fixed_min_gas_price": 0.15, + "low_gas_price": 0.15, + "average_gas_price": 0.15, + "high_gas_price": 0.4 + }, + { + "denom": "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", + "fixed_min_gas_price": 0.15, + "low_gas_price": 0.15, + "average_gas_price": 0.15, + "high_gas_price": 0.4 + } + ] + }, + "staking": { + "staking_tokens": [] + }, + "codebase": {}, + "description": "Minimove Closed Devnet", + "apis": { + "rpc": [ + { + "address": "https://rpc.minimove-2.initia.xyz", + "provider": "Foundation" + } + ], + "rest": [ + { + "address": "https://lcd.minimove-2.initia.xyz", + "provider": "Foundation" + } + ], + "api": [ + { + "address": "https://api.minimove-2.initia.xyz", + "provider": "Foundation" + } + ], + "grpc": [ + { + "address": "grpc://34.124.237.204:9090", + "provider": "Foundation" + } + ] + }, + "explorers": [ + { + "kind": "explorer", + "url": "https://explorer.minimove-2.initia.xyz/?layer=minimove", + "tx_page": "https://explorer.minimove-2.initia.xyz/tx/${txHash}?layer=minimove", + "account_page": "https://explorer.minimove-2.initia.xyz/address/${accountAddress}?layer=minimove" + }, + { + "kind": "initia scan", + "url": "https://scan.initia.xyz/minimove-2", + "tx_page": "https://scan.initia.xyz/minimove-2/txs/${txHash}", + "account_page": "https://scan.initia.xyz/minimove-2/accounts/${accountAddress}" + } + ], + "images": [ + { + "png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/INIT.png", + "svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/INIT.svg" + } + ], + "logo_URIs": { + "png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/INIT.png", + "svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/INIT.svg" + }, + "metadata": { + "op_bridge_id": "2", + "creator": "0x723e7894466de983976cc54302f9c436b3291106", + "op_denoms": [ + "uinit" + ], + "ibc_channels": [ + { + "chain_id": "mahalo-2", + "port_id": "transfer", + "channel_id": "channel-0", + "version": "ics20-1" + }, + { + "chain_id": "mahalo-2", + "port_id": "nft-transfer", + "channel_id": "channel-1", + "version": "ics721-1" + } + ], + "assetlist": "https://raw.githubusercontent.com/initia-labs/initia-registry/mahalo-2/main/minimove/assetlist.json" + } +}; +export default info; \ No newline at end of file diff --git a/devnets/_IBC/mahalo-minimove.json b/_packages/initia-registry/src/devnet/minimove/ibc.ts similarity index 82% rename from devnets/_IBC/mahalo-minimove.json rename to _packages/initia-registry/src/devnet/minimove/ibc.ts index 7bb2fe3..9b1dc4b 100644 --- a/devnets/_IBC/mahalo-minimove.json +++ b/_packages/initia-registry/src/devnet/minimove/ibc.ts @@ -1,7 +1,9 @@ -{ +import { IBCData } from '@initia/initia-registry-types'; +const info: IBCData[] = [ + { "$schema": "../../ibc_data.schema.json", "chain_1": { - "chain_name": "mahalo", + "chain_name": "initia", "client_id": "07-tendermint-0", "connection_id": "connection-0" }, @@ -29,4 +31,5 @@ } ] } - \ No newline at end of file +]; +export default info; \ No newline at end of file diff --git a/_packages/initia-registry/src/devnet/minimove/index.ts b/_packages/initia-registry/src/devnet/minimove/index.ts new file mode 100644 index 0000000..86a6e34 --- /dev/null +++ b/_packages/initia-registry/src/devnet/minimove/index.ts @@ -0,0 +1,7 @@ +import _assets from './assets'; +import _chain from './chain'; +import _ibc from './ibc'; + +export const assets = _assets; +export const chain = _chain; +export const ibc = _ibc; diff --git a/_packages/initia-registry/src/devnet/miniwasm/assets.ts b/_packages/initia-registry/src/devnet/miniwasm/assets.ts new file mode 100644 index 0000000..e4af04b --- /dev/null +++ b/_packages/initia-registry/src/devnet/miniwasm/assets.ts @@ -0,0 +1,64 @@ +import { AssetList } from '@initia/initia-registry-types'; +const info: AssetList = { + "$schema": "../../assetlist.schema.json", + "chain_name": "miniwasm", + "assets": [ + { + "description": "The native token of Initia", + "denom_units": [ + { + "denom": "l2/2588fd87a8e081f6a557f43ff14f05dddf5e34cb27afcefd6eaf81f1daea30d0", + "exponent": 0 + }, + { + "denom": "INIT", + "exponent": 6 + } + ], + "base": "l2/2588fd87a8e081f6a557f43ff14f05dddf5e34cb27afcefd6eaf81f1daea30d0", + "display": "INIT", + "name": "Initia Native Token", + "symbol": "INIT", + "coingecko_id": "", + "images": [ + { + "png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/INIT.png", + "svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/INIT.svg" + } + ], + "logo_URIs": { + "png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/INIT.png", + "svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/INIT.svg" + } + }, + { + "description": "The fake USDC", + "denom_units": [ + { + "denom": "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", + "exponent": 0 + }, + { + "denom": "USDC", + "exponent": 6 + } + ], + "base": "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", + "display": "USDC", + "name": "USDC", + "symbol": "USDC", + "coingecko_id": "", + "images": [ + { + "png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/USDC.png", + "svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/USDC.svg" + } + ], + "logo_URIs": { + "png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/USDC.png", + "svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/USDC.svg" + } + } + ] +}; +export default info; \ No newline at end of file diff --git a/_packages/initia-registry/src/devnet/miniwasm/chain.ts b/_packages/initia-registry/src/devnet/miniwasm/chain.ts new file mode 100644 index 0000000..3309d1e --- /dev/null +++ b/_packages/initia-registry/src/devnet/miniwasm/chain.ts @@ -0,0 +1,113 @@ +import { Chain } from '@initia/initia-registry-types'; +const info: Chain = { + "$schema": "../../chain.schema.json", + "chain_name": "miniwasm", + "chain_id": "miniwasm-2", + "website": "https://initia.xyz", + "pretty_name": "Miniwasm", + "status": "live", + "network_type": "devnet", + "bech32_prefix": "init", + "daemon_name": "minitiad", + "node_home": "$HOME/.minitia", + "key_algos": [ + "secp256k1" + ], + "slip44": 118, + "fees": { + "fee_tokens": [ + { + "denom": "l2/771d639f30fbe45e3fbca954ffbe2fcc26f915f5513c67a4a2d0bc1d635bdefd", + "fixed_min_gas_price": 0.15, + "low_gas_price": 0.15, + "average_gas_price": 0.15, + "high_gas_price": 0.4 + }, + { + "denom": "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", + "fixed_min_gas_price": 0.15, + "low_gas_price": 0.15, + "average_gas_price": 0.15, + "high_gas_price": 0.4 + } + ] + }, + "staking": { + "staking_tokens": [] + }, + "codebase": {}, + "description": "miniwasm Closed Devnet", + "apis": { + "rpc": [ + { + "address": "https://rpc.miniwasm-2.initia.xyz", + "provider": "Foundation" + } + ], + "rest": [ + { + "address": "https://lcd.miniwasm-2.initia.xyz", + "provider": "Foundation" + } + ], + "api": [ + { + "address": "https://api.miniwasm-2.initia.xyz", + "provider": "Foundation" + } + ], + "grpc": [ + { + "address": "grpc://34.87.100.162:9090", + "provider": "Foundation" + } + ] + }, + "explorers": [ + { + "kind": "explorer", + "url": "https://explorer.miniwasm-2.initia.xyz/?layer=miniwasm", + "tx_page": "https://explorer.miniwasm-2.initia.xyz/tx/${txHash}?layer=miniwasm", + "account_page": "https://explorer.miniwasm-2.initia.xyz/address/${accountAddress}?layer=miniwasm" + }, + { + "kind": "initia scan", + "url": "https://scan.initia.xyz/miniwasm-2", + "tx_page": "https://scan.initia.xyz/miniwasm-2/txs/${txHash}", + "account_page": "https://scan.initia.xyz/miniwasm-2/accounts/${accountAddress}" + } + ], + "images": [ + { + "png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/miniwasm/images/INIT.png", + "svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/miniwasm/images/INIT.svg" + } + ], + "logo_URIs": { + "png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/miniwasm/images/INIT.png", + "svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/miniwasm/images/INIT.svg" + }, + "metadata": { + "op_bridge_id": "1", + "creator": "0xf324bf4f355abec6d49fdfd0d45419ba99d363d9", + "op_denoms": [ + "uinit" + ], + "ibc_channels": [ + { + "chain_id": "mahalo-2", + "port_id": "transfer", + "channel_id": "channel-0", + "version": "ics20-1" + }, + { + "chain_id": "mahalo-2", + "port_id": "wasm.init1wug8sewp6cedgkmrmvhl3lf3tulagm9hnvy8p0rppz9yjw0g4wtq7947m6", + "channel_id": "channel-1", + "version": "ics721-1" + } + ], + "assetlist": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/miniwasm/assetlist.json" + } +}; +export default info; \ No newline at end of file diff --git a/_packages/initia-registry/src/devnet/miniwasm/ibc.ts b/_packages/initia-registry/src/devnet/miniwasm/ibc.ts new file mode 100644 index 0000000..e5fe894 --- /dev/null +++ b/_packages/initia-registry/src/devnet/miniwasm/ibc.ts @@ -0,0 +1,35 @@ +import { IBCData } from '@initia/initia-registry-types'; +const info = [ + { + $schema: '../../ibc_data.schema.json', + chain_1: { + chain_name: 'initia', + client_id: '07-tendermint-1', + connection_id: 'connection-1' + }, + chain_2: { + chain_name: 'miniwasm', + client_id: '07-tendermint-0', + connection_id: 'connection-0' + }, + channels: [ + { + chain_1: { + channel_id: 'channel-1', + port_id: 'transfer' + }, + chain_2: { + channel_id: 'channel-0', + port_id: 'transfer' + }, + ordering: 'unordered', + version: 'ics20-1', + tags: { + status: 'live', + preferred: true + } + } + ] + } +]; +export default info; diff --git a/_packages/initia-registry/src/devnet/miniwasm/index.ts b/_packages/initia-registry/src/devnet/miniwasm/index.ts new file mode 100644 index 0000000..86a6e34 --- /dev/null +++ b/_packages/initia-registry/src/devnet/miniwasm/index.ts @@ -0,0 +1,7 @@ +import _assets from './assets'; +import _chain from './chain'; +import _ibc from './ibc'; + +export const assets = _assets; +export const chain = _chain; +export const ibc = _ibc; diff --git a/_packages/initia-registry/src/ibc.ts b/_packages/initia-registry/src/ibc.ts new file mode 100644 index 0000000..e76af02 --- /dev/null +++ b/_packages/initia-registry/src/ibc.ts @@ -0,0 +1,7 @@ +import { IBCData } from "@initia/initia-registry-types"; + +import * as _devnet from "./devnet/all"; + +const ibc: IBCData[] = [..._devnet.ibc]; + +export default ibc; diff --git a/_packages/initia-registry/src/index.ts b/_packages/initia-registry/src/index.ts new file mode 100644 index 0000000..c6f675d --- /dev/null +++ b/_packages/initia-registry/src/index.ts @@ -0,0 +1,8 @@ +export * from './devnet'; +import all from './all'; + +export default all; + +const { assets, chains, ibc } = all; + +export { assets, chains, ibc }; diff --git a/_packages/initia-registry/tsconfig.json b/_packages/initia-registry/tsconfig.json new file mode 100644 index 0000000..b622f62 --- /dev/null +++ b/_packages/initia-registry/tsconfig.json @@ -0,0 +1,19 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "rootDir": "src", + "skipLibCheck": true, + "emitDeclarationOnly": false, + "declaration": true, + "esModuleInterop": true, + "target": "es2022", + "module": "es2022", + "isolatedModules": true, + "allowJs": true, + "downlevelIteration": true, + "moduleResolution": "node", + "resolveJsonModule": true + }, + "include": ["src/**/*"], + "exclude": ["node_modules"] +} diff --git a/_packages/initia-registry/types/all.d.ts b/_packages/initia-registry/types/all.d.ts new file mode 100644 index 0000000..b7dfe12 --- /dev/null +++ b/_packages/initia-registry/types/all.d.ts @@ -0,0 +1,10 @@ +import assets from "./assets"; +import chains from "./chains"; +import ibc from "./ibc"; +declare const _default: { + assets: import("@initia/initia-registry-types").AssetList[]; + chains: import("@initia/initia-registry-types").Chain[]; + ibc: import("@initia/initia-registry-types").IBCData[]; +}; +export default _default; +export { assets, chains, ibc }; diff --git a/_packages/initia-registry/types/assets.d.ts b/_packages/initia-registry/types/assets.d.ts new file mode 100644 index 0000000..12b5a3d --- /dev/null +++ b/_packages/initia-registry/types/assets.d.ts @@ -0,0 +1,3 @@ +import { AssetList } from "@initia/initia-registry-types"; +declare const assets: AssetList[]; +export default assets; diff --git a/_packages/initia-registry/types/chains.d.ts b/_packages/initia-registry/types/chains.d.ts new file mode 100644 index 0000000..05aa5ca --- /dev/null +++ b/_packages/initia-registry/types/chains.d.ts @@ -0,0 +1,3 @@ +import { Chain } from "@initia/initia-registry-types"; +declare const chains: Chain[]; +export default chains; diff --git a/_packages/initia-registry/types/devnet/all.d.ts b/_packages/initia-registry/types/devnet/all.d.ts new file mode 100644 index 0000000..099803e --- /dev/null +++ b/_packages/initia-registry/types/devnet/all.d.ts @@ -0,0 +1,10 @@ +import assets from './assets'; +import chains from './chains'; +import ibc from './ibc'; +declare const _default: { + assets: import("@initia/initia-registry-types").AssetList[]; + chains: import("@initia/initia-registry-types").Chain[]; + ibc: import("@initia/initia-registry-types").IBCData[]; +}; +export default _default; +export { assets, chains, ibc }; diff --git a/_packages/initia-registry/types/devnet/assets.d.ts b/_packages/initia-registry/types/devnet/assets.d.ts new file mode 100644 index 0000000..82c2f40 --- /dev/null +++ b/_packages/initia-registry/types/devnet/assets.d.ts @@ -0,0 +1,3 @@ +import { AssetList } from '@initia/initia-registry-types'; +declare const assets: AssetList[]; +export default assets; diff --git a/_packages/initia-registry/types/devnet/chains.d.ts b/_packages/initia-registry/types/devnet/chains.d.ts new file mode 100644 index 0000000..42f332e --- /dev/null +++ b/_packages/initia-registry/types/devnet/chains.d.ts @@ -0,0 +1,3 @@ +import { Chain } from '@initia/initia-registry-types'; +declare const chains: Chain[]; +export default chains; diff --git a/_packages/initia-registry/types/devnet/ibc.d.ts b/_packages/initia-registry/types/devnet/ibc.d.ts new file mode 100644 index 0000000..8f452e1 --- /dev/null +++ b/_packages/initia-registry/types/devnet/ibc.d.ts @@ -0,0 +1,3 @@ +import { IBCData } from '@initia/initia-registry-types'; +declare const ibc: IBCData[]; +export default ibc; diff --git a/_packages/initia-registry/types/devnet/index.d.ts b/_packages/initia-registry/types/devnet/index.d.ts new file mode 100644 index 0000000..2bdd67f --- /dev/null +++ b/_packages/initia-registry/types/devnet/index.d.ts @@ -0,0 +1,3 @@ +export * as miniwasm from './miniwasm'; +export * as minimove from './minimove'; +export * as initia from './initia'; diff --git a/_packages/initia-registry/types/devnet/initia/assets.d.ts b/_packages/initia-registry/types/devnet/initia/assets.d.ts new file mode 100644 index 0000000..0f37357 --- /dev/null +++ b/_packages/initia-registry/types/devnet/initia/assets.d.ts @@ -0,0 +1,3 @@ +import { AssetList } from '@initia/initia-registry-types'; +declare const info: AssetList; +export default info; diff --git a/_packages/initia-registry/types/devnet/initia/chain.d.ts b/_packages/initia-registry/types/devnet/initia/chain.d.ts new file mode 100644 index 0000000..bb00d6d --- /dev/null +++ b/_packages/initia-registry/types/devnet/initia/chain.d.ts @@ -0,0 +1,3 @@ +import { Chain } from '@initia/initia-registry-types'; +declare const info: Chain; +export default info; diff --git a/_packages/initia-registry/types/devnet/initia/ibc.d.ts b/_packages/initia-registry/types/devnet/initia/ibc.d.ts new file mode 100644 index 0000000..eb83b43 --- /dev/null +++ b/_packages/initia-registry/types/devnet/initia/ibc.d.ts @@ -0,0 +1,3 @@ +import { IBCData } from '@initia/initia-registry-types'; +declare const info: IBCData[]; +export default info; diff --git a/_packages/initia-registry/types/devnet/initia/ibc_chain1.d.ts b/_packages/initia-registry/types/devnet/initia/ibc_chain1.d.ts new file mode 100644 index 0000000..eb83b43 --- /dev/null +++ b/_packages/initia-registry/types/devnet/initia/ibc_chain1.d.ts @@ -0,0 +1,3 @@ +import { IBCData } from '@initia/initia-registry-types'; +declare const info: IBCData[]; +export default info; diff --git a/_packages/initia-registry/types/devnet/initia/index.d.ts b/_packages/initia-registry/types/devnet/initia/index.d.ts new file mode 100644 index 0000000..68d95ef --- /dev/null +++ b/_packages/initia-registry/types/devnet/initia/index.d.ts @@ -0,0 +1,4 @@ +export declare const assets: import("@initia/initia-registry-types").AssetList; +export declare const chain: import("@initia/initia-registry-types").Chain; +export declare const ibc: import("@initia/initia-registry-types").IBCData[]; +export declare const ibc_chain1: import("@initia/initia-registry-types").IBCData[]; diff --git a/_packages/initia-registry/types/devnet/minimove/assets.d.ts b/_packages/initia-registry/types/devnet/minimove/assets.d.ts new file mode 100644 index 0000000..0f37357 --- /dev/null +++ b/_packages/initia-registry/types/devnet/minimove/assets.d.ts @@ -0,0 +1,3 @@ +import { AssetList } from '@initia/initia-registry-types'; +declare const info: AssetList; +export default info; diff --git a/_packages/initia-registry/types/devnet/minimove/chain.d.ts b/_packages/initia-registry/types/devnet/minimove/chain.d.ts new file mode 100644 index 0000000..bb00d6d --- /dev/null +++ b/_packages/initia-registry/types/devnet/minimove/chain.d.ts @@ -0,0 +1,3 @@ +import { Chain } from '@initia/initia-registry-types'; +declare const info: Chain; +export default info; diff --git a/_packages/initia-registry/types/devnet/minimove/ibc.d.ts b/_packages/initia-registry/types/devnet/minimove/ibc.d.ts new file mode 100644 index 0000000..eb83b43 --- /dev/null +++ b/_packages/initia-registry/types/devnet/minimove/ibc.d.ts @@ -0,0 +1,3 @@ +import { IBCData } from '@initia/initia-registry-types'; +declare const info: IBCData[]; +export default info; diff --git a/_packages/initia-registry/types/devnet/minimove/index.d.ts b/_packages/initia-registry/types/devnet/minimove/index.d.ts new file mode 100644 index 0000000..a99d6aa --- /dev/null +++ b/_packages/initia-registry/types/devnet/minimove/index.d.ts @@ -0,0 +1,3 @@ +export declare const assets: import("@initia/initia-registry-types").AssetList; +export declare const chain: import("@initia/initia-registry-types").Chain; +export declare const ibc: import("@initia/initia-registry-types").IBCData[]; diff --git a/_packages/initia-registry/types/devnet/miniwasm/assets.d.ts b/_packages/initia-registry/types/devnet/miniwasm/assets.d.ts new file mode 100644 index 0000000..0f37357 --- /dev/null +++ b/_packages/initia-registry/types/devnet/miniwasm/assets.d.ts @@ -0,0 +1,3 @@ +import { AssetList } from '@initia/initia-registry-types'; +declare const info: AssetList; +export default info; diff --git a/_packages/initia-registry/types/devnet/miniwasm/chain.d.ts b/_packages/initia-registry/types/devnet/miniwasm/chain.d.ts new file mode 100644 index 0000000..bb00d6d --- /dev/null +++ b/_packages/initia-registry/types/devnet/miniwasm/chain.d.ts @@ -0,0 +1,3 @@ +import { Chain } from '@initia/initia-registry-types'; +declare const info: Chain; +export default info; diff --git a/_packages/initia-registry/types/devnet/miniwasm/ibc.d.ts b/_packages/initia-registry/types/devnet/miniwasm/ibc.d.ts new file mode 100644 index 0000000..a20b2cd --- /dev/null +++ b/_packages/initia-registry/types/devnet/miniwasm/ibc.d.ts @@ -0,0 +1,30 @@ +declare const info: { + $schema: string; + chain_1: { + chain_name: string; + client_id: string; + connection_id: string; + }; + chain_2: { + chain_name: string; + client_id: string; + connection_id: string; + }; + channels: { + chain_1: { + channel_id: string; + port_id: string; + }; + chain_2: { + channel_id: string; + port_id: string; + }; + ordering: string; + version: string; + tags: { + status: string; + preferred: boolean; + }; + }[]; +}[]; +export default info; diff --git a/_packages/initia-registry/types/devnet/miniwasm/index.d.ts b/_packages/initia-registry/types/devnet/miniwasm/index.d.ts new file mode 100644 index 0000000..8226e09 --- /dev/null +++ b/_packages/initia-registry/types/devnet/miniwasm/index.d.ts @@ -0,0 +1,31 @@ +export declare const assets: import("@initia/initia-registry-types").AssetList; +export declare const chain: import("@initia/initia-registry-types").Chain; +export declare const ibc: { + $schema: string; + chain_1: { + chain_name: string; + client_id: string; + connection_id: string; + }; + chain_2: { + chain_name: string; + client_id: string; + connection_id: string; + }; + channels: { + chain_1: { + channel_id: string; + port_id: string; + }; + chain_2: { + channel_id: string; + port_id: string; + }; + ordering: string; + version: string; + tags: { + status: string; + preferred: boolean; + }; + }[]; +}[]; diff --git a/_packages/initia-registry/types/ibc.d.ts b/_packages/initia-registry/types/ibc.d.ts new file mode 100644 index 0000000..25e6520 --- /dev/null +++ b/_packages/initia-registry/types/ibc.d.ts @@ -0,0 +1,3 @@ +import { IBCData } from "@initia/initia-registry-types"; +declare const ibc: IBCData[]; +export default ibc; diff --git a/_packages/initia-registry/types/index.d.ts b/_packages/initia-registry/types/index.d.ts new file mode 100644 index 0000000..43635f1 --- /dev/null +++ b/_packages/initia-registry/types/index.d.ts @@ -0,0 +1,10 @@ +import assets from "./assets"; +import chains from "./chains"; +import ibc from "./ibc"; +declare const _default: { + assets: import("@chain-registry/types").AssetList[]; + chains: import("@chain-registry/types").Chain[]; + ibc: import("@chain-registry/types").IBCInfo[]; +}; +export default _default; +export { assets, chains, ibc }; diff --git a/_packages/initia-registry/yarn.lock b/_packages/initia-registry/yarn.lock new file mode 100644 index 0000000..6bca804 --- /dev/null +++ b/_packages/initia-registry/yarn.lock @@ -0,0 +1,356 @@ +# This file is generated by running "yarn install" inside your project. +# Manual changes might be lost - proceed with caution! + +__metadata: + version: 8 + cacheKey: 10c0 + +"@initia/initia-registry-types@npm:^0.0.11": + version: 0.0.11 + resolution: "@initia/initia-registry-types@npm:0.0.11" + dependencies: + zod: "npm:^3.22.4" + checksum: 10c0/b346e2fb64b3133f7be0d32883fb59e5f1e7e9d5969fca04ea99891d5d00be8c60270b57d40f8946d78c6e9f9ff7852b7eddd3cb2a874ec93970f6f748ed798d + languageName: node + linkType: hard + +"@initia/initia-registry@workspace:.": + version: 0.0.0-use.local + resolution: "@initia/initia-registry@workspace:." + dependencies: + "@initia/initia-registry-types": "npm:^0.0.11" + glob: "npm:^10.3.12" + mkdirp: "npm:^3.0.1" + rimraf: "npm:^5.0.5" + languageName: unknown + linkType: soft + +"@isaacs/cliui@npm:^8.0.2": + version: 8.0.2 + resolution: "@isaacs/cliui@npm:8.0.2" + dependencies: + string-width: "npm:^5.1.2" + string-width-cjs: "npm:string-width@^4.2.0" + strip-ansi: "npm:^7.0.1" + strip-ansi-cjs: "npm:strip-ansi@^6.0.1" + wrap-ansi: "npm:^8.1.0" + wrap-ansi-cjs: "npm:wrap-ansi@^7.0.0" + checksum: 10c0/b1bf42535d49f11dc137f18d5e4e63a28c5569de438a221c369483731e9dac9fb797af554e8bf02b6192d1e5eba6e6402cf93900c3d0ac86391d00d04876789e + languageName: node + linkType: hard + +"@pkgjs/parseargs@npm:^0.11.0": + version: 0.11.0 + resolution: "@pkgjs/parseargs@npm:0.11.0" + checksum: 10c0/5bd7576bb1b38a47a7fc7b51ac9f38748e772beebc56200450c4a817d712232b8f1d3ef70532c80840243c657d491cf6a6be1e3a214cff907645819fdc34aadd + languageName: node + linkType: hard + +"ansi-regex@npm:^5.0.1": + version: 5.0.1 + resolution: "ansi-regex@npm:5.0.1" + checksum: 10c0/9a64bb8627b434ba9327b60c027742e5d17ac69277960d041898596271d992d4d52ba7267a63ca10232e29f6107fc8a835f6ce8d719b88c5f8493f8254813737 + languageName: node + linkType: hard + +"ansi-regex@npm:^6.0.1": + version: 6.0.1 + resolution: "ansi-regex@npm:6.0.1" + checksum: 10c0/cbe16dbd2c6b2735d1df7976a7070dd277326434f0212f43abf6d87674095d247968209babdaad31bb00882fa68807256ba9be340eec2f1004de14ca75f52a08 + languageName: node + linkType: hard + +"ansi-styles@npm:^4.0.0": + version: 4.3.0 + resolution: "ansi-styles@npm:4.3.0" + dependencies: + color-convert: "npm:^2.0.1" + checksum: 10c0/895a23929da416f2bd3de7e9cb4eabd340949328ab85ddd6e484a637d8f6820d485f53933446f5291c3b760cbc488beb8e88573dd0f9c7daf83dccc8fe81b041 + languageName: node + linkType: hard + +"ansi-styles@npm:^6.1.0": + version: 6.2.1 + resolution: "ansi-styles@npm:6.2.1" + checksum: 10c0/5d1ec38c123984bcedd996eac680d548f31828bd679a66db2bdf11844634dde55fec3efa9c6bb1d89056a5e79c1ac540c4c784d592ea1d25028a92227d2f2d5c + languageName: node + linkType: hard + +"balanced-match@npm:^1.0.0": + version: 1.0.2 + resolution: "balanced-match@npm:1.0.2" + checksum: 10c0/9308baf0a7e4838a82bbfd11e01b1cb0f0cf2893bc1676c27c2a8c0e70cbae1c59120c3268517a8ae7fb6376b4639ef81ca22582611dbee4ed28df945134aaee + languageName: node + linkType: hard + +"brace-expansion@npm:^2.0.1": + version: 2.0.1 + resolution: "brace-expansion@npm:2.0.1" + dependencies: + balanced-match: "npm:^1.0.0" + checksum: 10c0/b358f2fe060e2d7a87aa015979ecea07f3c37d4018f8d6deb5bd4c229ad3a0384fe6029bb76cd8be63c81e516ee52d1a0673edbe2023d53a5191732ae3c3e49f + languageName: node + linkType: hard + +"color-convert@npm:^2.0.1": + version: 2.0.1 + resolution: "color-convert@npm:2.0.1" + dependencies: + color-name: "npm:~1.1.4" + checksum: 10c0/37e1150172f2e311fe1b2df62c6293a342ee7380da7b9cfdba67ea539909afbd74da27033208d01d6d5cfc65ee7868a22e18d7e7648e004425441c0f8a15a7d7 + languageName: node + linkType: hard + +"color-name@npm:~1.1.4": + version: 1.1.4 + resolution: "color-name@npm:1.1.4" + checksum: 10c0/a1a3f914156960902f46f7f56bc62effc6c94e84b2cae157a526b1c1f74b677a47ec602bf68a61abfa2b42d15b7c5651c6dbe72a43af720bc588dff885b10f95 + languageName: node + linkType: hard + +"cross-spawn@npm:^7.0.0": + version: 7.0.3 + resolution: "cross-spawn@npm:7.0.3" + dependencies: + path-key: "npm:^3.1.0" + shebang-command: "npm:^2.0.0" + which: "npm:^2.0.1" + checksum: 10c0/5738c312387081c98d69c98e105b6327b069197f864a60593245d64c8089c8a0a744e16349281210d56835bb9274130d825a78b2ad6853ca13cfbeffc0c31750 + languageName: node + linkType: hard + +"eastasianwidth@npm:^0.2.0": + version: 0.2.0 + resolution: "eastasianwidth@npm:0.2.0" + checksum: 10c0/26f364ebcdb6395f95124fda411f63137a4bfb5d3a06453f7f23dfe52502905bd84e0488172e0f9ec295fdc45f05c23d5d91baf16bd26f0fe9acd777a188dc39 + languageName: node + linkType: hard + +"emoji-regex@npm:^8.0.0": + version: 8.0.0 + resolution: "emoji-regex@npm:8.0.0" + checksum: 10c0/b6053ad39951c4cf338f9092d7bfba448cdfd46fe6a2a034700b149ac9ffbc137e361cbd3c442297f86bed2e5f7576c1b54cc0a6bf8ef5106cc62f496af35010 + languageName: node + linkType: hard + +"emoji-regex@npm:^9.2.2": + version: 9.2.2 + resolution: "emoji-regex@npm:9.2.2" + checksum: 10c0/af014e759a72064cf66e6e694a7fc6b0ed3d8db680427b021a89727689671cefe9d04151b2cad51dbaf85d5ba790d061cd167f1cf32eb7b281f6368b3c181639 + languageName: node + linkType: hard + +"foreground-child@npm:^3.1.0": + version: 3.1.1 + resolution: "foreground-child@npm:3.1.1" + dependencies: + cross-spawn: "npm:^7.0.0" + signal-exit: "npm:^4.0.1" + checksum: 10c0/9700a0285628abaeb37007c9a4d92bd49f67210f09067638774338e146c8e9c825c5c877f072b2f75f41dc6a2d0be8664f79ffc03f6576649f54a84fb9b47de0 + languageName: node + linkType: hard + +"glob@npm:^10.3.12, glob@npm:^10.3.7": + version: 10.3.12 + resolution: "glob@npm:10.3.12" + dependencies: + foreground-child: "npm:^3.1.0" + jackspeak: "npm:^2.3.6" + minimatch: "npm:^9.0.1" + minipass: "npm:^7.0.4" + path-scurry: "npm:^1.10.2" + bin: + glob: dist/esm/bin.mjs + checksum: 10c0/f60cefdc1cf3f958b2bb5823e1b233727f04916d489dc4641d76914f016e6704421e06a83cbb68b0cb1cb9382298b7a88075b844ad2127fc9727ea22b18b0711 + languageName: node + linkType: hard + +"is-fullwidth-code-point@npm:^3.0.0": + version: 3.0.0 + resolution: "is-fullwidth-code-point@npm:3.0.0" + checksum: 10c0/bb11d825e049f38e04c06373a8d72782eee0205bda9d908cc550ccb3c59b99d750ff9537982e01733c1c94a58e35400661f57042158ff5e8f3e90cf936daf0fc + languageName: node + linkType: hard + +"isexe@npm:^2.0.0": + version: 2.0.0 + resolution: "isexe@npm:2.0.0" + checksum: 10c0/228cfa503fadc2c31596ab06ed6aa82c9976eec2bfd83397e7eaf06d0ccf42cd1dfd6743bf9aeb01aebd4156d009994c5f76ea898d2832c1fe342da923ca457d + languageName: node + linkType: hard + +"jackspeak@npm:^2.3.6": + version: 2.3.6 + resolution: "jackspeak@npm:2.3.6" + dependencies: + "@isaacs/cliui": "npm:^8.0.2" + "@pkgjs/parseargs": "npm:^0.11.0" + dependenciesMeta: + "@pkgjs/parseargs": + optional: true + checksum: 10c0/f01d8f972d894cd7638bc338e9ef5ddb86f7b208ce177a36d718eac96ec86638a6efa17d0221b10073e64b45edc2ce15340db9380b1f5d5c5d000cbc517dc111 + languageName: node + linkType: hard + +"lru-cache@npm:^10.2.0": + version: 10.2.0 + resolution: "lru-cache@npm:10.2.0" + checksum: 10c0/c9847612aa2daaef102d30542a8d6d9b2c2bb36581c1bf0dc3ebf5e5f3352c772a749e604afae2e46873b930a9e9523743faac4e5b937c576ab29196774712ee + languageName: node + linkType: hard + +"minimatch@npm:^9.0.1": + version: 9.0.4 + resolution: "minimatch@npm:9.0.4" + dependencies: + brace-expansion: "npm:^2.0.1" + checksum: 10c0/2c16f21f50e64922864e560ff97c587d15fd491f65d92a677a344e970fe62aafdbeafe648965fa96d33c061b4d0eabfe0213466203dd793367e7f28658cf6414 + languageName: node + linkType: hard + +"minipass@npm:^5.0.0 || ^6.0.2 || ^7.0.0, minipass@npm:^7.0.4": + version: 7.0.4 + resolution: "minipass@npm:7.0.4" + checksum: 10c0/6c7370a6dfd257bf18222da581ba89a5eaedca10e158781232a8b5542a90547540b4b9b7e7f490e4cda43acfbd12e086f0453728ecf8c19e0ef6921bc5958ac5 + languageName: node + linkType: hard + +"mkdirp@npm:^3.0.1": + version: 3.0.1 + resolution: "mkdirp@npm:3.0.1" + bin: + mkdirp: dist/cjs/src/bin.js + checksum: 10c0/9f2b975e9246351f5e3a40dcfac99fcd0baa31fbfab615fe059fb11e51f10e4803c63de1f384c54d656e4db31d000e4767e9ef076a22e12a641357602e31d57d + languageName: node + linkType: hard + +"path-key@npm:^3.1.0": + version: 3.1.1 + resolution: "path-key@npm:3.1.1" + checksum: 10c0/748c43efd5a569c039d7a00a03b58eecd1d75f3999f5a28303d75f521288df4823bc057d8784eb72358b2895a05f29a070bc9f1f17d28226cc4e62494cc58c4c + languageName: node + linkType: hard + +"path-scurry@npm:^1.10.2": + version: 1.10.2 + resolution: "path-scurry@npm:1.10.2" + dependencies: + lru-cache: "npm:^10.2.0" + minipass: "npm:^5.0.0 || ^6.0.2 || ^7.0.0" + checksum: 10c0/d723777fbf9627f201e64656680f66ebd940957eebacf780e6cce1c2919c29c116678b2d7dbf8821b3a2caa758d125f4444005ccec886a25c8f324504e48e601 + languageName: node + linkType: hard + +"rimraf@npm:^5.0.5": + version: 5.0.5 + resolution: "rimraf@npm:5.0.5" + dependencies: + glob: "npm:^10.3.7" + bin: + rimraf: dist/esm/bin.mjs + checksum: 10c0/d50dbe724f33835decd88395b25ed35995077c60a50ae78ded06e0185418914e555817aad1b4243edbff2254548c2f6ad6f70cc850040bebb4da9e8cc016f586 + languageName: node + linkType: hard + +"shebang-command@npm:^2.0.0": + version: 2.0.0 + resolution: "shebang-command@npm:2.0.0" + dependencies: + shebang-regex: "npm:^3.0.0" + checksum: 10c0/a41692e7d89a553ef21d324a5cceb5f686d1f3c040759c50aab69688634688c5c327f26f3ecf7001ebfd78c01f3c7c0a11a7c8bfd0a8bc9f6240d4f40b224e4e + languageName: node + linkType: hard + +"shebang-regex@npm:^3.0.0": + version: 3.0.0 + resolution: "shebang-regex@npm:3.0.0" + checksum: 10c0/1dbed0726dd0e1152a92696c76c7f06084eb32a90f0528d11acd764043aacf76994b2fb30aa1291a21bd019d6699164d048286309a278855ee7bec06cf6fb690 + languageName: node + linkType: hard + +"signal-exit@npm:^4.0.1": + version: 4.1.0 + resolution: "signal-exit@npm:4.1.0" + checksum: 10c0/41602dce540e46d599edba9d9860193398d135f7ff72cab629db5171516cfae628d21e7bfccde1bbfdf11c48726bc2a6d1a8fb8701125852fbfda7cf19c6aa83 + languageName: node + linkType: hard + +"string-width-cjs@npm:string-width@^4.2.0, string-width@npm:^4.1.0": + version: 4.2.3 + resolution: "string-width@npm:4.2.3" + dependencies: + emoji-regex: "npm:^8.0.0" + is-fullwidth-code-point: "npm:^3.0.0" + strip-ansi: "npm:^6.0.1" + checksum: 10c0/1e525e92e5eae0afd7454086eed9c818ee84374bb80328fc41217ae72ff5f065ef1c9d7f72da41de40c75fa8bb3dee63d92373fd492c84260a552c636392a47b + languageName: node + linkType: hard + +"string-width@npm:^5.0.1, string-width@npm:^5.1.2": + version: 5.1.2 + resolution: "string-width@npm:5.1.2" + dependencies: + eastasianwidth: "npm:^0.2.0" + emoji-regex: "npm:^9.2.2" + strip-ansi: "npm:^7.0.1" + checksum: 10c0/ab9c4264443d35b8b923cbdd513a089a60de339216d3b0ed3be3ba57d6880e1a192b70ae17225f764d7adbf5994e9bb8df253a944736c15a0240eff553c678ca + languageName: node + linkType: hard + +"strip-ansi-cjs@npm:strip-ansi@^6.0.1, strip-ansi@npm:^6.0.0, strip-ansi@npm:^6.0.1": + version: 6.0.1 + resolution: "strip-ansi@npm:6.0.1" + dependencies: + ansi-regex: "npm:^5.0.1" + checksum: 10c0/1ae5f212a126fe5b167707f716942490e3933085a5ff6c008ab97ab2f272c8025d3aa218b7bd6ab25729ca20cc81cddb252102f8751e13482a5199e873680952 + languageName: node + linkType: hard + +"strip-ansi@npm:^7.0.1": + version: 7.1.0 + resolution: "strip-ansi@npm:7.1.0" + dependencies: + ansi-regex: "npm:^6.0.1" + checksum: 10c0/a198c3762e8832505328cbf9e8c8381de14a4fa50a4f9b2160138158ea88c0f5549fb50cb13c651c3088f47e63a108b34622ec18c0499b6c8c3a5ddf6b305ac4 + languageName: node + linkType: hard + +"which@npm:^2.0.1": + version: 2.0.2 + resolution: "which@npm:2.0.2" + dependencies: + isexe: "npm:^2.0.0" + bin: + node-which: ./bin/node-which + checksum: 10c0/66522872a768b60c2a65a57e8ad184e5372f5b6a9ca6d5f033d4b0dc98aff63995655a7503b9c0a2598936f532120e81dd8cc155e2e92ed662a2b9377cc4374f + languageName: node + linkType: hard + +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": + version: 7.0.0 + resolution: "wrap-ansi@npm:7.0.0" + dependencies: + ansi-styles: "npm:^4.0.0" + string-width: "npm:^4.1.0" + strip-ansi: "npm:^6.0.0" + checksum: 10c0/d15fc12c11e4cbc4044a552129ebc75ee3f57aa9c1958373a4db0292d72282f54373b536103987a4a7594db1ef6a4f10acf92978f79b98c49306a4b58c77d4da + languageName: node + linkType: hard + +"wrap-ansi@npm:^8.1.0": + version: 8.1.0 + resolution: "wrap-ansi@npm:8.1.0" + dependencies: + ansi-styles: "npm:^6.1.0" + string-width: "npm:^5.0.1" + strip-ansi: "npm:^7.0.1" + checksum: 10c0/138ff58a41d2f877eae87e3282c0630fc2789012fc1af4d6bd626eeb9a2f9a65ca92005e6e69a75c7b85a68479fe7443c7dbe1eb8fbaa681a4491364b7c55c60 + languageName: node + linkType: hard + +"zod@npm:^3.22.4": + version: 3.22.4 + resolution: "zod@npm:3.22.4" + checksum: 10c0/7578ab283dac0eee66a0ad0fc4a7f28c43e6745aadb3a529f59a4b851aa10872b3890398b3160f257f4b6817b4ce643debdda4fb21a2c040adda7862cab0a587 + languageName: node + linkType: hard diff --git a/_package/.gitignore b/_packages/types/.gitignore similarity index 100% rename from _package/.gitignore rename to _packages/types/.gitignore diff --git a/_package/.npmignore b/_packages/types/.npmignore similarity index 100% rename from _package/.npmignore rename to _packages/types/.npmignore diff --git a/_package/package-lock.json b/_packages/types/package-lock.json similarity index 92% rename from _package/package-lock.json rename to _packages/types/package-lock.json index 7041a3f..78f123a 100644 --- a/_package/package-lock.json +++ b/_packages/types/package-lock.json @@ -1,22 +1,21 @@ { - "name": "@initia/initia-registry", - "version": "0.0.4", + "name": "@initia/initia-registry-types", + "version": "0.0.11", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "@initia/initia-registry", - "version": "0.0.4", + "name": "@initia/initia-registry-types", + "version": "0.0.11", "license": "MIT", "dependencies": { - "json-schema-to-typescript": "^13.1.2", - "json-schema-to-zod": "^1.2.0", - "json5": "^2.2.3", "zod": "^3.22.4" }, "devDependencies": { + "json-schema-to-typescript": "^13.1.2", + "json-schema-to-zod": "^1.2.0", + "json5": "^2.2.3", "ts-node": "^10.9.2", - "tsconfig-paths": "^4.2.0", "typescript": "^5.2.2" } }, @@ -24,6 +23,7 @@ "version": "10.0.5-fork", "resolved": "https://registry.npmjs.org/@bcherny/json-schema-ref-parser/-/json-schema-ref-parser-10.0.5-fork.tgz", "integrity": "sha512-E/jKbPoca1tfUPj3iSbitDZTGnq6FUFjkH6L8U2oDwSuwK1WhnnVtCG7oFOTg/DDnyoXbQYUiUiGOibHqaGVnw==", + "dev": true, "dependencies": { "@jsdevtools/ono": "^7.1.3", "@types/json-schema": "^7.0.6", @@ -77,7 +77,8 @@ "node_modules/@jsdevtools/ono": { "version": "7.1.3", "resolved": "https://registry.npmjs.org/@jsdevtools/ono/-/ono-7.1.3.tgz", - "integrity": "sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg==" + "integrity": "sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg==", + "dev": true }, "node_modules/@tsconfig/node10": { "version": "1.0.9", @@ -107,6 +108,7 @@ "version": "7.2.0", "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.2.0.tgz", "integrity": "sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==", + "dev": true, "dependencies": { "@types/minimatch": "*", "@types/node": "*" @@ -115,22 +117,26 @@ "node_modules/@types/json-schema": { "version": "7.0.15", "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", - "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==" + "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", + "dev": true }, "node_modules/@types/lodash": { "version": "4.14.202", "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.202.tgz", - "integrity": "sha512-OvlIYQK9tNneDlS0VN54LLd5uiPCBOp7gS5Z0f1mjoJYBrtStzgmJBxONW3U6OZqdtNzZPmn9BS/7WI7BFFcFQ==" + "integrity": "sha512-OvlIYQK9tNneDlS0VN54LLd5uiPCBOp7gS5Z0f1mjoJYBrtStzgmJBxONW3U6OZqdtNzZPmn9BS/7WI7BFFcFQ==", + "dev": true }, "node_modules/@types/minimatch": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-5.1.2.tgz", - "integrity": "sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA==" + "integrity": "sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA==", + "dev": true }, "node_modules/@types/node": { "version": "20.11.25", "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.25.tgz", "integrity": "sha512-TBHyJxk2b7HceLVGFcpAUjsa5zIdsPWlR6XHfyGzd0SFu+/NFgQgMAl96MSDZgQDvJAvV6BKsFOrt6zIL09JDw==", + "dev": true, "dependencies": { "undici-types": "~5.26.4" } @@ -138,7 +144,8 @@ "node_modules/@types/prettier": { "version": "2.7.3", "resolved": "https://registry.npmjs.org/@types/prettier/-/prettier-2.7.3.tgz", - "integrity": "sha512-+68kP9yzs4LMp7VNh8gdzMSPZFL44MLGqiHWvttYJe+6qnuVr4Ek9wSBQoveqY/r+LwjCcU29kNVkidwim+kYA==" + "integrity": "sha512-+68kP9yzs4LMp7VNh8gdzMSPZFL44MLGqiHWvttYJe+6qnuVr4Ek9wSBQoveqY/r+LwjCcU29kNVkidwim+kYA==", + "dev": true }, "node_modules/acorn": { "version": "8.11.3", @@ -164,7 +171,8 @@ "node_modules/any-promise": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz", - "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==" + "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==", + "dev": true }, "node_modules/arg": { "version": "4.1.3", @@ -175,27 +183,32 @@ "node_modules/argparse": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true }, "node_modules/asap": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", - "integrity": "sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==" + "integrity": "sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==", + "dev": true }, "node_modules/asynckit": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", + "dev": true }, "node_modules/balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "dev": true }, "node_modules/brace-expansion": { "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -205,6 +218,7 @@ "version": "1.0.7", "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", + "dev": true, "dependencies": { "es-define-property": "^1.0.0", "es-errors": "^1.3.0", @@ -222,12 +236,14 @@ "node_modules/call-me-maybe": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.2.tgz", - "integrity": "sha512-HpX65o1Hnr9HH25ojC1YGs7HCQLq0GCOibSaWER0eNpgJ/Z1MZv2mTc7+xh6WOPxbRVcmgbv4hGU+uSQ/2xFZQ==" + "integrity": "sha512-HpX65o1Hnr9HH25ojC1YGs7HCQLq0GCOibSaWER0eNpgJ/Z1MZv2mTc7+xh6WOPxbRVcmgbv4hGU+uSQ/2xFZQ==", + "dev": true }, "node_modules/cli-color": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/cli-color/-/cli-color-2.0.4.tgz", "integrity": "sha512-zlnpg0jNcibNrO7GG9IeHH7maWFeCz+Ja1wx/7tZNU5ASSSSZ+/qZciM0/LHCYxSdqv5h2sdbQ/PXYdOuetXvA==", + "dev": true, "dependencies": { "d": "^1.0.1", "es5-ext": "^0.10.64", @@ -243,6 +259,7 @@ "version": "1.0.8", "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "dev": true, "dependencies": { "delayed-stream": "~1.0.0" }, @@ -254,6 +271,7 @@ "version": "4.1.1", "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==", + "dev": true, "engines": { "node": ">= 6" } @@ -262,6 +280,7 @@ "version": "1.3.1", "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.1.tgz", "integrity": "sha512-T0+barUSQRTUQASh8bx02dl+DhF54GtIDY13Y3m9oWTklKbb3Wv974meRpeZ3lp1JpLVECWWNHC4vaG2XHXouQ==", + "dev": true, "funding": { "url": "https://github.com/sponsors/sindresorhus" } @@ -269,12 +288,14 @@ "node_modules/concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", + "dev": true }, "node_modules/cookiejar": { "version": "2.1.4", "resolved": "https://registry.npmjs.org/cookiejar/-/cookiejar-2.1.4.tgz", - "integrity": "sha512-LDx6oHrK+PhzLKJU9j5S7/Y3jM/mUHvD/DeI1WQmJn652iPC5Y4TBzC9l+5OMOXlyTTA+SmVUPm0HQUwpD5Jqw==" + "integrity": "sha512-LDx6oHrK+PhzLKJU9j5S7/Y3jM/mUHvD/DeI1WQmJn652iPC5Y4TBzC9l+5OMOXlyTTA+SmVUPm0HQUwpD5Jqw==", + "dev": true }, "node_modules/create-require": { "version": "1.1.1", @@ -286,6 +307,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/d/-/d-1.0.2.tgz", "integrity": "sha512-MOqHvMWF9/9MX6nza0KgvFH4HpMU0EF5uUDXqX/BtxtU8NfB0QzRtJ8Oe/6SuS4kbhyzVJwjd97EA4PKrzJ8bw==", + "dev": true, "dependencies": { "es5-ext": "^0.10.64", "type": "^2.7.2" @@ -298,6 +320,7 @@ "version": "4.3.4", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "dev": true, "dependencies": { "ms": "2.1.2" }, @@ -314,6 +337,7 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", + "dev": true, "dependencies": { "es-define-property": "^1.0.0", "es-errors": "^1.3.0", @@ -330,6 +354,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", + "dev": true, "engines": { "node": ">=0.4.0" } @@ -338,6 +363,7 @@ "version": "1.0.4", "resolved": "https://registry.npmjs.org/dezalgo/-/dezalgo-1.0.4.tgz", "integrity": "sha512-rXSP0bf+5n0Qonsb+SVVfNfIsimO4HEtmnIpPHY8Q1UCzKlQrDMfdobr8nJOOsRgWCyMRqeSBQzmWUMq7zvVig==", + "dev": true, "dependencies": { "asap": "^2.0.0", "wrappy": "1" @@ -356,6 +382,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", + "dev": true, "dependencies": { "get-intrinsic": "^1.2.4" }, @@ -367,6 +394,7 @@ "version": "1.3.0", "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "dev": true, "engines": { "node": ">= 0.4" } @@ -375,6 +403,7 @@ "version": "0.10.64", "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.64.tgz", "integrity": "sha512-p2snDhiLaXe6dahss1LddxqEm+SkuDvV8dnIQG0MWjyHpcMNfXKPE+/Cc0y+PhxJX3A4xGNeFCj5oc0BUh6deg==", + "dev": true, "hasInstallScript": true, "dependencies": { "es6-iterator": "^2.0.3", @@ -390,6 +419,7 @@ "version": "2.0.3", "resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz", "integrity": "sha512-zw4SRzoUkd+cl+ZoE15A9o1oQd920Bb0iOJMQkQhl3jNc03YqVjAhG7scf9C5KWRU/R13Orf588uCC6525o02g==", + "dev": true, "dependencies": { "d": "1", "es5-ext": "^0.10.35", @@ -400,6 +430,7 @@ "version": "3.1.4", "resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.4.tgz", "integrity": "sha512-U9bFFjX8tFiATgtkJ1zg25+KviIXpgRvRHS8sau3GfhVzThRQrOeksPeT0BWW2MNZs1OEWJ1DPXOQMn0KKRkvg==", + "dev": true, "dependencies": { "d": "^1.0.2", "ext": "^1.7.0" @@ -412,6 +443,7 @@ "version": "2.0.3", "resolved": "https://registry.npmjs.org/es6-weak-map/-/es6-weak-map-2.0.3.tgz", "integrity": "sha512-p5um32HOTO1kP+w7PRnB+5lQ43Z6muuMuIMffvDN8ZB4GcnjLBV6zGStpbASIMk4DCAvEaamhe2zhyCb/QXXsA==", + "dev": true, "dependencies": { "d": "1", "es5-ext": "^0.10.46", @@ -423,6 +455,7 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/esniff/-/esniff-2.0.1.tgz", "integrity": "sha512-kTUIGKQ/mDPFoJ0oVfcmyJn4iBDRptjNVIzwIFR7tqWXdVI9xfA2RMwY/gbSpJG3lkdWNEjLap/NqVHZiJsdfg==", + "dev": true, "dependencies": { "d": "^1.0.1", "es5-ext": "^0.10.62", @@ -437,6 +470,7 @@ "version": "4.0.1", "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "dev": true, "bin": { "esparse": "bin/esparse.js", "esvalidate": "bin/esvalidate.js" @@ -449,6 +483,7 @@ "version": "0.3.5", "resolved": "https://registry.npmjs.org/event-emitter/-/event-emitter-0.3.5.tgz", "integrity": "sha512-D9rRn9y7kLPnJ+hMq7S/nhvoKwwvVJahBi2BPmx3bvbsEdK3W9ii8cBSGjP+72/LnM4n6fo3+dkCX5FeTQruXA==", + "dev": true, "dependencies": { "d": "1", "es5-ext": "~0.10.14" @@ -458,6 +493,7 @@ "version": "1.7.0", "resolved": "https://registry.npmjs.org/ext/-/ext-1.7.0.tgz", "integrity": "sha512-6hxeJYaL110a9b5TEJSj0gojyHQAmA2ch5Os+ySCiA1QGdS697XWY1pzsrSjqA9LDEEgdB/KypIlR59RcLuHYw==", + "dev": true, "dependencies": { "type": "^2.7.2" } @@ -465,12 +501,14 @@ "node_modules/fast-safe-stringify": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.1.1.tgz", - "integrity": "sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==" + "integrity": "sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==", + "dev": true }, "node_modules/form-data": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", + "dev": true, "dependencies": { "asynckit": "^0.4.0", "combined-stream": "^1.0.8", @@ -484,6 +522,7 @@ "version": "2.1.2", "resolved": "https://registry.npmjs.org/formidable/-/formidable-2.1.2.tgz", "integrity": "sha512-CM3GuJ57US06mlpQ47YcunuUZ9jpm8Vx+P2CGt2j7HpgkKZO/DJYQ0Bobim8G6PFQmK5lOqOOdUXboU+h73A4g==", + "dev": true, "dependencies": { "dezalgo": "^1.0.4", "hexoid": "^1.0.0", @@ -497,12 +536,14 @@ "node_modules/fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", + "dev": true }, "node_modules/function-bind": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "dev": true, "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -511,6 +552,7 @@ "version": "1.2.4", "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", + "dev": true, "dependencies": { "es-errors": "^1.3.0", "function-bind": "^1.1.2", @@ -529,6 +571,7 @@ "version": "8.0.0", "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-8.0.0.tgz", "integrity": "sha512-sY22aA6xchAzprjyqmSEQv4UbAAzRN0L2dQB0NlN5acTTK9Don6nhoc3eAbUnpZiCANAMfd/+40kVdKfFygohg==", + "dev": true, "engines": { "node": ">=10" }, @@ -540,6 +583,7 @@ "version": "7.2.3", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "dev": true, "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -559,6 +603,7 @@ "version": "4.2.2", "resolved": "https://registry.npmjs.org/glob-promise/-/glob-promise-4.2.2.tgz", "integrity": "sha512-xcUzJ8NWN5bktoTIX7eOclO1Npxd/dyVqUJxlLIDasT4C7KZyqlPIwkdJ0Ypiy3p2ZKahTjK4M9uC3sNSfNMzw==", + "dev": true, "dependencies": { "@types/glob": "^7.1.3" }, @@ -577,6 +622,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", + "dev": true, "dependencies": { "get-intrinsic": "^1.1.3" }, @@ -588,6 +634,7 @@ "version": "2.1.8", "resolved": "https://registry.npmjs.org/graphlib/-/graphlib-2.1.8.tgz", "integrity": "sha512-jcLLfkpoVGmH7/InMC/1hIvOPSUh38oJtGhvrOFGzioE1DZ+0YW16RgmOJhHiuWTvGiJQ9Z1Ik43JvkRPRvE+A==", + "dev": true, "dependencies": { "lodash": "^4.17.15" } @@ -596,6 +643,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", + "dev": true, "dependencies": { "es-define-property": "^1.0.0" }, @@ -607,6 +655,7 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz", "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==", + "dev": true, "engines": { "node": ">= 0.4" }, @@ -618,6 +667,7 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", + "dev": true, "engines": { "node": ">= 0.4" }, @@ -629,6 +679,7 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.1.tgz", "integrity": "sha512-1/th4MHjnwncwXsIW6QMzlvYL9kG5e/CpVvLRZe4XPa8TOUNbCELqmvhDmnkNsAjwaG4+I8gJJL0JBvTTLO9qA==", + "dev": true, "dependencies": { "function-bind": "^1.1.2" }, @@ -640,6 +691,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/hexoid/-/hexoid-1.0.0.tgz", "integrity": "sha512-QFLV0taWQOZtvIRIAdBChesmogZrtuXvVWsFHZTk2SU+anspqZ2vMnoLg7IE1+Uk16N19APic1BuF8bC8c2m5g==", + "dev": true, "engines": { "node": ">=8" } @@ -648,6 +700,7 @@ "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", + "dev": true, "dependencies": { "once": "^1.3.0", "wrappy": "1" @@ -656,12 +709,14 @@ "node_modules/inherits": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "dev": true }, "node_modules/is-extglob": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "dev": true, "engines": { "node": ">=0.10.0" } @@ -670,6 +725,7 @@ "version": "4.0.3", "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, "dependencies": { "is-extglob": "^2.1.1" }, @@ -680,12 +736,14 @@ "node_modules/is-promise": { "version": "2.2.2", "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz", - "integrity": "sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==" + "integrity": "sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==", + "dev": true }, "node_modules/js-yaml": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dev": true, "dependencies": { "argparse": "^2.0.1" }, @@ -697,6 +755,7 @@ "version": "3.0.15", "resolved": "https://registry.npmjs.org/json-refs/-/json-refs-3.0.15.tgz", "integrity": "sha512-0vOQd9eLNBL18EGl5yYaO44GhixmImes2wiYn9Z3sag3QnehWrYWlB9AFtMxCL2Bj3fyxgDYkxGFEU/chlYssw==", + "dev": true, "dependencies": { "commander": "~4.1.1", "graphlib": "^2.1.8", @@ -718,6 +777,7 @@ "version": "1.0.10", "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "dev": true, "dependencies": { "sprintf-js": "~1.0.2" } @@ -726,6 +786,7 @@ "version": "3.14.1", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", + "dev": true, "dependencies": { "argparse": "^1.0.7", "esprima": "^4.0.0" @@ -738,6 +799,7 @@ "version": "13.1.2", "resolved": "https://registry.npmjs.org/json-schema-to-typescript/-/json-schema-to-typescript-13.1.2.tgz", "integrity": "sha512-17G+mjx4nunvOpkPvcz7fdwUwYCEwyH8vR3Ym3rFiQ8uzAL3go+c1306Kk7iGRk8HuXBXqy+JJJmpYl0cvOllw==", + "dev": true, "dependencies": { "@bcherny/json-schema-ref-parser": "10.0.5-fork", "@types/json-schema": "^7.0.11", @@ -765,6 +827,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/json-schema-to-zod/-/json-schema-to-zod-1.2.0.tgz", "integrity": "sha512-fC0JgINgkh1RWHbOonzrxP+221/oGwPE014bJxWRsdK6TqC7vLtx9t4l5dlKXzFR9o35/s0v/qgb15Bfwkm2xA==", + "dev": true, "dependencies": { "json-refs": "^3.0.15", "prettier": "^2.4.1" @@ -777,6 +840,7 @@ "version": "2.2.3", "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", + "dev": true, "bin": { "json5": "lib/cli.js" }, @@ -787,12 +851,14 @@ "node_modules/lodash": { "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "dev": true }, "node_modules/lru-cache": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, "dependencies": { "yallist": "^4.0.0" }, @@ -804,6 +870,7 @@ "version": "0.1.0", "resolved": "https://registry.npmjs.org/lru-queue/-/lru-queue-0.1.0.tgz", "integrity": "sha512-BpdYkt9EvGl8OfWHDQPISVpcl5xZthb+XPsbELj5AQXxIC8IriDZIQYjBJPEm5rS420sjZ0TLEzRcq5KdBhYrQ==", + "dev": true, "dependencies": { "es5-ext": "~0.10.2" } @@ -818,6 +885,7 @@ "version": "0.4.15", "resolved": "https://registry.npmjs.org/memoizee/-/memoizee-0.4.15.tgz", "integrity": "sha512-UBWmJpLZd5STPm7PMUlOw/TSy972M+z8gcyQ5veOnSDRREz/0bmpyTfKt3/51DhEBqCZQn1udM/5flcSPYhkdQ==", + "dev": true, "dependencies": { "d": "^1.0.1", "es5-ext": "^0.10.53", @@ -833,6 +901,7 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==", + "dev": true, "engines": { "node": ">= 0.6" } @@ -841,6 +910,7 @@ "version": "2.6.0", "resolved": "https://registry.npmjs.org/mime/-/mime-2.6.0.tgz", "integrity": "sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg==", + "dev": true, "bin": { "mime": "cli.js" }, @@ -852,6 +922,7 @@ "version": "1.52.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "dev": true, "engines": { "node": ">= 0.6" } @@ -860,6 +931,7 @@ "version": "2.1.35", "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "dev": true, "dependencies": { "mime-db": "1.52.0" }, @@ -871,6 +943,7 @@ "version": "3.1.2", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, "dependencies": { "brace-expansion": "^1.1.7" }, @@ -882,6 +955,7 @@ "version": "1.2.8", "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "dev": true, "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -890,6 +964,7 @@ "version": "1.0.4", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "dev": true, "bin": { "mkdirp": "bin/cmd.js" }, @@ -900,12 +975,14 @@ "node_modules/ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true }, "node_modules/mz": { "version": "2.7.0", "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz", "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==", + "dev": true, "dependencies": { "any-promise": "^1.0.0", "object-assign": "^4.0.1", @@ -915,17 +992,20 @@ "node_modules/native-promise-only": { "version": "0.8.1", "resolved": "https://registry.npmjs.org/native-promise-only/-/native-promise-only-0.8.1.tgz", - "integrity": "sha512-zkVhZUA3y8mbz652WrL5x0fB0ehrBkulWT3TomAQ9iDtyXZvzKeEA6GPxAItBYeNYl5yngKRX612qHOhvMkDeg==" + "integrity": "sha512-zkVhZUA3y8mbz652WrL5x0fB0ehrBkulWT3TomAQ9iDtyXZvzKeEA6GPxAItBYeNYl5yngKRX612qHOhvMkDeg==", + "dev": true }, "node_modules/next-tick": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.1.0.tgz", - "integrity": "sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==" + "integrity": "sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==", + "dev": true }, "node_modules/object-assign": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", + "dev": true, "engines": { "node": ">=0.10.0" } @@ -934,6 +1014,7 @@ "version": "1.13.1", "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.1.tgz", "integrity": "sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==", + "dev": true, "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -942,6 +1023,7 @@ "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "dev": true, "dependencies": { "wrappy": "1" } @@ -950,6 +1032,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", + "dev": true, "engines": { "node": ">=0.10.0" } @@ -958,6 +1041,7 @@ "version": "1.0.12", "resolved": "https://registry.npmjs.org/path-loader/-/path-loader-1.0.12.tgz", "integrity": "sha512-n7oDG8B+k/p818uweWrOixY9/Dsr89o2TkCm6tOTex3fpdo2+BFDgR+KpB37mGKBRsBAlR8CIJMFN0OEy/7hIQ==", + "dev": true, "dependencies": { "native-promise-only": "^0.8.1", "superagent": "^7.1.6" @@ -967,6 +1051,7 @@ "version": "2.8.8", "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz", "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==", + "dev": true, "bin": { "prettier": "bin-prettier.js" }, @@ -981,6 +1066,7 @@ "version": "2.3.1", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", + "dev": true, "engines": { "node": ">=6" } @@ -989,6 +1075,7 @@ "version": "6.12.0", "resolved": "https://registry.npmjs.org/qs/-/qs-6.12.0.tgz", "integrity": "sha512-trVZiI6RMOkO476zLGaBIzszOdFPnCCXHPG9kn0yuS1uz6xdVxPfZdB3vUig9pxPFDM9BRAgz/YUIVQ1/vuiUg==", + "dev": true, "dependencies": { "side-channel": "^1.0.6" }, @@ -1003,6 +1090,7 @@ "version": "3.6.2", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", + "dev": true, "dependencies": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", @@ -1016,6 +1104,7 @@ "version": "5.2.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true, "funding": [ { "type": "github", @@ -1035,6 +1124,7 @@ "version": "7.6.0", "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", + "dev": true, "dependencies": { "lru-cache": "^6.0.0" }, @@ -1049,6 +1139,7 @@ "version": "1.2.1", "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.1.tgz", "integrity": "sha512-j4t6ccc+VsKwYHso+kElc5neZpjtq9EnRICFZtWyBsLojhmeF/ZBd/elqm22WJh/BziDe/SBiOeAt0m2mfLD0g==", + "dev": true, "dependencies": { "define-data-property": "^1.1.2", "es-errors": "^1.3.0", @@ -1065,6 +1156,7 @@ "version": "1.0.6", "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.6.tgz", "integrity": "sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==", + "dev": true, "dependencies": { "call-bind": "^1.0.7", "es-errors": "^1.3.0", @@ -1082,6 +1174,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", + "dev": true, "engines": { "node": ">=8" } @@ -1089,30 +1182,24 @@ "node_modules/sprintf-js": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", - "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==" + "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", + "dev": true }, "node_modules/string_decoder": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "dev": true, "dependencies": { "safe-buffer": "~5.2.0" } }, - "node_modules/strip-bom": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", - "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==", - "dev": true, - "engines": { - "node": ">=4" - } - }, "node_modules/superagent": { "version": "7.1.6", "resolved": "https://registry.npmjs.org/superagent/-/superagent-7.1.6.tgz", "integrity": "sha512-gZkVCQR1gy/oUXr+kxJMLDjla434KmSOKbx5iGD30Ql+AkJQ/YlPKECJy2nhqOsHLjGHzoDTXNSjhnvWhzKk7g==", "deprecated": "Please downgrade to v7.1.5 if you need IE/ActiveXObject support OR upgrade to v8.0.0 as we no longer support IE and published an incorrect patch version (see https://github.com/visionmedia/superagent/issues/1731)", + "dev": true, "dependencies": { "component-emitter": "^1.3.0", "cookiejar": "^2.1.3", @@ -1134,6 +1221,7 @@ "version": "3.3.1", "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz", "integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==", + "dev": true, "dependencies": { "any-promise": "^1.0.0" } @@ -1142,6 +1230,7 @@ "version": "1.6.0", "resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz", "integrity": "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==", + "dev": true, "dependencies": { "thenify": ">= 3.1.0 < 4" }, @@ -1153,6 +1242,7 @@ "version": "0.1.7", "resolved": "https://registry.npmjs.org/timers-ext/-/timers-ext-0.1.7.tgz", "integrity": "sha512-b85NUNzTSdodShTIbky6ZF02e8STtVVfD+fu4aXXShEELpozH+bCpJLYMPZbsABN2wDH7fJpqIoXxJpzbf0NqQ==", + "dev": true, "dependencies": { "es5-ext": "~0.10.46", "next-tick": "1" @@ -1201,24 +1291,11 @@ } } }, - "node_modules/tsconfig-paths": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-4.2.0.tgz", - "integrity": "sha512-NoZ4roiN7LnbKn9QqE1amc9DJfzvZXxF4xDavcOWt1BPkdx+m+0gJuPM+S0vCe7zTJMYUP0R8pO2XMr+Y8oLIg==", - "dev": true, - "dependencies": { - "json5": "^2.2.2", - "minimist": "^1.2.6", - "strip-bom": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, "node_modules/type": { "version": "2.7.2", "resolved": "https://registry.npmjs.org/type/-/type-2.7.2.tgz", - "integrity": "sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw==" + "integrity": "sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw==", + "dev": true }, "node_modules/typescript": { "version": "5.4.2", @@ -1236,12 +1313,14 @@ "node_modules/undici-types": { "version": "5.26.5", "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", - "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==" + "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==", + "dev": true }, "node_modules/uri-js": { "version": "4.4.1", "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dev": true, "dependencies": { "punycode": "^2.1.0" } @@ -1249,7 +1328,8 @@ "node_modules/util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", + "dev": true }, "node_modules/v8-compile-cache-lib": { "version": "3.0.1", @@ -1260,12 +1340,14 @@ "node_modules/wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", + "dev": true }, "node_modules/yallist": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true }, "node_modules/yn": { "version": "3.1.1", diff --git a/_package/package.json b/_packages/types/package.json similarity index 97% rename from _package/package.json rename to _packages/types/package.json index 8b61305..1a0da2c 100644 --- a/_package/package.json +++ b/_packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@initia/initia-registry-types", - "version": "0.0.11", + "version": "0.0.12", "description": "The package provides TypeScript type definitions and Zod integration for initia-registry.", "types": "./dist/types/index.d.ts", "exports": { diff --git a/_package/src/generate.ts b/_packages/types/src/generate.ts similarity index 92% rename from _package/src/generate.ts rename to _packages/types/src/generate.ts index 5a4becc..62aae67 100644 --- a/_package/src/generate.ts +++ b/_packages/types/src/generate.ts @@ -6,13 +6,13 @@ import * as json5 from "json5"; const schemata: Record = { assetlist: "AssetList", chain: "Chain", - ibc_data: "IBCData", + ibc_data: "IBCInfo", }; const schemaTitle: Record = { assetlist: "AssetLists", chain: "CosmosChain", - ibc_data: "IBCData", + ibc_data: "IBCInfo", }; async function main() { @@ -33,7 +33,7 @@ async function generateTypeAndZod(key: string) { } const schema = json5.parse( - fs.readFileSync(`../${key}.schema.json`).toString() + fs.readFileSync(`../../${key}.schema.json`).toString() ); compile(schema, schemata[key]).then((ts) => { diff --git a/_package/src/types/AssetList.ts b/_packages/types/src/types/AssetList.ts similarity index 100% rename from _package/src/types/AssetList.ts rename to _packages/types/src/types/AssetList.ts diff --git a/_package/src/types/Chain.ts b/_packages/types/src/types/Chain.ts similarity index 100% rename from _package/src/types/Chain.ts rename to _packages/types/src/types/Chain.ts diff --git a/_package/src/types/IBCData.ts b/_packages/types/src/types/IBCInfo.ts similarity index 99% rename from _package/src/types/IBCData.ts rename to _packages/types/src/types/IBCInfo.ts index 5559a90..c5e4494 100644 --- a/_package/src/types/IBCData.ts +++ b/_packages/types/src/types/IBCInfo.ts @@ -5,7 +5,7 @@ * and run json-schema-to-typescript to regenerate this file. */ -export interface IBCData { +export interface IBCInfo { $schema?: string; chain_1: ChainInfo; chain_2: ChainInfo1; diff --git a/_package/src/types/index.ts b/_packages/types/src/types/index.ts similarity index 66% rename from _package/src/types/index.ts rename to _packages/types/src/types/index.ts index cefe32f..6db39a4 100644 --- a/_package/src/types/index.ts +++ b/_packages/types/src/types/index.ts @@ -1,3 +1,3 @@ export * from "./AssetList" export * from "./Chain" -export * from "./IBCData" +export * from "./IBCInfo" diff --git a/_package/src/zods/AssetList.ts b/_packages/types/src/zods/AssetList.ts similarity index 100% rename from _package/src/zods/AssetList.ts rename to _packages/types/src/zods/AssetList.ts diff --git a/_package/src/zods/Chain.ts b/_packages/types/src/zods/Chain.ts similarity index 100% rename from _package/src/zods/Chain.ts rename to _packages/types/src/zods/Chain.ts diff --git a/_package/src/zods/IBCData.ts b/_packages/types/src/zods/IBCInfo.ts similarity index 99% rename from _package/src/zods/IBCData.ts rename to _packages/types/src/zods/IBCInfo.ts index 17cea4b..28d69ea 100644 --- a/_package/src/zods/IBCData.ts +++ b/_packages/types/src/zods/IBCInfo.ts @@ -1,6 +1,6 @@ import { z } from "zod"; -export const IBCDataSchema = z +export const IBCInfoSchema = z .object({ $schema: z .string() diff --git a/_package/src/zods/index.ts b/_packages/types/src/zods/index.ts similarity index 66% rename from _package/src/zods/index.ts rename to _packages/types/src/zods/index.ts index 24398f6..4f69f4d 100644 --- a/_package/src/zods/index.ts +++ b/_packages/types/src/zods/index.ts @@ -1,3 +1,3 @@ -export * from "./IBCData" +export * from "./IBCInfo" export * from "./AssetList" export * from "./Chain" diff --git a/_package/tsconfig.json b/_packages/types/tsconfig.json similarity index 100% rename from _package/tsconfig.json rename to _packages/types/tsconfig.json diff --git a/devnets/_IBC/initia-minimove.json b/devnets/_IBC/initia-minimove.json new file mode 100644 index 0000000..9f5fcfa --- /dev/null +++ b/devnets/_IBC/initia-minimove.json @@ -0,0 +1,31 @@ +{ + "$schema": "../../ibc_data.schema.json", + "chain_1": { + "chain_name": "initia", + "client_id": "07-tendermint-0", + "connection_id": "connection-0" + }, + "chain_2": { + "chain_name": "minimove", + "client_id": "07-tendermint-0", + "connection_id": "connection-0" + }, + "channels": [ + { + "chain_1": { + "channel_id": "channel-0", + "port_id": "transfer" + }, + "chain_2": { + "channel_id": "channel-0", + "port_id": "transfer" + }, + "ordering": "unordered", + "version": "ics20-1", + "tags": { + "status": "live", + "preferred": true + } + } + ] +} diff --git a/devnets/_IBC/mahalo-miniwasm.json b/devnets/_IBC/initia-miniwasm.json similarity index 95% rename from devnets/_IBC/mahalo-miniwasm.json rename to devnets/_IBC/initia-miniwasm.json index 44be39d..94b860e 100644 --- a/devnets/_IBC/mahalo-miniwasm.json +++ b/devnets/_IBC/initia-miniwasm.json @@ -1,7 +1,7 @@ { "$schema": "../../ibc_data.schema.json", "chain_1": { - "chain_name": "mahalo", + "chain_name": "initia", "client_id": "07-tendermint-1", "connection_id": "connection-1" }, diff --git a/devnets/mahalo/chain.json b/devnets/mahalo/chain.json index 53a6665..72006e7 100644 --- a/devnets/mahalo/chain.json +++ b/devnets/mahalo/chain.json @@ -1,9 +1,9 @@ { "$schema": "../../chain.schema.json", - "chain_name": "Initia", + "chain_name": "initia", "chain_id": "mahalo-2", "website": "https://initia.xyz", - "pretty_name": "Initia L1", + "pretty_name": "Initia", "status": "live", "network_type": "devnet", "bech32_prefix": "init", diff --git a/devnets/minimove/chain.json b/devnets/minimove/chain.json index ac8c3d2..caf888d 100644 --- a/devnets/minimove/chain.json +++ b/devnets/minimove/chain.json @@ -1,9 +1,9 @@ { "$schema": "../../chain.schema.json", - "chain_name": "Minimove", + "chain_name": "minimove", "chain_id": "minimove-2", "website": "https://initia.xyz", - "pretty_name": "Initia MoveVM L2", + "pretty_name": "Minimove", "status": "live", "network_type": "devnet", "bech32_prefix": "init", @@ -105,9 +105,7 @@ "metadata": { "op_bridge_id": "2", "creator": "0x723e7894466de983976cc54302f9c436b3291106", - "op_denoms": [ - "uinit" - ], + "op_denoms": ["uinit"], "ibc_channels": [ { "chain_id": "mahalo-2", @@ -124,4 +122,4 @@ ], "assetlist": "https://raw.githubusercontent.com/initia-labs/initia-registry/mahalo-2/main/minimove/assetlist.json" } -} \ No newline at end of file +} diff --git a/devnets/miniwasm/chain.json b/devnets/miniwasm/chain.json index 982f451..4967290 100644 --- a/devnets/miniwasm/chain.json +++ b/devnets/miniwasm/chain.json @@ -1,9 +1,9 @@ { "$schema": "../../chain.schema.json", - "chain_name": "Miniwasm", + "chain_name": "miniwasm", "chain_id": "miniwasm-2", "website": "https://initia.xyz", - "pretty_name": "Initia WasmVM L2", + "pretty_name": "Miniwasm", "status": "live", "network_type": "devnet", "bech32_prefix": "init", From d39a791c2c9e97c87e066d015301a76df8797656 Mon Sep 17 00:00:00 2001 From: ALPAC-4 Date: Tue, 2 Apr 2024 15:00:19 +0900 Subject: [PATCH 2/7] remove .yarn --- .../initia-registry/.yarn/install-state.gz | Bin 15632 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 _packages/initia-registry/.yarn/install-state.gz diff --git a/_packages/initia-registry/.yarn/install-state.gz b/_packages/initia-registry/.yarn/install-state.gz deleted file mode 100644 index 16f2177ceaf4e26fb1743372c5ba50505ba130d7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 15632 zcmYkDRa6|&wyq%|5JHeZa199%LU4Bp?(XjHjk~+M6Wq0NcXt|X+#8o}oSVJRx#Qk? zS@lw5%&}_Kl>hsSH1Z?de=n?s&Xsv$P&}!q`9ONSDbM%e91b~ZBzhlw!>QvJdHTfB zg#mQg9mgzO{+>l}2|Dr@1o?Xbsru8T*Ywk;u8Y_1gcFnma(XhgpI@B#dBq3OpT##k zLFbz;ubcc{ua`A^-q)vz9`3LjZx`6fLy7Ns&2uRF+rcym-;Eq(``_((1FrAkHH`H2 zs^3?c{vwCR7kc^UzGRxT%lF>{C%p@<`@{ZTnYcj!e%)OBkfT!F;FIEUpp`Yl5Dz9$qS5&m13Wpu?|pmjV*^#m zxh}8oJ-6$_^=PD;EC2IlXQ=P}j!Cx1!v&A$)onv8UpX&{4{T9RZ{dE$j`#VzMDG0h zp?|X?x5MN3;lz&L9eP4f@|qm`az35IvnH40eOvQ(JE-@3%FX{Y^)Fbzk*Gp^;Uwxd zry(Amppf7wVkbs~D%#$)KMsEbxBOV0Vq0sOjQZ2UJr9LY2*tb$b~u6Lg?W_I1o}MA zM_HPCEt67WQ?Acf*q)ve6P#2aM^Y1Mq)Xv*xIa0+m4LsTdqf%Q z((*jXe+>qNAvE{8)k=rvzDx5wgfdrZizg?`+k4N~z%HBly}S55H8)SS%2PCLR1#`A zlG$)c;G!@}6u!$IO`+O4Oh zr?rVJt5W~ZjG#fb1L@_Mt$K}czrnp8w(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DYJDs-rnzi9mbw8 zdwj}7NlQljp4*0l&x>$QTW{xLp-YRe)2z|{_vAFcTApO(tye-!T2e{(GsINADe?PzsO_<2Lel;p52D-_k|1b{}N4(VOEQi0^ zMr15vq^?lwrt4$5Uc;Q4U%bF|DJZUSIb0z4BecnCSg<)+?Q)I!t zbt}-mMq9G{uCa=rosa1fnIXDidOqr#MBF{0!*lg7u9?;DtFURA4fbRYd_^(83j7k+ zSq7*D&C$0mF0I*Z%sCX$u(w<0wW$Ptko6VaW%Ja7=!bVhT4I-;+M$gr(tQ`%Js+Vh zI{ZA5=Xg4UR@qLmh+fc*h~7`G-7{+QuW?YwEd#e3o=%6E%u-dt=5Iiv7lYiLhp(}i znk}U~C@ZQhW;znmGFv#s*W*@uy5PF*9J@@~wZ?OZ7hSzRA=2lJi`+00IiRn3edn@% zG&bqxVV&A%I!(@JMx1tJ9%R;k@ANi?30(gg0)0(z_||KIo6Z6J(c^=#D>>E0 zwO{J@;U^`Ymp%1ZiRcRXy=di+!@mq0+avG6d0SAbx;o8dNprUSnbVUC6z5lSsKc}` zzV@ze1&_xN?eg#dCZvUagV|K(~33R%&K+Y){O;vU6s~N{?3r|Oeq{Q z#l>*Ug@#g^WaJBGS|Lllplj!WI@d382a47)UExqPK1WiPByMOi25T}AC;%0?LX$V8 zx9^8&gW=x18(H4_{eT5(t%bADr>DDJBida4Dt42%(UJ>r7stES5`Hgl@z993w?JRG N@WRuQG-i0X{{y(L88`p{ From 9d4fca6e66e3638ba4096f1af5a4ae8b3d5fd323 Mon Sep 17 00:00:00 2001 From: ALPAC-4 Date: Tue, 2 Apr 2024 15:02:47 +0900 Subject: [PATCH 3/7] fix: remove unuse types --- _packages/initia-registry/package.json | 2 +- _packages/initia-registry/types/all.d.ts | 10 ------ .../initia-registry/types/devnet/all.d.ts | 10 ------ .../initia-registry/types/devnet/assets.d.ts | 3 -- .../initia-registry/types/devnet/chains.d.ts | 3 -- .../initia-registry/types/devnet/ibc.d.ts | 3 -- .../initia-registry/types/devnet/index.d.ts | 3 -- .../types/devnet/initia/assets.d.ts | 3 -- .../types/devnet/initia/chain.d.ts | 3 -- .../types/devnet/initia/ibc.d.ts | 3 -- .../types/devnet/initia/ibc_chain1.d.ts | 3 -- .../types/devnet/initia/index.d.ts | 4 --- .../types/devnet/minimove/assets.d.ts | 3 -- .../types/devnet/minimove/chain.d.ts | 3 -- .../types/devnet/minimove/ibc.d.ts | 3 -- .../types/devnet/minimove/index.d.ts | 3 -- .../types/devnet/miniwasm/assets.d.ts | 3 -- .../types/devnet/miniwasm/chain.d.ts | 3 -- .../types/devnet/miniwasm/ibc.d.ts | 30 ------------------ .../types/devnet/miniwasm/index.d.ts | 31 ------------------- 20 files changed, 1 insertion(+), 128 deletions(-) delete mode 100644 _packages/initia-registry/types/all.d.ts delete mode 100644 _packages/initia-registry/types/devnet/all.d.ts delete mode 100644 _packages/initia-registry/types/devnet/assets.d.ts delete mode 100644 _packages/initia-registry/types/devnet/chains.d.ts delete mode 100644 _packages/initia-registry/types/devnet/ibc.d.ts delete mode 100644 _packages/initia-registry/types/devnet/index.d.ts delete mode 100644 _packages/initia-registry/types/devnet/initia/assets.d.ts delete mode 100644 _packages/initia-registry/types/devnet/initia/chain.d.ts delete mode 100644 _packages/initia-registry/types/devnet/initia/ibc.d.ts delete mode 100644 _packages/initia-registry/types/devnet/initia/ibc_chain1.d.ts delete mode 100644 _packages/initia-registry/types/devnet/initia/index.d.ts delete mode 100644 _packages/initia-registry/types/devnet/minimove/assets.d.ts delete mode 100644 _packages/initia-registry/types/devnet/minimove/chain.d.ts delete mode 100644 _packages/initia-registry/types/devnet/minimove/ibc.d.ts delete mode 100644 _packages/initia-registry/types/devnet/minimove/index.d.ts delete mode 100644 _packages/initia-registry/types/devnet/miniwasm/assets.d.ts delete mode 100644 _packages/initia-registry/types/devnet/miniwasm/chain.d.ts delete mode 100644 _packages/initia-registry/types/devnet/miniwasm/ibc.d.ts delete mode 100644 _packages/initia-registry/types/devnet/miniwasm/index.d.ts diff --git a/_packages/initia-registry/package.json b/_packages/initia-registry/package.json index 5e56b33..5bb151f 100644 --- a/_packages/initia-registry/package.json +++ b/_packages/initia-registry/package.json @@ -15,7 +15,7 @@ "main" ], "scripts": { - "build:cjs": "tsc -p tsconfig.json --outDir main --module commonjs --declaration --declarationDir types || true", + "build:cjs": "tsc -p tsconfig.json --outDir main --module commonjs --declaration false || true", "build:mjs": "tsc -p tsconfig.json --outDir esm --module es2022 --declaration false || true", "clean:main": "rimraf main", "clean:esm": "rimraf esm", diff --git a/_packages/initia-registry/types/all.d.ts b/_packages/initia-registry/types/all.d.ts deleted file mode 100644 index b7dfe12..0000000 --- a/_packages/initia-registry/types/all.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import assets from "./assets"; -import chains from "./chains"; -import ibc from "./ibc"; -declare const _default: { - assets: import("@initia/initia-registry-types").AssetList[]; - chains: import("@initia/initia-registry-types").Chain[]; - ibc: import("@initia/initia-registry-types").IBCData[]; -}; -export default _default; -export { assets, chains, ibc }; diff --git a/_packages/initia-registry/types/devnet/all.d.ts b/_packages/initia-registry/types/devnet/all.d.ts deleted file mode 100644 index 099803e..0000000 --- a/_packages/initia-registry/types/devnet/all.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import assets from './assets'; -import chains from './chains'; -import ibc from './ibc'; -declare const _default: { - assets: import("@initia/initia-registry-types").AssetList[]; - chains: import("@initia/initia-registry-types").Chain[]; - ibc: import("@initia/initia-registry-types").IBCData[]; -}; -export default _default; -export { assets, chains, ibc }; diff --git a/_packages/initia-registry/types/devnet/assets.d.ts b/_packages/initia-registry/types/devnet/assets.d.ts deleted file mode 100644 index 82c2f40..0000000 --- a/_packages/initia-registry/types/devnet/assets.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { AssetList } from '@initia/initia-registry-types'; -declare const assets: AssetList[]; -export default assets; diff --git a/_packages/initia-registry/types/devnet/chains.d.ts b/_packages/initia-registry/types/devnet/chains.d.ts deleted file mode 100644 index 42f332e..0000000 --- a/_packages/initia-registry/types/devnet/chains.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { Chain } from '@initia/initia-registry-types'; -declare const chains: Chain[]; -export default chains; diff --git a/_packages/initia-registry/types/devnet/ibc.d.ts b/_packages/initia-registry/types/devnet/ibc.d.ts deleted file mode 100644 index 8f452e1..0000000 --- a/_packages/initia-registry/types/devnet/ibc.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { IBCData } from '@initia/initia-registry-types'; -declare const ibc: IBCData[]; -export default ibc; diff --git a/_packages/initia-registry/types/devnet/index.d.ts b/_packages/initia-registry/types/devnet/index.d.ts deleted file mode 100644 index 2bdd67f..0000000 --- a/_packages/initia-registry/types/devnet/index.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export * as miniwasm from './miniwasm'; -export * as minimove from './minimove'; -export * as initia from './initia'; diff --git a/_packages/initia-registry/types/devnet/initia/assets.d.ts b/_packages/initia-registry/types/devnet/initia/assets.d.ts deleted file mode 100644 index 0f37357..0000000 --- a/_packages/initia-registry/types/devnet/initia/assets.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { AssetList } from '@initia/initia-registry-types'; -declare const info: AssetList; -export default info; diff --git a/_packages/initia-registry/types/devnet/initia/chain.d.ts b/_packages/initia-registry/types/devnet/initia/chain.d.ts deleted file mode 100644 index bb00d6d..0000000 --- a/_packages/initia-registry/types/devnet/initia/chain.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { Chain } from '@initia/initia-registry-types'; -declare const info: Chain; -export default info; diff --git a/_packages/initia-registry/types/devnet/initia/ibc.d.ts b/_packages/initia-registry/types/devnet/initia/ibc.d.ts deleted file mode 100644 index eb83b43..0000000 --- a/_packages/initia-registry/types/devnet/initia/ibc.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { IBCData } from '@initia/initia-registry-types'; -declare const info: IBCData[]; -export default info; diff --git a/_packages/initia-registry/types/devnet/initia/ibc_chain1.d.ts b/_packages/initia-registry/types/devnet/initia/ibc_chain1.d.ts deleted file mode 100644 index eb83b43..0000000 --- a/_packages/initia-registry/types/devnet/initia/ibc_chain1.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { IBCData } from '@initia/initia-registry-types'; -declare const info: IBCData[]; -export default info; diff --git a/_packages/initia-registry/types/devnet/initia/index.d.ts b/_packages/initia-registry/types/devnet/initia/index.d.ts deleted file mode 100644 index 68d95ef..0000000 --- a/_packages/initia-registry/types/devnet/initia/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export declare const assets: import("@initia/initia-registry-types").AssetList; -export declare const chain: import("@initia/initia-registry-types").Chain; -export declare const ibc: import("@initia/initia-registry-types").IBCData[]; -export declare const ibc_chain1: import("@initia/initia-registry-types").IBCData[]; diff --git a/_packages/initia-registry/types/devnet/minimove/assets.d.ts b/_packages/initia-registry/types/devnet/minimove/assets.d.ts deleted file mode 100644 index 0f37357..0000000 --- a/_packages/initia-registry/types/devnet/minimove/assets.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { AssetList } from '@initia/initia-registry-types'; -declare const info: AssetList; -export default info; diff --git a/_packages/initia-registry/types/devnet/minimove/chain.d.ts b/_packages/initia-registry/types/devnet/minimove/chain.d.ts deleted file mode 100644 index bb00d6d..0000000 --- a/_packages/initia-registry/types/devnet/minimove/chain.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { Chain } from '@initia/initia-registry-types'; -declare const info: Chain; -export default info; diff --git a/_packages/initia-registry/types/devnet/minimove/ibc.d.ts b/_packages/initia-registry/types/devnet/minimove/ibc.d.ts deleted file mode 100644 index eb83b43..0000000 --- a/_packages/initia-registry/types/devnet/minimove/ibc.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { IBCData } from '@initia/initia-registry-types'; -declare const info: IBCData[]; -export default info; diff --git a/_packages/initia-registry/types/devnet/minimove/index.d.ts b/_packages/initia-registry/types/devnet/minimove/index.d.ts deleted file mode 100644 index a99d6aa..0000000 --- a/_packages/initia-registry/types/devnet/minimove/index.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export declare const assets: import("@initia/initia-registry-types").AssetList; -export declare const chain: import("@initia/initia-registry-types").Chain; -export declare const ibc: import("@initia/initia-registry-types").IBCData[]; diff --git a/_packages/initia-registry/types/devnet/miniwasm/assets.d.ts b/_packages/initia-registry/types/devnet/miniwasm/assets.d.ts deleted file mode 100644 index 0f37357..0000000 --- a/_packages/initia-registry/types/devnet/miniwasm/assets.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { AssetList } from '@initia/initia-registry-types'; -declare const info: AssetList; -export default info; diff --git a/_packages/initia-registry/types/devnet/miniwasm/chain.d.ts b/_packages/initia-registry/types/devnet/miniwasm/chain.d.ts deleted file mode 100644 index bb00d6d..0000000 --- a/_packages/initia-registry/types/devnet/miniwasm/chain.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { Chain } from '@initia/initia-registry-types'; -declare const info: Chain; -export default info; diff --git a/_packages/initia-registry/types/devnet/miniwasm/ibc.d.ts b/_packages/initia-registry/types/devnet/miniwasm/ibc.d.ts deleted file mode 100644 index a20b2cd..0000000 --- a/_packages/initia-registry/types/devnet/miniwasm/ibc.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -declare const info: { - $schema: string; - chain_1: { - chain_name: string; - client_id: string; - connection_id: string; - }; - chain_2: { - chain_name: string; - client_id: string; - connection_id: string; - }; - channels: { - chain_1: { - channel_id: string; - port_id: string; - }; - chain_2: { - channel_id: string; - port_id: string; - }; - ordering: string; - version: string; - tags: { - status: string; - preferred: boolean; - }; - }[]; -}[]; -export default info; diff --git a/_packages/initia-registry/types/devnet/miniwasm/index.d.ts b/_packages/initia-registry/types/devnet/miniwasm/index.d.ts deleted file mode 100644 index 8226e09..0000000 --- a/_packages/initia-registry/types/devnet/miniwasm/index.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -export declare const assets: import("@initia/initia-registry-types").AssetList; -export declare const chain: import("@initia/initia-registry-types").Chain; -export declare const ibc: { - $schema: string; - chain_1: { - chain_name: string; - client_id: string; - connection_id: string; - }; - chain_2: { - chain_name: string; - client_id: string; - connection_id: string; - }; - channels: { - chain_1: { - channel_id: string; - port_id: string; - }; - chain_2: { - channel_id: string; - port_id: string; - }; - ordering: string; - version: string; - tags: { - status: string; - preferred: boolean; - }; - }[]; -}[]; From 81a0fc6fd1015c2fb226567e2f09da305fd3ec4c Mon Sep 17 00:00:00 2001 From: ALPAC-4 Date: Tue, 2 Apr 2024 15:51:51 +0900 Subject: [PATCH 4/7] fix: fix build.js --- _packages/initia-registry/package-lock.json | 12 +- _packages/initia-registry/package.json | 5 +- _packages/initia-registry/scripts/build.js | 13 +- _packages/initia-registry/src/all.ts | 2 +- _packages/initia-registry/src/devnet/all.ts | 17 +- _packages/initia-registry/src/devnet/ibc.ts | 4 +- _packages/initia-registry/src/devnet/index.ts | 2 +- .../initia-registry/src/devnet/initia/ibc.ts | 4 +- .../src/devnet/initia/ibc_chain1.ts | 4 +- .../src/devnet/minimove/assets.ts | 4 +- .../src/devnet/minimove/ibc.ts | 4 +- .../src/devnet/miniwasm/assets.ts | 4 +- .../src/devnet/miniwasm/ibc.ts | 48 +- _packages/initia-registry/src/ibc.ts | 6 +- _packages/initia-registry/src/index.ts | 10 +- _packages/initia-registry/types/ibc.d.ts | 4 +- _packages/initia-registry/yarn.lock | 578 ++++++++---------- 17 files changed, 324 insertions(+), 397 deletions(-) diff --git a/_packages/initia-registry/package-lock.json b/_packages/initia-registry/package-lock.json index b354ca0..ade797e 100644 --- a/_packages/initia-registry/package-lock.json +++ b/_packages/initia-registry/package-lock.json @@ -1,15 +1,15 @@ { "name": "@initia/initia-registry", - "version": "1.0.0", + "version": "0.0.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@initia/initia-registry", - "version": "1.0.0", + "version": "0.0.1", "license": "MIT", "dependencies": { - "@initia/initia-registry-types": "^0.0.11" + "@initia/initia-registry-types": "^0.0.12" }, "devDependencies": { "glob": "^10.3.12", @@ -18,9 +18,9 @@ } }, "node_modules/@initia/initia-registry-types": { - "version": "0.0.11", - "resolved": "https://registry.npmjs.org/@initia/initia-registry-types/-/initia-registry-types-0.0.11.tgz", - "integrity": "sha512-a/6ceFWNLfK614Ltuo2xVdTuRTRmARfx/Ok8zGK57Dyu/VRyHNnHF+YKXdFIYwpJOb0azYL9cJi04Fc/uxZ+pw==", + "version": "0.0.12", + "resolved": "https://registry.npmjs.org/@initia/initia-registry-types/-/initia-registry-types-0.0.12.tgz", + "integrity": "sha512-7ay1q0vgAkMamAkNRIO6CTjwGfUg/Z3MSh6PehynSn11eJ3X+UMJVNs9mewWqjijz1ofMQkiUpt/7gVtzSPtLw==", "dependencies": { "zod": "^3.22.4" } diff --git a/_packages/initia-registry/package.json b/_packages/initia-registry/package.json index 5bb151f..2102602 100644 --- a/_packages/initia-registry/package.json +++ b/_packages/initia-registry/package.json @@ -20,7 +20,8 @@ "clean:main": "rimraf main", "clean:esm": "rimraf esm", "clean": "npm run clean:main && npm run clean:esm", - "build": "npm run clean && npm run build:mjs && npm run build:cjs" + "build": "npm run clean && npm run build:mjs && npm run build:cjs", + "build:pkg": "node ./scripts/build.js" }, "repository": { "type": "git", @@ -38,6 +39,6 @@ "rimraf": "^5.0.5" }, "dependencies": { - "@initia/initia-registry-types": "^0.0.11" + "@initia/initia-registry-types": "^0.0.12" } } diff --git a/_packages/initia-registry/scripts/build.js b/_packages/initia-registry/scripts/build.js index 83bc241..be63d2c 100644 --- a/_packages/initia-registry/scripts/build.js +++ b/_packages/initia-registry/scripts/build.js @@ -402,15 +402,20 @@ const initIBC = (obj, ibcFieldName) => { const NON_INFO_DIRS = ["_packages", "_scripts", "_template", ".github"]; -const chainPaths = glob(`${__dirname}/../../../**/chain.json`).filter((a) => { - const splitedDirs = a.split("chain-registry/chain-registry"); +const chainPaths = glob(`${__dirname}/../../../*/*/chain.json`).filter((a) => { + const spliter = "initia-registry"; + const index = a.indexOf(spliter); + const splitedDirs = [a.slice(0, index), a.slice(index + spliter.length)]; let dir = splitedDirs.pop(); dir = path.basename(path.dirname(dir)); return !NON_INFO_DIRS.includes(dir); }); -const paths = glob(`${__dirname}/../../../**/*.json`).filter((a) => { - const splitedDirs = a.split("chain-registry/chain-registry"); +const paths = glob(`${__dirname}/../../../*/*/*.json`).filter((a) => { + const spliter = "initia-registry"; + const index = a.indexOf(spliter); + const splitedDirs = [a.slice(0, index), a.slice(index + spliter.length)]; + console.log(splitedDirs); const filePath = splitedDirs.pop(); const dir = path.basename(path.dirname(filePath)); return ( diff --git a/_packages/initia-registry/src/all.ts b/_packages/initia-registry/src/all.ts index 066767a..b124979 100644 --- a/_packages/initia-registry/src/all.ts +++ b/_packages/initia-registry/src/all.ts @@ -8,4 +8,4 @@ export default { ibc }; -export { assets, chains, ibc }; +export { assets, chains, ibc }; \ No newline at end of file diff --git a/_packages/initia-registry/src/devnet/all.ts b/_packages/initia-registry/src/devnet/all.ts index 066767a..adbcd10 100644 --- a/_packages/initia-registry/src/devnet/all.ts +++ b/_packages/initia-registry/src/devnet/all.ts @@ -2,10 +2,15 @@ import assets from './assets'; import chains from './chains'; import ibc from './ibc'; -export default { - assets, - chains, - ibc -}; -export { assets, chains, ibc }; + export default { + assets, + chains, + ibc, + }; + + export { + assets, + chains, + ibc, + }; diff --git a/_packages/initia-registry/src/devnet/ibc.ts b/_packages/initia-registry/src/devnet/ibc.ts index 976350b..16142c5 100644 --- a/_packages/initia-registry/src/devnet/ibc.ts +++ b/_packages/initia-registry/src/devnet/ibc.ts @@ -1,7 +1,7 @@ -import { IBCData } from '@initia/initia-registry-types'; +import { IBCInfo } from '@initia/initia-registry-types'; import * as _initia from './initia' -const ibc: IBCData[] = [..._initia.ibc_chain1]; +const ibc: IBCInfo[] = [..._initia.ibc_chain1]; export default ibc; diff --git a/_packages/initia-registry/src/devnet/index.ts b/_packages/initia-registry/src/devnet/index.ts index 2bdd67f..a1ad733 100644 --- a/_packages/initia-registry/src/devnet/index.ts +++ b/_packages/initia-registry/src/devnet/index.ts @@ -1,3 +1,3 @@ export * as miniwasm from './miniwasm'; export * as minimove from './minimove'; -export * as initia from './initia'; +export * as initia from './initia' \ No newline at end of file diff --git a/_packages/initia-registry/src/devnet/initia/ibc.ts b/_packages/initia-registry/src/devnet/initia/ibc.ts index f881f7a..1b8ddbe 100644 --- a/_packages/initia-registry/src/devnet/initia/ibc.ts +++ b/_packages/initia-registry/src/devnet/initia/ibc.ts @@ -1,5 +1,5 @@ -import { IBCData } from '@initia/initia-registry-types'; -const info: IBCData[] = [ +import { IBCInfo } from '@initia/initia-registry-types'; +const info: IBCInfo[] = [ { "$schema": "../../ibc_data.schema.json", "chain_1": { diff --git a/_packages/initia-registry/src/devnet/initia/ibc_chain1.ts b/_packages/initia-registry/src/devnet/initia/ibc_chain1.ts index f881f7a..1b8ddbe 100644 --- a/_packages/initia-registry/src/devnet/initia/ibc_chain1.ts +++ b/_packages/initia-registry/src/devnet/initia/ibc_chain1.ts @@ -1,5 +1,5 @@ -import { IBCData } from '@initia/initia-registry-types'; -const info: IBCData[] = [ +import { IBCInfo } from '@initia/initia-registry-types'; +const info: IBCInfo[] = [ { "$schema": "../../ibc_data.schema.json", "chain_1": { diff --git a/_packages/initia-registry/src/devnet/minimove/assets.ts b/_packages/initia-registry/src/devnet/minimove/assets.ts index c7189d1..07dfd1d 100644 --- a/_packages/initia-registry/src/devnet/minimove/assets.ts +++ b/_packages/initia-registry/src/devnet/minimove/assets.ts @@ -7,7 +7,7 @@ const info: AssetList = { "description": "The native token of Initia", "denom_units": [ { - "denom": "l2/771d639f30fbe45e3fbca954ffbe2fcc26f915f5513c67a4a2d0bc1d635bdefd", + "denom": "l2/2588fd87a8e081f6a557f43ff14f05dddf5e34cb27afcefd6eaf81f1daea30d0", "exponent": 0 }, { @@ -15,7 +15,7 @@ const info: AssetList = { "exponent": 6 } ], - "base": "l2/771d639f30fbe45e3fbca954ffbe2fcc26f915f5513c67a4a2d0bc1d635bdefd", + "base": "l2/2588fd87a8e081f6a557f43ff14f05dddf5e34cb27afcefd6eaf81f1daea30d0", "display": "INIT", "name": "Initia Native Token", "symbol": "INIT", diff --git a/_packages/initia-registry/src/devnet/minimove/ibc.ts b/_packages/initia-registry/src/devnet/minimove/ibc.ts index 9b1dc4b..0d5c1ec 100644 --- a/_packages/initia-registry/src/devnet/minimove/ibc.ts +++ b/_packages/initia-registry/src/devnet/minimove/ibc.ts @@ -1,5 +1,5 @@ -import { IBCData } from '@initia/initia-registry-types'; -const info: IBCData[] = [ +import { IBCInfo } from '@initia/initia-registry-types'; +const info: IBCInfo[] = [ { "$schema": "../../ibc_data.schema.json", "chain_1": { diff --git a/_packages/initia-registry/src/devnet/miniwasm/assets.ts b/_packages/initia-registry/src/devnet/miniwasm/assets.ts index e4af04b..f8edc05 100644 --- a/_packages/initia-registry/src/devnet/miniwasm/assets.ts +++ b/_packages/initia-registry/src/devnet/miniwasm/assets.ts @@ -7,7 +7,7 @@ const info: AssetList = { "description": "The native token of Initia", "denom_units": [ { - "denom": "l2/2588fd87a8e081f6a557f43ff14f05dddf5e34cb27afcefd6eaf81f1daea30d0", + "denom": "l2/771d639f30fbe45e3fbca954ffbe2fcc26f915f5513c67a4a2d0bc1d635bdefd", "exponent": 0 }, { @@ -15,7 +15,7 @@ const info: AssetList = { "exponent": 6 } ], - "base": "l2/2588fd87a8e081f6a557f43ff14f05dddf5e34cb27afcefd6eaf81f1daea30d0", + "base": "l2/771d639f30fbe45e3fbca954ffbe2fcc26f915f5513c67a4a2d0bc1d635bdefd", "display": "INIT", "name": "Initia Native Token", "symbol": "INIT", diff --git a/_packages/initia-registry/src/devnet/miniwasm/ibc.ts b/_packages/initia-registry/src/devnet/miniwasm/ibc.ts index e5fe894..09aad7f 100644 --- a/_packages/initia-registry/src/devnet/miniwasm/ibc.ts +++ b/_packages/initia-registry/src/devnet/miniwasm/ibc.ts @@ -1,35 +1,35 @@ -import { IBCData } from '@initia/initia-registry-types'; -const info = [ +import { IBCInfo } from '@initia/initia-registry-types'; +const info: IBCInfo[] = [ { - $schema: '../../ibc_data.schema.json', - chain_1: { - chain_name: 'initia', - client_id: '07-tendermint-1', - connection_id: 'connection-1' + "$schema": "../../ibc_data.schema.json", + "chain_1": { + "chain_name": "initia", + "client_id": "07-tendermint-1", + "connection_id": "connection-1" }, - chain_2: { - chain_name: 'miniwasm', - client_id: '07-tendermint-0', - connection_id: 'connection-0' + "chain_2": { + "chain_name": "miniwasm", + "client_id": "07-tendermint-0", + "connection_id": "connection-0" }, - channels: [ + "channels": [ { - chain_1: { - channel_id: 'channel-1', - port_id: 'transfer' + "chain_1": { + "channel_id": "channel-1", + "port_id": "transfer" }, - chain_2: { - channel_id: 'channel-0', - port_id: 'transfer' + "chain_2": { + "channel_id": "channel-0", + "port_id": "transfer" }, - ordering: 'unordered', - version: 'ics20-1', - tags: { - status: 'live', - preferred: true + "ordering": "unordered", + "version": "ics20-1", + "tags": { + "status": "live", + "preferred": true } } ] } ]; -export default info; +export default info; \ No newline at end of file diff --git a/_packages/initia-registry/src/ibc.ts b/_packages/initia-registry/src/ibc.ts index e76af02..f88ab97 100644 --- a/_packages/initia-registry/src/ibc.ts +++ b/_packages/initia-registry/src/ibc.ts @@ -1,7 +1,7 @@ -import { IBCData } from "@initia/initia-registry-types"; +import { IBCInfo } from '@initia/initia-registry-types'; -import * as _devnet from "./devnet/all"; +import * as _devnet from './devnet/all' -const ibc: IBCData[] = [..._devnet.ibc]; +const ibc: IBCInfo[] = [..._devnet.ibc]; export default ibc; diff --git a/_packages/initia-registry/src/index.ts b/_packages/initia-registry/src/index.ts index c6f675d..beaf297 100644 --- a/_packages/initia-registry/src/index.ts +++ b/_packages/initia-registry/src/index.ts @@ -1,8 +1,8 @@ -export * from './devnet'; -import all from './all'; +export * from './devnet'; import all from './all'; -export default all; + export default all; -const { assets, chains, ibc } = all; + const { assets, chains, ibc }= all; -export { assets, chains, ibc }; + export { assets, chains, ibc }; + \ No newline at end of file diff --git a/_packages/initia-registry/types/ibc.d.ts b/_packages/initia-registry/types/ibc.d.ts index 25e6520..fcb4fb7 100644 --- a/_packages/initia-registry/types/ibc.d.ts +++ b/_packages/initia-registry/types/ibc.d.ts @@ -1,3 +1,3 @@ -import { IBCData } from "@initia/initia-registry-types"; -declare const ibc: IBCData[]; +import { IBCInfo } from "@initia/initia-registry-types"; +declare const ibc: IBCInfo[]; export default ibc; diff --git a/_packages/initia-registry/yarn.lock b/_packages/initia-registry/yarn.lock index 6bca804..0d6e3a1 100644 --- a/_packages/initia-registry/yarn.lock +++ b/_packages/initia-registry/yarn.lock @@ -1,356 +1,272 @@ -# This file is generated by running "yarn install" inside your project. -# Manual changes might be lost - proceed with caution! +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 -__metadata: - version: 8 - cacheKey: 10c0 -"@initia/initia-registry-types@npm:^0.0.11": - version: 0.0.11 - resolution: "@initia/initia-registry-types@npm:0.0.11" +"@initia/initia-registry-types@^0.0.12": + version "0.0.12" + resolved "https://registry.npmjs.org/@initia/initia-registry-types/-/initia-registry-types-0.0.12.tgz" + integrity sha512-7ay1q0vgAkMamAkNRIO6CTjwGfUg/Z3MSh6PehynSn11eJ3X+UMJVNs9mewWqjijz1ofMQkiUpt/7gVtzSPtLw== dependencies: - zod: "npm:^3.22.4" - checksum: 10c0/b346e2fb64b3133f7be0d32883fb59e5f1e7e9d5969fca04ea99891d5d00be8c60270b57d40f8946d78c6e9f9ff7852b7eddd3cb2a874ec93970f6f748ed798d - languageName: node - linkType: hard - -"@initia/initia-registry@workspace:.": - version: 0.0.0-use.local - resolution: "@initia/initia-registry@workspace:." + zod "^3.22.4" + +"@isaacs/cliui@^8.0.2": + version "8.0.2" + resolved "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz" + integrity sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA== dependencies: - "@initia/initia-registry-types": "npm:^0.0.11" - glob: "npm:^10.3.12" - mkdirp: "npm:^3.0.1" - rimraf: "npm:^5.0.5" - languageName: unknown - linkType: soft - -"@isaacs/cliui@npm:^8.0.2": - version: 8.0.2 - resolution: "@isaacs/cliui@npm:8.0.2" + string-width "^5.1.2" + string-width-cjs "npm:string-width@^4.2.0" + strip-ansi "^7.0.1" + strip-ansi-cjs "npm:strip-ansi@^6.0.1" + wrap-ansi "^8.1.0" + wrap-ansi-cjs "npm:wrap-ansi@^7.0.0" + +"@pkgjs/parseargs@^0.11.0": + version "0.11.0" + resolved "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz" + integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg== + +ansi-regex@^5.0.1: + version "5.0.1" + resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz" + integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== + +ansi-regex@^6.0.1: + version "6.0.1" + resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz" + integrity sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA== + +ansi-styles@^4.0.0: + version "4.3.0" + resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz" + integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== dependencies: - string-width: "npm:^5.1.2" - string-width-cjs: "npm:string-width@^4.2.0" - strip-ansi: "npm:^7.0.1" - strip-ansi-cjs: "npm:strip-ansi@^6.0.1" - wrap-ansi: "npm:^8.1.0" - wrap-ansi-cjs: "npm:wrap-ansi@^7.0.0" - checksum: 10c0/b1bf42535d49f11dc137f18d5e4e63a28c5569de438a221c369483731e9dac9fb797af554e8bf02b6192d1e5eba6e6402cf93900c3d0ac86391d00d04876789e - languageName: node - linkType: hard - -"@pkgjs/parseargs@npm:^0.11.0": - version: 0.11.0 - resolution: "@pkgjs/parseargs@npm:0.11.0" - checksum: 10c0/5bd7576bb1b38a47a7fc7b51ac9f38748e772beebc56200450c4a817d712232b8f1d3ef70532c80840243c657d491cf6a6be1e3a214cff907645819fdc34aadd - languageName: node - linkType: hard - -"ansi-regex@npm:^5.0.1": - version: 5.0.1 - resolution: "ansi-regex@npm:5.0.1" - checksum: 10c0/9a64bb8627b434ba9327b60c027742e5d17ac69277960d041898596271d992d4d52ba7267a63ca10232e29f6107fc8a835f6ce8d719b88c5f8493f8254813737 - languageName: node - linkType: hard - -"ansi-regex@npm:^6.0.1": - version: 6.0.1 - resolution: "ansi-regex@npm:6.0.1" - checksum: 10c0/cbe16dbd2c6b2735d1df7976a7070dd277326434f0212f43abf6d87674095d247968209babdaad31bb00882fa68807256ba9be340eec2f1004de14ca75f52a08 - languageName: node - linkType: hard - -"ansi-styles@npm:^4.0.0": - version: 4.3.0 - resolution: "ansi-styles@npm:4.3.0" + color-convert "^2.0.1" + +ansi-styles@^6.1.0: + version "6.2.1" + resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz" + integrity sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug== + +balanced-match@^1.0.0: + version "1.0.2" + resolved "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz" + integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== + +brace-expansion@^2.0.1: + version "2.0.1" + resolved "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz" + integrity sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA== dependencies: - color-convert: "npm:^2.0.1" - checksum: 10c0/895a23929da416f2bd3de7e9cb4eabd340949328ab85ddd6e484a637d8f6820d485f53933446f5291c3b760cbc488beb8e88573dd0f9c7daf83dccc8fe81b041 - languageName: node - linkType: hard - -"ansi-styles@npm:^6.1.0": - version: 6.2.1 - resolution: "ansi-styles@npm:6.2.1" - checksum: 10c0/5d1ec38c123984bcedd996eac680d548f31828bd679a66db2bdf11844634dde55fec3efa9c6bb1d89056a5e79c1ac540c4c784d592ea1d25028a92227d2f2d5c - languageName: node - linkType: hard - -"balanced-match@npm:^1.0.0": - version: 1.0.2 - resolution: "balanced-match@npm:1.0.2" - checksum: 10c0/9308baf0a7e4838a82bbfd11e01b1cb0f0cf2893bc1676c27c2a8c0e70cbae1c59120c3268517a8ae7fb6376b4639ef81ca22582611dbee4ed28df945134aaee - languageName: node - linkType: hard - -"brace-expansion@npm:^2.0.1": - version: 2.0.1 - resolution: "brace-expansion@npm:2.0.1" + balanced-match "^1.0.0" + +color-convert@^2.0.1: + version "2.0.1" + resolved "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz" + integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ== dependencies: - balanced-match: "npm:^1.0.0" - checksum: 10c0/b358f2fe060e2d7a87aa015979ecea07f3c37d4018f8d6deb5bd4c229ad3a0384fe6029bb76cd8be63c81e516ee52d1a0673edbe2023d53a5191732ae3c3e49f - languageName: node - linkType: hard - -"color-convert@npm:^2.0.1": - version: 2.0.1 - resolution: "color-convert@npm:2.0.1" + color-name "~1.1.4" + +color-name@~1.1.4: + version "1.1.4" + resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz" + integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== + +cross-spawn@^7.0.0: + version "7.0.3" + resolved "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz" + integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== dependencies: - color-name: "npm:~1.1.4" - checksum: 10c0/37e1150172f2e311fe1b2df62c6293a342ee7380da7b9cfdba67ea539909afbd74da27033208d01d6d5cfc65ee7868a22e18d7e7648e004425441c0f8a15a7d7 - languageName: node - linkType: hard - -"color-name@npm:~1.1.4": - version: 1.1.4 - resolution: "color-name@npm:1.1.4" - checksum: 10c0/a1a3f914156960902f46f7f56bc62effc6c94e84b2cae157a526b1c1f74b677a47ec602bf68a61abfa2b42d15b7c5651c6dbe72a43af720bc588dff885b10f95 - languageName: node - linkType: hard - -"cross-spawn@npm:^7.0.0": - version: 7.0.3 - resolution: "cross-spawn@npm:7.0.3" + path-key "^3.1.0" + shebang-command "^2.0.0" + which "^2.0.1" + +eastasianwidth@^0.2.0: + version "0.2.0" + resolved "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz" + integrity sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA== + +emoji-regex@^8.0.0: + version "8.0.0" + resolved "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz" + integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== + +emoji-regex@^9.2.2: + version "9.2.2" + resolved "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz" + integrity sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg== + +foreground-child@^3.1.0: + version "3.1.1" + resolved "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz" + integrity sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg== dependencies: - path-key: "npm:^3.1.0" - shebang-command: "npm:^2.0.0" - which: "npm:^2.0.1" - checksum: 10c0/5738c312387081c98d69c98e105b6327b069197f864a60593245d64c8089c8a0a744e16349281210d56835bb9274130d825a78b2ad6853ca13cfbeffc0c31750 - languageName: node - linkType: hard - -"eastasianwidth@npm:^0.2.0": - version: 0.2.0 - resolution: "eastasianwidth@npm:0.2.0" - checksum: 10c0/26f364ebcdb6395f95124fda411f63137a4bfb5d3a06453f7f23dfe52502905bd84e0488172e0f9ec295fdc45f05c23d5d91baf16bd26f0fe9acd777a188dc39 - languageName: node - linkType: hard - -"emoji-regex@npm:^8.0.0": - version: 8.0.0 - resolution: "emoji-regex@npm:8.0.0" - checksum: 10c0/b6053ad39951c4cf338f9092d7bfba448cdfd46fe6a2a034700b149ac9ffbc137e361cbd3c442297f86bed2e5f7576c1b54cc0a6bf8ef5106cc62f496af35010 - languageName: node - linkType: hard - -"emoji-regex@npm:^9.2.2": - version: 9.2.2 - resolution: "emoji-regex@npm:9.2.2" - checksum: 10c0/af014e759a72064cf66e6e694a7fc6b0ed3d8db680427b021a89727689671cefe9d04151b2cad51dbaf85d5ba790d061cd167f1cf32eb7b281f6368b3c181639 - languageName: node - linkType: hard - -"foreground-child@npm:^3.1.0": - version: 3.1.1 - resolution: "foreground-child@npm:3.1.1" + cross-spawn "^7.0.0" + signal-exit "^4.0.1" + +glob@^10.3.12, glob@^10.3.7: + version "10.3.12" + resolved "https://registry.npmjs.org/glob/-/glob-10.3.12.tgz" + integrity sha512-TCNv8vJ+xz4QiqTpfOJA7HvYv+tNIRHKfUWw/q+v2jdgN4ebz+KY9tGx5J4rHP0o84mNP+ApH66HRX8us3Khqg== dependencies: - cross-spawn: "npm:^7.0.0" - signal-exit: "npm:^4.0.1" - checksum: 10c0/9700a0285628abaeb37007c9a4d92bd49f67210f09067638774338e146c8e9c825c5c877f072b2f75f41dc6a2d0be8664f79ffc03f6576649f54a84fb9b47de0 - languageName: node - linkType: hard - -"glob@npm:^10.3.12, glob@npm:^10.3.7": - version: 10.3.12 - resolution: "glob@npm:10.3.12" + foreground-child "^3.1.0" + jackspeak "^2.3.6" + minimatch "^9.0.1" + minipass "^7.0.4" + path-scurry "^1.10.2" + +is-fullwidth-code-point@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz" + integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== + +isexe@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz" + integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw== + +jackspeak@^2.3.6: + version "2.3.6" + resolved "https://registry.npmjs.org/jackspeak/-/jackspeak-2.3.6.tgz" + integrity sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ== dependencies: - foreground-child: "npm:^3.1.0" - jackspeak: "npm:^2.3.6" - minimatch: "npm:^9.0.1" - minipass: "npm:^7.0.4" - path-scurry: "npm:^1.10.2" - bin: - glob: dist/esm/bin.mjs - checksum: 10c0/f60cefdc1cf3f958b2bb5823e1b233727f04916d489dc4641d76914f016e6704421e06a83cbb68b0cb1cb9382298b7a88075b844ad2127fc9727ea22b18b0711 - languageName: node - linkType: hard - -"is-fullwidth-code-point@npm:^3.0.0": - version: 3.0.0 - resolution: "is-fullwidth-code-point@npm:3.0.0" - checksum: 10c0/bb11d825e049f38e04c06373a8d72782eee0205bda9d908cc550ccb3c59b99d750ff9537982e01733c1c94a58e35400661f57042158ff5e8f3e90cf936daf0fc - languageName: node - linkType: hard - -"isexe@npm:^2.0.0": - version: 2.0.0 - resolution: "isexe@npm:2.0.0" - checksum: 10c0/228cfa503fadc2c31596ab06ed6aa82c9976eec2bfd83397e7eaf06d0ccf42cd1dfd6743bf9aeb01aebd4156d009994c5f76ea898d2832c1fe342da923ca457d - languageName: node - linkType: hard - -"jackspeak@npm:^2.3.6": - version: 2.3.6 - resolution: "jackspeak@npm:2.3.6" + "@isaacs/cliui" "^8.0.2" + optionalDependencies: + "@pkgjs/parseargs" "^0.11.0" + +lru-cache@^10.2.0: + version "10.2.0" + resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-10.2.0.tgz" + integrity sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q== + +minimatch@^9.0.1: + version "9.0.4" + resolved "https://registry.npmjs.org/minimatch/-/minimatch-9.0.4.tgz" + integrity sha512-KqWh+VchfxcMNRAJjj2tnsSJdNbHsVgnkBhTNrW7AjVo6OvLtxw8zfT9oLw1JSohlFzJ8jCoTgaoXvJ+kHt6fw== dependencies: - "@isaacs/cliui": "npm:^8.0.2" - "@pkgjs/parseargs": "npm:^0.11.0" - dependenciesMeta: - "@pkgjs/parseargs": - optional: true - checksum: 10c0/f01d8f972d894cd7638bc338e9ef5ddb86f7b208ce177a36d718eac96ec86638a6efa17d0221b10073e64b45edc2ce15340db9380b1f5d5c5d000cbc517dc111 - languageName: node - linkType: hard - -"lru-cache@npm:^10.2.0": - version: 10.2.0 - resolution: "lru-cache@npm:10.2.0" - checksum: 10c0/c9847612aa2daaef102d30542a8d6d9b2c2bb36581c1bf0dc3ebf5e5f3352c772a749e604afae2e46873b930a9e9523743faac4e5b937c576ab29196774712ee - languageName: node - linkType: hard - -"minimatch@npm:^9.0.1": - version: 9.0.4 - resolution: "minimatch@npm:9.0.4" + brace-expansion "^2.0.1" + +"minipass@^5.0.0 || ^6.0.2 || ^7.0.0", minipass@^7.0.4: + version "7.0.4" + resolved "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz" + integrity sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ== + +mkdirp@^3.0.1: + version "3.0.1" + resolved "https://registry.npmjs.org/mkdirp/-/mkdirp-3.0.1.tgz" + integrity sha512-+NsyUUAZDmo6YVHzL/stxSu3t9YS1iljliy3BSDrXJ/dkn1KYdmtZODGGjLcc9XLgVVpH4KshHB8XmZgMhaBXg== + +path-key@^3.1.0: + version "3.1.1" + resolved "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz" + integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== + +path-scurry@^1.10.2: + version "1.10.2" + resolved "https://registry.npmjs.org/path-scurry/-/path-scurry-1.10.2.tgz" + integrity sha512-7xTavNy5RQXnsjANvVvMkEjvloOinkAjv/Z6Ildz9v2RinZ4SBKTWFOVRbaF8p0vpHnyjV/UwNDdKuUv6M5qcA== dependencies: - brace-expansion: "npm:^2.0.1" - checksum: 10c0/2c16f21f50e64922864e560ff97c587d15fd491f65d92a677a344e970fe62aafdbeafe648965fa96d33c061b4d0eabfe0213466203dd793367e7f28658cf6414 - languageName: node - linkType: hard - -"minipass@npm:^5.0.0 || ^6.0.2 || ^7.0.0, minipass@npm:^7.0.4": - version: 7.0.4 - resolution: "minipass@npm:7.0.4" - checksum: 10c0/6c7370a6dfd257bf18222da581ba89a5eaedca10e158781232a8b5542a90547540b4b9b7e7f490e4cda43acfbd12e086f0453728ecf8c19e0ef6921bc5958ac5 - languageName: node - linkType: hard - -"mkdirp@npm:^3.0.1": - version: 3.0.1 - resolution: "mkdirp@npm:3.0.1" - bin: - mkdirp: dist/cjs/src/bin.js - checksum: 10c0/9f2b975e9246351f5e3a40dcfac99fcd0baa31fbfab615fe059fb11e51f10e4803c63de1f384c54d656e4db31d000e4767e9ef076a22e12a641357602e31d57d - languageName: node - linkType: hard - -"path-key@npm:^3.1.0": - version: 3.1.1 - resolution: "path-key@npm:3.1.1" - checksum: 10c0/748c43efd5a569c039d7a00a03b58eecd1d75f3999f5a28303d75f521288df4823bc057d8784eb72358b2895a05f29a070bc9f1f17d28226cc4e62494cc58c4c - languageName: node - linkType: hard - -"path-scurry@npm:^1.10.2": - version: 1.10.2 - resolution: "path-scurry@npm:1.10.2" + lru-cache "^10.2.0" + minipass "^5.0.0 || ^6.0.2 || ^7.0.0" + +rimraf@^5.0.5: + version "5.0.5" + resolved "https://registry.npmjs.org/rimraf/-/rimraf-5.0.5.tgz" + integrity sha512-CqDakW+hMe/Bz202FPEymy68P+G50RfMQK+Qo5YUqc9SPipvbGjCGKd0RSKEelbsfQuw3g5NZDSrlZZAJurH1A== dependencies: - lru-cache: "npm:^10.2.0" - minipass: "npm:^5.0.0 || ^6.0.2 || ^7.0.0" - checksum: 10c0/d723777fbf9627f201e64656680f66ebd940957eebacf780e6cce1c2919c29c116678b2d7dbf8821b3a2caa758d125f4444005ccec886a25c8f324504e48e601 - languageName: node - linkType: hard - -"rimraf@npm:^5.0.5": - version: 5.0.5 - resolution: "rimraf@npm:5.0.5" + glob "^10.3.7" + +shebang-command@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz" + integrity sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA== dependencies: - glob: "npm:^10.3.7" - bin: - rimraf: dist/esm/bin.mjs - checksum: 10c0/d50dbe724f33835decd88395b25ed35995077c60a50ae78ded06e0185418914e555817aad1b4243edbff2254548c2f6ad6f70cc850040bebb4da9e8cc016f586 - languageName: node - linkType: hard - -"shebang-command@npm:^2.0.0": - version: 2.0.0 - resolution: "shebang-command@npm:2.0.0" + shebang-regex "^3.0.0" + +shebang-regex@^3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz" + integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== + +signal-exit@^4.0.1: + version "4.1.0" + resolved "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz" + integrity sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw== + +"string-width-cjs@npm:string-width@^4.2.0": + version "4.2.3" + resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== dependencies: - shebang-regex: "npm:^3.0.0" - checksum: 10c0/a41692e7d89a553ef21d324a5cceb5f686d1f3c040759c50aab69688634688c5c327f26f3ecf7001ebfd78c01f3c7c0a11a7c8bfd0a8bc9f6240d4f40b224e4e - languageName: node - linkType: hard - -"shebang-regex@npm:^3.0.0": - version: 3.0.0 - resolution: "shebang-regex@npm:3.0.0" - checksum: 10c0/1dbed0726dd0e1152a92696c76c7f06084eb32a90f0528d11acd764043aacf76994b2fb30aa1291a21bd019d6699164d048286309a278855ee7bec06cf6fb690 - languageName: node - linkType: hard - -"signal-exit@npm:^4.0.1": - version: 4.1.0 - resolution: "signal-exit@npm:4.1.0" - checksum: 10c0/41602dce540e46d599edba9d9860193398d135f7ff72cab629db5171516cfae628d21e7bfccde1bbfdf11c48726bc2a6d1a8fb8701125852fbfda7cf19c6aa83 - languageName: node - linkType: hard - -"string-width-cjs@npm:string-width@^4.2.0, string-width@npm:^4.1.0": - version: 4.2.3 - resolution: "string-width@npm:4.2.3" + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" + +string-width@^4.1.0: + version "4.2.3" + resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== dependencies: - emoji-regex: "npm:^8.0.0" - is-fullwidth-code-point: "npm:^3.0.0" - strip-ansi: "npm:^6.0.1" - checksum: 10c0/1e525e92e5eae0afd7454086eed9c818ee84374bb80328fc41217ae72ff5f065ef1c9d7f72da41de40c75fa8bb3dee63d92373fd492c84260a552c636392a47b - languageName: node - linkType: hard - -"string-width@npm:^5.0.1, string-width@npm:^5.1.2": - version: 5.1.2 - resolution: "string-width@npm:5.1.2" + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" + +string-width@^5.0.1, string-width@^5.1.2: + version "5.1.2" + resolved "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz" + integrity sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA== dependencies: - eastasianwidth: "npm:^0.2.0" - emoji-regex: "npm:^9.2.2" - strip-ansi: "npm:^7.0.1" - checksum: 10c0/ab9c4264443d35b8b923cbdd513a089a60de339216d3b0ed3be3ba57d6880e1a192b70ae17225f764d7adbf5994e9bb8df253a944736c15a0240eff553c678ca - languageName: node - linkType: hard - -"strip-ansi-cjs@npm:strip-ansi@^6.0.1, strip-ansi@npm:^6.0.0, strip-ansi@npm:^6.0.1": - version: 6.0.1 - resolution: "strip-ansi@npm:6.0.1" + eastasianwidth "^0.2.0" + emoji-regex "^9.2.2" + strip-ansi "^7.0.1" + +"strip-ansi-cjs@npm:strip-ansi@^6.0.1": + version "6.0.1" + resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== dependencies: - ansi-regex: "npm:^5.0.1" - checksum: 10c0/1ae5f212a126fe5b167707f716942490e3933085a5ff6c008ab97ab2f272c8025d3aa218b7bd6ab25729ca20cc81cddb252102f8751e13482a5199e873680952 - languageName: node - linkType: hard - -"strip-ansi@npm:^7.0.1": - version: 7.1.0 - resolution: "strip-ansi@npm:7.1.0" + ansi-regex "^5.0.1" + +strip-ansi@^6.0.0, strip-ansi@^6.0.1: + version "6.0.1" + resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== dependencies: - ansi-regex: "npm:^6.0.1" - checksum: 10c0/a198c3762e8832505328cbf9e8c8381de14a4fa50a4f9b2160138158ea88c0f5549fb50cb13c651c3088f47e63a108b34622ec18c0499b6c8c3a5ddf6b305ac4 - languageName: node - linkType: hard - -"which@npm:^2.0.1": - version: 2.0.2 - resolution: "which@npm:2.0.2" + ansi-regex "^5.0.1" + +strip-ansi@^7.0.1: + version "7.1.0" + resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz" + integrity sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ== + dependencies: + ansi-regex "^6.0.1" + +which@^2.0.1: + version "2.0.2" + resolved "https://registry.npmjs.org/which/-/which-2.0.2.tgz" + integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== dependencies: - isexe: "npm:^2.0.0" - bin: - node-which: ./bin/node-which - checksum: 10c0/66522872a768b60c2a65a57e8ad184e5372f5b6a9ca6d5f033d4b0dc98aff63995655a7503b9c0a2598936f532120e81dd8cc155e2e92ed662a2b9377cc4374f - languageName: node - linkType: hard + isexe "^2.0.0" "wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": - version: 7.0.0 - resolution: "wrap-ansi@npm:7.0.0" + version "7.0.0" + resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz" + integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== dependencies: - ansi-styles: "npm:^4.0.0" - string-width: "npm:^4.1.0" - strip-ansi: "npm:^6.0.0" - checksum: 10c0/d15fc12c11e4cbc4044a552129ebc75ee3f57aa9c1958373a4db0292d72282f54373b536103987a4a7594db1ef6a4f10acf92978f79b98c49306a4b58c77d4da - languageName: node - linkType: hard - -"wrap-ansi@npm:^8.1.0": - version: 8.1.0 - resolution: "wrap-ansi@npm:8.1.0" + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + +wrap-ansi@^8.1.0: + version "8.1.0" + resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz" + integrity sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ== dependencies: - ansi-styles: "npm:^6.1.0" - string-width: "npm:^5.0.1" - strip-ansi: "npm:^7.0.1" - checksum: 10c0/138ff58a41d2f877eae87e3282c0630fc2789012fc1af4d6bd626eeb9a2f9a65ca92005e6e69a75c7b85a68479fe7443c7dbe1eb8fbaa681a4491364b7c55c60 - languageName: node - linkType: hard - -"zod@npm:^3.22.4": - version: 3.22.4 - resolution: "zod@npm:3.22.4" - checksum: 10c0/7578ab283dac0eee66a0ad0fc4a7f28c43e6745aadb3a529f59a4b851aa10872b3890398b3160f257f4b6817b4ce643debdda4fb21a2c040adda7862cab0a587 - languageName: node - linkType: hard + ansi-styles "^6.1.0" + string-width "^5.0.1" + strip-ansi "^7.0.1" + +zod@^3.22.4: + version "3.22.4" + resolved "https://registry.npmjs.org/zod/-/zod-3.22.4.tgz" + integrity sha512-iC+8Io04lddc+mVqQ9AZ7OQ2MrUKGN+oIQyq1vemgt46jwCwLfhq7/pwnBnNXXXZb8VTVLKwp9EDkx+ryxIWmg== From be9beaabf06e7534038d6776d796f5377003d37d Mon Sep 17 00:00:00 2001 From: ALPAC-4 Date: Tue, 2 Apr 2024 16:03:26 +0900 Subject: [PATCH 5/7] fix: run format --- _packages/initia-registry/package.json | 3 +- _packages/initia-registry/src/all.ts | 10 +- _packages/initia-registry/src/assets.ts | 4 +- _packages/initia-registry/src/chains.ts | 4 +- _packages/initia-registry/src/devnet/all.ts | 23 +- .../initia-registry/src/devnet/assets.ts | 14 +- .../initia-registry/src/devnet/chains.ts | 10 +- _packages/initia-registry/src/devnet/ibc.ts | 4 +- _packages/initia-registry/src/devnet/index.ts | 6 +- .../src/devnet/initia/assets.ts | 216 +++++++------- .../src/devnet/initia/chain.ts | 198 ++++++------- .../initia-registry/src/devnet/initia/ibc.ts | 102 +++---- .../src/devnet/initia/ibc_chain1.ts | 102 +++---- .../src/devnet/initia/index.ts | 8 +- .../src/devnet/minimove/assets.ts | 96 ++++--- .../src/devnet/minimove/chain.ts | 176 ++++++------ .../src/devnet/minimove/ibc.ts | 54 ++-- .../src/devnet/minimove/index.ts | 6 +- .../src/devnet/miniwasm/assets.ts | 96 ++++--- .../src/devnet/miniwasm/chain.ts | 177 ++++++------ .../src/devnet/miniwasm/ibc.ts | 54 ++-- .../src/devnet/miniwasm/index.ts | 6 +- _packages/initia-registry/src/ibc.ts | 4 +- _packages/initia-registry/src/index.ts | 10 +- _packages/initia-registry/yarn.lock | 272 ------------------ 25 files changed, 699 insertions(+), 956 deletions(-) delete mode 100644 _packages/initia-registry/yarn.lock diff --git a/_packages/initia-registry/package.json b/_packages/initia-registry/package.json index 2102602..f45f075 100644 --- a/_packages/initia-registry/package.json +++ b/_packages/initia-registry/package.json @@ -21,7 +21,8 @@ "clean:esm": "rimraf esm", "clean": "npm run clean:main && npm run clean:esm", "build": "npm run clean && npm run build:mjs && npm run build:cjs", - "build:pkg": "node ./scripts/build.js" + "build:pkg": "node ./scripts/build.js", + "format:fix": "prettier --write \"./src/**/*.ts\"" }, "repository": { "type": "git", diff --git a/_packages/initia-registry/src/all.ts b/_packages/initia-registry/src/all.ts index b124979..9f31487 100644 --- a/_packages/initia-registry/src/all.ts +++ b/_packages/initia-registry/src/all.ts @@ -1,11 +1,11 @@ -import assets from './assets'; -import chains from './chains'; -import ibc from './ibc'; +import assets from "./assets"; +import chains from "./chains"; +import ibc from "./ibc"; export default { assets, chains, - ibc + ibc, }; -export { assets, chains, ibc }; \ No newline at end of file +export { assets, chains, ibc }; diff --git a/_packages/initia-registry/src/assets.ts b/_packages/initia-registry/src/assets.ts index 315135f..5a7f0ba 100644 --- a/_packages/initia-registry/src/assets.ts +++ b/_packages/initia-registry/src/assets.ts @@ -1,6 +1,6 @@ -import { AssetList } from '@initia/initia-registry-types'; +import { AssetList } from "@initia/initia-registry-types"; -import * as _devnet from './devnet/all' +import * as _devnet from "./devnet/all"; const assets: AssetList[] = [..._devnet.assets]; diff --git a/_packages/initia-registry/src/chains.ts b/_packages/initia-registry/src/chains.ts index 0efbdc5..8f02e36 100644 --- a/_packages/initia-registry/src/chains.ts +++ b/_packages/initia-registry/src/chains.ts @@ -1,6 +1,6 @@ -import { Chain } from '@initia/initia-registry-types'; +import { Chain } from "@initia/initia-registry-types"; -import * as _devnet from './devnet/all' +import * as _devnet from "./devnet/all"; const chains: Chain[] = [..._devnet.chains]; diff --git a/_packages/initia-registry/src/devnet/all.ts b/_packages/initia-registry/src/devnet/all.ts index adbcd10..9f31487 100644 --- a/_packages/initia-registry/src/devnet/all.ts +++ b/_packages/initia-registry/src/devnet/all.ts @@ -1,16 +1,11 @@ -import assets from './assets'; -import chains from './chains'; -import ibc from './ibc'; +import assets from "./assets"; +import chains from "./chains"; +import ibc from "./ibc"; +export default { + assets, + chains, + ibc, +}; - export default { - assets, - chains, - ibc, - }; - - export { - assets, - chains, - ibc, - }; +export { assets, chains, ibc }; diff --git a/_packages/initia-registry/src/devnet/assets.ts b/_packages/initia-registry/src/devnet/assets.ts index 482521c..17e162e 100644 --- a/_packages/initia-registry/src/devnet/assets.ts +++ b/_packages/initia-registry/src/devnet/assets.ts @@ -1,9 +1,13 @@ -import { AssetList } from '@initia/initia-registry-types'; +import { AssetList } from "@initia/initia-registry-types"; -import * as _miniwasm from './miniwasm'; -import * as _minimove from './minimove'; -import * as _initia from './initia' +import * as _miniwasm from "./miniwasm"; +import * as _minimove from "./minimove"; +import * as _initia from "./initia"; -const assets: AssetList[] = [_miniwasm.assets,_minimove.assets,_initia.assets]; +const assets: AssetList[] = [ + _miniwasm.assets, + _minimove.assets, + _initia.assets, +]; export default assets; diff --git a/_packages/initia-registry/src/devnet/chains.ts b/_packages/initia-registry/src/devnet/chains.ts index c508260..bc91382 100644 --- a/_packages/initia-registry/src/devnet/chains.ts +++ b/_packages/initia-registry/src/devnet/chains.ts @@ -1,9 +1,9 @@ -import { Chain } from '@initia/initia-registry-types'; +import { Chain } from "@initia/initia-registry-types"; -import * as _miniwasm from './miniwasm'; -import * as _minimove from './minimove'; -import * as _initia from './initia' +import * as _miniwasm from "./miniwasm"; +import * as _minimove from "./minimove"; +import * as _initia from "./initia"; -const chains: Chain[] = [_miniwasm.chain,_minimove.chain,_initia.chain]; +const chains: Chain[] = [_miniwasm.chain, _minimove.chain, _initia.chain]; export default chains; diff --git a/_packages/initia-registry/src/devnet/ibc.ts b/_packages/initia-registry/src/devnet/ibc.ts index 16142c5..b559af1 100644 --- a/_packages/initia-registry/src/devnet/ibc.ts +++ b/_packages/initia-registry/src/devnet/ibc.ts @@ -1,6 +1,6 @@ -import { IBCInfo } from '@initia/initia-registry-types'; +import { IBCInfo } from "@initia/initia-registry-types"; -import * as _initia from './initia' +import * as _initia from "./initia"; const ibc: IBCInfo[] = [..._initia.ibc_chain1]; diff --git a/_packages/initia-registry/src/devnet/index.ts b/_packages/initia-registry/src/devnet/index.ts index a1ad733..30631d7 100644 --- a/_packages/initia-registry/src/devnet/index.ts +++ b/_packages/initia-registry/src/devnet/index.ts @@ -1,3 +1,3 @@ -export * as miniwasm from './miniwasm'; -export * as minimove from './minimove'; -export * as initia from './initia' \ No newline at end of file +export * as miniwasm from "./miniwasm"; +export * as minimove from "./minimove"; +export * as initia from "./initia"; diff --git a/_packages/initia-registry/src/devnet/initia/assets.ts b/_packages/initia-registry/src/devnet/initia/assets.ts index fb7720b..ce7b3e1 100644 --- a/_packages/initia-registry/src/devnet/initia/assets.ts +++ b/_packages/initia-registry/src/devnet/initia/assets.ts @@ -1,148 +1,150 @@ -import { AssetList } from '@initia/initia-registry-types'; +import { AssetList } from "@initia/initia-registry-types"; const info: AssetList = { - "$schema": "../../assetlist.schema.json", - "chain_name": "initia", - "assets": [ + $schema: "../../assetlist.schema.json", + chain_name: "initia", + assets: [ { - "description": "The native token of Initia", - "denom_units": [ + description: "The native token of Initia", + denom_units: [ { - "denom": "uinit", - "exponent": 0 + denom: "uinit", + exponent: 0, }, { - "denom": "INIT", - "exponent": 6 - } + denom: "INIT", + exponent: 6, + }, ], - "base": "uinit", - "display": "INIT", - "name": "Initia Native Token", - "symbol": "INIT", - "coingecko_id": "", - "images": [ + base: "uinit", + display: "INIT", + name: "Initia Native Token", + symbol: "INIT", + coingecko_id: "", + images: [ { - "png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/INIT.png", - "svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/INIT.svg" - } + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/INIT.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/INIT.svg", + }, ], - "logo_URIs": { - "png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/INIT.png", - "svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/INIT.svg" - } + logo_URIs: { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/INIT.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/INIT.svg", + }, }, { - "description": "The fake ETH", - "denom_units": [ + description: "The fake ETH", + denom_units: [ { - "denom": "ueth", - "exponent": 0 + denom: "ueth", + exponent: 0, }, { - "denom": "ETH", - "exponent": 6 - } + denom: "ETH", + exponent: 6, + }, ], - "base": "ueth", - "display": "ETH", - "name": "Fake ETH Token", - "symbol": "ETH", - "coingecko_id": "", - "images": [ + base: "ueth", + display: "ETH", + name: "Fake ETH Token", + symbol: "ETH", + coingecko_id: "", + images: [ { - "png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/ETH.png", - "svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/ETH.svg" - } + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/ETH.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/ETH.svg", + }, ], - "logo_URIs": { - "png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/ETH.png", - "svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/ETH.svg" - } + logo_URIs: { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/ETH.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/ETH.svg", + }, }, { - "description": "The fake USDC", - "denom_units": [ + description: "The fake USDC", + denom_units: [ { - "denom": "uusdc", - "exponent": 0 + denom: "uusdc", + exponent: 0, }, { - "denom": "USDC", - "exponent": 6 - } + denom: "USDC", + exponent: 6, + }, ], - "base": "uusdc", - "display": "USDC", - "name": "Fake USDC Token", - "symbol": "USDC", - "coingecko_id": "", - "images": [ + base: "uusdc", + display: "USDC", + name: "Fake USDC Token", + symbol: "USDC", + coingecko_id: "", + images: [ { - "png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/USDC.png", - "svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/USDC.svg" - } + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/USDC.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/USDC.svg", + }, ], - "logo_URIs": { - "png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/USDC.png", - "svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/USDC.svg" - } + logo_URIs: { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/USDC.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/USDC.svg", + }, }, { - "description": "The LP token of USDC-INIT", - "denom_units": [ + description: "The LP token of USDC-INIT", + denom_units: [ { - "denom": "move/dbf06c48af3984ec6d9ae8a9aa7dbb0bb1e784aa9b8c4a5681af660cf8558d7d", - "exponent": 0 + denom: + "move/dbf06c48af3984ec6d9ae8a9aa7dbb0bb1e784aa9b8c4a5681af660cf8558d7d", + exponent: 0, }, { - "denom": "USDC-INIT LP", - "exponent": 6 - } + denom: "USDC-INIT LP", + exponent: 6, + }, ], - "base": "move/dbf06c48af3984ec6d9ae8a9aa7dbb0bb1e784aa9b8c4a5681af660cf8558d7d", - "display": "USDC-INIT LP", - "name": "USDC-INIT LP Token", - "symbol": "USDC-INIT LP", - "coingecko_id": "", - "images": [ + base: "move/dbf06c48af3984ec6d9ae8a9aa7dbb0bb1e784aa9b8c4a5681af660cf8558d7d", + display: "USDC-INIT LP", + name: "USDC-INIT LP Token", + symbol: "USDC-INIT LP", + coingecko_id: "", + images: [ { - "png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/USDC-INIT.png", - "svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/USDC-INIT.svg" - } + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/USDC-INIT.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/USDC-INIT.svg", + }, ], - "logo_URIs": { - "png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/USDC-INIT.png", - "svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/USDC-INIT.svg" - } + logo_URIs: { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/USDC-INIT.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/USDC-INIT.svg", + }, }, { - "description": "The LP token of ETH-INIT", - "denom_units": [ + description: "The LP token of ETH-INIT", + denom_units: [ { - "denom": "move/a2b0d3c8e53e379ede31f3a361ff02716d50ec53c6b65b8c48a81d5b06548200", - "exponent": 0 + denom: + "move/a2b0d3c8e53e379ede31f3a361ff02716d50ec53c6b65b8c48a81d5b06548200", + exponent: 0, }, { - "denom": "ETH-INIT LP", - "exponent": 6 - } + denom: "ETH-INIT LP", + exponent: 6, + }, ], - "base": "move/a2b0d3c8e53e379ede31f3a361ff02716d50ec53c6b65b8c48a81d5b06548200", - "display": "ETH-INIT LP", - "name": "ETH-INIT LP Token", - "symbol": "ETH-INIT LP", - "coingecko_id": "", - "images": [ + base: "move/a2b0d3c8e53e379ede31f3a361ff02716d50ec53c6b65b8c48a81d5b06548200", + display: "ETH-INIT LP", + name: "ETH-INIT LP Token", + symbol: "ETH-INIT LP", + coingecko_id: "", + images: [ { - "png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/ETH-INIT.png", - "svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/ETH-INIT.svg" - } + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/ETH-INIT.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/ETH-INIT.svg", + }, ], - "logo_URIs": { - "png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/ETH-INIT.png", - "svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/ETH-INIT.svg" - } - } - ] + logo_URIs: { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/ETH-INIT.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/ETH-INIT.svg", + }, + }, + ], }; -export default info; \ No newline at end of file +export default info; diff --git a/_packages/initia-registry/src/devnet/initia/chain.ts b/_packages/initia-registry/src/devnet/initia/chain.ts index 662466c..505a996 100644 --- a/_packages/initia-registry/src/devnet/initia/chain.ts +++ b/_packages/initia-registry/src/devnet/initia/chain.ts @@ -1,136 +1,140 @@ -import { Chain } from '@initia/initia-registry-types'; +import { Chain } from "@initia/initia-registry-types"; const info: Chain = { - "$schema": "../../chain.schema.json", - "chain_name": "initia", - "chain_id": "mahalo-2", - "website": "https://initia.xyz", - "pretty_name": "Initia", - "status": "live", - "network_type": "devnet", - "bech32_prefix": "init", - "daemon_name": "initiad", - "node_home": "$HOME/.initia", - "key_algos": [ - "secp256k1" - ], - "slip44": 118, - "fees": { - "fee_tokens": [ + $schema: "../../chain.schema.json", + chain_name: "initia", + chain_id: "mahalo-2", + website: "https://initia.xyz", + pretty_name: "Initia", + status: "live", + network_type: "devnet", + bech32_prefix: "init", + daemon_name: "initiad", + node_home: "$HOME/.initia", + key_algos: ["secp256k1"], + slip44: 118, + fees: { + fee_tokens: [ { - "denom": "uinit", - "fixed_min_gas_price": 0.15, - "low_gas_price": 0.15, - "average_gas_price": 0.15, - "high_gas_price": 0.4 + denom: "uinit", + fixed_min_gas_price: 0.15, + low_gas_price: 0.15, + average_gas_price: 0.15, + high_gas_price: 0.4, }, { - "denom": "ueth" + denom: "ueth", }, { - "denom": "uusdc" - } - ] + denom: "uusdc", + }, + ], }, - "staking": { - "staking_tokens": [ + staking: { + staking_tokens: [ { - "denom": "uinit" + denom: "uinit", }, { - "denom": "move/dbf06c48af3984ec6d9ae8a9aa7dbb0bb1e784aa9b8c4a5681af660cf8558d7d" + denom: + "move/dbf06c48af3984ec6d9ae8a9aa7dbb0bb1e784aa9b8c4a5681af660cf8558d7d", }, { - "denom": "move/a2b0d3c8e53e379ede31f3a361ff02716d50ec53c6b65b8c48a81d5b06548200" - } - ] + denom: + "move/a2b0d3c8e53e379ede31f3a361ff02716d50ec53c6b65b8c48a81d5b06548200", + }, + ], }, - "codebase": {}, - "description": "Initia Closed Devnet", - "apis": { - "rpc": [ + codebase: {}, + description: "Initia Closed Devnet", + apis: { + rpc: [ { - "address": "https://rpc.mahalo-2.initia.xyz", - "provider": "Foundation" - } + address: "https://rpc.mahalo-2.initia.xyz", + provider: "Foundation", + }, ], - "rest": [ + rest: [ { - "address": "https://lcd.mahalo-2.initia.xyz", - "provider": "Foundation" - } + address: "https://lcd.mahalo-2.initia.xyz", + provider: "Foundation", + }, ], - "api": [ + api: [ { - "address": "https://api.mahalo-2.initia.xyz", - "provider": "Foundation" - } + address: "https://api.mahalo-2.initia.xyz", + provider: "Foundation", + }, ], - "grpc": [ + grpc: [ { - "address": "grpc://34.87.121.251:9090", - "provider": "Foundation" - } - ] + address: "grpc://34.87.121.251:9090", + provider: "Foundation", + }, + ], }, - "explorers": [ + explorers: [ { - "kind": "explorer", - "url": "https://explorer.mahalo-2.initia.xyz/?layer=l1%2520testnet", - "tx_page": "https://explorer.mahalo-2.initia.xyz/tx/${txHash}?layer=l1%20testnet", - "account_page": "https://explorer.mahalo-2.initia.xyz/address/${accountAddress}?layer=l1%20testnet" + kind: "explorer", + url: "https://explorer.mahalo-2.initia.xyz/?layer=l1%2520testnet", + tx_page: + "https://explorer.mahalo-2.initia.xyz/tx/${txHash}?layer=l1%20testnet", + account_page: + "https://explorer.mahalo-2.initia.xyz/address/${accountAddress}?layer=l1%20testnet", }, { - "kind": "initia scan", - "url": "https://scan.initia.xyz/mahalo-2", - "tx_page": "https://scan.initia.xyz/mahalo-2/txs/${txHash}", - "account_page": "https://scan.initia.xyz/mahalo-2/accounts/${accountAddress}" - } + kind: "initia scan", + url: "https://scan.initia.xyz/mahalo-2", + tx_page: "https://scan.initia.xyz/mahalo-2/txs/${txHash}", + account_page: + "https://scan.initia.xyz/mahalo-2/accounts/${accountAddress}", + }, ], - "faucets": [ + faucets: [ { - "kind": "faucet", - "url": "https://faucet.mahalo-2.initia.xyz/" - } + kind: "faucet", + url: "https://faucet.mahalo-2.initia.xyz/", + }, ], - "images": [ + images: [ { - "png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/INIT.png", - "svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/INIT.svg" - } + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/INIT.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/INIT.svg", + }, ], - "logo_URIs": { - "png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/INIT.png", - "svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/INIT.svg" + logo_URIs: { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/INIT.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/INIT.svg", }, - "metadata": { - "is_l1": true, - "ibc_channels": [ + metadata: { + is_l1: true, + ibc_channels: [ { - "chain_id": "minimove-2", - "port_id": "transfer", - "channel_id": "channel-0", - "version": "ics20-1" + chain_id: "minimove-2", + port_id: "transfer", + channel_id: "channel-0", + version: "ics20-1", }, { - "chain_id": "minimove-2", - "port_id": "nft-transfer", - "channel_id": "channel-2", - "version": "ics721-1" + chain_id: "minimove-2", + port_id: "nft-transfer", + channel_id: "channel-2", + version: "ics721-1", }, { - "chain_id": "miniwasm-2", - "port_id": "transfer", - "channel_id": "channel-1", - "version": "ics20-1" + chain_id: "miniwasm-2", + port_id: "transfer", + channel_id: "channel-1", + version: "ics20-1", }, { - "chain_id": "miniwasm-2", - "port_id": "nft-transfer", - "channel_id": "channel-3", - "version": "ics721-1" - } + chain_id: "miniwasm-2", + port_id: "nft-transfer", + channel_id: "channel-3", + version: "ics721-1", + }, ], - "assetlist": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/assetlist.json" - } + assetlist: + "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/assetlist.json", + }, }; -export default info; \ No newline at end of file +export default info; diff --git a/_packages/initia-registry/src/devnet/initia/ibc.ts b/_packages/initia-registry/src/devnet/initia/ibc.ts index 1b8ddbe..baf265c 100644 --- a/_packages/initia-registry/src/devnet/initia/ibc.ts +++ b/_packages/initia-registry/src/devnet/initia/ibc.ts @@ -1,66 +1,66 @@ -import { IBCInfo } from '@initia/initia-registry-types'; +import { IBCInfo } from "@initia/initia-registry-types"; const info: IBCInfo[] = [ { - "$schema": "../../ibc_data.schema.json", - "chain_1": { - "chain_name": "initia", - "client_id": "07-tendermint-1", - "connection_id": "connection-1" + $schema: "../../ibc_data.schema.json", + chain_1: { + chain_name: "initia", + client_id: "07-tendermint-1", + connection_id: "connection-1", }, - "chain_2": { - "chain_name": "miniwasm", - "client_id": "07-tendermint-0", - "connection_id": "connection-0" + chain_2: { + chain_name: "miniwasm", + client_id: "07-tendermint-0", + connection_id: "connection-0", }, - "channels": [ + channels: [ { - "chain_1": { - "channel_id": "channel-1", - "port_id": "transfer" + chain_1: { + channel_id: "channel-1", + port_id: "transfer", }, - "chain_2": { - "channel_id": "channel-0", - "port_id": "transfer" + chain_2: { + channel_id: "channel-0", + port_id: "transfer", }, - "ordering": "unordered", - "version": "ics20-1", - "tags": { - "status": "live", - "preferred": true - } - } - ] + ordering: "unordered", + version: "ics20-1", + tags: { + status: "live", + preferred: true, + }, + }, + ], }, { - "$schema": "../../ibc_data.schema.json", - "chain_1": { - "chain_name": "initia", - "client_id": "07-tendermint-0", - "connection_id": "connection-0" + $schema: "../../ibc_data.schema.json", + chain_1: { + chain_name: "initia", + client_id: "07-tendermint-0", + connection_id: "connection-0", }, - "chain_2": { - "chain_name": "minimove", - "client_id": "07-tendermint-0", - "connection_id": "connection-0" + chain_2: { + chain_name: "minimove", + client_id: "07-tendermint-0", + connection_id: "connection-0", }, - "channels": [ + channels: [ { - "chain_1": { - "channel_id": "channel-0", - "port_id": "transfer" + chain_1: { + channel_id: "channel-0", + port_id: "transfer", + }, + chain_2: { + channel_id: "channel-0", + port_id: "transfer", }, - "chain_2": { - "channel_id": "channel-0", - "port_id": "transfer" + ordering: "unordered", + version: "ics20-1", + tags: { + status: "live", + preferred: true, }, - "ordering": "unordered", - "version": "ics20-1", - "tags": { - "status": "live", - "preferred": true - } - } - ] - } + }, + ], + }, ]; -export default info; \ No newline at end of file +export default info; diff --git a/_packages/initia-registry/src/devnet/initia/ibc_chain1.ts b/_packages/initia-registry/src/devnet/initia/ibc_chain1.ts index 1b8ddbe..baf265c 100644 --- a/_packages/initia-registry/src/devnet/initia/ibc_chain1.ts +++ b/_packages/initia-registry/src/devnet/initia/ibc_chain1.ts @@ -1,66 +1,66 @@ -import { IBCInfo } from '@initia/initia-registry-types'; +import { IBCInfo } from "@initia/initia-registry-types"; const info: IBCInfo[] = [ { - "$schema": "../../ibc_data.schema.json", - "chain_1": { - "chain_name": "initia", - "client_id": "07-tendermint-1", - "connection_id": "connection-1" + $schema: "../../ibc_data.schema.json", + chain_1: { + chain_name: "initia", + client_id: "07-tendermint-1", + connection_id: "connection-1", }, - "chain_2": { - "chain_name": "miniwasm", - "client_id": "07-tendermint-0", - "connection_id": "connection-0" + chain_2: { + chain_name: "miniwasm", + client_id: "07-tendermint-0", + connection_id: "connection-0", }, - "channels": [ + channels: [ { - "chain_1": { - "channel_id": "channel-1", - "port_id": "transfer" + chain_1: { + channel_id: "channel-1", + port_id: "transfer", }, - "chain_2": { - "channel_id": "channel-0", - "port_id": "transfer" + chain_2: { + channel_id: "channel-0", + port_id: "transfer", }, - "ordering": "unordered", - "version": "ics20-1", - "tags": { - "status": "live", - "preferred": true - } - } - ] + ordering: "unordered", + version: "ics20-1", + tags: { + status: "live", + preferred: true, + }, + }, + ], }, { - "$schema": "../../ibc_data.schema.json", - "chain_1": { - "chain_name": "initia", - "client_id": "07-tendermint-0", - "connection_id": "connection-0" + $schema: "../../ibc_data.schema.json", + chain_1: { + chain_name: "initia", + client_id: "07-tendermint-0", + connection_id: "connection-0", }, - "chain_2": { - "chain_name": "minimove", - "client_id": "07-tendermint-0", - "connection_id": "connection-0" + chain_2: { + chain_name: "minimove", + client_id: "07-tendermint-0", + connection_id: "connection-0", }, - "channels": [ + channels: [ { - "chain_1": { - "channel_id": "channel-0", - "port_id": "transfer" + chain_1: { + channel_id: "channel-0", + port_id: "transfer", + }, + chain_2: { + channel_id: "channel-0", + port_id: "transfer", }, - "chain_2": { - "channel_id": "channel-0", - "port_id": "transfer" + ordering: "unordered", + version: "ics20-1", + tags: { + status: "live", + preferred: true, }, - "ordering": "unordered", - "version": "ics20-1", - "tags": { - "status": "live", - "preferred": true - } - } - ] - } + }, + ], + }, ]; -export default info; \ No newline at end of file +export default info; diff --git a/_packages/initia-registry/src/devnet/initia/index.ts b/_packages/initia-registry/src/devnet/initia/index.ts index af8a2d5..33b6da2 100644 --- a/_packages/initia-registry/src/devnet/initia/index.ts +++ b/_packages/initia-registry/src/devnet/initia/index.ts @@ -1,7 +1,7 @@ -import _assets from './assets'; -import _chain from './chain'; -import _ibc from './ibc'; -import _ibc_chain1 from './ibc_chain1'; +import _assets from "./assets"; +import _chain from "./chain"; +import _ibc from "./ibc"; +import _ibc_chain1 from "./ibc_chain1"; export const assets = _assets; export const chain = _chain; diff --git a/_packages/initia-registry/src/devnet/minimove/assets.ts b/_packages/initia-registry/src/devnet/minimove/assets.ts index 07dfd1d..edbfba0 100644 --- a/_packages/initia-registry/src/devnet/minimove/assets.ts +++ b/_packages/initia-registry/src/devnet/minimove/assets.ts @@ -1,64 +1,66 @@ -import { AssetList } from '@initia/initia-registry-types'; +import { AssetList } from "@initia/initia-registry-types"; const info: AssetList = { - "$schema": "../../assetlist.schema.json", - "chain_name": "minimove", - "assets": [ + $schema: "../../assetlist.schema.json", + chain_name: "minimove", + assets: [ { - "description": "The native token of Initia", - "denom_units": [ + description: "The native token of Initia", + denom_units: [ { - "denom": "l2/2588fd87a8e081f6a557f43ff14f05dddf5e34cb27afcefd6eaf81f1daea30d0", - "exponent": 0 + denom: + "l2/2588fd87a8e081f6a557f43ff14f05dddf5e34cb27afcefd6eaf81f1daea30d0", + exponent: 0, }, { - "denom": "INIT", - "exponent": 6 - } + denom: "INIT", + exponent: 6, + }, ], - "base": "l2/2588fd87a8e081f6a557f43ff14f05dddf5e34cb27afcefd6eaf81f1daea30d0", - "display": "INIT", - "name": "Initia Native Token", - "symbol": "INIT", - "coingecko_id": "", - "images": [ + base: "l2/2588fd87a8e081f6a557f43ff14f05dddf5e34cb27afcefd6eaf81f1daea30d0", + display: "INIT", + name: "Initia Native Token", + symbol: "INIT", + coingecko_id: "", + images: [ { - "png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/INIT.png", - "svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/INIT.svg" - } + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/INIT.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/INIT.svg", + }, ], - "logo_URIs": { - "png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/INIT.png", - "svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/INIT.svg" - } + logo_URIs: { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/INIT.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/INIT.svg", + }, }, { - "description": "The fake USDC", - "denom_units": [ + description: "The fake USDC", + denom_units: [ { - "denom": "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", - "exponent": 0 + denom: + "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", + exponent: 0, }, { - "denom": "USDC", - "exponent": 6 - } + denom: "USDC", + exponent: 6, + }, ], - "base": "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", - "display": "USDC", - "name": "USDC", - "symbol": "USDC", - "coingecko_id": "", - "images": [ + base: "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", + display: "USDC", + name: "USDC", + symbol: "USDC", + coingecko_id: "", + images: [ { - "png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/USDC.png", - "svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/USDC.svg" - } + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/USDC.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/USDC.svg", + }, ], - "logo_URIs": { - "png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/USDC.png", - "svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/USDC.svg" - } - } - ] + logo_URIs: { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/USDC.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/USDC.svg", + }, + }, + ], }; -export default info; \ No newline at end of file +export default info; diff --git a/_packages/initia-registry/src/devnet/minimove/chain.ts b/_packages/initia-registry/src/devnet/minimove/chain.ts index 37031d1..09fc507 100644 --- a/_packages/initia-registry/src/devnet/minimove/chain.ts +++ b/_packages/initia-registry/src/devnet/minimove/chain.ts @@ -1,113 +1,115 @@ -import { Chain } from '@initia/initia-registry-types'; +import { Chain } from "@initia/initia-registry-types"; const info: Chain = { - "$schema": "../../chain.schema.json", - "chain_name": "minimove", - "chain_id": "minimove-2", - "website": "https://initia.xyz", - "pretty_name": "Minimove", - "status": "live", - "network_type": "devnet", - "bech32_prefix": "init", - "daemon_name": "minitiad", - "node_home": "$HOME/.minitia", - "key_algos": [ - "secp256k1" - ], - "slip44": 118, - "fees": { - "fee_tokens": [ + $schema: "../../chain.schema.json", + chain_name: "minimove", + chain_id: "minimove-2", + website: "https://initia.xyz", + pretty_name: "Minimove", + status: "live", + network_type: "devnet", + bech32_prefix: "init", + daemon_name: "minitiad", + node_home: "$HOME/.minitia", + key_algos: ["secp256k1"], + slip44: 118, + fees: { + fee_tokens: [ { - "denom": "l2/2588fd87a8e081f6a557f43ff14f05dddf5e34cb27afcefd6eaf81f1daea30d0", - "fixed_min_gas_price": 0.15, - "low_gas_price": 0.15, - "average_gas_price": 0.15, - "high_gas_price": 0.4 + denom: + "l2/2588fd87a8e081f6a557f43ff14f05dddf5e34cb27afcefd6eaf81f1daea30d0", + fixed_min_gas_price: 0.15, + low_gas_price: 0.15, + average_gas_price: 0.15, + high_gas_price: 0.4, }, { - "denom": "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", - "fixed_min_gas_price": 0.15, - "low_gas_price": 0.15, - "average_gas_price": 0.15, - "high_gas_price": 0.4 - } - ] + denom: + "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", + fixed_min_gas_price: 0.15, + low_gas_price: 0.15, + average_gas_price: 0.15, + high_gas_price: 0.4, + }, + ], }, - "staking": { - "staking_tokens": [] + staking: { + staking_tokens: [], }, - "codebase": {}, - "description": "Minimove Closed Devnet", - "apis": { - "rpc": [ + codebase: {}, + description: "Minimove Closed Devnet", + apis: { + rpc: [ { - "address": "https://rpc.minimove-2.initia.xyz", - "provider": "Foundation" - } + address: "https://rpc.minimove-2.initia.xyz", + provider: "Foundation", + }, ], - "rest": [ + rest: [ { - "address": "https://lcd.minimove-2.initia.xyz", - "provider": "Foundation" - } + address: "https://lcd.minimove-2.initia.xyz", + provider: "Foundation", + }, ], - "api": [ + api: [ { - "address": "https://api.minimove-2.initia.xyz", - "provider": "Foundation" - } + address: "https://api.minimove-2.initia.xyz", + provider: "Foundation", + }, ], - "grpc": [ + grpc: [ { - "address": "grpc://34.124.237.204:9090", - "provider": "Foundation" - } - ] + address: "grpc://34.124.237.204:9090", + provider: "Foundation", + }, + ], }, - "explorers": [ + explorers: [ { - "kind": "explorer", - "url": "https://explorer.minimove-2.initia.xyz/?layer=minimove", - "tx_page": "https://explorer.minimove-2.initia.xyz/tx/${txHash}?layer=minimove", - "account_page": "https://explorer.minimove-2.initia.xyz/address/${accountAddress}?layer=minimove" + kind: "explorer", + url: "https://explorer.minimove-2.initia.xyz/?layer=minimove", + tx_page: + "https://explorer.minimove-2.initia.xyz/tx/${txHash}?layer=minimove", + account_page: + "https://explorer.minimove-2.initia.xyz/address/${accountAddress}?layer=minimove", }, { - "kind": "initia scan", - "url": "https://scan.initia.xyz/minimove-2", - "tx_page": "https://scan.initia.xyz/minimove-2/txs/${txHash}", - "account_page": "https://scan.initia.xyz/minimove-2/accounts/${accountAddress}" - } + kind: "initia scan", + url: "https://scan.initia.xyz/minimove-2", + tx_page: "https://scan.initia.xyz/minimove-2/txs/${txHash}", + account_page: + "https://scan.initia.xyz/minimove-2/accounts/${accountAddress}", + }, ], - "images": [ + images: [ { - "png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/INIT.png", - "svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/INIT.svg" - } + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/INIT.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/INIT.svg", + }, ], - "logo_URIs": { - "png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/INIT.png", - "svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/INIT.svg" + logo_URIs: { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/INIT.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/INIT.svg", }, - "metadata": { - "op_bridge_id": "2", - "creator": "0x723e7894466de983976cc54302f9c436b3291106", - "op_denoms": [ - "uinit" - ], - "ibc_channels": [ + metadata: { + op_bridge_id: "2", + creator: "0x723e7894466de983976cc54302f9c436b3291106", + op_denoms: ["uinit"], + ibc_channels: [ { - "chain_id": "mahalo-2", - "port_id": "transfer", - "channel_id": "channel-0", - "version": "ics20-1" + chain_id: "mahalo-2", + port_id: "transfer", + channel_id: "channel-0", + version: "ics20-1", }, { - "chain_id": "mahalo-2", - "port_id": "nft-transfer", - "channel_id": "channel-1", - "version": "ics721-1" - } + chain_id: "mahalo-2", + port_id: "nft-transfer", + channel_id: "channel-1", + version: "ics721-1", + }, ], - "assetlist": "https://raw.githubusercontent.com/initia-labs/initia-registry/mahalo-2/main/minimove/assetlist.json" - } + assetlist: + "https://raw.githubusercontent.com/initia-labs/initia-registry/mahalo-2/main/minimove/assetlist.json", + }, }; -export default info; \ No newline at end of file +export default info; diff --git a/_packages/initia-registry/src/devnet/minimove/ibc.ts b/_packages/initia-registry/src/devnet/minimove/ibc.ts index 0d5c1ec..c03489d 100644 --- a/_packages/initia-registry/src/devnet/minimove/ibc.ts +++ b/_packages/initia-registry/src/devnet/minimove/ibc.ts @@ -1,35 +1,35 @@ -import { IBCInfo } from '@initia/initia-registry-types'; +import { IBCInfo } from "@initia/initia-registry-types"; const info: IBCInfo[] = [ { - "$schema": "../../ibc_data.schema.json", - "chain_1": { - "chain_name": "initia", - "client_id": "07-tendermint-0", - "connection_id": "connection-0" + $schema: "../../ibc_data.schema.json", + chain_1: { + chain_name: "initia", + client_id: "07-tendermint-0", + connection_id: "connection-0", }, - "chain_2": { - "chain_name": "minimove", - "client_id": "07-tendermint-0", - "connection_id": "connection-0" + chain_2: { + chain_name: "minimove", + client_id: "07-tendermint-0", + connection_id: "connection-0", }, - "channels": [ + channels: [ { - "chain_1": { - "channel_id": "channel-0", - "port_id": "transfer" + chain_1: { + channel_id: "channel-0", + port_id: "transfer", }, - "chain_2": { - "channel_id": "channel-0", - "port_id": "transfer" + chain_2: { + channel_id: "channel-0", + port_id: "transfer", }, - "ordering": "unordered", - "version": "ics20-1", - "tags": { - "status": "live", - "preferred": true - } - } - ] - } + ordering: "unordered", + version: "ics20-1", + tags: { + status: "live", + preferred: true, + }, + }, + ], + }, ]; -export default info; \ No newline at end of file +export default info; diff --git a/_packages/initia-registry/src/devnet/minimove/index.ts b/_packages/initia-registry/src/devnet/minimove/index.ts index 86a6e34..2f50cc2 100644 --- a/_packages/initia-registry/src/devnet/minimove/index.ts +++ b/_packages/initia-registry/src/devnet/minimove/index.ts @@ -1,6 +1,6 @@ -import _assets from './assets'; -import _chain from './chain'; -import _ibc from './ibc'; +import _assets from "./assets"; +import _chain from "./chain"; +import _ibc from "./ibc"; export const assets = _assets; export const chain = _chain; diff --git a/_packages/initia-registry/src/devnet/miniwasm/assets.ts b/_packages/initia-registry/src/devnet/miniwasm/assets.ts index f8edc05..688ebb8 100644 --- a/_packages/initia-registry/src/devnet/miniwasm/assets.ts +++ b/_packages/initia-registry/src/devnet/miniwasm/assets.ts @@ -1,64 +1,66 @@ -import { AssetList } from '@initia/initia-registry-types'; +import { AssetList } from "@initia/initia-registry-types"; const info: AssetList = { - "$schema": "../../assetlist.schema.json", - "chain_name": "miniwasm", - "assets": [ + $schema: "../../assetlist.schema.json", + chain_name: "miniwasm", + assets: [ { - "description": "The native token of Initia", - "denom_units": [ + description: "The native token of Initia", + denom_units: [ { - "denom": "l2/771d639f30fbe45e3fbca954ffbe2fcc26f915f5513c67a4a2d0bc1d635bdefd", - "exponent": 0 + denom: + "l2/771d639f30fbe45e3fbca954ffbe2fcc26f915f5513c67a4a2d0bc1d635bdefd", + exponent: 0, }, { - "denom": "INIT", - "exponent": 6 - } + denom: "INIT", + exponent: 6, + }, ], - "base": "l2/771d639f30fbe45e3fbca954ffbe2fcc26f915f5513c67a4a2d0bc1d635bdefd", - "display": "INIT", - "name": "Initia Native Token", - "symbol": "INIT", - "coingecko_id": "", - "images": [ + base: "l2/771d639f30fbe45e3fbca954ffbe2fcc26f915f5513c67a4a2d0bc1d635bdefd", + display: "INIT", + name: "Initia Native Token", + symbol: "INIT", + coingecko_id: "", + images: [ { - "png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/INIT.png", - "svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/INIT.svg" - } + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/INIT.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/INIT.svg", + }, ], - "logo_URIs": { - "png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/INIT.png", - "svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/INIT.svg" - } + logo_URIs: { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/INIT.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/INIT.svg", + }, }, { - "description": "The fake USDC", - "denom_units": [ + description: "The fake USDC", + denom_units: [ { - "denom": "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", - "exponent": 0 + denom: + "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", + exponent: 0, }, { - "denom": "USDC", - "exponent": 6 - } + denom: "USDC", + exponent: 6, + }, ], - "base": "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", - "display": "USDC", - "name": "USDC", - "symbol": "USDC", - "coingecko_id": "", - "images": [ + base: "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", + display: "USDC", + name: "USDC", + symbol: "USDC", + coingecko_id: "", + images: [ { - "png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/USDC.png", - "svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/USDC.svg" - } + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/USDC.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/USDC.svg", + }, ], - "logo_URIs": { - "png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/USDC.png", - "svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/USDC.svg" - } - } - ] + logo_URIs: { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/USDC.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/minimove/images/USDC.svg", + }, + }, + ], }; -export default info; \ No newline at end of file +export default info; diff --git a/_packages/initia-registry/src/devnet/miniwasm/chain.ts b/_packages/initia-registry/src/devnet/miniwasm/chain.ts index 3309d1e..aa4739d 100644 --- a/_packages/initia-registry/src/devnet/miniwasm/chain.ts +++ b/_packages/initia-registry/src/devnet/miniwasm/chain.ts @@ -1,113 +1,116 @@ -import { Chain } from '@initia/initia-registry-types'; +import { Chain } from "@initia/initia-registry-types"; const info: Chain = { - "$schema": "../../chain.schema.json", - "chain_name": "miniwasm", - "chain_id": "miniwasm-2", - "website": "https://initia.xyz", - "pretty_name": "Miniwasm", - "status": "live", - "network_type": "devnet", - "bech32_prefix": "init", - "daemon_name": "minitiad", - "node_home": "$HOME/.minitia", - "key_algos": [ - "secp256k1" - ], - "slip44": 118, - "fees": { - "fee_tokens": [ + $schema: "../../chain.schema.json", + chain_name: "miniwasm", + chain_id: "miniwasm-2", + website: "https://initia.xyz", + pretty_name: "Miniwasm", + status: "live", + network_type: "devnet", + bech32_prefix: "init", + daemon_name: "minitiad", + node_home: "$HOME/.minitia", + key_algos: ["secp256k1"], + slip44: 118, + fees: { + fee_tokens: [ { - "denom": "l2/771d639f30fbe45e3fbca954ffbe2fcc26f915f5513c67a4a2d0bc1d635bdefd", - "fixed_min_gas_price": 0.15, - "low_gas_price": 0.15, - "average_gas_price": 0.15, - "high_gas_price": 0.4 + denom: + "l2/771d639f30fbe45e3fbca954ffbe2fcc26f915f5513c67a4a2d0bc1d635bdefd", + fixed_min_gas_price: 0.15, + low_gas_price: 0.15, + average_gas_price: 0.15, + high_gas_price: 0.4, }, { - "denom": "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", - "fixed_min_gas_price": 0.15, - "low_gas_price": 0.15, - "average_gas_price": 0.15, - "high_gas_price": 0.4 - } - ] + denom: + "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5", + fixed_min_gas_price: 0.15, + low_gas_price: 0.15, + average_gas_price: 0.15, + high_gas_price: 0.4, + }, + ], }, - "staking": { - "staking_tokens": [] + staking: { + staking_tokens: [], }, - "codebase": {}, - "description": "miniwasm Closed Devnet", - "apis": { - "rpc": [ + codebase: {}, + description: "miniwasm Closed Devnet", + apis: { + rpc: [ { - "address": "https://rpc.miniwasm-2.initia.xyz", - "provider": "Foundation" - } + address: "https://rpc.miniwasm-2.initia.xyz", + provider: "Foundation", + }, ], - "rest": [ + rest: [ { - "address": "https://lcd.miniwasm-2.initia.xyz", - "provider": "Foundation" - } + address: "https://lcd.miniwasm-2.initia.xyz", + provider: "Foundation", + }, ], - "api": [ + api: [ { - "address": "https://api.miniwasm-2.initia.xyz", - "provider": "Foundation" - } + address: "https://api.miniwasm-2.initia.xyz", + provider: "Foundation", + }, ], - "grpc": [ + grpc: [ { - "address": "grpc://34.87.100.162:9090", - "provider": "Foundation" - } - ] + address: "grpc://34.87.100.162:9090", + provider: "Foundation", + }, + ], }, - "explorers": [ + explorers: [ { - "kind": "explorer", - "url": "https://explorer.miniwasm-2.initia.xyz/?layer=miniwasm", - "tx_page": "https://explorer.miniwasm-2.initia.xyz/tx/${txHash}?layer=miniwasm", - "account_page": "https://explorer.miniwasm-2.initia.xyz/address/${accountAddress}?layer=miniwasm" + kind: "explorer", + url: "https://explorer.miniwasm-2.initia.xyz/?layer=miniwasm", + tx_page: + "https://explorer.miniwasm-2.initia.xyz/tx/${txHash}?layer=miniwasm", + account_page: + "https://explorer.miniwasm-2.initia.xyz/address/${accountAddress}?layer=miniwasm", }, { - "kind": "initia scan", - "url": "https://scan.initia.xyz/miniwasm-2", - "tx_page": "https://scan.initia.xyz/miniwasm-2/txs/${txHash}", - "account_page": "https://scan.initia.xyz/miniwasm-2/accounts/${accountAddress}" - } + kind: "initia scan", + url: "https://scan.initia.xyz/miniwasm-2", + tx_page: "https://scan.initia.xyz/miniwasm-2/txs/${txHash}", + account_page: + "https://scan.initia.xyz/miniwasm-2/accounts/${accountAddress}", + }, ], - "images": [ + images: [ { - "png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/miniwasm/images/INIT.png", - "svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/miniwasm/images/INIT.svg" - } + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/miniwasm/images/INIT.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/miniwasm/images/INIT.svg", + }, ], - "logo_URIs": { - "png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/miniwasm/images/INIT.png", - "svg": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/miniwasm/images/INIT.svg" + logo_URIs: { + png: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/miniwasm/images/INIT.png", + svg: "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/miniwasm/images/INIT.svg", }, - "metadata": { - "op_bridge_id": "1", - "creator": "0xf324bf4f355abec6d49fdfd0d45419ba99d363d9", - "op_denoms": [ - "uinit" - ], - "ibc_channels": [ + metadata: { + op_bridge_id: "1", + creator: "0xf324bf4f355abec6d49fdfd0d45419ba99d363d9", + op_denoms: ["uinit"], + ibc_channels: [ { - "chain_id": "mahalo-2", - "port_id": "transfer", - "channel_id": "channel-0", - "version": "ics20-1" + chain_id: "mahalo-2", + port_id: "transfer", + channel_id: "channel-0", + version: "ics20-1", }, { - "chain_id": "mahalo-2", - "port_id": "wasm.init1wug8sewp6cedgkmrmvhl3lf3tulagm9hnvy8p0rppz9yjw0g4wtq7947m6", - "channel_id": "channel-1", - "version": "ics721-1" - } + chain_id: "mahalo-2", + port_id: + "wasm.init1wug8sewp6cedgkmrmvhl3lf3tulagm9hnvy8p0rppz9yjw0g4wtq7947m6", + channel_id: "channel-1", + version: "ics721-1", + }, ], - "assetlist": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/miniwasm/assetlist.json" - } + assetlist: + "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/miniwasm/assetlist.json", + }, }; -export default info; \ No newline at end of file +export default info; diff --git a/_packages/initia-registry/src/devnet/miniwasm/ibc.ts b/_packages/initia-registry/src/devnet/miniwasm/ibc.ts index 09aad7f..7b3055a 100644 --- a/_packages/initia-registry/src/devnet/miniwasm/ibc.ts +++ b/_packages/initia-registry/src/devnet/miniwasm/ibc.ts @@ -1,35 +1,35 @@ -import { IBCInfo } from '@initia/initia-registry-types'; +import { IBCInfo } from "@initia/initia-registry-types"; const info: IBCInfo[] = [ { - "$schema": "../../ibc_data.schema.json", - "chain_1": { - "chain_name": "initia", - "client_id": "07-tendermint-1", - "connection_id": "connection-1" + $schema: "../../ibc_data.schema.json", + chain_1: { + chain_name: "initia", + client_id: "07-tendermint-1", + connection_id: "connection-1", }, - "chain_2": { - "chain_name": "miniwasm", - "client_id": "07-tendermint-0", - "connection_id": "connection-0" + chain_2: { + chain_name: "miniwasm", + client_id: "07-tendermint-0", + connection_id: "connection-0", }, - "channels": [ + channels: [ { - "chain_1": { - "channel_id": "channel-1", - "port_id": "transfer" + chain_1: { + channel_id: "channel-1", + port_id: "transfer", }, - "chain_2": { - "channel_id": "channel-0", - "port_id": "transfer" + chain_2: { + channel_id: "channel-0", + port_id: "transfer", }, - "ordering": "unordered", - "version": "ics20-1", - "tags": { - "status": "live", - "preferred": true - } - } - ] - } + ordering: "unordered", + version: "ics20-1", + tags: { + status: "live", + preferred: true, + }, + }, + ], + }, ]; -export default info; \ No newline at end of file +export default info; diff --git a/_packages/initia-registry/src/devnet/miniwasm/index.ts b/_packages/initia-registry/src/devnet/miniwasm/index.ts index 86a6e34..2f50cc2 100644 --- a/_packages/initia-registry/src/devnet/miniwasm/index.ts +++ b/_packages/initia-registry/src/devnet/miniwasm/index.ts @@ -1,6 +1,6 @@ -import _assets from './assets'; -import _chain from './chain'; -import _ibc from './ibc'; +import _assets from "./assets"; +import _chain from "./chain"; +import _ibc from "./ibc"; export const assets = _assets; export const chain = _chain; diff --git a/_packages/initia-registry/src/ibc.ts b/_packages/initia-registry/src/ibc.ts index f88ab97..1cea33b 100644 --- a/_packages/initia-registry/src/ibc.ts +++ b/_packages/initia-registry/src/ibc.ts @@ -1,6 +1,6 @@ -import { IBCInfo } from '@initia/initia-registry-types'; +import { IBCInfo } from "@initia/initia-registry-types"; -import * as _devnet from './devnet/all' +import * as _devnet from "./devnet/all"; const ibc: IBCInfo[] = [..._devnet.ibc]; diff --git a/_packages/initia-registry/src/index.ts b/_packages/initia-registry/src/index.ts index beaf297..d882eb9 100644 --- a/_packages/initia-registry/src/index.ts +++ b/_packages/initia-registry/src/index.ts @@ -1,8 +1,8 @@ -export * from './devnet'; import all from './all'; +export * from "./devnet"; +import all from "./all"; - export default all; +export default all; - const { assets, chains, ibc }= all; +const { assets, chains, ibc } = all; - export { assets, chains, ibc }; - \ No newline at end of file +export { assets, chains, ibc }; diff --git a/_packages/initia-registry/yarn.lock b/_packages/initia-registry/yarn.lock deleted file mode 100644 index 0d6e3a1..0000000 --- a/_packages/initia-registry/yarn.lock +++ /dev/null @@ -1,272 +0,0 @@ -# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. -# yarn lockfile v1 - - -"@initia/initia-registry-types@^0.0.12": - version "0.0.12" - resolved "https://registry.npmjs.org/@initia/initia-registry-types/-/initia-registry-types-0.0.12.tgz" - integrity sha512-7ay1q0vgAkMamAkNRIO6CTjwGfUg/Z3MSh6PehynSn11eJ3X+UMJVNs9mewWqjijz1ofMQkiUpt/7gVtzSPtLw== - dependencies: - zod "^3.22.4" - -"@isaacs/cliui@^8.0.2": - version "8.0.2" - resolved "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz" - integrity sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA== - dependencies: - string-width "^5.1.2" - string-width-cjs "npm:string-width@^4.2.0" - strip-ansi "^7.0.1" - strip-ansi-cjs "npm:strip-ansi@^6.0.1" - wrap-ansi "^8.1.0" - wrap-ansi-cjs "npm:wrap-ansi@^7.0.0" - -"@pkgjs/parseargs@^0.11.0": - version "0.11.0" - resolved "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz" - integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg== - -ansi-regex@^5.0.1: - version "5.0.1" - resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz" - integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== - -ansi-regex@^6.0.1: - version "6.0.1" - resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz" - integrity sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA== - -ansi-styles@^4.0.0: - version "4.3.0" - resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz" - integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== - dependencies: - color-convert "^2.0.1" - -ansi-styles@^6.1.0: - version "6.2.1" - resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz" - integrity sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug== - -balanced-match@^1.0.0: - version "1.0.2" - resolved "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz" - integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== - -brace-expansion@^2.0.1: - version "2.0.1" - resolved "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz" - integrity sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA== - dependencies: - balanced-match "^1.0.0" - -color-convert@^2.0.1: - version "2.0.1" - resolved "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz" - integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ== - dependencies: - color-name "~1.1.4" - -color-name@~1.1.4: - version "1.1.4" - resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz" - integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== - -cross-spawn@^7.0.0: - version "7.0.3" - resolved "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz" - integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== - dependencies: - path-key "^3.1.0" - shebang-command "^2.0.0" - which "^2.0.1" - -eastasianwidth@^0.2.0: - version "0.2.0" - resolved "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz" - integrity sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA== - -emoji-regex@^8.0.0: - version "8.0.0" - resolved "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz" - integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== - -emoji-regex@^9.2.2: - version "9.2.2" - resolved "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz" - integrity sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg== - -foreground-child@^3.1.0: - version "3.1.1" - resolved "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz" - integrity sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg== - dependencies: - cross-spawn "^7.0.0" - signal-exit "^4.0.1" - -glob@^10.3.12, glob@^10.3.7: - version "10.3.12" - resolved "https://registry.npmjs.org/glob/-/glob-10.3.12.tgz" - integrity sha512-TCNv8vJ+xz4QiqTpfOJA7HvYv+tNIRHKfUWw/q+v2jdgN4ebz+KY9tGx5J4rHP0o84mNP+ApH66HRX8us3Khqg== - dependencies: - foreground-child "^3.1.0" - jackspeak "^2.3.6" - minimatch "^9.0.1" - minipass "^7.0.4" - path-scurry "^1.10.2" - -is-fullwidth-code-point@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz" - integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== - -isexe@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz" - integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw== - -jackspeak@^2.3.6: - version "2.3.6" - resolved "https://registry.npmjs.org/jackspeak/-/jackspeak-2.3.6.tgz" - integrity sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ== - dependencies: - "@isaacs/cliui" "^8.0.2" - optionalDependencies: - "@pkgjs/parseargs" "^0.11.0" - -lru-cache@^10.2.0: - version "10.2.0" - resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-10.2.0.tgz" - integrity sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q== - -minimatch@^9.0.1: - version "9.0.4" - resolved "https://registry.npmjs.org/minimatch/-/minimatch-9.0.4.tgz" - integrity sha512-KqWh+VchfxcMNRAJjj2tnsSJdNbHsVgnkBhTNrW7AjVo6OvLtxw8zfT9oLw1JSohlFzJ8jCoTgaoXvJ+kHt6fw== - dependencies: - brace-expansion "^2.0.1" - -"minipass@^5.0.0 || ^6.0.2 || ^7.0.0", minipass@^7.0.4: - version "7.0.4" - resolved "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz" - integrity sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ== - -mkdirp@^3.0.1: - version "3.0.1" - resolved "https://registry.npmjs.org/mkdirp/-/mkdirp-3.0.1.tgz" - integrity sha512-+NsyUUAZDmo6YVHzL/stxSu3t9YS1iljliy3BSDrXJ/dkn1KYdmtZODGGjLcc9XLgVVpH4KshHB8XmZgMhaBXg== - -path-key@^3.1.0: - version "3.1.1" - resolved "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz" - integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== - -path-scurry@^1.10.2: - version "1.10.2" - resolved "https://registry.npmjs.org/path-scurry/-/path-scurry-1.10.2.tgz" - integrity sha512-7xTavNy5RQXnsjANvVvMkEjvloOinkAjv/Z6Ildz9v2RinZ4SBKTWFOVRbaF8p0vpHnyjV/UwNDdKuUv6M5qcA== - dependencies: - lru-cache "^10.2.0" - minipass "^5.0.0 || ^6.0.2 || ^7.0.0" - -rimraf@^5.0.5: - version "5.0.5" - resolved "https://registry.npmjs.org/rimraf/-/rimraf-5.0.5.tgz" - integrity sha512-CqDakW+hMe/Bz202FPEymy68P+G50RfMQK+Qo5YUqc9SPipvbGjCGKd0RSKEelbsfQuw3g5NZDSrlZZAJurH1A== - dependencies: - glob "^10.3.7" - -shebang-command@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz" - integrity sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA== - dependencies: - shebang-regex "^3.0.0" - -shebang-regex@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz" - integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== - -signal-exit@^4.0.1: - version "4.1.0" - resolved "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz" - integrity sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw== - -"string-width-cjs@npm:string-width@^4.2.0": - version "4.2.3" - resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz" - integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== - dependencies: - emoji-regex "^8.0.0" - is-fullwidth-code-point "^3.0.0" - strip-ansi "^6.0.1" - -string-width@^4.1.0: - version "4.2.3" - resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz" - integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== - dependencies: - emoji-regex "^8.0.0" - is-fullwidth-code-point "^3.0.0" - strip-ansi "^6.0.1" - -string-width@^5.0.1, string-width@^5.1.2: - version "5.1.2" - resolved "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz" - integrity sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA== - dependencies: - eastasianwidth "^0.2.0" - emoji-regex "^9.2.2" - strip-ansi "^7.0.1" - -"strip-ansi-cjs@npm:strip-ansi@^6.0.1": - version "6.0.1" - resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz" - integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== - dependencies: - ansi-regex "^5.0.1" - -strip-ansi@^6.0.0, strip-ansi@^6.0.1: - version "6.0.1" - resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz" - integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== - dependencies: - ansi-regex "^5.0.1" - -strip-ansi@^7.0.1: - version "7.1.0" - resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz" - integrity sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ== - dependencies: - ansi-regex "^6.0.1" - -which@^2.0.1: - version "2.0.2" - resolved "https://registry.npmjs.org/which/-/which-2.0.2.tgz" - integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== - dependencies: - isexe "^2.0.0" - -"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": - version "7.0.0" - resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz" - integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== - dependencies: - ansi-styles "^4.0.0" - string-width "^4.1.0" - strip-ansi "^6.0.0" - -wrap-ansi@^8.1.0: - version "8.1.0" - resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz" - integrity sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ== - dependencies: - ansi-styles "^6.1.0" - string-width "^5.0.1" - strip-ansi "^7.0.1" - -zod@^3.22.4: - version "3.22.4" - resolved "https://registry.npmjs.org/zod/-/zod-3.22.4.tgz" - integrity sha512-iC+8Io04lddc+mVqQ9AZ7OQ2MrUKGN+oIQyq1vemgt46jwCwLfhq7/pwnBnNXXXZb8VTVLKwp9EDkx+ryxIWmg== From 11bc5f8e42aa257986b48efd3e83bbfdcd65eea6 Mon Sep 17 00:00:00 2001 From: ALPAC-4 Date: Tue, 2 Apr 2024 16:10:51 +0900 Subject: [PATCH 6/7] fix: fix version and, fix name --- _packages/initia-registry/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_packages/initia-registry/package.json b/_packages/initia-registry/package.json index f45f075..acffaf1 100644 --- a/_packages/initia-registry/package.json +++ b/_packages/initia-registry/package.json @@ -1,6 +1,6 @@ { "name": "@initia/initia-registry", - "version": "0.0.1", + "version": "0.1.1", "description": "Initia chain registry", "main": "main/index.js", "module": "esm/index.js", From 0fe7fed2aa126efab001acf700b55b44800e7d9c Mon Sep 17 00:00:00 2001 From: ALPAC-4 Date: Tue, 2 Apr 2024 16:12:17 +0900 Subject: [PATCH 7/7] fix: fix name --- devnets/_IBC/{initia-minimove.json => mahalo-minimove.json} | 0 devnets/_IBC/{initia-miniwasm.json => mahalo-miniwasm.json} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename devnets/_IBC/{initia-minimove.json => mahalo-minimove.json} (100%) rename devnets/_IBC/{initia-miniwasm.json => mahalo-miniwasm.json} (100%) diff --git a/devnets/_IBC/initia-minimove.json b/devnets/_IBC/mahalo-minimove.json similarity index 100% rename from devnets/_IBC/initia-minimove.json rename to devnets/_IBC/mahalo-minimove.json diff --git a/devnets/_IBC/initia-miniwasm.json b/devnets/_IBC/mahalo-miniwasm.json similarity index 100% rename from devnets/_IBC/initia-miniwasm.json rename to devnets/_IBC/mahalo-miniwasm.json