- optimize fetchApi selector
- try to get rid of top-level await
- fix for Deno 2 and removal of unnecessary .cjs file
- for esm build environments not supporting top-level await, you should import the
locize-lastused/cjs
export or stay at v3.4.1
- optimize fetchApi selector [backported]
- fix: remove typeof window.document === 'undefined' check which deopt bundle optimization
- fix: separate cjs and mjs typings
- fix for browser usage
- update deps
- hack for debug mode in react-native
- fix for types moduleResolution "node16"
- add type definitions
- error if no fetch and no xhr implementation found
- if options not passed, try to use the one of i18next-locize-backend
- update dependencies
- replace internal node-fetch with cross-fetch
- XMLHttpRequest fix for ios < 9
- update dependencies
- transpile also esm
- fix xhr response handling
- do not try to load node-fetch in browser
- fix for non-fetch browsers using locizeLastUsed.js
- replace spread operator with defaults function
- fix exports for react-native
- dedicated export for node v14
- fix for react-native
- fix for bundlers like rollup
- complete refactoring to make this module universal (replaces locize-node-lastused)
- using the new
locize.app
domain replacing the deprecatedlocize.io
domain - updated dev dependencies
- update build process
- remove bower stuff
- warn for missing options
- allow to define a list of allowed hosts to send lastUsed data - defaults to localhost
- initial version