Skip to content

Commit

Permalink
XLabs/portal-bridge-ui-issues#1 - update wallet agreggator
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianscatularo committed Dec 11, 2023
1 parent 5322ff2 commit 1caa14a
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 229 deletions.
250 changes: 28 additions & 222 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"@xlabs-libs/wallet-aggregator-aptos": "^0.0.1-alpha.12",
"@xlabs-libs/wallet-aggregator-core": "^0.0.1-alpha.17",
"@xlabs-libs/wallet-aggregator-evm": "0.0.1-alpha.32",
"@xlabs-libs/wallet-aggregator-injective": "^0.0.1-alpha.14",
"@xlabs-libs/wallet-aggregator-injective": "^0.0.1-alpha.15",
"@xlabs-libs/wallet-aggregator-near": "^0.0.1-alpha.7",
"@xlabs-libs/wallet-aggregator-react": "0.0.1-alpha.14",
"@xlabs-libs/wallet-aggregator-sei": "0.0.1-alpha.10",
Expand Down
8 changes: 2 additions & 6 deletions src/contexts/InjectiveWalletContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,13 @@ export const getInjectiveWallets = () => {
if (!isValidNetwork) return [];

const network = getInjectiveNetworkName();
const networkInfo = getNetworkInfo(network);
const networkEndpoints = getNetworkInfo(network);

const opts = {
networkChainId: getInjectiveNetworkChainId(),
broadcasterOptions: {
network,
endpoints: {
indexerApi: networkInfo.indexerApi,
sentryGrpcApi: networkInfo.sentryGrpcApi,
sentryHttpApi: networkInfo.sentryHttpApi,
},
networkEndpoints
},
};

Expand Down

0 comments on commit 1caa14a

Please sign in to comment.