@relayprotocol/relay-kit-hooks 2.0.4 → 2.0.6

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.
@@ -9,7 +9,7 @@ type QueryOptions = Parameters<QueryType>['0'];
9
9
  export declare const queryExecutionStatus: (baseApiUrl?: string, options?: ExecutionStatusParams, headers?: HeadersInit) => Promise<ExecutionStatusResponse>;
10
10
  export type onProgress = (data: ProgressData) => void;
11
11
  export default function (client?: RelayClient, options?: ExecutionStatusParams, onRequest?: () => void, onResponse?: (data: Execute) => void, queryOptions?: Partial<QueryOptions>): Omit<import("@tanstack/react-query").UseQueryResult<{
12
- status?: "refund" | "waiting" | "failure" | "pending" | "success" | "delayed" | undefined;
12
+ status?: "refund" | "waiting" | "failure" | "pending" | "success" | undefined;
13
13
  details?: string | undefined;
14
14
  inTxHashes?: string[] | undefined;
15
15
  txHashes?: string[] | undefined;
@@ -18,7 +18,7 @@ export default function (client?: RelayClient, options?: ExecutionStatusParams,
18
18
  destinationChainId?: number | undefined;
19
19
  }, Error>, "data"> & {
20
20
  data?: {
21
- status?: "refund" | "waiting" | "failure" | "pending" | "success" | "delayed" | undefined;
21
+ status?: "refund" | "waiting" | "failure" | "pending" | "success" | undefined;
22
22
  details?: string | undefined;
23
23
  inTxHashes?: string[] | undefined;
24
24
  txHashes?: string[] | undefined;
@@ -10,7 +10,7 @@ export declare const queryRequests: (baseApiUrl?: string, options?: UserTransact
10
10
  export default function (options?: UserTransactionQuery | false, baseApiUrl?: string, queryOptions?: Partial<QueryOptions>): {
11
11
  data: {
12
12
  id?: string | undefined;
13
- status?: "refund" | "waiting" | "failure" | "pending" | "success" | "delayed" | undefined;
13
+ status?: "refund" | "waiting" | "failure" | "pending" | "success" | undefined;
14
14
  user?: string | undefined;
15
15
  recipient?: string | undefined;
16
16
  subsidizedRequest?: boolean | undefined;
@@ -286,7 +286,7 @@ export default function (options?: UserTransactionQuery | false, baseApiUrl?: st
286
286
  fetchNextPage: (options?: import("@tanstack/react-query").FetchNextPageOptions | undefined) => Promise<import("@tanstack/react-query").InfiniteQueryObserverResult<InfiniteData<{
287
287
  requests?: {
288
288
  id?: string | undefined;
289
- status?: "refund" | "waiting" | "failure" | "pending" | "success" | "delayed" | undefined;
289
+ status?: "refund" | "waiting" | "failure" | "pending" | "success" | undefined;
290
290
  user?: string | undefined;
291
291
  recipient?: string | undefined;
292
292
  subsidizedRequest?: boolean | undefined;
@@ -555,7 +555,7 @@ export default function (options?: UserTransactionQuery | false, baseApiUrl?: st
555
555
  fetchPreviousPage: (options?: import("@tanstack/react-query").FetchPreviousPageOptions | undefined) => Promise<import("@tanstack/react-query").InfiniteQueryObserverResult<InfiniteData<{
556
556
  requests?: {
557
557
  id?: string | undefined;
558
- status?: "refund" | "waiting" | "failure" | "pending" | "success" | "delayed" | undefined;
558
+ status?: "refund" | "waiting" | "failure" | "pending" | "success" | undefined;
559
559
  user?: string | undefined;
560
560
  recipient?: string | undefined;
561
561
  subsidizedRequest?: boolean | undefined;
@@ -842,7 +842,7 @@ export default function (options?: UserTransactionQuery | false, baseApiUrl?: st
842
842
  refetch: (options?: import("@tanstack/react-query").RefetchOptions | undefined) => Promise<import("@tanstack/react-query").QueryObserverResult<InfiniteData<{
843
843
  requests?: {
844
844
  id?: string | undefined;
845
- status?: "refund" | "waiting" | "failure" | "pending" | "success" | "delayed" | undefined;
845
+ status?: "refund" | "waiting" | "failure" | "pending" | "success" | undefined;
846
846
  user?: string | undefined;
847
847
  recipient?: string | undefined;
848
848
  subsidizedRequest?: boolean | undefined;
@@ -1112,7 +1112,7 @@ export default function (options?: UserTransactionQuery | false, baseApiUrl?: st
1112
1112
  promise: Promise<InfiniteData<{
1113
1113
  requests?: {
1114
1114
  id?: string | undefined;
1115
- status?: "refund" | "waiting" | "failure" | "pending" | "success" | "delayed" | undefined;
1115
+ status?: "refund" | "waiting" | "failure" | "pending" | "success" | undefined;
1116
1116
  user?: string | undefined;
1117
1117
  recipient?: string | undefined;
1118
1118
  subsidizedRequest?: boolean | undefined;
@@ -1381,7 +1381,7 @@ export default function (options?: UserTransactionQuery | false, baseApiUrl?: st
1381
1381
  } | {
1382
1382
  data: {
1383
1383
  id?: string | undefined;
1384
- status?: "refund" | "waiting" | "failure" | "pending" | "success" | "delayed" | undefined;
1384
+ status?: "refund" | "waiting" | "failure" | "pending" | "success" | undefined;
1385
1385
  user?: string | undefined;
1386
1386
  recipient?: string | undefined;
1387
1387
  subsidizedRequest?: boolean | undefined;
@@ -1659,7 +1659,7 @@ export default function (options?: UserTransactionQuery | false, baseApiUrl?: st
1659
1659
  fetchNextPage: (options?: import("@tanstack/react-query").FetchNextPageOptions | undefined) => Promise<import("@tanstack/react-query").InfiniteQueryObserverResult<InfiniteData<{
1660
1660
  requests?: {
1661
1661
  id?: string | undefined;
1662
- status?: "refund" | "waiting" | "failure" | "pending" | "success" | "delayed" | undefined;
1662
+ status?: "refund" | "waiting" | "failure" | "pending" | "success" | undefined;
1663
1663
  user?: string | undefined;
1664
1664
  recipient?: string | undefined;
1665
1665
  subsidizedRequest?: boolean | undefined;
@@ -1928,7 +1928,7 @@ export default function (options?: UserTransactionQuery | false, baseApiUrl?: st
1928
1928
  fetchPreviousPage: (options?: import("@tanstack/react-query").FetchPreviousPageOptions | undefined) => Promise<import("@tanstack/react-query").InfiniteQueryObserverResult<InfiniteData<{
1929
1929
  requests?: {
1930
1930
  id?: string | undefined;
1931
- status?: "refund" | "waiting" | "failure" | "pending" | "success" | "delayed" | undefined;
1931
+ status?: "refund" | "waiting" | "failure" | "pending" | "success" | undefined;
1932
1932
  user?: string | undefined;
1933
1933
  recipient?: string | undefined;
1934
1934
  subsidizedRequest?: boolean | undefined;
@@ -2213,7 +2213,7 @@ export default function (options?: UserTransactionQuery | false, baseApiUrl?: st
2213
2213
  refetch: (options?: import("@tanstack/react-query").RefetchOptions | undefined) => Promise<import("@tanstack/react-query").QueryObserverResult<InfiniteData<{
2214
2214
  requests?: {
2215
2215
  id?: string | undefined;
2216
- status?: "refund" | "waiting" | "failure" | "pending" | "success" | "delayed" | undefined;
2216
+ status?: "refund" | "waiting" | "failure" | "pending" | "success" | undefined;
2217
2217
  user?: string | undefined;
2218
2218
  recipient?: string | undefined;
2219
2219
  subsidizedRequest?: boolean | undefined;
@@ -2483,7 +2483,7 @@ export default function (options?: UserTransactionQuery | false, baseApiUrl?: st
2483
2483
  promise: Promise<InfiniteData<{
2484
2484
  requests?: {
2485
2485
  id?: string | undefined;
2486
- status?: "refund" | "waiting" | "failure" | "pending" | "success" | "delayed" | undefined;
2486
+ status?: "refund" | "waiting" | "failure" | "pending" | "success" | undefined;
2487
2487
  user?: string | undefined;
2488
2488
  recipient?: string | undefined;
2489
2489
  subsidizedRequest?: boolean | undefined;
@@ -2752,7 +2752,7 @@ export default function (options?: UserTransactionQuery | false, baseApiUrl?: st
2752
2752
  } | {
2753
2753
  data: {
2754
2754
  id?: string | undefined;
2755
- status?: "refund" | "waiting" | "failure" | "pending" | "success" | "delayed" | undefined;
2755
+ status?: "refund" | "waiting" | "failure" | "pending" | "success" | undefined;
2756
2756
  user?: string | undefined;
2757
2757
  recipient?: string | undefined;
2758
2758
  subsidizedRequest?: boolean | undefined;
@@ -3030,7 +3030,7 @@ export default function (options?: UserTransactionQuery | false, baseApiUrl?: st
3030
3030
  fetchNextPage: (options?: import("@tanstack/react-query").FetchNextPageOptions | undefined) => Promise<import("@tanstack/react-query").InfiniteQueryObserverResult<InfiniteData<{
3031
3031
  requests?: {
3032
3032
  id?: string | undefined;
3033
- status?: "refund" | "waiting" | "failure" | "pending" | "success" | "delayed" | undefined;
3033
+ status?: "refund" | "waiting" | "failure" | "pending" | "success" | undefined;
3034
3034
  user?: string | undefined;
3035
3035
  recipient?: string | undefined;
3036
3036
  subsidizedRequest?: boolean | undefined;
@@ -3299,7 +3299,7 @@ export default function (options?: UserTransactionQuery | false, baseApiUrl?: st
3299
3299
  fetchPreviousPage: (options?: import("@tanstack/react-query").FetchPreviousPageOptions | undefined) => Promise<import("@tanstack/react-query").InfiniteQueryObserverResult<InfiniteData<{
3300
3300
  requests?: {
3301
3301
  id?: string | undefined;
3302
- status?: "refund" | "waiting" | "failure" | "pending" | "success" | "delayed" | undefined;
3302
+ status?: "refund" | "waiting" | "failure" | "pending" | "success" | undefined;
3303
3303
  user?: string | undefined;
3304
3304
  recipient?: string | undefined;
3305
3305
  subsidizedRequest?: boolean | undefined;
@@ -3584,7 +3584,7 @@ export default function (options?: UserTransactionQuery | false, baseApiUrl?: st
3584
3584
  refetch: (options?: import("@tanstack/react-query").RefetchOptions | undefined) => Promise<import("@tanstack/react-query").QueryObserverResult<InfiniteData<{
3585
3585
  requests?: {
3586
3586
  id?: string | undefined;
3587
- status?: "refund" | "waiting" | "failure" | "pending" | "success" | "delayed" | undefined;
3587
+ status?: "refund" | "waiting" | "failure" | "pending" | "success" | undefined;
3588
3588
  user?: string | undefined;
3589
3589
  recipient?: string | undefined;
3590
3590
  subsidizedRequest?: boolean | undefined;
@@ -3854,7 +3854,7 @@ export default function (options?: UserTransactionQuery | false, baseApiUrl?: st
3854
3854
  promise: Promise<InfiniteData<{
3855
3855
  requests?: {
3856
3856
  id?: string | undefined;
3857
- status?: "refund" | "waiting" | "failure" | "pending" | "success" | "delayed" | undefined;
3857
+ status?: "refund" | "waiting" | "failure" | "pending" | "success" | undefined;
3858
3858
  user?: string | undefined;
3859
3859
  recipient?: string | undefined;
3860
3860
  subsidizedRequest?: boolean | undefined;
@@ -4123,7 +4123,7 @@ export default function (options?: UserTransactionQuery | false, baseApiUrl?: st
4123
4123
  } | {
4124
4124
  data: {
4125
4125
  id?: string | undefined;
4126
- status?: "refund" | "waiting" | "failure" | "pending" | "success" | "delayed" | undefined;
4126
+ status?: "refund" | "waiting" | "failure" | "pending" | "success" | undefined;
4127
4127
  user?: string | undefined;
4128
4128
  recipient?: string | undefined;
4129
4129
  subsidizedRequest?: boolean | undefined;
@@ -4401,7 +4401,7 @@ export default function (options?: UserTransactionQuery | false, baseApiUrl?: st
4401
4401
  fetchNextPage: (options?: import("@tanstack/react-query").FetchNextPageOptions | undefined) => Promise<import("@tanstack/react-query").InfiniteQueryObserverResult<InfiniteData<{
4402
4402
  requests?: {
4403
4403
  id?: string | undefined;
4404
- status?: "refund" | "waiting" | "failure" | "pending" | "success" | "delayed" | undefined;
4404
+ status?: "refund" | "waiting" | "failure" | "pending" | "success" | undefined;
4405
4405
  user?: string | undefined;
4406
4406
  recipient?: string | undefined;
4407
4407
  subsidizedRequest?: boolean | undefined;
@@ -4670,7 +4670,7 @@ export default function (options?: UserTransactionQuery | false, baseApiUrl?: st
4670
4670
  fetchPreviousPage: (options?: import("@tanstack/react-query").FetchPreviousPageOptions | undefined) => Promise<import("@tanstack/react-query").InfiniteQueryObserverResult<InfiniteData<{
4671
4671
  requests?: {
4672
4672
  id?: string | undefined;
4673
- status?: "refund" | "waiting" | "failure" | "pending" | "success" | "delayed" | undefined;
4673
+ status?: "refund" | "waiting" | "failure" | "pending" | "success" | undefined;
4674
4674
  user?: string | undefined;
4675
4675
  recipient?: string | undefined;
4676
4676
  subsidizedRequest?: boolean | undefined;
@@ -4955,7 +4955,7 @@ export default function (options?: UserTransactionQuery | false, baseApiUrl?: st
4955
4955
  refetch: (options?: import("@tanstack/react-query").RefetchOptions | undefined) => Promise<import("@tanstack/react-query").QueryObserverResult<InfiniteData<{
4956
4956
  requests?: {
4957
4957
  id?: string | undefined;
4958
- status?: "refund" | "waiting" | "failure" | "pending" | "success" | "delayed" | undefined;
4958
+ status?: "refund" | "waiting" | "failure" | "pending" | "success" | undefined;
4959
4959
  user?: string | undefined;
4960
4960
  recipient?: string | undefined;
4961
4961
  subsidizedRequest?: boolean | undefined;
@@ -5225,7 +5225,7 @@ export default function (options?: UserTransactionQuery | false, baseApiUrl?: st
5225
5225
  promise: Promise<InfiniteData<{
5226
5226
  requests?: {
5227
5227
  id?: string | undefined;
5228
- status?: "refund" | "waiting" | "failure" | "pending" | "success" | "delayed" | undefined;
5228
+ status?: "refund" | "waiting" | "failure" | "pending" | "success" | undefined;
5229
5229
  user?: string | undefined;
5230
5230
  recipient?: string | undefined;
5231
5231
  subsidizedRequest?: boolean | undefined;
@@ -5494,7 +5494,7 @@ export default function (options?: UserTransactionQuery | false, baseApiUrl?: st
5494
5494
  } | {
5495
5495
  data: {
5496
5496
  id?: string | undefined;
5497
- status?: "refund" | "waiting" | "failure" | "pending" | "success" | "delayed" | undefined;
5497
+ status?: "refund" | "waiting" | "failure" | "pending" | "success" | undefined;
5498
5498
  user?: string | undefined;
5499
5499
  recipient?: string | undefined;
5500
5500
  subsidizedRequest?: boolean | undefined;
@@ -5771,7 +5771,7 @@ export default function (options?: UserTransactionQuery | false, baseApiUrl?: st
5771
5771
  fetchNextPage: (options?: import("@tanstack/react-query").FetchNextPageOptions | undefined) => Promise<import("@tanstack/react-query").InfiniteQueryObserverResult<InfiniteData<{
5772
5772
  requests?: {
5773
5773
  id?: string | undefined;
5774
- status?: "refund" | "waiting" | "failure" | "pending" | "success" | "delayed" | undefined;
5774
+ status?: "refund" | "waiting" | "failure" | "pending" | "success" | undefined;
5775
5775
  user?: string | undefined;
5776
5776
  recipient?: string | undefined;
5777
5777
  subsidizedRequest?: boolean | undefined;
@@ -6040,7 +6040,7 @@ export default function (options?: UserTransactionQuery | false, baseApiUrl?: st
6040
6040
  fetchPreviousPage: (options?: import("@tanstack/react-query").FetchPreviousPageOptions | undefined) => Promise<import("@tanstack/react-query").InfiniteQueryObserverResult<InfiniteData<{
6041
6041
  requests?: {
6042
6042
  id?: string | undefined;
6043
- status?: "refund" | "waiting" | "failure" | "pending" | "success" | "delayed" | undefined;
6043
+ status?: "refund" | "waiting" | "failure" | "pending" | "success" | undefined;
6044
6044
  user?: string | undefined;
6045
6045
  recipient?: string | undefined;
6046
6046
  subsidizedRequest?: boolean | undefined;
@@ -6326,7 +6326,7 @@ export default function (options?: UserTransactionQuery | false, baseApiUrl?: st
6326
6326
  refetch: (options?: import("@tanstack/react-query").RefetchOptions | undefined) => Promise<import("@tanstack/react-query").QueryObserverResult<InfiniteData<{
6327
6327
  requests?: {
6328
6328
  id?: string | undefined;
6329
- status?: "refund" | "waiting" | "failure" | "pending" | "success" | "delayed" | undefined;
6329
+ status?: "refund" | "waiting" | "failure" | "pending" | "success" | undefined;
6330
6330
  user?: string | undefined;
6331
6331
  recipient?: string | undefined;
6332
6332
  subsidizedRequest?: boolean | undefined;
@@ -6596,7 +6596,7 @@ export default function (options?: UserTransactionQuery | false, baseApiUrl?: st
6596
6596
  promise: Promise<InfiniteData<{
6597
6597
  requests?: {
6598
6598
  id?: string | undefined;
6599
- status?: "refund" | "waiting" | "failure" | "pending" | "success" | "delayed" | undefined;
6599
+ status?: "refund" | "waiting" | "failure" | "pending" | "success" | undefined;
6600
6600
  user?: string | undefined;
6601
6601
  recipient?: string | undefined;
6602
6602
  subsidizedRequest?: boolean | undefined;
@@ -6865,7 +6865,7 @@ export default function (options?: UserTransactionQuery | false, baseApiUrl?: st
6865
6865
  } | {
6866
6866
  data: {
6867
6867
  id?: string | undefined;
6868
- status?: "refund" | "waiting" | "failure" | "pending" | "success" | "delayed" | undefined;
6868
+ status?: "refund" | "waiting" | "failure" | "pending" | "success" | undefined;
6869
6869
  user?: string | undefined;
6870
6870
  recipient?: string | undefined;
6871
6871
  subsidizedRequest?: boolean | undefined;
@@ -7143,7 +7143,7 @@ export default function (options?: UserTransactionQuery | false, baseApiUrl?: st
7143
7143
  fetchNextPage: (options?: import("@tanstack/react-query").FetchNextPageOptions | undefined) => Promise<import("@tanstack/react-query").InfiniteQueryObserverResult<InfiniteData<{
7144
7144
  requests?: {
7145
7145
  id?: string | undefined;
7146
- status?: "refund" | "waiting" | "failure" | "pending" | "success" | "delayed" | undefined;
7146
+ status?: "refund" | "waiting" | "failure" | "pending" | "success" | undefined;
7147
7147
  user?: string | undefined;
7148
7148
  recipient?: string | undefined;
7149
7149
  subsidizedRequest?: boolean | undefined;
@@ -7412,7 +7412,7 @@ export default function (options?: UserTransactionQuery | false, baseApiUrl?: st
7412
7412
  fetchPreviousPage: (options?: import("@tanstack/react-query").FetchPreviousPageOptions | undefined) => Promise<import("@tanstack/react-query").InfiniteQueryObserverResult<InfiniteData<{
7413
7413
  requests?: {
7414
7414
  id?: string | undefined;
7415
- status?: "refund" | "waiting" | "failure" | "pending" | "success" | "delayed" | undefined;
7415
+ status?: "refund" | "waiting" | "failure" | "pending" | "success" | undefined;
7416
7416
  user?: string | undefined;
7417
7417
  recipient?: string | undefined;
7418
7418
  subsidizedRequest?: boolean | undefined;
@@ -7697,7 +7697,7 @@ export default function (options?: UserTransactionQuery | false, baseApiUrl?: st
7697
7697
  refetch: (options?: import("@tanstack/react-query").RefetchOptions | undefined) => Promise<import("@tanstack/react-query").QueryObserverResult<InfiniteData<{
7698
7698
  requests?: {
7699
7699
  id?: string | undefined;
7700
- status?: "refund" | "waiting" | "failure" | "pending" | "success" | "delayed" | undefined;
7700
+ status?: "refund" | "waiting" | "failure" | "pending" | "success" | undefined;
7701
7701
  user?: string | undefined;
7702
7702
  recipient?: string | undefined;
7703
7703
  subsidizedRequest?: boolean | undefined;
@@ -7967,7 +7967,7 @@ export default function (options?: UserTransactionQuery | false, baseApiUrl?: st
7967
7967
  promise: Promise<InfiniteData<{
7968
7968
  requests?: {
7969
7969
  id?: string | undefined;
7970
- status?: "refund" | "waiting" | "failure" | "pending" | "success" | "delayed" | undefined;
7970
+ status?: "refund" | "waiting" | "failure" | "pending" | "success" | undefined;
7971
7971
  user?: string | undefined;
7972
7972
  recipient?: string | undefined;
7973
7973
  subsidizedRequest?: boolean | undefined;