@dynamic-labs/sdk-api 0.71.0 → 0.72.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.71.0",
3
+ "version": "0.72.0",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -16,13 +16,14 @@ Object.defineProperty(exports, '__esModule', { value: true });
16
16
  * Do not edit the class manually.
17
17
  */
18
18
  /**
19
- * Fiat currency the flow amount is denominated in. Only USD is supported.
19
+ * Currency the flow amount is denominated in. USD prices the amount against each settlement token. SETTLEMENT_TOKEN denominates the amount directly in the settlement token itself (e.g. "0.5" for 0.5 ETH, not wei); only valid for flows using `payment` mode AND with exactly one settlement token in the settlement config.
20
20
  * @export
21
21
  * @enum {string}
22
22
  */
23
23
  exports.FlowCurrencyEnum = void 0;
24
24
  (function (FlowCurrencyEnum) {
25
25
  FlowCurrencyEnum["Usd"] = "USD";
26
+ FlowCurrencyEnum["SettlementToken"] = "SETTLEMENT_TOKEN";
26
27
  })(exports.FlowCurrencyEnum || (exports.FlowCurrencyEnum = {}));
27
28
  function FlowCurrencyEnumFromJSON(json) {
28
29
  return FlowCurrencyEnumFromJSONTyped(json);
@@ -10,12 +10,13 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- * Fiat currency the flow amount is denominated in. Only USD is supported.
13
+ * Currency the flow amount is denominated in. USD prices the amount against each settlement token. SETTLEMENT_TOKEN denominates the amount directly in the settlement token itself (e.g. "0.5" for 0.5 ETH, not wei); only valid for flows using `payment` mode AND with exactly one settlement token in the settlement config.
14
14
  * @export
15
15
  * @enum {string}
16
16
  */
17
17
  export declare enum FlowCurrencyEnum {
18
- Usd = "USD"
18
+ Usd = "USD",
19
+ SettlementToken = "SETTLEMENT_TOKEN"
19
20
  }
20
21
  export declare function FlowCurrencyEnumFromJSON(json: any): FlowCurrencyEnum;
21
22
  export declare function FlowCurrencyEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowCurrencyEnum;
@@ -12,13 +12,14 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  /**
15
- * Fiat currency the flow amount is denominated in. Only USD is supported.
15
+ * Currency the flow amount is denominated in. USD prices the amount against each settlement token. SETTLEMENT_TOKEN denominates the amount directly in the settlement token itself (e.g. "0.5" for 0.5 ETH, not wei); only valid for flows using `payment` mode AND with exactly one settlement token in the settlement config.
16
16
  * @export
17
17
  * @enum {string}
18
18
  */
19
19
  var FlowCurrencyEnum;
20
20
  (function (FlowCurrencyEnum) {
21
21
  FlowCurrencyEnum["Usd"] = "USD";
22
+ FlowCurrencyEnum["SettlementToken"] = "SETTLEMENT_TOKEN";
22
23
  })(FlowCurrencyEnum || (FlowCurrencyEnum = {}));
23
24
  function FlowCurrencyEnumFromJSON(json) {
24
25
  return FlowCurrencyEnumFromJSONTyped(json);