Skip to content

Commit

Permalink
⬆️ Upgrade @likecoin/wallet-connector to 0.26.7
Browse files Browse the repository at this point in the history
  • Loading branch information
williamchong committed Dec 5, 2024
1 parent fd2ea80 commit b354549
Show file tree
Hide file tree
Showing 7 changed files with 5,479 additions and 2,368 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node: [16]
node: [18]

steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node: [16]
node: [18]

steps:
- name: Checkout 🛎
Expand Down
2 changes: 1 addition & 1 deletion config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const DEFAULT_GAS_PRICE_NUMBER = 10000
export const WALLET_CONFIG = IS_TESTNET
? {
chainId: 'likecoin-public-testnet-5',
chainName: 'LikeCoin',
chainName: 'LikeCoin Testnet',
rpcURL: 'https://node.testnet.like.co/rpc/',
restURL: 'https://node.testnet.like.co',
coinType: 118,
Expand Down
7 changes: 6 additions & 1 deletion nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,10 @@ export default {
},

// Build Configuration: https://go.nuxtjs.dev/config-build
build: {},
build: {
transpile: [
'@walletconnect',
'unstorage',
],
},
}
14 changes: 6 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "1.0.0",
"private": true,
"engines": {
"node": ">=16"
"node": ">=18"
},
"scripts": {
"dev": "NODE_ENV=development IS_TESTNET=TRUE nuxt",
Expand All @@ -16,18 +16,16 @@
"dependencies": {
"@cosmjs/stargate": "^0.28.11",
"@likecoin/iscn-js": "^0.2.1",
"@likecoin/wallet-connector": "0.3.0-alpha.0",
"@likecoin/wallet-connector": "^0.26.7",
"@nuxtjs/axios": "^5.13.6",
"@nuxtjs/proxy": "^2.1.0",
"@nuxtjs/pwa": "^3.3.5",
"core-js": "^3.19.3",
"nuxt": "^2.15.8",
"vue": "^2.6.14",
"nuxt": "^2.17.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"vue-gtag": "^1.16.1",
"vue-server-renderer": "^2.6.14",
"vue-template-compiler": "^2.6.14",
"vuejs-paginate": "^2.1.0",
"webpack": "^4.46.0"
"vuejs-paginate": "^2.1.0"
},
"devDependencies": {
"@babel/eslint-parser": "^7.16.3",
Expand Down
14 changes: 9 additions & 5 deletions store/wallet.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { LikeCoinWalletConnector, LikeCoinWalletConnectorMethod } from '@likecoin/wallet-connector'
import { LikeCoinWalletConnector, LikeCoinWalletConnectorMethodType } from '@likecoin/wallet-connector'
import { ISCNSigningClient } from '@likecoin/iscn-js'
import { WALLET_CONFIG, DEFAULT_GAS_PRICE_NUMBER } from '../config'

Expand Down Expand Up @@ -65,10 +65,14 @@ export const actions = {
init ({ commit }) {
connector = new LikeCoinWalletConnector({
availableMethods: [
LikeCoinWalletConnectorMethod.Keplr,
LikeCoinWalletConnectorMethod.KeplrMobile,
LikeCoinWalletConnectorMethod.LikerId,
LikeCoinWalletConnectorMethod.Cosmostation,
LikeCoinWalletConnectorMethodType.LikerId,
LikeCoinWalletConnectorMethodType.Keplr,
LikeCoinWalletConnectorMethodType.KeplrMobile,
LikeCoinWalletConnectorMethodType.Cosmostation,
LikeCoinWalletConnectorMethodType.LikerLandApp,
LikeCoinWalletConnectorMethodType.Leap,
LikeCoinWalletConnectorMethodType.MetaMaskLeap,
LikeCoinWalletConnectorMethodType.CosmostationMobile
],
...WALLET_CONFIG,
})
Expand Down
7,806 changes: 5,455 additions & 2,351 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit b354549

Please sign in to comment.