netlify-identity-widget
Advanced tools
Comparing version 1.9.1 to 1.9.2
@@ -10,2 +10,43 @@ # Changelog | ||
## [v1.9.2](https://github.com/netlify/netlify-identity-widget/compare/v1.9.1...v1.9.2) | ||
### Merged | ||
- fix: remove identity prefix from site URL if exists [`#482`](https://github.com/netlify/netlify-identity-widget/pull/482) | ||
- feat: Czech and Slovak translations [`#439`](https://github.com/netlify/netlify-identity-widget/pull/439) | ||
- chore(deps): update dependency gh-release to v5 [`#422`](https://github.com/netlify/netlify-identity-widget/pull/422) | ||
- feat: add polish translations [`#409`](https://github.com/netlify/netlify-identity-widget/pull/409) | ||
- chore(deps): update dependency webpack-cli to v4 [`#387`](https://github.com/netlify/netlify-identity-widget/pull/387) | ||
- chore(renovate): add pr labels [`#374`](https://github.com/netlify/netlify-identity-widget/pull/374) | ||
- chore(deps): update dependency eslint-config-prettier to v8 [`#431`](https://github.com/netlify/netlify-identity-widget/pull/431) | ||
- chore(deps): bump elliptic from 6.5.3 to 6.5.4 [`#436`](https://github.com/netlify/netlify-identity-widget/pull/436) | ||
- chore(deps): bump elliptic from 6.5.3 to 6.5.4 in /example/react [`#437`](https://github.com/netlify/netlify-identity-widget/pull/437) | ||
- chore(deps): bump ssri from 6.0.1 to 6.0.2 in /example/react [`#444`](https://github.com/netlify/netlify-identity-widget/pull/444) | ||
- chore(deps): bump ssri from 6.0.1 to 6.0.2 [`#446`](https://github.com/netlify/netlify-identity-widget/pull/446) | ||
- chore(deps): bump handlebars from 4.7.6 to 4.7.7 [`#448`](https://github.com/netlify/netlify-identity-widget/pull/448) | ||
- chore(deps): bump url-parse from 1.4.7 to 1.5.1 [`#449`](https://github.com/netlify/netlify-identity-widget/pull/449) | ||
- chore(deps): bump url-parse from 1.4.7 to 1.5.1 in /example/react [`#450`](https://github.com/netlify/netlify-identity-widget/pull/450) | ||
- Fix: Replacement typo on `white-space` property [`#435`](https://github.com/netlify/netlify-identity-widget/pull/435) | ||
- Add branded README image [`#434`](https://github.com/netlify/netlify-identity-widget/pull/434) | ||
- chore(deps): update actions/setup-node action to v2 [`#411`](https://github.com/netlify/netlify-identity-widget/pull/411) | ||
- chore(deps): lock file maintenance [`#392`](https://github.com/netlify/netlify-identity-widget/pull/392) | ||
- chore(deps): update babel monorepo [`#390`](https://github.com/netlify/netlify-identity-widget/pull/390) | ||
- chore(deps): update babel monorepo [`#338`](https://github.com/netlify/netlify-identity-widget/pull/338) | ||
- chore(deps): bump node-fetch from 2.6.0 to 2.6.1 [`#364`](https://github.com/netlify/netlify-identity-widget/pull/364) | ||
- chore: module example code typo [`#359`](https://github.com/netlify/netlify-identity-widget/pull/359) | ||
- feat: Russian translation [`#354`](https://github.com/netlify/netlify-identity-widget/pull/354) | ||
- chore: clarify use of global script version [`#357`](https://github.com/netlify/netlify-identity-widget/pull/357) | ||
- feat: Portuguese translation [`#352`](https://github.com/netlify/netlify-identity-widget/pull/352) | ||
- fix: add missing translations [`#353`](https://github.com/netlify/netlify-identity-widget/pull/353) | ||
### Fixed | ||
- chore: clarify use of global script version (#357) [`#355`](https://github.com/netlify/netlify-identity-widget/issues/355) | ||
### Commits | ||
- Update yarn lockfile [`ad7d5c6`](https://github.com/netlify/netlify-identity-widget/commit/ad7d5c6c89cf2006f8f78619f42edaf2abe84a63) | ||
- chore(deps): update jest monorepo to v26.6.3 [`6fadf3b`](https://github.com/netlify/netlify-identity-widget/commit/6fadf3b4ca834f097647e95f966fc877cdc7bf30) | ||
- chore(deps): update dependency eslint to v7.26.0 [`e47ee6f`](https://github.com/netlify/netlify-identity-widget/commit/e47ee6fd642581cc67fc2d1e05cb26fc4f632f35) | ||
## [v1.9.1](https://github.com/netlify/netlify-identity-widget/compare/v1.9.0...v1.9.1) - 2020-07-30 | ||
@@ -12,0 +53,0 @@ |
{ | ||
"name": "netlify-identity-widget", | ||
"description": "Netlify Identity widget for easy integration", | ||
"version": "1.9.1", | ||
"version": "1.9.2", | ||
"author": "Matt Biilmann <matt@netlify.com>", | ||
@@ -29,3 +29,3 @@ "bugs": { | ||
"eslint": "^7.2.0", | ||
"eslint-config-prettier": "^6.11.0", | ||
"eslint-config-prettier": "^8.0.0", | ||
"eslint-plugin-import": "^2.21.1", | ||
@@ -35,3 +35,3 @@ "eslint-plugin-prettier": "^3.1.3", | ||
"file-loader": "^6.0.0", | ||
"gh-release": "^3.4.0", | ||
"gh-release": "^5.0.0", | ||
"gotrue-js": "^0.9.26", | ||
@@ -54,3 +54,3 @@ "html-webpack-plugin": "^4.3.0", | ||
"webpack": "^4.0.0", | ||
"webpack-cli": "^3.3.11", | ||
"webpack-cli": "^4.0.0", | ||
"webpack-dev-server": "^3.0.0", | ||
@@ -57,0 +57,0 @@ "webpack-node-externals": "^2.5.0" |
@@ -1,2 +0,2 @@ | ||
# Netlify Identity Widget | ||
![Netlify Identity Widget](identity.png) | ||
@@ -62,2 +62,3 @@ [![npm version](https://badge.fury.io/js/netlify-identity-widget.svg)](https://badge.fury.io/js/netlify-identity-widget) | ||
// Get the current user: | ||
// Available after on('init') is invoked | ||
const user = netlifyIdentity.currentUser(); | ||
@@ -82,3 +83,5 @@ | ||
netlifyIdentity.logout(); | ||
// refresh the user's JWT | ||
// Refresh the user's JWT | ||
// Call in on('login') handler to ensure token refreshed after it expires (1hr) | ||
// Note: this method returns a promise. | ||
@@ -111,3 +114,3 @@ netlifyIdentity.refresh().then((jwt)=>console.log(jwt)) | ||
netlifyIdentity.init({ | ||
container: '#netlify-modal' // defaults to document.body, | ||
container: '#netlify-modal', // defaults to document.body | ||
locale: 'en' // defaults to 'en' | ||
@@ -160,4 +163,3 @@ }); | ||
namePlaceholder: 'some-placeholder-for-Name'; // custom placeholder for name input form | ||
locale: 'en'; // language code for translations - available: en, fr, es - default to en | ||
} | ||
locale: 'en'; // language code for translations - available: en, fr, es, pt, hu, pl, cs, sk - default to en | ||
``` | ||
@@ -164,0 +166,0 @@ |
@@ -5,3 +5,4 @@ { | ||
"semanticCommits": true, | ||
"labels": ["dependencies, type: chore"], | ||
"masterIssue": true | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
1864729
25
2015
211