@bulletxyz/bullet-sdk 0.27.2-rc.1 → 0.27.2-rc.3
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/browser/index.js
CHANGED
|
@@ -9381,8 +9381,13 @@ var Client = class _Client {
|
|
|
9381
9381
|
CHAIN_IDS[network]
|
|
9382
9382
|
);
|
|
9383
9383
|
}
|
|
9384
|
-
static async fromRestUrl(restUrl, wallet, txOpts = DEFAULT_TRANSACTION_OPTS) {
|
|
9385
|
-
return await _Client.fromEndpoints(
|
|
9384
|
+
static async fromRestUrl(restUrl, wallet, network, txOpts = DEFAULT_TRANSACTION_OPTS) {
|
|
9385
|
+
return await _Client.fromEndpoints(
|
|
9386
|
+
{ rest: restUrl },
|
|
9387
|
+
wallet,
|
|
9388
|
+
txOpts,
|
|
9389
|
+
CHAIN_IDS[network]
|
|
9390
|
+
);
|
|
9386
9391
|
}
|
|
9387
9392
|
setGenerationOverride(generation) {
|
|
9388
9393
|
this.generationOverride = generation;
|