@pubinfo-pr/module-crypto 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.
|
@@ -5,18 +5,18 @@ import { basic as request } from '../../request';
|
|
|
5
5
|
* @method POST
|
|
6
6
|
* @author @pubinfo/openapi
|
|
7
7
|
*/
|
|
8
|
-
export declare function postCryptoEditCryptoConfig<R = API.ResponseDataBoolean, T = API.ResponseDataBoolean>(body: API.EditCryptoConfigDto, options?: Parameters<typeof request.Post<R, T>>[2]):
|
|
8
|
+
export declare function postCryptoEditCryptoConfig<R = API.ResponseDataBoolean, T = API.ResponseDataBoolean>(body: API.EditCryptoConfigDto, options?: Parameters<typeof request.Post<R, T>>[2]): import('alova').Method<import('alova').RespondedAlovaGenerics<import('pubinfo-pr').AG, R, T>>;
|
|
9
9
|
/**
|
|
10
10
|
* @description 获取加解密配置
|
|
11
11
|
* @url /crypto/getCryptoConfig
|
|
12
12
|
* @method GET
|
|
13
13
|
* @author @pubinfo/openapi
|
|
14
14
|
*/
|
|
15
|
-
export declare function getCryptoGetCryptoConfig<R = API.ResponseDataCryptoConfig, T = API.ResponseDataCryptoConfig>(options?: Parameters<typeof request.Get<R, T>>[1]):
|
|
15
|
+
export declare function getCryptoGetCryptoConfig<R = API.ResponseDataCryptoConfig, T = API.ResponseDataCryptoConfig>(options?: Parameters<typeof request.Get<R, T>>[1]): import('alova').Method<import('alova').RespondedAlovaGenerics<import('pubinfo-pr').AG, R, T>>;
|
|
16
16
|
/**
|
|
17
17
|
* @description 获取公钥及加解密配置
|
|
18
18
|
* @url /crypto/getPublicKeyAndConfig
|
|
19
19
|
* @method GET
|
|
20
20
|
* @author @pubinfo/openapi
|
|
21
21
|
*/
|
|
22
|
-
export declare function getCryptoGetPublicKeyAndConfig<R = API.ResponseDataCryptoConfigExt, T = API.ResponseDataCryptoConfigExt>(options?: Parameters<typeof request.Get<R, T>>[1]):
|
|
22
|
+
export declare function getCryptoGetPublicKeyAndConfig<R = API.ResponseDataCryptoConfigExt, T = API.ResponseDataCryptoConfigExt>(options?: Parameters<typeof request.Get<R, T>>[1]): import('alova').Method<import('alova').RespondedAlovaGenerics<import('pubinfo-pr').AG, R, T>>;
|
package/dist/api/request.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const basic:
|
|
1
|
+
export declare const basic: import('pubinfo-pr').RequestInstance;
|
package/dist/apiContext.d.ts
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { InternalContext } from './interface';
|
|
2
|
+
export declare const apictx: import('unctx').UseContext<InternalContext>;
|
package/dist/context.d.ts
CHANGED
|
@@ -1 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
import { cryptoInternal } from './interface';
|
|
2
|
+
export declare const ctx: import('unctx').UseContext<{
|
|
3
|
+
isCrypto: boolean;
|
|
4
|
+
cryptoSetting: cryptoInternal;
|
|
5
|
+
whiteListUrls?: API.UrlEntry[];
|
|
6
|
+
publicKey?: string;
|
|
7
|
+
key?: string;
|
|
8
|
+
cryptoMode: boolean;
|
|
9
|
+
iv?: string;
|
|
10
|
+
}>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pubinfo-pr/module-crypto",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.182.1",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@ant-design/icons-vue": "^7.0.1",
|
|
24
24
|
"@pubinfo/pro-components": "^1.8.0",
|
|
25
25
|
"ant-design-vue": "^4.2.6",
|
|
26
|
-
"pubinfo-pr": "0.
|
|
26
|
+
"pubinfo-pr": "0.182.1"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@vueuse/core": "^13.7.0",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@pubinfo/pro-components": "^1.8.0",
|
|
37
37
|
"@types/crypto-js": "^4.2.2",
|
|
38
38
|
"ant-design-vue": "^4.2.6",
|
|
39
|
-
"pubinfo-pr": "0.
|
|
39
|
+
"pubinfo-pr": "0.182.1"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
42
|
"dev": "pubinfo build -w --sourcemap",
|