UNPKG

@anvilco/anvil

Version:
269 lines (193 loc) 15.6 kB
# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [v3.3.2] - Update the default `createEtchPacket` mutation to support `allowUpdates`[`#502`](https://github.com/anvilco/node-anvil/pull/502) ## [v3.3.1] - Added a `NodeError` type. https://github.com/anvilco/node-anvil/issues/476 - Updated various dependencies ## [v3.3.0] - Add support for `arrayBuffer` response type. - Use `arrayBuffer` type underneath `buffer` response type to stop triggering `buffer` deprecation warning. https://github.com/anvilco/node-anvil/pull/442 - Updated various dependencies ## [v3.2.0] - Swap out `node-fetch` for `@anvilco/node-fetch` in order to fix `Premature close`. https://github.com/anvilco/node-fetch/pull/1 - Fixed bug around some error handling. https://github.com/anvilco/node-anvil/issues/376 - Updated various dependencies ## [v3.1.0] - Update `node-fetch` to latest and drop `form-data`. https://github.com/anvilco/node-anvil/issues/239 - Update various dependencies ## [v3.0.1] - Fix "double-default" ESM exports, but also leave for backwards compatibility. https://github.com/anvilco/node-anvil/issues/354 ## [v3.0.0] - BREAKING: Drop support for `Node 12`. - BREAKING: Changed to `ES6` style exports. - Add support for `Node 20`. - Babelizing the source to `/dist`. - Dropped some dev dependencies. - Dependency updates. ## [v2.15.1] - Non-dynamic `require`s in GraphQL modules. - Dependency updates. ## [v2.15.0] - Assert that the `filename` property is (likely) there [`312`](https://github.com/anvilco/node-anvil/pull/312) - Dependency updates. ## [v2.14.1] - Dependency updates. Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). ## [v2.14.0](https://github.com/anvilco/node-anvil/compare/v2.13.1...v2.14.0) ### Merged - roll back node-fetch to not warn about form-data [`#238`](https://github.com/anvilco/node-anvil/pull/238) - [1-min] update extract files [`#236`](https://github.com/anvilco/node-anvil/pull/236) - Bump node-fetch from 2.6.7 to 3.3.0 [`#212`](https://github.com/anvilco/node-anvil/pull/212) - Bump eslint-plugin-promise from 6.0.0 to 6.1.1 [`#204`](https://github.com/anvilco/node-anvil/pull/204) - Bump @types/node from 17.0.35 to 18.11.18 [`#226`](https://github.com/anvilco/node-anvil/pull/226) - Bump @babel/eslint-parser from 7.18.2 to 7.19.1 [`#188`](https://github.com/anvilco/node-anvil/pull/188) - Bump eslint-plugin-react from 7.30.0 to 7.32.1 [`#235`](https://github.com/anvilco/node-anvil/pull/235) - Bump typescript from 4.7.2 to 4.9.4 [`#222`](https://github.com/anvilco/node-anvil/pull/222) - Bump json5 from 1.0.1 to 1.0.2 [`#228`](https://github.com/anvilco/node-anvil/pull/228) - Bump eslint-plugin-n from 15.2.0 to 15.6.1 [`#232`](https://github.com/anvilco/node-anvil/pull/232) - Bump eslint from 8.16.0 to 8.32.0 [`#230`](https://github.com/anvilco/node-anvil/pull/230) - Bump @babel/core from 7.18.2 to 7.20.12 [`#229`](https://github.com/anvilco/node-anvil/pull/229) - Update queries and mutations [`#234`](https://github.com/anvilco/node-anvil/pull/234) ## [v2.13.1](https://github.com/anvilco/node-anvil/compare/v2.13.0...v2.13.1) ### Merged - Remove `?.` usage to support older node versions [`#181`](https://github.com/anvilco/node-anvil/pull/181) ## [v2.13.0](https://github.com/anvilco/node-anvil/compare/v2.12.0...v2.13.0) - 2022-09-09 ### Merged - Updated types [`#180`](https://github.com/anvilco/node-anvil/pull/180) - Add `versionNumber` support for fillPDF [`#179`](https://github.com/anvilco/node-anvil/pull/179) ### Commits - Add VERSION_LATEST_PUBLISHED, documentation [`ffa8ab7`](https://github.com/anvilco/node-anvil/commit/ffa8ab70ae9dad186a5989d5d2a9829aa7b3cd25) ## [v2.12.0](https://github.com/anvilco/node-anvil/compare/v2.11.1...v2.12.0) - 2022-07-14 ### Merged - Improve TypeScript types [`#153`](https://github.com/anvilco/node-anvil/pull/153) ### Commits - Bump nodemon from 2.0.16 to 2.0.19 [`d4c7b2a`](https://github.com/anvilco/node-anvil/commit/d4c7b2ab418f610321edd20c194f3715a04cc981) - More response types [`0d3c332`](https://github.com/anvilco/node-anvil/commit/0d3c332f557e716ad6633922ae33f4fa5ea5cb91) - Improve optional arguments [`19f6365`](https://github.com/anvilco/node-anvil/commit/19f6365e1a8fb865d291ff6eb2c754f09c237b88) ## [v2.11.1](https://github.com/anvilco/node-anvil/compare/v2.11.0...v2.11.1) - 2022-05-25 ### Merged - Upgrade the babel deps [`#129`](https://github.com/anvilco/node-anvil/pull/129) - Upgrade dependencies [`#126`](https://github.com/anvilco/node-anvil/pull/126) - Fix readme broken link [`#125`](https://github.com/anvilco/node-anvil/pull/125) - Update Readme to include Anvil description [`#124`](https://github.com/anvilco/node-anvil/pull/124) ### Commits - Upgrade packages [`fcbe1ab`](https://github.com/anvilco/node-anvil/commit/fcbe1ab8310b89faa86ac5bcdd88b60cb52bb75e) - Fix lint errors [`a8d7c8b`](https://github.com/anvilco/node-anvil/commit/a8d7c8baad6a74c52f96ac3ef09c79f9c4092898) - Integrate the blurb [`6c24f32`](https://github.com/anvilco/node-anvil/commit/6c24f322a8a2aa98008c991b37890785dcec50a7) ## [v2.11.0](https://github.com/anvilco/node-anvil/compare/v2.10.1...v2.11.0) - 2022-05-11 ### Merged - Add mergePDFs support to createEtchPacket [`#119`](https://github.com/anvilco/node-anvil/pull/119) - Bump sinon from 13.0.1 to 13.0.2 [`#108`](https://github.com/anvilco/node-anvil/pull/108) - Bump @types/node from 17.0.23 to 17.0.25 [`#109`](https://github.com/anvilco/node-anvil/pull/109) ### Commits - Update example script with mergePDFs info [`9e69cfa`](https://github.com/anvilco/node-anvil/commit/9e69cfa72dfa8fc202525e13ba1c9f87b9c8c0bc) - Add mergePDFs support on mutation [`5ea0557`](https://github.com/anvilco/node-anvil/commit/5ea05574a7f1c48cd24ee33ccf8feb2cd55c6ce9) ## [v2.10.1](https://github.com/anvilco/node-anvil/compare/v2.10.0...v2.10.1) - 2022-04-05 ### 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) ### Commits - Add JSDoc comments for some func params [`4c28568`](https://github.com/anvilco/node-anvil/commit/4c285686efb0c27549da97dae72ceb3ac5ad4b58) - Move dist -> types, "types" in package.json [`627b5c1`](https://github.com/anvilco/node-anvil/commit/627b5c1734df38568a21ba7fb00cb34c5ff39065) - Add typescript types [`8e25ca4`](https://github.com/anvilco/node-anvil/commit/8e25ca4e830ad80b9cdc4abe8a9a6ad8847f645d) ## [v2.9.4](https://github.com/anvilco/node-anvil/compare/v2.9.3...v2.9.4) - 2022-03-25 ### Merged - Update the readme intro to be more informative [`#101`](https://github.com/anvilco/node-anvil/pull/101) ### Commits - Update the intro to be more informative [`fffcbbc`](https://github.com/anvilco/node-anvil/commit/fffcbbc89910280a39c46036167d0c1d04a7ba2e) ## [v2.9.3](https://github.com/anvilco/node-anvil/compare/v2.2.0...v2.9.3) - 2022-03-25 ### Merged - Upgrade dependencies [`#99`](https://github.com/anvilco/node-anvil/pull/99) - Bump mocha from 8.1.3 to 9.1.3 [`#70`](https://github.com/anvilco/node-anvil/pull/70) - Bump sinon from 9.0.1 to 11.1.2 [`#66`](https://github.com/anvilco/node-anvil/pull/66) - Bump eslint from 6.8.0 to 7.32.0 [`#74`](https://github.com/anvilco/node-anvil/pull/74) - Bump eslint-plugin-node from 11.0.0 to 11.1.0 [`#77`](https://github.com/anvilco/node-anvil/pull/77) - Bump auto-changelog from 2.2.1 to 2.3.0 [`#75`](https://github.com/anvilco/node-anvil/pull/75) - Bump eslint-plugin-promise from 4.2.1 to 4.3.1 [`#73`](https://github.com/anvilco/node-anvil/pull/73) - Bump eslint-plugin-standard from 4.0.1 to 5.0.0 [`#61`](https://github.com/anvilco/node-anvil/pull/61) - Bump nodemon from 2.0.4 to 2.0.14 [`#72`](https://github.com/anvilco/node-anvil/pull/72) - Bump chai from 4.2.0 to 4.3.4 [`#64`](https://github.com/anvilco/node-anvil/pull/64) - Bump eslint-plugin-no-only-tests from 2.4.0 to 2.6.0 [`#68`](https://github.com/anvilco/node-anvil/pull/68) - Bump bdd-lazy-var from 2.5.4 to 2.6.1 [`#69`](https://github.com/anvilco/node-anvil/pull/69) - Bump eslint-plugin-import from 2.20.0 to 2.25.2 [`#71`](https://github.com/anvilco/node-anvil/pull/71) - Handle different error patterns better [`#54`](https://github.com/anvilco/node-anvil/pull/54) - Bump babel-eslint from 10.0.3 to 10.1.0 [`#60`](https://github.com/anvilco/node-anvil/pull/60) - Bump sinon-chai from 3.5.0 to 3.7.0 [`#62`](https://github.com/anvilco/node-anvil/pull/62) - Bump eslint-plugin-react from 7.18.0 to 7.26.1 [`#63`](https://github.com/anvilco/node-anvil/pull/63) - Bump eslint-config-standard from 14.1.0 to 14.1.1 [`#59`](https://github.com/anvilco/node-anvil/pull/59) - [1-min] add dependabot yaml [`#55`](https://github.com/anvilco/node-anvil/pull/55) - Bump path-parse from 1.0.6 to 1.0.7 [`#52`](https://github.com/anvilco/node-anvil/pull/52) - Improve docs [`#51`](https://github.com/anvilco/node-anvil/pull/51) - Bump glob-parent from 5.1.0 to 5.1.2 [`#49`](https://github.com/anvilco/node-anvil/pull/49) - Bump normalize-url from 4.5.0 to 4.5.1 [`#50`](https://github.com/anvilco/node-anvil/pull/50) - Adjust rate limiting dynamically based on API response [`#48`](https://github.com/anvilco/node-anvil/pull/48) - bump handlebars to 4.7.7 [`#47`](https://github.com/anvilco/node-anvil/pull/47) - Bump hosted-git-info from 2.8.5 to 2.8.9 [`#46`](https://github.com/anvilco/node-anvil/pull/46) - Bump lodash from 4.17.19 to 4.17.21 [`#45`](https://github.com/anvilco/node-anvil/pull/45) - [security] update lockfile to fix security vuln [`#42`](https://github.com/anvilco/node-anvil/pull/42) - Allow passing ratelimit options to the client [`#41`](https://github.com/anvilco/node-anvil/pull/41) - allow null values for forge update mutation [`#37`](https://github.com/anvilco/node-anvil/pull/37) - add forgeSubmit and removeWeldData [`#40`](https://github.com/anvilco/node-anvil/pull/40) - Bump y18n from 4.0.0 to 4.0.1 [`#39`](https://github.com/anvilco/node-anvil/pull/39) - fix a bug that can happen when parsing errors in node client [`#38`](https://github.com/anvilco/node-anvil/pull/38) - Update createEtchPacket example to use IRS W-4 / NDA [`#36`](https://github.com/anvilco/node-anvil/pull/36) - Bump ini from 1.3.5 to 1.3.8 [`#34`](https://github.com/anvilco/node-anvil/pull/34) - v2.6.0 [`#33`](https://github.com/anvilco/node-anvil/pull/33) - Add webhookURL to default createEtchPacket mutation [`#32`](https://github.com/anvilco/node-anvil/pull/32) - v2.5.0 [`#31`](https://github.com/anvilco/node-anvil/pull/31) - Add generatePDF() function [`#30`](https://github.com/anvilco/node-anvil/pull/30) - v2.4.0 [`#29`](https://github.com/anvilco/node-anvil/pull/29) - Add `signatureProvider` to `createEtchPacket` Mutation [`#28`](https://github.com/anvilco/node-anvil/pull/28) - v2.3.0 [`#27`](https://github.com/anvilco/node-anvil/pull/27) - Add getEtchPacket and downloadDocuments Methods [`#26`](https://github.com/anvilco/node-anvil/pull/26) ### Commits - Upgrade more [`951cdfa`](https://github.com/anvilco/node-anvil/commit/951cdfa9cdc69194f9e5ed72f10be167f8b18459) - Update the create-etch-packet example to use the same docs as demo [`43bc77d`](https://github.com/anvilco/node-anvil/commit/43bc77d766e59a9c9d713958dfa460a51b246190) - tests for downloadDocuments, generateEtchSignUrl, getEtchPacket [`dec02fb`](https://github.com/anvilco/node-anvil/commit/dec02fb1831b148a7b23ddee4c85453cfe1f6c75) ## [v2.2.0](https://github.com/anvilco/node-anvil/compare/v1.0.3...v2.2.0) - 2020-09-29 ### Merged - Cut new version: v2.2.0 [`#25`](https://github.com/anvilco/node-anvil/pull/25) - Add `aliasId` AND `routingOrder` to `createEtchPacket` mutation query response default [`#24`](https://github.com/anvilco/node-anvil/pull/24) - rename send to draft (and flip the logic) in createEtchPacket [`#23`](https://github.com/anvilco/node-anvil/pull/23) - no organizationEid allowed when calling via API key [`#22`](https://github.com/anvilco/node-anvil/pull/22) - change fillPayload param to just data [`#21`](https://github.com/anvilco/node-anvil/pull/21) - Fix file upload related stuff to reflect reality [`#20`](https://github.com/anvilco/node-anvil/pull/20) - Etch API Support for Embedded Signers [`#18`](https://github.com/anvilco/node-anvil/pull/18) - Bump node-fetch from 2.6.0 to 2.6.1 [`#19`](https://github.com/anvilco/node-anvil/pull/19) - Add support for GraphQL API, starting with createEtchPacket [`#16`](https://github.com/anvilco/node-anvil/pull/16) - v2.1.0 [`#14`](https://github.com/anvilco/node-anvil/pull/14) - replace `request` with `node-fetch` [`#13`](https://github.com/anvilco/node-anvil/pull/13) - Bump lodash from 4.17.15 to 4.17.19 [`#12`](https://github.com/anvilco/node-anvil/pull/12) - Add back in the dirName and add ability to autogen CHANGELOG [`#11`](https://github.com/anvilco/node-anvil/pull/11) - Use module.exports instead of import/export [`#10`](https://github.com/anvilco/node-anvil/pull/10) - Target node 8; remove regeneratorRuntime dependency [`#5`](https://github.com/anvilco/node-anvil/pull/5) - Dependencies update to mitigate security vulnerability [`#9`](https://github.com/anvilco/node-anvil/pull/9) - Bump acorn from 7.1.0 to 7.1.1 [`#8`](https://github.com/anvilco/node-anvil/pull/8) ### Commits - don't need babel anymore [`2b9daad`](https://github.com/anvilco/node-anvil/commit/2b9daad80b47a82a5e3493e70b6341aad4bee18d) - dependency upgrades: nodemon, mocha, and yargs due to dot-prop and yargs-parser vulnerabilities [`c118d23`](https://github.com/anvilco/node-anvil/commit/c118d234c4717a429b8ebda8c1f69e1002c11f56) - bump deps to get minimist to >= 1.2.2 [`26e4cd1`](https://github.com/anvilco/node-anvil/commit/26e4cd1d9d2f3070309f85f3fb21e5f7cab484fa) ## [v1.0.3](https://github.com/anvilco/node-anvil/compare/v1.0.2...v1.0.3) - 2020-02-05 ### Commits - Add registry ovrride for @anvilco [`c2bcdd6`](https://github.com/anvilco/node-anvil/commit/c2bcdd629806124f09b7fe56d13a3d5c301d415c) - Ignore example [`82b5340`](https://github.com/anvilco/node-anvil/commit/82b53403be3ce73190a3c3cce2a1e1a61b619d03) ## [v1.0.2](https://github.com/anvilco/node-anvil/compare/v1.0.1...v1.0.2) - 2020-02-05 ### Commits - Add public NPM registry [`6e5532e`](https://github.com/anvilco/node-anvil/commit/6e5532e148171571e92ca82c7a0babe5f5dabea3) ## v1.0.1 - 2020-02-05 ### Merged - Return all errors that come from the server [`#3`](https://github.com/anvilco/node-anvil/pull/3) - Bo readme changes [`#2`](https://github.com/anvilco/node-anvil/pull/2) - Few suggestions [`#1`](https://github.com/anvilco/node-anvil/pull/1) ### Commits - Initial [`186d2f1`](https://github.com/anvilco/node-anvil/commit/186d2f1258a335687fd40a77fa08600c4f2633ba) - Add initial client and cli example [`09a2873`](https://github.com/anvilco/node-anvil/commit/09a28733142597a0fb4ef13dd8fdbeee50c55c43) - Add test:watch command [`7f07f15`](https://github.com/anvilco/node-anvil/commit/7f07f15521df392655976d51b9378c1b6c3e6837)