@circle-fin/user-controlled-wallets 10.5.1 → 10.5.5
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.
|
@@ -563,7 +563,7 @@ declare class HostUnreachableError extends HttpRequestError {
|
|
|
563
563
|
* @param error - The AxiosError to transform.
|
|
564
564
|
* @returns Specific HttpError instance based on error type and status.
|
|
565
565
|
*/
|
|
566
|
-
declare function fromAxiosError(error: AxiosError):
|
|
566
|
+
declare function fromAxiosError(error: AxiosError): HttpResponseError | HttpRequestError;
|
|
567
567
|
|
|
568
568
|
/**
|
|
569
569
|
* Circle API Error Classes
|
|
@@ -103,7 +103,7 @@ type SignMessageInput = {
|
|
|
103
103
|
/**
|
|
104
104
|
* The blockchain associated with the signing. Use together with `walletAddress` as an alternative to `walletId`.
|
|
105
105
|
*/
|
|
106
|
-
blockchain?:
|
|
106
|
+
blockchain?: Blockchain;
|
|
107
107
|
/**
|
|
108
108
|
* Indicator of whether the input message is encoded by hex. If TRUE, then the message should be a hex string. By default, it is False.
|
|
109
109
|
*/
|
|
@@ -135,7 +135,7 @@ type SignTransactionInput = {
|
|
|
135
135
|
/**
|
|
136
136
|
* The blockchain associated with the signing. Use together with `walletAddress` as an alternative to `walletId`.
|
|
137
137
|
*/
|
|
138
|
-
blockchain?:
|
|
138
|
+
blockchain?: Blockchain;
|
|
139
139
|
/**
|
|
140
140
|
* Raw transaction string that needs to be signed. Excluded with `transaction`. Required without `transaction`.
|
|
141
141
|
*
|
|
@@ -170,7 +170,7 @@ type SignTypedDataInput = {
|
|
|
170
170
|
/**
|
|
171
171
|
* The blockchain associated with the signing. Use together with `walletAddress` as an alternative to `walletId`.
|
|
172
172
|
*/
|
|
173
|
-
blockchain?:
|
|
173
|
+
blockchain?: Blockchain;
|
|
174
174
|
/**
|
|
175
175
|
* A string represents the typed structured data in EIP-712.
|
|
176
176
|
*/
|