Skip to content

Commit

Permalink
Release 1.2.0 (#176)
Browse files Browse the repository at this point in the history
* Release 1.2.0

* docs
  • Loading branch information
luisrudge authored Aug 26, 2019
1 parent 3c627c3 commit 55b44c3
Show file tree
Hide file tree
Showing 24 changed files with 34,247 additions and 10,996 deletions.
3,008 changes: 2,238 additions & 770 deletions docs/assets/css/main.css

Large diffs are not rendered by default.

7 changes: 0 additions & 7 deletions docs/assets/css/main.css.map

This file was deleted.

Binary file modified docs/assets/images/icons.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/images/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 1 addition & 5 deletions docs/assets/js/main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/assets/js/search.js

Large diffs are not rendered by default.

3,048 changes: 2,261 additions & 787 deletions docs/classes/auth0client.html

Large diffs are not rendered by default.

3,034 changes: 2,251 additions & 783 deletions docs/classes/authenticationerror.html

Large diffs are not rendered by default.

3,117 changes: 2,316 additions & 801 deletions docs/globals.html

Large diffs are not rendered by default.

3,117 changes: 2,316 additions & 801 deletions docs/index.html

Large diffs are not rendered by default.

3,056 changes: 2,267 additions & 789 deletions docs/interfaces/auth0clientoptions.html

Large diffs are not rendered by default.

3,022 changes: 2,245 additions & 777 deletions docs/interfaces/getidtokenclaimsoptions.html

Large diffs are not rendered by default.

3,036 changes: 2,257 additions & 779 deletions docs/interfaces/gettokensilentlyoptions.html

Large diffs are not rendered by default.

3,048 changes: 2,263 additions & 785 deletions docs/interfaces/gettokenwithpopupoptions.html

Large diffs are not rendered by default.

3,022 changes: 2,245 additions & 777 deletions docs/interfaces/getuseroptions.html

Large diffs are not rendered by default.

3,044 changes: 2,267 additions & 777 deletions docs/interfaces/logoutoptions.html

Large diffs are not rendered by default.

2,532 changes: 2,532 additions & 0 deletions docs/interfaces/popupconfigoptions.html

Large diffs are not rendered by default.

3,048 changes: 2,263 additions & 785 deletions docs/interfaces/popuploginoptions.html

Large diffs are not rendered by default.

3,052 changes: 2,265 additions & 787 deletions docs/interfaces/redirectloginoptions.html

Large diffs are not rendered by default.

3,020 changes: 2,244 additions & 776 deletions docs/interfaces/redirectloginresult.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
"name": "@auth0/auth0-spa-js",
"description": "Auth0 SDK for Single Page Applications using Authorization Code Grant Flow with PKCE",
"license": "MIT",
"version": "1.1.1",
"version": "1.2.0",
"main": "dist/lib/auth0-spa-js.cjs.js",
"types": "dist/typings/index.d.ts",
"browser": "dist/auth0-spa-js.production.js",
"module": "dist/auth0-spa-js.production.esm.js",
"scripts": {
"dev": "rimraf dist && rollup -c --watch",
"start": "npm run dev",
"docs": "typedoc --options ./typedoc.js",
"docs": "typedoc --options ./typedoc.js --module commonjs",
"build": "rimraf dist && rollup -m -c --environment NODE_ENV:production",
"build:stats": "npm run build -- --environment WITH_STATS:true && open stats.html",
"lint:security": "eslint ./src --ext ts --no-eslintrc --config ./.eslintrc.security",
Expand All @@ -27,7 +27,7 @@
"print-bundle-size": "node ./scripts/print-bundle-size",
"prepack": "npm run build && npm run test:es-check && npm run test",
"precommit": "pretty-quick --staged",
"version": "node ./scripts/release",
"release": "node ./scripts/release",
"publish:cdn": "ccu --trace"
},
"devDependencies": {
Expand Down
6 changes: 1 addition & 5 deletions src/Auth0Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,9 @@ import TransactionManager from './transaction-manager';
import { verify as verifyIdToken } from './jwt';
import { AuthenticationError } from './errors';
import * as ClientStorage from './storage';
import { DEFAULT_AUTHORIZE_TIMEOUT_IN_SECONDS } from './constants';
import { DEFAULT_POPUP_CONFIG_OPTIONS } from './constants';
import version from './version';

const DEFAULT_POPUP_CONFIG_OPTIONS: PopupConfigOptions = {
timeoutInSeconds: DEFAULT_AUTHORIZE_TIMEOUT_IN_SECONDS
};

/**
* Auth0 SDK for Single Page Applications using [Authorization Code Grant Flow with PKCE](https://auth0.com/docs/api-auth/tutorials/authorization-code-grant-pkce).
*/
Expand Down
10 changes: 10 additions & 0 deletions src/constants.ts
Original file line number Diff line number Diff line change
@@ -1 +1,11 @@
/**
* @ignore
*/
export const DEFAULT_AUTHORIZE_TIMEOUT_IN_SECONDS = 60;

/**
* @ignore
*/
export const DEFAULT_POPUP_CONFIG_OPTIONS: PopupConfigOptions = {
timeoutInSeconds: DEFAULT_AUTHORIZE_TIMEOUT_IN_SECONDS
};
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export default '1.1.1';
export default '1.2.0';

0 comments on commit 55b44c3

Please sign in to comment.