@authorizerdev/authorizer-js 1.1.4 → 1.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,47 +1,51 @@
1
1
  {
2
- "version": "1.1.4",
3
- "license": "MIT",
4
- "typings": "lib/cjs/index.d.ts",
5
- "main": "lib/cjs/index.js",
6
- "module": "lib/esm/index.js",
7
- "files": [
8
- "lib",
9
- "src"
10
- ],
11
- "engines": {
12
- "node": ">=10"
13
- },
14
- "repository": "https://github.com/authorizerdev/authorizer-js",
15
- "scripts": {
16
- "clean": "rm -rf lib",
17
- "start": "rollup -w --config rollup.test.config.js",
18
- "ts-types": "tsc --emitDeclarationOnly --outDir lib",
19
- "build": "npm run clean && rollup --config rollup.config.js --environment INCLUDE_DEPS,BUILD:production",
20
- "test": "npm run build && jest --testTimeout=20000 --runInBand",
21
- "format": "prettier --write 'src/**/*.(ts)'",
22
- "prepublishOnly": "npm run build"
23
- },
24
- "browser": {
25
- "path": "path-browserify"
26
- },
27
- "name": "@authorizerdev/authorizer-js",
28
- "author": "Lakhan Samani",
29
- "devDependencies": {
30
- "@rollup/plugin-node-resolve": "^13.0.4",
31
- "@rollup/plugin-typescript": "^8.2.5",
32
- "@types/node-fetch": "^2.5.12",
33
- "husky": "^7.0.1",
34
- "jest": "^27.0.6",
35
- "prettier": "2.3.2",
36
- "rimraf": "^2.7.1",
37
- "rollup": "^2.56.0",
38
- "rollup-plugin-filesize": "^9.1.1",
39
- "rollup-plugin-serve": "^1.1.0",
40
- "rollup-plugin-terser": "^7.0.2",
41
- "tslib": "^2.3.0",
42
- "typescript": "^4.3.5"
43
- },
44
- "dependencies": {
45
- "cross-fetch": "^3.1.5"
46
- }
47
- }
2
+ "version": "1.1.6",
3
+ "license": "MIT",
4
+ "typings": "lib/cjs/index.d.ts",
5
+ "main": "lib/cjs/index.js",
6
+ "module": "lib/esm/index.js",
7
+ "files": [
8
+ "lib",
9
+ "src"
10
+ ],
11
+ "engines": {
12
+ "node": ">=10"
13
+ },
14
+ "packageManager": "pnpm@7.28.0",
15
+ "repository": "https://github.com/authorizerdev/authorizer-js",
16
+ "browser": {
17
+ "path": "path-browserify"
18
+ },
19
+ "name": "@authorizerdev/authorizer-js",
20
+ "author": "Lakhan Samani",
21
+ "devDependencies": {
22
+ "@antfu/eslint-config": "^0.35.3",
23
+ "@rollup/plugin-node-resolve": "^13.0.4",
24
+ "@rollup/plugin-typescript": "^8.2.5",
25
+ "@types/node-fetch": "^2.5.12",
26
+ "bumpp": "^9.0.0",
27
+ "eslint": "^8.35.0",
28
+ "husky": "^7.0.1",
29
+ "jest": "^27.0.6",
30
+ "rimraf": "^2.7.1",
31
+ "rollup": "^2.56.0",
32
+ "rollup-plugin-filesize": "^9.1.1",
33
+ "rollup-plugin-serve": "^1.1.0",
34
+ "rollup-plugin-terser": "^7.0.2",
35
+ "tslib": "^2.3.0",
36
+ "typescript": "^4.3.5"
37
+ },
38
+ "dependencies": {
39
+ "cross-fetch": "^3.1.5"
40
+ },
41
+ "scripts": {
42
+ "clean": "rm -rf lib",
43
+ "start": "rollup -w --config rollup.test.config.js",
44
+ "ts-types": "tsc --emitDeclarationOnly --outDir lib",
45
+ "build": "npm run clean && rollup --config rollup.config.js --environment INCLUDE_DEPS,BUILD:production",
46
+ "test": "npm run build && jest --testTimeout=20000 --runInBand",
47
+ "release": "pnpm build && bumpp --commit --push --tag && pnpm publish",
48
+ "lint": "eslint --ext .ts,.tsx,.js,.jsx .",
49
+ "lint:fix": "eslint --ext .ts,.tsx,.js,.jsx . --fix"
50
+ }
51
+ }
package/src/constants.ts CHANGED
@@ -1,3 +1,3 @@
1
- export const DEFAULT_AUTHORIZE_TIMEOUT_IN_SECONDS = 60;
2
- export const CLEANUP_IFRAME_TIMEOUT_IN_SECONDS = 2;
3
- export const AUTHORIZE_IFRAME_TIMEOUT = 5;
1
+ export const DEFAULT_AUTHORIZE_TIMEOUT_IN_SECONDS = 60
2
+ export const CLEANUP_IFRAME_TIMEOUT_IN_SECONDS = 2
3
+ export const AUTHORIZE_IFRAME_TIMEOUT = 5