Skip to content

Commit

Permalink
CU-86dtv56f6 - Consume new version of NeonDappKit that resolves ByteA…
Browse files Browse the repository at this point in the history
…rray conversion issues
  • Loading branch information
raulduartep committed Jun 20, 2024
1 parent d9cd9ab commit 06b14f3
Show file tree
Hide file tree
Showing 9 changed files with 56 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@cityofzion/wallet-connect-sdk-core",
"comment": "Update neon-dappkit-types package version",
"type": "patch"
}
],
"packageName": "@cityofzion/wallet-connect-sdk-core"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@cityofzion/wallet-connect-sdk-react",
"comment": "Update neon-dappkit-types package version",
"type": "patch"
}
],
"packageName": "@cityofzion/wallet-connect-sdk-react"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@cityofzion/wallet-connect-sdk-wallet-core",
"comment": "Update neon-dappkit package version",
"type": "patch"
}
],
"packageName": "@cityofzion/wallet-connect-sdk-wallet-core"
}
22 changes: 11 additions & 11 deletions common/config/rush/pnpm-lock.yaml

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

11 changes: 11 additions & 0 deletions examples/wc-wallet-react/config-overrides.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
const webpack = require('webpack')

module.exports = function override(config) {
config.module.rules.push({
test: /\.m?js/,
Expand All @@ -9,8 +11,17 @@ module.exports = function override(config) {
querystring: require.resolve('querystring-es3'),
stream: require.resolve('stream-browserify'),
events: require.resolve('events'),
buffer: require.resolve('buffer/'),
},
},
})

config.plugins = (config.plugins || []).concat([
new webpack.ProvidePlugin({
process: 'process/browser',
Buffer: ['buffer', 'Buffer'],
}),
])

return config
}
1 change: 1 addition & 0 deletions examples/wc-wallet-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
"@types/react-router-dom": "^5.3.3",
"@typescript-eslint/eslint-plugin": "^4.27.0",
"@typescript-eslint/parser": "^4.27.0",
"buffer": "^6.0.3",
"cross-env": "^7.0.3",
"eslint": "^7.28.0",
"eslint-config-prettier": "^8.3.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/wallet-connect-sdk-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"@cityofzion/neon-core": "5.5.1",
"@walletconnect/sign-client": "2.13.0",
"@walletconnect/types": "2.13.0",
"@cityofzion/neon-dappkit-types": "0.3.1",
"@cityofzion/neon-dappkit-types": "0.4.0",
"typed-emitter": "^2.1.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/wallet-connect-sdk-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"dependencies": {
"@cityofzion/wallet-connect-sdk-core": "workspace:*",
"@walletconnect/types": "2.13.0",
"@cityofzion/neon-dappkit-types": "0.3.1"
"@cityofzion/neon-dappkit-types": "0.4.0"
},
"peerDependencies": {
"react": "*"
Expand Down
2 changes: 1 addition & 1 deletion packages/wallet-connect-sdk-wallet-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"@walletconnect/sign-client": "2.13.0",
"@walletconnect/types": "2.13.0",
"moment": "^2.29.4",
"@cityofzion/neon-dappkit": "0.4.2",
"@cityofzion/neon-dappkit": "0.5.1",
"ethers": "5.7.2",
"@ethersproject/abstract-signer": "~5.7.0"
},
Expand Down

0 comments on commit 06b14f3

Please sign in to comment.