@atomiqlabs/chain-solana 13.4.1 → 13.4.2
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.
|
@@ -63,7 +63,7 @@ class ConnectionWithRetries extends web3_js_1.Connection {
|
|
|
63
63
|
e?.message !== "Network request timed out" &&
|
|
64
64
|
e?.message !== "Too many requests (429)", init?.signal ?? undefined);
|
|
65
65
|
config.disableRetryOnRateLimit = true;
|
|
66
|
-
super(endpoint,
|
|
66
|
+
super(endpoint, config);
|
|
67
67
|
this.retryPolicy = config?.retryPolicy;
|
|
68
68
|
this.requestTimeout = config?.requestTimeout ?? 15 * 1000;
|
|
69
69
|
}
|
package/package.json
CHANGED
|
@@ -88,7 +88,7 @@ export class ConnectionWithRetries extends Connection {
|
|
|
88
88
|
);
|
|
89
89
|
config.disableRetryOnRateLimit = true;
|
|
90
90
|
|
|
91
|
-
super(endpoint,
|
|
91
|
+
super(endpoint, config);
|
|
92
92
|
this.retryPolicy = config?.retryPolicy;
|
|
93
93
|
this.requestTimeout = config?.requestTimeout ?? 15*1000;
|
|
94
94
|
}
|