@binance/mining 4.0.0 → 4.0.1

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
@@ -9,7 +9,7 @@ import { buildUserAgent, ConfigurationRestAPI as ConfigurationRestAPI3, MINING_R
9
9
 
10
10
  // package.json
11
11
  var name = "@binance/mining";
12
- var version = "4.0.0";
12
+ var version = "4.0.1";
13
13
 
14
14
  // src/rest-api/index.ts
15
15
  var rest_api_exports = {};
@@ -33,7 +33,7 @@ var MiningApiAxiosParamCreator = function(configuration) {
33
33
  * @summary Account List(USER_DATA)
34
34
  * @param {string} algo Algorithm(sha256) sha256
35
35
  * @param {string} userName Mining account test
36
- * @param {number} [recvWindow]
36
+ * @param {number | bigint} [recvWindow]
37
37
  *
38
38
  * @throws {RequiredError}
39
39
  */
@@ -104,9 +104,9 @@ var MiningApiAxiosParamCreator = function(configuration) {
104
104
  * Weight: 5
105
105
  *
106
106
  * @summary Cancel hashrate resale configuration(USER_DATA)
107
- * @param {number} configId Mining ID 168
107
+ * @param {number | bigint} configId Mining ID 168
108
108
  * @param {string} userName Mining account test
109
- * @param {number} [recvWindow]
109
+ * @param {number | bigint} [recvWindow]
110
110
  *
111
111
  * @throws {RequiredError}
112
112
  */
@@ -141,11 +141,11 @@ var MiningApiAxiosParamCreator = function(configuration) {
141
141
  * @param {string} algo Algorithm(sha256) sha256
142
142
  * @param {string} userName Mining account test
143
143
  * @param {string} [coin] Coin Name
144
- * @param {number} [startDate] Millisecond timestamp
145
- * @param {number} [endDate] Millisecond timestamp
146
- * @param {number} [pageIndex] Page number, empty default first page, starting from 1
147
- * @param {number} [pageSize] Min 10,Max 200
148
- * @param {number} [recvWindow]
144
+ * @param {number | bigint} [startDate] Millisecond timestamp
145
+ * @param {number | bigint} [endDate] Millisecond timestamp
146
+ * @param {number | bigint} [pageIndex] Page number, empty default first page, starting from 1
147
+ * @param {number | bigint} [pageSize] Min 10,Max 200
148
+ * @param {number | bigint} [recvWindow]
149
149
  *
150
150
  * @throws {RequiredError}
151
151
  */
@@ -195,11 +195,11 @@ var MiningApiAxiosParamCreator = function(configuration) {
195
195
  * @param {string} algo Algorithm(sha256) sha256
196
196
  * @param {string} userName Mining account test
197
197
  * @param {string} [coin] Coin Name
198
- * @param {number} [startDate] Millisecond timestamp
199
- * @param {number} [endDate] Millisecond timestamp
200
- * @param {number} [pageIndex] Page number, empty default first page, starting from 1
201
- * @param {number} [pageSize] Min 10,Max 200
202
- * @param {number} [recvWindow]
198
+ * @param {number | bigint} [startDate] Millisecond timestamp
199
+ * @param {number | bigint} [endDate] Millisecond timestamp
200
+ * @param {number | bigint} [pageIndex] Page number, empty default first page, starting from 1
201
+ * @param {number | bigint} [pageSize] Min 10,Max 200
202
+ * @param {number | bigint} [recvWindow]
203
203
  *
204
204
  * @throws {RequiredError}
205
205
  */
@@ -246,11 +246,11 @@ var MiningApiAxiosParamCreator = function(configuration) {
246
246
  * Weight: 5
247
247
  *
248
248
  * @summary Hashrate Resale Detail(USER_DATA)
249
- * @param {number} configId Mining ID 168
249
+ * @param {number | bigint} configId Mining ID 168
250
250
  * @param {string} userName Mining account test
251
- * @param {number} [pageIndex] Page number, empty default first page, starting from 1
252
- * @param {number} [pageSize] Min 10,Max 200
253
- * @param {number} [recvWindow]
251
+ * @param {number | bigint} [pageIndex] Page number, empty default first page, starting from 1
252
+ * @param {number | bigint} [pageSize] Min 10,Max 200
253
+ * @param {number | bigint} [recvWindow]
254
254
  *
255
255
  * @throws {RequiredError}
256
256
  */
@@ -288,9 +288,9 @@ var MiningApiAxiosParamCreator = function(configuration) {
288
288
  * Weight: 5
289
289
  *
290
290
  * @summary Hashrate Resale List
291
- * @param {number} [pageIndex] Page number, empty default first page, starting from 1
292
- * @param {number} [pageSize] Min 10,Max 200
293
- * @param {number} [recvWindow]
291
+ * @param {number | bigint} [pageIndex] Page number, empty default first page, starting from 1
292
+ * @param {number | bigint} [pageSize] Min 10,Max 200
293
+ * @param {number | bigint} [recvWindow]
294
294
  *
295
295
  * @throws {RequiredError}
296
296
  */
@@ -322,11 +322,11 @@ var MiningApiAxiosParamCreator = function(configuration) {
322
322
  * @summary Hashrate Resale Request(USER_DATA)
323
323
  * @param {string} userName Mining account test
324
324
  * @param {string} algo Algorithm(sha256) sha256
325
- * @param {number} endDate Resale End Time (Millisecond timestamp) 1617659086000
326
- * @param {number} startDate Resale Start Time(Millisecond timestamp) 1607659086000
325
+ * @param {number | bigint} endDate Resale End Time (Millisecond timestamp) 1617659086000
326
+ * @param {number | bigint} startDate Resale Start Time(Millisecond timestamp) 1607659086000
327
327
  * @param {string} toPoolUser Mining Account S19pro
328
- * @param {number} hashRate Resale hashrate h/s must be transferred (BTC is greater than 500000000000 ETH is greater than 500000) 100000000
329
- * @param {number} [recvWindow]
328
+ * @param {number | bigint} hashRate Resale hashrate h/s must be transferred (BTC is greater than 500000000000 ETH is greater than 500000) 100000000
329
+ * @param {number | bigint} [recvWindow]
330
330
  *
331
331
  * @throws {RequiredError}
332
332
  */
@@ -375,11 +375,11 @@ var MiningApiAxiosParamCreator = function(configuration) {
375
375
  *
376
376
  * @summary Mining Account Earning(USER_DATA)
377
377
  * @param {string} algo Algorithm(sha256) sha256
378
- * @param {number} [startDate] Millisecond timestamp
379
- * @param {number} [endDate] Millisecond timestamp
380
- * @param {number} [pageIndex] Page number, empty default first page, starting from 1
381
- * @param {number} [pageSize] Min 10,Max 200
382
- * @param {number} [recvWindow]
378
+ * @param {number | bigint} [startDate] Millisecond timestamp
379
+ * @param {number | bigint} [endDate] Millisecond timestamp
380
+ * @param {number | bigint} [pageIndex] Page number, empty default first page, starting from 1
381
+ * @param {number | bigint} [pageSize] Min 10,Max 200
382
+ * @param {number | bigint} [recvWindow]
383
383
  *
384
384
  * @throws {RequiredError}
385
385
  */
@@ -422,7 +422,7 @@ var MiningApiAxiosParamCreator = function(configuration) {
422
422
  * @param {string} algo Algorithm(sha256) sha256
423
423
  * @param {string} userName Mining account test
424
424
  * @param {string} workerName Miner’s name(required) bhdc1.16A10404B
425
- * @param {number} [recvWindow]
425
+ * @param {number | bigint} [recvWindow]
426
426
  *
427
427
  * @throws {RequiredError}
428
428
  */
@@ -460,11 +460,11 @@ var MiningApiAxiosParamCreator = function(configuration) {
460
460
  * @summary Request for Miner List(USER_DATA)
461
461
  * @param {string} algo Algorithm(sha256) sha256
462
462
  * @param {string} userName Mining account test
463
- * @param {number} [pageIndex] Page number, empty default first page, starting from 1
464
- * @param {number} [sort] sort sequence(default=0)0 positive sequence,1 negative sequence
465
- * @param {number} [sortColumn] Sort by( default 1): <br></br>1: miner name, <br></br>2: real-time computing power, <br></br>3: daily average computing power, <br></br>4: real-time rejection rate, <br></br>5: last submission time
466
- * @param {number} [workerStatus] miners status(default=0),0 all,1 valid,2 invalid,3 failure
467
- * @param {number} [recvWindow]
463
+ * @param {number | bigint} [pageIndex] Page number, empty default first page, starting from 1
464
+ * @param {number | bigint} [sort] sort sequence(default=0)0 positive sequence,1 negative sequence
465
+ * @param {number | bigint} [sortColumn] Sort by( default 1): <br></br>1: miner name, <br></br>2: real-time computing power, <br></br>3: daily average computing power, <br></br>4: real-time rejection rate, <br></br>5: last submission time
466
+ * @param {number | bigint} [workerStatus] miners status(default=0),0 all,1 valid,2 invalid,3 failure
467
+ * @param {number | bigint} [recvWindow]
468
468
  *
469
469
  * @throws {RequiredError}
470
470
  */
@@ -510,7 +510,7 @@ var MiningApiAxiosParamCreator = function(configuration) {
510
510
  * @summary Statistic List(USER_DATA)
511
511
  * @param {string} algo Algorithm(sha256) sha256
512
512
  * @param {string} userName Mining account test
513
- * @param {number} [recvWindow]
513
+ * @param {number | bigint} [recvWindow]
514
514
  *
515
515
  * @throws {RequiredError}
516
516
  */