New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@stacks/blockchain-api-client

Package Overview
Dependencies
Maintainers
4
Versions
365
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stacks/blockchain-api-client - npm Package Compare versions

Comparing version 7.3.4 to 7.3.5

8

lib/generated/apis/FaucetsApi.d.ts

@@ -13,6 +13,6 @@ /**

import * as runtime from '../runtime';
import { InlineObject, InlineObject1, RunFaucetResponse } from '../models';
import { InlineObject, RunFaucetResponse } from '../models';
export interface RunFaucetBtcRequest {
address: string;
inlineObject1?: InlineObject1;
inlineObject?: InlineObject;
}

@@ -22,3 +22,2 @@ export interface RunFaucetStxRequest {

stacking?: boolean;
inlineObject?: InlineObject;
}

@@ -36,3 +35,3 @@ /**

* @param {string} address A valid testnet BTC address
* @param {InlineObject1} [inlineObject1]
* @param {InlineObject} [inlineObject]
* @param {*} [options] Override http request option.

@@ -53,3 +52,2 @@ * @throws {RequiredError}

* @param {boolean} [stacking] Request the amount of STX tokens needed for individual address stacking
* @param {InlineObject} [inlineObject]
* @param {*} [options] Override http request option.

@@ -56,0 +54,0 @@ * @throws {RequiredError}

@@ -42,3 +42,3 @@ "use strict";

query: queryParameters,
body: (0, models_1.InlineObject1ToJSON)(requestParameters.inlineObject1),
body: (0, models_1.InlineObjectToJSON)(requestParameters.inlineObject),
}, initOverrides);

@@ -71,3 +71,2 @@ return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.RunFaucetResponseFromJSON)(jsonValue));

const headerParameters = {};
headerParameters['Content-Type'] = 'application/json';
const response = await this.request({

@@ -78,3 +77,2 @@ path: `/extended/v1/faucets/stx`,

query: queryParameters,
body: (0, models_1.InlineObjectToJSON)(requestParameters.inlineObject),
}, initOverrides);

@@ -81,0 +79,0 @@ return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.RunFaucetResponseFromJSON)(jsonValue));

@@ -45,3 +45,2 @@ export * from './AccountDataResponse';

export * from './InlineObject';
export * from './InlineObject1';
export * from './InlineResponse403';

@@ -48,0 +47,0 @@ export * from './MapEntryResponse';

@@ -63,3 +63,2 @@ "use strict";

__exportStar(require("./InlineObject"), exports);
__exportStar(require("./InlineObject1"), exports);
__exportStar(require("./InlineResponse403"), exports);

@@ -66,0 +65,0 @@ __exportStar(require("./MapEntryResponse"), exports);

@@ -19,3 +19,3 @@ /**

/**
* STX testnet address
* BTC testnet address
* @type {string}

@@ -25,8 +25,2 @@ * @memberof InlineObject

address?: string;
/**
* Use required number of tokens for stacking
* @type {boolean}
* @memberof InlineObject
*/
stacking?: boolean;
}

@@ -33,0 +27,0 @@ export declare function InlineObjectFromJSON(json: any): InlineObject;

@@ -28,3 +28,2 @@ "use strict";

'address': !(0, runtime_1.exists)(json, 'address') ? undefined : json['address'],
'stacking': !(0, runtime_1.exists)(json, 'stacking') ? undefined : json['stacking'],
};

@@ -42,3 +41,2 @@ }

'address': value.address,
'stacking': value.stacking,
};

@@ -45,0 +43,0 @@ }

{
"name": "@stacks/blockchain-api-client",
"version": "7.3.4",
"version": "7.3.5",
"access": "public",

@@ -5,0 +5,0 @@ "description": "Client for the Stacks Blockchain API",

@@ -21,5 +21,2 @@ /* tslint:disable */

InlineObjectToJSON,
InlineObject1,
InlineObject1FromJSON,
InlineObject1ToJSON,
InlineResponse403,

@@ -35,3 +32,3 @@ InlineResponse403FromJSON,

address: string;
inlineObject1?: InlineObject1;
inlineObject?: InlineObject;
}

@@ -42,3 +39,2 @@

stacking?: boolean;
inlineObject?: InlineObject;
}

@@ -57,3 +53,3 @@

* @param {string} address A valid testnet BTC address
* @param {InlineObject1} [inlineObject1]
* @param {InlineObject} [inlineObject]
* @param {*} [options] Override http request option.

@@ -76,3 +72,2 @@ * @throws {RequiredError}

* @param {boolean} [stacking] Request the amount of STX tokens needed for individual address stacking
* @param {InlineObject} [inlineObject]
* @param {*} [options] Override http request option.

@@ -121,3 +116,3 @@ * @throws {RequiredError}

query: queryParameters,
body: InlineObject1ToJSON(requestParameters.inlineObject1),
body: InlineObjectToJSON(requestParameters.inlineObject),
}, initOverrides);

@@ -158,4 +153,2 @@

headerParameters['Content-Type'] = 'application/json';
const response = await this.request({

@@ -166,3 +159,2 @@ path: `/extended/v1/faucets/stx`,

query: queryParameters,
body: InlineObjectToJSON(requestParameters.inlineObject),
}, initOverrides);

@@ -169,0 +161,0 @@

@@ -47,3 +47,2 @@ /* tslint:disable */

export * from './InlineObject';
export * from './InlineObject1';
export * from './InlineResponse403';

@@ -50,0 +49,0 @@ export * from './MapEntryResponse';

@@ -23,3 +23,3 @@ /* tslint:disable */

/**
* STX testnet address
* BTC testnet address
* @type {string}

@@ -29,8 +29,2 @@ * @memberof InlineObject

address?: string;
/**
* Use required number of tokens for stacking
* @type {boolean}
* @memberof InlineObject
*/
stacking?: boolean;
}

@@ -49,3 +43,2 @@

'address': !exists(json, 'address') ? undefined : json['address'],
'stacking': !exists(json, 'stacking') ? undefined : json['stacking'],
};

@@ -64,5 +57,4 @@ }

'address': value.address,
'stacking': value.stacking,
};
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc