@edgeandnode/graph-auth-kit 5.8.0 → 5.9.0-for-docs-1738772667166-f7d18a705360f02fc84591dcbf81ef6cadacaff4
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-HKYgVXvE.js → GraphAuthKitInner.context-DkY5ODsb.js} +1 -1
- package/dist/ens/index.js +1 -1
- package/dist/index.js +4 -4
- package/dist/test-harness/index.js +1 -1
- package/dist/{useGraphAuthKitEnsNames-ClPQN2m9.js → useGraphAuthKitEnsNames-C2BYVGNh.js} +2 -2
- package/dist/{utils-DEikA5m9.js → utils-C_72bAxT.js} +2 -2
- package/package.json +6 -6
package/dist/{GraphAuthKitInner.context-HKYgVXvE.js → GraphAuthKitInner.context-DkY5ODsb.js}
RENAMED
|
@@ -4,7 +4,7 @@ import { createContext, useContext, useRef, useState } from "react";
|
|
|
4
4
|
import { isAddress } from "viem";
|
|
5
5
|
import { useConnect, useDisconnect, useAccountEffect } from "wagmi";
|
|
6
6
|
import { z } from "zod";
|
|
7
|
-
import { q as SupportedClientChainId, D as DefChain, o as L2Chain, p as L2ChainTestnet, n as L1ChainTestnet, L as L1Chain,
|
|
7
|
+
import { q as SupportedClientChainId, D as DefChain, o as L2Chain, p as L2ChainTestnet, n as L1ChainTestnet, L as L1Chain, m as AUTH_STORAGE_KEY, M as MULTISIG_AUTH_STORAGE_KEY, S as SafeSupportedNetworks, j as buildPublicClient, e as isSafeOwner } from "./utils-DP_AxKkW.js";
|
|
8
8
|
import { providers } from "ethers";
|
|
9
9
|
const MultisigErrorMap = {
|
|
10
10
|
INVALID_SIGNER: {
|
package/dist/ens/index.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { m, A, k, B, D, v, G, L, n, o, p, M, O, R, u, a, S, q, r, s, t, l, g, j, c, b, f, h, e, i, d } from "./utils-DP_AxKkW.js";
|
|
3
|
-
import { G as G2, a as a2, M as M2, b as b2, d as d2, u as u2 } from "./utils-
|
|
4
|
-
import { d as useGraphAuthKitAccount, e as useGraphAuthKitConnector } from "./useGraphAuthKitEnsNames-
|
|
5
|
-
import { g as g2, f as f2, i as i2, u as u3, a as a3, b as b3, c as c2, j as j2, k as k2, h as h2 } from "./useGraphAuthKitEnsNames-
|
|
6
|
-
import { c as c3, f as f3, g as g3, b as b4, a as a4, d as d3, e as e2, i as i3, m as m2 } from "./GraphAuthKitInner.context-
|
|
3
|
+
import { G as G2, a as a2, M as M2, b as b2, d as d2, u as u2 } from "./utils-C_72bAxT.js";
|
|
4
|
+
import { d as useGraphAuthKitAccount, e as useGraphAuthKitConnector } from "./useGraphAuthKitEnsNames-C2BYVGNh.js";
|
|
5
|
+
import { g as g2, f as f2, i as i2, u as u3, a as a3, b as b3, c as c2, j as j2, k as k2, h as h2 } from "./useGraphAuthKitEnsNames-C2BYVGNh.js";
|
|
6
|
+
import { c as c3, f as f3, g as g3, b as b4, a as a4, d as d3, e as e2, i as i3, m as m2 } from "./GraphAuthKitInner.context-DkY5ODsb.js";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
import { Alert, ExperimentalButton } from "@edgeandnode/gds";
|
|
9
9
|
import { useConfig, useSwitchChain } from "wagmi";
|
|
@@ -6,7 +6,7 @@ import { createIdenticon } from "@edgeandnode/gds";
|
|
|
6
6
|
import { getEnsAvatarQueryKey, getEnsNameQueryKey } from "@wagmi/core/query";
|
|
7
7
|
import { writeContractMutationOptions, useQuery } from "wagmi/query";
|
|
8
8
|
import { b as createSafe, c as createApiKit, v as GraphAuthKitConnector, M as MULTISIG_AUTH_STORAGE_KEY, o as L2Chain, n as L1ChainTestnet, p as L2ChainTestnet, L as L1Chain } from "./utils-DP_AxKkW.js";
|
|
9
|
-
import { f as clientToProvider, u as useGraphAuthKitInnerContext, M as MultisigSchema, i as isSupportedChainId } from "./GraphAuthKitInner.context-
|
|
9
|
+
import { f as clientToProvider, u as useGraphAuthKitInnerContext, M as MultisigSchema, i as isSupportedChainId } from "./GraphAuthKitInner.context-DkY5ODsb.js";
|
|
10
10
|
import { useChainId, useConnectorClient, useAccount, useConfig, useAccountEffect, useWalletClient } from "wagmi";
|
|
11
11
|
import { useMutation } from "@tanstack/react-query";
|
|
12
12
|
import { watchAccount } from "@wagmi/core";
|
|
@@ -15,7 +15,7 @@ import { encodeFunctionData, getAddress, isAddress } from "viem";
|
|
|
15
15
|
import { VoidSigner } from "@ethersproject/abstract-signer";
|
|
16
16
|
import "@safe-global/protocol-kit";
|
|
17
17
|
import { OperationType } from "@safe-global/safe-core-sdk-types";
|
|
18
|
-
import {
|
|
18
|
+
import { BigNumber, utils } from "ethers";
|
|
19
19
|
const createLibAddress = "0x7cbB62EaA69F79e6873cD1ecB2392971036cFAa4";
|
|
20
20
|
const createLibInterface = new utils.Interface([
|
|
21
21
|
{
|
|
@@ -3,10 +3,10 @@ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
|
3
3
|
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
|
|
4
4
|
import { useConfig, WagmiProvider, useDisconnect, createConfig, createStorage, cookieStorage, cookieToInitialState } from "wagmi";
|
|
5
5
|
import { injected, walletConnect, coinbaseWallet, mock } from "wagmi/connectors";
|
|
6
|
-
import { v as GraphAuthKitConnector, o as L2Chain,
|
|
6
|
+
import { v as GraphAuthKitConnector, o as L2Chain, a as SafeSupportedNetworkNames, j as buildPublicClient, L as L1Chain, n as L1ChainTestnet, d as isValidSafe, S as SafeSupportedNetworks, p as L2ChainTestnet, m as AUTH_STORAGE_KEY, D as DefChain, l as buildClient, R as RequiredInfuraKey, O as OptionalGatewayApiKey, q as SupportedClientChainId } from "./utils-DP_AxKkW.js";
|
|
7
7
|
import { useState, useReducer, useId, useEffect, createContext, useContext } from "react";
|
|
8
8
|
import { Icon, ExperimentalModal, ExperimentalButton, Alert, Link, ExperimentalLoadingIndicator, ExperimentalSelect, ExperimentalInput, Divider, List } from "@edgeandnode/gds";
|
|
9
|
-
import { u as useGraphAuthKitInnerContext, G as GraphAuthKitInnerContextProvider, c as chainIsSupportedChain, h as GraphAuthKitInnerContext, j as defInnerState } from "./GraphAuthKitInner.context-
|
|
9
|
+
import { u as useGraphAuthKitInnerContext, G as GraphAuthKitInnerContextProvider, c as chainIsSupportedChain, h as GraphAuthKitInnerContext, j as defInnerState } from "./GraphAuthKitInner.context-DkY5ODsb.js";
|
|
10
10
|
import { addrShortener } from "@edgeandnode/common";
|
|
11
11
|
import { isAddress } from "viem";
|
|
12
12
|
import { NetworkIcon } from "@edgeandnode/go";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@edgeandnode/graph-auth-kit",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.9.0-for-docs-1738772667166-f7d18a705360f02fc84591dcbf81ef6cadacaff4",
|
|
5
5
|
"description": "Wallet authentication connect kit in The Graph suite of applications",
|
|
6
6
|
"author": "Edge & Node",
|
|
7
7
|
"license": "UNLICENSED",
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
"wagmi": "^2.12",
|
|
57
57
|
"@edgeandnode/common": "^6.51.0",
|
|
58
58
|
"@edgeandnode/ens": "^2.1.0",
|
|
59
|
-
"@edgeandnode/gds": "^6.
|
|
60
|
-
"@edgeandnode/go": "^8.
|
|
59
|
+
"@edgeandnode/gds": "^6.3.0-for-docs-1738772667166-f7d18a705360f02fc84591dcbf81ef6cadacaff4",
|
|
60
|
+
"@edgeandnode/go": "^8.9.0-for-docs-1738772667166-f7d18a705360f02fc84591dcbf81ef6cadacaff4"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@emotion/react": "^11.14",
|
|
@@ -72,12 +72,12 @@
|
|
|
72
72
|
"react": "^18.3.1",
|
|
73
73
|
"react-dom": "^18.3.1",
|
|
74
74
|
"ts-node": "^10.9.2",
|
|
75
|
-
"viem": "^2.22.
|
|
75
|
+
"viem": "^2.22.21",
|
|
76
76
|
"wagmi": "^2.14.9",
|
|
77
77
|
"@edgeandnode/common": "^6.51.0",
|
|
78
78
|
"@edgeandnode/ens": "^2.1.0",
|
|
79
|
-
"@edgeandnode/gds": "^6.
|
|
80
|
-
"@edgeandnode/go": "^8.
|
|
79
|
+
"@edgeandnode/gds": "^6.3.0-for-docs-1738772667166-f7d18a705360f02fc84591dcbf81ef6cadacaff4",
|
|
80
|
+
"@edgeandnode/go": "^8.9.0-for-docs-1738772667166-f7d18a705360f02fc84591dcbf81ef6cadacaff4",
|
|
81
81
|
"@edgeandnode/jsx": "^1.1.0",
|
|
82
82
|
"@edgeandnode/test-utils": "^2.1.0"
|
|
83
83
|
},
|