@depay/web3-wallets-evm 17.5.0 → 17.6.1

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.
@@ -1766,7 +1766,7 @@ class WorldApp {
1766
1766
 
1767
1767
  MiniKit.subscribe(ResponseEvent.MiniAppWalletAuth, async (payload) => {
1768
1768
  if (payload.status === "error") {
1769
- return reject()
1769
+ return reject(payload.message)
1770
1770
  } else {
1771
1771
  return resolve(MiniKit.walletAddress)
1772
1772
  }
@@ -1776,7 +1776,7 @@ class WorldApp {
1776
1776
  nonce: crypto.randomUUID().replace(/-/g, ""),
1777
1777
  expirationTime: new Date(new Date().getTime() + 7 * 24 * 60 * 60 * 1000),
1778
1778
  notBefore: new Date(new Date().getTime() - 24 * 60 * 60 * 1000),
1779
- statement: "Connect wallet (v17.3.0)"
1779
+ statement: "Connect wallet (v17.6.0)"
1780
1780
  });
1781
1781
 
1782
1782
  })
package/dist/esm/index.js CHANGED
@@ -2365,7 +2365,7 @@ class WorldApp {
2365
2365
 
2366
2366
  MiniKit.subscribe(ResponseEvent.MiniAppWalletAuth, async (payload) => {
2367
2367
  if (payload.status === "error") {
2368
- return reject()
2368
+ return reject(payload.message)
2369
2369
  } else {
2370
2370
  return resolve(MiniKit.walletAddress)
2371
2371
  }
@@ -2375,7 +2375,7 @@ class WorldApp {
2375
2375
  nonce: crypto.randomUUID().replace(/-/g, ""),
2376
2376
  expirationTime: new Date(new Date().getTime() + 7 * 24 * 60 * 60 * 1000),
2377
2377
  notBefore: new Date(new Date().getTime() - 24 * 60 * 60 * 1000),
2378
- statement: "Connect wallet (v17.3.0)"
2378
+ statement: "Connect wallet (v17.6.0)"
2379
2379
  });
2380
2380
 
2381
2381
  })
@@ -1769,7 +1769,7 @@
1769
1769
 
1770
1770
  worldcoinPrecompiled.MiniKit.subscribe(worldcoinPrecompiled.ResponseEvent.MiniAppWalletAuth, async (payload) => {
1771
1771
  if (payload.status === "error") {
1772
- return reject()
1772
+ return reject(payload.message)
1773
1773
  } else {
1774
1774
  return resolve(worldcoinPrecompiled.MiniKit.walletAddress)
1775
1775
  }
@@ -1779,7 +1779,7 @@
1779
1779
  nonce: crypto.randomUUID().replace(/-/g, ""),
1780
1780
  expirationTime: new Date(new Date().getTime() + 7 * 24 * 60 * 60 * 1000),
1781
1781
  notBefore: new Date(new Date().getTime() - 24 * 60 * 60 * 1000),
1782
- statement: "Connect wallet (v17.3.0)"
1782
+ statement: "Connect wallet (v17.6.0)"
1783
1783
  });
1784
1784
 
1785
1785
  })
package/dist/umd/index.js CHANGED
@@ -2367,7 +2367,7 @@
2367
2367
 
2368
2368
  worldcoinPrecompiled.MiniKit.subscribe(worldcoinPrecompiled.ResponseEvent.MiniAppWalletAuth, async (payload) => {
2369
2369
  if (payload.status === "error") {
2370
- return reject()
2370
+ return reject(payload.message)
2371
2371
  } else {
2372
2372
  return resolve(worldcoinPrecompiled.MiniKit.walletAddress)
2373
2373
  }
@@ -2377,7 +2377,7 @@
2377
2377
  nonce: crypto.randomUUID().replace(/-/g, ""),
2378
2378
  expirationTime: new Date(new Date().getTime() + 7 * 24 * 60 * 60 * 1000),
2379
2379
  notBefore: new Date(new Date().getTime() - 24 * 60 * 60 * 1000),
2380
- statement: "Connect wallet (v17.3.0)"
2380
+ statement: "Connect wallet (v17.6.0)"
2381
2381
  });
2382
2382
 
2383
2383
  })
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@depay/web3-wallets-evm",
3
3
  "moduleName": "Web3Wallets",
4
- "version": "17.5.0",
4
+ "version": "17.6.1",
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",
@@ -28,7 +28,7 @@
28
28
  "@depay/walletconnect-v2": "^2.12.2",
29
29
  "@depay/web3-blockchains": "^9.6.1",
30
30
  "@depay/web3-client-evm": "^10.19.0",
31
- "@depay/worldcoin-precompiled": "^0.0.33",
31
+ "@depay/worldcoin-precompiled": "^1.2.0",
32
32
  "ethers": "^5.7.1"
33
33
  },
34
34
  "engines": {