@dynamic-labs/sdk-api-core 0.10.0 → 0.12.0
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/package.json +1 -1
- package/src/apis/SDKApi.cjs +5 -2
- package/src/apis/SDKApi.cjs.map +1 -1
- package/src/apis/SDKApi.d.ts +3 -2
- package/src/apis/SDKApi.js +5 -2
- package/src/apis/SDKApi.js.map +1 -1
- package/src/models/Provider.cjs +2 -0
- package/src/models/Provider.cjs.map +1 -1
- package/src/models/Provider.d.ts +6 -0
- package/src/models/Provider.js +2 -0
- package/src/models/Provider.js.map +1 -1
package/package.json
CHANGED
package/src/apis/SDKApi.cjs
CHANGED
|
@@ -3910,7 +3910,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
3910
3910
|
await this.getCurrencyExchangeRatesOptionsRaw(requestParameters, initOverrides);
|
|
3911
3911
|
}
|
|
3912
3912
|
/**
|
|
3913
|
-
* Returns the current status of a previously sponsored EVM transaction
|
|
3913
|
+
* Returns the current status of a previously sponsored EVM transaction from the stored record, which is kept in sync with the relay provider. Pass `wait` to hold the response open until the transaction resolves.
|
|
3914
3914
|
* Get the status of a sponsored EVM transaction
|
|
3915
3915
|
*/
|
|
3916
3916
|
async getEVMSponsoredTransactionStatusRaw(requestParameters, initOverrides) {
|
|
@@ -3921,6 +3921,9 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
3921
3921
|
throw new runtime.RequiredError('requestId', 'Required parameter requestParameters.requestId was null or undefined when calling getEVMSponsoredTransactionStatus.');
|
|
3922
3922
|
}
|
|
3923
3923
|
const queryParameters = {};
|
|
3924
|
+
if (requestParameters.wait !== undefined) {
|
|
3925
|
+
queryParameters['wait'] = requestParameters.wait;
|
|
3926
|
+
}
|
|
3924
3927
|
const headerParameters = {};
|
|
3925
3928
|
const response = await this.request({
|
|
3926
3929
|
path: `/sdk/{environmentId}/evm/sponsorTransaction/{requestId}`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"requestId"}}`, encodeURIComponent(String(requestParameters.requestId))),
|
|
@@ -3931,7 +3934,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
3931
3934
|
return new runtime.JSONApiResponse(response, (jsonValue) => GetEVMSponsoredTransactionStatusResponse.GetEVMSponsoredTransactionStatusResponseFromJSON(jsonValue));
|
|
3932
3935
|
}
|
|
3933
3936
|
/**
|
|
3934
|
-
* Returns the current status of a previously sponsored EVM transaction
|
|
3937
|
+
* Returns the current status of a previously sponsored EVM transaction from the stored record, which is kept in sync with the relay provider. Pass `wait` to hold the response open until the transaction resolves.
|
|
3935
3938
|
* Get the status of a sponsored EVM transaction
|
|
3936
3939
|
*/
|
|
3937
3940
|
async getEVMSponsoredTransactionStatus(requestParameters, initOverrides) {
|