@dainprotocol/oauth2-token-manager 0.1.0 → 0.1.2
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/README.md +237 -627
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +119 -579
- package/dist/index.d.ts +119 -579
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +28 -31
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dainprotocol/oauth2-token-manager",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "A scalable OAuth2 token management library with multi-system support",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"oauth2",
|
|
@@ -8,16 +8,16 @@
|
|
|
8
8
|
"token-management",
|
|
9
9
|
"typescript"
|
|
10
10
|
],
|
|
11
|
-
"homepage": "https://github.com/
|
|
11
|
+
"homepage": "https://github.com/dainprotocol/oauth2-token-manager#readme",
|
|
12
12
|
"bugs": {
|
|
13
|
-
"url": "https://github.com/
|
|
13
|
+
"url": "https://github.com/dainprotocol/oauth2-token-manager/issues"
|
|
14
14
|
},
|
|
15
15
|
"repository": {
|
|
16
16
|
"type": "git",
|
|
17
|
-
"url": "git+https://github.com/
|
|
17
|
+
"url": "git+https://github.com/dainprotocol/oauth2-token-manager.git"
|
|
18
18
|
},
|
|
19
19
|
"license": "MIT",
|
|
20
|
-
"author": "
|
|
20
|
+
"author": "Dain Protocol <sebastian@blureffect.co>",
|
|
21
21
|
"type": "module",
|
|
22
22
|
"exports": {
|
|
23
23
|
".": {
|
|
@@ -34,33 +34,9 @@
|
|
|
34
34
|
"README.md",
|
|
35
35
|
"LICENSE"
|
|
36
36
|
],
|
|
37
|
-
"scripts": {
|
|
38
|
-
"dev": "tsx watch src/index.ts",
|
|
39
|
-
"dev:example": "tsx src/examples/basic.ts",
|
|
40
|
-
"build": "tsup",
|
|
41
|
-
"build:watch": "tsup --watch",
|
|
42
|
-
"test": "vitest",
|
|
43
|
-
"test:ui": "vitest --ui",
|
|
44
|
-
"test:coverage": "vitest run --coverage",
|
|
45
|
-
"test:watch": "vitest watch",
|
|
46
|
-
"lint": "eslint .",
|
|
47
|
-
"lint:fix": "eslint --fix .",
|
|
48
|
-
"lint:config": "eslint --print-config src/index.ts",
|
|
49
|
-
"format": "prettier --write",
|
|
50
|
-
"format:check": "prettier",
|
|
51
|
-
"typecheck": "tsc --noEmit",
|
|
52
|
-
"docs": "typedoc",
|
|
53
|
-
"docs:watch": "typedoc --watch",
|
|
54
|
-
"ci": "npm run lint && npm run typecheck && npm run test:coverage && npm run build",
|
|
55
|
-
"prepublishOnly": "npm run ci",
|
|
56
|
-
"prepare": "husky install",
|
|
57
|
-
"release": "npm run ci:all && changeset publish",
|
|
58
|
-
"_postinstall": "husky",
|
|
59
|
-
"prepack": "pinst --disable",
|
|
60
|
-
"postpack": "pinst --enable"
|
|
61
|
-
},
|
|
62
37
|
"dependencies": {
|
|
63
38
|
"@changesets/cli": "^2.29.4",
|
|
39
|
+
"@dainprotocol/oauth2-token-manager": "link:../../../Library/pnpm/global/5/node_modules/@dainprotocol/oauth2-token-manager",
|
|
64
40
|
"@types/node": "^22.15.29",
|
|
65
41
|
"crypto": "^1.0.1",
|
|
66
42
|
"iron-session": "^8.0.4",
|
|
@@ -95,5 +71,26 @@
|
|
|
95
71
|
},
|
|
96
72
|
"publishConfig": {
|
|
97
73
|
"access": "public"
|
|
74
|
+
},
|
|
75
|
+
"scripts": {
|
|
76
|
+
"dev": "tsx watch src/index.ts",
|
|
77
|
+
"dev:example": "tsx src/examples/basic.ts",
|
|
78
|
+
"build": "tsup",
|
|
79
|
+
"build:watch": "tsup --watch",
|
|
80
|
+
"test": "vitest",
|
|
81
|
+
"test:ui": "vitest --ui",
|
|
82
|
+
"test:coverage": "vitest run --coverage",
|
|
83
|
+
"test:watch": "vitest watch",
|
|
84
|
+
"lint": "eslint .",
|
|
85
|
+
"lint:fix": "eslint --fix .",
|
|
86
|
+
"lint:config": "eslint --print-config src/index.ts",
|
|
87
|
+
"format": "prettier --write",
|
|
88
|
+
"format:check": "prettier",
|
|
89
|
+
"typecheck": "tsc --noEmit",
|
|
90
|
+
"docs": "typedoc",
|
|
91
|
+
"docs:watch": "typedoc --watch",
|
|
92
|
+
"ci": "npm run lint && npm run typecheck && npm run test:coverage && npm run build",
|
|
93
|
+
"release": "npm run ci:all && changeset publish",
|
|
94
|
+
"_postinstall": "husky"
|
|
98
95
|
}
|
|
99
|
-
}
|
|
96
|
+
}
|