@edgeandnode/graph-auth-kit 7.4.1-horizon-migration-1752258412578-e9f56b100b3f756c708b5bae68f6f5c0295185ec → 7.5.0-menu-1752519937889-a55eadf9f2c0e1b0183c51ccbc1349e448e09723
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/client.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HttpTransport } from 'viem';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
declare const BuildInfuraHttpTransportArgs: z.ZodObject<
|
|
3
|
+
declare const BuildInfuraHttpTransportArgs: z.ZodObject<{
|
|
4
4
|
infuraKey: z.ZodReadonly<z.ZodString>;
|
|
5
|
-
}
|
|
5
|
+
} & {
|
|
6
6
|
chain: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodReadonly<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<11155111>, z.ZodLiteral<42161>, z.ZodLiteral<421614>]>>>>>;
|
|
7
|
-
}
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
8
|
infuraKey: string;
|
|
9
9
|
chain: 1 | 11155111 | 42161 | 421614 | null;
|
|
10
10
|
}, {
|
|
@@ -13,9 +13,9 @@ declare const BuildInfuraHttpTransportArgs: z.ZodObject<z.objectUtil.extendShape
|
|
|
13
13
|
}>;
|
|
14
14
|
export type BuildInfuraHttpTransportArgs = z.infer<typeof BuildInfuraHttpTransportArgs>;
|
|
15
15
|
export declare function buildInfuraHttpTransport({ chain, infuraKey, }: BuildInfuraHttpTransportArgs): HttpTransport;
|
|
16
|
-
export declare const BuildPublicClientArgs: z.ZodObject<
|
|
16
|
+
export declare const BuildPublicClientArgs: z.ZodObject<{
|
|
17
17
|
infuraKey: z.ZodReadonly<z.ZodString>;
|
|
18
|
-
}
|
|
18
|
+
} & {
|
|
19
19
|
chain: z.ZodDefault<z.ZodOptional<z.ZodType<{
|
|
20
20
|
graphCliName: string;
|
|
21
21
|
caip2Id: `eip155:${string}` | `eip155:${number}` | `osmosis:${string}` | `osmosis:${number}` | `arweave:${string}` | `arweave:${number}` | `antelope:${string}` | `antelope:${number}` | `bip122:${string}` | `bip122:${number}` | `cosmos:${string}` | `cosmos:${number}` | `gear:${string}` | `gear:${number}` | `near:${string}` | `near:${number}` | `beacon:${string}` | `beacon:${number}` | `solana:${string}` | `solana:${number}` | `starknet:${string}` | `starknet:${number}` | `stellar:${string}` | `stellar:${number}`;
|
|
@@ -325,7 +325,7 @@ export declare const BuildPublicClientArgs: z.ZodObject<z.objectUtil.extendShape
|
|
|
325
325
|
formatters?: undefined;
|
|
326
326
|
serializers?: import('viem').ChainSerializers<undefined, import('viem').TransactionSerializable> | undefined;
|
|
327
327
|
}>>>;
|
|
328
|
-
}
|
|
328
|
+
}, "strip", z.ZodTypeAny, {
|
|
329
329
|
infuraKey: string;
|
|
330
330
|
chain: {
|
|
331
331
|
graphCliName: string;
|
|
@@ -11226,9 +11226,9 @@ export declare function buildPublicClient({ chain, infuraKey }: BuildPublicClien
|
|
|
11226
11226
|
}>>;
|
|
11227
11227
|
};
|
|
11228
11228
|
export type PublicClient = ReturnType<typeof buildPublicClient>;
|
|
11229
|
-
export declare const BuildClientArgs: z.ZodObject<
|
|
11229
|
+
export declare const BuildClientArgs: z.ZodObject<{
|
|
11230
11230
|
infuraKey: z.ZodReadonly<z.ZodString>;
|
|
11231
|
-
}
|
|
11231
|
+
} & {
|
|
11232
11232
|
chain: z.ZodDefault<z.ZodOptional<z.ZodType<{
|
|
11233
11233
|
graphCliName: string;
|
|
11234
11234
|
caip2Id: `eip155:${string}` | `eip155:${number}` | `osmosis:${string}` | `osmosis:${number}` | `arweave:${string}` | `arweave:${number}` | `antelope:${string}` | `antelope:${number}` | `bip122:${string}` | `bip122:${number}` | `cosmos:${string}` | `cosmos:${number}` | `gear:${string}` | `gear:${number}` | `near:${string}` | `near:${number}` | `beacon:${string}` | `beacon:${number}` | `solana:${string}` | `solana:${number}` | `starknet:${string}` | `starknet:${number}` | `stellar:${string}` | `stellar:${number}`;
|
|
@@ -11538,7 +11538,7 @@ export declare const BuildClientArgs: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
11538
11538
|
formatters?: undefined;
|
|
11539
11539
|
serializers?: import('viem').ChainSerializers<undefined, import('viem').TransactionSerializable> | undefined;
|
|
11540
11540
|
}>>>;
|
|
11541
|
-
}
|
|
11541
|
+
}, "strip", z.ZodTypeAny, {
|
|
11542
11542
|
infuraKey: string;
|
|
11543
11543
|
chain: {
|
|
11544
11544
|
graphCliName: string;
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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, w, H, I, c, b, f, h, C, z, E, F, e, i, x, d, y } from "./GraphAuthKitInner.context-B8vsvUDy.js";
|
|
3
|
-
import { G as G2, a as a2, M as M2, b as b2, d as d2, u as u2 } from "./utils-
|
|
3
|
+
import { G as G2, a as a2, M as M2, b as b2, d as d2, u as u2 } from "./utils-B0FLy5o8.js";
|
|
4
4
|
import { a as useGraphAuthKitAccount, b as useGraphAuthKitConnector } from "./hooks-twDEXOVd.js";
|
|
5
5
|
import { d as d3, c as c2, e as e2, f as f2, g as g2, u as u3 } from "./hooks-twDEXOVd.js";
|
|
6
6
|
import { g as g3, u as u4, w as w2 } from "./useWaitForSafeTransaction-BWAytvN4.js";
|
|
@@ -4,13 +4,13 @@ import { z } from 'zod';
|
|
|
4
4
|
import { SupportedClientChainId } from '../constants';
|
|
5
5
|
import { GraphAuthKitConnector } from '../types';
|
|
6
6
|
import { MockGraphAuthKitProviderProps } from './MockGraphAuthKit.context';
|
|
7
|
-
declare const BuildMockProviderStateArgs: z.ZodUnion<readonly [z.ZodObject<
|
|
7
|
+
declare const BuildMockProviderStateArgs: z.ZodUnion<readonly [z.ZodObject<{
|
|
8
8
|
infuraKey: z.ZodReadonly<z.ZodString>;
|
|
9
|
-
}
|
|
9
|
+
} & {
|
|
10
10
|
gatewayApiKey: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
11
|
-
}
|
|
11
|
+
} & {
|
|
12
12
|
status: z.ZodLiteral<"disconnected">;
|
|
13
|
-
}
|
|
13
|
+
}, "strip", z.ZodTypeAny, {
|
|
14
14
|
status: "disconnected";
|
|
15
15
|
infuraKey: string;
|
|
16
16
|
gatewayApiKey?: string | null | undefined;
|
|
@@ -18,11 +18,11 @@ declare const BuildMockProviderStateArgs: z.ZodUnion<readonly [z.ZodObject<z.obj
|
|
|
18
18
|
status: "disconnected";
|
|
19
19
|
infuraKey: string;
|
|
20
20
|
gatewayApiKey?: string | null | undefined;
|
|
21
|
-
}>, z.ZodObject<
|
|
21
|
+
}>, z.ZodObject<{
|
|
22
22
|
infuraKey: z.ZodReadonly<z.ZodString>;
|
|
23
|
-
}
|
|
23
|
+
} & {
|
|
24
24
|
gatewayApiKey: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
25
|
-
}
|
|
25
|
+
} & {
|
|
26
26
|
status: z.ZodLiteral<"connected">;
|
|
27
27
|
account: z.ZodUnion<readonly [z.ZodObject<{
|
|
28
28
|
type: z.ZodLiteral<"generated">;
|
|
@@ -77,7 +77,7 @@ declare const BuildMockProviderStateArgs: z.ZodUnion<readonly [z.ZodObject<z.obj
|
|
|
77
77
|
};
|
|
78
78
|
chain?: 1 | 11155111 | 42161 | 421614 | undefined;
|
|
79
79
|
}>]>;
|
|
80
|
-
}
|
|
80
|
+
}, "strip", z.ZodTypeAny, {
|
|
81
81
|
status: "connected";
|
|
82
82
|
infuraKey: string;
|
|
83
83
|
account: {
|
package/dist/types.d.ts
CHANGED
|
@@ -24,11 +24,11 @@ export declare const OptionalGatewayApiKey: z.ZodObject<{
|
|
|
24
24
|
gatewayApiKey?: string | null | undefined;
|
|
25
25
|
}>;
|
|
26
26
|
export type OptionalGatewayApiKey = z.infer<typeof OptionalGatewayApiKey>;
|
|
27
|
-
export declare const GraphAuthKitProps: z.ZodObject<
|
|
27
|
+
export declare const GraphAuthKitProps: z.ZodObject<{
|
|
28
28
|
infuraKey: z.ZodReadonly<z.ZodString>;
|
|
29
|
-
}
|
|
29
|
+
} & {
|
|
30
30
|
gatewayApiKey: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
31
|
-
}
|
|
31
|
+
}, "strip", z.ZodTypeAny, {
|
|
32
32
|
infuraKey: string;
|
|
33
33
|
gatewayApiKey?: string | null | undefined;
|
|
34
34
|
}, {
|
|
@@ -529,7 +529,7 @@ function ConnectModal() {
|
|
|
529
529
|
ExperimentalModal,
|
|
530
530
|
{
|
|
531
531
|
open: ctx._connectModalOpen,
|
|
532
|
-
|
|
532
|
+
onOpenChange: ctx._setConnectModalOpen,
|
|
533
533
|
steps: currentStep === "primary" ? [currentStep] : steps,
|
|
534
534
|
currentStep,
|
|
535
535
|
onCurrentStepChange: ctx._setModalState,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@edgeandnode/graph-auth-kit",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.5.0-menu-1752519937889-a55eadf9f2c0e1b0183c51ccbc1349e448e09723",
|
|
5
5
|
"description": "Wallet authentication connect kit in The Graph suite of applications",
|
|
6
6
|
"author": "Edge & Node",
|
|
7
7
|
"license": "UNLICENSED",
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
"@ensdomains/ensjs": "^4.0.2",
|
|
40
40
|
"@ethersproject/abstract-signer": "^5.8.0",
|
|
41
41
|
"@safe-global/api-kit": "^3.0.1",
|
|
42
|
-
"@safe-global/protocol-kit": "^6.0.
|
|
42
|
+
"@safe-global/protocol-kit": "^6.0.4",
|
|
43
43
|
"@safe-global/types-kit": "^2.0.1",
|
|
44
44
|
"@wagmi/core": "^2.17.2",
|
|
45
45
|
"tailwindcss": "^3.4.17",
|
|
46
|
-
"zod": "^3.
|
|
46
|
+
"zod": "^3.25.28"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"@emotion/react": "^11",
|
|
@@ -54,30 +54,30 @@
|
|
|
54
54
|
"theme-ui": ">=0.16",
|
|
55
55
|
"viem": "^2.30.0",
|
|
56
56
|
"wagmi": "^2.15.4",
|
|
57
|
-
"@edgeandnode/common": "^7.0
|
|
57
|
+
"@edgeandnode/common": "^7.1.0-menu-1752519937889-a55eadf9f2c0e1b0183c51ccbc1349e448e09723",
|
|
58
58
|
"@edgeandnode/ens": "^2.3.0",
|
|
59
|
-
"@edgeandnode/gds": "^6.
|
|
60
|
-
"@edgeandnode/go": "^10.
|
|
59
|
+
"@edgeandnode/gds": "^6.8.0-menu-1752519937889-a55eadf9f2c0e1b0183c51ccbc1349e448e09723",
|
|
60
|
+
"@edgeandnode/go": "^10.4.0-menu-1752519937889-a55eadf9f2c0e1b0183c51ccbc1349e448e09723"
|
|
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.
|
|
67
|
-
"@types/react": "^18.3.
|
|
68
|
-
"@types/react-dom": "^18.3.
|
|
69
|
-
"dotenv": "^16.
|
|
66
|
+
"@tanstack/react-query": "^5.77.2",
|
|
67
|
+
"@types/react": "^18.3.22",
|
|
68
|
+
"@types/react-dom": "^18.3.7",
|
|
69
|
+
"dotenv": "^16.5.0",
|
|
70
70
|
"ethers": "^5.8.0",
|
|
71
71
|
"postcss": "^8.5.3",
|
|
72
72
|
"react": "^18.3.1",
|
|
73
73
|
"react-dom": "^18.3.1",
|
|
74
74
|
"ts-node": "^10.9.2",
|
|
75
|
-
"viem": "^2.30.
|
|
75
|
+
"viem": "^2.30.1",
|
|
76
76
|
"wagmi": "^2.15.4",
|
|
77
|
-
"@edgeandnode/common": "^7.0
|
|
77
|
+
"@edgeandnode/common": "^7.1.0-menu-1752519937889-a55eadf9f2c0e1b0183c51ccbc1349e448e09723",
|
|
78
78
|
"@edgeandnode/ens": "^2.3.0",
|
|
79
|
-
"@edgeandnode/gds": "^6.
|
|
80
|
-
"@edgeandnode/go": "^10.
|
|
79
|
+
"@edgeandnode/gds": "^6.8.0-menu-1752519937889-a55eadf9f2c0e1b0183c51ccbc1349e448e09723",
|
|
80
|
+
"@edgeandnode/go": "^10.4.0-menu-1752519937889-a55eadf9f2c0e1b0183c51ccbc1349e448e09723",
|
|
81
81
|
"@edgeandnode/jsx": "^1.1.0",
|
|
82
82
|
"@edgeandnode/test-utils": "^2.1.0"
|
|
83
83
|
},
|