@dynamic-labs/sdk-api 0.104.0 → 0.106.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/sdk-api",
3
- "version": "0.104.0",
3
+ "version": "0.106.0",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -6065,7 +6065,7 @@ class SDKApi extends runtime.BaseAPI {
6065
6065
  return await response.value();
6066
6066
  }
6067
6067
  /**
6068
- * Returns on-chain share balance and current asset value for the given wallet address in the specified vault. Reads live from chain via viem.
6068
+ * Returns on-chain share balance and current asset value for the given wallet address in the specified vault. Reads live from chain.
6069
6069
  * Get user position in vault
6070
6070
  */
6071
6071
  async getYieldVaultPositionRaw(requestParameters, initOverrides) {
@@ -6092,7 +6092,7 @@ class SDKApi extends runtime.BaseAPI {
6092
6092
  return new runtime.JSONApiResponse(response, (jsonValue) => YieldVaultPosition.YieldVaultPositionFromJSON(jsonValue));
6093
6093
  }
6094
6094
  /**
6095
- * Returns on-chain share balance and current asset value for the given wallet address in the specified vault. Reads live from chain via viem.
6095
+ * Returns on-chain share balance and current asset value for the given wallet address in the specified vault. Reads live from chain.
6096
6096
  * Get user position in vault
6097
6097
  */
6098
6098
  async getYieldVaultPosition(requestParameters, initOverrides) {
@@ -13455,7 +13455,7 @@ class SDKApi extends runtime.BaseAPI {
13455
13455
  await this.yieldVaultClaimOptionsRaw(requestParameters, initOverrides);
13456
13456
  }
13457
13457
  /**
13458
- * Builds an unsigned deposit signing payload for the given vault and wallet address. When the payload includes an approval step, the SDK signs and sends it before the main transaction.
13458
+ * Builds an unsigned deposit signing payload for the given vault and wallet address. The SDK signs and sends the payload\'s steps in order: any approval first, then the deposit.
13459
13459
  * Build a vault deposit signing payload
13460
13460
  */
13461
13461
  async yieldVaultDepositRaw(requestParameters, initOverrides) {
@@ -13481,7 +13481,7 @@ class SDKApi extends runtime.BaseAPI {
13481
13481
  return new runtime.JSONApiResponse(response, (jsonValue) => YieldVaultActionResponse.YieldVaultActionResponseFromJSON(jsonValue));
13482
13482
  }
13483
13483
  /**
13484
- * Builds an unsigned deposit signing payload for the given vault and wallet address. When the payload includes an approval step, the SDK signs and sends it before the main transaction.
13484
+ * Builds an unsigned deposit signing payload for the given vault and wallet address. The SDK signs and sends the payload\'s steps in order: any approval first, then the deposit.
13485
13485
  * Build a vault deposit signing payload
13486
13486
  */
13487
13487
  async yieldVaultDeposit(requestParameters, initOverrides) {
@@ -3414,12 +3414,12 @@ export declare class SDKApi extends runtime.BaseAPI {
3414
3414
  */
3415
3415
  getYieldVaultDetails(requestParameters: GetYieldVaultDetailsRequest, initOverrides?: RequestInit): Promise<YieldVaultDetails>;
3416
3416
  /**
3417
- * Returns on-chain share balance and current asset value for the given wallet address in the specified vault. Reads live from chain via viem.
3417
+ * Returns on-chain share balance and current asset value for the given wallet address in the specified vault. Reads live from chain.
3418
3418
  * Get user position in vault
3419
3419
  */
3420
3420
  getYieldVaultPositionRaw(requestParameters: GetYieldVaultPositionRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<YieldVaultPosition>>;
3421
3421
  /**
3422
- * Returns on-chain share balance and current asset value for the given wallet address in the specified vault. Reads live from chain via viem.
3422
+ * Returns on-chain share balance and current asset value for the given wallet address in the specified vault. Reads live from chain.
3423
3423
  * Get user position in vault
3424
3424
  */
3425
3425
  getYieldVaultPosition(requestParameters: GetYieldVaultPositionRequest, initOverrides?: RequestInit): Promise<YieldVaultPosition>;
@@ -5598,12 +5598,12 @@ export declare class SDKApi extends runtime.BaseAPI {
5598
5598
  */
5599
5599
  yieldVaultClaimOptions(requestParameters: YieldVaultClaimOptionsRequest, initOverrides?: RequestInit): Promise<void>;
5600
5600
  /**
5601
- * Builds an unsigned deposit signing payload for the given vault and wallet address. When the payload includes an approval step, the SDK signs and sends it before the main transaction.
5601
+ * Builds an unsigned deposit signing payload for the given vault and wallet address. The SDK signs and sends the payload\'s steps in order: any approval first, then the deposit.
5602
5602
  * Build a vault deposit signing payload
5603
5603
  */
5604
5604
  yieldVaultDepositRaw(requestParameters: YieldVaultDepositRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<YieldVaultActionResponse>>;
5605
5605
  /**
5606
- * Builds an unsigned deposit signing payload for the given vault and wallet address. When the payload includes an approval step, the SDK signs and sends it before the main transaction.
5606
+ * Builds an unsigned deposit signing payload for the given vault and wallet address. The SDK signs and sends the payload\'s steps in order: any approval first, then the deposit.
5607
5607
  * Build a vault deposit signing payload
5608
5608
  */
5609
5609
  yieldVaultDeposit(requestParameters: YieldVaultDepositRequest, initOverrides?: RequestInit): Promise<YieldVaultActionResponse>;
@@ -6061,7 +6061,7 @@ class SDKApi extends BaseAPI {
6061
6061
  return await response.value();
6062
6062
  }
6063
6063
  /**
6064
- * Returns on-chain share balance and current asset value for the given wallet address in the specified vault. Reads live from chain via viem.
6064
+ * Returns on-chain share balance and current asset value for the given wallet address in the specified vault. Reads live from chain.
6065
6065
  * Get user position in vault
6066
6066
  */
6067
6067
  async getYieldVaultPositionRaw(requestParameters, initOverrides) {
@@ -6088,7 +6088,7 @@ class SDKApi extends BaseAPI {
6088
6088
  return new JSONApiResponse(response, (jsonValue) => YieldVaultPositionFromJSON(jsonValue));
6089
6089
  }
6090
6090
  /**
6091
- * Returns on-chain share balance and current asset value for the given wallet address in the specified vault. Reads live from chain via viem.
6091
+ * Returns on-chain share balance and current asset value for the given wallet address in the specified vault. Reads live from chain.
6092
6092
  * Get user position in vault
6093
6093
  */
6094
6094
  async getYieldVaultPosition(requestParameters, initOverrides) {
@@ -13451,7 +13451,7 @@ class SDKApi extends BaseAPI {
13451
13451
  await this.yieldVaultClaimOptionsRaw(requestParameters, initOverrides);
13452
13452
  }
13453
13453
  /**
13454
- * Builds an unsigned deposit signing payload for the given vault and wallet address. When the payload includes an approval step, the SDK signs and sends it before the main transaction.
13454
+ * Builds an unsigned deposit signing payload for the given vault and wallet address. The SDK signs and sends the payload\'s steps in order: any approval first, then the deposit.
13455
13455
  * Build a vault deposit signing payload
13456
13456
  */
13457
13457
  async yieldVaultDepositRaw(requestParameters, initOverrides) {
@@ -13477,7 +13477,7 @@ class SDKApi extends BaseAPI {
13477
13477
  return new JSONApiResponse(response, (jsonValue) => YieldVaultActionResponseFromJSON(jsonValue));
13478
13478
  }
13479
13479
  /**
13480
- * Builds an unsigned deposit signing payload for the given vault and wallet address. When the payload includes an approval step, the SDK signs and sends it before the main transaction.
13480
+ * Builds an unsigned deposit signing payload for the given vault and wallet address. The SDK signs and sends the payload\'s steps in order: any approval first, then the deposit.
13481
13481
  * Build a vault deposit signing payload
13482
13482
  */
13483
13483
  async yieldVaultDeposit(requestParameters, initOverrides) {
@@ -159,6 +159,7 @@ exports.UnprocessableEntityErrorCode = void 0;
159
159
  UnprocessableEntityErrorCode["BroadcastRequiresResign"] = "broadcast_requires_resign";
160
160
  UnprocessableEntityErrorCode["BroadcastOutcomeUnknown"] = "broadcast_outcome_unknown";
161
161
  UnprocessableEntityErrorCode["BroadcastRateLimited"] = "broadcast_rate_limited";
162
+ UnprocessableEntityErrorCode["BroadcastUnavailable"] = "broadcast_unavailable";
162
163
  UnprocessableEntityErrorCode["BroadcastIdempotencyConflict"] = "broadcast_idempotency_conflict";
163
164
  UnprocessableEntityErrorCode["BroadcastWalletIneligible"] = "broadcast_wallet_ineligible";
164
165
  UnprocessableEntityErrorCode["BroadcastNotSubmitted"] = "broadcast_not_submitted";
@@ -152,6 +152,7 @@ export declare enum UnprocessableEntityErrorCode {
152
152
  BroadcastRequiresResign = "broadcast_requires_resign",
153
153
  BroadcastOutcomeUnknown = "broadcast_outcome_unknown",
154
154
  BroadcastRateLimited = "broadcast_rate_limited",
155
+ BroadcastUnavailable = "broadcast_unavailable",
155
156
  BroadcastIdempotencyConflict = "broadcast_idempotency_conflict",
156
157
  BroadcastWalletIneligible = "broadcast_wallet_ineligible",
157
158
  BroadcastNotSubmitted = "broadcast_not_submitted",
@@ -155,6 +155,7 @@ var UnprocessableEntityErrorCode;
155
155
  UnprocessableEntityErrorCode["BroadcastRequiresResign"] = "broadcast_requires_resign";
156
156
  UnprocessableEntityErrorCode["BroadcastOutcomeUnknown"] = "broadcast_outcome_unknown";
157
157
  UnprocessableEntityErrorCode["BroadcastRateLimited"] = "broadcast_rate_limited";
158
+ UnprocessableEntityErrorCode["BroadcastUnavailable"] = "broadcast_unavailable";
158
159
  UnprocessableEntityErrorCode["BroadcastIdempotencyConflict"] = "broadcast_idempotency_conflict";
159
160
  UnprocessableEntityErrorCode["BroadcastWalletIneligible"] = "broadcast_wallet_ineligible";
160
161
  UnprocessableEntityErrorCode["BroadcastNotSubmitted"] = "broadcast_not_submitted";