@depay/web3-wallets-evm 18.1.17 → 18.1.20

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.
@@ -435,7 +435,7 @@ class WindowEthereum {
435
435
  }
436
436
  let signature = await provider.request({
437
437
  method: 'eth_signTypedData_v4',
438
- params: [account, message],
438
+ params: [account, JSON.stringify(message)],
439
439
  from: account,
440
440
  });
441
441
  return signature
@@ -633,7 +633,7 @@ function _optionalChain$e(ops) { let lastAccessLHS = undefined; let value = ops[
633
633
  class OKXEVM extends WindowEthereum {
634
634
 
635
635
  static __initStatic() {this.info = {
636
- name: 'OKX',
636
+ name: 'OKX Wallet',
637
637
  logo: logos.okx,
638
638
  blockchains: supported$1.evm,
639
639
  platform: 'evm',
@@ -1608,7 +1608,7 @@ class WalletLink {
1608
1608
  let account = await this.account();
1609
1609
  let signature = await provider.request({
1610
1610
  method: 'eth_signTypedData_v4',
1611
- params: [account, message],
1611
+ params: [account, JSON.stringify(message)],
1612
1612
  from: account,
1613
1613
  });
1614
1614
  return signature
package/dist/esm/index.js CHANGED
@@ -708,7 +708,7 @@ class WindowEthereum {
708
708
  }
709
709
  let signature = await provider.request({
710
710
  method: 'eth_signTypedData_v4',
711
- params: [account, message],
711
+ params: [account, JSON.stringify(message)],
712
712
  from: account,
713
713
  });
714
714
  return signature
@@ -1003,7 +1003,7 @@ function _optionalChain$j(ops) { let lastAccessLHS = undefined; let value = ops[
1003
1003
  class OKXEVM extends WindowEthereum {
1004
1004
 
1005
1005
  static __initStatic() {this.info = {
1006
- name: 'OKX',
1006
+ name: 'OKX Wallet',
1007
1007
  logo: logos.okx,
1008
1008
  blockchains: supported$1.evm,
1009
1009
  platform: 'evm',
@@ -1020,7 +1020,7 @@ function _optionalChain$i(ops) { let lastAccessLHS = undefined; let value = ops[
1020
1020
  class OKXSVM extends WindowSolana {
1021
1021
 
1022
1022
  static __initStatic() {this.info = {
1023
- name: 'OKX',
1023
+ name: 'OKX Wallet',
1024
1024
  logo: logos.okx,
1025
1025
  blockchains: ['solana'],
1026
1026
  platform: 'svm',
@@ -2209,7 +2209,7 @@ class WalletLink {
2209
2209
  let account = await this.account();
2210
2210
  let signature = await provider.request({
2211
2211
  method: 'eth_signTypedData_v4',
2212
- params: [account, message],
2212
+ params: [account, JSON.stringify(message)],
2213
2213
  from: account,
2214
2214
  });
2215
2215
  return signature
@@ -531,7 +531,7 @@ function _optionalChain$5(ops) { let lastAccessLHS = undefined; let value = ops[
531
531
  class OKXSVM extends WindowSolana {
532
532
 
533
533
  static __initStatic() {this.info = {
534
- name: 'OKX',
534
+ name: 'OKX Wallet',
535
535
  logo: logos.okx,
536
536
  blockchains: ['solana'],
537
537
  platform: 'svm',
@@ -439,7 +439,7 @@
439
439
  }
440
440
  let signature = await provider.request({
441
441
  method: 'eth_signTypedData_v4',
442
- params: [account, message],
442
+ params: [account, JSON.stringify(message)],
443
443
  from: account,
444
444
  });
445
445
  return signature
@@ -637,7 +637,7 @@
637
637
  class OKXEVM extends WindowEthereum {
638
638
 
639
639
  static __initStatic() {this.info = {
640
- name: 'OKX',
640
+ name: 'OKX Wallet',
641
641
  logo: logos.okx,
642
642
  blockchains: supported$1.evm,
643
643
  platform: 'evm',
@@ -1612,7 +1612,7 @@
1612
1612
  let account = await this.account();
1613
1613
  let signature = await provider.request({
1614
1614
  method: 'eth_signTypedData_v4',
1615
- params: [account, message],
1615
+ params: [account, JSON.stringify(message)],
1616
1616
  from: account,
1617
1617
  });
1618
1618
  return signature
package/dist/umd/index.js CHANGED
@@ -711,7 +711,7 @@
711
711
  }
712
712
  let signature = await provider.request({
713
713
  method: 'eth_signTypedData_v4',
714
- params: [account, message],
714
+ params: [account, JSON.stringify(message)],
715
715
  from: account,
716
716
  });
717
717
  return signature
@@ -1006,7 +1006,7 @@
1006
1006
  class OKXEVM extends WindowEthereum {
1007
1007
 
1008
1008
  static __initStatic() {this.info = {
1009
- name: 'OKX',
1009
+ name: 'OKX Wallet',
1010
1010
  logo: logos.okx,
1011
1011
  blockchains: supported$1.evm,
1012
1012
  platform: 'evm',
@@ -1023,7 +1023,7 @@
1023
1023
  class OKXSVM extends WindowSolana {
1024
1024
 
1025
1025
  static __initStatic() {this.info = {
1026
- name: 'OKX',
1026
+ name: 'OKX Wallet',
1027
1027
  logo: logos.okx,
1028
1028
  blockchains: ['solana'],
1029
1029
  platform: 'svm',
@@ -2212,7 +2212,7 @@
2212
2212
  let account = await this.account();
2213
2213
  let signature = await provider.request({
2214
2214
  method: 'eth_signTypedData_v4',
2215
- params: [account, message],
2215
+ params: [account, JSON.stringify(message)],
2216
2216
  from: account,
2217
2217
  });
2218
2218
  return signature
@@ -536,7 +536,7 @@
536
536
  class OKXSVM extends WindowSolana {
537
537
 
538
538
  static __initStatic() {this.info = {
539
- name: 'OKX',
539
+ name: 'OKX Wallet',
540
540
  logo: logos.okx,
541
541
  blockchains: ['solana'],
542
542
  platform: 'svm',
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.17",
4
+ "version": "18.1.20",
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",