Skip to content
This repository has been archived by the owner on Nov 6, 2021. It is now read-only.

Releases: lmmfranco/nintendo-switch-eshop

v2.2.7

04 Feb 21:28
Compare
Choose a tag to compare

2.2.7 (2019-12-10)

Bug Fixes

v2.2.6

04 Feb 21:28
Compare
Choose a tag to compare

2.2.6 (2019-11-27)

Bug Fixes

v2.2.5

04 Feb 21:28
Compare
Choose a tag to compare

2.2.5 (2019-11-22)

Bug Fixes

v2.2.3

04 Feb 21:27
Compare
Choose a tag to compare

2.2.3 (2019-09-11)

Bug Fixes

  • typing get games america (2d756b9)

2.2.1

24 Aug 08:19
Compare
Choose a tag to compare

2.2.1 - 2019-08-05

Fixes

  • Fixed getShopsByCountryCodes by building with rollup-plugin-json included

Fixes and Restructures

01 Aug 21:57
Compare
Choose a tag to compare

Fixes

  • Fixed getGamesAmerica to use the new Algolia based API. At last! Many thanks to @endy124 for their work on this!

Changed

  • Restructured project
    • Now produces optimal bundles with Rollup
    • Proper JSDoc generation
    • Keeping a changelog
    • Cleaner editorconfig and thus coding style
    • GitHub issue and pull request and a contributing guide
    • Better CircleCI configuration

Hotfix: country-data types in dependencies

26 Feb 21:53
Compare
Choose a tag to compare

🔥 Hotfix

  • Moved @types/country-data to devDependencies thinking that would be okay but apparently it is not as it breaks TypeScript builds. So sorry! This should fix these kind of errors that were present in v2.1.0:
$ tsc
node_modules/nintendo-switch-eshop/dist/interfaces.d.ts:1:25 - error TS7016: Could not find a declaration file for module 'country-data'. '/home/favna/dev/ribbon/node_modules/country-data/index.js' implicitly has an 'any' type.
  Try `npm install @types/country-data` if it exists or add a new declaration (.d.ts) file containing `declare module 'country-data';`

1 import { Country } from 'country-data';
                          ~~~~~~~~~~~~~~


Found 1 error.

error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
➜  ribbon git:(master)

Fixes galore

26 Feb 11:35
Compare
Choose a tag to compare

This releases fixes various issues that cropped up in the lib during conversion to TypeScript

🛠 Bugfixes & enhancements

  • Get rid of Gulp for development environment => NPM Scripts suffice just fine
  • Move @types to devDependencies where they belong => No more installed along with the package
  • Change to terser-folder => Better ES6 support
  • Fixed looping in getGamesAmerica => The lib loops for you again now, sorry for breaking that!
  • Fixed looping in getPrices => Related to the other looping issue, now fixed again!

🎉 Features

  • Expose GameUS, GameEU and GameJP interface for TypeScript users
  • Allow for the getGamesAmerica shop property to be 'unfiltered'. This will remove the property from the API request and return everything possible

🧪 Testing

  • We now also test that looping of getGamesAmerica works properly

Rebuild from group up

19 Jan 16:43
Compare
Choose a tag to compare

Please Note:

This update is entirely breaking to anyone previously using v1.x versions of this lib. Please view the new usage documentation in the README

  • Reworked in TypeScript (builds are still in JS)
    • Auto generated .d.ts for the TypeScript users
    • Type safety as well
  • Lib now uses async/await instead of Promises
  • NPM installs are minified and mangled (with UglifyJS)
  • Syntax for importing is changed

Q: Where is 2.0.0?
A: In the void because we forgot to update the README