@pubinfo-pr/module-auth 0.1.1 → 0.182.1

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/dist/context.d.ts CHANGED
@@ -1 +1,2 @@
1
- export declare const ctx: any;
1
+ import { InternalContext } from './interface';
2
+ export declare const ctx: import('unctx').UseContext<InternalContext>;
package/dist/helper.d.ts CHANGED
@@ -3,7 +3,7 @@ import { ProviderUserOptions, Recordable, ThirdParty } from './interface';
3
3
  * 获取指定的 `Provider`
4
4
  * @param id
5
5
  */
6
- export declare function getProvider(id?: ThirdParty): any;
6
+ export declare function getProvider(id?: ThirdParty): import('./interface').ProviderOptions;
7
7
  /**
8
8
  * 构建第三方授权登录地址
9
9
  * @param provider
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pubinfo-pr/module-auth",
3
3
  "type": "module",
4
- "version": "0.1.1",
4
+ "version": "0.182.1",
5
5
  "exports": {
6
6
  ".": {
7
7
  "types": "./dist/index.d.ts",
@@ -23,10 +23,10 @@
23
23
  "node": "^20.19.0 || >=22.12.0"
24
24
  },
25
25
  "peerDependencies": {
26
- "pubinfo-pr": "0.1.1"
26
+ "pubinfo-pr": "0.182.1"
27
27
  },
28
28
  "devDependencies": {
29
- "pubinfo-pr": "0.1.1"
29
+ "pubinfo-pr": "0.182.1"
30
30
  },
31
31
  "scripts": {
32
32
  "dev": "pubinfo build --watch",