@edgeandnode/graph-auth-kit 6.1.1-gau-add-usepollsafetransaction-1739537269810-173707a9b7a2f0057f7fdefde5326859c440878e → 6.1.1-gau-add-usewaitforsafetransaction-1739825153307-ae65380841053846f20df847aa95081441d5b125
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-DkY5ODsb.js → GraphAuthKitInner.context-B8vsvUDy.js} +320 -16
- package/dist/ens/index.js +1 -1
- package/dist/{useGraphAuthKitEnsNames-8d-_Qd5D.js → hooks-ClXeFY-j.js} +12 -241
- package/dist/hooks.d.ts +0 -1
- package/dist/hooks.d.ts.map +1 -1
- package/dist/index.js +26 -23
- package/dist/safe/index.d.ts +1 -0
- package/dist/safe/index.d.ts.map +1 -1
- package/dist/safe/index.js +6 -2
- package/dist/safe/useWaitForSafeTransaction.d.ts +9 -0
- package/dist/safe/useWaitForSafeTransaction.d.ts.map +1 -0
- package/dist/test-harness/index.js +1 -1
- package/dist/useGraphAuthKitEnsNames-BEajLdia.js +211 -0
- package/dist/useWaitForSafeTransaction-D4k3ZLSB.js +44 -0
- package/dist/{utils-C_72bAxT.js → utils-DuHz-YHi.js} +1 -2
- package/package.json +2 -2
- package/dist/utils-DP_AxKkW.js +0 -309
package/dist/{GraphAuthKitInner.context-DkY5ODsb.js → GraphAuthKitInner.context-B8vsvUDy.js}
RENAMED
|
@@ -1,11 +1,97 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { buildEnsResolver } from "@edgeandnode/ens";
|
|
3
3
|
import { createContext, useContext, useRef, useState } from "react";
|
|
4
|
-
import { isAddress } from "viem";
|
|
4
|
+
import { http, createPublicClient, createClient, isAddress } from "viem";
|
|
5
5
|
import { useConnect, useDisconnect, useAccountEffect } from "wagmi";
|
|
6
6
|
import { z } from "zod";
|
|
7
|
-
import {
|
|
7
|
+
import { l1Mainnet, l1Testnet, l2Mainnet, l2Testnet } from "@edgeandnode/common";
|
|
8
|
+
import { mainnet, sepolia, arbitrum, arbitrumSepolia } from "viem/chains";
|
|
9
|
+
import { injected, coinbaseWallet, walletConnect } from "wagmi/connectors";
|
|
10
|
+
import "@safe-global/protocol-kit";
|
|
8
11
|
import { providers } from "ethers";
|
|
12
|
+
const AUTH_STORAGE_KEY = "thegraph__authstate";
|
|
13
|
+
const MULTISIG_AUTH_STORAGE_KEY = "multisig";
|
|
14
|
+
const L1Chain = { ...mainnet, graphCliName: l1Mainnet.id, caip2Id: l1Mainnet.caip2Id };
|
|
15
|
+
const L1ChainTestnet = { ...sepolia, graphCliName: l1Testnet.id, caip2Id: l1Testnet.caip2Id };
|
|
16
|
+
const L2Chain = { ...arbitrum, graphCliName: l2Mainnet.id, caip2Id: l2Mainnet.caip2Id };
|
|
17
|
+
const L2ChainTestnet = { ...arbitrumSepolia, graphCliName: l2Testnet.id, caip2Id: l2Testnet.caip2Id };
|
|
18
|
+
const DefChain = L2Chain;
|
|
19
|
+
const SupportedClientChainId = z.union([
|
|
20
|
+
z.literal(L1Chain.id),
|
|
21
|
+
z.literal(L1ChainTestnet.id),
|
|
22
|
+
z.literal(L2Chain.id),
|
|
23
|
+
z.literal(L2ChainTestnet.id)
|
|
24
|
+
]).readonly();
|
|
25
|
+
const SupportedClientChains = [L2Chain, L2ChainTestnet, L1Chain, L1ChainTestnet];
|
|
26
|
+
const SupportedL1ClientChainId = z.union([z.literal(L1Chain.id), z.literal(L1ChainTestnet.id)]).readonly();
|
|
27
|
+
const SupportedL2ClientChainId = z.union([z.literal(L2Chain.id), z.literal(L2ChainTestnet.id)]).readonly();
|
|
28
|
+
const RequiredInfuraKey = z.object({
|
|
29
|
+
infuraKey: z.string({ required_error: "The Infura Key is required" }).min(1).readonly()
|
|
30
|
+
});
|
|
31
|
+
const RequiredWalletConnectProjectId = z.object({
|
|
32
|
+
walletConnectProjectID: z.string({ required_error: "The WalletConnect Project ID is required" }).min(1).readonly()
|
|
33
|
+
});
|
|
34
|
+
const OptionalGatewayApiKey = z.object({
|
|
35
|
+
gatewayApiKey: z.string().min(32).max(32).optional().nullable().describe("The Graph Gateway API Key used to query Subgraphs published on The Graph Network")
|
|
36
|
+
});
|
|
37
|
+
const GraphAuthKitProps = RequiredInfuraKey.merge(OptionalGatewayApiKey);
|
|
38
|
+
const GraphAuthKitConnector = z.union([
|
|
39
|
+
z.literal(injected.type),
|
|
40
|
+
z.literal(coinbaseWallet.type),
|
|
41
|
+
z.literal(walletConnect.type),
|
|
42
|
+
z.literal("multisig")
|
|
43
|
+
]);
|
|
44
|
+
RequiredInfuraKey.extend({
|
|
45
|
+
chain: SupportedClientChainId.optional().nullable().default(DefChain.id)
|
|
46
|
+
});
|
|
47
|
+
function buildInfuraHttpTransport({
|
|
48
|
+
chain = DefChain.id,
|
|
49
|
+
infuraKey
|
|
50
|
+
}) {
|
|
51
|
+
switch (chain) {
|
|
52
|
+
case L1Chain.id: {
|
|
53
|
+
return http(`https://mainnet.infura.io/v3/${infuraKey}`);
|
|
54
|
+
}
|
|
55
|
+
case L1ChainTestnet.id: {
|
|
56
|
+
return http(`https://sepolia.infura.io/v3/${infuraKey}`);
|
|
57
|
+
}
|
|
58
|
+
case L2ChainTestnet.id: {
|
|
59
|
+
return http(`https://arbitrum-sepolia.infura.io/v3/${infuraKey}`);
|
|
60
|
+
}
|
|
61
|
+
default: {
|
|
62
|
+
return http(`https://arbitrum-mainnet.infura.io/v3/${infuraKey}`);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
const BuildPublicClientArgs = RequiredInfuraKey.extend({
|
|
67
|
+
chain: z.custom().optional().default(DefChain)
|
|
68
|
+
});
|
|
69
|
+
function isBuildPublicClientArgs(args) {
|
|
70
|
+
return args != null && typeof args === "object" && typeof args.infuraKey === "string";
|
|
71
|
+
}
|
|
72
|
+
function buildPublicClient({ chain = DefChain, infuraKey }) {
|
|
73
|
+
const transport = buildInfuraHttpTransport({
|
|
74
|
+
chain: chain.id,
|
|
75
|
+
infuraKey
|
|
76
|
+
});
|
|
77
|
+
return createPublicClient({
|
|
78
|
+
chain,
|
|
79
|
+
transport
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
const BuildClientArgs = RequiredInfuraKey.extend({
|
|
83
|
+
chain: z.custom().optional().default(DefChain)
|
|
84
|
+
});
|
|
85
|
+
function buildClient({ chain = DefChain, infuraKey }) {
|
|
86
|
+
const transport = buildInfuraHttpTransport({
|
|
87
|
+
chain: chain.id,
|
|
88
|
+
infuraKey
|
|
89
|
+
});
|
|
90
|
+
return createClient({
|
|
91
|
+
chain,
|
|
92
|
+
transport
|
|
93
|
+
});
|
|
94
|
+
}
|
|
9
95
|
const MultisigErrorMap = {
|
|
10
96
|
INVALID_SIGNER: {
|
|
11
97
|
title: "Signer Wallet is Invalid",
|
|
@@ -16,6 +102,193 @@ const MultisigErrorMap = {
|
|
|
16
102
|
description: "The signing wallet must be connected to the same network as the Multisig."
|
|
17
103
|
}
|
|
18
104
|
};
|
|
105
|
+
const SafeSupportedNetworks = z.union([z.literal(L1Chain.id), z.literal(L1ChainTestnet.id), z.literal(L2Chain.id)]).readonly();
|
|
106
|
+
function isSafeSupportedNetwork(network) {
|
|
107
|
+
return SafeSupportedNetworks.safeParse(network).success;
|
|
108
|
+
}
|
|
109
|
+
const SafeSupportedNetworkNames = {
|
|
110
|
+
[L2Chain.id]: { shortName: "arb1", name: L2Chain.name, id: L2Chain.id },
|
|
111
|
+
[L1Chain.id]: { shortName: "eth", name: L1Chain.name, id: L1Chain.id },
|
|
112
|
+
[L1ChainTestnet.id]: { shortName: "sep", name: L1ChainTestnet.name, id: L1ChainTestnet.id }
|
|
113
|
+
};
|
|
114
|
+
const ApiKitUrlMap = {
|
|
115
|
+
[L1Chain.id]: "https://safe-transaction-mainnet.safe.global/api",
|
|
116
|
+
[L1ChainTestnet.id]: "https://safe-transaction-sepolia.safe.global/api",
|
|
117
|
+
[L2Chain.id]: "https://safe-transaction-arbitrum.safe.global/api"
|
|
118
|
+
};
|
|
119
|
+
const SafeMinimalAbi = [
|
|
120
|
+
{
|
|
121
|
+
inputs: [],
|
|
122
|
+
payable: false,
|
|
123
|
+
stateMutability: "nonpayable",
|
|
124
|
+
type: "constructor"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
constant: true,
|
|
128
|
+
inputs: [],
|
|
129
|
+
name: "getThreshold",
|
|
130
|
+
outputs: [
|
|
131
|
+
{
|
|
132
|
+
internalType: "uint256",
|
|
133
|
+
name: "",
|
|
134
|
+
type: "uint256"
|
|
135
|
+
}
|
|
136
|
+
],
|
|
137
|
+
payable: false,
|
|
138
|
+
stateMutability: "view",
|
|
139
|
+
type: "function"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
constant: true,
|
|
143
|
+
inputs: [],
|
|
144
|
+
name: "getOwners",
|
|
145
|
+
outputs: [
|
|
146
|
+
{
|
|
147
|
+
internalType: "address[]",
|
|
148
|
+
name: "",
|
|
149
|
+
type: "address[]"
|
|
150
|
+
}
|
|
151
|
+
],
|
|
152
|
+
payable: false,
|
|
153
|
+
stateMutability: "view",
|
|
154
|
+
type: "function"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
constant: false,
|
|
158
|
+
inputs: [
|
|
159
|
+
{
|
|
160
|
+
internalType: "bytes",
|
|
161
|
+
name: "_data",
|
|
162
|
+
type: "bytes"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
internalType: "bytes",
|
|
166
|
+
name: "_signature",
|
|
167
|
+
type: "bytes"
|
|
168
|
+
}
|
|
169
|
+
],
|
|
170
|
+
name: "isValidSignature",
|
|
171
|
+
outputs: [
|
|
172
|
+
{
|
|
173
|
+
internalType: "bytes4",
|
|
174
|
+
name: "",
|
|
175
|
+
type: "bytes4"
|
|
176
|
+
}
|
|
177
|
+
],
|
|
178
|
+
payable: false,
|
|
179
|
+
stateMutability: "nonpayable",
|
|
180
|
+
type: "function"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
constant: true,
|
|
184
|
+
inputs: [],
|
|
185
|
+
name: "nonce",
|
|
186
|
+
outputs: [
|
|
187
|
+
{
|
|
188
|
+
internalType: "uint256",
|
|
189
|
+
name: "",
|
|
190
|
+
type: "uint256"
|
|
191
|
+
}
|
|
192
|
+
],
|
|
193
|
+
payable: false,
|
|
194
|
+
stateMutability: "view",
|
|
195
|
+
type: "function"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
constant: true,
|
|
199
|
+
inputs: [
|
|
200
|
+
{
|
|
201
|
+
internalType: "address",
|
|
202
|
+
name: "owner",
|
|
203
|
+
type: "address"
|
|
204
|
+
}
|
|
205
|
+
],
|
|
206
|
+
name: "isOwner",
|
|
207
|
+
outputs: [
|
|
208
|
+
{
|
|
209
|
+
internalType: "bool",
|
|
210
|
+
name: "",
|
|
211
|
+
type: "bool"
|
|
212
|
+
}
|
|
213
|
+
],
|
|
214
|
+
payable: false,
|
|
215
|
+
stateMutability: "view",
|
|
216
|
+
type: "function"
|
|
217
|
+
}
|
|
218
|
+
];
|
|
219
|
+
async function createApiKit(chainId) {
|
|
220
|
+
const { default: SafeApiKit } = await import("@safe-global/api-kit");
|
|
221
|
+
const SafeApiKitClass = typeof SafeApiKit === "function" ? SafeApiKit : SafeApiKit.default;
|
|
222
|
+
const apiKit = new SafeApiKitClass({
|
|
223
|
+
chainId: BigInt(chainId),
|
|
224
|
+
txServiceUrl: ApiKitUrlMap[chainId]
|
|
225
|
+
});
|
|
226
|
+
return apiKit;
|
|
227
|
+
}
|
|
228
|
+
async function createSafe(config) {
|
|
229
|
+
const { default: Safe2 } = await import("@safe-global/protocol-kit");
|
|
230
|
+
const SafeClass = typeof Safe2 === "function" ? Safe2 : Safe2.default;
|
|
231
|
+
const protocolKit = await SafeClass.init(config);
|
|
232
|
+
return protocolKit;
|
|
233
|
+
}
|
|
234
|
+
async function isValidSafe(args) {
|
|
235
|
+
try {
|
|
236
|
+
const client = isBuildPublicClientArgs(args.clientOrBuildClientArgs) ? buildPublicClient(args.clientOrBuildClientArgs) : args.clientOrBuildClientArgs;
|
|
237
|
+
await client.readContract({
|
|
238
|
+
address: args.safeAddress,
|
|
239
|
+
abi: SafeMinimalAbi,
|
|
240
|
+
functionName: "getThreshold"
|
|
241
|
+
});
|
|
242
|
+
return true;
|
|
243
|
+
} catch (err) {
|
|
244
|
+
console.warn("isValidSafe - failure checking safe", { err: err.message });
|
|
245
|
+
return false;
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
async function isSafeOwner(args) {
|
|
249
|
+
try {
|
|
250
|
+
const client = isBuildPublicClientArgs(args.clientOrBuildClientArgs) ? buildPublicClient(args.clientOrBuildClientArgs) : args.clientOrBuildClientArgs;
|
|
251
|
+
return await client.readContract({
|
|
252
|
+
address: args.safeAddress,
|
|
253
|
+
abi: SafeMinimalAbi,
|
|
254
|
+
functionName: "isOwner",
|
|
255
|
+
args: [args.eoa]
|
|
256
|
+
});
|
|
257
|
+
} catch (err) {
|
|
258
|
+
console.warn("isSafeOwner - failure checking if EoA is Safe owner", { err: err.message });
|
|
259
|
+
return false;
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
async function fetchOwnedSafes(args) {
|
|
263
|
+
let safes = {};
|
|
264
|
+
for (const chain of args.chains ?? [L2Chain.id, L1Chain.id, L1ChainTestnet.id]) {
|
|
265
|
+
const chainSafes = await fetchSafesByChain(args.signer, chain);
|
|
266
|
+
safes = { ...safes, [chain]: chainSafes };
|
|
267
|
+
}
|
|
268
|
+
return safes;
|
|
269
|
+
}
|
|
270
|
+
const OwnerResponseSchema = z.object({
|
|
271
|
+
safes: z.array(z.custom((val) => val != null && typeof val === "string" && isAddress(val)))
|
|
272
|
+
});
|
|
273
|
+
async function fetchSafesByChain(signer, chain) {
|
|
274
|
+
const txServiceUrl = ApiKitUrlMap[chain];
|
|
275
|
+
const response = await fetch(`${txServiceUrl}/v1/owners/${signer}/safes/`, {
|
|
276
|
+
method: "get",
|
|
277
|
+
headers: {
|
|
278
|
+
Accept: "application/json",
|
|
279
|
+
"Content-Type": "application/json"
|
|
280
|
+
}
|
|
281
|
+
});
|
|
282
|
+
if (response.status !== 200) {
|
|
283
|
+
return [];
|
|
284
|
+
}
|
|
285
|
+
const json = await response.json();
|
|
286
|
+
const parsed = OwnerResponseSchema.safeParse(json);
|
|
287
|
+
if (!parsed.success) {
|
|
288
|
+
return [];
|
|
289
|
+
}
|
|
290
|
+
return parsed.data.safes;
|
|
291
|
+
}
|
|
19
292
|
function chainIsSupportedChain(chain) {
|
|
20
293
|
return SupportedClientChainId.safeParse(chain.id).success;
|
|
21
294
|
}
|
|
@@ -301,18 +574,49 @@ function GraphAuthKitInnerContextProvider({
|
|
|
301
574
|
);
|
|
302
575
|
}
|
|
303
576
|
export {
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
clientToProvider as
|
|
312
|
-
connectedWalletIsEoA as
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
577
|
+
ApiKitUrlMap as A,
|
|
578
|
+
BuildPublicClientArgs as B,
|
|
579
|
+
isChainL1 as C,
|
|
580
|
+
DefChain as D,
|
|
581
|
+
isChainMainnet as E,
|
|
582
|
+
isChainTestnet as F,
|
|
583
|
+
GraphAuthKitProps as G,
|
|
584
|
+
clientToProvider as H,
|
|
585
|
+
connectedWalletIsEoA as I,
|
|
586
|
+
useGraphAuthKitInnerContext as J,
|
|
587
|
+
MultisigSchema as K,
|
|
588
|
+
L1Chain as L,
|
|
589
|
+
MULTISIG_AUTH_STORAGE_KEY as M,
|
|
590
|
+
GraphAuthKitInnerContextProvider as N,
|
|
591
|
+
OptionalGatewayApiKey as O,
|
|
592
|
+
GraphAuthKitInnerContext as P,
|
|
593
|
+
defInnerState as Q,
|
|
594
|
+
RequiredInfuraKey as R,
|
|
595
|
+
SafeSupportedNetworks as S,
|
|
596
|
+
SafeSupportedNetworkNames as a,
|
|
597
|
+
createSafe as b,
|
|
598
|
+
createApiKit as c,
|
|
599
|
+
isValidSafe as d,
|
|
600
|
+
isSafeOwner as e,
|
|
601
|
+
fetchOwnedSafes as f,
|
|
602
|
+
buildInfuraHttpTransport as g,
|
|
603
|
+
isBuildPublicClientArgs as h,
|
|
604
|
+
isSafeSupportedNetwork as i,
|
|
605
|
+
buildPublicClient as j,
|
|
606
|
+
BuildClientArgs as k,
|
|
607
|
+
buildClient as l,
|
|
608
|
+
AUTH_STORAGE_KEY as m,
|
|
609
|
+
L1ChainTestnet as n,
|
|
610
|
+
L2Chain as o,
|
|
611
|
+
L2ChainTestnet as p,
|
|
612
|
+
SupportedClientChainId as q,
|
|
613
|
+
SupportedClientChains as r,
|
|
614
|
+
SupportedL1ClientChainId as s,
|
|
615
|
+
SupportedL2ClientChainId as t,
|
|
616
|
+
RequiredWalletConnectProjectId as u,
|
|
617
|
+
GraphAuthKitConnector as v,
|
|
618
|
+
chainIsSupportedChain as w,
|
|
619
|
+
isSupportedChainId as x,
|
|
620
|
+
mapChainIdToChain as y,
|
|
621
|
+
isChainL2 as z
|
|
318
622
|
};
|
package/dist/ens/index.js
CHANGED
|
@@ -1,17 +1,13 @@
|
|
|
1
|
-
"use client";
|
|
2
1
|
var __defProp = Object.defineProperty;
|
|
3
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5
|
-
import {
|
|
6
|
-
import { getEnsAvatarQueryKey, getEnsNameQueryKey } from "@wagmi/core/query";
|
|
7
|
-
import { writeContractMutationOptions, useQuery as useQuery$1 } from "wagmi/query";
|
|
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-DkY5ODsb.js";
|
|
10
|
-
import { useChainId, useConnectorClient, useAccount, useConfig, useAccountEffect, useWalletClient } from "wagmi";
|
|
11
|
-
import { useMutation, useQuery } from "@tanstack/react-query";
|
|
4
|
+
import { useMutation } from "@tanstack/react-query";
|
|
12
5
|
import { watchAccount } from "@wagmi/core";
|
|
13
6
|
import { useMemo, useState, useEffect } from "react";
|
|
14
7
|
import { encodeFunctionData, getAddress, isAddress } from "viem";
|
|
8
|
+
import { useChainId, useConnectorClient, useAccount, useConfig, useAccountEffect, useWalletClient } from "wagmi";
|
|
9
|
+
import { writeContractMutationOptions } from "wagmi/query";
|
|
10
|
+
import { b as createSafe, c as createApiKit, H as clientToProvider, J as useGraphAuthKitInnerContext, v as GraphAuthKitConnector, M as MULTISIG_AUTH_STORAGE_KEY, K as MultisigSchema } from "./GraphAuthKitInner.context-B8vsvUDy.js";
|
|
15
11
|
import { VoidSigner } from "@ethersproject/abstract-signer";
|
|
16
12
|
import "@safe-global/protocol-kit";
|
|
17
13
|
import { OperationType } from "@safe-global/types-kit";
|
|
@@ -477,238 +473,13 @@ function useGraphAuthKitWriteContract(parameters = {}) {
|
|
|
477
473
|
writeContractAsync: mutateAsync
|
|
478
474
|
};
|
|
479
475
|
}
|
|
480
|
-
function usePollSafeTransaction(safeTxHash) {
|
|
481
|
-
const connector = useGraphAuthKitConnector();
|
|
482
|
-
const isMultisig = connector === "multisig";
|
|
483
|
-
const _enteredMultisigInfo = useMultisigInfo();
|
|
484
|
-
return useQuery({
|
|
485
|
-
queryKey: ["SafeMultisigTransactionResponse", safeTxHash],
|
|
486
|
-
queryFn: async () => {
|
|
487
|
-
const chainId = _enteredMultisigInfo.network;
|
|
488
|
-
const apiKit = await createApiKit(chainId);
|
|
489
|
-
const txDetails = await apiKit.getTransaction(safeTxHash);
|
|
490
|
-
return txDetails;
|
|
491
|
-
},
|
|
492
|
-
enabled: isMultisig && _enteredMultisigInfo != null,
|
|
493
|
-
refetchInterval: (query) => {
|
|
494
|
-
var _a;
|
|
495
|
-
if ((_a = query.state.data) == null ? void 0 : _a.transactionHash) {
|
|
496
|
-
return false;
|
|
497
|
-
}
|
|
498
|
-
return 5e3;
|
|
499
|
-
}
|
|
500
|
-
});
|
|
501
|
-
}
|
|
502
|
-
function useGraphAuthKitAvatar(args = {}) {
|
|
503
|
-
const innerCtx = useGraphAuthKitInnerContext();
|
|
504
|
-
const account = useGraphAuthKitAccount();
|
|
505
|
-
const address = args.address || account.address || void 0;
|
|
506
|
-
const chain = args.chain != null ? args.chain : account.chainId != null && isSupportedChainId(account.chainId) ? account.chainId : L2Chain.id;
|
|
507
|
-
return useQuery$1({
|
|
508
|
-
queryKey: getEnsAvatarQueryKey({
|
|
509
|
-
chainId: chain,
|
|
510
|
-
blockTag: "latest",
|
|
511
|
-
name: address
|
|
512
|
-
}),
|
|
513
|
-
async queryFn() {
|
|
514
|
-
if (address == null) {
|
|
515
|
-
return createIdenticon("0x0000000000000000000000000000000000000000");
|
|
516
|
-
}
|
|
517
|
-
const avatar = await innerCtx._ensResolver.resolveAvatar({
|
|
518
|
-
...args,
|
|
519
|
-
address,
|
|
520
|
-
chain
|
|
521
|
-
});
|
|
522
|
-
return avatar || createIdenticon(address);
|
|
523
|
-
}
|
|
524
|
-
});
|
|
525
|
-
}
|
|
526
|
-
function useGraphAuthKitAvatars(args) {
|
|
527
|
-
const innerCtx = useGraphAuthKitInnerContext();
|
|
528
|
-
const account = useGraphAuthKitAccount();
|
|
529
|
-
const chain = args.chain != null ? args.chain : account.chainId != null && isSupportedChainId(account.chainId) ? account.chainId : L2Chain.id;
|
|
530
|
-
return useQuery$1({
|
|
531
|
-
queryKey: getAvatarsBatchQueryKey({
|
|
532
|
-
chainId: chain,
|
|
533
|
-
blockTag: "latest",
|
|
534
|
-
addresses: args.addresses
|
|
535
|
-
}),
|
|
536
|
-
async queryFn() {
|
|
537
|
-
if (args.addresses.length === 0) {
|
|
538
|
-
return {};
|
|
539
|
-
}
|
|
540
|
-
const map = await innerCtx._ensResolver.resolveAvatarsBatch({
|
|
541
|
-
...args,
|
|
542
|
-
addresses: args.addresses,
|
|
543
|
-
chain
|
|
544
|
-
});
|
|
545
|
-
return Object.entries(map).reduce((accum, [addr, avatar]) => {
|
|
546
|
-
accum[addr] = avatar || createIdenticon(addr);
|
|
547
|
-
return accum;
|
|
548
|
-
}, map);
|
|
549
|
-
}
|
|
550
|
-
});
|
|
551
|
-
}
|
|
552
|
-
function filterQueryOptions$1(options) {
|
|
553
|
-
const {
|
|
554
|
-
// import('@tanstack/query-core').QueryOptions
|
|
555
|
-
_defaulted,
|
|
556
|
-
behavior,
|
|
557
|
-
gcTime,
|
|
558
|
-
initialData,
|
|
559
|
-
initialDataUpdatedAt,
|
|
560
|
-
maxPages,
|
|
561
|
-
meta,
|
|
562
|
-
networkMode,
|
|
563
|
-
queryFn,
|
|
564
|
-
queryHash,
|
|
565
|
-
queryKey,
|
|
566
|
-
queryKeyHashFn,
|
|
567
|
-
retry,
|
|
568
|
-
retryDelay,
|
|
569
|
-
structuralSharing,
|
|
570
|
-
// import('@tanstack/query-core').InfiniteQueryObserverOptions
|
|
571
|
-
getPreviousPageParam,
|
|
572
|
-
getNextPageParam,
|
|
573
|
-
initialPageParam,
|
|
574
|
-
// import('@tanstack/react-query').UseQueryOptions
|
|
575
|
-
_optimisticResults,
|
|
576
|
-
enabled,
|
|
577
|
-
notifyOnChangeProps,
|
|
578
|
-
placeholderData,
|
|
579
|
-
refetchInterval,
|
|
580
|
-
refetchIntervalInBackground,
|
|
581
|
-
refetchOnMount,
|
|
582
|
-
refetchOnReconnect,
|
|
583
|
-
refetchOnWindowFocus,
|
|
584
|
-
retryOnMount,
|
|
585
|
-
select,
|
|
586
|
-
staleTime,
|
|
587
|
-
suspense,
|
|
588
|
-
throwOnError,
|
|
589
|
-
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
590
|
-
// wagmi
|
|
591
|
-
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
592
|
-
config,
|
|
593
|
-
connector,
|
|
594
|
-
query,
|
|
595
|
-
...rest
|
|
596
|
-
} = options;
|
|
597
|
-
return rest;
|
|
598
|
-
}
|
|
599
|
-
function getAvatarsBatchQueryKey(options = { addresses: [] }) {
|
|
600
|
-
return ["ensAvatars", filterQueryOptions$1(options)];
|
|
601
|
-
}
|
|
602
|
-
function useGraphAuthKitEnsName(args = {}) {
|
|
603
|
-
const innerCtx = useGraphAuthKitInnerContext();
|
|
604
|
-
const chainId = useChainId();
|
|
605
|
-
const account = useGraphAuthKitAccount();
|
|
606
|
-
const address = args.address || account.address || void 0;
|
|
607
|
-
const testnet = args.testnet ?? (chainId === L1ChainTestnet.id || chainId === L2ChainTestnet.id);
|
|
608
|
-
return useQuery$1({
|
|
609
|
-
queryKey: getEnsNameQueryKey({
|
|
610
|
-
chainId: testnet ? L1ChainTestnet.id : L1Chain.id,
|
|
611
|
-
blockTag: "latest",
|
|
612
|
-
address
|
|
613
|
-
}),
|
|
614
|
-
async queryFn() {
|
|
615
|
-
if (address == null) {
|
|
616
|
-
return null;
|
|
617
|
-
}
|
|
618
|
-
return await innerCtx._ensResolver.resolveEnsName({
|
|
619
|
-
...args,
|
|
620
|
-
address,
|
|
621
|
-
testnet
|
|
622
|
-
});
|
|
623
|
-
},
|
|
624
|
-
enabled: args.address != null
|
|
625
|
-
});
|
|
626
|
-
}
|
|
627
|
-
function useGraphAuthKitEnsNames(args) {
|
|
628
|
-
const innerCtx = useGraphAuthKitInnerContext();
|
|
629
|
-
const chainId = useChainId();
|
|
630
|
-
const testnet = args.testnet ?? (chainId === L1ChainTestnet.id || chainId === L2ChainTestnet.id);
|
|
631
|
-
return useQuery$1({
|
|
632
|
-
queryKey: getEnsNamesBatchQueryKey({
|
|
633
|
-
chainId: testnet ? L1ChainTestnet.id : L1Chain.id,
|
|
634
|
-
blockTag: "latest",
|
|
635
|
-
addresses: args.addresses
|
|
636
|
-
}),
|
|
637
|
-
async queryFn() {
|
|
638
|
-
if (args.addresses.length === 0) {
|
|
639
|
-
return {};
|
|
640
|
-
}
|
|
641
|
-
return await innerCtx._ensResolver.resolveEnsNamesBatch({
|
|
642
|
-
...args,
|
|
643
|
-
addresses: args.addresses,
|
|
644
|
-
testnet
|
|
645
|
-
});
|
|
646
|
-
},
|
|
647
|
-
enabled: args.addresses.length > 0
|
|
648
|
-
});
|
|
649
|
-
}
|
|
650
|
-
function filterQueryOptions(options) {
|
|
651
|
-
const {
|
|
652
|
-
// import('@tanstack/query-core').QueryOptions
|
|
653
|
-
_defaulted,
|
|
654
|
-
behavior,
|
|
655
|
-
gcTime,
|
|
656
|
-
initialData,
|
|
657
|
-
initialDataUpdatedAt,
|
|
658
|
-
maxPages,
|
|
659
|
-
meta,
|
|
660
|
-
networkMode,
|
|
661
|
-
queryFn,
|
|
662
|
-
queryHash,
|
|
663
|
-
queryKey,
|
|
664
|
-
queryKeyHashFn,
|
|
665
|
-
retry,
|
|
666
|
-
retryDelay,
|
|
667
|
-
structuralSharing,
|
|
668
|
-
// import('@tanstack/query-core').InfiniteQueryObserverOptions
|
|
669
|
-
getPreviousPageParam,
|
|
670
|
-
getNextPageParam,
|
|
671
|
-
initialPageParam,
|
|
672
|
-
// import('@tanstack/react-query').UseQueryOptions
|
|
673
|
-
_optimisticResults,
|
|
674
|
-
enabled,
|
|
675
|
-
notifyOnChangeProps,
|
|
676
|
-
placeholderData,
|
|
677
|
-
refetchInterval,
|
|
678
|
-
refetchIntervalInBackground,
|
|
679
|
-
refetchOnMount,
|
|
680
|
-
refetchOnReconnect,
|
|
681
|
-
refetchOnWindowFocus,
|
|
682
|
-
retryOnMount,
|
|
683
|
-
select,
|
|
684
|
-
staleTime,
|
|
685
|
-
suspense,
|
|
686
|
-
throwOnError,
|
|
687
|
-
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
688
|
-
// wagmi
|
|
689
|
-
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
690
|
-
config,
|
|
691
|
-
connector,
|
|
692
|
-
query,
|
|
693
|
-
...rest
|
|
694
|
-
} = options;
|
|
695
|
-
return rest;
|
|
696
|
-
}
|
|
697
|
-
function getEnsNamesBatchQueryKey(options = { addresses: [] }) {
|
|
698
|
-
return ["ensName", filterQueryOptions(options)];
|
|
699
|
-
}
|
|
700
476
|
export {
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
useMultisigInfo as
|
|
709
|
-
useGraphAuthKitAccountEffect as i,
|
|
710
|
-
useGraphAuthKitWalletClient as j,
|
|
711
|
-
useGraphAuthKitWriteContract as k,
|
|
712
|
-
usePollSafeTransaction as l,
|
|
713
|
-
useGraphAuthKitAvatar as u
|
|
477
|
+
useGraphAuthKitAccount as a,
|
|
478
|
+
useGraphAuthKitConnector as b,
|
|
479
|
+
useClientToEthersSigner as c,
|
|
480
|
+
useAuthAccount as d,
|
|
481
|
+
useGraphAuthKitAccountEffect as e,
|
|
482
|
+
useGraphAuthKitWalletClient as f,
|
|
483
|
+
useGraphAuthKitWriteContract as g,
|
|
484
|
+
useMultisigInfo as u
|
|
714
485
|
};
|
package/dist/hooks.d.ts
CHANGED
|
@@ -122,5 +122,4 @@ export declare function useGraphAuthKitWalletClient<const config extends Config
|
|
|
122
122
|
* @see https://wagmi.sh/react/api/hooks/useWriteContract
|
|
123
123
|
*/
|
|
124
124
|
export declare function useGraphAuthKitWriteContract<const config extends Config = ResolvedRegister['config'], context = unknown>(parameters?: UseWriteContractParameters<config, context>): UseWriteContractReturnType<config, context>;
|
|
125
|
-
export declare function usePollSafeTransaction<const config extends Config = ResolvedRegister['config']>(safeTxHash: string): import('@tanstack/react-query').UseQueryResult<import('@safe-global/types-kit').SafeMultisigTransactionResponse, Error>;
|
|
126
125
|
//# sourceMappingURL=hooks.d.ts.map
|
package/dist/hooks.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../src/hooks.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AACnD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAA;AAEvC,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,KAAK,EAAyB,MAAM,MAAM,CAAA;AACtE,OAAO,EACL,KAAK,MAAM,EACX,KAAK,SAAS,EACd,KAAK,gBAAgB,EAGrB,KAAK,oBAAoB,EAIzB,KAAK,4BAA4B,EAEjC,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAC/B,KAAK,0BAA0B,EAChC,MAAM,OAAO,CAAA;AAId,OAAO,EAAE,cAAc,EAA+B,MAAM,mCAAmC,CAAA;AAE/F,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAE1D,OAAO,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAA;AAG/C;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,CAAC,MAAM,SAAS,MAAM,GAAG,gBAAgB,CAAC,QAAQ,CAAC;YAOpF,SAAS,CAAC,aAAa,GAAG,gBAAgB,GAAG,SAAS,GAAG,IAAI;EA4BxE;AAED,wBAAgB,wBAAwB,CACtC,KAAK,CAAC,MAAM,SAAS,MAAM,GAAG,gBAAgB,CAAC,QAAQ,CAAC,KACrD,qBAAqB,GAAG,IAAI,CAchC;AAED,MAAM,MAAM,gCAAgC,CAAC,MAAM,SAAS,MAAM,GAAG,gBAAgB,CAAC,QAAQ,CAAC,IAC7F,oBAAoB,CAAC,MAAM,CAAC,GAC1B,QAAQ,CAAC;IACP,wGAAwG;IACxG,GAAG,CAAC,EAAE,OAAO,GAAG,I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