Skip to content
This repository has been archived by the owner on Dec 15, 2023. It is now read-only.

Commit

Permalink
Prepare 0.4.1 (#115)
Browse files Browse the repository at this point in the history
* Release 0.4.1

* Added prettier rule to fix single quotes, aligned with linting rules

* Upgraded to latest auth0-js
  • Loading branch information
Steve Hobbs authored Dec 19, 2019
1 parent 7868f02 commit aa3d91a
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 19 deletions.
39 changes: 27 additions & 12 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,43 @@
# Change Log

## [v0.4.1](https://github.com/auth0/auth0-cordova/tree/v0.4.0) (2019-10-16)

[Full Changelog](https://github.com/auth0/auth0-cordova/compare/v0.4.0...v0.4.1)

**Changed**

Bumped auth0-js to 9.12.0 for better OIDC compliance [\113](https://github.com/auth0/auth0-cordova/pull/113) ([stevehobbsdev](https://github.com/stevehobbsdev))

## [v0.4.0](https://github.com/auth0/auth0-cordova/tree/v0.4.0) (2019-10-16)

[Full Changelog](https://github.com/auth0/auth0-cordova/compare/v0.3.0...v0.4.0)

**Changed**

- Reformatted telemetry object [\#110](https://github.com/auth0/auth0-cordova/pull/110) ([stevehobbsdev](https://github.com/stevehobbsdev))
- Updated dependencies to fix vulnerabilities [\#111](https://github.com/auth0/auth0-cordova/pull/111) ([stevehobbsdev](https://github.com/stevehobbsdev))

## [v0.3.0](https://github.com/auth0/auth0-cordova/tree/v0.4.0) (2017-12-26)

[Full Changelog](https://github.com/auth0/auth0-cordova/compare/v0.2.0...v0.3.0)

**Changed**

- Deprecate Cordova sample [\#47](https://github.com/auth0/auth0-cordova/pull/47) ([chenkie](https://github.com/chenkie))
- Docs refer to client but it doesn't exist [\#61](https://github.com/auth0/auth0-cordova/pull/47) ([JohnMcLear](https://github.com/JohnMcLear))
- Docs refer to client but it doesn't exist [\#61](https://github.com/auth0/auth0-cordova/pull/47) ([JohnMcLear](https://github.com/JohnMcLear))
- Updated Auth0.js version to 9.0.0 [\#53](https://github.com/auth0/auth0-cordova/pull/53) ([aaguiarz](https://github.com/aaguiarz))
- Update to handle Auth0.js 9 and Update Example to Cordova 8.0 ([faafd9](https://github.com/auth0/auth0-cordova/commit/faafd9644f06853b55df516cbd2915b1a1eeead5)) ([darkyen](https://github.com/darkyen))

## [v0.2.0](https://github.com/auth0/auth0-cordova/tree/v0.2.0) (2017-07-07)

[Full Changelog](https://github.com/auth0/auth0-cordova/compare/v0.1.0...v0.2.0)

**Changed**

- Handle InAppBrowser exit event correctly [\#34](https://github.com/auth0/auth0-cordova/pull/34) ([decates](https://github.com/decates))

## [v0.1.0](https://github.com/auth0/auth0-cordova/tree/v0.1.0) (2017-05-07)

[Full Changelog](https://github.com/auth0/auth0-cordova/tree/v0.1.0)

### Requirements
Expand All @@ -43,8 +58,8 @@ cordova plugin add cordova-plugin-customurlscheme --variable URL_SCHEME={applica
So if you have the following values

* application package name or widget identifier: com.auth0.cordova.example
* auth0 domain: samples.auth0.com
- application package name or widget identifier: com.auth0.cordova.example
- auth0 domain: samples.auth0.com

in your config you should have some entries like

Expand All @@ -69,17 +84,17 @@ npm install @auth0/cordova
then in your index.js you need to register the url handler `ondeviceready`

```js
var Auth0Cordova = require('@auth0/cordova');
var Auth0Cordova = require("@auth0/cordova");

function main() {
function handlerUrl(url) {
Auth0Cordova.onRedirectUri(url);
}
window.handleOpenURL = handlerUrl;
// init your application
function handlerUrl(url) {
Auth0Cordova.onRedirectUri(url);
}
window.handleOpenURL = handlerUrl;
// init your application
}

document.addEventListener('deviceready', main);
document.addEventListener("deviceready", main);
```

### Usage
Expand All @@ -92,10 +107,10 @@ const auth0 = new Auth0Cordova({
});

const options = {
scope: 'openid profile',
scope: "openid profile"
};

client.authorize(options, function (err, result) {
client.authorize(options, function(err, result) {
if (err) {
// failure
}
Expand Down
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@auth0/cordova",
"version": "0.4.0",
"version": "0.4.1",
"description": "Auth0 integration for Cordova applications",
"main": "src/index.js",
"scripts": {
Expand Down Expand Up @@ -33,7 +33,7 @@
},
"homepage": "https://github.com/auth0/auth0-cordova#readme",
"dependencies": {
"auth0-js": "^9.12.0",
"auth0-js": "^9.12.1",
"url-parse": "^1.4.3"
},
"devDependencies": {
Expand All @@ -53,5 +53,8 @@
"mocha-junit-reporter": "^1.23.1",
"mocha-multi": "^1.1.3",
"webpack": "^2.4.1"
},
"prettier": {
"singleQuote": true
}
}
2 changes: 1 addition & 1 deletion src/version.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = { raw: '0.4.0' };
module.exports = { raw: '0.4.1' };
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -255,10 +255,10 @@ atob@^2.1.1:
resolved "https://registry.yarnpkg.com/atob/-/atob-2.1.2.tgz#6d9517eb9e030d2436666651e86bd9f6f13533c9"
integrity sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==

auth0-js@^9.12.0:
version "9.12.0"
resolved "https://registry.yarnpkg.com/auth0-js/-/auth0-js-9.12.0.tgz#6b8ac52767382366b1f81d85e394329174c54dc3"
integrity sha512-OnI04ISKF7SGOlP8MFqnVUNPwVaceynwkjA6f55z2CsZaUXynTTiTtGRhyU2c88kR4skPx1si0SKowzzy38+aw==
auth0-js@^9.12.1:
version "9.12.1"
resolved "https://registry.yarnpkg.com/auth0-js/-/auth0-js-9.12.1.tgz#ffe76acdbd66ad61a0a71c818d69a599c8228937"
integrity sha512-0BqClX8iRYWeX8lM6V1h9Yg0ZSxs+naM+dMiknfdwr8g7HNLEXqRc1Wx4iZUJfF4PTU5pDksRkiWvjDFQbt2SA==
dependencies:
base64-js "^1.3.0"
idtoken-verifier "^2.0.0"
Expand Down

0 comments on commit aa3d91a

Please sign in to comment.