@depay/web3-wallets-evm 18.1.2 → 18.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1307,7 +1307,7 @@ class WalletConnectV2 {
1307
1307
  let account = await this.account();
1308
1308
  let signature = await this.signClient.request({
1309
1309
  topic: this.session.topic,
1310
- chainId: message.domain.chainId,
1310
+ chainId: `eip155:${message.domain.chainId}`,
1311
1311
  request:{
1312
1312
  method: 'eth_signTypedData_v4',
1313
1313
  params: [account, JSON.stringify(message)],
package/dist/esm/index.js CHANGED
@@ -1908,7 +1908,7 @@ class WalletConnectV2 {
1908
1908
  let account = await this.account();
1909
1909
  let signature = await this.signClient.request({
1910
1910
  topic: this.session.topic,
1911
- chainId: message.domain.chainId,
1911
+ chainId: `eip155:${message.domain.chainId}`,
1912
1912
  request:{
1913
1913
  method: 'eth_signTypedData_v4',
1914
1914
  params: [account, JSON.stringify(message)],
@@ -1311,7 +1311,7 @@
1311
1311
  let account = await this.account();
1312
1312
  let signature = await this.signClient.request({
1313
1313
  topic: this.session.topic,
1314
- chainId: message.domain.chainId,
1314
+ chainId: `eip155:${message.domain.chainId}`,
1315
1315
  request:{
1316
1316
  method: 'eth_signTypedData_v4',
1317
1317
  params: [account, JSON.stringify(message)],
package/dist/umd/index.js CHANGED
@@ -1911,7 +1911,7 @@
1911
1911
  let account = await this.account();
1912
1912
  let signature = await this.signClient.request({
1913
1913
  topic: this.session.topic,
1914
- chainId: message.domain.chainId,
1914
+ chainId: `eip155:${message.domain.chainId}`,
1915
1915
  request:{
1916
1916
  method: 'eth_signTypedData_v4',
1917
1917
  params: [account, JSON.stringify(message)],
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@depay/web3-wallets-evm",
3
3
  "moduleName": "Web3Wallets",
4
- "version": "18.1.2",
4
+ "version": "18.1.3",
5
5
  "description": "One-Stop-Shop JavaScript library to integrate various web3 crypto wallets and multiple blockchains at once with a single interface.",
6
6
  "main": "dist/umd/index.evm.js",
7
7
  "module": "dist/esm/index.evm.js",