From 1898fd08e3291b2a68f629f268832993401dde24 Mon Sep 17 00:00:00 2001 From: Bojan Angjelkoski Date: Fri, 27 Oct 2023 13:37:32 -0400 Subject: [PATCH 01/40] chore(release): publish - @injectivelabs/bridge-ts@1.14.1 - @injectivelabs/contracts@1.14.1 - @injectivelabs/exceptions@1.14.1 - @injectivelabs/networks@1.14.1 - @injectivelabs/sdk-ts@1.14.1 - @injectivelabs/sdk-ui-ts@1.14.1 - @injectivelabs/test-utils@1.14.1 - @injectivelabs/token-metadata@1.14.1 - @injectivelabs/token-utils@1.14.1 - @injectivelabs/ts-types@1.14.1 - @injectivelabs/utils@1.14.1 - @injectivelabs/wallet-ts@1.14.1 --- packages/bridge-ts/CHANGELOG.md | 8 ++++++++ packages/bridge-ts/package.json | 12 ++++++------ packages/contracts/CHANGELOG.md | 8 ++++++++ packages/contracts/package.json | 10 +++++----- packages/exceptions/CHANGELOG.md | 8 ++++++++ packages/exceptions/package.json | 4 ++-- packages/networks/CHANGELOG.md | 8 ++++++++ packages/networks/package.json | 8 ++++---- packages/sdk-ts/CHANGELOG.md | 8 ++++++++ packages/sdk-ts/package.json | 14 +++++++------- packages/sdk-ui-ts/CHANGELOG.md | 8 ++++++++ packages/sdk-ui-ts/package.json | 18 +++++++++--------- packages/test-utils/CHANGELOG.md | 8 ++++++++ packages/test-utils/package.json | 2 +- packages/token-metadata/CHANGELOG.md | 8 ++++++++ packages/token-metadata/package.json | 10 +++++----- packages/token-utils/CHANGELOG.md | 8 ++++++++ packages/token-utils/package.json | 6 +++--- packages/ts-types/CHANGELOG.md | 8 ++++++++ packages/ts-types/package.json | 2 +- packages/utils/CHANGELOG.md | 8 ++++++++ packages/utils/package.json | 6 +++--- packages/wallet-ts/CHANGELOG.md | 8 ++++++++ packages/wallet-ts/package.json | 12 ++++++------ 24 files changed, 148 insertions(+), 52 deletions(-) diff --git a/packages/bridge-ts/CHANGELOG.md b/packages/bridge-ts/CHANGELOG.md index 20328089a..11b044a52 100644 --- a/packages/bridge-ts/CHANGELOG.md +++ b/packages/bridge-ts/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.14.1](https://github.com/InjectiveLabs/injective-ts/compare/@injectivelabs/bridge-ts@1.14.1-beta.24...@injectivelabs/bridge-ts@1.14.1) (2023-10-27) + +**Note:** Version bump only for package @injectivelabs/bridge-ts + + + + + ## [1.14.1-beta.2](https://github.com/InjectiveLabs/injective-ts/compare/@injectivelabs/bridge-ts@1.14.1-beta.1...@injectivelabs/bridge-ts@1.14.1-beta.2) (2023-09-24) **Note:** Version bump only for package @injectivelabs/bridge-ts diff --git a/packages/bridge-ts/package.json b/packages/bridge-ts/package.json index c557e81db..6afc8f7a1 100644 --- a/packages/bridge-ts/package.json +++ b/packages/bridge-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/bridge-ts", "description": "Bridge utilities and abstractions in TypeScript to be used in Injective products", - "version": "1.14.1-beta.24", + "version": "1.14.1", "sideEffects": false, "author": { "name": "Bojan Angjelkoski", @@ -32,11 +32,11 @@ }, "dependencies": { "@axelar-network/axelarjs-sdk": "^0.11.7", - "@injectivelabs/exceptions": "^1.14.1-beta.7", - "@injectivelabs/networks": "^1.14.1-beta.8", - "@injectivelabs/sdk-ts": "^1.14.1-beta.24", - "@injectivelabs/ts-types": "^1.14.1-beta.7", - "@injectivelabs/utils": "^1.14.1-beta.6", + "@injectivelabs/exceptions": "^1.14.1", + "@injectivelabs/networks": "^1.14.1", + "@injectivelabs/sdk-ts": "^1.14.1", + "@injectivelabs/ts-types": "^1.14.1", + "@injectivelabs/utils": "^1.14.1", "@injectivelabs/wormhole-sdk": "^1.12.0-beta.0", "@solana/spl-token": "^0.3.6", "@solana/wallet-adapter-base": "^0.9.18", diff --git a/packages/contracts/CHANGELOG.md b/packages/contracts/CHANGELOG.md index 82098e4f3..def2f7193 100644 --- a/packages/contracts/CHANGELOG.md +++ b/packages/contracts/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.14.1](https://github.com/InjectiveLabs/injective-ts/compare/@injectivelabs/contracts@1.14.1-beta.8...@injectivelabs/contracts@1.14.1) (2023-10-27) + +**Note:** Version bump only for package @injectivelabs/contracts + + + + + ## [1.14.1-beta.0](https://github.com/InjectiveLabs/injective-ts/compare/@injectivelabs/contracts@1.14.0-beta.1...@injectivelabs/contracts@1.14.1-beta.0) (2023-09-23) **Note:** Version bump only for package @injectivelabs/contracts diff --git a/packages/contracts/package.json b/packages/contracts/package.json index cbace7abb..3fac3c599 100644 --- a/packages/contracts/package.json +++ b/packages/contracts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/contracts", "description": "Contracts wrapper that can be reused throughout Injective's projects.", - "version": "1.14.1-beta.8", + "version": "1.14.1", "sideEffects": false, "license": "Apache-2.0", "main": "dist/cjs/index.js", @@ -31,10 +31,10 @@ "start": "node dist/index.js" }, "dependencies": { - "@injectivelabs/exceptions": "^1.14.1-beta.7", - "@injectivelabs/networks": "^1.14.1-beta.8", - "@injectivelabs/ts-types": "^1.14.1-beta.7", - "@injectivelabs/utils": "^1.14.1-beta.6", + "@injectivelabs/exceptions": "^1.14.1", + "@injectivelabs/networks": "^1.14.1", + "@injectivelabs/ts-types": "^1.14.1", + "@injectivelabs/utils": "^1.14.1", "ethers": "^5.7.2", "link-module-alias": "^1.2.0", "shx": "^0.3.3" diff --git a/packages/exceptions/CHANGELOG.md b/packages/exceptions/CHANGELOG.md index b64757f03..70e08ace6 100644 --- a/packages/exceptions/CHANGELOG.md +++ b/packages/exceptions/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.14.1](https://github.com/InjectiveLabs/injective-ts/compare/@injectivelabs/exceptions@1.14.1-beta.7...@injectivelabs/exceptions@1.14.1) (2023-10-27) + +**Note:** Version bump only for package @injectivelabs/exceptions + + + + + ## [1.14.1-beta.0](https://github.com/InjectiveLabs/injective-ts/compare/@injectivelabs/exceptions@1.14.0-beta.1...@injectivelabs/exceptions@1.14.1-beta.0) (2023-09-23) **Note:** Version bump only for package @injectivelabs/exceptions diff --git a/packages/exceptions/package.json b/packages/exceptions/package.json index 4d56f22b6..17baac3b7 100644 --- a/packages/exceptions/package.json +++ b/packages/exceptions/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/exceptions", "description": "List of exceptions that can be reused throughout Injective's projects.", - "version": "1.14.1-beta.7", + "version": "1.14.1", "sideEffects": false, "license": "Apache-2.0", "main": "dist/cjs/index.js", @@ -32,7 +32,7 @@ }, "dependencies": { "@injectivelabs/grpc-web": "^0.0.1", - "@injectivelabs/ts-types": "^1.14.1-beta.7", + "@injectivelabs/ts-types": "^1.14.1", "http-status-codes": "^2.2.0", "link-module-alias": "^1.2.0", "shx": "^0.3.2" diff --git a/packages/networks/CHANGELOG.md b/packages/networks/CHANGELOG.md index 3b9996430..d467348c5 100644 --- a/packages/networks/CHANGELOG.md +++ b/packages/networks/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.14.1](https://github.com/InjectiveLabs/injective-ts/compare/@injectivelabs/networks@1.14.1-beta.8...@injectivelabs/networks@1.14.1) (2023-10-27) + +**Note:** Version bump only for package @injectivelabs/networks + + + + + ## [1.14.1-beta.0](https://github.com/InjectiveLabs/injective-ts/compare/@injectivelabs/networks@1.14.0-beta.1...@injectivelabs/networks@1.14.1-beta.0) (2023-09-23) **Note:** Version bump only for package @injectivelabs/networks diff --git a/packages/networks/package.json b/packages/networks/package.json index 69ff16673..bdb222f2c 100644 --- a/packages/networks/package.json +++ b/packages/networks/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/networks", "description": "Endpoints, networks, etc. Can be reused throughout Injective's projects.", - "version": "1.14.1-beta.8", + "version": "1.14.1", "sideEffects": false, "license": "Apache-2.0", "author": { @@ -31,9 +31,9 @@ "start": "node dist/index.js" }, "dependencies": { - "@injectivelabs/exceptions": "^1.14.1-beta.7", - "@injectivelabs/ts-types": "^1.14.1-beta.7", - "@injectivelabs/utils": "^1.14.1-beta.6", + "@injectivelabs/exceptions": "^1.14.1", + "@injectivelabs/ts-types": "^1.14.1", + "@injectivelabs/utils": "^1.14.1", "link-module-alias": "^1.2.0", "shx": "^0.3.2" }, diff --git a/packages/sdk-ts/CHANGELOG.md b/packages/sdk-ts/CHANGELOG.md index 69ca52006..2add3935d 100644 --- a/packages/sdk-ts/CHANGELOG.md +++ b/packages/sdk-ts/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.14.1](https://github.com/InjectiveLabs/injective-ts/compare/@injectivelabs/sdk-ts@1.14.1-beta.24...@injectivelabs/sdk-ts@1.14.1) (2023-10-27) + +**Note:** Version bump only for package @injectivelabs/sdk-ts + + + + + ## [1.14.1-beta.2](https://github.com/InjectiveLabs/injective-ts/compare/@injectivelabs/sdk-ts@1.14.1-beta.1...@injectivelabs/sdk-ts@1.14.1-beta.2) (2023-09-24) **Note:** Version bump only for package @injectivelabs/sdk-ts diff --git a/packages/sdk-ts/package.json b/packages/sdk-ts/package.json index 2055eda61..a9175e6a4 100644 --- a/packages/sdk-ts/package.json +++ b/packages/sdk-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/sdk-ts", "description": "SDK in TypeScript for building Injective applications in a browser, node, and react native environment.", - "version": "1.14.1-beta.24", + "version": "1.14.1", "sideEffects": false, "license": "Apache-2.0", "author": { @@ -40,17 +40,17 @@ "@ethersproject/bytes": "^5.7.0", "@injectivelabs/core-proto-ts": "^0.0.18", "@injectivelabs/dmm-proto-ts": "1.0.16", - "@injectivelabs/exceptions": "^1.14.1-beta.7", + "@injectivelabs/exceptions": "^1.14.1", "@injectivelabs/grpc-web": "^0.0.1", "@injectivelabs/grpc-web-node-http-transport": "^0.0.2", "@injectivelabs/grpc-web-react-native-transport": "^0.0.2", "@injectivelabs/indexer-proto-ts": "1.11.10", "@injectivelabs/mito-proto-ts": "1.0.50", - "@injectivelabs/networks": "^1.14.1-beta.8", - "@injectivelabs/test-utils": "^1.14.1-beta.5", - "@injectivelabs/token-metadata": "^1.14.1-beta.15", - "@injectivelabs/ts-types": "^1.14.1-beta.7", - "@injectivelabs/utils": "^1.14.1-beta.6", + "@injectivelabs/networks": "^1.14.1", + "@injectivelabs/test-utils": "^1.14.1", + "@injectivelabs/token-metadata": "^1.14.1", + "@injectivelabs/ts-types": "^1.14.1", + "@injectivelabs/utils": "^1.14.1", "@metamask/eth-sig-util": "^4.0.0", "axios": "^0.27.2", "bech32": "^2.0.0", diff --git a/packages/sdk-ui-ts/CHANGELOG.md b/packages/sdk-ui-ts/CHANGELOG.md index 2bfb6e20d..7c9f5a08b 100644 --- a/packages/sdk-ui-ts/CHANGELOG.md +++ b/packages/sdk-ui-ts/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.14.1](https://github.com/InjectiveLabs/injective-ts/compare/@injectivelabs/sdk-ui-ts@1.14.1-beta.25...@injectivelabs/sdk-ui-ts@1.14.1) (2023-10-27) + +**Note:** Version bump only for package @injectivelabs/sdk-ui-ts + + + + + ## [1.14.1-beta.2](https://github.com/InjectiveLabs/injective-ts/compare/@injectivelabs/sdk-ui-ts@1.14.1-beta.1...@injectivelabs/sdk-ui-ts@1.14.1-beta.2) (2023-09-24) **Note:** Version bump only for package @injectivelabs/sdk-ui-ts diff --git a/packages/sdk-ui-ts/package.json b/packages/sdk-ui-ts/package.json index 9b89e098a..5568aa584 100644 --- a/packages/sdk-ui-ts/package.json +++ b/packages/sdk-ui-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/sdk-ui-ts", "description": "SDK in TypeScript for building Injective UI applications in a browser environment.", - "version": "1.14.1-beta.25", + "version": "1.14.1", "sideEffects": false, "license": "Apache-2.0", "author": { @@ -35,14 +35,14 @@ "get-ibc-tokens": "ts-node-dev ./src/services/ibc/tokens.ts" }, "dependencies": { - "@injectivelabs/contracts": "^1.14.1-beta.8", - "@injectivelabs/exceptions": "^1.14.1-beta.7", - "@injectivelabs/networks": "^1.14.1-beta.8", - "@injectivelabs/sdk-ts": "^1.14.1-beta.24", - "@injectivelabs/token-metadata": "^1.14.1-beta.15", - "@injectivelabs/token-utils": "^1.14.1-beta.7", - "@injectivelabs/ts-types": "^1.14.1-beta.7", - "@injectivelabs/utils": "^1.14.1-beta.6", + "@injectivelabs/contracts": "^1.14.1", + "@injectivelabs/exceptions": "^1.14.1", + "@injectivelabs/networks": "^1.14.1", + "@injectivelabs/sdk-ts": "^1.14.1", + "@injectivelabs/token-metadata": "^1.14.1", + "@injectivelabs/token-utils": "^1.14.1", + "@injectivelabs/ts-types": "^1.14.1", + "@injectivelabs/utils": "^1.14.1", "alchemy-sdk": "^2.6.3", "copyfiles": "^2.4.1", "link-module-alias": "^1.2.0", diff --git a/packages/test-utils/CHANGELOG.md b/packages/test-utils/CHANGELOG.md index d59ce99c2..2439af634 100644 --- a/packages/test-utils/CHANGELOG.md +++ b/packages/test-utils/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.14.1](https://github.com/InjectiveLabs/injective-ts/compare/@injectivelabs/test-utils@1.14.1-beta.5...@injectivelabs/test-utils@1.14.1) (2023-10-27) + +**Note:** Version bump only for package @injectivelabs/test-utils + + + + + ## [1.14.1-beta.0](https://github.com/InjectiveLabs/injective-ts/compare/@injectivelabs/test-utils@1.14.0-beta.1...@injectivelabs/test-utils@1.14.1-beta.0) (2023-09-23) **Note:** Version bump only for package @injectivelabs/test-utils diff --git a/packages/test-utils/package.json b/packages/test-utils/package.json index 7585b7392..6bedacefd 100644 --- a/packages/test-utils/package.json +++ b/packages/test-utils/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/test-utils", "description": "List of test-utils and helper functions that can be reused throughout Injective's projects.", - "version": "1.14.1-beta.5", + "version": "1.14.1", "sideEffects": false, "author": { "name": "Bojan Angjelkoski", diff --git a/packages/token-metadata/CHANGELOG.md b/packages/token-metadata/CHANGELOG.md index 2f27dc739..c9c722e4d 100644 --- a/packages/token-metadata/CHANGELOG.md +++ b/packages/token-metadata/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.14.1](https://github.com/InjectiveLabs/injective-ts/compare/@injectivelabs/token-metadata@1.14.1-beta.15...@injectivelabs/token-metadata@1.14.1) (2023-10-27) + +**Note:** Version bump only for package @injectivelabs/token-metadata + + + + + ## [1.14.1-beta.0](https://github.com/InjectiveLabs/injective-ts/compare/@injectivelabs/token-metadata@1.14.0-beta.1...@injectivelabs/token-metadata@1.14.1-beta.0) (2023-09-23) **Note:** Version bump only for package @injectivelabs/token-metadata diff --git a/packages/token-metadata/package.json b/packages/token-metadata/package.json index 01a9415f5..fbe12f497 100644 --- a/packages/token-metadata/package.json +++ b/packages/token-metadata/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/token-metadata", "description": "ERC20 token metadata. Name, symbol, decimals, etc.", - "version": "1.14.1-beta.15", + "version": "1.14.1", "sideEffects": false, "license": "Apache-2.0", "author": { @@ -32,10 +32,10 @@ "start": "node dist/index.js" }, "dependencies": { - "@injectivelabs/exceptions": "^1.14.1-beta.7", - "@injectivelabs/networks": "^1.14.1-beta.8", - "@injectivelabs/ts-types": "^1.14.1-beta.7", - "@injectivelabs/utils": "^1.14.1-beta.6", + "@injectivelabs/exceptions": "^1.14.1", + "@injectivelabs/networks": "^1.14.1", + "@injectivelabs/ts-types": "^1.14.1", + "@injectivelabs/utils": "^1.14.1", "@types/lodash.values": "^4.3.6", "copyfiles": "^2.4.1", "jsonschema": "^1.4.0", diff --git a/packages/token-utils/CHANGELOG.md b/packages/token-utils/CHANGELOG.md index 499f150bf..120cf5517 100644 --- a/packages/token-utils/CHANGELOG.md +++ b/packages/token-utils/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.14.1](https://github.com/InjectiveLabs/injective-ts/compare/@injectivelabs/token-utils@1.14.1-beta.7...@injectivelabs/token-utils@1.14.1) (2023-10-27) + +**Note:** Version bump only for package @injectivelabs/token-utils + + + + + ## [1.14.1-beta.0](https://github.com/InjectiveLabs/injective-ts/compare/@injectivelabs/token-utils@1.14.0-beta.1...@injectivelabs/token-utils@1.14.1-beta.0) (2023-09-23) **Note:** Version bump only for package @injectivelabs/token-utils diff --git a/packages/token-utils/package.json b/packages/token-utils/package.json index c4b47079e..3cedf65f3 100644 --- a/packages/token-utils/package.json +++ b/packages/token-utils/package.json @@ -1,6 +1,6 @@ { "name": "@injectivelabs/token-utils", - "version": "1.14.1-beta.7", + "version": "1.14.1", "description": "Token Utils is a package for querying different data about tokens", "sideEffects": false, "author": { @@ -30,8 +30,8 @@ "start": "node dist/index.js" }, "dependencies": { - "@injectivelabs/exceptions": "^1.14.1-beta.7", - "@injectivelabs/utils": "^1.14.1-beta.6", + "@injectivelabs/exceptions": "^1.14.1", + "@injectivelabs/utils": "^1.14.1", "link-module-alias": "^1.2.0", "shx": "^0.3.2" }, diff --git a/packages/ts-types/CHANGELOG.md b/packages/ts-types/CHANGELOG.md index a68e544ae..933acd703 100644 --- a/packages/ts-types/CHANGELOG.md +++ b/packages/ts-types/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.14.1](https://github.com/InjectiveLabs/injective-ts/compare/@injectivelabs/ts-types@1.14.1-beta.7...@injectivelabs/ts-types@1.14.1) (2023-10-27) + +**Note:** Version bump only for package @injectivelabs/ts-types + + + + + ## [1.14.1-beta.0](https://github.com/InjectiveLabs/injective-ts/compare/@injectivelabs/ts-types@1.14.0-beta.1...@injectivelabs/ts-types@1.14.1-beta.0) (2023-09-23) **Note:** Version bump only for package @injectivelabs/ts-types diff --git a/packages/ts-types/package.json b/packages/ts-types/package.json index 0fdb0e9f4..10e355077 100644 --- a/packages/ts-types/package.json +++ b/packages/ts-types/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/ts-types", "description": "List of types that can be reused throughout Injective's projects.", - "version": "1.14.1-beta.7", + "version": "1.14.1", "sideEffects": false, "license": "Apache-2.0", "main": "dist/cjs/index.js", diff --git a/packages/utils/CHANGELOG.md b/packages/utils/CHANGELOG.md index 1ef512287..1e4012481 100644 --- a/packages/utils/CHANGELOG.md +++ b/packages/utils/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.14.1](https://github.com/InjectiveLabs/injective-ts/compare/@injectivelabs/utils@1.14.1-beta.6...@injectivelabs/utils@1.14.1) (2023-10-27) + +**Note:** Version bump only for package @injectivelabs/utils + + + + + ## [1.14.1-beta.0](https://github.com/InjectiveLabs/injective-ts/compare/@injectivelabs/utils@1.14.0-beta.1...@injectivelabs/utils@1.14.1-beta.0) (2023-09-23) **Note:** Version bump only for package @injectivelabs/utils diff --git a/packages/utils/package.json b/packages/utils/package.json index cf13d2800..f2704d374 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/utils", "description": "List of utils and helper functions that can be reused throughout Injective's projects.", - "version": "1.14.1-beta.6", + "version": "1.14.1", "sideEffects": false, "author": { "name": "Bojan Angjelkoski", @@ -31,8 +31,8 @@ "start": "node dist/index.js" }, "dependencies": { - "@injectivelabs/exceptions": "^1.14.1-beta.7", - "@injectivelabs/ts-types": "^1.14.1-beta.7", + "@injectivelabs/exceptions": "^1.14.1", + "@injectivelabs/ts-types": "^1.14.1", "axios": "^0.21.1", "bignumber.js": "^9.0.1", "http-status-codes": "^2.2.0", diff --git a/packages/wallet-ts/CHANGELOG.md b/packages/wallet-ts/CHANGELOG.md index d9772091d..90dc5e6a2 100644 --- a/packages/wallet-ts/CHANGELOG.md +++ b/packages/wallet-ts/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.14.1](https://github.com/InjectiveLabs/injective-ts/compare/@injectivelabs/wallet-ts@1.14.1-beta.25...@injectivelabs/wallet-ts@1.14.1) (2023-10-27) + +**Note:** Version bump only for package @injectivelabs/wallet-ts + + + + + ## [1.14.1-beta.2](https://github.com/InjectiveLabs/injective-ts/compare/@injectivelabs/wallet-ts@1.14.1-beta.1...@injectivelabs/wallet-ts@1.14.1-beta.2) (2023-09-24) **Note:** Version bump only for package @injectivelabs/wallet-ts diff --git a/packages/wallet-ts/package.json b/packages/wallet-ts/package.json index 439b07df9..ebf2a27a6 100644 --- a/packages/wallet-ts/package.json +++ b/packages/wallet-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/wallet-ts", "description": "A convenient way to use and interact with different types of wallets on Injective.", - "version": "1.14.1-beta.25", + "version": "1.14.1", "sideEffects": false, "author": { "name": "Bojan Angjelkoski", @@ -37,11 +37,11 @@ "@cosmostation/extension-client": "^0.1.15", "@ethereumjs/common": "^3.1.1", "@ethereumjs/tx": "^4.1.1", - "@injectivelabs/exceptions": "^1.14.1-beta.7", - "@injectivelabs/networks": "^1.14.1-beta.8", - "@injectivelabs/sdk-ts": "^1.14.1-beta.24", - "@injectivelabs/ts-types": "^1.14.1-beta.7", - "@injectivelabs/utils": "^1.14.1-beta.6", + "@injectivelabs/exceptions": "^1.14.1", + "@injectivelabs/networks": "^1.14.1", + "@injectivelabs/sdk-ts": "^1.14.1", + "@injectivelabs/ts-types": "^1.14.1", + "@injectivelabs/utils": "^1.14.1", "@keplr-wallet/cosmos": "^0.11.58", "@keplr-wallet/types": "^0.11.58", "@ledgerhq/hw-app-eth": "6.33.2", From 1a2c561bcd128c9a69e6b8938bfaf71bac59a93f Mon Sep 17 00:00:00 2001 From: thomasRalee Date: Mon, 30 Oct 2023 01:33:46 +0800 Subject: [PATCH 02/40] feat: grpc indexer campaign api --- .github/workflows/stable.yaml | 4 +- packages/exceptions/src/types/modules.ts | 1 + packages/sdk-ts/package.json | 2 +- .../grpc/IndexerGrpcCampaignApi.spec.ts | 33 ++++++++ .../indexer/grpc/IndexerGrpcCampaignApi.ts | 79 +++++++++++++++++++ .../sdk-ts/src/client/indexer/grpc/index.ts | 15 ++-- .../IndexerCampaignTransformer.ts | 47 +++++++++++ .../src/client/indexer/transformers/index.ts | 1 + .../src/client/indexer/types/campaign.ts | 24 ++++++ .../sdk-ts/src/client/indexer/types/index.ts | 19 ++--- yarn.lock | 8 +- 11 files changed, 210 insertions(+), 23 deletions(-) create mode 100644 packages/sdk-ts/src/client/indexer/grpc/IndexerGrpcCampaignApi.spec.ts create mode 100644 packages/sdk-ts/src/client/indexer/grpc/IndexerGrpcCampaignApi.ts create mode 100644 packages/sdk-ts/src/client/indexer/transformers/IndexerCampaignTransformer.ts create mode 100644 packages/sdk-ts/src/client/indexer/types/campaign.ts diff --git a/.github/workflows/stable.yaml b/.github/workflows/stable.yaml index 656c2bbcc..67668630e 100644 --- a/.github/workflows/stable.yaml +++ b/.github/workflows/stable.yaml @@ -22,7 +22,7 @@ jobs: node-version: '16.18.1' - name: 'Setup lerna@6.6.1' - run: yarn global add lerna@6.6.1 --ignore-engines + run: yarn global add lerna@6.6.1 --ignore-engines - name: Set up Git user run: | @@ -32,7 +32,7 @@ jobs: - name: Build dependencies run: | node etc/bootstrapEnv - yarn install --ignore-engines + yarn install --ignore-engines yarn build - name: 'Setup npm' diff --git a/packages/exceptions/src/types/modules.ts b/packages/exceptions/src/types/modules.ts index 58f6d85cd..f5c5cb6db 100644 --- a/packages/exceptions/src/types/modules.ts +++ b/packages/exceptions/src/types/modules.ts @@ -40,6 +40,7 @@ export enum IndexerErrorModule { ChronosDerivative = 'indexer-chronos-derivative', ChronosSpot = 'indexer-chronos-spot', ChronosMarkets = 'indexer-chronos-markets', + Campaign = 'indexer-campaign', } export enum WalletErrorActionModule { diff --git a/packages/sdk-ts/package.json b/packages/sdk-ts/package.json index a9175e6a4..81e4b40e0 100644 --- a/packages/sdk-ts/package.json +++ b/packages/sdk-ts/package.json @@ -44,7 +44,7 @@ "@injectivelabs/grpc-web": "^0.0.1", "@injectivelabs/grpc-web-node-http-transport": "^0.0.2", "@injectivelabs/grpc-web-react-native-transport": "^0.0.2", - "@injectivelabs/indexer-proto-ts": "1.11.10", + "@injectivelabs/indexer-proto-ts": "1.11.11", "@injectivelabs/mito-proto-ts": "1.0.50", "@injectivelabs/networks": "^1.14.1", "@injectivelabs/test-utils": "^1.14.1", diff --git a/packages/sdk-ts/src/client/indexer/grpc/IndexerGrpcCampaignApi.spec.ts b/packages/sdk-ts/src/client/indexer/grpc/IndexerGrpcCampaignApi.spec.ts new file mode 100644 index 000000000..1c757eb41 --- /dev/null +++ b/packages/sdk-ts/src/client/indexer/grpc/IndexerGrpcCampaignApi.spec.ts @@ -0,0 +1,33 @@ +import { getNetworkEndpoints, Network } from '@injectivelabs/networks' +import { IndexerCampaignTransformer } from '../transformers' +import { IndexerGrpcCampaignApi } from './IndexerGrpcCampaignApi' + +const CAMPAIGN_ID = 'spot-grid-inj-usdt-test' +const MARKET_ID = + '0xa508cb32923323679f29a032c70342c147c17d0145625922b0ef22e955c844c0' +const endpoints = getNetworkEndpoints(Network.MainnetSentry) +const indexerGrpcCampaignApi = new IndexerGrpcCampaignApi(endpoints.indexer) + +describe('IndexerGrpcCampaignApi', () => { + test('fetchCampaign', async () => { + try { + const response = await indexerGrpcCampaignApi.fetchCampaign({ + marketId: MARKET_ID, + campaignId: CAMPAIGN_ID, + }) + + expect(response).toBeDefined() + expect(response).toEqual( + expect.objectContaining< + ReturnType< + typeof IndexerCampaignTransformer.CampaignResponseToCampaign + > + >(response), + ) + } catch (e) { + console.error( + 'IndexerGrpcCampaignApi.fetchCampaign => ' + (e as any).message, + ) + } + }) +}) diff --git a/packages/sdk-ts/src/client/indexer/grpc/IndexerGrpcCampaignApi.ts b/packages/sdk-ts/src/client/indexer/grpc/IndexerGrpcCampaignApi.ts new file mode 100644 index 000000000..eadbea588 --- /dev/null +++ b/packages/sdk-ts/src/client/indexer/grpc/IndexerGrpcCampaignApi.ts @@ -0,0 +1,79 @@ +import { + UnspecifiedErrorCode, + GrpcUnaryRequestException, +} from '@injectivelabs/exceptions' +import { InjectiveMetaRpc } from '@injectivelabs/indexer-proto-ts' +import { InjectiveCampaignRpc } from '@injectivelabs/indexer-proto-ts' +import BaseGrpcConsumer from '../../BaseGrpcConsumer' +import { IndexerCampaignTransformer } from '../transformers' +import { IndexerModule } from '../types' + +/** + * @category Indexer Grpc API + */ +export class IndexerGrpcCampaignApi extends BaseGrpcConsumer { + protected module: string = IndexerModule.Campaign + + protected client: InjectiveCampaignRpc.InjectiveCampaignRPCClientImpl + + constructor(endpoint: string) { + super(endpoint) + + this.client = new InjectiveCampaignRpc.InjectiveCampaignRPCClientImpl( + this.getGrpcWebImpl(endpoint), + ) + } + + async fetchCampaign({ + skip, + limit, + marketId, + campaignId, + accountAddress, + }: { + skip?: string + limit?: number + marketId: string + campaignId: string + accountAddress?: string + }) { + const request = InjectiveCampaignRpc.RankingRequest.create() + + request.marketId = marketId + request.campaignId = campaignId + + if (skip) { + request.skip = skip + } + + if (limit) { + request.limit = limit + } + + if (accountAddress) { + request.accountAddress = accountAddress + } + + try { + const response = await this.retry( + () => this.client.Ranking(request), + ) + + return IndexerCampaignTransformer.CampaignResponseToCampaign(response) + } catch (e: unknown) { + if (e instanceof InjectiveMetaRpc.GrpcWebError) { + throw new GrpcUnaryRequestException(new Error(e.toString()), { + code: e.code, + context: 'FetchCampaign', + contextModule: this.module, + }) + } + + throw new GrpcUnaryRequestException(e as Error, { + code: UnspecifiedErrorCode, + context: 'FetchCampaign', + contextModule: this.module, + }) + } + } +} diff --git a/packages/sdk-ts/src/client/indexer/grpc/index.ts b/packages/sdk-ts/src/client/indexer/grpc/index.ts index 6e2492aac..7f6ef93b6 100644 --- a/packages/sdk-ts/src/client/indexer/grpc/index.ts +++ b/packages/sdk-ts/src/client/indexer/grpc/index.ts @@ -1,12 +1,13 @@ -export { IndexerGrpcAccountApi } from './IndexerGrpcAccountApi' -export { IndexerGrpcAccountPortfolioApi } from './IndexerGrpcPortfolioApi' -export { IndexerGrpcAuctionApi } from './IndexerGrpcAuctionApi' -export { IndexerGrpcExplorerApi } from './IndexerGrpcExplorerApi' export { IndexerGrpcMitoApi } from './IndexerGrpcMitoApi' export { IndexerGrpcMetaApi } from './IndexerGrpcMetaApi' +export { IndexerGrpcSpotApi } from './IndexerGrpcSpotApi' export { IndexerGrpcOracleApi } from './IndexerGrpcOracleApi' -export { IndexerGrpcInsuranceFundApi } from './IndexerGrpcInsuranceFundApi' +export { IndexerGrpcAccountApi } from './IndexerGrpcAccountApi' +export { IndexerGrpcAuctionApi } from './IndexerGrpcAuctionApi' +export { IndexerGrpcTradingApi } from './IndexerGrpcTradingApi' +export { IndexerGrpcExplorerApi } from './IndexerGrpcExplorerApi' +export { IndexerGrpcCampaignApi } from './IndexerGrpcCampaignApi' export { IndexerGrpcDerivativesApi } from './IndexerGrpcDerivativesApi' -export { IndexerGrpcSpotApi } from './IndexerGrpcSpotApi' export { IndexerGrpcTransactionApi } from './IndexerGrpcTransactionApi' -export { IndexerGrpcTradingApi } from './IndexerGrpcTradingApi' +export { IndexerGrpcAccountPortfolioApi } from './IndexerGrpcPortfolioApi' +export { IndexerGrpcInsuranceFundApi } from './IndexerGrpcInsuranceFundApi' diff --git a/packages/sdk-ts/src/client/indexer/transformers/IndexerCampaignTransformer.ts b/packages/sdk-ts/src/client/indexer/transformers/IndexerCampaignTransformer.ts new file mode 100644 index 000000000..65d4030ab --- /dev/null +++ b/packages/sdk-ts/src/client/indexer/transformers/IndexerCampaignTransformer.ts @@ -0,0 +1,47 @@ +import { InjectiveCampaignRpc } from '@injectivelabs/indexer-proto-ts' +import { grpcPagingToPaging } from '../../..//utils/pagination' +import { Campaign, CampaignUser } from '../types/campaign' + +export class IndexerCampaignTransformer { + static GrpcCampaignUserToCampaignUser( + campaignUser: InjectiveCampaignRpc.CampaignUser, + ): CampaignUser { + return { + campaignId: campaignUser.campaignId, + marketId: campaignUser.marketId, + accountAddress: campaignUser.accountAddress, + score: campaignUser.score, + contractUpdated: campaignUser.contractUpdated, + blockHeight: campaignUser.blockHeight, + blockTime: parseInt(campaignUser.blockTime, 10), + } + } + + static GrpcCampaignToCampaign( + campaign: InjectiveCampaignRpc.Campaign, + ): Campaign { + return { + campaignId: campaign.campaignId, + marketId: campaign.marketId, + totalScore: campaign.totalScore, + lastUpdated: parseInt(campaign.lastUpdated, 10), + startDate: parseInt(campaign.startDate, 10), + endDate: parseInt(campaign.endDate, 10), + isClaimable: campaign.isClaimable, + } + } + + static CampaignResponseToCampaign( + response: InjectiveCampaignRpc.RankingResponse, + ) { + return { + campaign: response.campaign + ? IndexerCampaignTransformer.GrpcCampaignToCampaign(response.campaign) + : undefined, + uses: response.users.map( + IndexerCampaignTransformer.GrpcCampaignUserToCampaignUser, + ), + paging: grpcPagingToPaging(response.paging), + } + } +} diff --git a/packages/sdk-ts/src/client/indexer/transformers/index.ts b/packages/sdk-ts/src/client/indexer/transformers/index.ts index a868326a5..d253026fd 100644 --- a/packages/sdk-ts/src/client/indexer/transformers/index.ts +++ b/packages/sdk-ts/src/client/indexer/transformers/index.ts @@ -1,5 +1,6 @@ export * from './IndexerGrpcMitoTransformer' export * from './IndexerGrpcSpotTransformer' +export * from './IndexerCampaignTransformer' export * from './IndexerGrpcOracleTransformer' export * from './IndexerSpotStreamTransformer' export * from './IndexerGrpcAccountTransformer' diff --git a/packages/sdk-ts/src/client/indexer/types/campaign.ts b/packages/sdk-ts/src/client/indexer/types/campaign.ts new file mode 100644 index 000000000..643ec2581 --- /dev/null +++ b/packages/sdk-ts/src/client/indexer/types/campaign.ts @@ -0,0 +1,24 @@ +import { InjectiveCampaignRpc } from '@injectivelabs/indexer-proto-ts' + +export interface Campaign { + campaignId: string + marketId: string + totalScore: string + lastUpdated: number + startDate: number + endDate: number + isClaimable: boolean +} + +export interface CampaignUser { + campaignId: string + marketId: string + accountAddress: string + score: string + contractUpdated: boolean + blockHeight: string + blockTime: number +} + +export type GrpcCampaign = InjectiveCampaignRpc.Campaign +export type GrpcCampaignUser = InjectiveCampaignRpc.CampaignUser diff --git a/packages/sdk-ts/src/client/indexer/types/index.ts b/packages/sdk-ts/src/client/indexer/types/index.ts index ade7cd6b3..a899d327f 100644 --- a/packages/sdk-ts/src/client/indexer/types/index.ts +++ b/packages/sdk-ts/src/client/indexer/types/index.ts @@ -1,22 +1,23 @@ import { IndexerErrorModule } from '@injectivelabs/exceptions' +export * from './mito' +export * from './swap' +export * from './spot' +export * from './oracle' export * from './account' -export * from './account-portfolio' export * from './auction' -export * from './derivatives-rest' -export * from './derivatives' +export * from './trading' export * from './exchange' export * from './explorer' +export * from './campaign' +export * from './spot-rest' +export * from './derivatives' export * from './explorer-rest' export * from './insurance-funds' +export * from './derivatives-rest' export * from './leaderboard-rest' +export * from './account-portfolio' export * from './markets-history-rest' -export * from './mito' -export * from './swap' -export * from './oracle' -export * from './spot-rest' -export * from './spot' -export * from './trading' export interface StreamStatusResponse { details: string diff --git a/yarn.lock b/yarn.lock index 31fedaa98..de2a3cd47 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2166,10 +2166,10 @@ dependencies: browser-headers "^0.4.1" -"@injectivelabs/indexer-proto-ts@1.11.10": - version "1.11.10" - resolved "https://registry.yarnpkg.com/@injectivelabs/indexer-proto-ts/-/indexer-proto-ts-1.11.10.tgz#91649b2634d31a003ba2e928eba4f2de821dc9a3" - integrity sha512-KpGrXYePUhIZfr/ApD6dw0l3bv222yTfVoqqbAWGtmoefeT18Lu490ots9qMsJWfokTsJeWBb1M9ce5JvaSA3Q== +"@injectivelabs/indexer-proto-ts@1.11.11": + version "1.11.11" + resolved "https://registry.yarnpkg.com/@injectivelabs/indexer-proto-ts/-/indexer-proto-ts-1.11.11.tgz#faee76f81f0bc5566a295fa4a069312f17810804" + integrity sha512-1zDIhF83fld/FNrQ43rX7fLFoY7zXneqqufXWMKh2ekFOAnXdyyPc832keNG7hczCbxG4trw/Tgpos0C9J7ndg== dependencies: "@injectivelabs/grpc-web" "^0.0.1" google-protobuf "^3.14.0" From 4e5b187dd851affdc6e6e864f81edc5750f60012 Mon Sep 17 00:00:00 2001 From: ThomasRalee Date: Sun, 29 Oct 2023 17:40:24 +0000 Subject: [PATCH 03/40] chore(release): publish - @injectivelabs/bridge-ts@1.14.2-beta.0 - @injectivelabs/contracts@1.14.2-beta.0 - @injectivelabs/exceptions@1.14.2-beta.0 - @injectivelabs/networks@1.14.2-beta.0 - @injectivelabs/sdk-ts@1.14.2-beta.0 - @injectivelabs/sdk-ui-ts@1.14.2-beta.0 - @injectivelabs/token-metadata@1.14.2-beta.0 - @injectivelabs/token-utils@1.14.2-beta.0 - @injectivelabs/utils@1.14.2-beta.0 - @injectivelabs/wallet-ts@1.14.2-beta.0 --- packages/bridge-ts/package.json | 10 +++++----- packages/contracts/package.json | 8 ++++---- packages/exceptions/package.json | 2 +- packages/networks/package.json | 6 +++--- packages/sdk-ts/package.json | 10 +++++----- packages/sdk-ui-ts/package.json | 16 ++++++++-------- packages/token-metadata/package.json | 8 ++++---- packages/token-utils/package.json | 6 +++--- packages/utils/package.json | 4 ++-- packages/wallet-ts/package.json | 10 +++++----- 10 files changed, 40 insertions(+), 40 deletions(-) diff --git a/packages/bridge-ts/package.json b/packages/bridge-ts/package.json index 6afc8f7a1..66d9bba42 100644 --- a/packages/bridge-ts/package.json +++ b/packages/bridge-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/bridge-ts", "description": "Bridge utilities and abstractions in TypeScript to be used in Injective products", - "version": "1.14.1", + "version": "1.14.2-beta.0", "sideEffects": false, "author": { "name": "Bojan Angjelkoski", @@ -32,11 +32,11 @@ }, "dependencies": { "@axelar-network/axelarjs-sdk": "^0.11.7", - "@injectivelabs/exceptions": "^1.14.1", - "@injectivelabs/networks": "^1.14.1", - "@injectivelabs/sdk-ts": "^1.14.1", + "@injectivelabs/exceptions": "^1.14.2-beta.0", + "@injectivelabs/networks": "^1.14.2-beta.0", + "@injectivelabs/sdk-ts": "^1.14.2-beta.0", "@injectivelabs/ts-types": "^1.14.1", - "@injectivelabs/utils": "^1.14.1", + "@injectivelabs/utils": "^1.14.2-beta.0", "@injectivelabs/wormhole-sdk": "^1.12.0-beta.0", "@solana/spl-token": "^0.3.6", "@solana/wallet-adapter-base": "^0.9.18", diff --git a/packages/contracts/package.json b/packages/contracts/package.json index 3fac3c599..8d38ffa1f 100644 --- a/packages/contracts/package.json +++ b/packages/contracts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/contracts", "description": "Contracts wrapper that can be reused throughout Injective's projects.", - "version": "1.14.1", + "version": "1.14.2-beta.0", "sideEffects": false, "license": "Apache-2.0", "main": "dist/cjs/index.js", @@ -31,10 +31,10 @@ "start": "node dist/index.js" }, "dependencies": { - "@injectivelabs/exceptions": "^1.14.1", - "@injectivelabs/networks": "^1.14.1", + "@injectivelabs/exceptions": "^1.14.2-beta.0", + "@injectivelabs/networks": "^1.14.2-beta.0", "@injectivelabs/ts-types": "^1.14.1", - "@injectivelabs/utils": "^1.14.1", + "@injectivelabs/utils": "^1.14.2-beta.0", "ethers": "^5.7.2", "link-module-alias": "^1.2.0", "shx": "^0.3.3" diff --git a/packages/exceptions/package.json b/packages/exceptions/package.json index 17baac3b7..45a714fe5 100644 --- a/packages/exceptions/package.json +++ b/packages/exceptions/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/exceptions", "description": "List of exceptions that can be reused throughout Injective's projects.", - "version": "1.14.1", + "version": "1.14.2-beta.0", "sideEffects": false, "license": "Apache-2.0", "main": "dist/cjs/index.js", diff --git a/packages/networks/package.json b/packages/networks/package.json index bdb222f2c..7e04be293 100644 --- a/packages/networks/package.json +++ b/packages/networks/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/networks", "description": "Endpoints, networks, etc. Can be reused throughout Injective's projects.", - "version": "1.14.1", + "version": "1.14.2-beta.0", "sideEffects": false, "license": "Apache-2.0", "author": { @@ -31,9 +31,9 @@ "start": "node dist/index.js" }, "dependencies": { - "@injectivelabs/exceptions": "^1.14.1", + "@injectivelabs/exceptions": "^1.14.2-beta.0", "@injectivelabs/ts-types": "^1.14.1", - "@injectivelabs/utils": "^1.14.1", + "@injectivelabs/utils": "^1.14.2-beta.0", "link-module-alias": "^1.2.0", "shx": "^0.3.2" }, diff --git a/packages/sdk-ts/package.json b/packages/sdk-ts/package.json index 81e4b40e0..48b7a5a71 100644 --- a/packages/sdk-ts/package.json +++ b/packages/sdk-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/sdk-ts", "description": "SDK in TypeScript for building Injective applications in a browser, node, and react native environment.", - "version": "1.14.1", + "version": "1.14.2-beta.0", "sideEffects": false, "license": "Apache-2.0", "author": { @@ -40,17 +40,17 @@ "@ethersproject/bytes": "^5.7.0", "@injectivelabs/core-proto-ts": "^0.0.18", "@injectivelabs/dmm-proto-ts": "1.0.16", - "@injectivelabs/exceptions": "^1.14.1", + "@injectivelabs/exceptions": "^1.14.2-beta.0", "@injectivelabs/grpc-web": "^0.0.1", "@injectivelabs/grpc-web-node-http-transport": "^0.0.2", "@injectivelabs/grpc-web-react-native-transport": "^0.0.2", "@injectivelabs/indexer-proto-ts": "1.11.11", "@injectivelabs/mito-proto-ts": "1.0.50", - "@injectivelabs/networks": "^1.14.1", + "@injectivelabs/networks": "^1.14.2-beta.0", "@injectivelabs/test-utils": "^1.14.1", - "@injectivelabs/token-metadata": "^1.14.1", + "@injectivelabs/token-metadata": "^1.14.2-beta.0", "@injectivelabs/ts-types": "^1.14.1", - "@injectivelabs/utils": "^1.14.1", + "@injectivelabs/utils": "^1.14.2-beta.0", "@metamask/eth-sig-util": "^4.0.0", "axios": "^0.27.2", "bech32": "^2.0.0", diff --git a/packages/sdk-ui-ts/package.json b/packages/sdk-ui-ts/package.json index 5568aa584..8e93dbadc 100644 --- a/packages/sdk-ui-ts/package.json +++ b/packages/sdk-ui-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/sdk-ui-ts", "description": "SDK in TypeScript for building Injective UI applications in a browser environment.", - "version": "1.14.1", + "version": "1.14.2-beta.0", "sideEffects": false, "license": "Apache-2.0", "author": { @@ -35,14 +35,14 @@ "get-ibc-tokens": "ts-node-dev ./src/services/ibc/tokens.ts" }, "dependencies": { - "@injectivelabs/contracts": "^1.14.1", - "@injectivelabs/exceptions": "^1.14.1", - "@injectivelabs/networks": "^1.14.1", - "@injectivelabs/sdk-ts": "^1.14.1", - "@injectivelabs/token-metadata": "^1.14.1", - "@injectivelabs/token-utils": "^1.14.1", + "@injectivelabs/contracts": "^1.14.2-beta.0", + "@injectivelabs/exceptions": "^1.14.2-beta.0", + "@injectivelabs/networks": "^1.14.2-beta.0", + "@injectivelabs/sdk-ts": "^1.14.2-beta.0", + "@injectivelabs/token-metadata": "^1.14.2-beta.0", + "@injectivelabs/token-utils": "^1.14.2-beta.0", "@injectivelabs/ts-types": "^1.14.1", - "@injectivelabs/utils": "^1.14.1", + "@injectivelabs/utils": "^1.14.2-beta.0", "alchemy-sdk": "^2.6.3", "copyfiles": "^2.4.1", "link-module-alias": "^1.2.0", diff --git a/packages/token-metadata/package.json b/packages/token-metadata/package.json index fbe12f497..6bc974795 100644 --- a/packages/token-metadata/package.json +++ b/packages/token-metadata/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/token-metadata", "description": "ERC20 token metadata. Name, symbol, decimals, etc.", - "version": "1.14.1", + "version": "1.14.2-beta.0", "sideEffects": false, "license": "Apache-2.0", "author": { @@ -32,10 +32,10 @@ "start": "node dist/index.js" }, "dependencies": { - "@injectivelabs/exceptions": "^1.14.1", - "@injectivelabs/networks": "^1.14.1", + "@injectivelabs/exceptions": "^1.14.2-beta.0", + "@injectivelabs/networks": "^1.14.2-beta.0", "@injectivelabs/ts-types": "^1.14.1", - "@injectivelabs/utils": "^1.14.1", + "@injectivelabs/utils": "^1.14.2-beta.0", "@types/lodash.values": "^4.3.6", "copyfiles": "^2.4.1", "jsonschema": "^1.4.0", diff --git a/packages/token-utils/package.json b/packages/token-utils/package.json index 3cedf65f3..a720ba11e 100644 --- a/packages/token-utils/package.json +++ b/packages/token-utils/package.json @@ -1,6 +1,6 @@ { "name": "@injectivelabs/token-utils", - "version": "1.14.1", + "version": "1.14.2-beta.0", "description": "Token Utils is a package for querying different data about tokens", "sideEffects": false, "author": { @@ -30,8 +30,8 @@ "start": "node dist/index.js" }, "dependencies": { - "@injectivelabs/exceptions": "^1.14.1", - "@injectivelabs/utils": "^1.14.1", + "@injectivelabs/exceptions": "^1.14.2-beta.0", + "@injectivelabs/utils": "^1.14.2-beta.0", "link-module-alias": "^1.2.0", "shx": "^0.3.2" }, diff --git a/packages/utils/package.json b/packages/utils/package.json index f2704d374..182e1b727 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/utils", "description": "List of utils and helper functions that can be reused throughout Injective's projects.", - "version": "1.14.1", + "version": "1.14.2-beta.0", "sideEffects": false, "author": { "name": "Bojan Angjelkoski", @@ -31,7 +31,7 @@ "start": "node dist/index.js" }, "dependencies": { - "@injectivelabs/exceptions": "^1.14.1", + "@injectivelabs/exceptions": "^1.14.2-beta.0", "@injectivelabs/ts-types": "^1.14.1", "axios": "^0.21.1", "bignumber.js": "^9.0.1", diff --git a/packages/wallet-ts/package.json b/packages/wallet-ts/package.json index ebf2a27a6..c1db82a2b 100644 --- a/packages/wallet-ts/package.json +++ b/packages/wallet-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/wallet-ts", "description": "A convenient way to use and interact with different types of wallets on Injective.", - "version": "1.14.1", + "version": "1.14.2-beta.0", "sideEffects": false, "author": { "name": "Bojan Angjelkoski", @@ -37,11 +37,11 @@ "@cosmostation/extension-client": "^0.1.15", "@ethereumjs/common": "^3.1.1", "@ethereumjs/tx": "^4.1.1", - "@injectivelabs/exceptions": "^1.14.1", - "@injectivelabs/networks": "^1.14.1", - "@injectivelabs/sdk-ts": "^1.14.1", + "@injectivelabs/exceptions": "^1.14.2-beta.0", + "@injectivelabs/networks": "^1.14.2-beta.0", + "@injectivelabs/sdk-ts": "^1.14.2-beta.0", "@injectivelabs/ts-types": "^1.14.1", - "@injectivelabs/utils": "^1.14.1", + "@injectivelabs/utils": "^1.14.2-beta.0", "@keplr-wallet/cosmos": "^0.11.58", "@keplr-wallet/types": "^0.11.58", "@ledgerhq/hw-app-eth": "6.33.2", From a4ed3a24c7f823d51c18fabf3e6e41ff015b5589 Mon Sep 17 00:00:00 2001 From: thomasRalee Date: Mon, 30 Oct 2023 19:38:26 +0800 Subject: [PATCH 04/40] chore: add talis token-metadata --- .../client/indexer/grpc/IndexerGrpcCampaignApi.ts | 7 +++++-- packages/token-metadata/src/images/talis.svg | 0 .../token-metadata/src/tokens/tokens/tokens.ts | 15 +++++++++++++++ 3 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 packages/token-metadata/src/images/talis.svg diff --git a/packages/sdk-ts/src/client/indexer/grpc/IndexerGrpcCampaignApi.ts b/packages/sdk-ts/src/client/indexer/grpc/IndexerGrpcCampaignApi.ts index eadbea588..e820d2cf4 100644 --- a/packages/sdk-ts/src/client/indexer/grpc/IndexerGrpcCampaignApi.ts +++ b/packages/sdk-ts/src/client/indexer/grpc/IndexerGrpcCampaignApi.ts @@ -33,13 +33,12 @@ export class IndexerGrpcCampaignApi extends BaseGrpcConsumer { }: { skip?: string limit?: number - marketId: string + marketId?: string campaignId: string accountAddress?: string }) { const request = InjectiveCampaignRpc.RankingRequest.create() - request.marketId = marketId request.campaignId = campaignId if (skip) { @@ -50,6 +49,10 @@ export class IndexerGrpcCampaignApi extends BaseGrpcConsumer { request.limit = limit } + if (marketId) { + request.marketId = marketId + } + if (accountAddress) { request.accountAddress = accountAddress } diff --git a/packages/token-metadata/src/images/talis.svg b/packages/token-metadata/src/images/talis.svg new file mode 100644 index 000000000..e69de29bb diff --git a/packages/token-metadata/src/tokens/tokens/tokens.ts b/packages/token-metadata/src/tokens/tokens/tokens.ts index ad5b08c3c..e19849e3d 100644 --- a/packages/token-metadata/src/tokens/tokens/tokens.ts +++ b/packages/token-metadata/src/tokens/tokens/tokens.ts @@ -1853,4 +1853,19 @@ export default { logo: 'tia.webp', coinGeckoId: '', }, + + TAILS: { + name: 'Talis', + symbol: 'TALIS', + decimals: 6, + logo: 'tails.svg', + coinGeckoId: '', + + cw20: { + decimals: 6, + address: 'Talis-3', + source: Cw20TokenSource.Cosmos, + tokenType: TokenType.Cw20, + }, + }, } as Record From 127154585013c3f52f5d1d1531aa73a9ffca7fdb Mon Sep 17 00:00:00 2001 From: ThomasRalee Date: Mon, 30 Oct 2023 11:42:48 +0000 Subject: [PATCH 05/40] chore(release): publish - @injectivelabs/bridge-ts@1.14.2-beta.1 - @injectivelabs/sdk-ts@1.14.2-beta.1 - @injectivelabs/sdk-ui-ts@1.14.2-beta.1 - @injectivelabs/token-metadata@1.14.2-beta.1 - @injectivelabs/wallet-ts@1.14.2-beta.1 --- packages/bridge-ts/package.json | 4 ++-- packages/sdk-ts/package.json | 4 ++-- packages/sdk-ui-ts/package.json | 6 +++--- packages/token-metadata/package.json | 2 +- packages/wallet-ts/package.json | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/bridge-ts/package.json b/packages/bridge-ts/package.json index 66d9bba42..c2dc85bc2 100644 --- a/packages/bridge-ts/package.json +++ b/packages/bridge-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/bridge-ts", "description": "Bridge utilities and abstractions in TypeScript to be used in Injective products", - "version": "1.14.2-beta.0", + "version": "1.14.2-beta.1", "sideEffects": false, "author": { "name": "Bojan Angjelkoski", @@ -34,7 +34,7 @@ "@axelar-network/axelarjs-sdk": "^0.11.7", "@injectivelabs/exceptions": "^1.14.2-beta.0", "@injectivelabs/networks": "^1.14.2-beta.0", - "@injectivelabs/sdk-ts": "^1.14.2-beta.0", + "@injectivelabs/sdk-ts": "^1.14.2-beta.1", "@injectivelabs/ts-types": "^1.14.1", "@injectivelabs/utils": "^1.14.2-beta.0", "@injectivelabs/wormhole-sdk": "^1.12.0-beta.0", diff --git a/packages/sdk-ts/package.json b/packages/sdk-ts/package.json index 48b7a5a71..da65cdd83 100644 --- a/packages/sdk-ts/package.json +++ b/packages/sdk-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/sdk-ts", "description": "SDK in TypeScript for building Injective applications in a browser, node, and react native environment.", - "version": "1.14.2-beta.0", + "version": "1.14.2-beta.1", "sideEffects": false, "license": "Apache-2.0", "author": { @@ -48,7 +48,7 @@ "@injectivelabs/mito-proto-ts": "1.0.50", "@injectivelabs/networks": "^1.14.2-beta.0", "@injectivelabs/test-utils": "^1.14.1", - "@injectivelabs/token-metadata": "^1.14.2-beta.0", + "@injectivelabs/token-metadata": "^1.14.2-beta.1", "@injectivelabs/ts-types": "^1.14.1", "@injectivelabs/utils": "^1.14.2-beta.0", "@metamask/eth-sig-util": "^4.0.0", diff --git a/packages/sdk-ui-ts/package.json b/packages/sdk-ui-ts/package.json index 8e93dbadc..5a5849c71 100644 --- a/packages/sdk-ui-ts/package.json +++ b/packages/sdk-ui-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/sdk-ui-ts", "description": "SDK in TypeScript for building Injective UI applications in a browser environment.", - "version": "1.14.2-beta.0", + "version": "1.14.2-beta.1", "sideEffects": false, "license": "Apache-2.0", "author": { @@ -38,8 +38,8 @@ "@injectivelabs/contracts": "^1.14.2-beta.0", "@injectivelabs/exceptions": "^1.14.2-beta.0", "@injectivelabs/networks": "^1.14.2-beta.0", - "@injectivelabs/sdk-ts": "^1.14.2-beta.0", - "@injectivelabs/token-metadata": "^1.14.2-beta.0", + "@injectivelabs/sdk-ts": "^1.14.2-beta.1", + "@injectivelabs/token-metadata": "^1.14.2-beta.1", "@injectivelabs/token-utils": "^1.14.2-beta.0", "@injectivelabs/ts-types": "^1.14.1", "@injectivelabs/utils": "^1.14.2-beta.0", diff --git a/packages/token-metadata/package.json b/packages/token-metadata/package.json index 6bc974795..3a0961de6 100644 --- a/packages/token-metadata/package.json +++ b/packages/token-metadata/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/token-metadata", "description": "ERC20 token metadata. Name, symbol, decimals, etc.", - "version": "1.14.2-beta.0", + "version": "1.14.2-beta.1", "sideEffects": false, "license": "Apache-2.0", "author": { diff --git a/packages/wallet-ts/package.json b/packages/wallet-ts/package.json index c1db82a2b..5460a728c 100644 --- a/packages/wallet-ts/package.json +++ b/packages/wallet-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/wallet-ts", "description": "A convenient way to use and interact with different types of wallets on Injective.", - "version": "1.14.2-beta.0", + "version": "1.14.2-beta.1", "sideEffects": false, "author": { "name": "Bojan Angjelkoski", @@ -39,7 +39,7 @@ "@ethereumjs/tx": "^4.1.1", "@injectivelabs/exceptions": "^1.14.2-beta.0", "@injectivelabs/networks": "^1.14.2-beta.0", - "@injectivelabs/sdk-ts": "^1.14.2-beta.0", + "@injectivelabs/sdk-ts": "^1.14.2-beta.1", "@injectivelabs/ts-types": "^1.14.1", "@injectivelabs/utils": "^1.14.2-beta.0", "@keplr-wallet/cosmos": "^0.11.58", From bf69de46dbb1b70b16d8eec1f00c1443c39d6a44 Mon Sep 17 00:00:00 2001 From: Bojan Angjelkoski Date: Mon, 30 Oct 2023 08:43:40 -0400 Subject: [PATCH 06/40] fix: exponent for denom token metadata --- packages/sdk-ui-ts/src/utils/factory.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/sdk-ui-ts/src/utils/factory.ts b/packages/sdk-ui-ts/src/utils/factory.ts index 569f16e3d..6d65a75d5 100644 --- a/packages/sdk-ui-ts/src/utils/factory.ts +++ b/packages/sdk-ui-ts/src/utils/factory.ts @@ -9,7 +9,9 @@ export const getTokenFromDenomsMetadata = ( denom: string, response: Metadata, ): FactoryToken => { - const [denomUnit] = response.denomUnits.reverse() + const [denomUnit] = [...response.denomUnits].sort( + (u1, u2) => u2.exponent - u1.exponent, + ) return { denom, From 649a61a41ae3d468aa4ee16e8872ceb66c0a5baa Mon Sep 17 00:00:00 2001 From: bangjelkoski Date: Mon, 30 Oct 2023 12:48:02 +0000 Subject: [PATCH 07/40] chore(release): publish - @injectivelabs/sdk-ui-ts@1.14.2-beta.2 --- packages/sdk-ui-ts/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/sdk-ui-ts/package.json b/packages/sdk-ui-ts/package.json index 5a5849c71..6d3c1cde8 100644 --- a/packages/sdk-ui-ts/package.json +++ b/packages/sdk-ui-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/sdk-ui-ts", "description": "SDK in TypeScript for building Injective UI applications in a browser environment.", - "version": "1.14.2-beta.1", + "version": "1.14.2-beta.2", "sideEffects": false, "license": "Apache-2.0", "author": { From 1bde58d4e045015dc5db3b950e8803892d9c2706 Mon Sep 17 00:00:00 2001 From: Canguilhem Date: Mon, 30 Oct 2023 16:58:19 +0100 Subject: [PATCH 08/40] feat(TokensMetadata): add talis metadata --- packages/token-metadata/src/images/talis.webp | Bin 0 -> 27946 bytes .../token-metadata/src/tokens/tokens/tokens.ts | 12 +++--------- 2 files changed, 3 insertions(+), 9 deletions(-) create mode 100644 packages/token-metadata/src/images/talis.webp diff --git a/packages/token-metadata/src/images/talis.webp b/packages/token-metadata/src/images/talis.webp new file mode 100644 index 0000000000000000000000000000000000000000..a7b7b1bda41ede42fa793557cd6008216818df2a GIT binary patch literal 27946 zcmZs?16(BB+W;M1_F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okens/tokens.ts b/packages/token-metadata/src/tokens/tokens/tokens.ts index e19849e3d..fe0855ed9 100644 --- a/packages/token-metadata/src/tokens/tokens/tokens.ts +++ b/packages/token-metadata/src/tokens/tokens/tokens.ts @@ -1854,18 +1854,12 @@ export default { coinGeckoId: '', }, - TAILS: { + TALIS: { name: 'Talis', symbol: 'TALIS', decimals: 6, - logo: 'tails.svg', + logo: 'talis.webp', coinGeckoId: '', - - cw20: { - decimals: 6, - address: 'Talis-3', - source: Cw20TokenSource.Cosmos, - tokenType: TokenType.Cw20, - }, + tokenType: TokenType.TokenFactory, }, } as Record From d08fce420fce6ae1d4f37a3da4e1f8f4a597a346 Mon Sep 17 00:00:00 2001 From: bangjelkoski Date: Mon, 30 Oct 2023 16:18:43 +0000 Subject: [PATCH 09/40] chore(release): publish - @injectivelabs/bridge-ts@1.14.2-beta.2 - @injectivelabs/sdk-ts@1.14.2-beta.2 - @injectivelabs/sdk-ui-ts@1.14.2-beta.3 - @injectivelabs/token-metadata@1.14.2-beta.2 - @injectivelabs/wallet-ts@1.14.2-beta.2 --- packages/bridge-ts/package.json | 4 ++-- packages/sdk-ts/package.json | 4 ++-- packages/sdk-ui-ts/package.json | 6 +++--- packages/token-metadata/package.json | 2 +- packages/wallet-ts/package.json | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/bridge-ts/package.json b/packages/bridge-ts/package.json index c2dc85bc2..c602dac99 100644 --- a/packages/bridge-ts/package.json +++ b/packages/bridge-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/bridge-ts", "description": "Bridge utilities and abstractions in TypeScript to be used in Injective products", - "version": "1.14.2-beta.1", + "version": "1.14.2-beta.2", "sideEffects": false, "author": { "name": "Bojan Angjelkoski", @@ -34,7 +34,7 @@ "@axelar-network/axelarjs-sdk": "^0.11.7", "@injectivelabs/exceptions": "^1.14.2-beta.0", "@injectivelabs/networks": "^1.14.2-beta.0", - "@injectivelabs/sdk-ts": "^1.14.2-beta.1", + "@injectivelabs/sdk-ts": "^1.14.2-beta.2", "@injectivelabs/ts-types": "^1.14.1", "@injectivelabs/utils": "^1.14.2-beta.0", "@injectivelabs/wormhole-sdk": "^1.12.0-beta.0", diff --git a/packages/sdk-ts/package.json b/packages/sdk-ts/package.json index da65cdd83..3520ea258 100644 --- a/packages/sdk-ts/package.json +++ b/packages/sdk-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/sdk-ts", "description": "SDK in TypeScript for building Injective applications in a browser, node, and react native environment.", - "version": "1.14.2-beta.1", + "version": "1.14.2-beta.2", "sideEffects": false, "license": "Apache-2.0", "author": { @@ -48,7 +48,7 @@ "@injectivelabs/mito-proto-ts": "1.0.50", "@injectivelabs/networks": "^1.14.2-beta.0", "@injectivelabs/test-utils": "^1.14.1", - "@injectivelabs/token-metadata": "^1.14.2-beta.1", + "@injectivelabs/token-metadata": "^1.14.2-beta.2", "@injectivelabs/ts-types": "^1.14.1", "@injectivelabs/utils": "^1.14.2-beta.0", "@metamask/eth-sig-util": "^4.0.0", diff --git a/packages/sdk-ui-ts/package.json b/packages/sdk-ui-ts/package.json index 6d3c1cde8..1f8c1ac8c 100644 --- a/packages/sdk-ui-ts/package.json +++ b/packages/sdk-ui-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/sdk-ui-ts", "description": "SDK in TypeScript for building Injective UI applications in a browser environment.", - "version": "1.14.2-beta.2", + "version": "1.14.2-beta.3", "sideEffects": false, "license": "Apache-2.0", "author": { @@ -38,8 +38,8 @@ "@injectivelabs/contracts": "^1.14.2-beta.0", "@injectivelabs/exceptions": "^1.14.2-beta.0", "@injectivelabs/networks": "^1.14.2-beta.0", - "@injectivelabs/sdk-ts": "^1.14.2-beta.1", - "@injectivelabs/token-metadata": "^1.14.2-beta.1", + "@injectivelabs/sdk-ts": "^1.14.2-beta.2", + "@injectivelabs/token-metadata": "^1.14.2-beta.2", "@injectivelabs/token-utils": "^1.14.2-beta.0", "@injectivelabs/ts-types": "^1.14.1", "@injectivelabs/utils": "^1.14.2-beta.0", diff --git a/packages/token-metadata/package.json b/packages/token-metadata/package.json index 3a0961de6..9e5f9f4c1 100644 --- a/packages/token-metadata/package.json +++ b/packages/token-metadata/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/token-metadata", "description": "ERC20 token metadata. Name, symbol, decimals, etc.", - "version": "1.14.2-beta.1", + "version": "1.14.2-beta.2", "sideEffects": false, "license": "Apache-2.0", "author": { diff --git a/packages/wallet-ts/package.json b/packages/wallet-ts/package.json index 5460a728c..b5e8e1dca 100644 --- a/packages/wallet-ts/package.json +++ b/packages/wallet-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/wallet-ts", "description": "A convenient way to use and interact with different types of wallets on Injective.", - "version": "1.14.2-beta.1", + "version": "1.14.2-beta.2", "sideEffects": false, "author": { "name": "Bojan Angjelkoski", @@ -39,7 +39,7 @@ "@ethereumjs/tx": "^4.1.1", "@injectivelabs/exceptions": "^1.14.2-beta.0", "@injectivelabs/networks": "^1.14.2-beta.0", - "@injectivelabs/sdk-ts": "^1.14.2-beta.1", + "@injectivelabs/sdk-ts": "^1.14.2-beta.2", "@injectivelabs/ts-types": "^1.14.1", "@injectivelabs/utils": "^1.14.2-beta.0", "@keplr-wallet/cosmos": "^0.11.58", From 59f5f5a2e5ea15e9eea58a40cdc1c31852562bfb Mon Sep 17 00:00:00 2001 From: Bojan Angjelkoski Date: Mon, 30 Oct 2023 12:39:18 -0400 Subject: [PATCH 10/40] feat: added messages to contract response --- .../indexer/rest/IndexerRestExplorerApi.ts | 53 +++++++++++++++++++ .../IndexerRestExplorerTransformer.ts | 40 ++++++++++++-- .../src/client/indexer/types/explorer-rest.ts | 9 ++-- .../src/client/indexer/types/explorer.ts | 12 +++++ 4 files changed, 106 insertions(+), 8 deletions(-) diff --git a/packages/sdk-ts/src/client/indexer/rest/IndexerRestExplorerApi.ts b/packages/sdk-ts/src/client/indexer/rest/IndexerRestExplorerApi.ts index 5b505455a..740dc34c1 100644 --- a/packages/sdk-ts/src/client/indexer/rest/IndexerRestExplorerApi.ts +++ b/packages/sdk-ts/src/client/indexer/rest/IndexerRestExplorerApi.ts @@ -496,6 +496,59 @@ export class IndexerRestExplorerApi extends BaseRestConsumer { } } + async fetchContractTransactionsWithMessages({ + contractAddress, + params, + }: { + contractAddress: string + params?: { + fromNumber?: number + limit?: number + toNumber?: number + skip?: number + } + }): Promise<{ paging: Paging; transactions: ContractTransaction[] }> { + const endpoint = `/contractTxs/${contractAddress}` + + try { + const { fromNumber, limit, skip, toNumber } = params || { limit: 12 } + + const response = await this.retry< + ExplorerApiResponseWithPagination< + ContractTransactionExplorerApiResponse[] + > + >(() => + this.get(endpoint, { + skip, + limit, + to_number: toNumber, + from_number: fromNumber, + }), + ) + + const { paging, data } = response.data + + return { + paging, + transactions: data + ? data.map( + IndexerRestExplorerTransformer.contractTransactionToExplorerContractTransaction, + ) + : [], + } + } catch (e: unknown) { + if (e instanceof HttpRequestException) { + throw e + } + + throw new HttpRequestException(new Error((e as any).message), { + code: UnspecifiedErrorCode, + context: `${this.endpoint}/${endpoint}`, + contextModule: IndexerModule.Explorer, + }) + } + } + async fetchWasmCode(codeId: number): Promise { const endpoint = `/wasm/codes/${codeId}` diff --git a/packages/sdk-ts/src/client/indexer/transformers/IndexerRestExplorerTransformer.ts b/packages/sdk-ts/src/client/indexer/transformers/IndexerRestExplorerTransformer.ts index 28824d14f..bb73a21f6 100644 --- a/packages/sdk-ts/src/client/indexer/transformers/IndexerRestExplorerTransformer.ts +++ b/packages/sdk-ts/src/client/indexer/transformers/IndexerRestExplorerTransformer.ts @@ -1,5 +1,9 @@ import { BigNumberInBase, BigNumberInWei } from '@injectivelabs/utils' -import { Block, ExplorerValidator } from '../types/explorer' +import { + Block, + ContractTransactionWithMessages, + ExplorerValidator, +} from '../types/explorer' import { TokenType } from '@injectivelabs/token-metadata' import { BaseTransaction, @@ -38,11 +42,13 @@ const getContractTransactionAmount = ( return ZERO_IN_BASE } - if (!msg.transfer) { + const msgObj = typeof msg === 'string' ? JSON.parse(msg) : msg + + if (!msgObj.transfer) { return ZERO_IN_BASE } - return new BigNumberInWei(msg.transfer.amount).toBase() + return new BigNumberInWei(msgObj.transfer.amount).toBase() } const parseCW20Message = (jsonObject: string): CW20Message | undefined => { @@ -220,6 +226,34 @@ export class IndexerRestExplorerTransformer { } } + static contractTransactionToExplorerContractTransactionWithMessages( + transaction: ContractTransactionExplorerApiResponse, + ): ContractTransactionWithMessages { + return { + txHash: transaction.hash, + code: transaction.code, + height: transaction.block_number, + time: transaction.block_unix_timestamp, + type: transaction.messages[0].type, + fee: transaction.gas_fee.amount + ? new BigNumberInWei(transaction.gas_fee.amount[0].amount).toBase() + : ZERO_IN_BASE, + amount: getContractTransactionAmount(transaction), + messages: (transaction.messages || []).map((message) => { + return { + type: message.type, + value: { + ...message.value, + msg: + typeof message.value.msg === 'string' + ? (JSON.parse(message.value.msg) as Record) + : message.value.msg, + }, + } + }), + } + } + static wasmCodeToExplorerWasmCode( wasmCode: WasmCodeExplorerApiResponse, ): WasmCode { diff --git a/packages/sdk-ts/src/client/indexer/types/explorer-rest.ts b/packages/sdk-ts/src/client/indexer/types/explorer-rest.ts index 445f9bac6..c9e613bf8 100644 --- a/packages/sdk-ts/src/client/indexer/types/explorer-rest.ts +++ b/packages/sdk-ts/src/client/indexer/types/explorer-rest.ts @@ -195,11 +195,10 @@ export interface ContractTransactionExplorerApiResponse { { type: string value: { - msg: { - transfer: { - amount: number - } - } + sender: string + contract: string + msg: Record + funds: string } }, ] diff --git a/packages/sdk-ts/src/client/indexer/types/explorer.ts b/packages/sdk-ts/src/client/indexer/types/explorer.ts index c73746636..541e83809 100644 --- a/packages/sdk-ts/src/client/indexer/types/explorer.ts +++ b/packages/sdk-ts/src/client/indexer/types/explorer.ts @@ -257,6 +257,18 @@ export interface ContractTransaction { time: number } +export interface ContractTransactionWithMessages extends ContractTransaction { + messages: Array<{ + type: string + value: { + sender: string + contract: string + msg: Record + funds: string + } + }> +} + export interface WasmCode { id: number txHash: string From 3c9cbc5ecafcb892ed198440181b25bb5b1dc54f Mon Sep 17 00:00:00 2001 From: bangjelkoski Date: Mon, 30 Oct 2023 16:44:11 +0000 Subject: [PATCH 11/40] chore(release): publish - @injectivelabs/bridge-ts@1.14.2-beta.3 - @injectivelabs/sdk-ts@1.14.2-beta.3 - @injectivelabs/sdk-ui-ts@1.14.2-beta.4 - @injectivelabs/wallet-ts@1.14.2-beta.3 --- packages/bridge-ts/package.json | 4 ++-- packages/sdk-ts/package.json | 2 +- packages/sdk-ui-ts/package.json | 4 ++-- packages/wallet-ts/package.json | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/bridge-ts/package.json b/packages/bridge-ts/package.json index c602dac99..9b45c2168 100644 --- a/packages/bridge-ts/package.json +++ b/packages/bridge-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/bridge-ts", "description": "Bridge utilities and abstractions in TypeScript to be used in Injective products", - "version": "1.14.2-beta.2", + "version": "1.14.2-beta.3", "sideEffects": false, "author": { "name": "Bojan Angjelkoski", @@ -34,7 +34,7 @@ "@axelar-network/axelarjs-sdk": "^0.11.7", "@injectivelabs/exceptions": "^1.14.2-beta.0", "@injectivelabs/networks": "^1.14.2-beta.0", - "@injectivelabs/sdk-ts": "^1.14.2-beta.2", + "@injectivelabs/sdk-ts": "^1.14.2-beta.3", "@injectivelabs/ts-types": "^1.14.1", "@injectivelabs/utils": "^1.14.2-beta.0", "@injectivelabs/wormhole-sdk": "^1.12.0-beta.0", diff --git a/packages/sdk-ts/package.json b/packages/sdk-ts/package.json index 3520ea258..e07efeffa 100644 --- a/packages/sdk-ts/package.json +++ b/packages/sdk-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/sdk-ts", "description": "SDK in TypeScript for building Injective applications in a browser, node, and react native environment.", - "version": "1.14.2-beta.2", + "version": "1.14.2-beta.3", "sideEffects": false, "license": "Apache-2.0", "author": { diff --git a/packages/sdk-ui-ts/package.json b/packages/sdk-ui-ts/package.json index 1f8c1ac8c..7799d2f9f 100644 --- a/packages/sdk-ui-ts/package.json +++ b/packages/sdk-ui-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/sdk-ui-ts", "description": "SDK in TypeScript for building Injective UI applications in a browser environment.", - "version": "1.14.2-beta.3", + "version": "1.14.2-beta.4", "sideEffects": false, "license": "Apache-2.0", "author": { @@ -38,7 +38,7 @@ "@injectivelabs/contracts": "^1.14.2-beta.0", "@injectivelabs/exceptions": "^1.14.2-beta.0", "@injectivelabs/networks": "^1.14.2-beta.0", - "@injectivelabs/sdk-ts": "^1.14.2-beta.2", + "@injectivelabs/sdk-ts": "^1.14.2-beta.3", "@injectivelabs/token-metadata": "^1.14.2-beta.2", "@injectivelabs/token-utils": "^1.14.2-beta.0", "@injectivelabs/ts-types": "^1.14.1", diff --git a/packages/wallet-ts/package.json b/packages/wallet-ts/package.json index b5e8e1dca..230aa1d38 100644 --- a/packages/wallet-ts/package.json +++ b/packages/wallet-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/wallet-ts", "description": "A convenient way to use and interact with different types of wallets on Injective.", - "version": "1.14.2-beta.2", + "version": "1.14.2-beta.3", "sideEffects": false, "author": { "name": "Bojan Angjelkoski", @@ -39,7 +39,7 @@ "@ethereumjs/tx": "^4.1.1", "@injectivelabs/exceptions": "^1.14.2-beta.0", "@injectivelabs/networks": "^1.14.2-beta.0", - "@injectivelabs/sdk-ts": "^1.14.2-beta.2", + "@injectivelabs/sdk-ts": "^1.14.2-beta.3", "@injectivelabs/ts-types": "^1.14.1", "@injectivelabs/utils": "^1.14.2-beta.0", "@keplr-wallet/cosmos": "^0.11.58", From 60336de11fd44d1d732cad95545068ad13c7b581 Mon Sep 17 00:00:00 2001 From: Bojan Angjelkoski Date: Mon, 30 Oct 2023 14:24:23 -0400 Subject: [PATCH 12/40] chore: minor --- .../src/client/indexer/rest/IndexerRestExplorerApi.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/sdk-ts/src/client/indexer/rest/IndexerRestExplorerApi.ts b/packages/sdk-ts/src/client/indexer/rest/IndexerRestExplorerApi.ts index 740dc34c1..b1969c9fc 100644 --- a/packages/sdk-ts/src/client/indexer/rest/IndexerRestExplorerApi.ts +++ b/packages/sdk-ts/src/client/indexer/rest/IndexerRestExplorerApi.ts @@ -22,6 +22,7 @@ import { ContractTransaction, ExplorerCW20BalanceWithToken, BankTransferFromExplorerApiResponse, + ContractTransactionWithMessages, } from '../types/explorer' import { HttpRequestException, @@ -507,7 +508,10 @@ export class IndexerRestExplorerApi extends BaseRestConsumer { toNumber?: number skip?: number } - }): Promise<{ paging: Paging; transactions: ContractTransaction[] }> { + }): Promise<{ + paging: Paging + transactions: ContractTransactionWithMessages[] + }> { const endpoint = `/contractTxs/${contractAddress}` try { @@ -532,7 +536,7 @@ export class IndexerRestExplorerApi extends BaseRestConsumer { paging, transactions: data ? data.map( - IndexerRestExplorerTransformer.contractTransactionToExplorerContractTransaction, + IndexerRestExplorerTransformer.contractTransactionToExplorerContractTransactionWithMessages, ) : [], } From 999404b12195c98534489faa868c302d81d3ca70 Mon Sep 17 00:00:00 2001 From: bangjelkoski Date: Mon, 30 Oct 2023 18:28:35 +0000 Subject: [PATCH 13/40] chore(release): publish - @injectivelabs/bridge-ts@1.14.2-beta.4 - @injectivelabs/sdk-ts@1.14.2-beta.4 - @injectivelabs/sdk-ui-ts@1.14.2-beta.5 - @injectivelabs/wallet-ts@1.14.2-beta.4 --- packages/bridge-ts/package.json | 4 ++-- packages/sdk-ts/package.json | 2 +- packages/sdk-ui-ts/package.json | 4 ++-- packages/wallet-ts/package.json | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/bridge-ts/package.json b/packages/bridge-ts/package.json index 9b45c2168..b36f5661a 100644 --- a/packages/bridge-ts/package.json +++ b/packages/bridge-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/bridge-ts", "description": "Bridge utilities and abstractions in TypeScript to be used in Injective products", - "version": "1.14.2-beta.3", + "version": "1.14.2-beta.4", "sideEffects": false, "author": { "name": "Bojan Angjelkoski", @@ -34,7 +34,7 @@ "@axelar-network/axelarjs-sdk": "^0.11.7", "@injectivelabs/exceptions": "^1.14.2-beta.0", "@injectivelabs/networks": "^1.14.2-beta.0", - "@injectivelabs/sdk-ts": "^1.14.2-beta.3", + "@injectivelabs/sdk-ts": "^1.14.2-beta.4", "@injectivelabs/ts-types": "^1.14.1", "@injectivelabs/utils": "^1.14.2-beta.0", "@injectivelabs/wormhole-sdk": "^1.12.0-beta.0", diff --git a/packages/sdk-ts/package.json b/packages/sdk-ts/package.json index e07efeffa..d7b6d0a31 100644 --- a/packages/sdk-ts/package.json +++ b/packages/sdk-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/sdk-ts", "description": "SDK in TypeScript for building Injective applications in a browser, node, and react native environment.", - "version": "1.14.2-beta.3", + "version": "1.14.2-beta.4", "sideEffects": false, "license": "Apache-2.0", "author": { diff --git a/packages/sdk-ui-ts/package.json b/packages/sdk-ui-ts/package.json index 7799d2f9f..2d7691777 100644 --- a/packages/sdk-ui-ts/package.json +++ b/packages/sdk-ui-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/sdk-ui-ts", "description": "SDK in TypeScript for building Injective UI applications in a browser environment.", - "version": "1.14.2-beta.4", + "version": "1.14.2-beta.5", "sideEffects": false, "license": "Apache-2.0", "author": { @@ -38,7 +38,7 @@ "@injectivelabs/contracts": "^1.14.2-beta.0", "@injectivelabs/exceptions": "^1.14.2-beta.0", "@injectivelabs/networks": "^1.14.2-beta.0", - "@injectivelabs/sdk-ts": "^1.14.2-beta.3", + "@injectivelabs/sdk-ts": "^1.14.2-beta.4", "@injectivelabs/token-metadata": "^1.14.2-beta.2", "@injectivelabs/token-utils": "^1.14.2-beta.0", "@injectivelabs/ts-types": "^1.14.1", diff --git a/packages/wallet-ts/package.json b/packages/wallet-ts/package.json index 230aa1d38..8886e87ef 100644 --- a/packages/wallet-ts/package.json +++ b/packages/wallet-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/wallet-ts", "description": "A convenient way to use and interact with different types of wallets on Injective.", - "version": "1.14.2-beta.3", + "version": "1.14.2-beta.4", "sideEffects": false, "author": { "name": "Bojan Angjelkoski", @@ -39,7 +39,7 @@ "@ethereumjs/tx": "^4.1.1", "@injectivelabs/exceptions": "^1.14.2-beta.0", "@injectivelabs/networks": "^1.14.2-beta.0", - "@injectivelabs/sdk-ts": "^1.14.2-beta.3", + "@injectivelabs/sdk-ts": "^1.14.2-beta.4", "@injectivelabs/ts-types": "^1.14.1", "@injectivelabs/utils": "^1.14.2-beta.0", "@keplr-wallet/cosmos": "^0.11.58", From 51c2db0a56c3816c6acaa7848da126b772adc10c Mon Sep 17 00:00:00 2001 From: Bojan Angjelkoski Date: Mon, 30 Oct 2023 19:10:07 -0400 Subject: [PATCH 14/40] chore: added usdy --- packages/token-metadata/src/images/usdy.webp | Bin 0 -> 942 bytes .../token-metadata/src/tokens/tokens/tokens.ts | 14 ++++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 packages/token-metadata/src/images/usdy.webp diff --git a/packages/token-metadata/src/images/usdy.webp b/packages/token-metadata/src/images/usdy.webp new file mode 100644 index 0000000000000000000000000000000000000000..fc80b80e365d38a28e3b9d1e4c3ca722302f5267 GIT binary patch literal 942 zcmV;f15x}^Nk&Gd0{{S5MM6+kP&iDQ0{{RoKfn(F&jq24BuP>%f5y90>AeSp!?tY$ zN&9bn|BZ>DZQF!D<$v}33kZq_F#~}FB`K5yfIuZ5Bmj4FZ<5dNQ{LaRo8kVm zQ4k=-=Xaj}0Wh9-?v0X&y%{!k1Iac@a&KT85)`tVZSJtyNCq&rvHYtRiBcp4wn;!S zl-(psv16N!L?qjg1eC&166GcTWdAn-q;K1A$juwuwr$(CZ9A!LyRq%$v}ey`y0h7T zubJ64ryu(zqW=usHc~X{>@nZK8_54os9G(m=)XB16DT2c@8114YiDZ4e+3g3J`hTT z@1Zu{2^C|@0^__^Sm}wbKL2fB{QVM9DUvrC5x&R_FipQhC`XqD3<0YV zi3)SEHpY2B}Q_}PNRP#FD7=Y&;k;he+(*d7Hm-mCAK;NVIrL0Gw){>|JU#KelhD=>aG`oec+2 zaYi|a40!;6o>NxK;GI1teM|%3^_*1#NLW)59-4}P3_ZQzS%FHo9RR%^?XV%>{YK;y zIIoIqA;bThK$@SCCR;^MbUx47;?We}0_$=L{(f)^iy^$qeMAFw(s!$ zZ-w`bb@g?Vs-5nddKui~hAqSZ2!1V&I726HEz2d8yefH{_MKho zW|>wvIl0iX*)Fbmo6v*SE5RhJa`@qk7Y~Ok!}!(>LR1I69*|*d=jv*wtXq8tDt-ZT zeka`&3jRmf6%w6&(_~OxOwxzn{{R1 Q!heNIR7;YqZ~Bi30ZPcc;{X5v literal 0 HcmV?d00001 diff --git a/packages/token-metadata/src/tokens/tokens/tokens.ts b/packages/token-metadata/src/tokens/tokens/tokens.ts index fe0855ed9..0a11c6002 100644 --- a/packages/token-metadata/src/tokens/tokens/tokens.ts +++ b/packages/token-metadata/src/tokens/tokens/tokens.ts @@ -1862,4 +1862,18 @@ export default { coinGeckoId: '', tokenType: TokenType.TokenFactory, }, + + USDY: { + name: 'Ondo US Dollar Yield', + symbol: 'USDY', + decimals: 18, + logo: 'ondo.webp', + coinGeckoId: '', + + erc20: { + decimals: 18, + address: '0x96F6eF951840721AdBF46Ac996b59E0235CB985C', + tokenType: TokenType.Erc20, + }, + }, } as Record From 6634d90778ded354c394e2108bf8331b3d112f25 Mon Sep 17 00:00:00 2001 From: bangjelkoski Date: Mon, 30 Oct 2023 23:14:28 +0000 Subject: [PATCH 15/40] chore(release): publish - @injectivelabs/bridge-ts@1.14.2-beta.5 - @injectivelabs/sdk-ts@1.14.2-beta.5 - @injectivelabs/sdk-ui-ts@1.14.2-beta.6 - @injectivelabs/token-metadata@1.14.2-beta.3 - @injectivelabs/wallet-ts@1.14.2-beta.5 --- packages/bridge-ts/package.json | 4 ++-- packages/sdk-ts/package.json | 4 ++-- packages/sdk-ui-ts/package.json | 6 +++--- packages/token-metadata/package.json | 2 +- packages/wallet-ts/package.json | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/bridge-ts/package.json b/packages/bridge-ts/package.json index b36f5661a..f255c3581 100644 --- a/packages/bridge-ts/package.json +++ b/packages/bridge-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/bridge-ts", "description": "Bridge utilities and abstractions in TypeScript to be used in Injective products", - "version": "1.14.2-beta.4", + "version": "1.14.2-beta.5", "sideEffects": false, "author": { "name": "Bojan Angjelkoski", @@ -34,7 +34,7 @@ "@axelar-network/axelarjs-sdk": "^0.11.7", "@injectivelabs/exceptions": "^1.14.2-beta.0", "@injectivelabs/networks": "^1.14.2-beta.0", - "@injectivelabs/sdk-ts": "^1.14.2-beta.4", + "@injectivelabs/sdk-ts": "^1.14.2-beta.5", "@injectivelabs/ts-types": "^1.14.1", "@injectivelabs/utils": "^1.14.2-beta.0", "@injectivelabs/wormhole-sdk": "^1.12.0-beta.0", diff --git a/packages/sdk-ts/package.json b/packages/sdk-ts/package.json index d7b6d0a31..e12f7ba4f 100644 --- a/packages/sdk-ts/package.json +++ b/packages/sdk-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/sdk-ts", "description": "SDK in TypeScript for building Injective applications in a browser, node, and react native environment.", - "version": "1.14.2-beta.4", + "version": "1.14.2-beta.5", "sideEffects": false, "license": "Apache-2.0", "author": { @@ -48,7 +48,7 @@ "@injectivelabs/mito-proto-ts": "1.0.50", "@injectivelabs/networks": "^1.14.2-beta.0", "@injectivelabs/test-utils": "^1.14.1", - "@injectivelabs/token-metadata": "^1.14.2-beta.2", + "@injectivelabs/token-metadata": "^1.14.2-beta.3", "@injectivelabs/ts-types": "^1.14.1", "@injectivelabs/utils": "^1.14.2-beta.0", "@metamask/eth-sig-util": "^4.0.0", diff --git a/packages/sdk-ui-ts/package.json b/packages/sdk-ui-ts/package.json index 2d7691777..85ad3067d 100644 --- a/packages/sdk-ui-ts/package.json +++ b/packages/sdk-ui-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/sdk-ui-ts", "description": "SDK in TypeScript for building Injective UI applications in a browser environment.", - "version": "1.14.2-beta.5", + "version": "1.14.2-beta.6", "sideEffects": false, "license": "Apache-2.0", "author": { @@ -38,8 +38,8 @@ "@injectivelabs/contracts": "^1.14.2-beta.0", "@injectivelabs/exceptions": "^1.14.2-beta.0", "@injectivelabs/networks": "^1.14.2-beta.0", - "@injectivelabs/sdk-ts": "^1.14.2-beta.4", - "@injectivelabs/token-metadata": "^1.14.2-beta.2", + "@injectivelabs/sdk-ts": "^1.14.2-beta.5", + "@injectivelabs/token-metadata": "^1.14.2-beta.3", "@injectivelabs/token-utils": "^1.14.2-beta.0", "@injectivelabs/ts-types": "^1.14.1", "@injectivelabs/utils": "^1.14.2-beta.0", diff --git a/packages/token-metadata/package.json b/packages/token-metadata/package.json index 9e5f9f4c1..e8426a818 100644 --- a/packages/token-metadata/package.json +++ b/packages/token-metadata/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/token-metadata", "description": "ERC20 token metadata. Name, symbol, decimals, etc.", - "version": "1.14.2-beta.2", + "version": "1.14.2-beta.3", "sideEffects": false, "license": "Apache-2.0", "author": { diff --git a/packages/wallet-ts/package.json b/packages/wallet-ts/package.json index 8886e87ef..c8f6fc270 100644 --- a/packages/wallet-ts/package.json +++ b/packages/wallet-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/wallet-ts", "description": "A convenient way to use and interact with different types of wallets on Injective.", - "version": "1.14.2-beta.4", + "version": "1.14.2-beta.5", "sideEffects": false, "author": { "name": "Bojan Angjelkoski", @@ -39,7 +39,7 @@ "@ethereumjs/tx": "^4.1.1", "@injectivelabs/exceptions": "^1.14.2-beta.0", "@injectivelabs/networks": "^1.14.2-beta.0", - "@injectivelabs/sdk-ts": "^1.14.2-beta.4", + "@injectivelabs/sdk-ts": "^1.14.2-beta.5", "@injectivelabs/ts-types": "^1.14.1", "@injectivelabs/utils": "^1.14.2-beta.0", "@keplr-wallet/cosmos": "^0.11.58", From 7fc815014abfe57463e629a2dc10991453dd4c96 Mon Sep 17 00:00:00 2001 From: Bojan Angjelkoski Date: Mon, 30 Oct 2023 19:22:19 -0400 Subject: [PATCH 16/40] chore: minor --- packages/token-metadata/src/tokens/tokens/tokens.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/token-metadata/src/tokens/tokens/tokens.ts b/packages/token-metadata/src/tokens/tokens/tokens.ts index 0a11c6002..11aeb40e1 100644 --- a/packages/token-metadata/src/tokens/tokens/tokens.ts +++ b/packages/token-metadata/src/tokens/tokens/tokens.ts @@ -1867,7 +1867,7 @@ export default { name: 'Ondo US Dollar Yield', symbol: 'USDY', decimals: 18, - logo: 'ondo.webp', + logo: 'usdy.webp', coinGeckoId: '', erc20: { From 2d36f3c496c50a08e50842031fe99131718c3155 Mon Sep 17 00:00:00 2001 From: bangjelkoski Date: Mon, 30 Oct 2023 23:27:37 +0000 Subject: [PATCH 17/40] chore(release): publish - @injectivelabs/bridge-ts@1.14.2-beta.6 - @injectivelabs/sdk-ts@1.14.2-beta.6 - @injectivelabs/sdk-ui-ts@1.14.2-beta.7 - @injectivelabs/token-metadata@1.14.2-beta.4 - @injectivelabs/wallet-ts@1.14.2-beta.6 --- packages/bridge-ts/package.json | 4 ++-- packages/sdk-ts/package.json | 4 ++-- packages/sdk-ui-ts/package.json | 6 +++--- packages/token-metadata/package.json | 2 +- packages/wallet-ts/package.json | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/bridge-ts/package.json b/packages/bridge-ts/package.json index f255c3581..7e99b1ff3 100644 --- a/packages/bridge-ts/package.json +++ b/packages/bridge-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/bridge-ts", "description": "Bridge utilities and abstractions in TypeScript to be used in Injective products", - "version": "1.14.2-beta.5", + "version": "1.14.2-beta.6", "sideEffects": false, "author": { "name": "Bojan Angjelkoski", @@ -34,7 +34,7 @@ "@axelar-network/axelarjs-sdk": "^0.11.7", "@injectivelabs/exceptions": "^1.14.2-beta.0", "@injectivelabs/networks": "^1.14.2-beta.0", - "@injectivelabs/sdk-ts": "^1.14.2-beta.5", + "@injectivelabs/sdk-ts": "^1.14.2-beta.6", "@injectivelabs/ts-types": "^1.14.1", "@injectivelabs/utils": "^1.14.2-beta.0", "@injectivelabs/wormhole-sdk": "^1.12.0-beta.0", diff --git a/packages/sdk-ts/package.json b/packages/sdk-ts/package.json index e12f7ba4f..2862bd185 100644 --- a/packages/sdk-ts/package.json +++ b/packages/sdk-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/sdk-ts", "description": "SDK in TypeScript for building Injective applications in a browser, node, and react native environment.", - "version": "1.14.2-beta.5", + "version": "1.14.2-beta.6", "sideEffects": false, "license": "Apache-2.0", "author": { @@ -48,7 +48,7 @@ "@injectivelabs/mito-proto-ts": "1.0.50", "@injectivelabs/networks": "^1.14.2-beta.0", "@injectivelabs/test-utils": "^1.14.1", - "@injectivelabs/token-metadata": "^1.14.2-beta.3", + "@injectivelabs/token-metadata": "^1.14.2-beta.4", "@injectivelabs/ts-types": "^1.14.1", "@injectivelabs/utils": "^1.14.2-beta.0", "@metamask/eth-sig-util": "^4.0.0", diff --git a/packages/sdk-ui-ts/package.json b/packages/sdk-ui-ts/package.json index 85ad3067d..2f6e07e7d 100644 --- a/packages/sdk-ui-ts/package.json +++ b/packages/sdk-ui-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/sdk-ui-ts", "description": "SDK in TypeScript for building Injective UI applications in a browser environment.", - "version": "1.14.2-beta.6", + "version": "1.14.2-beta.7", "sideEffects": false, "license": "Apache-2.0", "author": { @@ -38,8 +38,8 @@ "@injectivelabs/contracts": "^1.14.2-beta.0", "@injectivelabs/exceptions": "^1.14.2-beta.0", "@injectivelabs/networks": "^1.14.2-beta.0", - "@injectivelabs/sdk-ts": "^1.14.2-beta.5", - "@injectivelabs/token-metadata": "^1.14.2-beta.3", + "@injectivelabs/sdk-ts": "^1.14.2-beta.6", + "@injectivelabs/token-metadata": "^1.14.2-beta.4", "@injectivelabs/token-utils": "^1.14.2-beta.0", "@injectivelabs/ts-types": "^1.14.1", "@injectivelabs/utils": "^1.14.2-beta.0", diff --git a/packages/token-metadata/package.json b/packages/token-metadata/package.json index e8426a818..39da95d56 100644 --- a/packages/token-metadata/package.json +++ b/packages/token-metadata/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/token-metadata", "description": "ERC20 token metadata. Name, symbol, decimals, etc.", - "version": "1.14.2-beta.3", + "version": "1.14.2-beta.4", "sideEffects": false, "license": "Apache-2.0", "author": { diff --git a/packages/wallet-ts/package.json b/packages/wallet-ts/package.json index c8f6fc270..a231123c2 100644 --- a/packages/wallet-ts/package.json +++ b/packages/wallet-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/wallet-ts", "description": "A convenient way to use and interact with different types of wallets on Injective.", - "version": "1.14.2-beta.5", + "version": "1.14.2-beta.6", "sideEffects": false, "author": { "name": "Bojan Angjelkoski", @@ -39,7 +39,7 @@ "@ethereumjs/tx": "^4.1.1", "@injectivelabs/exceptions": "^1.14.2-beta.0", "@injectivelabs/networks": "^1.14.2-beta.0", - "@injectivelabs/sdk-ts": "^1.14.2-beta.5", + "@injectivelabs/sdk-ts": "^1.14.2-beta.6", "@injectivelabs/ts-types": "^1.14.1", "@injectivelabs/utils": "^1.14.2-beta.0", "@keplr-wallet/cosmos": "^0.11.58", From bc0e75495958e668dc55bcf6162b78fc94023045 Mon Sep 17 00:00:00 2001 From: shane-moore Date: Mon, 30 Oct 2023 23:13:48 -0700 Subject: [PATCH 18/40] chore: celestia bridge --- packages/sdk-ui-ts/src/types/bridge.ts | 2 ++ packages/sdk-ui-ts/src/utils/bridge.ts | 21 +++++++++++++++++++ packages/token-metadata/src/ibc/channels.ts | 4 ++++ .../src/tokens/tokens/tokens.ts | 9 ++++++++ packages/ts-types/src/cosmos.ts | 1 + .../src/utils/wallets/cosmos/endpoints.ts | 5 +++++ 6 files changed, 42 insertions(+) diff --git a/packages/sdk-ui-ts/src/types/bridge.ts b/packages/sdk-ui-ts/src/types/bridge.ts index b35abb330..fbd13bce9 100644 --- a/packages/sdk-ui-ts/src/types/bridge.ts +++ b/packages/sdk-ui-ts/src/types/bridge.ts @@ -32,6 +32,7 @@ export enum BridgingNetwork { Kava = 'kava', Oraichain = 'oraichain', Noble = 'noble', + Celestia = 'celestia', } export const MintScanExplorerUrl = { @@ -48,6 +49,7 @@ export const MintScanExplorerUrl = { [BridgingNetwork.Canto]: 'canto', [BridgingNetwork.Kava]: 'kava', [BridgingNetwork.Noble]: 'noble', + [BridgingNetwork.Celestia]: 'celestia', } as Record export enum BridgeTransactionState { diff --git a/packages/sdk-ui-ts/src/utils/bridge.ts b/packages/sdk-ui-ts/src/utils/bridge.ts index b3cc4cdba..152e9c0e6 100644 --- a/packages/sdk-ui-ts/src/utils/bridge.ts +++ b/packages/sdk-ui-ts/src/utils/bridge.ts @@ -50,6 +50,7 @@ export const KeplrNetworks = [ BridgingNetwork.Kava, BridgingNetwork.Oraichain, BridgingNetwork.Noble, + BridgingNetwork.Celestia, ] export const LeapNetworks = [ @@ -63,6 +64,7 @@ export const LeapNetworks = [ BridgingNetwork.Canto, BridgingNetwork.Kava, BridgingNetwork.Noble, + BridgingNetwork.Celestia, ] export const CosmostationNetworks = [ @@ -80,6 +82,7 @@ export const CosmostationNetworks = [ BridgingNetwork.Canto, BridgingNetwork.Kava, BridgingNetwork.Noble, + BridgingNetwork.Celestia, ] export const CosmosNetworks = [ @@ -98,6 +101,7 @@ export const CosmosNetworks = [ BridgingNetwork.Kava, BridgingNetwork.Oraichain, BridgingNetwork.Noble, + BridgingNetwork.Celestia, ] export const EvmWormholeNetworks = [ @@ -275,6 +279,13 @@ export const tokenDenomsPerNetwork = [ ], symbols: ['usdcnb'], }, + { + network: BridgingNetwork.Celestia, + denoms: [ + 'ibc/F51BB221BAA275F2EBF654F70B005627D7E713AFFD6D86AFD1E43CAA886149F4', + ], + symbols: ['utia'], + }, ] as NetworkConfig[] export const cosmosChainTokenMetaMap = { @@ -450,6 +461,12 @@ export const cosmosChainTokenMetaMap = { denom: 'ibc/2CBC2EA121AE42563B08028466F37B600F2D7D4282342DE938283CC3FB2BC00E', }, + [CosmosChainId.Celestia]: { + ...tokenMetaUtils.getMetaBySymbol('TIA'), + tokenType: TokenType.Ibc, + denom: + 'ibc/F51BB221BAA275F2EBF654F70B005627D7E713AFFD6D86AFD1E43CAA886149F4', + }, } as Record export const ibcHashToNativeInjPerNetwork = { @@ -656,6 +673,10 @@ export const getNetworkFromAddress = (sender: string): BridgingNetwork => { return BridgingNetwork.Noble } + if (sender.startsWith('celestia')) { + return BridgingNetwork.Celestia + } + return BridgingNetwork.CosmosHub } diff --git a/packages/token-metadata/src/ibc/channels.ts b/packages/token-metadata/src/ibc/channels.ts index 95bc21ea8..de8e13b42 100644 --- a/packages/token-metadata/src/ibc/channels.ts +++ b/packages/token-metadata/src/ibc/channels.ts @@ -15,6 +15,7 @@ export enum CanonicalChannelToDestinationChannel { Kava = 'channel-143', Oraichain = 'channel-147', Noble = 'channel-148', + Celestia = 'channel-152', } /** @@ -86,6 +87,7 @@ export const canonicalChannelsToChainList = [ { channelId: 'channel-122', chainA: 'Kava', chainB: 'Injective' }, { channelId: 'channel-146', chainA: 'Oraichain', chainB: 'Injective' }, { channelId: 'channel-31', chainA: 'Noble', chainB: 'Injective' }, + { channelId: 'channel-1', chainA: 'Celestia', chainB: 'Injective' }, { channelId: 'channel-1', chainA: 'Injective', chainB: 'CosmosHub' }, { channelId: 'channel-83', chainA: 'Injective', chainB: 'Evmos' }, { channelId: 'channel-8', chainA: 'Injective', chainB: 'Osmosis' }, @@ -106,6 +108,7 @@ export const canonicalChannelsToChainList = [ { channelId: 'channel-143', chainA: 'Injective', chainB: 'Kava' }, { channelId: 'channel-147', chainA: 'Injective', chainB: 'Oraichain' }, { channelId: 'channel-148', chainA: 'Injective', chainB: 'Noble' }, + { channelId: 'channel-152', chainA: 'Injective', chainB: 'Celestia' }, ] export default legacyCanonicalChannels @@ -134,6 +137,7 @@ export const canonicalChannelIds = [ 'channel-143', 'channel-147', 'channel-148', + 'channel-152', ] export const channelIbcDenomToBaseDenomMap = { diff --git a/packages/token-metadata/src/tokens/tokens/tokens.ts b/packages/token-metadata/src/tokens/tokens/tokens.ts index 11aeb40e1..b0f6cd6cf 100644 --- a/packages/token-metadata/src/tokens/tokens/tokens.ts +++ b/packages/token-metadata/src/tokens/tokens/tokens.ts @@ -1852,6 +1852,15 @@ export default { decimals: 6, logo: 'tia.webp', coinGeckoId: '', + ibc: { + decimals: 6, + isNative: true, + baseDenom: 'utia', + path: 'transfer/channel-152', + channelId: 'channel-152', + hash: 'F51BB221BAA275F2EBF654F70B005627D7E713AFFD6D86AFD1E43CAA886149F4', + tokenType: TokenType.Ibc, + }, }, TALIS: { diff --git a/packages/ts-types/src/cosmos.ts b/packages/ts-types/src/cosmos.ts index 2966e0977..4d2d1245e 100644 --- a/packages/ts-types/src/cosmos.ts +++ b/packages/ts-types/src/cosmos.ts @@ -22,6 +22,7 @@ export enum CosmosChainId { Kava = 'kava_2222-10', Oraichain = 'Oraichain', Noble = 'noble-1', + Celestia = 'celestia', } export enum TestnetCosmosChainId { diff --git a/packages/wallet-ts/src/utils/wallets/cosmos/endpoints.ts b/packages/wallet-ts/src/utils/wallets/cosmos/endpoints.ts index 455fff24a..57f2ebd51 100644 --- a/packages/wallet-ts/src/utils/wallets/cosmos/endpoints.ts +++ b/packages/wallet-ts/src/utils/wallets/cosmos/endpoints.ts @@ -116,6 +116,11 @@ export const getEndpointsFromChainId = ( rpc: 'https://rpc.cosmos.directory/noble', rest: 'https://rest.cosmos.directory/noble', } + case CosmosChainId.Celestia: + return { + rpc: 'https://rpc.cosmos.directory/celestia', + rest: 'https://rest.cosmos.directory/celestia', + } default: throw new GeneralException( new Error(`Endpoints for ${chainId} not found`), From 2056cd6bedeb53adfb6d9ba0b9e76f84183d0524 Mon Sep 17 00:00:00 2001 From: thomasRalee Date: Tue, 31 Oct 2023 18:17:23 +0800 Subject: [PATCH 19/40] fix: typo --- .../client/indexer/transformers/IndexerCampaignTransformer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/sdk-ts/src/client/indexer/transformers/IndexerCampaignTransformer.ts b/packages/sdk-ts/src/client/indexer/transformers/IndexerCampaignTransformer.ts index 65d4030ab..f12171ddf 100644 --- a/packages/sdk-ts/src/client/indexer/transformers/IndexerCampaignTransformer.ts +++ b/packages/sdk-ts/src/client/indexer/transformers/IndexerCampaignTransformer.ts @@ -38,7 +38,7 @@ export class IndexerCampaignTransformer { campaign: response.campaign ? IndexerCampaignTransformer.GrpcCampaignToCampaign(response.campaign) : undefined, - uses: response.users.map( + users: response.users.map( IndexerCampaignTransformer.GrpcCampaignUserToCampaignUser, ), paging: grpcPagingToPaging(response.paging), From c47a9ceaef77259575e34b49b85dc498c1b4f155 Mon Sep 17 00:00:00 2001 From: ThomasRalee Date: Tue, 31 Oct 2023 10:22:58 +0000 Subject: [PATCH 20/40] chore(release): publish - @injectivelabs/bridge-ts@1.14.2-beta.7 - @injectivelabs/sdk-ts@1.14.2-beta.7 - @injectivelabs/sdk-ui-ts@1.14.2-beta.8 - @injectivelabs/wallet-ts@1.14.2-beta.7 --- packages/bridge-ts/package.json | 4 ++-- packages/sdk-ts/package.json | 2 +- packages/sdk-ui-ts/package.json | 4 ++-- packages/wallet-ts/package.json | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/bridge-ts/package.json b/packages/bridge-ts/package.json index 7e99b1ff3..d9e268f91 100644 --- a/packages/bridge-ts/package.json +++ b/packages/bridge-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/bridge-ts", "description": "Bridge utilities and abstractions in TypeScript to be used in Injective products", - "version": "1.14.2-beta.6", + "version": "1.14.2-beta.7", "sideEffects": false, "author": { "name": "Bojan Angjelkoski", @@ -34,7 +34,7 @@ "@axelar-network/axelarjs-sdk": "^0.11.7", "@injectivelabs/exceptions": "^1.14.2-beta.0", "@injectivelabs/networks": "^1.14.2-beta.0", - "@injectivelabs/sdk-ts": "^1.14.2-beta.6", + "@injectivelabs/sdk-ts": "^1.14.2-beta.7", "@injectivelabs/ts-types": "^1.14.1", "@injectivelabs/utils": "^1.14.2-beta.0", "@injectivelabs/wormhole-sdk": "^1.12.0-beta.0", diff --git a/packages/sdk-ts/package.json b/packages/sdk-ts/package.json index 2862bd185..c647bb965 100644 --- a/packages/sdk-ts/package.json +++ b/packages/sdk-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/sdk-ts", "description": "SDK in TypeScript for building Injective applications in a browser, node, and react native environment.", - "version": "1.14.2-beta.6", + "version": "1.14.2-beta.7", "sideEffects": false, "license": "Apache-2.0", "author": { diff --git a/packages/sdk-ui-ts/package.json b/packages/sdk-ui-ts/package.json index 2f6e07e7d..33e063924 100644 --- a/packages/sdk-ui-ts/package.json +++ b/packages/sdk-ui-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/sdk-ui-ts", "description": "SDK in TypeScript for building Injective UI applications in a browser environment.", - "version": "1.14.2-beta.7", + "version": "1.14.2-beta.8", "sideEffects": false, "license": "Apache-2.0", "author": { @@ -38,7 +38,7 @@ "@injectivelabs/contracts": "^1.14.2-beta.0", "@injectivelabs/exceptions": "^1.14.2-beta.0", "@injectivelabs/networks": "^1.14.2-beta.0", - "@injectivelabs/sdk-ts": "^1.14.2-beta.6", + "@injectivelabs/sdk-ts": "^1.14.2-beta.7", "@injectivelabs/token-metadata": "^1.14.2-beta.4", "@injectivelabs/token-utils": "^1.14.2-beta.0", "@injectivelabs/ts-types": "^1.14.1", diff --git a/packages/wallet-ts/package.json b/packages/wallet-ts/package.json index a231123c2..549662f35 100644 --- a/packages/wallet-ts/package.json +++ b/packages/wallet-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/wallet-ts", "description": "A convenient way to use and interact with different types of wallets on Injective.", - "version": "1.14.2-beta.6", + "version": "1.14.2-beta.7", "sideEffects": false, "author": { "name": "Bojan Angjelkoski", @@ -39,7 +39,7 @@ "@ethereumjs/tx": "^4.1.1", "@injectivelabs/exceptions": "^1.14.2-beta.0", "@injectivelabs/networks": "^1.14.2-beta.0", - "@injectivelabs/sdk-ts": "^1.14.2-beta.6", + "@injectivelabs/sdk-ts": "^1.14.2-beta.7", "@injectivelabs/ts-types": "^1.14.1", "@injectivelabs/utils": "^1.14.2-beta.0", "@keplr-wallet/cosmos": "^0.11.58", From 1943080be9d2f2f1f055bd3538239bd4790da048 Mon Sep 17 00:00:00 2001 From: Bojan Angjelkoski Date: Tue, 31 Oct 2023 07:09:22 -0400 Subject: [PATCH 21/40] chore: mionr --- packages/token-metadata/src/tokens/tokens/tokens.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/token-metadata/src/tokens/tokens/tokens.ts b/packages/token-metadata/src/tokens/tokens/tokens.ts index b0f6cd6cf..bc15c56c8 100644 --- a/packages/token-metadata/src/tokens/tokens/tokens.ts +++ b/packages/token-metadata/src/tokens/tokens/tokens.ts @@ -1852,6 +1852,7 @@ export default { decimals: 6, logo: 'tia.webp', coinGeckoId: '', + ibc: { decimals: 6, isNative: true, From 6f21f4fd7c022ce0691de02f588ed9482c21d9cd Mon Sep 17 00:00:00 2001 From: bangjelkoski Date: Tue, 31 Oct 2023 11:14:08 +0000 Subject: [PATCH 22/40] chore(release): publish - @injectivelabs/bridge-ts@1.14.2-beta.8 - @injectivelabs/contracts@1.14.2-beta.1 - @injectivelabs/exceptions@1.14.2-beta.1 - @injectivelabs/networks@1.14.2-beta.1 - @injectivelabs/sdk-ts@1.14.2-beta.8 - @injectivelabs/sdk-ui-ts@1.14.2-beta.9 - @injectivelabs/token-metadata@1.14.2-beta.5 - @injectivelabs/token-utils@1.14.2-beta.1 - @injectivelabs/ts-types@1.14.2-beta.0 - @injectivelabs/utils@1.14.2-beta.1 - @injectivelabs/wallet-ts@1.14.2-beta.8 --- packages/bridge-ts/package.json | 12 ++++++------ packages/contracts/package.json | 10 +++++----- packages/exceptions/package.json | 4 ++-- packages/networks/package.json | 8 ++++---- packages/sdk-ts/package.json | 12 ++++++------ packages/sdk-ui-ts/package.json | 18 +++++++++--------- packages/token-metadata/package.json | 10 +++++----- packages/token-utils/package.json | 6 +++--- packages/ts-types/package.json | 2 +- packages/utils/package.json | 6 +++--- packages/wallet-ts/package.json | 12 ++++++------ 11 files changed, 50 insertions(+), 50 deletions(-) diff --git a/packages/bridge-ts/package.json b/packages/bridge-ts/package.json index d9e268f91..2bcf70d2d 100644 --- a/packages/bridge-ts/package.json +++ b/packages/bridge-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/bridge-ts", "description": "Bridge utilities and abstractions in TypeScript to be used in Injective products", - "version": "1.14.2-beta.7", + "version": "1.14.2-beta.8", "sideEffects": false, "author": { "name": "Bojan Angjelkoski", @@ -32,11 +32,11 @@ }, "dependencies": { "@axelar-network/axelarjs-sdk": "^0.11.7", - "@injectivelabs/exceptions": "^1.14.2-beta.0", - "@injectivelabs/networks": "^1.14.2-beta.0", - "@injectivelabs/sdk-ts": "^1.14.2-beta.7", - "@injectivelabs/ts-types": "^1.14.1", - "@injectivelabs/utils": "^1.14.2-beta.0", + "@injectivelabs/exceptions": "^1.14.2-beta.1", + "@injectivelabs/networks": "^1.14.2-beta.1", + "@injectivelabs/sdk-ts": "^1.14.2-beta.8", + "@injectivelabs/ts-types": "^1.14.2-beta.0", + "@injectivelabs/utils": "^1.14.2-beta.1", "@injectivelabs/wormhole-sdk": "^1.12.0-beta.0", "@solana/spl-token": "^0.3.6", "@solana/wallet-adapter-base": "^0.9.18", diff --git a/packages/contracts/package.json b/packages/contracts/package.json index 8d38ffa1f..5aeec2ba6 100644 --- a/packages/contracts/package.json +++ b/packages/contracts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/contracts", "description": "Contracts wrapper that can be reused throughout Injective's projects.", - "version": "1.14.2-beta.0", + "version": "1.14.2-beta.1", "sideEffects": false, "license": "Apache-2.0", "main": "dist/cjs/index.js", @@ -31,10 +31,10 @@ "start": "node dist/index.js" }, "dependencies": { - "@injectivelabs/exceptions": "^1.14.2-beta.0", - "@injectivelabs/networks": "^1.14.2-beta.0", - "@injectivelabs/ts-types": "^1.14.1", - "@injectivelabs/utils": "^1.14.2-beta.0", + "@injectivelabs/exceptions": "^1.14.2-beta.1", + "@injectivelabs/networks": "^1.14.2-beta.1", + "@injectivelabs/ts-types": "^1.14.2-beta.0", + "@injectivelabs/utils": "^1.14.2-beta.1", "ethers": "^5.7.2", "link-module-alias": "^1.2.0", "shx": "^0.3.3" diff --git a/packages/exceptions/package.json b/packages/exceptions/package.json index 45a714fe5..2fd13ee85 100644 --- a/packages/exceptions/package.json +++ b/packages/exceptions/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/exceptions", "description": "List of exceptions that can be reused throughout Injective's projects.", - "version": "1.14.2-beta.0", + "version": "1.14.2-beta.1", "sideEffects": false, "license": "Apache-2.0", "main": "dist/cjs/index.js", @@ -32,7 +32,7 @@ }, "dependencies": { "@injectivelabs/grpc-web": "^0.0.1", - "@injectivelabs/ts-types": "^1.14.1", + "@injectivelabs/ts-types": "^1.14.2-beta.0", "http-status-codes": "^2.2.0", "link-module-alias": "^1.2.0", "shx": "^0.3.2" diff --git a/packages/networks/package.json b/packages/networks/package.json index 7e04be293..e76dd7f9d 100644 --- a/packages/networks/package.json +++ b/packages/networks/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/networks", "description": "Endpoints, networks, etc. Can be reused throughout Injective's projects.", - "version": "1.14.2-beta.0", + "version": "1.14.2-beta.1", "sideEffects": false, "license": "Apache-2.0", "author": { @@ -31,9 +31,9 @@ "start": "node dist/index.js" }, "dependencies": { - "@injectivelabs/exceptions": "^1.14.2-beta.0", - "@injectivelabs/ts-types": "^1.14.1", - "@injectivelabs/utils": "^1.14.2-beta.0", + "@injectivelabs/exceptions": "^1.14.2-beta.1", + "@injectivelabs/ts-types": "^1.14.2-beta.0", + "@injectivelabs/utils": "^1.14.2-beta.1", "link-module-alias": "^1.2.0", "shx": "^0.3.2" }, diff --git a/packages/sdk-ts/package.json b/packages/sdk-ts/package.json index c647bb965..64f83fc96 100644 --- a/packages/sdk-ts/package.json +++ b/packages/sdk-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/sdk-ts", "description": "SDK in TypeScript for building Injective applications in a browser, node, and react native environment.", - "version": "1.14.2-beta.7", + "version": "1.14.2-beta.8", "sideEffects": false, "license": "Apache-2.0", "author": { @@ -40,17 +40,17 @@ "@ethersproject/bytes": "^5.7.0", "@injectivelabs/core-proto-ts": "^0.0.18", "@injectivelabs/dmm-proto-ts": "1.0.16", - "@injectivelabs/exceptions": "^1.14.2-beta.0", + "@injectivelabs/exceptions": "^1.14.2-beta.1", "@injectivelabs/grpc-web": "^0.0.1", "@injectivelabs/grpc-web-node-http-transport": "^0.0.2", "@injectivelabs/grpc-web-react-native-transport": "^0.0.2", "@injectivelabs/indexer-proto-ts": "1.11.11", "@injectivelabs/mito-proto-ts": "1.0.50", - "@injectivelabs/networks": "^1.14.2-beta.0", + "@injectivelabs/networks": "^1.14.2-beta.1", "@injectivelabs/test-utils": "^1.14.1", - "@injectivelabs/token-metadata": "^1.14.2-beta.4", - "@injectivelabs/ts-types": "^1.14.1", - "@injectivelabs/utils": "^1.14.2-beta.0", + "@injectivelabs/token-metadata": "^1.14.2-beta.5", + "@injectivelabs/ts-types": "^1.14.2-beta.0", + "@injectivelabs/utils": "^1.14.2-beta.1", "@metamask/eth-sig-util": "^4.0.0", "axios": "^0.27.2", "bech32": "^2.0.0", diff --git a/packages/sdk-ui-ts/package.json b/packages/sdk-ui-ts/package.json index 33e063924..a7126da02 100644 --- a/packages/sdk-ui-ts/package.json +++ b/packages/sdk-ui-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/sdk-ui-ts", "description": "SDK in TypeScript for building Injective UI applications in a browser environment.", - "version": "1.14.2-beta.8", + "version": "1.14.2-beta.9", "sideEffects": false, "license": "Apache-2.0", "author": { @@ -35,14 +35,14 @@ "get-ibc-tokens": "ts-node-dev ./src/services/ibc/tokens.ts" }, "dependencies": { - "@injectivelabs/contracts": "^1.14.2-beta.0", - "@injectivelabs/exceptions": "^1.14.2-beta.0", - "@injectivelabs/networks": "^1.14.2-beta.0", - "@injectivelabs/sdk-ts": "^1.14.2-beta.7", - "@injectivelabs/token-metadata": "^1.14.2-beta.4", - "@injectivelabs/token-utils": "^1.14.2-beta.0", - "@injectivelabs/ts-types": "^1.14.1", - "@injectivelabs/utils": "^1.14.2-beta.0", + "@injectivelabs/contracts": "^1.14.2-beta.1", + "@injectivelabs/exceptions": "^1.14.2-beta.1", + "@injectivelabs/networks": "^1.14.2-beta.1", + "@injectivelabs/sdk-ts": "^1.14.2-beta.8", + "@injectivelabs/token-metadata": "^1.14.2-beta.5", + "@injectivelabs/token-utils": "^1.14.2-beta.1", + "@injectivelabs/ts-types": "^1.14.2-beta.0", + "@injectivelabs/utils": "^1.14.2-beta.1", "alchemy-sdk": "^2.6.3", "copyfiles": "^2.4.1", "link-module-alias": "^1.2.0", diff --git a/packages/token-metadata/package.json b/packages/token-metadata/package.json index 39da95d56..2852e32ab 100644 --- a/packages/token-metadata/package.json +++ b/packages/token-metadata/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/token-metadata", "description": "ERC20 token metadata. Name, symbol, decimals, etc.", - "version": "1.14.2-beta.4", + "version": "1.14.2-beta.5", "sideEffects": false, "license": "Apache-2.0", "author": { @@ -32,10 +32,10 @@ "start": "node dist/index.js" }, "dependencies": { - "@injectivelabs/exceptions": "^1.14.2-beta.0", - "@injectivelabs/networks": "^1.14.2-beta.0", - "@injectivelabs/ts-types": "^1.14.1", - "@injectivelabs/utils": "^1.14.2-beta.0", + "@injectivelabs/exceptions": "^1.14.2-beta.1", + "@injectivelabs/networks": "^1.14.2-beta.1", + "@injectivelabs/ts-types": "^1.14.2-beta.0", + "@injectivelabs/utils": "^1.14.2-beta.1", "@types/lodash.values": "^4.3.6", "copyfiles": "^2.4.1", "jsonschema": "^1.4.0", diff --git a/packages/token-utils/package.json b/packages/token-utils/package.json index a720ba11e..1f1b5071f 100644 --- a/packages/token-utils/package.json +++ b/packages/token-utils/package.json @@ -1,6 +1,6 @@ { "name": "@injectivelabs/token-utils", - "version": "1.14.2-beta.0", + "version": "1.14.2-beta.1", "description": "Token Utils is a package for querying different data about tokens", "sideEffects": false, "author": { @@ -30,8 +30,8 @@ "start": "node dist/index.js" }, "dependencies": { - "@injectivelabs/exceptions": "^1.14.2-beta.0", - "@injectivelabs/utils": "^1.14.2-beta.0", + "@injectivelabs/exceptions": "^1.14.2-beta.1", + "@injectivelabs/utils": "^1.14.2-beta.1", "link-module-alias": "^1.2.0", "shx": "^0.3.2" }, diff --git a/packages/ts-types/package.json b/packages/ts-types/package.json index 10e355077..8987094f0 100644 --- a/packages/ts-types/package.json +++ b/packages/ts-types/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/ts-types", "description": "List of types that can be reused throughout Injective's projects.", - "version": "1.14.1", + "version": "1.14.2-beta.0", "sideEffects": false, "license": "Apache-2.0", "main": "dist/cjs/index.js", diff --git a/packages/utils/package.json b/packages/utils/package.json index 182e1b727..9c0f73edf 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/utils", "description": "List of utils and helper functions that can be reused throughout Injective's projects.", - "version": "1.14.2-beta.0", + "version": "1.14.2-beta.1", "sideEffects": false, "author": { "name": "Bojan Angjelkoski", @@ -31,8 +31,8 @@ "start": "node dist/index.js" }, "dependencies": { - "@injectivelabs/exceptions": "^1.14.2-beta.0", - "@injectivelabs/ts-types": "^1.14.1", + "@injectivelabs/exceptions": "^1.14.2-beta.1", + "@injectivelabs/ts-types": "^1.14.2-beta.0", "axios": "^0.21.1", "bignumber.js": "^9.0.1", "http-status-codes": "^2.2.0", diff --git a/packages/wallet-ts/package.json b/packages/wallet-ts/package.json index 549662f35..5eca4a90a 100644 --- a/packages/wallet-ts/package.json +++ b/packages/wallet-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/wallet-ts", "description": "A convenient way to use and interact with different types of wallets on Injective.", - "version": "1.14.2-beta.7", + "version": "1.14.2-beta.8", "sideEffects": false, "author": { "name": "Bojan Angjelkoski", @@ -37,11 +37,11 @@ "@cosmostation/extension-client": "^0.1.15", "@ethereumjs/common": "^3.1.1", "@ethereumjs/tx": "^4.1.1", - "@injectivelabs/exceptions": "^1.14.2-beta.0", - "@injectivelabs/networks": "^1.14.2-beta.0", - "@injectivelabs/sdk-ts": "^1.14.2-beta.7", - "@injectivelabs/ts-types": "^1.14.1", - "@injectivelabs/utils": "^1.14.2-beta.0", + "@injectivelabs/exceptions": "^1.14.2-beta.1", + "@injectivelabs/networks": "^1.14.2-beta.1", + "@injectivelabs/sdk-ts": "^1.14.2-beta.8", + "@injectivelabs/ts-types": "^1.14.2-beta.0", + "@injectivelabs/utils": "^1.14.2-beta.1", "@keplr-wallet/cosmos": "^0.11.58", "@keplr-wallet/types": "^0.11.58", "@ledgerhq/hw-app-eth": "6.33.2", From e9c72aa476c8633aab3ff495a1950efac682bd73 Mon Sep 17 00:00:00 2001 From: Bojan Angjelkoski Date: Tue, 31 Oct 2023 09:37:20 -0400 Subject: [PATCH 23/40] chore: update channel --- packages/token-metadata/src/ibc/channels.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/token-metadata/src/ibc/channels.ts b/packages/token-metadata/src/ibc/channels.ts index de8e13b42..27b26199e 100644 --- a/packages/token-metadata/src/ibc/channels.ts +++ b/packages/token-metadata/src/ibc/channels.ts @@ -87,7 +87,7 @@ export const canonicalChannelsToChainList = [ { channelId: 'channel-122', chainA: 'Kava', chainB: 'Injective' }, { channelId: 'channel-146', chainA: 'Oraichain', chainB: 'Injective' }, { channelId: 'channel-31', chainA: 'Noble', chainB: 'Injective' }, - { channelId: 'channel-1', chainA: 'Celestia', chainB: 'Injective' }, + { channelId: 'channel-0', chainA: 'Celestia', chainB: 'Injective' }, { channelId: 'channel-1', chainA: 'Injective', chainB: 'CosmosHub' }, { channelId: 'channel-83', chainA: 'Injective', chainB: 'Evmos' }, { channelId: 'channel-8', chainA: 'Injective', chainB: 'Osmosis' }, From 312e91ebd41af0600d906185d4b417dc95e553fc Mon Sep 17 00:00:00 2001 From: bangjelkoski Date: Tue, 31 Oct 2023 13:41:31 +0000 Subject: [PATCH 24/40] chore(release): publish - @injectivelabs/bridge-ts@1.14.2-beta.9 - @injectivelabs/sdk-ts@1.14.2-beta.9 - @injectivelabs/sdk-ui-ts@1.14.2-beta.10 - @injectivelabs/token-metadata@1.14.2-beta.6 - @injectivelabs/wallet-ts@1.14.2-beta.9 --- packages/bridge-ts/package.json | 4 ++-- packages/sdk-ts/package.json | 4 ++-- packages/sdk-ui-ts/package.json | 6 +++--- packages/token-metadata/package.json | 2 +- packages/wallet-ts/package.json | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/bridge-ts/package.json b/packages/bridge-ts/package.json index 2bcf70d2d..836a44865 100644 --- a/packages/bridge-ts/package.json +++ b/packages/bridge-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/bridge-ts", "description": "Bridge utilities and abstractions in TypeScript to be used in Injective products", - "version": "1.14.2-beta.8", + "version": "1.14.2-beta.9", "sideEffects": false, "author": { "name": "Bojan Angjelkoski", @@ -34,7 +34,7 @@ "@axelar-network/axelarjs-sdk": "^0.11.7", "@injectivelabs/exceptions": "^1.14.2-beta.1", "@injectivelabs/networks": "^1.14.2-beta.1", - "@injectivelabs/sdk-ts": "^1.14.2-beta.8", + "@injectivelabs/sdk-ts": "^1.14.2-beta.9", "@injectivelabs/ts-types": "^1.14.2-beta.0", "@injectivelabs/utils": "^1.14.2-beta.1", "@injectivelabs/wormhole-sdk": "^1.12.0-beta.0", diff --git a/packages/sdk-ts/package.json b/packages/sdk-ts/package.json index 64f83fc96..c7ba17c58 100644 --- a/packages/sdk-ts/package.json +++ b/packages/sdk-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/sdk-ts", "description": "SDK in TypeScript for building Injective applications in a browser, node, and react native environment.", - "version": "1.14.2-beta.8", + "version": "1.14.2-beta.9", "sideEffects": false, "license": "Apache-2.0", "author": { @@ -48,7 +48,7 @@ "@injectivelabs/mito-proto-ts": "1.0.50", "@injectivelabs/networks": "^1.14.2-beta.1", "@injectivelabs/test-utils": "^1.14.1", - "@injectivelabs/token-metadata": "^1.14.2-beta.5", + "@injectivelabs/token-metadata": "^1.14.2-beta.6", "@injectivelabs/ts-types": "^1.14.2-beta.0", "@injectivelabs/utils": "^1.14.2-beta.1", "@metamask/eth-sig-util": "^4.0.0", diff --git a/packages/sdk-ui-ts/package.json b/packages/sdk-ui-ts/package.json index a7126da02..77cf62b75 100644 --- a/packages/sdk-ui-ts/package.json +++ b/packages/sdk-ui-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/sdk-ui-ts", "description": "SDK in TypeScript for building Injective UI applications in a browser environment.", - "version": "1.14.2-beta.9", + "version": "1.14.2-beta.10", "sideEffects": false, "license": "Apache-2.0", "author": { @@ -38,8 +38,8 @@ "@injectivelabs/contracts": "^1.14.2-beta.1", "@injectivelabs/exceptions": "^1.14.2-beta.1", "@injectivelabs/networks": "^1.14.2-beta.1", - "@injectivelabs/sdk-ts": "^1.14.2-beta.8", - "@injectivelabs/token-metadata": "^1.14.2-beta.5", + "@injectivelabs/sdk-ts": "^1.14.2-beta.9", + "@injectivelabs/token-metadata": "^1.14.2-beta.6", "@injectivelabs/token-utils": "^1.14.2-beta.1", "@injectivelabs/ts-types": "^1.14.2-beta.0", "@injectivelabs/utils": "^1.14.2-beta.1", diff --git a/packages/token-metadata/package.json b/packages/token-metadata/package.json index 2852e32ab..bb3e9b811 100644 --- a/packages/token-metadata/package.json +++ b/packages/token-metadata/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/token-metadata", "description": "ERC20 token metadata. Name, symbol, decimals, etc.", - "version": "1.14.2-beta.5", + "version": "1.14.2-beta.6", "sideEffects": false, "license": "Apache-2.0", "author": { diff --git a/packages/wallet-ts/package.json b/packages/wallet-ts/package.json index 5eca4a90a..30f40cd0e 100644 --- a/packages/wallet-ts/package.json +++ b/packages/wallet-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/wallet-ts", "description": "A convenient way to use and interact with different types of wallets on Injective.", - "version": "1.14.2-beta.8", + "version": "1.14.2-beta.9", "sideEffects": false, "author": { "name": "Bojan Angjelkoski", @@ -39,7 +39,7 @@ "@ethereumjs/tx": "^4.1.1", "@injectivelabs/exceptions": "^1.14.2-beta.1", "@injectivelabs/networks": "^1.14.2-beta.1", - "@injectivelabs/sdk-ts": "^1.14.2-beta.8", + "@injectivelabs/sdk-ts": "^1.14.2-beta.9", "@injectivelabs/ts-types": "^1.14.2-beta.0", "@injectivelabs/utils": "^1.14.2-beta.1", "@keplr-wallet/cosmos": "^0.11.58", From fcb639a82c3d6012f3c9252ae2e5f753262dba7f Mon Sep 17 00:00:00 2001 From: Bojan Angjelkoski Date: Tue, 31 Oct 2023 09:51:40 -0400 Subject: [PATCH 25/40] fix: mainnetSentry endpoints --- packages/networks/src/endpoints.ts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/packages/networks/src/endpoints.ts b/packages/networks/src/endpoints.ts index 6f44fe60d..274f70c23 100644 --- a/packages/networks/src/endpoints.ts +++ b/packages/networks/src/endpoints.ts @@ -1,13 +1,13 @@ import { NetworkEndpoints } from './types' export const endpointsMainnetSentry: NetworkEndpoints = { - indexer: 'https://sentry.exchange.grpc-web.injective.network/', - grpc: 'https://sentry.chain.grpc-web.injective.network/', - rpc: 'https://sentry.tm.injective.network/', - rest: 'https://sentry.lcd.injective.network/', - chronos: 'https://sentry.exchange.grpc-web.injective.network/', - explorer: 'https://sentry.exchange.grpc-web.injective.network/', - cache: 'https://sentry.exchange.grpc-web.injective.network/' + indexer: 'https://sentry.exchange.grpc-web.injective.network', + grpc: 'https://sentry.chain.grpc-web.injective.network', + rpc: 'https://sentry.tm.injective.network', + rest: 'https://sentry.lcd.injective.network', + chronos: 'https://sentry.exchange.grpc-web.injective.network', + explorer: 'https://sentry.exchange.grpc-web.injective.network', + cache: 'https://sentry.exchange.grpc-web.injective.network', } export const endpointsMainnetK8s: NetworkEndpoints = { @@ -17,7 +17,7 @@ export const endpointsMainnetK8s: NetworkEndpoints = { rest: 'https://k8s.mainnet.lcd.injective.network', chronos: 'https://k8s.mainnet.chronos.grpc-web.injective.network', explorer: 'https://k8s.mainnet.explorer.grpc-web.injective.network', - cache: 'https://k8s.testnet.gateway.grpc-web.injective.network/', + cache: 'https://k8s.testnet.gateway.grpc-web.injective.network', } export const endpointsMainnetLB: NetworkEndpoints = { @@ -76,7 +76,7 @@ export const endpointsTestnetK8s: NetworkEndpoints = { rest: 'https://k8s.testnet.lcd.injective.network', chronos: 'https://k8s.testnet.exchange.grpc-web.injective.network', explorer: 'https://k8s.testnet.explorer.grpc-web.injective.network', - cache: 'https://k8s.testnet.gateway.grpc-web.injective.network/', + cache: 'https://k8s.testnet.gateway.grpc-web.injective.network', } export const endpointsTestnet: NetworkEndpoints = { From 3f422cedbb1e74a00c5d96bf971708f7f6f013a2 Mon Sep 17 00:00:00 2001 From: bangjelkoski Date: Tue, 31 Oct 2023 13:56:31 +0000 Subject: [PATCH 26/40] chore(release): publish - @injectivelabs/bridge-ts@1.14.2-beta.10 - @injectivelabs/contracts@1.14.2-beta.2 - @injectivelabs/networks@1.14.2-beta.2 - @injectivelabs/sdk-ts@1.14.2-beta.10 - @injectivelabs/sdk-ui-ts@1.14.2-beta.11 - @injectivelabs/token-metadata@1.14.2-beta.7 - @injectivelabs/wallet-ts@1.14.2-beta.10 --- packages/bridge-ts/package.json | 6 +++--- packages/contracts/package.json | 4 ++-- packages/networks/package.json | 2 +- packages/sdk-ts/package.json | 6 +++--- packages/sdk-ui-ts/package.json | 10 +++++----- packages/token-metadata/package.json | 4 ++-- packages/wallet-ts/package.json | 6 +++--- 7 files changed, 19 insertions(+), 19 deletions(-) diff --git a/packages/bridge-ts/package.json b/packages/bridge-ts/package.json index 836a44865..9645b2ff1 100644 --- a/packages/bridge-ts/package.json +++ b/packages/bridge-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/bridge-ts", "description": "Bridge utilities and abstractions in TypeScript to be used in Injective products", - "version": "1.14.2-beta.9", + "version": "1.14.2-beta.10", "sideEffects": false, "author": { "name": "Bojan Angjelkoski", @@ -33,8 +33,8 @@ "dependencies": { "@axelar-network/axelarjs-sdk": "^0.11.7", "@injectivelabs/exceptions": "^1.14.2-beta.1", - "@injectivelabs/networks": "^1.14.2-beta.1", - "@injectivelabs/sdk-ts": "^1.14.2-beta.9", + "@injectivelabs/networks": "^1.14.2-beta.2", + "@injectivelabs/sdk-ts": "^1.14.2-beta.10", "@injectivelabs/ts-types": "^1.14.2-beta.0", "@injectivelabs/utils": "^1.14.2-beta.1", "@injectivelabs/wormhole-sdk": "^1.12.0-beta.0", diff --git a/packages/contracts/package.json b/packages/contracts/package.json index 5aeec2ba6..c897049a1 100644 --- a/packages/contracts/package.json +++ b/packages/contracts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/contracts", "description": "Contracts wrapper that can be reused throughout Injective's projects.", - "version": "1.14.2-beta.1", + "version": "1.14.2-beta.2", "sideEffects": false, "license": "Apache-2.0", "main": "dist/cjs/index.js", @@ -32,7 +32,7 @@ }, "dependencies": { "@injectivelabs/exceptions": "^1.14.2-beta.1", - "@injectivelabs/networks": "^1.14.2-beta.1", + "@injectivelabs/networks": "^1.14.2-beta.2", "@injectivelabs/ts-types": "^1.14.2-beta.0", "@injectivelabs/utils": "^1.14.2-beta.1", "ethers": "^5.7.2", diff --git a/packages/networks/package.json b/packages/networks/package.json index e76dd7f9d..48e4be138 100644 --- a/packages/networks/package.json +++ b/packages/networks/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/networks", "description": "Endpoints, networks, etc. Can be reused throughout Injective's projects.", - "version": "1.14.2-beta.1", + "version": "1.14.2-beta.2", "sideEffects": false, "license": "Apache-2.0", "author": { diff --git a/packages/sdk-ts/package.json b/packages/sdk-ts/package.json index c7ba17c58..02e6a777f 100644 --- a/packages/sdk-ts/package.json +++ b/packages/sdk-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/sdk-ts", "description": "SDK in TypeScript for building Injective applications in a browser, node, and react native environment.", - "version": "1.14.2-beta.9", + "version": "1.14.2-beta.10", "sideEffects": false, "license": "Apache-2.0", "author": { @@ -46,9 +46,9 @@ "@injectivelabs/grpc-web-react-native-transport": "^0.0.2", "@injectivelabs/indexer-proto-ts": "1.11.11", "@injectivelabs/mito-proto-ts": "1.0.50", - "@injectivelabs/networks": "^1.14.2-beta.1", + "@injectivelabs/networks": "^1.14.2-beta.2", "@injectivelabs/test-utils": "^1.14.1", - "@injectivelabs/token-metadata": "^1.14.2-beta.6", + "@injectivelabs/token-metadata": "^1.14.2-beta.7", "@injectivelabs/ts-types": "^1.14.2-beta.0", "@injectivelabs/utils": "^1.14.2-beta.1", "@metamask/eth-sig-util": "^4.0.0", diff --git a/packages/sdk-ui-ts/package.json b/packages/sdk-ui-ts/package.json index 77cf62b75..44327a4f6 100644 --- a/packages/sdk-ui-ts/package.json +++ b/packages/sdk-ui-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/sdk-ui-ts", "description": "SDK in TypeScript for building Injective UI applications in a browser environment.", - "version": "1.14.2-beta.10", + "version": "1.14.2-beta.11", "sideEffects": false, "license": "Apache-2.0", "author": { @@ -35,11 +35,11 @@ "get-ibc-tokens": "ts-node-dev ./src/services/ibc/tokens.ts" }, "dependencies": { - "@injectivelabs/contracts": "^1.14.2-beta.1", + "@injectivelabs/contracts": "^1.14.2-beta.2", "@injectivelabs/exceptions": "^1.14.2-beta.1", - "@injectivelabs/networks": "^1.14.2-beta.1", - "@injectivelabs/sdk-ts": "^1.14.2-beta.9", - "@injectivelabs/token-metadata": "^1.14.2-beta.6", + "@injectivelabs/networks": "^1.14.2-beta.2", + "@injectivelabs/sdk-ts": "^1.14.2-beta.10", + "@injectivelabs/token-metadata": "^1.14.2-beta.7", "@injectivelabs/token-utils": "^1.14.2-beta.1", "@injectivelabs/ts-types": "^1.14.2-beta.0", "@injectivelabs/utils": "^1.14.2-beta.1", diff --git a/packages/token-metadata/package.json b/packages/token-metadata/package.json index bb3e9b811..5cd890076 100644 --- a/packages/token-metadata/package.json +++ b/packages/token-metadata/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/token-metadata", "description": "ERC20 token metadata. Name, symbol, decimals, etc.", - "version": "1.14.2-beta.6", + "version": "1.14.2-beta.7", "sideEffects": false, "license": "Apache-2.0", "author": { @@ -33,7 +33,7 @@ }, "dependencies": { "@injectivelabs/exceptions": "^1.14.2-beta.1", - "@injectivelabs/networks": "^1.14.2-beta.1", + "@injectivelabs/networks": "^1.14.2-beta.2", "@injectivelabs/ts-types": "^1.14.2-beta.0", "@injectivelabs/utils": "^1.14.2-beta.1", "@types/lodash.values": "^4.3.6", diff --git a/packages/wallet-ts/package.json b/packages/wallet-ts/package.json index 30f40cd0e..34ec220c0 100644 --- a/packages/wallet-ts/package.json +++ b/packages/wallet-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/wallet-ts", "description": "A convenient way to use and interact with different types of wallets on Injective.", - "version": "1.14.2-beta.9", + "version": "1.14.2-beta.10", "sideEffects": false, "author": { "name": "Bojan Angjelkoski", @@ -38,8 +38,8 @@ "@ethereumjs/common": "^3.1.1", "@ethereumjs/tx": "^4.1.1", "@injectivelabs/exceptions": "^1.14.2-beta.1", - "@injectivelabs/networks": "^1.14.2-beta.1", - "@injectivelabs/sdk-ts": "^1.14.2-beta.9", + "@injectivelabs/networks": "^1.14.2-beta.2", + "@injectivelabs/sdk-ts": "^1.14.2-beta.10", "@injectivelabs/ts-types": "^1.14.2-beta.0", "@injectivelabs/utils": "^1.14.2-beta.1", "@keplr-wallet/cosmos": "^0.11.58", From 43964800b6608a2aa4651a6cc6489f73548f4b04 Mon Sep 17 00:00:00 2001 From: Bojan Angjelkoski Date: Tue, 31 Oct 2023 11:41:55 -0400 Subject: [PATCH 27/40] chore: celestia channel --- packages/token-metadata/src/ibc/channels.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/token-metadata/src/ibc/channels.ts b/packages/token-metadata/src/ibc/channels.ts index 27b26199e..5de6656af 100644 --- a/packages/token-metadata/src/ibc/channels.ts +++ b/packages/token-metadata/src/ibc/channels.ts @@ -87,7 +87,7 @@ export const canonicalChannelsToChainList = [ { channelId: 'channel-122', chainA: 'Kava', chainB: 'Injective' }, { channelId: 'channel-146', chainA: 'Oraichain', chainB: 'Injective' }, { channelId: 'channel-31', chainA: 'Noble', chainB: 'Injective' }, - { channelId: 'channel-0', chainA: 'Celestia', chainB: 'Injective' }, + { channelId: 'channel-7', chainA: 'Celestia', chainB: 'Injective' }, { channelId: 'channel-1', chainA: 'Injective', chainB: 'CosmosHub' }, { channelId: 'channel-83', chainA: 'Injective', chainB: 'Evmos' }, { channelId: 'channel-8', chainA: 'Injective', chainB: 'Osmosis' }, From ef4e1e41678dcebef8432b209975be1e82f78d31 Mon Sep 17 00:00:00 2001 From: bangjelkoski Date: Tue, 31 Oct 2023 15:47:09 +0000 Subject: [PATCH 28/40] chore(release): publish - @injectivelabs/bridge-ts@1.14.2-beta.11 - @injectivelabs/sdk-ts@1.14.2-beta.11 - @injectivelabs/sdk-ui-ts@1.14.2-beta.12 - @injectivelabs/token-metadata@1.14.2-beta.8 - @injectivelabs/wallet-ts@1.14.2-beta.11 --- packages/bridge-ts/package.json | 4 ++-- packages/sdk-ts/package.json | 4 ++-- packages/sdk-ui-ts/package.json | 6 +++--- packages/token-metadata/package.json | 2 +- packages/wallet-ts/package.json | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/bridge-ts/package.json b/packages/bridge-ts/package.json index 9645b2ff1..4f8bc4ae0 100644 --- a/packages/bridge-ts/package.json +++ b/packages/bridge-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/bridge-ts", "description": "Bridge utilities and abstractions in TypeScript to be used in Injective products", - "version": "1.14.2-beta.10", + "version": "1.14.2-beta.11", "sideEffects": false, "author": { "name": "Bojan Angjelkoski", @@ -34,7 +34,7 @@ "@axelar-network/axelarjs-sdk": "^0.11.7", "@injectivelabs/exceptions": "^1.14.2-beta.1", "@injectivelabs/networks": "^1.14.2-beta.2", - "@injectivelabs/sdk-ts": "^1.14.2-beta.10", + "@injectivelabs/sdk-ts": "^1.14.2-beta.11", "@injectivelabs/ts-types": "^1.14.2-beta.0", "@injectivelabs/utils": "^1.14.2-beta.1", "@injectivelabs/wormhole-sdk": "^1.12.0-beta.0", diff --git a/packages/sdk-ts/package.json b/packages/sdk-ts/package.json index 02e6a777f..bbd083f91 100644 --- a/packages/sdk-ts/package.json +++ b/packages/sdk-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/sdk-ts", "description": "SDK in TypeScript for building Injective applications in a browser, node, and react native environment.", - "version": "1.14.2-beta.10", + "version": "1.14.2-beta.11", "sideEffects": false, "license": "Apache-2.0", "author": { @@ -48,7 +48,7 @@ "@injectivelabs/mito-proto-ts": "1.0.50", "@injectivelabs/networks": "^1.14.2-beta.2", "@injectivelabs/test-utils": "^1.14.1", - "@injectivelabs/token-metadata": "^1.14.2-beta.7", + "@injectivelabs/token-metadata": "^1.14.2-beta.8", "@injectivelabs/ts-types": "^1.14.2-beta.0", "@injectivelabs/utils": "^1.14.2-beta.1", "@metamask/eth-sig-util": "^4.0.0", diff --git a/packages/sdk-ui-ts/package.json b/packages/sdk-ui-ts/package.json index 44327a4f6..667985b97 100644 --- a/packages/sdk-ui-ts/package.json +++ b/packages/sdk-ui-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/sdk-ui-ts", "description": "SDK in TypeScript for building Injective UI applications in a browser environment.", - "version": "1.14.2-beta.11", + "version": "1.14.2-beta.12", "sideEffects": false, "license": "Apache-2.0", "author": { @@ -38,8 +38,8 @@ "@injectivelabs/contracts": "^1.14.2-beta.2", "@injectivelabs/exceptions": "^1.14.2-beta.1", "@injectivelabs/networks": "^1.14.2-beta.2", - "@injectivelabs/sdk-ts": "^1.14.2-beta.10", - "@injectivelabs/token-metadata": "^1.14.2-beta.7", + "@injectivelabs/sdk-ts": "^1.14.2-beta.11", + "@injectivelabs/token-metadata": "^1.14.2-beta.8", "@injectivelabs/token-utils": "^1.14.2-beta.1", "@injectivelabs/ts-types": "^1.14.2-beta.0", "@injectivelabs/utils": "^1.14.2-beta.1", diff --git a/packages/token-metadata/package.json b/packages/token-metadata/package.json index 5cd890076..05f26d3e4 100644 --- a/packages/token-metadata/package.json +++ b/packages/token-metadata/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/token-metadata", "description": "ERC20 token metadata. Name, symbol, decimals, etc.", - "version": "1.14.2-beta.7", + "version": "1.14.2-beta.8", "sideEffects": false, "license": "Apache-2.0", "author": { diff --git a/packages/wallet-ts/package.json b/packages/wallet-ts/package.json index 34ec220c0..0d3a73219 100644 --- a/packages/wallet-ts/package.json +++ b/packages/wallet-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/wallet-ts", "description": "A convenient way to use and interact with different types of wallets on Injective.", - "version": "1.14.2-beta.10", + "version": "1.14.2-beta.11", "sideEffects": false, "author": { "name": "Bojan Angjelkoski", @@ -39,7 +39,7 @@ "@ethereumjs/tx": "^4.1.1", "@injectivelabs/exceptions": "^1.14.2-beta.1", "@injectivelabs/networks": "^1.14.2-beta.2", - "@injectivelabs/sdk-ts": "^1.14.2-beta.10", + "@injectivelabs/sdk-ts": "^1.14.2-beta.11", "@injectivelabs/ts-types": "^1.14.2-beta.0", "@injectivelabs/utils": "^1.14.2-beta.1", "@keplr-wallet/cosmos": "^0.11.58", From 26b2d7d022ab70e7f64633796287b53b390bfe7b Mon Sep 17 00:00:00 2001 From: Bojan Angjelkoski Date: Tue, 31 Oct 2023 15:17:01 -0400 Subject: [PATCH 29/40] chore: minor --- packages/wallet-ts/src/utils/wallets/cosmos/endpoints.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/wallet-ts/src/utils/wallets/cosmos/endpoints.ts b/packages/wallet-ts/src/utils/wallets/cosmos/endpoints.ts index 57f2ebd51..a20d4037c 100644 --- a/packages/wallet-ts/src/utils/wallets/cosmos/endpoints.ts +++ b/packages/wallet-ts/src/utils/wallets/cosmos/endpoints.ts @@ -118,8 +118,8 @@ export const getEndpointsFromChainId = ( } case CosmosChainId.Celestia: return { - rpc: 'https://rpc.cosmos.directory/celestia', - rest: 'https://rest.cosmos.directory/celestia', + rpc: 'http://65.108.128.139:26657', + rest: 'http://93.115.25.15:1320', } default: throw new GeneralException( From 8caf8ac3427bafbd6448faeda018090693f2461b Mon Sep 17 00:00:00 2001 From: bangjelkoski Date: Tue, 31 Oct 2023 19:21:54 +0000 Subject: [PATCH 30/40] Automatically update ibcTokenMetadata.json --- .../src/services/ibc/ibcTokenMetadata.json | 268 +++++++++++++----- 1 file changed, 191 insertions(+), 77 deletions(-) diff --git a/packages/sdk-ui-ts/src/services/ibc/ibcTokenMetadata.json b/packages/sdk-ui-ts/src/services/ibc/ibcTokenMetadata.json index c2a44c69c..c7edc0c54 100644 --- a/packages/sdk-ui-ts/src/services/ibc/ibcTokenMetadata.json +++ b/packages/sdk-ui-ts/src/services/ibc/ibcTokenMetadata.json @@ -930,82 +930,6 @@ "isNative": false } }, - { - "name": "Coinbase Wrapped Staked ETH", - "denom": "ibc/545E97C6EFB2633645720DEBCA78B2BE6F5382C4693EA7DEB2D4C456371EA4F0", - "logo": "untracked.svg", - "symbol": "cbETH", - "decimals": 18, - "coinGeckoId": "", - "tokenType": "ibc", - "tokenVerification": "external", - "ibc": { - "hash": "545E97C6EFB2633645720DEBCA78B2BE6F5382C4693EA7DEB2D4C456371EA4F0", - "path": "", - "channelId": "", - "decimals": 18, - "symbol": "cbETH", - "baseDenom": "cbETH", - "isNative": false - } - }, - { - "name": "Rocket Pool Ether", - "denom": "ibc/8906BF683A89D1ABE075A49EFA35A3128D7E9D809775B8E9D5AEEAA55D2889DD", - "logo": "untracked.svg", - "symbol": "rETH", - "decimals": 18, - "coinGeckoId": "", - "tokenType": "ibc", - "tokenVerification": "external", - "ibc": { - "hash": "8906BF683A89D1ABE075A49EFA35A3128D7E9D809775B8E9D5AEEAA55D2889DD", - "path": "", - "channelId": "", - "decimals": 18, - "symbol": "rETH", - "baseDenom": "rETH", - "isNative": false - } - }, - { - "name": "Staked Frax Ether", - "denom": "ibc/E918585C09958BD328DD9E7215E4726623E7A9A94342FEA5BE126A2AAF920730", - "logo": "untracked.svg", - "symbol": "sfrxETH", - "decimals": 18, - "coinGeckoId": "", - "tokenType": "ibc", - "tokenVerification": "external", - "ibc": { - "hash": "E918585C09958BD328DD9E7215E4726623E7A9A94342FEA5BE126A2AAF920730", - "path": "", - "channelId": "", - "decimals": 18, - "symbol": "sfrxETH", - "baseDenom": "sfrxETH", - "isNative": false - } - }, - { - "name": "Wrapped Lido Staked Ether", - "denom": "ibc/1E0FC59FB8495BF927B10E9D515661494B1BBEDAA15D80E52FE2BADA64656D16", - "logo": "untracked.svg", - "symbol": "wstETH", - "decimals": 18, - "coinGeckoId": "", - "tokenType": "ibc", - "tokenVerification": "external", - "ibc": { - "hash": "1E0FC59FB8495BF927B10E9D515661494B1BBEDAA15D80E52FE2BADA64656D16", - "path": "", - "channelId": "", - "decimals": 18, - "symbol": "wstETH", - "baseDenom": "wstETH", - "isNative": false - } - }, { "name": "Cosmos Hub Atom", "denom": "ibc/C4CFF46FD6DE35CA4CF4CE031E643C8FDC9BA4B99AE598E9B0ED98FE3A2319F9", @@ -1253,10 +1177,86 @@ "isNative": false } }, + { + "name": "Coinbase Wrapped Staked ETH", + "denom": "ibc/545E97C6EFB2633645720DEBCA78B2BE6F5382C4693EA7DEB2D4C456371EA4F0", + "logo": "https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/cbeth.png", + "symbol": "cbETH", + "decimals": 18, + "coinGeckoId": "", + "tokenType": "ibc", + "tokenVerification": "external", + "ibc": { + "hash": "545E97C6EFB2633645720DEBCA78B2BE6F5382C4693EA7DEB2D4C456371EA4F0", + "path": "", + "channelId": "", + "decimals": 18, + "symbol": "cbETH", + "baseDenom": "cbETH", + "isNative": false + } + }, + { + "name": "Rocket Pool Ether", + "denom": "ibc/8906BF683A89D1ABE075A49EFA35A3128D7E9D809775B8E9D5AEEAA55D2889DD", + "logo": "https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/reth.png", + "symbol": "rETH", + "decimals": 18, + "coinGeckoId": "", + "tokenType": "ibc", + "tokenVerification": "external", + "ibc": { + "hash": "8906BF683A89D1ABE075A49EFA35A3128D7E9D809775B8E9D5AEEAA55D2889DD", + "path": "", + "channelId": "", + "decimals": 18, + "symbol": "rETH", + "baseDenom": "rETH", + "isNative": false + } + }, + { + "name": "Staked Frax Ether", + "denom": "ibc/E918585C09958BD328DD9E7215E4726623E7A9A94342FEA5BE126A2AAF920730", + "logo": "https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/sfrxeth.svg", + "symbol": "sfrxETH", + "decimals": 18, + "coinGeckoId": "", + "tokenType": "ibc", + "tokenVerification": "external", + "ibc": { + "hash": "E918585C09958BD328DD9E7215E4726623E7A9A94342FEA5BE126A2AAF920730", + "path": "", + "channelId": "", + "decimals": 18, + "symbol": "sfrxETH", + "baseDenom": "sfrxETH", + "isNative": false + } + }, + { + "name": "Wrapped Lido Staked Ether", + "denom": "ibc/1E0FC59FB8495BF927B10E9D515661494B1BBEDAA15D80E52FE2BADA64656D16", + "logo": "https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/wsteth.svg", + "symbol": "wstETH", + "decimals": 18, + "coinGeckoId": "", + "tokenType": "ibc", + "tokenVerification": "external", + "ibc": { + "hash": "1E0FC59FB8495BF927B10E9D515661494B1BBEDAA15D80E52FE2BADA64656D16", + "path": "", + "channelId": "", + "decimals": 18, + "symbol": "wstETH", + "baseDenom": "wstETH", + "isNative": false + } + }, { "name": "Real Yield Eth", "denom": "ibc/6B7E243C586784E1BE150B71F541A3880F0409E994365AF31FF63A2764B72556", - "logo": "untracked.svg", + "logo": "https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/yieldeth.png", "symbol": "YieldETH", "decimals": 18, "coinGeckoId": "", @@ -1272,6 +1272,120 @@ "isNative": false } }, + { + "name": "Celestia", + "denom": "ibc/F51BB221BAA275F2EBF654F70B005627D7E713AFFD6D86AFD1E43CAA886149F4", + "logo": "https://raw.githubusercontent.com/cosmos/chain-registry/master/celestia/images/celestia.png", + "symbol": "TIA", + "decimals": 6, + "coinGeckoId": "", + "tokenType": "ibc", + "tokenVerification": "external", + "ibc": { + "hash": "F51BB221BAA275F2EBF654F70B005627D7E713AFFD6D86AFD1E43CAA886149F4", + "path": "", + "channelId": "", + "decimals": 6, + "symbol": "TIA", + "baseDenom": "TIA", + "isNative": false + } + }, + { + "name": "Luna", + "denom": "ibc/0DDC992F19041FC1D499CCA1486721479EBAA7270604E15EDDFABA89D1E772E5", + "logo": "https://raw.githubusercontent.com/cosmos/chain-registry/master/terra2/images/luna.png", + "symbol": "LUNA", + "decimals": 6, + "coinGeckoId": "", + "tokenType": "ibc", + "tokenVerification": "external", + "ibc": { + "hash": "0DDC992F19041FC1D499CCA1486721479EBAA7270604E15EDDFABA89D1E772E5", + "path": "", + "channelId": "", + "decimals": 6, + "symbol": "LUNA", + "baseDenom": "LUNA", + "isNative": false + } + }, + { + "name": "ERIS Alliance Staked ampWHALE", + "denom": "ibc/DF3225D7381562B58AA8BE107A87260DDDC7FA08E4B0898E3D795392CF844BBE", + "logo": "https://raw.githubusercontent.com/cosmos/chain-registry/master/terra2/images/ampwhalet.svg", + "symbol": "ampWHALEt", + "decimals": 6, + "coinGeckoId": "", + "tokenType": "ibc", + "tokenVerification": "external", + "ibc": { + "hash": "DF3225D7381562B58AA8BE107A87260DDDC7FA08E4B0898E3D795392CF844BBE", + "path": "", + "channelId": "", + "decimals": 6, + "symbol": "ampWHALEt", + "baseDenom": "ampWHALEt", + "isNative": false + } + }, + { + "name": "ERIS Alliance Staked boneWHALE", + "denom": "ibc/F993B2C44A70D8B97B09581F12CF1A68A38DF8BBCFBA9F82016984138C718A57", + "logo": "https://raw.githubusercontent.com/cosmos/chain-registry/master/terra2/images/bonewhalet.svg", + "symbol": "boneWHALEt", + "decimals": 6, + "coinGeckoId": "", + "tokenType": "ibc", + "tokenVerification": "external", + "ibc": { + "hash": "F993B2C44A70D8B97B09581F12CF1A68A38DF8BBCFBA9F82016984138C718A57", + "path": "", + "channelId": "", + "decimals": 6, + "symbol": "boneWHALEt", + "baseDenom": "boneWHALEt", + "isNative": false + } + }, + { + "name": "ERIS Amplified ROAR", + "denom": "ibc/7BE54594EAE77464217B9BB5171035946ED23DB309B030B5708E15C9455BB557", + "logo": "https://raw.githubusercontent.com/cosmos/chain-registry/master/terra2/images/amproar.png", + "symbol": "ampROAR", + "decimals": 6, + "coinGeckoId": "", + "tokenType": "ibc", + "tokenVerification": "external", + "ibc": { + "hash": "7BE54594EAE77464217B9BB5171035946ED23DB309B030B5708E15C9455BB557", + "path": "", + "channelId": "", + "decimals": 6, + "symbol": "ampROAR", + "baseDenom": "ampROAR", + "isNative": false + } + }, + { + "name": "ERIS Amplified MNTA", + "denom": "ibc/A87178EAA371050DDFD80F78630AE622B176C7634160EE515C27CE62FCC8A0CC", + "logo": "https://raw.githubusercontent.com/cosmos/chain-registry/master/kujira/images/ampmnta.png", + "symbol": "ampMNTA", + "decimals": 6, + "coinGeckoId": "", + "tokenType": "ibc", + "tokenVerification": "external", + "ibc": { + "hash": "A87178EAA371050DDFD80F78630AE622B176C7634160EE515C27CE62FCC8A0CC", + "path": "", + "channelId": "", + "decimals": 6, + "symbol": "ampMNTA", + "baseDenom": "ampMNTA", + "isNative": false + } + }, { "name": "Astroport", "denom": "ibc/EBD5A24C554198EBAF44979C5B4D2C2D312E6EBAB71962C92F735499C7575839", From 6c4449251fd8c1e4a075e7ea2723f8473ae2e8f6 Mon Sep 17 00:00:00 2001 From: bangjelkoski Date: Tue, 31 Oct 2023 19:22:00 +0000 Subject: [PATCH 31/40] chore(release): publish - @injectivelabs/sdk-ui-ts@1.14.2-beta.13 - @injectivelabs/wallet-ts@1.14.2-beta.12 --- packages/sdk-ui-ts/package.json | 2 +- packages/wallet-ts/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/sdk-ui-ts/package.json b/packages/sdk-ui-ts/package.json index 667985b97..35c91b69b 100644 --- a/packages/sdk-ui-ts/package.json +++ b/packages/sdk-ui-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/sdk-ui-ts", "description": "SDK in TypeScript for building Injective UI applications in a browser environment.", - "version": "1.14.2-beta.12", + "version": "1.14.2-beta.13", "sideEffects": false, "license": "Apache-2.0", "author": { diff --git a/packages/wallet-ts/package.json b/packages/wallet-ts/package.json index 0d3a73219..0491f037c 100644 --- a/packages/wallet-ts/package.json +++ b/packages/wallet-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/wallet-ts", "description": "A convenient way to use and interact with different types of wallets on Injective.", - "version": "1.14.2-beta.11", + "version": "1.14.2-beta.12", "sideEffects": false, "author": { "name": "Bojan Angjelkoski", From 7da1320e85b0f42c404f00bd3bc01976db878f7a Mon Sep 17 00:00:00 2001 From: Bojan Angjelkoski Date: Tue, 31 Oct 2023 16:33:51 -0400 Subject: [PATCH 32/40] chore: revert endpoints --- packages/wallet-ts/src/utils/wallets/cosmos/endpoints.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/wallet-ts/src/utils/wallets/cosmos/endpoints.ts b/packages/wallet-ts/src/utils/wallets/cosmos/endpoints.ts index a20d4037c..57f2ebd51 100644 --- a/packages/wallet-ts/src/utils/wallets/cosmos/endpoints.ts +++ b/packages/wallet-ts/src/utils/wallets/cosmos/endpoints.ts @@ -118,8 +118,8 @@ export const getEndpointsFromChainId = ( } case CosmosChainId.Celestia: return { - rpc: 'http://65.108.128.139:26657', - rest: 'http://93.115.25.15:1320', + rpc: 'https://rpc.cosmos.directory/celestia', + rest: 'https://rest.cosmos.directory/celestia', } default: throw new GeneralException( From 9e2441b1f9729435a72e2ef81cfb808333234450 Mon Sep 17 00:00:00 2001 From: bangjelkoski Date: Tue, 31 Oct 2023 20:39:20 +0000 Subject: [PATCH 33/40] chore(release): publish - @injectivelabs/sdk-ui-ts@1.14.2-beta.14 - @injectivelabs/wallet-ts@1.14.2-beta.13 --- packages/sdk-ui-ts/package.json | 2 +- packages/wallet-ts/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/sdk-ui-ts/package.json b/packages/sdk-ui-ts/package.json index 35c91b69b..3e307d151 100644 --- a/packages/sdk-ui-ts/package.json +++ b/packages/sdk-ui-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/sdk-ui-ts", "description": "SDK in TypeScript for building Injective UI applications in a browser environment.", - "version": "1.14.2-beta.13", + "version": "1.14.2-beta.14", "sideEffects": false, "license": "Apache-2.0", "author": { diff --git a/packages/wallet-ts/package.json b/packages/wallet-ts/package.json index 0491f037c..f3332eddc 100644 --- a/packages/wallet-ts/package.json +++ b/packages/wallet-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/wallet-ts", "description": "A convenient way to use and interact with different types of wallets on Injective.", - "version": "1.14.2-beta.12", + "version": "1.14.2-beta.13", "sideEffects": false, "author": { "name": "Bojan Angjelkoski", From f2a7412c490c6f1ee8cb6b95082e08274f82c969 Mon Sep 17 00:00:00 2001 From: Bojan Angjelkoski Date: Tue, 31 Oct 2023 16:51:12 -0400 Subject: [PATCH 34/40] chore: added celestia coingeckoId --- packages/token-metadata/src/tokens/tokens/tokens.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/token-metadata/src/tokens/tokens/tokens.ts b/packages/token-metadata/src/tokens/tokens/tokens.ts index bc15c56c8..c82279b44 100644 --- a/packages/token-metadata/src/tokens/tokens/tokens.ts +++ b/packages/token-metadata/src/tokens/tokens/tokens.ts @@ -1851,7 +1851,7 @@ export default { symbol: 'TIA', decimals: 6, logo: 'tia.webp', - coinGeckoId: '', + coinGeckoId: 'celestia', ibc: { decimals: 6, From 2d14f950b6f1b36d820fcce7f2b740226dcf329b Mon Sep 17 00:00:00 2001 From: bangjelkoski Date: Tue, 31 Oct 2023 20:55:34 +0000 Subject: [PATCH 35/40] chore(release): publish - @injectivelabs/bridge-ts@1.14.2-beta.12 - @injectivelabs/sdk-ts@1.14.2-beta.12 - @injectivelabs/sdk-ui-ts@1.14.2-beta.15 - @injectivelabs/token-metadata@1.14.2-beta.9 - @injectivelabs/wallet-ts@1.14.2-beta.14 --- packages/bridge-ts/package.json | 4 ++-- packages/sdk-ts/package.json | 4 ++-- packages/sdk-ui-ts/package.json | 6 +++--- packages/token-metadata/package.json | 2 +- packages/wallet-ts/package.json | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/bridge-ts/package.json b/packages/bridge-ts/package.json index 4f8bc4ae0..17dd23a05 100644 --- a/packages/bridge-ts/package.json +++ b/packages/bridge-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/bridge-ts", "description": "Bridge utilities and abstractions in TypeScript to be used in Injective products", - "version": "1.14.2-beta.11", + "version": "1.14.2-beta.12", "sideEffects": false, "author": { "name": "Bojan Angjelkoski", @@ -34,7 +34,7 @@ "@axelar-network/axelarjs-sdk": "^0.11.7", "@injectivelabs/exceptions": "^1.14.2-beta.1", "@injectivelabs/networks": "^1.14.2-beta.2", - "@injectivelabs/sdk-ts": "^1.14.2-beta.11", + "@injectivelabs/sdk-ts": "^1.14.2-beta.12", "@injectivelabs/ts-types": "^1.14.2-beta.0", "@injectivelabs/utils": "^1.14.2-beta.1", "@injectivelabs/wormhole-sdk": "^1.12.0-beta.0", diff --git a/packages/sdk-ts/package.json b/packages/sdk-ts/package.json index bbd083f91..2078dc672 100644 --- a/packages/sdk-ts/package.json +++ b/packages/sdk-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/sdk-ts", "description": "SDK in TypeScript for building Injective applications in a browser, node, and react native environment.", - "version": "1.14.2-beta.11", + "version": "1.14.2-beta.12", "sideEffects": false, "license": "Apache-2.0", "author": { @@ -48,7 +48,7 @@ "@injectivelabs/mito-proto-ts": "1.0.50", "@injectivelabs/networks": "^1.14.2-beta.2", "@injectivelabs/test-utils": "^1.14.1", - "@injectivelabs/token-metadata": "^1.14.2-beta.8", + "@injectivelabs/token-metadata": "^1.14.2-beta.9", "@injectivelabs/ts-types": "^1.14.2-beta.0", "@injectivelabs/utils": "^1.14.2-beta.1", "@metamask/eth-sig-util": "^4.0.0", diff --git a/packages/sdk-ui-ts/package.json b/packages/sdk-ui-ts/package.json index 3e307d151..633c3f93a 100644 --- a/packages/sdk-ui-ts/package.json +++ b/packages/sdk-ui-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/sdk-ui-ts", "description": "SDK in TypeScript for building Injective UI applications in a browser environment.", - "version": "1.14.2-beta.14", + "version": "1.14.2-beta.15", "sideEffects": false, "license": "Apache-2.0", "author": { @@ -38,8 +38,8 @@ "@injectivelabs/contracts": "^1.14.2-beta.2", "@injectivelabs/exceptions": "^1.14.2-beta.1", "@injectivelabs/networks": "^1.14.2-beta.2", - "@injectivelabs/sdk-ts": "^1.14.2-beta.11", - "@injectivelabs/token-metadata": "^1.14.2-beta.8", + "@injectivelabs/sdk-ts": "^1.14.2-beta.12", + "@injectivelabs/token-metadata": "^1.14.2-beta.9", "@injectivelabs/token-utils": "^1.14.2-beta.1", "@injectivelabs/ts-types": "^1.14.2-beta.0", "@injectivelabs/utils": "^1.14.2-beta.1", diff --git a/packages/token-metadata/package.json b/packages/token-metadata/package.json index 05f26d3e4..c2e9be0af 100644 --- a/packages/token-metadata/package.json +++ b/packages/token-metadata/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/token-metadata", "description": "ERC20 token metadata. Name, symbol, decimals, etc.", - "version": "1.14.2-beta.8", + "version": "1.14.2-beta.9", "sideEffects": false, "license": "Apache-2.0", "author": { diff --git a/packages/wallet-ts/package.json b/packages/wallet-ts/package.json index f3332eddc..a614b07cf 100644 --- a/packages/wallet-ts/package.json +++ b/packages/wallet-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/wallet-ts", "description": "A convenient way to use and interact with different types of wallets on Injective.", - "version": "1.14.2-beta.13", + "version": "1.14.2-beta.14", "sideEffects": false, "author": { "name": "Bojan Angjelkoski", @@ -39,7 +39,7 @@ "@ethereumjs/tx": "^4.1.1", "@injectivelabs/exceptions": "^1.14.2-beta.1", "@injectivelabs/networks": "^1.14.2-beta.2", - "@injectivelabs/sdk-ts": "^1.14.2-beta.11", + "@injectivelabs/sdk-ts": "^1.14.2-beta.12", "@injectivelabs/ts-types": "^1.14.2-beta.0", "@injectivelabs/utils": "^1.14.2-beta.1", "@keplr-wallet/cosmos": "^0.11.58", From 347b00285fd70f299c51c78812648ac6bc8e8c9c Mon Sep 17 00:00:00 2001 From: Bojan Angjelkoski Date: Wed, 1 Nov 2023 12:11:32 -0400 Subject: [PATCH 36/40] chore: minor --- .../IndexerRestExplorerTransformer.ts | 16 +++++++--------- .../src/client/indexer/types/explorer-rest.ts | 4 ++++ .../sdk-ts/src/client/indexer/types/explorer.ts | 4 ++++ 3 files changed, 15 insertions(+), 9 deletions(-) diff --git a/packages/sdk-ts/src/client/indexer/transformers/IndexerRestExplorerTransformer.ts b/packages/sdk-ts/src/client/indexer/transformers/IndexerRestExplorerTransformer.ts index bb73a21f6..36aafb7f5 100644 --- a/packages/sdk-ts/src/client/indexer/transformers/IndexerRestExplorerTransformer.ts +++ b/packages/sdk-ts/src/client/indexer/transformers/IndexerRestExplorerTransformer.ts @@ -216,6 +216,10 @@ export class IndexerRestExplorerTransformer { return { txHash: transaction.hash, code: transaction.code, + data: transaction.data, + memo: transaction.memo, + tx_number: transaction.tx_number, + error_log: transaction.error_log, height: transaction.block_number, time: transaction.block_unix_timestamp, type: transaction.messages[0].type, @@ -230,15 +234,9 @@ export class IndexerRestExplorerTransformer { transaction: ContractTransactionExplorerApiResponse, ): ContractTransactionWithMessages { return { - txHash: transaction.hash, - code: transaction.code, - height: transaction.block_number, - time: transaction.block_unix_timestamp, - type: transaction.messages[0].type, - fee: transaction.gas_fee.amount - ? new BigNumberInWei(transaction.gas_fee.amount[0].amount).toBase() - : ZERO_IN_BASE, - amount: getContractTransactionAmount(transaction), + ...IndexerRestExplorerTransformer.contractTransactionToExplorerContractTransaction( + transaction, + ), messages: (transaction.messages || []).map((message) => { return { type: message.type, diff --git a/packages/sdk-ts/src/client/indexer/types/explorer-rest.ts b/packages/sdk-ts/src/client/indexer/types/explorer-rest.ts index c9e613bf8..3014893cb 100644 --- a/packages/sdk-ts/src/client/indexer/types/explorer-rest.ts +++ b/packages/sdk-ts/src/client/indexer/types/explorer-rest.ts @@ -183,6 +183,10 @@ export interface ContractTransactionExplorerApiResponse { hash: string code: number block_number: number + data: string + memo: string + tx_number: number + error_log: string block_unix_timestamp: number gas_fee: { amount: [ diff --git a/packages/sdk-ts/src/client/indexer/types/explorer.ts b/packages/sdk-ts/src/client/indexer/types/explorer.ts index 541e83809..02a704d68 100644 --- a/packages/sdk-ts/src/client/indexer/types/explorer.ts +++ b/packages/sdk-ts/src/client/indexer/types/explorer.ts @@ -255,6 +255,10 @@ export interface ContractTransaction { fee: BigNumberInBase height: number time: number + data: string + memo: string + tx_number: number + error_log: string } export interface ContractTransactionWithMessages extends ContractTransaction { From ac0666ad2d0b7c2178b4eb4589faf5e9f1c5d80b Mon Sep 17 00:00:00 2001 From: bangjelkoski Date: Wed, 1 Nov 2023 16:17:31 +0000 Subject: [PATCH 37/40] chore(release): publish - @injectivelabs/bridge-ts@1.14.2-beta.13 - @injectivelabs/sdk-ts@1.14.2-beta.13 - @injectivelabs/sdk-ui-ts@1.14.2-beta.16 - @injectivelabs/wallet-ts@1.14.2-beta.15 --- packages/bridge-ts/package.json | 4 ++-- packages/sdk-ts/package.json | 2 +- packages/sdk-ui-ts/package.json | 4 ++-- packages/wallet-ts/package.json | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/bridge-ts/package.json b/packages/bridge-ts/package.json index 17dd23a05..cefe1aa37 100644 --- a/packages/bridge-ts/package.json +++ b/packages/bridge-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/bridge-ts", "description": "Bridge utilities and abstractions in TypeScript to be used in Injective products", - "version": "1.14.2-beta.12", + "version": "1.14.2-beta.13", "sideEffects": false, "author": { "name": "Bojan Angjelkoski", @@ -34,7 +34,7 @@ "@axelar-network/axelarjs-sdk": "^0.11.7", "@injectivelabs/exceptions": "^1.14.2-beta.1", "@injectivelabs/networks": "^1.14.2-beta.2", - "@injectivelabs/sdk-ts": "^1.14.2-beta.12", + "@injectivelabs/sdk-ts": "^1.14.2-beta.13", "@injectivelabs/ts-types": "^1.14.2-beta.0", "@injectivelabs/utils": "^1.14.2-beta.1", "@injectivelabs/wormhole-sdk": "^1.12.0-beta.0", diff --git a/packages/sdk-ts/package.json b/packages/sdk-ts/package.json index 2078dc672..16fdb2e90 100644 --- a/packages/sdk-ts/package.json +++ b/packages/sdk-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/sdk-ts", "description": "SDK in TypeScript for building Injective applications in a browser, node, and react native environment.", - "version": "1.14.2-beta.12", + "version": "1.14.2-beta.13", "sideEffects": false, "license": "Apache-2.0", "author": { diff --git a/packages/sdk-ui-ts/package.json b/packages/sdk-ui-ts/package.json index 633c3f93a..ab9ab759e 100644 --- a/packages/sdk-ui-ts/package.json +++ b/packages/sdk-ui-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/sdk-ui-ts", "description": "SDK in TypeScript for building Injective UI applications in a browser environment.", - "version": "1.14.2-beta.15", + "version": "1.14.2-beta.16", "sideEffects": false, "license": "Apache-2.0", "author": { @@ -38,7 +38,7 @@ "@injectivelabs/contracts": "^1.14.2-beta.2", "@injectivelabs/exceptions": "^1.14.2-beta.1", "@injectivelabs/networks": "^1.14.2-beta.2", - "@injectivelabs/sdk-ts": "^1.14.2-beta.12", + "@injectivelabs/sdk-ts": "^1.14.2-beta.13", "@injectivelabs/token-metadata": "^1.14.2-beta.9", "@injectivelabs/token-utils": "^1.14.2-beta.1", "@injectivelabs/ts-types": "^1.14.2-beta.0", diff --git a/packages/wallet-ts/package.json b/packages/wallet-ts/package.json index a614b07cf..593f73451 100644 --- a/packages/wallet-ts/package.json +++ b/packages/wallet-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/wallet-ts", "description": "A convenient way to use and interact with different types of wallets on Injective.", - "version": "1.14.2-beta.14", + "version": "1.14.2-beta.15", "sideEffects": false, "author": { "name": "Bojan Angjelkoski", @@ -39,7 +39,7 @@ "@ethereumjs/tx": "^4.1.1", "@injectivelabs/exceptions": "^1.14.2-beta.1", "@injectivelabs/networks": "^1.14.2-beta.2", - "@injectivelabs/sdk-ts": "^1.14.2-beta.12", + "@injectivelabs/sdk-ts": "^1.14.2-beta.13", "@injectivelabs/ts-types": "^1.14.2-beta.0", "@injectivelabs/utils": "^1.14.2-beta.1", "@keplr-wallet/cosmos": "^0.11.58", From 6e25b3f156d964666db8bc7885df653166aac523 Mon Sep 17 00:00:00 2001 From: Bojan Angjelkoski Date: Tue, 7 Nov 2023 16:01:00 +0100 Subject: [PATCH 38/40] revert: faulty version --- .../src/exceptions/LedgerException.ts | 3 + packages/sdk-ts/package.json | 1 - .../sdk-ts/src/core/accounts/PublicKey.ts | 16 ++-- packages/sdk-ts/src/utils/crypto.ts | 24 +++++ .../src/broadcaster/MsgBroadcaster.ts | 18 ++++ yarn.lock | 94 +++---------------- 6 files changed, 66 insertions(+), 90 deletions(-) diff --git a/packages/exceptions/src/exceptions/LedgerException.ts b/packages/exceptions/src/exceptions/LedgerException.ts index ee5b8a54b..be32280e9 100644 --- a/packages/exceptions/src/exceptions/LedgerException.ts +++ b/packages/exceptions/src/exceptions/LedgerException.ts @@ -6,6 +6,9 @@ const isCommonLockedError = (error: string) => { 'Ledger device: Incorrect length', 'Ledger device: INS_NOT_SUPPORTED', 'Ledger device: CLA_NOT_SUPPORTED', + 'CLA_NOT_SUPPORTED', + 'CLA', + 'Locked', 'Failed to open the device', 'Failed to open the device', 'Ledger Device is busy', diff --git a/packages/sdk-ts/package.json b/packages/sdk-ts/package.json index 16fdb2e90..d5782a8f7 100644 --- a/packages/sdk-ts/package.json +++ b/packages/sdk-ts/package.json @@ -56,7 +56,6 @@ "bech32": "^2.0.0", "bip39": "^3.0.4", "cosmjs-types": "^0.7.1", - "eth-crypto": "^2.6.0", "ethereumjs-util": "^7.1.4", "ethers": "^5.7.2", "google-protobuf": "^3.21.0", diff --git a/packages/sdk-ts/src/core/accounts/PublicKey.ts b/packages/sdk-ts/src/core/accounts/PublicKey.ts index f64175b2d..e7b57aef5 100644 --- a/packages/sdk-ts/src/core/accounts/PublicKey.ts +++ b/packages/sdk-ts/src/core/accounts/PublicKey.ts @@ -1,12 +1,8 @@ -import { BECH32_PUBKEY_ACC_PREFIX } from '../../utils' +import { BECH32_PUBKEY_ACC_PREFIX, decompressPubKey } from '../../utils' import { bech32 } from 'bech32' import { toBuffer } from 'ethereumjs-util' import secp256k1 from 'secp256k1' import { Address } from './Address' -import { - publicKey as EthCryptoPublicKey, - util as EthCryptoUtil, -} from 'eth-crypto' import { keccak256 } from 'js-sha3' import { GoogleProtobufAny, @@ -63,9 +59,15 @@ export class PublicKey { public toAddress(): Address { const publicKeyHex = this.toHex() - const decompressedPublicKey = EthCryptoPublicKey.decompress(publicKeyHex) + const decompressedPublicKey = decompressPubKey(publicKeyHex) const addressBuffer = Buffer.from( - keccak256(toBuffer(EthCryptoUtil.addLeading0x(decompressedPublicKey))), + keccak256( + toBuffer( + decompressedPublicKey.startsWith('0x') + ? decompressedPublicKey + : '0x' + decompressedPublicKey, + ), + ), 'hex', ).subarray(-20) diff --git a/packages/sdk-ts/src/utils/crypto.ts b/packages/sdk-ts/src/utils/crypto.ts index 76857e000..6f539e0e6 100644 --- a/packages/sdk-ts/src/utils/crypto.ts +++ b/packages/sdk-ts/src/utils/crypto.ts @@ -58,3 +58,27 @@ export const messageHash = (message: any) => message.types, SignTypedDataVersion.V4, ) + +export function uint8ArrayToHex(arr: Uint8Array) { + return Buffer.from(arr).toString('hex') +} + +export function hexToUnit8Array(str: string) { + return new Uint8Array(Buffer.from(str, 'hex')) +} + +export function decompressPubKey(startsWith02Or03: string) { + // if already decompressed an not has trailing 04 + const testBuffer = Buffer.from(startsWith02Or03, 'hex') + + if (testBuffer.length === 64) startsWith02Or03 = '04' + startsWith02Or03 + + let decompressed = uint8ArrayToHex( + secp256k1.publicKeyConvert(hexToUnit8Array(startsWith02Or03), false), + ) + + // remove trailing 04 + decompressed = decompressed.substring(2) + + return decompressed +} diff --git a/packages/wallet-ts/src/broadcaster/MsgBroadcaster.ts b/packages/wallet-ts/src/broadcaster/MsgBroadcaster.ts index c4421f695..cbc0c9e9d 100644 --- a/packages/wallet-ts/src/broadcaster/MsgBroadcaster.ts +++ b/packages/wallet-ts/src/broadcaster/MsgBroadcaster.ts @@ -513,6 +513,24 @@ export class MsgBroadcaster { const { walletStrategy } = options const msgs = Array.isArray(tx.msgs) ? tx.msgs : [tx.msgs] + /** + * We can only use this method when Keplr is connected + * with ledger + */ + if (walletStrategy.getWallet() === Wallet.Keplr) { + const walletDeviceType = await walletStrategy.getWalletDeviceType() + const isLedgerConnectedOnKeplr = + walletDeviceType === WalletDeviceType.Hardware + + if (isLedgerConnectedOnKeplr) { + throw new GeneralException( + new Error( + 'Keplr + Ledger is not available with fee delegation. Connect with Ledger directly.', + ), + ) + } + } + const feePayerPubKey = await this.fetchFeePayerPubKey( options.feePayerPubKey, ) diff --git a/yarn.lock b/yarn.lock index de2a3cd47..404059d33 100644 --- a/yarn.lock +++ b/yarn.lock @@ -999,13 +999,6 @@ "@babel/types" "^7.4.4" esutils "^2.0.2" -"@babel/runtime@7.20.13": - version "7.20.13" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.20.13.tgz#7055ab8a7cff2b8f6058bf6ae45ff84ad2aded4b" - integrity sha512-gt3PKXs0DBoL9xCvOIIZ2NEqAGZqHjAnmVbfQtB620V0uReIQutpel14KcneZuer7UioY8ALKZ7iocavvzTNFA== - dependencies: - regenerator-runtime "^0.13.11" - "@babel/runtime@^7.12.5", "@babel/runtime@^7.17.2", "@babel/runtime@^7.19.4", "@babel/runtime@^7.8.4": version "7.20.7" resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.20.7.tgz#fcb41a5a70550e04a7b708037c7c32f7f356d8fd" @@ -1704,7 +1697,7 @@ resolved "https://registry.yarnpkg.com/@ethereumjs/rlp/-/rlp-4.0.1.tgz#626fabfd9081baab3d0a3074b0c7ecaf674aaa41" integrity sha512-tqsQiBQDQdmPWE1xkkBq4rlSW5QZpLOUJ5RJh2/9fug+q9tnUhuZoVLk7s0scUIKTOzEtR72DFBXI4WiZcMpvw== -"@ethereumjs/tx@3.5.2", "@ethereumjs/tx@^4.1.1": +"@ethereumjs/tx@^4.1.1": version "4.1.1" resolved "https://registry.yarnpkg.com/@ethereumjs/tx/-/tx-4.1.1.tgz#d1b5bf2c4fd3618f2f333b66e262848530d4686a" integrity sha512-QDj7nuROfoeyK83RObMA0XCZ+LUDdneNkSCIekO498uEKTY25FxI4Whduc/6j0wdd4IqpQvkq+/7vxSULjGIBQ== @@ -4550,13 +4543,6 @@ dependencies: "@babel/types" "^7.3.0" -"@types/bn.js@5.1.1", "@types/bn.js@^5.1.0": - version "5.1.1" - resolved "https://registry.npmjs.org/@types/bn.js/-/bn.js-5.1.1.tgz#b51e1b55920a4ca26e9285ff79936bbdec910682" - integrity sha512-qNrYbZqMx0uJAfKnKclPh+dTwK33KfLHYqtyODwd5HnXOjnkhc4qgn3BrK6RWyGZm5+sIFE7Q7Vz6QQtJB7w7g== - dependencies: - "@types/node" "*" - "@types/bn.js@^4.11.3": version "4.11.6" resolved "https://registry.npmjs.org/@types/bn.js/-/bn.js-4.11.6.tgz#c306c70d9358aaea33cd4eda092a742b9505967c" @@ -4564,6 +4550,13 @@ dependencies: "@types/node" "*" +"@types/bn.js@^5.1.0": + version "5.1.1" + resolved "https://registry.npmjs.org/@types/bn.js/-/bn.js-5.1.1.tgz#b51e1b55920a4ca26e9285ff79936bbdec910682" + integrity sha512-qNrYbZqMx0uJAfKnKclPh+dTwK33KfLHYqtyODwd5HnXOjnkhc4qgn3BrK6RWyGZm5+sIFE7Q7Vz6QQtJB7w7g== + dependencies: + "@types/node" "*" + "@types/connect@^3.4.33": version "3.4.35" resolved "https://registry.npmjs.org/@types/connect/-/connect-3.4.35.tgz#5fcf6ae445e4021d1fc2219a4873cc73a3bb2ad1" @@ -5286,11 +5279,6 @@ acorn-walk@^8.1.1: resolved "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.2.0.tgz#741210f2e2426454508853a2f44d0ab83b7f69c1" integrity sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA== -acorn@7.1.1: - version "7.1.1" - resolved "https://registry.npmjs.org/acorn/-/acorn-7.1.1.tgz#e35668de0b402f359de515c5482a1ab9f89a69bf" - integrity sha512-add7dgA5ppRPxCFJoAGfMDi7PIBXq1RtGo7BhbLaxwrXPOmw8gq48Y9ozT01hUKy9byMjlR20EJhu5zlkErEkg== - acorn@^7.4.0: version "7.4.1" resolved "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz#feaed255973d2e77555b83dbc08851a6c63520fa" @@ -7550,18 +7538,6 @@ eastasianwidth@^0.2.0: resolved "https://registry.yarnpkg.com/eastasianwidth/-/eastasianwidth-0.2.0.tgz#696ce2ec0aa0e6ea93a397ffcf24aa7840c827cb" integrity sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA== -eccrypto@1.1.6: - version "1.1.6" - resolved "https://registry.npmjs.org/eccrypto/-/eccrypto-1.1.6.tgz#846bd1222323036f7a3515613704386399702bd3" - integrity sha512-d78ivVEzu7Tn0ZphUUaL43+jVPKTMPFGtmgtz1D0LrFn7cY3K8CdrvibuLz2AAkHBLKZtR8DMbB2ukRYFk987A== - dependencies: - acorn "7.1.1" - elliptic "6.5.4" - es6-promise "4.2.8" - nan "2.14.0" - optionalDependencies: - secp256k1 "3.7.1" - ee-first@1.1.1: version "1.1.1" resolved "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d" @@ -7593,7 +7569,7 @@ electron-to-chromium@^1.4.251: resolved "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.284.tgz#61046d1e4cab3a25238f6bf7413795270f125592" integrity sha512-M8WEXFuKXMYMVr45fo8mq0wUrrJHheiKZf6BArTKk9ZBYCKJEOU5H8cdWgDT+qCVZf7Na4lVUaZsA+h6uA9+PA== -elliptic@6.5.4, elliptic@^6.4.0, elliptic@^6.4.1, elliptic@^6.5.2, elliptic@^6.5.3, elliptic@^6.5.4: +elliptic@6.5.4, elliptic@^6.4.0, elliptic@^6.5.2, elliptic@^6.5.3, elliptic@^6.5.4: version "6.5.4" resolved "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz#da37cebd31e79a1367e941b592ed1fbebd58abbb" integrity sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ== @@ -7789,7 +7765,7 @@ es6-object-assign@^1.1.0: resolved "https://registry.npmjs.org/es6-object-assign/-/es6-object-assign-1.1.0.tgz#c2c3582656247c39ea107cb1e6652b6f9f24523c" integrity sha512-MEl9uirslVwqQU369iHNWZXsI8yaZYGg/D65aOgZkeyFJwHYSxilf7rQzXKI7DdDuBPrBXbfk3sl9hJhmd5AUw== -es6-promise@4.2.8, es6-promise@^4.0.3, es6-promise@^4.2.8: +es6-promise@^4.0.3, es6-promise@^4.2.8: version "4.2.8" resolved "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.8.tgz#4eb21594c972bc40553d276e510539143db53e0a" integrity sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w== @@ -8054,19 +8030,6 @@ etag@~1.8.1: resolved "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887" integrity sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg== -eth-crypto@^2.6.0: - version "2.6.0" - resolved "https://registry.yarnpkg.com/eth-crypto/-/eth-crypto-2.6.0.tgz#b777f367ae8c70e5917b3b7d52adab6b34841e29" - integrity sha512-GCX4ffFYRUGgnuWR5qxcZIRQJ1KEqPFiyXU9yVy7s6dtXIMlUXZQ2h+5ID6rFaOHWbpJbjfkC6YdhwtwRYCnug== - dependencies: - "@babel/runtime" "7.20.13" - "@ethereumjs/tx" "3.5.2" - "@types/bn.js" "5.1.1" - eccrypto "1.1.6" - ethereumjs-util "7.1.5" - ethers "5.7.2" - secp256k1 "5.0.0" - eth-rpc-errors@^4.0.3: version "4.0.3" resolved "https://registry.npmjs.org/eth-rpc-errors/-/eth-rpc-errors-4.0.3.tgz#6ddb6190a4bf360afda82790bb7d9d5e724f423a" @@ -8123,7 +8086,7 @@ ethereumjs-abi@^0.6.8: bn.js "^4.11.8" ethereumjs-util "^6.0.0" -ethereumjs-util@*, ethereumjs-util@7.1.5, ethereumjs-util@^7.1.0, ethereumjs-util@^7.1.4, ethereumjs-util@^7.1.5: +ethereumjs-util@*, ethereumjs-util@^7.1.0, ethereumjs-util@^7.1.4, ethereumjs-util@^7.1.5: version "7.1.5" resolved "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-7.1.5.tgz#9ecf04861e4fbbeed7465ece5f23317ad1129181" integrity sha512-SDl5kKrQAudFBUe5OJM9Ac6WmMyYmXX/6sTmLZ3ffG2eY6ZIGBes3pEDxNN6V72WyOw4CPD5RomKdsa8DAAwLg== @@ -8160,7 +8123,7 @@ ethereumjs-util@^6.0.0, ethereumjs-util@^6.2.1: ethjs-util "0.1.6" rlp "^2.2.3" -ethers@5.7.2, ethers@^5.4.7, ethers@^5.7.2: +ethers@^5.4.7, ethers@^5.7.2: version "5.7.2" resolved "https://registry.npmjs.org/ethers/-/ethers-5.7.2.tgz#3a7deeabbb8c030d4126b24f84e525466145872e" integrity sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg== @@ -11747,11 +11710,6 @@ mylas@^2.1.9: resolved "https://registry.npmjs.org/mylas/-/mylas-2.1.13.tgz#1e23b37d58fdcc76e15d8a5ed23f9ae9fc0cbdf4" integrity sha512-+MrqnJRtxdF+xngFfUUkIMQrUUL0KsxbADUkn23Z/4ibGg192Q+z+CQyiYwvWTsYjJygmMR8+w3ZDa98Zh6ESg== -nan@2.14.0: - version "2.14.0" - resolved "https://registry.npmjs.org/nan/-/nan-2.14.0.tgz#7818f722027b2459a86f0295d434d1fc2336c52c" - integrity sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg== - nan@^2.12.1, nan@^2.13.2, nan@^2.14.0, nan@^2.14.2, nan@^2.2.1: version "2.17.0" resolved "https://registry.npmjs.org/nan/-/nan-2.17.0.tgz#c0150a2368a182f033e9aa5195ec76ea41a199cb" @@ -11834,11 +11792,6 @@ node-addon-api@^3.0.0, node-addon-api@^3.2.1: resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-3.2.1.tgz#81325e0a2117789c0128dab65e7e38f07ceba161" integrity sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A== -node-addon-api@^5.0.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-5.1.0.tgz#49da1ca055e109a23d537e9de43c09cca21eb762" - integrity sha512-eh0GgfEkpnoWDq+VY8OyvYhFEzBk6jIYbRKdIlyTiAXIVJ8PyBaKb0rp7oDtoddbdoHWhq8wwr+XZ81F1rpNdA== - node-fetch@2, node-fetch@2.6.7, node-fetch@^2.6.7: version "2.6.7" resolved "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz#24de9fba827e3b4ae44dc8b20256a379160052ad" @@ -13852,29 +13805,6 @@ sdp@^2.12.0, sdp@^2.6.0: resolved "https://registry.npmjs.org/sdp/-/sdp-2.12.0.tgz#338a106af7560c86e4523f858349680350d53b22" integrity sha512-jhXqQAQVM+8Xj5EjJGVweuEzgtGWb3tmEEpl3CLP3cStInSbVHSg0QWOGQzNq8pSID4JkpeV2mPqlMDLrm0/Vw== -secp256k1@3.7.1: - version "3.7.1" - resolved "https://registry.npmjs.org/secp256k1/-/secp256k1-3.7.1.tgz#12e473e0e9a7c2f2d4d4818e722ad0e14cc1e2f1" - integrity sha512-1cf8sbnRreXrQFdH6qsg2H71Xw91fCCS9Yp021GnUNJzWJS/py96fS4lHbnTnouLp08Xj6jBoBB6V78Tdbdu5g== - dependencies: - bindings "^1.5.0" - bip66 "^1.1.5" - bn.js "^4.11.8" - create-hash "^1.2.0" - drbg.js "^1.0.1" - elliptic "^6.4.1" - nan "^2.14.0" - safe-buffer "^5.1.2" - -secp256k1@5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/secp256k1/-/secp256k1-5.0.0.tgz#be6f0c8c7722e2481e9773336d351de8cddd12f7" - integrity sha512-TKWX8xvoGHrxVdqbYeZM9w+izTF4b9z3NhSaDkdn81btvuh+ivbIMGT/zQvDtTFWhRlThpoz6LEYTr7n8A5GcA== - dependencies: - elliptic "^6.5.4" - node-addon-api "^5.0.0" - node-gyp-build "^4.2.0" - secp256k1@^3.8.0: version "3.8.0" resolved "https://registry.npmjs.org/secp256k1/-/secp256k1-3.8.0.tgz#28f59f4b01dbee9575f56a47034b7d2e3b3b352d" From b296ea82c23486b0299a6334c2147999175d3140 Mon Sep 17 00:00:00 2001 From: bangjelkoski Date: Tue, 7 Nov 2023 15:06:06 +0000 Subject: [PATCH 39/40] Automatically update ibcTokenMetadata.json --- .../src/services/ibc/ibcTokenMetadata.json | 304 ++++++++++-------- 1 file changed, 171 insertions(+), 133 deletions(-) diff --git a/packages/sdk-ui-ts/src/services/ibc/ibcTokenMetadata.json b/packages/sdk-ui-ts/src/services/ibc/ibcTokenMetadata.json index c7edc0c54..4592f83c2 100644 --- a/packages/sdk-ui-ts/src/services/ibc/ibcTokenMetadata.json +++ b/packages/sdk-ui-ts/src/services/ibc/ibcTokenMetadata.json @@ -284,25 +284,6 @@ "isNative": false } }, - { - "name": "ERIS Amplified OSMO", - "denom": "ibc/012D069D557C4DD59A670AA17E809CB7A790D778E364D0BC0A3248105DA6432D", - "logo": "https://raw.githubusercontent.com/cosmos/chain-registry/master/osmosis/images/amp.osmo.png", - "symbol": "ampOSMO", - "decimals": 6, - "coinGeckoId": "", - "tokenType": "ibc", - "tokenVerification": "external", - "ibc": { - "hash": "012D069D557C4DD59A670AA17E809CB7A790D778E364D0BC0A3248105DA6432D", - "path": "", - "channelId": "", - "decimals": 6, - "symbol": "ampOSMO", - "baseDenom": "ampOSMO", - "isNative": false - } - }, { "name": "Evmos", "denom": "ibc/16618B7F7AC551F48C057A13F4CA5503693FBFF507719A85BC6876B8BD75F821", @@ -873,25 +854,6 @@ "isNative": false } }, - { - "name": "Wrapped FIL from Filecoin", - "denom": "ibc/9D1889339AEC850B1D719CCF19BD813955C086BE1ED323ED68318A273922E40D", - "logo": "https://raw.githubusercontent.com/cosmos/chain-registry/master/filecoin/images/wfil.png", - "symbol": "axlFIL", - "decimals": 18, - "coinGeckoId": "", - "tokenType": "ibc", - "tokenVerification": "external", - "ibc": { - "hash": "9D1889339AEC850B1D719CCF19BD813955C086BE1ED323ED68318A273922E40D", - "path": "", - "channelId": "", - "decimals": 18, - "symbol": "axlFIL", - "baseDenom": "axlFIL", - "isNative": false - } - }, { "name": "Arbitrum", "denom": "ibc/F28C5C931D2673B7A2F06FC74934F7BDC0D2906D2AF40D582ED27D1E5C48D475", @@ -930,6 +892,25 @@ "isNative": false } }, + { + "name": "Wrapped FIL from Filecoin", + "denom": "ibc/9D1889339AEC850B1D719CCF19BD813955C086BE1ED323ED68318A273922E40D", + "logo": "https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/filecoin/images/wfil.png", + "symbol": "axlFIL", + "decimals": 18, + "coinGeckoId": "", + "tokenType": "ibc", + "tokenVerification": "external", + "ibc": { + "hash": "9D1889339AEC850B1D719CCF19BD813955C086BE1ED323ED68318A273922E40D", + "path": "", + "channelId": "", + "decimals": 18, + "symbol": "axlFIL", + "baseDenom": "axlFIL", + "isNative": false + } + }, { "name": "Cosmos Hub Atom", "denom": "ibc/C4CFF46FD6DE35CA4CF4CE031E643C8FDC9BA4B99AE598E9B0ED98FE3A2319F9", @@ -1007,40 +988,40 @@ } }, { - "name": "ampWHALE", - "denom": "ibc/168C3904C45C6FE3539AE85A8892DF87371D00EA7942515AFC50AA43C4BB0A32", - "logo": "https://raw.githubusercontent.com/cosmos/chain-registry/master/migaloo/images/ampWhale.svg", - "symbol": "ampWHALE", + "name": "boneWHALE", + "denom": "ibc/ECB0AA28D6001EF985047558C410B65581FC85BD92D4E3CFCCA0D3D964C67CC2", + "logo": "https://raw.githubusercontent.com/cosmos/chain-registry/master/migaloo/images/bWHALE.png", + "symbol": "bWHALE", "decimals": 6, "coinGeckoId": "", "tokenType": "ibc", "tokenVerification": "external", "ibc": { - "hash": "168C3904C45C6FE3539AE85A8892DF87371D00EA7942515AFC50AA43C4BB0A32", + "hash": "ECB0AA28D6001EF985047558C410B65581FC85BD92D4E3CFCCA0D3D964C67CC2", "path": "", "channelId": "", "decimals": 6, - "symbol": "ampWHALE", - "baseDenom": "ampWHALE", + "symbol": "bWHALE", + "baseDenom": "bWHALE", "isNative": false } }, { - "name": "boneWHALE", - "denom": "ibc/ECB0AA28D6001EF985047558C410B65581FC85BD92D4E3CFCCA0D3D964C67CC2", - "logo": "https://raw.githubusercontent.com/cosmos/chain-registry/master/migaloo/images/bWHALE.png", - "symbol": "bWHALE", + "name": "ampWHALE", + "denom": "ibc/168C3904C45C6FE3539AE85A8892DF87371D00EA7942515AFC50AA43C4BB0A32", + "logo": "https://raw.githubusercontent.com/cosmos/chain-registry/master/migaloo/images/ampwhale.svg", + "symbol": "ampWHALE", "decimals": 6, "coinGeckoId": "", "tokenType": "ibc", "tokenVerification": "external", "ibc": { - "hash": "ECB0AA28D6001EF985047558C410B65581FC85BD92D4E3CFCCA0D3D964C67CC2", + "hash": "168C3904C45C6FE3539AE85A8892DF87371D00EA7942515AFC50AA43C4BB0A32", "path": "", "channelId": "", "decimals": 6, - "symbol": "bWHALE", - "baseDenom": "bWHALE", + "symbol": "ampWHALE", + "baseDenom": "ampWHALE", "isNative": false } }, @@ -1595,6 +1576,25 @@ "isNative": false } }, + { + "name": "Umee", + "denom": "ibc/76ADAF7500FA7E048261145768030EB72392A488BFDEC353631B21EF15F0EE69", + "logo": "https://raw.githubusercontent.com/cosmos/chain-registry/master/umee/images/umee.png", + "symbol": "UMEE", + "decimals": 6, + "coinGeckoId": "", + "tokenType": "ibc", + "tokenVerification": "external", + "ibc": { + "hash": "76ADAF7500FA7E048261145768030EB72392A488BFDEC353631B21EF15F0EE69", + "path": "", + "channelId": "", + "decimals": 6, + "symbol": "UMEE", + "baseDenom": "UMEE", + "isNative": false + } + }, { "name": "Tether USD", "denom": "ibc/4ABBEF4C8926DDDB320AE5188CFD63267ABBCEFC0583E4AE05D6E5AA2401DDAB", @@ -1614,6 +1614,44 @@ "isNative": false } }, + { + "name": "ampKUJI", + "denom": "ibc/34E48C7C43383203519D996D1D93FE80ED50153E28FB6A9465DE463AEF2EC9EC", + "logo": "https://raw.githubusercontent.com/cosmos/chain-registry/master/kujira/images/ampkuji.png", + "symbol": "ampKUJI", + "decimals": 6, + "coinGeckoId": "", + "tokenType": "ibc", + "tokenVerification": "external", + "ibc": { + "hash": "34E48C7C43383203519D996D1D93FE80ED50153E28FB6A9465DE463AEF2EC9EC", + "path": "", + "channelId": "", + "decimals": 6, + "symbol": "ampKUJI", + "baseDenom": "ampKUJI", + "isNative": false + } + }, + { + "name": "ERIS Amplified OSMO", + "denom": "ibc/012D069D557C4DD59A670AA17E809CB7A790D778E364D0BC0A3248105DA6432D", + "logo": "https://raw.githubusercontent.com/cosmos/chain-registry/master/osmosis/images/amposmo.png", + "symbol": "ampOSMO", + "decimals": 6, + "coinGeckoId": "", + "tokenType": "ibc", + "tokenVerification": "external", + "ibc": { + "hash": "012D069D557C4DD59A670AA17E809CB7A790D778E364D0BC0A3248105DA6432D", + "path": "", + "channelId": "", + "decimals": 6, + "symbol": "ampOSMO", + "baseDenom": "ampOSMO", + "isNative": false + } + }, { "name": "Neokingdom DAO", "denom": "ibc/F6CC233E5C0EA36B1F74AB1AF98471A2D6A80E2542856639703E908B4D93E7C4", @@ -1671,25 +1709,6 @@ "isNative": false } }, - { - "name": "ampKUJI", - "denom": "ibc/34E48C7C43383203519D996D1D93FE80ED50153E28FB6A9465DE463AEF2EC9EC", - "logo": "https://raw.githubusercontent.com/cosmos/chain-registry/master/kujira/images/ampKUJI.png", - "symbol": "ampKUJI", - "decimals": 6, - "coinGeckoId": "", - "tokenType": "ibc", - "tokenVerification": "external", - "ibc": { - "hash": "34E48C7C43383203519D996D1D93FE80ED50153E28FB6A9465DE463AEF2EC9EC", - "path": "", - "channelId": "", - "decimals": 6, - "symbol": "ampKUJI", - "baseDenom": "ampKUJI", - "isNative": false - } - }, { "name": "MNTA", "denom": "ibc/A4495880A4A2E3C242F63C710F447BAE072E1A4C2A22F1851E0BB7ABDD26B43D", @@ -1729,78 +1748,78 @@ } }, { - "name": "USDC", - "denom": "ibc/DF32F083238097AD2CA5444BFB8F338534C32865EFE0696C5AF89AFB3A0144D6", - "logo": "untracked.svg", - "symbol": "USDC", - "decimals": 18, + "name": "Dot", + "denom": "ibc/B0442E32E21ED4228301A2B1B247D3F3355B73BF288470F9643AAD0CA07DD593", + "logo": "https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/polkadot/images/dot.png", + "symbol": "DOT", + "decimals": 10, "coinGeckoId": "", "tokenType": "ibc", "tokenVerification": "external", "ibc": { - "hash": "DF32F083238097AD2CA5444BFB8F338534C32865EFE0696C5AF89AFB3A0144D6", + "hash": "B0442E32E21ED4228301A2B1B247D3F3355B73BF288470F9643AAD0CA07DD593", "path": "", "channelId": "", - "decimals": 18, - "symbol": "USDC", - "baseDenom": "USDC", + "decimals": 10, + "symbol": "DOT", + "baseDenom": "DOT", "isNative": false } }, { - "name": "Multichain USDC", - "denom": "ibc/610D4A1B3F3198C35C09E9AF7C8FB81707912463357C9398B02C7F13049678A8", - "logo": "untracked.svg", - "symbol": "USDC", + "name": "axlWBTC", + "denom": "ibc/F57B53E102171E6DC254532ECC184228BB8E23B755AD55FA6FDCBD70464A9A54", + "logo": "https://raw.githubusercontent.com/cosmos/chain-registry/master/axelar/images/axlwbtc.png", + "symbol": "axlWBTC", "decimals": 6, "coinGeckoId": "", "tokenType": "ibc", "tokenVerification": "external", "ibc": { - "hash": "610D4A1B3F3198C35C09E9AF7C8FB81707912463357C9398B02C7F13049678A8", + "hash": "F57B53E102171E6DC254532ECC184228BB8E23B755AD55FA6FDCBD70464A9A54", "path": "", "channelId": "", "decimals": 6, - "symbol": "USDC", - "baseDenom": "USDC", + "symbol": "axlWBTC", + "baseDenom": "axlWBTC", "isNative": false } }, { - "name": "USDT", - "denom": "ibc/24E5D0825D3D71BF00C4A01CD8CA8F2D27B1DD32B7446CF633534AEA25379271", - "logo": "untracked.svg", - "symbol": "USDT", + "name": "DAI", + "denom": "ibc/433133545CF68587777A01C3EFCF720EFE1B42F14AB2153D349DC4559984F2E8", + "logo": "https://raw.githubusercontent.com/cosmos/chain-registry/master/axelar/images/dai.png", + "symbol": "DAI", "decimals": 6, "coinGeckoId": "", "tokenType": "ibc", "tokenVerification": "external", "ibc": { - "hash": "24E5D0825D3D71BF00C4A01CD8CA8F2D27B1DD32B7446CF633534AEA25379271", + "hash": "433133545CF68587777A01C3EFCF720EFE1B42F14AB2153D349DC4559984F2E8", "path": "", "channelId": "", "decimals": 6, - "symbol": "USDT", - "baseDenom": "USDT", + "symbol": "DAI", + "baseDenom": "DAI", "isNative": false } }, { - "name": "DAI", - "denom": "ibc/433133545CF68587777A01C3EFCF720EFE1B42F14AB2153D349DC4559984F2E8", + "name": "USDT", + "denom": "ibc/24E5D0825D3D71BF00C4A01CD8CA8F2D27B1DD32B7446CF633534AEA25379271", "logo": "untracked.svg", - "symbol": "DAI", + "symbol": "USDT", "decimals": 6, "coinGeckoId": "", "tokenType": "ibc", "tokenVerification": "external", "ibc": { - "hash": "433133545CF68587777A01C3EFCF720EFE1B42F14AB2153D349DC4559984F2E8", + "hash": "24E5D0825D3D71BF00C4A01CD8CA8F2D27B1DD32B7446CF633534AEA25379271", "path": "", "channelId": "", "decimals": 6, - "symbol": "DAI", - "baseDenom": "DAI", + "symbol": "USDT", + "baseDenom": "USDT", "isNative": false } }, @@ -1824,40 +1843,78 @@ } }, { - "name": "axlWBTC", - "denom": "ibc/F57B53E102171E6DC254532ECC184228BB8E23B755AD55FA6FDCBD70464A9A54", - "logo": "untracked.svg", - "symbol": "axlWBTC", + "name": "BLEND", + "denom": "ibc/45C0FE8ACE1C9C8BA38D3D6FDEBDE4F7198A434B6C63ADCEFC3D32D12443BB84", + "logo": "https://raw.githubusercontent.com/cosmos/chain-registry/master/kujira/images/blend.svg", + "symbol": "BLEND", "decimals": 6, "coinGeckoId": "", "tokenType": "ibc", "tokenVerification": "external", "ibc": { - "hash": "F57B53E102171E6DC254532ECC184228BB8E23B755AD55FA6FDCBD70464A9A54", + "hash": "45C0FE8ACE1C9C8BA38D3D6FDEBDE4F7198A434B6C63ADCEFC3D32D12443BB84", "path": "", "channelId": "", "decimals": 6, - "symbol": "axlWBTC", - "baseDenom": "axlWBTC", + "symbol": "BLEND", + "baseDenom": "BLEND", "isNative": false } }, { - "name": "BLEND", - "denom": "ibc/45C0FE8ACE1C9C8BA38D3D6FDEBDE4F7198A434B6C63ADCEFC3D32D12443BB84", - "logo": "https://raw.githubusercontent.com/cosmos/chain-registry/master/kujira/images/blend.svg", - "symbol": "BLEND", + "name": "USDC", + "denom": "ibc/DF32F083238097AD2CA5444BFB8F338534C32865EFE0696C5AF89AFB3A0144D6", + "logo": "https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/usdc.svg", + "symbol": "USDC", + "decimals": 18, + "coinGeckoId": "", + "tokenType": "ibc", + "tokenVerification": "external", + "ibc": { + "hash": "DF32F083238097AD2CA5444BFB8F338534C32865EFE0696C5AF89AFB3A0144D6", + "path": "", + "channelId": "", + "decimals": 18, + "symbol": "USDC", + "baseDenom": "USDC", + "isNative": false + } + }, + { + "name": "Multichain USDC", + "denom": "ibc/610D4A1B3F3198C35C09E9AF7C8FB81707912463357C9398B02C7F13049678A8", + "logo": "https://raw.githubusercontent.com/cosmos/chain-registry/master/_non-cosmos/ethereum/images/usdc.svg", + "symbol": "USDC", "decimals": 6, "coinGeckoId": "", "tokenType": "ibc", "tokenVerification": "external", "ibc": { - "hash": "45C0FE8ACE1C9C8BA38D3D6FDEBDE4F7198A434B6C63ADCEFC3D32D12443BB84", + "hash": "610D4A1B3F3198C35C09E9AF7C8FB81707912463357C9398B02C7F13049678A8", "path": "", "channelId": "", "decimals": 6, - "symbol": "BLEND", - "baseDenom": "BLEND", + "symbol": "USDC", + "baseDenom": "USDC", + "isNative": false + } + }, + { + "name": "Umee", + "denom": "ibc/88F73B623463F9B9CB841F36B6586B5C4BADF8B1CFD1C75C1F385BE01A95AD23", + "logo": "https://raw.githubusercontent.com/cosmos/chain-registry/master/umee/images/umee.png", + "symbol": "UMEE", + "decimals": 6, + "coinGeckoId": "", + "tokenType": "ibc", + "tokenVerification": "external", + "ibc": { + "hash": "88F73B623463F9B9CB841F36B6586B5C4BADF8B1CFD1C75C1F385BE01A95AD23", + "path": "", + "channelId": "", + "decimals": 6, + "symbol": "UMEE", + "baseDenom": "UMEE", "isNative": false } }, @@ -2146,25 +2203,6 @@ "isNative": false } }, - { - "name": "Dot", - "denom": "ibc/B0442E32E21ED4228301A2B1B247D3F3355B73BF288470F9643AAD0CA07DD593", - "logo": "untracked.svg", - "symbol": "DOT", - "decimals": 10, - "coinGeckoId": "", - "tokenType": "ibc", - "tokenVerification": "external", - "ibc": { - "hash": "B0442E32E21ED4228301A2B1B247D3F3355B73BF288470F9643AAD0CA07DD593", - "path": "", - "channelId": "", - "decimals": 10, - "symbol": "DOT", - "baseDenom": "DOT", - "isNative": false - } - }, { "name": "ATOM", "denom": "ibc/8D311D92BCD4E87F145DEB9DDA339416DEF7E13571D92A3521CAB0BF62760FBE", From cd5577cad90cdda5e8c88e8d16c86ae9f6c03d39 Mon Sep 17 00:00:00 2001 From: bangjelkoski Date: Tue, 7 Nov 2023 15:06:11 +0000 Subject: [PATCH 40/40] chore(release): publish - @injectivelabs/bridge-ts@1.14.2-beta.14 - @injectivelabs/contracts@1.14.2-beta.3 - @injectivelabs/exceptions@1.14.2-beta.2 - @injectivelabs/networks@1.14.2-beta.3 - @injectivelabs/sdk-ts@1.14.2-beta.14 - @injectivelabs/sdk-ui-ts@1.14.2-beta.17 - @injectivelabs/token-metadata@1.14.2-beta.10 - @injectivelabs/token-utils@1.14.2-beta.2 - @injectivelabs/utils@1.14.2-beta.2 - @injectivelabs/wallet-ts@1.14.2-beta.16 --- packages/bridge-ts/package.json | 10 +++++----- packages/contracts/package.json | 8 ++++---- packages/exceptions/package.json | 2 +- packages/networks/package.json | 6 +++--- packages/sdk-ts/package.json | 10 +++++----- packages/sdk-ui-ts/package.json | 16 ++++++++-------- packages/token-metadata/package.json | 8 ++++---- packages/token-utils/package.json | 6 +++--- packages/utils/package.json | 4 ++-- packages/wallet-ts/package.json | 10 +++++----- 10 files changed, 40 insertions(+), 40 deletions(-) diff --git a/packages/bridge-ts/package.json b/packages/bridge-ts/package.json index cefe1aa37..81828741c 100644 --- a/packages/bridge-ts/package.json +++ b/packages/bridge-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/bridge-ts", "description": "Bridge utilities and abstractions in TypeScript to be used in Injective products", - "version": "1.14.2-beta.13", + "version": "1.14.2-beta.14", "sideEffects": false, "author": { "name": "Bojan Angjelkoski", @@ -32,11 +32,11 @@ }, "dependencies": { "@axelar-network/axelarjs-sdk": "^0.11.7", - "@injectivelabs/exceptions": "^1.14.2-beta.1", - "@injectivelabs/networks": "^1.14.2-beta.2", - "@injectivelabs/sdk-ts": "^1.14.2-beta.13", + "@injectivelabs/exceptions": "^1.14.2-beta.2", + "@injectivelabs/networks": "^1.14.2-beta.3", + "@injectivelabs/sdk-ts": "^1.14.2-beta.14", "@injectivelabs/ts-types": "^1.14.2-beta.0", - "@injectivelabs/utils": "^1.14.2-beta.1", + "@injectivelabs/utils": "^1.14.2-beta.2", "@injectivelabs/wormhole-sdk": "^1.12.0-beta.0", "@solana/spl-token": "^0.3.6", "@solana/wallet-adapter-base": "^0.9.18", diff --git a/packages/contracts/package.json b/packages/contracts/package.json index c897049a1..3517e5305 100644 --- a/packages/contracts/package.json +++ b/packages/contracts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/contracts", "description": "Contracts wrapper that can be reused throughout Injective's projects.", - "version": "1.14.2-beta.2", + "version": "1.14.2-beta.3", "sideEffects": false, "license": "Apache-2.0", "main": "dist/cjs/index.js", @@ -31,10 +31,10 @@ "start": "node dist/index.js" }, "dependencies": { - "@injectivelabs/exceptions": "^1.14.2-beta.1", - "@injectivelabs/networks": "^1.14.2-beta.2", + "@injectivelabs/exceptions": "^1.14.2-beta.2", + "@injectivelabs/networks": "^1.14.2-beta.3", "@injectivelabs/ts-types": "^1.14.2-beta.0", - "@injectivelabs/utils": "^1.14.2-beta.1", + "@injectivelabs/utils": "^1.14.2-beta.2", "ethers": "^5.7.2", "link-module-alias": "^1.2.0", "shx": "^0.3.3" diff --git a/packages/exceptions/package.json b/packages/exceptions/package.json index 2fd13ee85..08cf39c6d 100644 --- a/packages/exceptions/package.json +++ b/packages/exceptions/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/exceptions", "description": "List of exceptions that can be reused throughout Injective's projects.", - "version": "1.14.2-beta.1", + "version": "1.14.2-beta.2", "sideEffects": false, "license": "Apache-2.0", "main": "dist/cjs/index.js", diff --git a/packages/networks/package.json b/packages/networks/package.json index 48e4be138..39fdc42c1 100644 --- a/packages/networks/package.json +++ b/packages/networks/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/networks", "description": "Endpoints, networks, etc. Can be reused throughout Injective's projects.", - "version": "1.14.2-beta.2", + "version": "1.14.2-beta.3", "sideEffects": false, "license": "Apache-2.0", "author": { @@ -31,9 +31,9 @@ "start": "node dist/index.js" }, "dependencies": { - "@injectivelabs/exceptions": "^1.14.2-beta.1", + "@injectivelabs/exceptions": "^1.14.2-beta.2", "@injectivelabs/ts-types": "^1.14.2-beta.0", - "@injectivelabs/utils": "^1.14.2-beta.1", + "@injectivelabs/utils": "^1.14.2-beta.2", "link-module-alias": "^1.2.0", "shx": "^0.3.2" }, diff --git a/packages/sdk-ts/package.json b/packages/sdk-ts/package.json index d5782a8f7..8ed53b5e0 100644 --- a/packages/sdk-ts/package.json +++ b/packages/sdk-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/sdk-ts", "description": "SDK in TypeScript for building Injective applications in a browser, node, and react native environment.", - "version": "1.14.2-beta.13", + "version": "1.14.2-beta.14", "sideEffects": false, "license": "Apache-2.0", "author": { @@ -40,17 +40,17 @@ "@ethersproject/bytes": "^5.7.0", "@injectivelabs/core-proto-ts": "^0.0.18", "@injectivelabs/dmm-proto-ts": "1.0.16", - "@injectivelabs/exceptions": "^1.14.2-beta.1", + "@injectivelabs/exceptions": "^1.14.2-beta.2", "@injectivelabs/grpc-web": "^0.0.1", "@injectivelabs/grpc-web-node-http-transport": "^0.0.2", "@injectivelabs/grpc-web-react-native-transport": "^0.0.2", "@injectivelabs/indexer-proto-ts": "1.11.11", "@injectivelabs/mito-proto-ts": "1.0.50", - "@injectivelabs/networks": "^1.14.2-beta.2", + "@injectivelabs/networks": "^1.14.2-beta.3", "@injectivelabs/test-utils": "^1.14.1", - "@injectivelabs/token-metadata": "^1.14.2-beta.9", + "@injectivelabs/token-metadata": "^1.14.2-beta.10", "@injectivelabs/ts-types": "^1.14.2-beta.0", - "@injectivelabs/utils": "^1.14.2-beta.1", + "@injectivelabs/utils": "^1.14.2-beta.2", "@metamask/eth-sig-util": "^4.0.0", "axios": "^0.27.2", "bech32": "^2.0.0", diff --git a/packages/sdk-ui-ts/package.json b/packages/sdk-ui-ts/package.json index ab9ab759e..771cb3561 100644 --- a/packages/sdk-ui-ts/package.json +++ b/packages/sdk-ui-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/sdk-ui-ts", "description": "SDK in TypeScript for building Injective UI applications in a browser environment.", - "version": "1.14.2-beta.16", + "version": "1.14.2-beta.17", "sideEffects": false, "license": "Apache-2.0", "author": { @@ -35,14 +35,14 @@ "get-ibc-tokens": "ts-node-dev ./src/services/ibc/tokens.ts" }, "dependencies": { - "@injectivelabs/contracts": "^1.14.2-beta.2", - "@injectivelabs/exceptions": "^1.14.2-beta.1", - "@injectivelabs/networks": "^1.14.2-beta.2", - "@injectivelabs/sdk-ts": "^1.14.2-beta.13", - "@injectivelabs/token-metadata": "^1.14.2-beta.9", - "@injectivelabs/token-utils": "^1.14.2-beta.1", + "@injectivelabs/contracts": "^1.14.2-beta.3", + "@injectivelabs/exceptions": "^1.14.2-beta.2", + "@injectivelabs/networks": "^1.14.2-beta.3", + "@injectivelabs/sdk-ts": "^1.14.2-beta.14", + "@injectivelabs/token-metadata": "^1.14.2-beta.10", + "@injectivelabs/token-utils": "^1.14.2-beta.2", "@injectivelabs/ts-types": "^1.14.2-beta.0", - "@injectivelabs/utils": "^1.14.2-beta.1", + "@injectivelabs/utils": "^1.14.2-beta.2", "alchemy-sdk": "^2.6.3", "copyfiles": "^2.4.1", "link-module-alias": "^1.2.0", diff --git a/packages/token-metadata/package.json b/packages/token-metadata/package.json index c2e9be0af..3b517bac3 100644 --- a/packages/token-metadata/package.json +++ b/packages/token-metadata/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/token-metadata", "description": "ERC20 token metadata. Name, symbol, decimals, etc.", - "version": "1.14.2-beta.9", + "version": "1.14.2-beta.10", "sideEffects": false, "license": "Apache-2.0", "author": { @@ -32,10 +32,10 @@ "start": "node dist/index.js" }, "dependencies": { - "@injectivelabs/exceptions": "^1.14.2-beta.1", - "@injectivelabs/networks": "^1.14.2-beta.2", + "@injectivelabs/exceptions": "^1.14.2-beta.2", + "@injectivelabs/networks": "^1.14.2-beta.3", "@injectivelabs/ts-types": "^1.14.2-beta.0", - "@injectivelabs/utils": "^1.14.2-beta.1", + "@injectivelabs/utils": "^1.14.2-beta.2", "@types/lodash.values": "^4.3.6", "copyfiles": "^2.4.1", "jsonschema": "^1.4.0", diff --git a/packages/token-utils/package.json b/packages/token-utils/package.json index 1f1b5071f..0d77f75c1 100644 --- a/packages/token-utils/package.json +++ b/packages/token-utils/package.json @@ -1,6 +1,6 @@ { "name": "@injectivelabs/token-utils", - "version": "1.14.2-beta.1", + "version": "1.14.2-beta.2", "description": "Token Utils is a package for querying different data about tokens", "sideEffects": false, "author": { @@ -30,8 +30,8 @@ "start": "node dist/index.js" }, "dependencies": { - "@injectivelabs/exceptions": "^1.14.2-beta.1", - "@injectivelabs/utils": "^1.14.2-beta.1", + "@injectivelabs/exceptions": "^1.14.2-beta.2", + "@injectivelabs/utils": "^1.14.2-beta.2", "link-module-alias": "^1.2.0", "shx": "^0.3.2" }, diff --git a/packages/utils/package.json b/packages/utils/package.json index 9c0f73edf..e81caa542 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/utils", "description": "List of utils and helper functions that can be reused throughout Injective's projects.", - "version": "1.14.2-beta.1", + "version": "1.14.2-beta.2", "sideEffects": false, "author": { "name": "Bojan Angjelkoski", @@ -31,7 +31,7 @@ "start": "node dist/index.js" }, "dependencies": { - "@injectivelabs/exceptions": "^1.14.2-beta.1", + "@injectivelabs/exceptions": "^1.14.2-beta.2", "@injectivelabs/ts-types": "^1.14.2-beta.0", "axios": "^0.21.1", "bignumber.js": "^9.0.1", diff --git a/packages/wallet-ts/package.json b/packages/wallet-ts/package.json index 593f73451..51b5c32d0 100644 --- a/packages/wallet-ts/package.json +++ b/packages/wallet-ts/package.json @@ -1,7 +1,7 @@ { "name": "@injectivelabs/wallet-ts", "description": "A convenient way to use and interact with different types of wallets on Injective.", - "version": "1.14.2-beta.15", + "version": "1.14.2-beta.16", "sideEffects": false, "author": { "name": "Bojan Angjelkoski", @@ -37,11 +37,11 @@ "@cosmostation/extension-client": "^0.1.15", "@ethereumjs/common": "^3.1.1", "@ethereumjs/tx": "^4.1.1", - "@injectivelabs/exceptions": "^1.14.2-beta.1", - "@injectivelabs/networks": "^1.14.2-beta.2", - "@injectivelabs/sdk-ts": "^1.14.2-beta.13", + "@injectivelabs/exceptions": "^1.14.2-beta.2", + "@injectivelabs/networks": "^1.14.2-beta.3", + "@injectivelabs/sdk-ts": "^1.14.2-beta.14", "@injectivelabs/ts-types": "^1.14.2-beta.0", - "@injectivelabs/utils": "^1.14.2-beta.1", + "@injectivelabs/utils": "^1.14.2-beta.2", "@keplr-wallet/cosmos": "^0.11.58", "@keplr-wallet/types": "^0.11.58", "@ledgerhq/hw-app-eth": "6.33.2",