@edgeandnode/graph-auth-kit 7.4.1 → 7.5.0-states-1752521181825-6c1260222f8def2e2f57e6a4068ce1b416834153

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,7 +7,6 @@ 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";
11
10
  import { providers } from "ethers";
12
11
  const AUTH_STORAGE_KEY = "thegraph__authstate";
13
12
  const MULTISIG_AUTH_STORAGE_KEY = "multisig";
@@ -226,8 +225,8 @@ async function createApiKit(chainId) {
226
225
  return apiKit;
227
226
  }
228
227
  async function createSafe(config) {
229
- const { default: Safe2 } = await import("@safe-global/protocol-kit");
230
- const SafeClass = typeof Safe2 === "function" ? Safe2 : Safe2.default;
228
+ const { default: Safe } = await import("@safe-global/protocol-kit");
229
+ const SafeClass = typeof Safe === "function" ? Safe : Safe.default;
231
230
  const protocolKit = await SafeClass.init(config);
232
231
  return protocolKit;
233
232
  }