@binance/simple-earn 3.0.0 → 5.0.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/dist/index.mjs CHANGED
@@ -10,7 +10,7 @@ import { ConfigurationRestAPI as ConfigurationRestAPI5, SIMPLE_EARN_REST_API_PRO
10
10
 
11
11
  // package.json
12
12
  var name = "@binance/simple-earn";
13
- var version = "3.0.0";
13
+ var version = "5.0.0";
14
14
 
15
15
  // src/rest-api/index.ts
16
16
  var rest_api_exports = {};
@@ -383,7 +383,7 @@ var AccountApi = class {
383
383
  localVarAxiosArgs.method,
384
384
  localVarAxiosArgs.params,
385
385
  localVarAxiosArgs?.timeUnit,
386
- { isSigned: false }
386
+ { isSigned: true }
387
387
  );
388
388
  }
389
389
  /**
@@ -1159,10 +1159,11 @@ var HistoryApiAxiosParamCreator = function(configuration) {
1159
1159
  * @param {number} [endTime]
1160
1160
  * @param {number} [current] Currently querying the page. Start from 1. Default:1
1161
1161
  * @param {number} [size] Default:10, Max:100
1162
+ * @param {number} [recvWindow]
1162
1163
  *
1163
1164
  * @throws {RequiredError}
1164
1165
  */
1165
- getFlexibleRedemptionRecord: async (productId, redeemId, asset, startTime, endTime, current, size) => {
1166
+ getFlexibleRedemptionRecord: async (productId, redeemId, asset, startTime, endTime, current, size, recvWindow) => {
1166
1167
  const localVarQueryParameter = {};
1167
1168
  if (productId !== void 0 && productId !== null) {
1168
1169
  localVarQueryParameter["productId"] = productId;
@@ -1185,6 +1186,9 @@ var HistoryApiAxiosParamCreator = function(configuration) {
1185
1186
  if (size !== void 0 && size !== null) {
1186
1187
  localVarQueryParameter["size"] = size;
1187
1188
  }
1189
+ if (recvWindow !== void 0 && recvWindow !== null) {
1190
+ localVarQueryParameter["recvWindow"] = recvWindow;
1191
+ }
1188
1192
  let _timeUnit;
1189
1193
  if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
1190
1194
  return {
@@ -1593,7 +1597,8 @@ var HistoryApi = class {
1593
1597
  requestParameters?.startTime,
1594
1598
  requestParameters?.endTime,
1595
1599
  requestParameters?.current,
1596
- requestParameters?.size
1600
+ requestParameters?.size,
1601
+ requestParameters?.recvWindow
1597
1602
  );
1598
1603
  return sendRequest3(
1599
1604
  this.configuration,