@helium/account-fetch-cache
Advanced tools
Comparing version 0.2.22-next.45 to 0.2.22-next.46
@@ -146,3 +146,3 @@ "use strict"; | ||
const keys = Array.from(currentBatch); | ||
const array = yield (0, getMultipleAccounts_1.getMultipleAccounts)(this.connection, keys, this.commitment); | ||
const { array } = yield (0, getMultipleAccounts_1.getMultipleAccounts)(this.connection, keys, this.commitment); | ||
keys.forEach((key, index) => { | ||
@@ -149,0 +149,0 @@ const callback = this.pendingCallbacks.get(key); |
@@ -133,3 +133,3 @@ import { Connection, PublicKey, Transaction, } from "@solana/web3.js"; | ||
const keys = Array.from(currentBatch); | ||
const array = await getMultipleAccounts(this.connection, keys, this.commitment); | ||
const { array } = await getMultipleAccounts(this.connection, keys, this.commitment); | ||
keys.forEach((key, index) => { | ||
@@ -136,0 +136,0 @@ const callback = this.pendingCallbacks.get(key); |
@@ -50,6 +50,3 @@ /// <reference types="node" /> | ||
keys: string[]; | ||
array: { | ||
keys: string[]; | ||
array: AccountInfo<Buffer>[]; | ||
}; | ||
array: AccountInfo<Buffer>[]; | ||
}>; | ||
@@ -56,0 +53,0 @@ addToBatchIgnoreResult(id: PublicKey): Promise<void> | undefined; |
{ | ||
"name": "@helium/account-fetch-cache", | ||
"version": "0.2.22-next.45+fe0297f5", | ||
"version": "0.2.22-next.46+5571e713", | ||
"description": "Solana account fetch cache to eliminate reduntant fetching, and batch fetches", | ||
@@ -42,3 +42,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "fe0297f592918d5631df8be0c8ea997c95ea13a0" | ||
"gitHead": "5571e713dad2a2df880cd2f7ff368bffef0f7c76" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
140912
1203