@dynamic-labs/sdk-api-core 0.7.0 → 0.9.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 +7 -6
- package/src/apis/SDKApi.cjs.map +1 -1
- package/src/apis/SDKApi.d.ts +6 -6
- package/src/apis/SDKApi.js +7 -6
- package/src/apis/SDKApi.js.map +1 -1
- package/src/models/SponsorSVMTransactionRequest.cjs +4 -12
- package/src/models/SponsorSVMTransactionRequest.cjs.map +1 -1
- package/src/models/SponsorSVMTransactionRequest.d.ts +6 -0
- package/src/models/SponsorSVMTransactionRequest.js +4 -12
- package/src/models/SponsorSVMTransactionRequest.js.map +1 -1
- package/src/models/UnprocessableEntityErrorCode.cjs +2 -0
- package/src/models/UnprocessableEntityErrorCode.cjs.map +1 -1
- package/src/models/UnprocessableEntityErrorCode.d.ts +3 -1
- package/src/models/UnprocessableEntityErrorCode.js +2 -0
- package/src/models/UnprocessableEntityErrorCode.js.map +1 -1
package/package.json
CHANGED
package/src/apis/SDKApi.cjs
CHANGED
|
@@ -11862,7 +11862,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
11862
11862
|
await this.walletsVerifyOptionsRaw(requestParameters, initOverrides);
|
|
11863
11863
|
}
|
|
11864
11864
|
/**
|
|
11865
|
-
*
|
|
11865
|
+
* Builds an unsigned Merkl Distributor claim signing payload for the reward token(s) earned through this vault. Responds 422 when there is nothing to claim right now — no reward campaign for this vault, or every attributable token is already fully claimed.
|
|
11866
11866
|
* Build a vault reward-claim signing payload
|
|
11867
11867
|
*/
|
|
11868
11868
|
async yieldVaultClaimRaw(requestParameters, initOverrides) {
|
|
@@ -11885,14 +11885,15 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
11885
11885
|
query: queryParameters,
|
|
11886
11886
|
body: YieldVaultClaimRequest.YieldVaultClaimRequestToJSON(requestParameters.yieldVaultClaimRequest),
|
|
11887
11887
|
}, initOverrides);
|
|
11888
|
-
return new runtime.
|
|
11888
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => YieldVaultActionResponse.YieldVaultActionResponseFromJSON(jsonValue));
|
|
11889
11889
|
}
|
|
11890
11890
|
/**
|
|
11891
|
-
*
|
|
11891
|
+
* Builds an unsigned Merkl Distributor claim signing payload for the reward token(s) earned through this vault. Responds 422 when there is nothing to claim right now — no reward campaign for this vault, or every attributable token is already fully claimed.
|
|
11892
11892
|
* Build a vault reward-claim signing payload
|
|
11893
11893
|
*/
|
|
11894
11894
|
async yieldVaultClaim(requestParameters, initOverrides) {
|
|
11895
|
-
await this.yieldVaultClaimRaw(requestParameters, initOverrides);
|
|
11895
|
+
const response = await this.yieldVaultClaimRaw(requestParameters, initOverrides);
|
|
11896
|
+
return await response.value();
|
|
11896
11897
|
}
|
|
11897
11898
|
/**
|
|
11898
11899
|
* Options call for this endpoint
|
|
@@ -12059,7 +12060,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
12059
12060
|
await this.yieldVaultRewardsOptionsRaw(requestParameters, initOverrides);
|
|
12060
12061
|
}
|
|
12061
12062
|
/**
|
|
12062
|
-
* Builds an unsigned
|
|
12063
|
+
* Builds an unsigned withdraw signing payload for the given vault and wallet address. Withdrawals redeem shares the owner already holds, so no approval step is needed and the response never includes one.
|
|
12063
12064
|
* Build a vault withdraw signing payload
|
|
12064
12065
|
*/
|
|
12065
12066
|
async yieldVaultWithdrawRaw(requestParameters, initOverrides) {
|
|
@@ -12085,7 +12086,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
12085
12086
|
return new runtime.JSONApiResponse(response, (jsonValue) => YieldVaultActionResponse.YieldVaultActionResponseFromJSON(jsonValue));
|
|
12086
12087
|
}
|
|
12087
12088
|
/**
|
|
12088
|
-
* Builds an unsigned
|
|
12089
|
+
* Builds an unsigned withdraw signing payload for the given vault and wallet address. Withdrawals redeem shares the owner already holds, so no approval step is needed and the response never includes one.
|
|
12089
12090
|
* Build a vault withdraw signing payload
|
|
12090
12091
|
*/
|
|
12091
12092
|
async yieldVaultWithdraw(requestParameters, initOverrides) {
|