@edgeandnode/graph-auth-kit 7.5.0-base-ui-and-colors-1752528008566-c1341af0d084a58163b55fe61e50fbe6a806f239 → 7.5.0-icon-to-addon-1752718086748-9a7c6e45bfe0f315dd00365d058da122d8d6315e
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-twDEXOVd.js → hooks-LyNs2vSu.js} +1 -2
- package/dist/index.js +6 -6
- package/dist/safe/SafeEthersSigner.d.ts.map +1 -1
- package/dist/safe/index.js +2 -2
- package/dist/safe/utils.d.ts.map +1 -1
- package/dist/test-harness/index.js +1 -1
- package/dist/{useGraphAuthKitEnsNames-73LGWzqe.js → useGraphAuthKitEnsNames-BVZi8aAz.js} +2 -2
- package/dist/{useWaitForSafeTransaction-BWAytvN4.js → useWaitForSafeTransaction-BLBj56xJ.js} +2 -2
- package/dist/{utils-B0FLy5o8.js → utils-mZHxBBOb.js} +3 -3
- package/package.json +17 -17
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
|
}
|