@latticexyz/entrykit 2.2.24-1f509ee224cadd4254e7bbb7a268b519f65e4495 → 2.2.24-5dc8d9f220e3aa22d1db18685c5027dd73da6e7e
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,
|