@edgeandnode/graph-auth-kit 7.5.0-menu-1760587016282-ab72e23e591fca334b70484eaee1c8f18b5da240 → 7.5.0-next-1762445269244-8194d14acfa1a6f1686d56f7c5407357bc8965e9
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-BO9AWGN6.js → GraphAuthKitInner.context-4tahCZlU.js} +2 -3
- package/dist/client.d.ts +40 -3751
- package/dist/client.d.ts.map +1 -1
- package/dist/constants.d.ts +2 -2
- package/dist/ens/index.js +1 -1
- package/dist/{hooks-CyChKJkx.js → hooks-CW9U91xq.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-D9Yn-OnO.js → useGraphAuthKitEnsNames-DSfxgVd2.js} +2 -2
- package/dist/{useWaitForSafeTransaction-DnrHaXbJ.js → useWaitForSafeTransaction-qzXyQLlA.js} +2 -2
- package/dist/{utils-Bw3Xoq5x.js → utils-DhU0bGPc.js} +3 -3
- package/package.json +16 -16
package/dist/{GraphAuthKitInner.context-BO9AWGN6.js → GraphAuthKitInner.context-4tahCZlU.js}
RENAMED
|
@@ -8,7 +8,6 @@ import { z } from "zod";
|
|
|
8
8
|
import { l1Mainnet, l1Testnet, l2Mainnet, l2Testnet } from "@edgeandnode/common";
|
|
9
9
|
import { mainnet, sepolia, arbitrum, arbitrumSepolia } from "viem/chains";
|
|
10
10
|
import { injected, coinbaseWallet, walletConnect } from "wagmi/connectors";
|
|
11
|
-
import "@safe-global/protocol-kit";
|
|
12
11
|
import { providers } from "ethers";
|
|
13
12
|
const AUTH_STORAGE_KEY = "thegraph__authstate";
|
|
14
13
|
const MULTISIG_AUTH_STORAGE_KEY = "multisig";
|
|
@@ -227,8 +226,8 @@ async function createApiKit(chainId) {
|
|
|
227
226
|
return apiKit;
|
|
228
227
|
}
|
|
229
228
|
async function createSafe(config) {
|
|
230
|
-
const { default:
|
|
231
|
-
const SafeClass = typeof
|
|
229
|
+
const { default: Safe } = await import("@safe-global/protocol-kit");
|
|
230
|
+
const SafeClass = typeof Safe === "function" ? Safe : Safe.default;
|
|
232
231
|
return await SafeClass.init(config);
|
|
233
232
|
}
|
|
234
233
|
async function isValidSafe(args) {
|