@latticexyz/entrykit 2.2.24-6a0e2c810ee2fde712b53145fa45d958ea9b77ec → 2.2.24-a851c91de9ca31fe4d522ac33c07cfdd0e403853
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.
|
@@ -229,19 +229,16 @@ function userOpExecutor({
|
|
|
229
229
|
}
|
|
230
230
|
|
|
231
231
|
// src/getBundlerTransport.ts
|
|
232
|
-
import { wiresaw
|
|
232
|
+
import { wiresaw } from "@latticexyz/common/internal";
|
|
233
233
|
function getBundlerTransport(chain) {
|
|
234
234
|
if ("wiresaw" in chain.rpcUrls) {
|
|
235
235
|
return wiresaw();
|
|
236
236
|
}
|
|
237
|
-
if ("alto" in chain.rpcUrls) {
|
|
238
|
-
return alto();
|
|
239
|
-
}
|
|
240
237
|
const bundlerHttpUrl = chain.rpcUrls.bundler?.http[0];
|
|
241
238
|
if (bundlerHttpUrl) {
|
|
242
239
|
return http(bundlerHttpUrl);
|
|
243
240
|
}
|
|
244
|
-
if (chain.id === 31337
|
|
241
|
+
if (chain.id === 31337) {
|
|
245
242
|
return userOpExecutor({
|
|
246
243
|
executor: createClient({
|
|
247
244
|
chain,
|