@edgeandnode/graph-auth-kit 7.5.0-states-1752521181825-6c1260222f8def2e2f57e6a4068ce1b416834153 → 7.5.0-states-1758726176550-feddeb62195718c97df4334cca36a7451159b572
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/GraphAuthKit.context.d.ts.map +1 -1
- package/dist/{GraphAuthKitInner.context-B2jD5URF.js → GraphAuthKitInner.context-4tahCZlU.js} +4 -4
- package/dist/client.d.ts +849 -1558
- package/dist/client.d.ts.map +1 -1
- package/dist/constants.d.ts +24 -27
- package/dist/constants.d.ts.map +1 -1
- package/dist/ens/index.js +1 -1
- package/dist/{hooks-LyNs2vSu.js → hooks-CW9U91xq.js} +5 -2
- package/dist/hooks.d.ts.map +1 -1
- package/dist/index.js +8 -6
- package/dist/inner/GraphAuthKitInner.context.d.ts +2 -10
- package/dist/inner/GraphAuthKitInner.context.d.ts.map +1 -1
- package/dist/inner/hooks.d.ts.map +1 -1
- package/dist/safe/SafeEthersSigner.d.ts.map +1 -1
- package/dist/safe/index.d.ts +1 -0
- package/dist/safe/index.d.ts.map +1 -1
- package/dist/safe/index.js +5 -2
- package/dist/safe/utils.d.ts.map +1 -1
- package/dist/test-harness/index.js +1 -1
- package/dist/test-harness/utils.d.ts +8 -95
- package/dist/test-harness/utils.d.ts.map +1 -1
- package/dist/types.d.ts +4 -23
- package/dist/types.d.ts.map +1 -1
- package/dist/{useGraphAuthKitEnsNames-BVZi8aAz.js → useGraphAuthKitEnsNames-DSfxgVd2.js} +2 -2
- package/dist/{useWaitForSafeTransaction-BLBj56xJ.js → useWaitForSafeTransaction-qzXyQLlA.js} +2 -2
- package/dist/{utils-DjTu6Mbs.js → utils-CIEnbKwi.js} +1 -1
- package/package.json +23 -23
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA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2,8 +2,8 @@
|
|
|
2
2
|
import { createIdenticon } from "@edgeandnode/gds";
|
|
3
3
|
import { getEnsAvatarQueryKey, getEnsNameQueryKey } from "@wagmi/core/query";
|
|
4
4
|
import { useQuery } from "wagmi/query";
|
|
5
|
-
import { J as useGraphAuthKitInnerContext, x as isSupportedChainId, o as L2Chain, n as L1ChainTestnet, p as L2ChainTestnet, L as L1Chain } from "./GraphAuthKitInner.context-
|
|
6
|
-
import { a as useGraphAuthKitAccount } from "./hooks-
|
|
5
|
+
import { J as useGraphAuthKitInnerContext, x as isSupportedChainId, o as L2Chain, n as L1ChainTestnet, p as L2ChainTestnet, L as L1Chain } from "./GraphAuthKitInner.context-4tahCZlU.js";
|
|
6
|
+
import { a as useGraphAuthKitAccount } from "./hooks-CW9U91xq.js";
|
|
7
7
|
import { useChainId } from "wagmi";
|
|
8
8
|
function useGraphAuthKitAvatar(args = {}) {
|
|
9
9
|
const innerCtx = useGraphAuthKitInnerContext();
|
package/dist/{useWaitForSafeTransaction-BLBj56xJ.js → useWaitForSafeTransaction-qzXyQLlA.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useQuery } from "@tanstack/react-query";
|
|
2
2
|
import { useConfig } from "wagmi";
|
|
3
|
-
import { u as useMultisigInfo } from "./hooks-
|
|
4
|
-
import { c as createApiKit } from "./GraphAuthKitInner.context-
|
|
3
|
+
import { u as useMultisigInfo } from "./hooks-CW9U91xq.js";
|
|
4
|
+
import { c as createApiKit } from "./GraphAuthKitInner.context-4tahCZlU.js";
|
|
5
5
|
async function getSafeTransaction(safeTxHash, network) {
|
|
6
6
|
const apiKit = await createApiKit(network);
|
|
7
7
|
const txDetails = await apiKit.getTransaction(safeTxHash);
|
|
@@ -3,7 +3,7 @@ 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 { J as useGraphAuthKitInnerContext, v as GraphAuthKitConnector, o as L2Chain, a as SafeSupportedNetworkNames, j as buildPublicClient, L as L1Chain, n as L1ChainTestnet, d as isValidSafe, S as SafeSupportedNetworks, N as GraphAuthKitInnerContextProvider, p as L2ChainTestnet, m as AUTH_STORAGE_KEY, w as chainIsSupportedChain, D as DefChain, l as buildClient, P as GraphAuthKitInnerContext, Q as defInnerState, R as RequiredInfuraKey, O as OptionalGatewayApiKey, q as SupportedClientChainId } from "./GraphAuthKitInner.context-
|
|
6
|
+
import { J as useGraphAuthKitInnerContext, v as GraphAuthKitConnector, o as L2Chain, a as SafeSupportedNetworkNames, j as buildPublicClient, L as L1Chain, n as L1ChainTestnet, d as isValidSafe, S as SafeSupportedNetworks, N as GraphAuthKitInnerContextProvider, p as L2ChainTestnet, m as AUTH_STORAGE_KEY, w as chainIsSupportedChain, D as DefChain, l as buildClient, P as GraphAuthKitInnerContext, Q as defInnerState, R as RequiredInfuraKey, O as OptionalGatewayApiKey, q as SupportedClientChainId } from "./GraphAuthKitInner.context-4tahCZlU.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
9
|
import { addrShortener } from "@edgeandnode/common";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@edgeandnode/graph-auth-kit",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "7.5.0-states-
|
|
4
|
+
"version": "7.5.0-states-1758726176550-feddeb62195718c97df4334cca36a7451159b572",
|
|
5
5
|
"description": "Wallet authentication connect kit in The Graph suite of applications",
|
|
6
6
|
"author": "Edge & Node",
|
|
7
7
|
"license": "UNLICENSED",
|
|
@@ -38,46 +38,46 @@
|
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@ensdomains/ensjs": "^4.0.2",
|
|
40
40
|
"@ethersproject/abstract-signer": "^5.8.0",
|
|
41
|
-
"@safe-global/api-kit": "^
|
|
42
|
-
"@safe-global/protocol-kit": "^6.
|
|
43
|
-
"@safe-global/types-kit": "^
|
|
44
|
-
"@wagmi/core": "^2.
|
|
41
|
+
"@safe-global/api-kit": "^4.0.0",
|
|
42
|
+
"@safe-global/protocol-kit": "^6.1.1",
|
|
43
|
+
"@safe-global/types-kit": "^3.0.0",
|
|
44
|
+
"@wagmi/core": "^2.21.1",
|
|
45
45
|
"tailwindcss": "^3.4.17",
|
|
46
|
-
"zod": "^
|
|
46
|
+
"zod": "^4.1.11"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"@emotion/react": "^11",
|
|
50
|
-
"@tanstack/react-query": "^5",
|
|
50
|
+
"@tanstack/react-query": "^5.90",
|
|
51
51
|
"ethers": "^5.7.2",
|
|
52
52
|
"react": "^18",
|
|
53
53
|
"react-dom": "^18",
|
|
54
54
|
"theme-ui": ">=0.16",
|
|
55
|
-
"viem": "^2.
|
|
56
|
-
"wagmi": "^2.
|
|
57
|
-
"@edgeandnode/common": "^7.1.0-states-
|
|
58
|
-
"@edgeandnode/ens": "^2.3.
|
|
59
|
-
"@edgeandnode/gds": "^6.8.0-states-
|
|
60
|
-
"@edgeandnode/go": "^10.4.0-states-
|
|
55
|
+
"viem": "^2.37",
|
|
56
|
+
"wagmi": "^2.17",
|
|
57
|
+
"@edgeandnode/common": "^7.1.0-states-1758726176550-feddeb62195718c97df4334cca36a7451159b572",
|
|
58
|
+
"@edgeandnode/ens": "^2.3.1",
|
|
59
|
+
"@edgeandnode/gds": "^6.8.0-states-1758726176550-feddeb62195718c97df4334cca36a7451159b572",
|
|
60
|
+
"@edgeandnode/go": "^10.4.0-states-1758726176550-feddeb62195718c97df4334cca36a7451159b572"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@emotion/react": "^11.14",
|
|
64
64
|
"@ethersproject/abstract-provider": "^5.8.0",
|
|
65
65
|
"@ethersproject/properties": "^5.8.0",
|
|
66
|
-
"@tanstack/react-query": "^5.
|
|
66
|
+
"@tanstack/react-query": "^5.90.2",
|
|
67
67
|
"@types/react": "^18.3.23",
|
|
68
68
|
"@types/react-dom": "^18.3.7",
|
|
69
|
-
"dotenv": "^
|
|
69
|
+
"dotenv": "^17.2.2",
|
|
70
70
|
"ethers": "^5.8.0",
|
|
71
|
-
"postcss": "^8.5.
|
|
71
|
+
"postcss": "^8.5.6",
|
|
72
72
|
"react": "^18.3.1",
|
|
73
73
|
"react-dom": "^18.3.1",
|
|
74
74
|
"ts-node": "^10.9.2",
|
|
75
|
-
"viem": "^2.
|
|
76
|
-
"wagmi": "^2.
|
|
77
|
-
"@edgeandnode/common": "^7.1.0-states-
|
|
78
|
-
"@edgeandnode/ens": "^2.3.
|
|
79
|
-
"@edgeandnode/gds": "^6.8.0-states-
|
|
80
|
-
"@edgeandnode/go": "^10.4.0-states-
|
|
75
|
+
"viem": "^2.37.8",
|
|
76
|
+
"wagmi": "^2.17.2",
|
|
77
|
+
"@edgeandnode/common": "^7.1.0-states-1758726176550-feddeb62195718c97df4334cca36a7451159b572",
|
|
78
|
+
"@edgeandnode/ens": "^2.3.1",
|
|
79
|
+
"@edgeandnode/gds": "^6.8.0-states-1758726176550-feddeb62195718c97df4334cca36a7451159b572",
|
|
80
|
+
"@edgeandnode/go": "^10.4.0-states-1758726176550-feddeb62195718c97df4334cca36a7451159b572",
|
|
81
81
|
"@edgeandnode/jsx": "^1.1.0",
|
|
82
82
|
"@edgeandnode/test-utils": "^2.1.0"
|
|
83
83
|
},
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"lint:fix": "eslint . --fix",
|
|
90
90
|
"prettier": "prettier . --write --list-different --ignore-path ../../.prettierignore",
|
|
91
91
|
"prettier:check": "prettier . --check --ignore-path ../../.prettierignore",
|
|
92
|
-
"typecheck": "tsc",
|
|
92
|
+
"typecheck": "tsc --noEmit",
|
|
93
93
|
"test": "vitest run",
|
|
94
94
|
"test:coverage": "vitest run --coverage && jest-coverage-badges",
|
|
95
95
|
"test:watch": "vitest",
|