timelock-sdk 0.0.63 → 0.0.64
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.cjs +1 -1
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +20 -20
- package/dist/client.d.ts +136 -136
- package/dist/client.js +1 -1
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
package/dist/client.d.cts
CHANGED
|
@@ -5,7 +5,7 @@ import { Address } from "viem";
|
|
|
5
5
|
import React, { ReactNode } from "react";
|
|
6
6
|
import "graphql";
|
|
7
7
|
import { GraphQLClient, RequestOptions } from "graphql-request";
|
|
8
|
-
import * as
|
|
8
|
+
import * as _wagmi_core1 from "@wagmi/core";
|
|
9
9
|
import * as _tanstack_query_core0 from "@tanstack/query-core";
|
|
10
10
|
import * as _tanstack_react_query0 from "@tanstack/react-query";
|
|
11
11
|
import { NonUndefinedGuard } from "@tanstack/react-query";
|
|
@@ -2768,7 +2768,7 @@ declare const useExerciseOption: (marketAddr?: Address) => {
|
|
|
2768
2768
|
isPending: boolean;
|
|
2769
2769
|
isConfirming: boolean;
|
|
2770
2770
|
isSuccess: boolean;
|
|
2771
|
-
error:
|
|
2771
|
+
error: _wagmi_core1.WriteContractErrorType | null;
|
|
2772
2772
|
isLoading: boolean;
|
|
2773
2773
|
};
|
|
2774
2774
|
//#endregion
|
|
@@ -2807,10 +2807,10 @@ declare const useMintOption: (marketAddr?: Address) => {
|
|
|
2807
2807
|
isPending: boolean;
|
|
2808
2808
|
isConfirming: boolean;
|
|
2809
2809
|
isSuccess: boolean;
|
|
2810
|
-
error: wagmi0.ConnectorAccountNotFoundErrorType | wagmi0.ConnectorChainMismatchErrorType |
|
|
2810
|
+
error: wagmi0.ConnectorAccountNotFoundErrorType | wagmi0.ConnectorChainMismatchErrorType | _wagmi_core1.ConnectorNotConnectedErrorType | wagmi0.ConnectorUnavailableReconnectingErrorType | viem249.BaseErrorType | node_modules__wagmi_core_dist_types_errors_base0.ErrorType | node_modules__wagmi_core_dist_types_errors_base0.BaseErrorType | viem249.AbiFunctionNotFoundErrorType | viem249.AbiEncodingLengthMismatchErrorType | viem249.InvalidAddressErrorType | viem249.AbiEncodingArrayLengthMismatchErrorType | viem249.IntegerOutOfRangeErrorType | viem249.SizeExceedsPaddingSizeErrorType | viem249.InvalidArrayErrorType | viem249.AbiEncodingBytesSizeMismatchErrorType | viem249.SizeOverflowErrorType | viem249.SliceOffsetOutOfBoundsErrorType | viem249.InvalidAbiEncodingTypeErrorType | viem249.InvalidDefinitionTypeErrorType | node_modules_viem__types_errors_abi0.AbiItemAmbiguityErrorType | node_modules_viem__types_errors_account0.AccountNotFoundErrorType | viem249.GetContractErrorReturnType<viem249.SendTransactionErrorType> | null;
|
|
2811
2811
|
isLoading: boolean;
|
|
2812
2812
|
isApprovalPending: boolean;
|
|
2813
|
-
approvalError:
|
|
2813
|
+
approvalError: _wagmi_core1.WriteContractErrorType | null;
|
|
2814
2814
|
resetApproval: () => void;
|
|
2815
2815
|
};
|
|
2816
2816
|
//#endregion
|
|
@@ -2838,16 +2838,16 @@ declare const useExtendOption: (marketAddr?: Address) => {
|
|
|
2838
2838
|
isPending: boolean;
|
|
2839
2839
|
isConfirming: boolean;
|
|
2840
2840
|
isSuccess: boolean;
|
|
2841
|
-
error: wagmi0.ConnectorAccountNotFoundErrorType | wagmi0.ConnectorChainMismatchErrorType |
|
|
2841
|
+
error: wagmi0.ConnectorAccountNotFoundErrorType | wagmi0.ConnectorChainMismatchErrorType | _wagmi_core1.ConnectorNotConnectedErrorType | wagmi0.ConnectorUnavailableReconnectingErrorType | viem249.BaseErrorType | node_modules__wagmi_core_dist_types_errors_base0.ErrorType | node_modules__wagmi_core_dist_types_errors_base0.BaseErrorType | viem249.AbiFunctionNotFoundErrorType | viem249.AbiEncodingLengthMismatchErrorType | viem249.InvalidAddressErrorType | viem249.AbiEncodingArrayLengthMismatchErrorType | viem249.IntegerOutOfRangeErrorType | viem249.SizeExceedsPaddingSizeErrorType | viem249.InvalidArrayErrorType | viem249.AbiEncodingBytesSizeMismatchErrorType | viem249.SizeOverflowErrorType | viem249.SliceOffsetOutOfBoundsErrorType | viem249.InvalidAbiEncodingTypeErrorType | viem249.InvalidDefinitionTypeErrorType | node_modules_viem__types_errors_abi0.AbiItemAmbiguityErrorType | node_modules_viem__types_errors_account0.AccountNotFoundErrorType | viem249.GetContractErrorReturnType<viem249.SendTransactionErrorType> | null;
|
|
2842
2842
|
isLoading: boolean;
|
|
2843
2843
|
isApprovalPending: boolean;
|
|
2844
|
-
approvalError:
|
|
2844
|
+
approvalError: _wagmi_core1.WriteContractErrorType | null;
|
|
2845
2845
|
resetApproval: () => void;
|
|
2846
2846
|
};
|
|
2847
2847
|
//#endregion
|
|
2848
2848
|
//#region src/hooks/market/useUserOperators.d.ts
|
|
2849
2849
|
declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
2850
|
-
data:
|
|
2850
|
+
data: {
|
|
2851
2851
|
spendingApproval: bigint;
|
|
2852
2852
|
operatorAddr: string;
|
|
2853
2853
|
__typename: "UserMarketOperator";
|
|
@@ -2860,7 +2860,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
2860
2860
|
__typename: "MarketOperator";
|
|
2861
2861
|
address: string;
|
|
2862
2862
|
} | null;
|
|
2863
|
-
}[]
|
|
2863
|
+
}[];
|
|
2864
2864
|
error: Error;
|
|
2865
2865
|
isError: true;
|
|
2866
2866
|
isPending: false;
|
|
@@ -2913,7 +2913,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
2913
2913
|
} | null;
|
|
2914
2914
|
}[] | undefined>;
|
|
2915
2915
|
} | {
|
|
2916
|
-
data:
|
|
2916
|
+
data: {
|
|
2917
2917
|
spendingApproval: bigint;
|
|
2918
2918
|
operatorAddr: string;
|
|
2919
2919
|
__typename: "UserMarketOperator";
|
|
@@ -2926,7 +2926,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
2926
2926
|
__typename: "MarketOperator";
|
|
2927
2927
|
address: string;
|
|
2928
2928
|
} | null;
|
|
2929
|
-
}[]
|
|
2929
|
+
}[];
|
|
2930
2930
|
error: null;
|
|
2931
2931
|
isError: false;
|
|
2932
2932
|
isPending: false;
|
|
@@ -2979,7 +2979,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
2979
2979
|
} | null;
|
|
2980
2980
|
}[] | undefined>;
|
|
2981
2981
|
} | {
|
|
2982
|
-
data:
|
|
2982
|
+
data: {
|
|
2983
2983
|
spendingApproval: bigint;
|
|
2984
2984
|
operatorAddr: string;
|
|
2985
2985
|
__typename: "UserMarketOperator";
|
|
@@ -2992,7 +2992,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
2992
2992
|
__typename: "MarketOperator";
|
|
2993
2993
|
address: string;
|
|
2994
2994
|
} | null;
|
|
2995
|
-
}[]
|
|
2995
|
+
}[];
|
|
2996
2996
|
error: Error;
|
|
2997
2997
|
isError: true;
|
|
2998
2998
|
isPending: false;
|
|
@@ -3045,7 +3045,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3045
3045
|
} | null;
|
|
3046
3046
|
}[] | undefined>;
|
|
3047
3047
|
} | {
|
|
3048
|
-
data:
|
|
3048
|
+
data: {
|
|
3049
3049
|
spendingApproval: bigint;
|
|
3050
3050
|
operatorAddr: string;
|
|
3051
3051
|
__typename: "UserMarketOperator";
|
|
@@ -3058,7 +3058,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3058
3058
|
__typename: "MarketOperator";
|
|
3059
3059
|
address: string;
|
|
3060
3060
|
} | null;
|
|
3061
|
-
}[]
|
|
3061
|
+
}[];
|
|
3062
3062
|
error: null;
|
|
3063
3063
|
isError: false;
|
|
3064
3064
|
isPending: true;
|
|
@@ -3111,7 +3111,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3111
3111
|
} | null;
|
|
3112
3112
|
}[] | undefined>;
|
|
3113
3113
|
} | {
|
|
3114
|
-
data:
|
|
3114
|
+
data: {
|
|
3115
3115
|
spendingApproval: bigint;
|
|
3116
3116
|
operatorAddr: string;
|
|
3117
3117
|
__typename: "UserMarketOperator";
|
|
@@ -3124,7 +3124,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3124
3124
|
__typename: "MarketOperator";
|
|
3125
3125
|
address: string;
|
|
3126
3126
|
} | null;
|
|
3127
|
-
}[]
|
|
3127
|
+
}[];
|
|
3128
3128
|
error: null;
|
|
3129
3129
|
isError: false;
|
|
3130
3130
|
isPending: true;
|
|
@@ -3177,7 +3177,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3177
3177
|
} | null;
|
|
3178
3178
|
}[] | undefined>;
|
|
3179
3179
|
} | {
|
|
3180
|
-
data:
|
|
3180
|
+
data: {
|
|
3181
3181
|
spendingApproval: bigint;
|
|
3182
3182
|
operatorAddr: string;
|
|
3183
3183
|
__typename: "UserMarketOperator";
|
|
@@ -3190,7 +3190,7 @@ declare const useUserOperators: (userAddr?: Address, marketAddr?: Address) => {
|
|
|
3190
3190
|
__typename: "MarketOperator";
|
|
3191
3191
|
address: string;
|
|
3192
3192
|
} | null;
|
|
3193
|
-
}[]
|
|
3193
|
+
}[];
|
|
3194
3194
|
isError: false;
|
|
3195
3195
|
error: null;
|
|
3196
3196
|
isPending: false;
|
|
@@ -3301,7 +3301,7 @@ declare const useBurnLiquidity: (vaultAddr?: Address) => {
|
|
|
3301
3301
|
isPending: boolean;
|
|
3302
3302
|
isConfirming: boolean;
|
|
3303
3303
|
isSuccess: boolean;
|
|
3304
|
-
error:
|
|
3304
|
+
error: _wagmi_core1.WriteContractErrorType | null;
|
|
3305
3305
|
isLoading: boolean;
|
|
3306
3306
|
};
|
|
3307
3307
|
//#endregion
|
|
@@ -3676,7 +3676,7 @@ declare const useMintLiquidity: (vaultAddr?: Address) => {
|
|
|
3676
3676
|
isPending: boolean;
|
|
3677
3677
|
isConfirming: boolean;
|
|
3678
3678
|
isSuccess: boolean;
|
|
3679
|
-
error:
|
|
3679
|
+
error: _wagmi_core1.WriteContractErrorType | null;
|
|
3680
3680
|
isLoading: boolean;
|
|
3681
3681
|
};
|
|
3682
3682
|
//#endregion
|