@edgeandnode/graph-auth-kit 7.5.0-icon-to-addon-1754070158006-1899f0ed4a6813cc53a55f7e5e7fddc21b28f9a0 → 7.5.0-menu-1754067535466-cb32add7591e2dd51114494fe6e430611a5e6027

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.
@@ -7,6 +7,7 @@ import { z } from "zod";
7
7
  import { l1Mainnet, l1Testnet, l2Mainnet, l2Testnet } from "@edgeandnode/common";
8
8
  import { mainnet, sepolia, arbitrum, arbitrumSepolia } from "viem/chains";
9
9
  import { injected, coinbaseWallet, walletConnect } from "wagmi/connectors";
10
+ import "@safe-global/protocol-kit";
10
11
  import { providers } from "ethers";
11
12
  const AUTH_STORAGE_KEY = "thegraph__authstate";
12
13
  const MULTISIG_AUTH_STORAGE_KEY = "multisig";
@@ -225,8 +226,8 @@ async function createApiKit(chainId) {
225
226
  return apiKit;
226
227
  }
227
228
  async function createSafe(config) {
228
- const { default: Safe } = await import("@safe-global/protocol-kit");
229
- const SafeClass = typeof Safe === "function" ? Safe : Safe.default;
229
+ const { default: Safe2 } = await import("@safe-global/protocol-kit");
230
+ const SafeClass = typeof Safe2 === "function" ? Safe2 : Safe2.default;
230
231
  const protocolKit = await SafeClass.init(config);
231
232
  return protocolKit;
232
233
  }