@fleet-sdk/blockchain-providers 0.8.5 → 0.9.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/CHANGELOG.md +17 -0
- package/dist/index.js +1 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/src/ergo-graphql/ergoGraphQLProvider.ts +12 -19
- package/src/types/blockchainProvider.ts +8 -15
- package/src/utils/graphql.test-d.ts +3 -5
- package/src/utils/graphql.ts +7 -15
package/dist/index.mjs
CHANGED
@@ -794,9 +794,7 @@ var ErgoGraphQLProvider = class {
|
|
794
794
|
while (keepFetching) {
|
795
795
|
const response = await this.#getConfirmedTransactions(query2);
|
796
796
|
if (some(response.data?.transactions)) {
|
797
|
-
yield response.data.transactions.map(
|
798
|
-
(t) => mapConfirmedTransaction(t, this.#biMapper)
|
799
|
-
);
|
797
|
+
yield response.data.transactions.map((t) => mapConfirmedTransaction(t, this.#biMapper));
|
800
798
|
}
|
801
799
|
keepFetching = response.data?.transactions?.length === pageSize;
|
802
800
|
if (keepFetching) query2.skip += pageSize;
|