Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⬆️ Upgrade @likecoin/wallet-connector to 0.26.7 #14

Merged
merged 1 commit into from
Dec 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.

Loading