@solana/web3.js 1.63.0 → 1.63.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/lib/index.iife.js CHANGED
@@ -11461,13 +11461,13 @@ var solanaWeb3 = (function (exports) {
11461
11461
  getAccountKeys(args) {
11462
11462
  let accountKeysFromLookups;
11463
11463
 
11464
- if (args && 'accountKeysFromLookups' in args) {
11464
+ if (args && 'accountKeysFromLookups' in args && args.accountKeysFromLookups) {
11465
11465
  if (this.numAccountKeysFromLookups != args.accountKeysFromLookups.writable.length + args.accountKeysFromLookups.readonly.length) {
11466
11466
  throw new Error('Failed to get account keys because of a mismatch in the number of account keys from lookups');
11467
11467
  }
11468
11468
 
11469
11469
  accountKeysFromLookups = args.accountKeysFromLookups;
11470
- } else if (args && 'addressLookupTableAccounts' in args) {
11470
+ } else if (args && 'addressLookupTableAccounts' in args && args.addressLookupTableAccounts) {
11471
11471
  accountKeysFromLookups = this.resolveAddressTableLookups(args.addressLookupTableAccounts);
11472
11472
  } else if (this.addressTableLookups.length > 0) {
11473
11473
  throw new Error('Failed to get account keys because address table lookups were not resolved');