@binance/wallet 14.0.0 → 16.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
@@ -3,7 +3,7 @@ import { BadRequestError, ConfigurationRestAPI, ConnectorClientError, ForbiddenE
3
3
 
4
4
  //#region package.json
5
5
  var name = "@binance/wallet";
6
- var version = "14.0.0";
6
+ var version = "16.0.0";
7
7
 
8
8
  //#endregion
9
9
  //#region src/rest-api/modules/account-api.ts
@@ -277,9 +277,10 @@ var AccountApi = class {
277
277
  */
278
278
  const AssetApiAxiosParamCreator = function(configuration) {
279
279
  return {
280
- assetDetail: async (recvWindow) => {
280
+ assetDetail: async (asset, recvWindow) => {
281
281
  const localVarQueryParameter = {};
282
282
  const localVarBodyParameter = {};
283
+ if (asset !== void 0 && asset !== null) localVarQueryParameter["asset"] = asset;
283
284
  if (recvWindow !== void 0 && recvWindow !== null) localVarQueryParameter["recvWindow"] = recvWindow;
284
285
  let _timeUnit;
285
286
  if ("timeUnit" in configuration) _timeUnit = configuration.timeUnit;
@@ -361,9 +362,10 @@ const AssetApiAxiosParamCreator = function(configuration) {
361
362
  timeUnit: _timeUnit
362
363
  };
363
364
  },
364
- dustlog: async (startTime, endTime, recvWindow) => {
365
+ dustlog: async (accountType, startTime, endTime, recvWindow) => {
365
366
  const localVarQueryParameter = {};
366
367
  const localVarBodyParameter = {};
368
+ if (accountType !== void 0 && accountType !== null) localVarQueryParameter["accountType"] = accountType;
367
369
  if (startTime !== void 0 && startTime !== null) localVarQueryParameter["startTime"] = startTime;
368
370
  if (endTime !== void 0 && endTime !== null) localVarQueryParameter["endTime"] = endTime;
369
371
  if (recvWindow !== void 0 && recvWindow !== null) localVarQueryParameter["recvWindow"] = recvWindow;
@@ -600,7 +602,7 @@ var AssetApi = class {
600
602
  * @see {@link https://developers.binance.com/docs/wallet/asset/Asset-Detail Binance API Documentation}
601
603
  */
602
604
  async assetDetail(requestParameters = {}) {
603
- const localVarAxiosArgs = await this.localVarAxiosParamCreator.assetDetail(requestParameters?.recvWindow);
605
+ const localVarAxiosArgs = await this.localVarAxiosParamCreator.assetDetail(requestParameters?.asset, requestParameters?.recvWindow);
604
606
  return sendRequest(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
605
607
  }
606
608
  /**
@@ -688,7 +690,7 @@ var AssetApi = class {
688
690
  * @see {@link https://developers.binance.com/docs/wallet/asset/dust-log Binance API Documentation}
689
691
  */
690
692
  async dustlog(requestParameters = {}) {
691
- const localVarAxiosArgs = await this.localVarAxiosParamCreator.dustlog(requestParameters?.startTime, requestParameters?.endTime, requestParameters?.recvWindow);
693
+ const localVarAxiosArgs = await this.localVarAxiosParamCreator.dustlog(requestParameters?.accountType, requestParameters?.startTime, requestParameters?.endTime, requestParameters?.recvWindow);
692
694
  return sendRequest(this.configuration, localVarAxiosArgs.endpoint, localVarAxiosArgs.method, localVarAxiosArgs.queryParams, localVarAxiosArgs.bodyParams, localVarAxiosArgs?.timeUnit, { isSigned: true });
693
695
  }
694
696
  /**