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

@anvilco/anvil

Package Overview
Dependencies
Maintainers
6
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@anvilco/anvil - npm Package Compare versions

Comparing version 2.10.0 to 2.10.1

.idea/codeStyles/codeStyleConfig.xml

13

CHANGELOG.md

@@ -10,6 +10,17 @@ # Changelog

## [v2.10.0](https://github.com/anvilco/node-anvil/compare/v2.9.4...v2.10.0)
## [v2.10.1](https://github.com/anvilco/node-anvil/compare/v2.10.0...v2.10.1)
### Merged
- Fix types path, Anvil options params [`#103`](https://github.com/anvilco/node-anvil/pull/103)
### Commits
- JSDoc `?` isn't the same as the TS version apparently [`b8636bf`](https://github.com/anvilco/node-anvil/commit/b8636bf511b56657cbf880e35677e59367596e19)
- Fix types path. Generated includes `src/`. [`b11d336`](https://github.com/anvilco/node-anvil/commit/b11d33645a7c7aba5518348b9dc512b71622ce55)
## [v2.10.0](https://github.com/anvilco/node-anvil/compare/v2.9.4...v2.10.0) - 2022-04-04
### Merged
- Add initial Typescript support [`#102`](https://github.com/anvilco/node-anvil/pull/102)

@@ -16,0 +27,0 @@

4

package.json
{
"name": "@anvilco/anvil",
"version": "2.10.0",
"version": "2.10.1",
"description": "Anvil API Client",
"main": "src/index.js",
"types": "./types/index.d.ts",
"types": "./types/src/index.d.ts",
"scripts": {

@@ -8,0 +8,0 @@ "test": "mocha --config ./test/mocha.js",

@@ -17,8 +17,8 @@ const fs = require('fs')

* @type {Object}
* @property {string?} baseURL
* @property {string?} userAgent
* @property {number?} requestLimit
* @property {number?} requestLimitMS
* @property {string?} apiKey
* @property {string?} accessToken
* @property {string} [baseURL]
* @property {string} [userAgent]
* @property {number} [requestLimit]
* @property {number} [requestLimitMS]
* @property {string} [apiKey]
* @property {string} [accessToken]
*/

@@ -25,0 +25,0 @@

@@ -26,4 +26,4 @@ export = Anvil;

requestLimitMS: number;
apiKey: string;
accessToken: string;
apiKey?: string;
accessToken?: string;
};

@@ -227,9 +227,9 @@ authHeader: string;

type AnvilOptions = {
baseURL: string | null;
userAgent: string | null;
requestLimit: number | null;
requestLimitMS: number | null;
apiKey: string | null;
accessToken: string | null;
baseURL?: string;
userAgent?: string;
requestLimit?: number;
requestLimitMS?: number;
apiKey?: string;
accessToken?: string;
};
//# sourceMappingURL=index.d.ts.map

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