@anvilco/anvil
Advanced tools
Comparing version 2.10.0 to 2.10.1
@@ -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 @@ |
{ | ||
"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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
411261
51
1