@bity/oauth2-auth-code-pkce
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -249,3 +249,2 @@ /** | ||
static generatePKCECodes(): PromiseLike<PKCECodes> { | ||
const encoder = new TextEncoder(); | ||
const output = new Uint32Array(RECOMMENDED_CODE_VERIFIER_LENGTH); | ||
@@ -252,0 +251,0 @@ crypto.getRandomValues(output); |
{ | ||
"name": "@bity/oauth2-auth-code-pkce", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "An OAuth 2.0 client that ONLY supports Authorization Code flow with PKCE support.", | ||
@@ -8,3 +8,5 @@ "main": "index.mjs", | ||
"scripts": { | ||
"build": "npx tsc -p ./tsconfig.json", | ||
"build:code:browser": "webpack", | ||
"build:code": "npm run build:code:browser", | ||
"build": "npm run build:code", | ||
"serve:examples": "http-server ./ --cors" | ||
@@ -21,4 +23,7 @@ }, | ||
"http-server": "^0.11.1", | ||
"typescript": "^3.6.3" | ||
"ts-loader": "^6.2.1", | ||
"typescript": "^3.7.2", | ||
"webpack": "^4.41.2", | ||
"webpack-cli": "^3.3.10" | ||
} | ||
} |
@@ -6,3 +6,2 @@ { | ||
"target": "es5", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */ | ||
"module": "es2015", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ | ||
"lib": ["dom", "ES2015", "ES2017"], /* Specify library files to be included in the compilation. */ | ||
@@ -9,0 +8,0 @@ // "allowJs": true, /* Allow javascript files to be compiled. */ |
Sorry, the diff of this file is not supported yet
8
60030
5
353