@polyv/request-plugin-authorize-app-sign 2.2.0 → 2.3.0
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 +2 -2
- package/types.d.ts +3 -1
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@polyv/request-plugin-authorize-app-sign",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0",
|
|
4
4
|
"main": "./index.js",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@polyv/request-core": "2.
|
|
6
|
+
"@polyv/request-core": "2.3.0",
|
|
7
7
|
"md5": "2.3.0",
|
|
8
8
|
"sha256": "0.2.0",
|
|
9
9
|
"uuid": "^9.0.0"
|
package/types.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export declare enum SignatureMethod {
|
|
|
6
6
|
MD5 = "MD5",
|
|
7
7
|
SHA256 = "SHA256"
|
|
8
8
|
}
|
|
9
|
-
export interface
|
|
9
|
+
export interface AppSignSecretKey {
|
|
10
10
|
/**
|
|
11
11
|
* 应用 id
|
|
12
12
|
*/
|
|
@@ -15,6 +15,8 @@ export interface AuthorizeAppSignRequestPluginConfig {
|
|
|
15
15
|
* 应用密钥
|
|
16
16
|
*/
|
|
17
17
|
appSecret?: string;
|
|
18
|
+
}
|
|
19
|
+
export interface AuthorizeAppSignRequestPluginConfig extends AppSignSecretKey {
|
|
18
20
|
/**
|
|
19
21
|
* 是否使用放重放
|
|
20
22
|
* @default false
|