@stacks/blockchain-api-client 8.3.0 → 8.4.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.
@@ -1166,13 +1166,13 @@ export interface paths {
1166
1166
  get?: never;
1167
1167
  put?: never;
1168
1168
  /**
1169
- * Add testnet BTC tokens to address
1170
- * @description Add 1 BTC token to the specified testnet BTC address.
1169
+ * Add regtest BTC tokens to address
1170
+ * @description Add 0.01 BTC token to the specified regtest BTC address.
1171
1171
  *
1172
- * The endpoint returns the transaction ID, which you can use to view the transaction in a testnet Bitcoin block
1172
+ * The endpoint returns the transaction ID, which you can use to view the transaction in a regtest Bitcoin block
1173
1173
  * explorer. The tokens are delivered once the transaction has been included in a block.
1174
1174
  *
1175
- * **Note:** This is a testnet only endpoint. This endpoint will not work on the mainnet.
1175
+ * **Note:** This is a Bitcoin regtest-only endpoint. This endpoint will not work on the Bitcoin mainnet.
1176
1176
  */
1177
1177
  post: operations["run_faucet_btc"];
1178
1178
  delete?: never;
@@ -27680,10 +27680,14 @@ export interface operations {
27680
27680
  parameters: {
27681
27681
  query?: {
27682
27682
  /**
27683
- * @description A valid testnet BTC address
27683
+ * @description A valid regtest BTC address
27684
27684
  * @example 2N4M94S1ZPt8HfxydXzL2P7qyzgVq7MHWts
27685
27685
  */
27686
27686
  address?: string;
27687
+ /** @description Request a large amount of regtest BTC than the default */
27688
+ large?: boolean;
27689
+ /** @description Request an extra large amount of regtest BTC than the default */
27690
+ xlarge?: boolean;
27687
27691
  };
27688
27692
  header?: never;
27689
27693
  path?: never;
@@ -27692,13 +27696,13 @@ export interface operations {
27692
27696
  requestBody?: {
27693
27697
  content: {
27694
27698
  "application/json": {
27695
- /** @description A valid testnet BTC address */
27699
+ /** @description A valid regtest BTC address */
27696
27700
  address?: string;
27697
27701
  } | null;
27698
27702
  };
27699
27703
  };
27700
27704
  responses: {
27701
- /** @description POST request that initiates a transfer of tokens to a specified testnet address */
27705
+ /** @description POST request that initiates a transfer of tokens to a specified Bitcoin regtest address */
27702
27706
  200: {
27703
27707
  headers: {
27704
27708
  [name: string]: unknown;
@@ -27739,7 +27743,7 @@ export interface operations {
27739
27743
  header?: never;
27740
27744
  path: {
27741
27745
  /**
27742
- * @description A valid testnet BTC address
27746
+ * @description A valid regtest BTC address
27743
27747
  * @example 2N4M94S1ZPt8HfxydXzL2P7qyzgVq7MHWts
27744
27748
  */
27745
27749
  address: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stacks/blockchain-api-client",
3
- "version": "8.3.0",
3
+ "version": "8.4.0",
4
4
  "access": "public",
5
5
  "description": "Client for the Stacks Blockchain API",
6
6
  "homepage": "https://github.com/hirosystems/stacks-blockchain-api/tree/master/client#readme",
@@ -1166,13 +1166,13 @@ export interface paths {
1166
1166
  get?: never;
1167
1167
  put?: never;
1168
1168
  /**
1169
- * Add testnet BTC tokens to address
1170
- * @description Add 1 BTC token to the specified testnet BTC address.
1169
+ * Add regtest BTC tokens to address
1170
+ * @description Add 0.01 BTC token to the specified regtest BTC address.
1171
1171
  *
1172
- * The endpoint returns the transaction ID, which you can use to view the transaction in a testnet Bitcoin block
1172
+ * The endpoint returns the transaction ID, which you can use to view the transaction in a regtest Bitcoin block
1173
1173
  * explorer. The tokens are delivered once the transaction has been included in a block.
1174
1174
  *
1175
- * **Note:** This is a testnet only endpoint. This endpoint will not work on the mainnet.
1175
+ * **Note:** This is a Bitcoin regtest-only endpoint. This endpoint will not work on the Bitcoin mainnet.
1176
1176
  */
1177
1177
  post: operations["run_faucet_btc"];
1178
1178
  delete?: never;
@@ -27680,10 +27680,14 @@ export interface operations {
27680
27680
  parameters: {
27681
27681
  query?: {
27682
27682
  /**
27683
- * @description A valid testnet BTC address
27683
+ * @description A valid regtest BTC address
27684
27684
  * @example 2N4M94S1ZPt8HfxydXzL2P7qyzgVq7MHWts
27685
27685
  */
27686
27686
  address?: string;
27687
+ /** @description Request a large amount of regtest BTC than the default */
27688
+ large?: boolean;
27689
+ /** @description Request an extra large amount of regtest BTC than the default */
27690
+ xlarge?: boolean;
27687
27691
  };
27688
27692
  header?: never;
27689
27693
  path?: never;
@@ -27692,13 +27696,13 @@ export interface operations {
27692
27696
  requestBody?: {
27693
27697
  content: {
27694
27698
  "application/json": {
27695
- /** @description A valid testnet BTC address */
27699
+ /** @description A valid regtest BTC address */
27696
27700
  address?: string;
27697
27701
  } | null;
27698
27702
  };
27699
27703
  };
27700
27704
  responses: {
27701
- /** @description POST request that initiates a transfer of tokens to a specified testnet address */
27705
+ /** @description POST request that initiates a transfer of tokens to a specified Bitcoin regtest address */
27702
27706
  200: {
27703
27707
  headers: {
27704
27708
  [name: string]: unknown;
@@ -27739,7 +27743,7 @@ export interface operations {
27739
27743
  header?: never;
27740
27744
  path: {
27741
27745
  /**
27742
- * @description A valid testnet BTC address
27746
+ * @description A valid regtest BTC address
27743
27747
  * @example 2N4M94S1ZPt8HfxydXzL2P7qyzgVq7MHWts
27744
27748
  */
27745
27749
  address: string;