@bulletxyz/bullet-sdk 0.27.2-rc.0 → 0.27.2-rc.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.
package/dist/browser/index.js
CHANGED
|
@@ -9332,7 +9332,7 @@ onEvent_fn = async function(event, filter) {
|
|
|
9332
9332
|
// src/client.ts
|
|
9333
9333
|
var DEFAULT_TRANSACTION_OPTS = {
|
|
9334
9334
|
maxPriorityFeeBps: 0,
|
|
9335
|
-
maxFee: "
|
|
9335
|
+
maxFee: "10000000000",
|
|
9336
9336
|
gasLimit: null
|
|
9337
9337
|
};
|
|
9338
9338
|
var Client = class _Client {
|
|
@@ -9381,8 +9381,8 @@ 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({ rest: restUrl }, wallet, txOpts);
|
|
9384
|
+
static async fromRestUrl(restUrl, wallet, txOpts = DEFAULT_TRANSACTION_OPTS, chainId = 4321) {
|
|
9385
|
+
return await _Client.fromEndpoints({ rest: restUrl }, wallet, txOpts, chainId);
|
|
9386
9386
|
}
|
|
9387
9387
|
setGenerationOverride(generation) {
|
|
9388
9388
|
this.generationOverride = generation;
|