@gearbox-protocol/deploy-tools 4.12.0 → 4.12.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/index.mjs +15 -2
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -346360,6 +346360,7 @@ var EtherscanVerifier = class {
|
|
|
346360
346360
|
|
|
346361
346361
|
// ../../packages/node/dist/ProviderBase.js
|
|
346362
346362
|
import { readFile as readFile4 } from "node:fs/promises";
|
|
346363
|
+
import { setTimeout as setTimeout2 } from "node:timers/promises";
|
|
346363
346364
|
var import_sdk_gov2 = __toESM(require_lib222(), 1);
|
|
346364
346365
|
var import_api_kit = __toESM(require_src8(), 1);
|
|
346365
346366
|
|
|
@@ -346529,7 +346530,19 @@ var ProviderBase = class {
|
|
|
346529
346530
|
* @returns
|
|
346530
346531
|
*/
|
|
346531
346532
|
async getSafeTransactions(hashes) {
|
|
346532
|
-
|
|
346533
|
+
let transactions = [];
|
|
346534
|
+
if (hashes) {
|
|
346535
|
+
for (const hash2 of hashes) {
|
|
346536
|
+
const tx = await this.service.getTransaction(hash2);
|
|
346537
|
+
this.logger.trace(`loaded safe tx ${hash2}`);
|
|
346538
|
+
transactions.push(tx);
|
|
346539
|
+
await setTimeout2(500);
|
|
346540
|
+
}
|
|
346541
|
+
} else {
|
|
346542
|
+
const resp = await this.service.getPendingTransactions(this.address("MULTISIG"));
|
|
346543
|
+
transactions = getTransactionsToExecute(resp);
|
|
346544
|
+
}
|
|
346545
|
+
return transactions;
|
|
346533
346546
|
}
|
|
346534
346547
|
get provider() {
|
|
346535
346548
|
if (!this.#initialized) {
|
|
@@ -351949,7 +351962,7 @@ function getRenderer(opts) {
|
|
|
351949
351962
|
}
|
|
351950
351963
|
|
|
351951
351964
|
// package.json
|
|
351952
|
-
var version3 = "4.12.
|
|
351965
|
+
var version3 = "4.12.1";
|
|
351953
351966
|
|
|
351954
351967
|
// src/version.ts
|
|
351955
351968
|
var version_default = version3;
|