@edgeandnode/graph-auth-kit 7.5.0-menu-1754067535466-cb32add7591e2dd51114494fe6e430611a5e6027 → 7.5.0-states-1754068033499-1a9eeb2fe1ae9c67557a79b798212884f0609d5d
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.
- package/dist/{GraphAuthKitInner.context-B8vsvUDy.js → GraphAuthKitInner.context-B2jD5URF.js} +2 -3
- package/dist/client.d.ts +148 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/constants.d.ts +9 -0
- package/dist/constants.d.ts.map +1 -1
- package/dist/ens/index.js +1 -1
- package/dist/{hooks-Ajg7XZho.js → hooks-BoW9sCzH.js} +1 -2
- package/dist/index.js +6 -6
- package/dist/safe/SafeEthersSigner.d.ts.map +1 -1
- package/dist/safe/index.js +3 -3
- package/dist/safe/utils.d.ts.map +1 -1
- package/dist/test-harness/index.js +1 -1
- package/dist/{useGraphAuthKitEnsNames-0NID83yf.js → useGraphAuthKitEnsNames-BdmeO9s9.js} +2 -2
- package/dist/{useWaitForSafeTransaction-B54aZDPo.js → useWaitForSafeTransaction-Dp9F1uEs.js} +2 -2
- package/dist/{utils-B0FLy5o8.js → utils-DjTu6Mbs.js} +1 -1
- package/package.json +16 -16
package/dist/{GraphAuthKitInner.context-B8vsvUDy.js → GraphAuthKitInner.context-B2jD5URF.js}
RENAMED
|
@@ -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:
|
|
230
|
-
const SafeClass = typeof
|
|
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
|
}
|