@depay/web3-wallets-evm 16.2.0 → 16.2.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.
- package/dist/esm/index.evm.js +173 -43877
- package/dist/esm/index.js +4 -0
- package/dist/esm/index.solana.js +209 -2676
- package/dist/umd/index.evm.js +168 -43872
- package/dist/umd/index.js +4 -0
- package/dist/umd/index.solana.js +206 -2670
- package/package.json +2 -2
package/dist/umd/index.js
CHANGED
|
@@ -385,6 +385,7 @@
|
|
|
385
385
|
} WindowSolana.__initStatic(); WindowSolana.__initStatic2();
|
|
386
386
|
|
|
387
387
|
function _optionalChain$k(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
388
|
+
|
|
388
389
|
class Backpack extends WindowSolana {
|
|
389
390
|
|
|
390
391
|
static __initStatic() {this.info = {
|
|
@@ -491,6 +492,7 @@
|
|
|
491
492
|
};
|
|
492
493
|
|
|
493
494
|
function _optionalChain$j(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
495
|
+
|
|
494
496
|
class WindowEthereum {
|
|
495
497
|
|
|
496
498
|
static __initStatic() {this.info = {
|
|
@@ -1513,6 +1515,7 @@
|
|
|
1513
1515
|
WalletConnectV1.setConnectedInstance = setConnectedInstance$1;
|
|
1514
1516
|
|
|
1515
1517
|
function _optionalChain$2(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
1518
|
+
|
|
1516
1519
|
const sendTransaction$1 = async ({ transaction, wallet })=> {
|
|
1517
1520
|
transaction = new Transaction(transaction);
|
|
1518
1521
|
if((await wallet.connectedTo(transaction.blockchain)) == false) {
|
|
@@ -2068,6 +2071,7 @@
|
|
|
2068
2071
|
};
|
|
2069
2072
|
|
|
2070
2073
|
function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2074
|
+
|
|
2071
2075
|
const getConnectedInstance = ()=>{
|
|
2072
2076
|
return window._connectedWalletLinkInstance
|
|
2073
2077
|
};
|