Skip to content
This repository has been archived by the owner on Mar 12, 2022. It is now read-only.

v4.0.0

Compare
Choose a tag to compare
@dweinstein dweinstein released this 21 Aug 22:00
· 39 commits to master since this release

For full set of changes see #45

breaking changes

  • change to the options args passed into the library. now simplified to an object rather than trying to support positional parameters
  • default API and download user agent has been replaced with those from a Nexus 5X device. Please note that you can override the user agents via the options object as mentioned in the README
  • added info to README about getting user agents and device id to override via the new options object
  • the default device profile has also been changed for travis builds to reflect the new device profile.

breaking field changes

By using a newer device model some of the fields have changed (and some previously unpopulated fields are now populated).

e.g.,

  • details.appDetails.numDownloads field now returns something like "100,000+ downloads" -- this is an upstream change from google.
  • details.appDetails.certificateHash - now returning an empty array as it is deprecated by details.appDetails.certificateSet which returns an array of objects with certificateHash field set.

new features

  • support for downloading additional files API thanks to @CommonRaven

dev changes

  • will now use semistandard to lint the code before tests... hopefully encourage a little cleaner code throughout
  • so far I've given up the refactor branch in favor of incremental changes to master... babel was just too annoying to work with to get the benefit of async and await
  • switched over from tape to tap for tests... not sure why but I liked the different report options from tap incase we decide to change things up