@alephium/web3 0.12.0 → 0.12.2

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.
@@ -383,6 +383,7 @@ class Api extends HttpClient {
383
383
  path: `/addresses/${address}/export-transactions/csv`,
384
384
  method: 'GET',
385
385
  query: query,
386
+ format: 'text',
386
387
  ...params
387
388
  }).then(utils_1.convertHttpResponse),
388
389
  /**
@@ -451,6 +452,7 @@ class Api extends HttpClient {
451
452
  getInfosSupplyTotalAlph: (params = {}) => this.request({
452
453
  path: `/infos/supply/total-alph`,
453
454
  method: 'GET',
455
+ format: 'text',
454
456
  ...params
455
457
  }).then(utils_1.convertHttpResponse),
456
458
  /**
@@ -463,6 +465,7 @@ class Api extends HttpClient {
463
465
  getInfosSupplyCirculatingAlph: (params = {}) => this.request({
464
466
  path: `/infos/supply/circulating-alph`,
465
467
  method: 'GET',
468
+ format: 'text',
466
469
  ...params
467
470
  }).then(utils_1.convertHttpResponse),
468
471
  /**
@@ -475,6 +478,7 @@ class Api extends HttpClient {
475
478
  getInfosSupplyReservedAlph: (params = {}) => this.request({
476
479
  path: `/infos/supply/reserved-alph`,
477
480
  method: 'GET',
481
+ format: 'text',
478
482
  ...params
479
483
  }).then(utils_1.convertHttpResponse),
480
484
  /**
@@ -487,6 +491,7 @@ class Api extends HttpClient {
487
491
  getInfosSupplyLockedAlph: (params = {}) => this.request({
488
492
  path: `/infos/supply/locked-alph`,
489
493
  method: 'GET',
494
+ format: 'text',
490
495
  ...params
491
496
  }).then(utils_1.convertHttpResponse),
492
497
  /**
@@ -499,6 +504,7 @@ class Api extends HttpClient {
499
504
  getInfosTotalTransactions: (params = {}) => this.request({
500
505
  path: `/infos/total-transactions`,
501
506
  method: 'GET',
507
+ format: 'text',
502
508
  ...params
503
509
  }).then(utils_1.convertHttpResponse),
504
510
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alephium/web3",
3
- "version": "0.12.0",
3
+ "version": "0.12.2",
4
4
  "description": "A JS/TS library to interact with the Alephium platform",
5
5
  "license": "GPL",
6
6
  "main": "dist/src/index.js",
@@ -960,6 +960,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
960
960
  path: `/addresses/${address}/export-transactions/csv`,
961
961
  method: 'GET',
962
962
  query: query,
963
+ format: 'text',
963
964
  ...params
964
965
  }).then(convertHttpResponse),
965
966
 
@@ -1069,6 +1070,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1069
1070
  this.request<number, BadRequest | Unauthorized | NotFound | InternalServerError | ServiceUnavailable>({
1070
1071
  path: `/infos/supply/total-alph`,
1071
1072
  method: 'GET',
1073
+ format: 'text',
1072
1074
  ...params
1073
1075
  }).then(convertHttpResponse),
1074
1076
 
@@ -1083,6 +1085,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1083
1085
  this.request<number, BadRequest | Unauthorized | NotFound | InternalServerError | ServiceUnavailable>({
1084
1086
  path: `/infos/supply/circulating-alph`,
1085
1087
  method: 'GET',
1088
+ format: 'text',
1086
1089
  ...params
1087
1090
  }).then(convertHttpResponse),
1088
1091
 
@@ -1097,6 +1100,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1097
1100
  this.request<number, BadRequest | Unauthorized | NotFound | InternalServerError | ServiceUnavailable>({
1098
1101
  path: `/infos/supply/reserved-alph`,
1099
1102
  method: 'GET',
1103
+ format: 'text',
1100
1104
  ...params
1101
1105
  }).then(convertHttpResponse),
1102
1106
 
@@ -1111,6 +1115,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1111
1115
  this.request<number, BadRequest | Unauthorized | NotFound | InternalServerError | ServiceUnavailable>({
1112
1116
  path: `/infos/supply/locked-alph`,
1113
1117
  method: 'GET',
1118
+ format: 'text',
1114
1119
  ...params
1115
1120
  }).then(convertHttpResponse),
1116
1121
 
@@ -1125,6 +1130,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
1125
1130
  this.request<number, BadRequest | Unauthorized | NotFound | InternalServerError | ServiceUnavailable>({
1126
1131
  path: `/infos/total-transactions`,
1127
1132
  method: 'GET',
1133
+ format: 'text',
1128
1134
  ...params
1129
1135
  }).then(convertHttpResponse),
1130
1136