ratson/react-intl-redux

Published npm package has old transpiled code for IntlProvider

Closed this issue · 1 comments

The transpiled code in the currently published version on npm (2.0.1) is missing this change to IntlProvider from 2.0.0:

Use locale as key for IntlProvider by default

Instead it has this (in lib/components/IntlProvider.js, line 12) :

function defaultSelector(state) {
  return state.intl;
}

However, src/components/IntlProvider.js has the most recent code so I'm not sure what happened.
Looks like it will need to be re-published.

@sherab Thank you for reporting, it seems the prepublish script was not run correctly, publish v2.0.2 to fix.