@dynamic-labs/sdk-api-core 0.149.0 → 0.150.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-core",
3
- "version": "0.149.0",
3
+ "version": "0.150.0",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -325,7 +325,6 @@ var VerifyResponse = require('../models/VerifyResponse.cjs');
325
325
  var VerifyUnlinkRequest = require('../models/VerifyUnlinkRequest.cjs');
326
326
  require('../models/WaasBroadcastStatus.cjs');
327
327
  var WaasConfidentialSeedCreateRequest = require('../models/WaasConfidentialSeedCreateRequest.cjs');
328
- var WaasConfidentialSeedPutRequest = require('../models/WaasConfidentialSeedPutRequest.cjs');
329
328
  var WaasConfidentialSeedResponse = require('../models/WaasConfidentialSeedResponse.cjs');
330
329
  require('../models/WaasConfidentialTransferOperation.cjs');
331
330
  require('../models/WaasDelegatedAccessEncryptionPublicKeyType.cjs');
@@ -7994,47 +7993,6 @@ class SDKApi extends runtime.BaseAPI {
7994
7993
  async publishEvent(requestParameters, initOverrides) {
7995
7994
  await this.publishEventRaw(requestParameters, initOverrides);
7996
7995
  }
7997
- /**
7998
- * Stores an Evervault-sealed Token-2022 confidential-transfer seed for the wallet via client-keyshare-service. Insert-only per (wallet, address, derivation version) — a repeat write returns 409. The sealed seed is opaque to redcoast.
7999
- * Store a Solana confidential-transfer seed
8000
- */
8001
- async putWaasConfidentialSeedRaw(requestParameters, initOverrides) {
8002
- if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
8003
- throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling putWaasConfidentialSeed.');
8004
- }
8005
- if (requestParameters.walletId === null || requestParameters.walletId === undefined) {
8006
- throw new runtime.RequiredError('walletId', 'Required parameter requestParameters.walletId was null or undefined when calling putWaasConfidentialSeed.');
8007
- }
8008
- if (requestParameters.waasConfidentialSeedPutRequest === null || requestParameters.waasConfidentialSeedPutRequest === undefined) {
8009
- throw new runtime.RequiredError('waasConfidentialSeedPutRequest', 'Required parameter requestParameters.waasConfidentialSeedPutRequest was null or undefined when calling putWaasConfidentialSeed.');
8010
- }
8011
- const queryParameters = {};
8012
- const headerParameters = {};
8013
- headerParameters['Content-Type'] = 'application/json';
8014
- if (this.configuration && this.configuration.accessToken) {
8015
- const token = this.configuration.accessToken;
8016
- const tokenString = await token("bearerAuth", []);
8017
- if (tokenString) {
8018
- headerParameters["Authorization"] = `Bearer ${tokenString}`;
8019
- }
8020
- }
8021
- const response = await this.request({
8022
- path: `/sdk/{environmentId}/waas/{walletId}/confidentialSeed`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))),
8023
- method: 'PUT',
8024
- headers: headerParameters,
8025
- query: queryParameters,
8026
- body: WaasConfidentialSeedPutRequest.WaasConfidentialSeedPutRequestToJSON(requestParameters.waasConfidentialSeedPutRequest),
8027
- }, initOverrides);
8028
- return new runtime.JSONApiResponse(response, (jsonValue) => WaasConfidentialSeedResponse.WaasConfidentialSeedResponseFromJSON(jsonValue));
8029
- }
8030
- /**
8031
- * Stores an Evervault-sealed Token-2022 confidential-transfer seed for the wallet via client-keyshare-service. Insert-only per (wallet, address, derivation version) — a repeat write returns 409. The sealed seed is opaque to redcoast.
8032
- * Store a Solana confidential-transfer seed
8033
- */
8034
- async putWaasConfidentialSeed(requestParameters, initOverrides) {
8035
- const response = await this.putWaasConfidentialSeedRaw(requestParameters, initOverrides);
8036
- return await response.value();
8037
- }
8038
7996
  /**
8039
7997
  * Deprecated: use POST /sdk/{environmentId}/flow/{flowId}/quote instead. Fetches a swap quote and stores a snapshot on the transaction.
8040
7998
  * Get a quote for a checkout transaction
@@ -11618,7 +11576,7 @@ class SDKApi extends runtime.BaseAPI {
11618
11576
  await this.signMessageOptionsRaw(requestParameters, initOverrides);
11619
11577
  }
11620
11578
  /**
11621
- * Second half of the confidential-transfer flow. Provisions one MPC signing room per transaction and hands the enclave-built transactions and their `transactionsTag` to the enclave\'s `SignConfidentialTransactions` action, which verifies the tag — rejecting tampered, reordered, extra or expired transactions — and joins each room to co-sign. MFA step-up is enforced once for the whole operation, not per transaction. The response returns immediately with the room ids; join each room with the wallet\'s client share to complete the threshold signature for each transaction.
11579
+ * Second half of the confidential-transfer flow. Provisions one MPC signing room for the operation (Solana v1 packs it into a single transaction) and hands the enclave-built transaction and its `transactionsTag` to the enclave\'s `SignConfidentialTransactions` action, which verifies the tag — rejecting tampered, extra or expired transactions — and joins the room to co-sign. MFA step-up is enforced once for the whole operation. The response returns immediately with the room id; join it with the wallet\'s client share to complete the threshold signature.
11622
11580
  * Co-sign enclave-built confidential-transfer transactions
11623
11581
  */
11624
11582
  async signWaasConfidentialTransactionsRaw(requestParameters, initOverrides) {
@@ -11651,7 +11609,7 @@ class SDKApi extends runtime.BaseAPI {
11651
11609
  return new runtime.JSONApiResponse(response, (jsonValue) => WaasSignConfidentialTransactionsResponse.WaasSignConfidentialTransactionsResponseFromJSON(jsonValue));
11652
11610
  }
11653
11611
  /**
11654
- * Second half of the confidential-transfer flow. Provisions one MPC signing room per transaction and hands the enclave-built transactions and their `transactionsTag` to the enclave\'s `SignConfidentialTransactions` action, which verifies the tag — rejecting tampered, reordered, extra or expired transactions — and joins each room to co-sign. MFA step-up is enforced once for the whole operation, not per transaction. The response returns immediately with the room ids; join each room with the wallet\'s client share to complete the threshold signature for each transaction.
11612
+ * Second half of the confidential-transfer flow. Provisions one MPC signing room for the operation (Solana v1 packs it into a single transaction) and hands the enclave-built transaction and its `transactionsTag` to the enclave\'s `SignConfidentialTransactions` action, which verifies the tag — rejecting tampered, extra or expired transactions — and joins the room to co-sign. MFA step-up is enforced once for the whole operation. The response returns immediately with the room id; join it with the wallet\'s client share to complete the threshold signature.
11655
11613
  * Co-sign enclave-built confidential-transfer transactions
11656
11614
  */
11657
11615
  async signWaasConfidentialTransactions(requestParameters, initOverrides) {