@depay/web3-wallets-evm 15.9.5 → 15.9.7

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.
@@ -41951,10 +41951,8 @@ const submitInstructions = async ({ transaction, wallet })=> {
41951
41951
  recentBlockhash,
41952
41952
  instructions: transaction.instructions,
41953
41953
  }).compileToV0Message(
41954
- transaction.alts ? Promise.all(transaction.alts.map(async(alt)=>{
41955
- return await getProvider('solana')
41956
- .getAddressLookupTable(new PublicKey(alt))
41957
- .then((res) => res.value)
41954
+ transaction.alts ? await Promise.all(transaction.alts.map(async(alt)=>{
41955
+ return (await getProvider('solana')).getAddressLookupTable(new PublicKey(alt)).then((res) => res.value)
41958
41956
  })) : undefined);
41959
41957
  const transactionV0 = new VersionedTransaction(messageV0);
41960
41958
  if(transaction.signers && transaction.signers.length) {
package/dist/esm/index.js CHANGED
@@ -519,10 +519,8 @@ const submitInstructions = async ({ transaction, wallet })=> {
519
519
  recentBlockhash,
520
520
  instructions: transaction.instructions,
521
521
  }).compileToV0Message(
522
- transaction.alts ? Promise.all(transaction.alts.map(async(alt)=>{
523
- return await getProvider('solana')
524
- .getAddressLookupTable(new PublicKey(alt))
525
- .then((res) => res.value)
522
+ transaction.alts ? await Promise.all(transaction.alts.map(async(alt)=>{
523
+ return (await getProvider('solana')).getAddressLookupTable(new PublicKey(alt)).then((res) => res.value)
526
524
  })) : undefined);
527
525
  const transactionV0 = new VersionedTransaction(messageV0);
528
526
  if(transaction.signers && transaction.signers.length) {
@@ -1260,10 +1260,8 @@ const submitInstructions = async ({ transaction, wallet })=> {
1260
1260
  recentBlockhash,
1261
1261
  instructions: transaction.instructions,
1262
1262
  }).compileToV0Message(
1263
- transaction.alts ? Promise.all(transaction.alts.map(async(alt)=>{
1264
- return await getProvider('solana')
1265
- .getAddressLookupTable(new PublicKey(alt))
1266
- .then((res) => res.value)
1263
+ transaction.alts ? await Promise.all(transaction.alts.map(async(alt)=>{
1264
+ return (await getProvider('solana')).getAddressLookupTable(new PublicKey(alt)).then((res) => res.value)
1267
1265
  })) : undefined);
1268
1266
  const transactionV0 = new VersionedTransaction(messageV0);
1269
1267
  if(transaction.signers && transaction.signers.length) {
@@ -41955,10 +41955,8 @@
41955
41955
  recentBlockhash,
41956
41956
  instructions: transaction.instructions,
41957
41957
  }).compileToV0Message(
41958
- transaction.alts ? Promise.all(transaction.alts.map(async(alt)=>{
41959
- return await web3ClientEvm.getProvider('solana')
41960
- .getAddressLookupTable(new PublicKey(alt))
41961
- .then((res) => res.value)
41958
+ transaction.alts ? await Promise.all(transaction.alts.map(async(alt)=>{
41959
+ return (await web3ClientEvm.getProvider('solana')).getAddressLookupTable(new PublicKey(alt)).then((res) => res.value)
41962
41960
  })) : undefined);
41963
41961
  const transactionV0 = new VersionedTransaction(messageV0);
41964
41962
  if(transaction.signers && transaction.signers.length) {
package/dist/umd/index.js CHANGED
@@ -522,10 +522,8 @@
522
522
  recentBlockhash,
523
523
  instructions: transaction.instructions,
524
524
  }).compileToV0Message(
525
- transaction.alts ? Promise.all(transaction.alts.map(async(alt)=>{
526
- return await web3Client.getProvider('solana')
527
- .getAddressLookupTable(new solanaWeb3_js.PublicKey(alt))
528
- .then((res) => res.value)
525
+ transaction.alts ? await Promise.all(transaction.alts.map(async(alt)=>{
526
+ return (await web3Client.getProvider('solana')).getAddressLookupTable(new solanaWeb3_js.PublicKey(alt)).then((res) => res.value)
529
527
  })) : undefined);
530
528
  const transactionV0 = new solanaWeb3_js.VersionedTransaction(messageV0);
531
529
  if(transaction.signers && transaction.signers.length) {
@@ -1263,10 +1263,8 @@
1263
1263
  recentBlockhash,
1264
1264
  instructions: transaction.instructions,
1265
1265
  }).compileToV0Message(
1266
- transaction.alts ? Promise.all(transaction.alts.map(async(alt)=>{
1267
- return await web3ClientSolana.getProvider('solana')
1268
- .getAddressLookupTable(new solanaWeb3_js.PublicKey(alt))
1269
- .then((res) => res.value)
1266
+ transaction.alts ? await Promise.all(transaction.alts.map(async(alt)=>{
1267
+ return (await web3ClientSolana.getProvider('solana')).getAddressLookupTable(new solanaWeb3_js.PublicKey(alt)).then((res) => res.value)
1270
1268
  })) : undefined);
1271
1269
  const transactionV0 = new solanaWeb3_js.VersionedTransaction(messageV0);
1272
1270
  if(transaction.signers && transaction.signers.length) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@depay/web3-wallets-evm",
3
3
  "moduleName": "Web3Wallets",
4
- "version": "15.9.5",
4
+ "version": "15.9.7",
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",