@stacks/blockchain-api-client 7.2.0-beta.1 → 7.2.0-beta.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.
@@ -39,6 +39,12 @@ export interface AddressNonces {
39
39
  * @memberof AddressNonces
40
40
  */
41
41
  detected_missing_nonces: Array<number>;
42
+ /**
43
+ * Nonces currently in mempool for this address.
44
+ * @type {Array<number>}
45
+ * @memberof AddressNonces
46
+ */
47
+ detected_mempool_nonces?: Array<number>;
42
48
  }
43
49
  export declare function AddressNoncesFromJSON(json: any): AddressNonces;
44
50
  export declare function AddressNoncesFromJSONTyped(json: any, ignoreDiscriminator: boolean): AddressNonces;
@@ -14,6 +14,7 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.AddressNoncesToJSON = exports.AddressNoncesFromJSONTyped = exports.AddressNoncesFromJSON = void 0;
17
+ const runtime_1 = require("../runtime");
17
18
  function AddressNoncesFromJSON(json) {
18
19
  return AddressNoncesFromJSONTyped(json, false);
19
20
  }
@@ -27,6 +28,7 @@ function AddressNoncesFromJSONTyped(json, ignoreDiscriminator) {
27
28
  'last_executed_tx_nonce': json['last_executed_tx_nonce'],
28
29
  'possible_next_nonce': json['possible_next_nonce'],
29
30
  'detected_missing_nonces': json['detected_missing_nonces'],
31
+ 'detected_mempool_nonces': !(0, runtime_1.exists)(json, 'detected_mempool_nonces') ? undefined : json['detected_mempool_nonces'],
30
32
  };
31
33
  }
32
34
  exports.AddressNoncesFromJSONTyped = AddressNoncesFromJSONTyped;
@@ -42,6 +44,7 @@ function AddressNoncesToJSON(value) {
42
44
  'last_executed_tx_nonce': value.last_executed_tx_nonce,
43
45
  'possible_next_nonce': value.possible_next_nonce,
44
46
  'detected_missing_nonces': value.detected_missing_nonces,
47
+ 'detected_mempool_nonces': value.detected_mempool_nonces,
45
48
  };
46
49
  }
47
50
  exports.AddressNoncesToJSON = AddressNoncesToJSON;
