@latticexyz/entrykit 2.2.24-a851c91de9ca31fe4d522ac33c07cfdd0e403853 → 2.2.24-c41f873202e1f239a54c1ee5a48d86ea40f2f7c2

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