@edgeandnode/graph-auth-kit 1.2.0 → 1.2.1
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../src/inner/hooks.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../src/inner/hooks.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAyB,KAAK,wBAAwB,EAAE,MAAM,UAAU,CAAA;AAI/E;;;;;;;;GAQG;AACH,wBAAgB,wBAAwB,IAAI,SAAS,wBAAwB,EAAE,CA8C9E;AAED,wBAAgB,yBAAyB,IAAI,SAAS,wBAAwB,EAAE,CAsC/E"}
|
|
@@ -27,7 +27,7 @@ declare const BuildMockProviderStateArgs: z.ZodUnion<readonly [z.ZodObject<z.obj
|
|
|
27
27
|
}>, z.ZodObject<{
|
|
28
28
|
type: z.ZodLiteral<"provided">;
|
|
29
29
|
/** If the specified connection is with a multisig, this is the multisig address */
|
|
30
|
-
address: z.ZodType
|
|
30
|
+
address: z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>;
|
|
31
31
|
chain: z.ZodDefault<z.ZodOptional<z.ZodReadonly<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<11155111>, z.ZodLiteral<42161>, z.ZodLiteral<421614>]>>>>;
|
|
32
32
|
connector: z.ZodUnion<readonly [z.ZodObject<{
|
|
33
33
|
type: z.ZodUnion<readonly [z.ZodLiteral<"injected">, z.ZodLiteral<"coinbaseWallet">, z.ZodLiteral<"walletConnect">]>;
|
|
@@ -37,36 +37,36 @@ declare const BuildMockProviderStateArgs: z.ZodUnion<readonly [z.ZodObject<z.obj
|
|
|
37
37
|
type: "injected" | "coinbaseWallet" | "walletConnect";
|
|
38
38
|
}>, z.ZodObject<{
|
|
39
39
|
type: z.ZodLiteral<"multisig">;
|
|
40
|
-
eoa: z.ZodType
|
|
40
|
+
eoa: z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>;
|
|
41
41
|
network: z.ZodDefault<z.ZodOptional<z.ZodReadonly<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<11155111>, z.ZodLiteral<42161>]>>>>;
|
|
42
42
|
}, "strip", z.ZodTypeAny, {
|
|
43
43
|
type: "multisig";
|
|
44
44
|
network: 1 | 11155111 | 42161;
|
|
45
|
-
eoa: string
|
|
45
|
+
eoa: `0x${string}`;
|
|
46
46
|
}, {
|
|
47
47
|
type: "multisig";
|
|
48
|
-
eoa: string
|
|
48
|
+
eoa: `0x${string}`;
|
|
49
49
|
network?: 1 | 11155111 | 42161 | undefined;
|
|
50
50
|
}>]>;
|
|
51
51
|
}, "strip", z.ZodTypeAny, {
|
|
52
52
|
type: "provided";
|
|
53
53
|
chain: 1 | 11155111 | 42161 | 421614;
|
|
54
|
-
address: string
|
|
54
|
+
address: `0x${string}`;
|
|
55
55
|
connector: {
|
|
56
56
|
type: "injected" | "coinbaseWallet" | "walletConnect";
|
|
57
57
|
} | {
|
|
58
58
|
type: "multisig";
|
|
59
59
|
network: 1 | 11155111 | 42161;
|
|
60
|
-
eoa: string
|
|
60
|
+
eoa: `0x${string}`;
|
|
61
61
|
};
|
|
62
62
|
}, {
|
|
63
63
|
type: "provided";
|
|
64
|
-
address: string
|
|
64
|
+
address: `0x${string}`;
|
|
65
65
|
connector: {
|
|
66
66
|
type: "injected" | "coinbaseWallet" | "walletConnect";
|
|
67
67
|
} | {
|
|
68
68
|
type: "multisig";
|
|
69
|
-
eoa: string
|
|
69
|
+
eoa: `0x${string}`;
|
|
70
70
|
network?: 1 | 11155111 | 42161 | undefined;
|
|
71
71
|
};
|
|
72
72
|
chain?: 1 | 11155111 | 42161 | 421614 | undefined;
|
|
@@ -79,13 +79,13 @@ declare const BuildMockProviderStateArgs: z.ZodUnion<readonly [z.ZodObject<z.obj
|
|
|
79
79
|
} | {
|
|
80
80
|
type: "provided";
|
|
81
81
|
chain: 1 | 11155111 | 42161 | 421614;
|
|
82
|
-
address: string
|
|
82
|
+
address: `0x${string}`;
|
|
83
83
|
connector: {
|
|
84
84
|
type: "injected" | "coinbaseWallet" | "walletConnect";
|
|
85
85
|
} | {
|
|
86
86
|
type: "multisig";
|
|
87
87
|
network: 1 | 11155111 | 42161;
|
|
88
|
-
eoa: string
|
|
88
|
+
eoa: `0x${string}`;
|
|
89
89
|
};
|
|
90
90
|
};
|
|
91
91
|
}, {
|
|
@@ -95,12 +95,12 @@ declare const BuildMockProviderStateArgs: z.ZodUnion<readonly [z.ZodObject<z.obj
|
|
|
95
95
|
type: "generated";
|
|
96
96
|
} | {
|
|
97
97
|
type: "provided";
|
|
98
|
-
address: string
|
|
98
|
+
address: `0x${string}`;
|
|
99
99
|
connector: {
|
|
100
100
|
type: "injected" | "coinbaseWallet" | "walletConnect";
|
|
101
101
|
} | {
|
|
102
102
|
type: "multisig";
|
|
103
|
-
eoa: string
|
|
103
|
+
eoa: `0x${string}`;
|
|
104
104
|
network?: 1 | 11155111 | 42161 | undefined;
|
|
105
105
|
};
|
|
106
106
|
chain?: 1 | 11155111 | 42161 | 421614 | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@edgeandnode/graph-auth-kit",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Wallet authentication connect kit in The Graph suite of applications",
|
|
6
6
|
"author": "Edge & Node",
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"viem": "2.19.6",
|
|
46
46
|
"wagmi": "2.12.5",
|
|
47
47
|
"@edgeandnode/common": "^6.19.1",
|
|
48
|
-
"@edgeandnode/gds": "^5.28.
|
|
49
|
-
"@edgeandnode/go": "^6.44.
|
|
48
|
+
"@edgeandnode/gds": "^5.28.1",
|
|
49
|
+
"@edgeandnode/go": "^6.44.1"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@emotion/react": "^11.13",
|
|
@@ -56,21 +56,21 @@
|
|
|
56
56
|
"@safe-global/protocol-kit": "4.0.3",
|
|
57
57
|
"@safe-global/safe-core-sdk-types": "5.0.3",
|
|
58
58
|
"@tanstack/react-query": "5.51.23",
|
|
59
|
-
"@types/react": "^18.3.
|
|
59
|
+
"@types/react": "^18.3.4",
|
|
60
60
|
"@types/react-dom": "^18.3.0",
|
|
61
61
|
"@vitejs/plugin-react-swc": "^3.5.0",
|
|
62
|
-
"autoprefixer": "^10.4.
|
|
62
|
+
"autoprefixer": "^10.4.20",
|
|
63
63
|
"ethers": "5.7.2",
|
|
64
|
-
"postcss": "^8.4.
|
|
64
|
+
"postcss": "^8.4.41",
|
|
65
65
|
"react": "^18.3.1",
|
|
66
66
|
"react-dom": "^18.3.1",
|
|
67
|
-
"tailwindcss": "^3.4.
|
|
67
|
+
"tailwindcss": "^3.4.10",
|
|
68
68
|
"ts-node": "^10.9.2",
|
|
69
69
|
"viem": "2.19.6",
|
|
70
70
|
"wagmi": "2.12.5",
|
|
71
71
|
"@edgeandnode/common": "^6.19.1",
|
|
72
|
-
"@edgeandnode/gds": "^5.28.
|
|
73
|
-
"@edgeandnode/go": "^6.44.
|
|
72
|
+
"@edgeandnode/gds": "^5.28.1",
|
|
73
|
+
"@edgeandnode/go": "^6.44.1",
|
|
74
74
|
"@edgeandnode/test-utils": "^2.0.0"
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|