@@ -1 +1 @@
1
- {"version":3,"file":"AddressNonces.js","sourceRoot":"","sources":["../../../src/generated/models/AddressNonces.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAmCH,SAAgB,qBAAqB,CAAC,IAAS;IAC3C,OAAO,0BAA0B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACnD,CAAC;AAFD,sDAEC;AAED,SAAgB,0BAA0B,CAAC,IAAS,EAAE,mBAA4B;IAC9E,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE;QACzC,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,uBAAuB,EAAE,IAAI,CAAC,uBAAuB,CAAC;QACtD,wBAAwB,EAAE,IAAI,CAAC,wBAAwB,CAAC;QACxD,qBAAqB,EAAE,IAAI,CAAC,qBAAqB,CAAC;QAClD,yBAAyB,EAAE,IAAI,CAAC,yBAAyB,CAAC;KAC7D,CAAC;AACN,CAAC;AAXD,gEAWC;AAED,SAAgB,mBAAmB,CAAC,KAA4B;IAC5D,IAAI,KAAK,KAAK,SAAS,EAAE;QACrB,OAAO,SAAS,CAAC;KACpB;IACD,IAAI,KAAK,KAAK,IAAI,EAAE;QAChB,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,uBAAuB,EAAE,KAAK,CAAC,qBAAqB;QACpD,wBAAwB,EAAE,KAAK,CAAC,sBAAsB;QACtD,qBAAqB,EAAE,KAAK,CAAC,mBAAmB;QAChD,yBAAyB,EAAE,KAAK,CAAC,uBAAuB;KAC3D,CAAC;AACN,CAAC;AAdD,kDAcC"}
1
+ {"version":3,"file":"AddressNonces.js","sourceRoot":"","sources":["../../../src/generated/models/AddressNonces.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAEH,wCAA+C;AAuC/C,SAAgB,qBAAqB,CAAC,IAAS;IAC3C,OAAO,0BAA0B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACnD,CAAC;AAFD,sDAEC;AAED,SAAgB,0BAA0B,CAAC,IAAS,EAAE,mBAA4B;IAC9E,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE;QACzC,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,uBAAuB,EAAE,IAAI,CAAC,uBAAuB,CAAC;QACtD,wBAAwB,EAAE,IAAI,CAAC,wBAAwB,CAAC;QACxD,qBAAqB,EAAE,IAAI,CAAC,qBAAqB,CAAC;QAClD,yBAAyB,EAAE,IAAI,CAAC,yBAAyB,CAAC;QAC1D,yBAAyB,EAAE,CAAC,IAAA,gBAAM,EAAC,IAAI,EAAE,yBAAyB,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,yBAAyB,CAAC;KACpH,CAAC;AACN,CAAC;AAZD,gEAYC;AAED,SAAgB,mBAAmB,CAAC,KAA4B;IAC5D,IAAI,KAAK,KAAK,SAAS,EAAE;QACrB,OAAO,SAAS,CAAC;KACpB;IACD,IAAI,KAAK,KAAK,IAAI,EAAE;QAChB,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,uBAAuB,EAAE,KAAK,CAAC,qBAAqB;QACpD,wBAAwB,EAAE,KAAK,CAAC,sBAAsB;QACtD,qBAAqB,EAAE,KAAK,CAAC,mBAAmB;QAChD,yBAAyB,EAAE,KAAK,CAAC,uBAAuB;QACxD,yBAAyB,EAAE,KAAK,CAAC,uBAAuB;KAC3D,CAAC;AACN,CAAC;AAfD,kDAeC"}
package/lib/index.umd.js CHANGED
@@ -986,20 +986,6 @@
986
986
  }
987
987
 
988
988
  /* tslint:disable */
989
-
990
- /* eslint-disable */
991
-
992
- /**
993
- * Stacks Blockchain API
994
- * Welcome to the API reference overview for the <a href=\"https://docs.hiro.so/get-started/stacks-blockchain-api\">Stacks Blockchain API</a>. <a href=\"https://hirosystems.github.io/stacks-blockchain-api/collection.json\" download=\"stacks-api-collection.json\">Download Postman collection</a>
995
- *
996
- * The version of the OpenAPI document: STACKS_API_VERSION
997
- *
998
- *
999
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1000
- * https://openapi-generator.tech
1001
- * Do not edit the class manually.
1002
- */
1003
989
  function AddressNoncesFromJSON(json) {
1004
990
  return AddressNoncesFromJSONTyped(json);
1005
991
  }
@@ -1012,7 +998,8 @@
1012
998
  'last_mempool_tx_nonce': json['last_mempool_tx_nonce'],
1013
999
  'last_executed_tx_nonce': json['last_executed_tx_nonce'],
1014
1000
  'possible_next_nonce': json['possible_next_nonce'],
1015
- 'detected_missing_nonces': json['detected_missing_nonces']
1001
+ 'detected_missing_nonces': json['detected_missing_nonces'],
1002
+ 'detected_mempool_nonces': !exists(json, 'detected_mempool_nonces') ? undefined : json['detected_mempool_nonces']
1016
1003
  };
1017
1004
  }
1018
1005
  function AddressNoncesToJSON(value) {
@@ -1028,7 +1015,8 @@
1028
1015
  'last_mempool_tx_nonce': value.last_mempool_tx_nonce,
1029
1016
  'last_executed_tx_nonce': value.last_executed_tx_nonce,
1030
1017
  'possible_next_nonce': value.possible_next_nonce,
1031
- 'detected_missing_nonces': value.detected_missing_nonces
1018
+ 'detected_missing_nonces': value.detected_missing_nonces,
1019
+ 'detected_mempool_nonces': value.detected_mempool_nonces
1032
1020
  };
1033
1021
  }
1034
1022