@nocobase/plugin-verification 1.5.0-alpha.1 → 1.5.0-alpha.3
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/externalVersion.js +6 -6
- package/dist/node_modules/@alicloud/dysmsapi20170525/dist/client.js +2 -2
- package/dist/node_modules/@alicloud/dysmsapi20170525/package.json +1 -1
- package/dist/node_modules/@alicloud/openapi-client/dist/client.d.ts +44 -0
- package/dist/node_modules/@alicloud/openapi-client/dist/client.js +2 -1
- package/dist/node_modules/@alicloud/openapi-client/package.json +1 -1
- package/dist/node_modules/@alicloud/openapi-client/src/client.ts +429 -51
- package/dist/node_modules/@alicloud/tea-util/package.json +1 -1
- package/dist/node_modules/tencentcloud-sdk-nodejs/package.json +1 -1
- package/package.json +3 -3
- package/dist/node_modules/@alicloud/dysmsapi20170525/node_modules/@alicloud/openapi-client/dist/client.d.ts +0 -291
- package/dist/node_modules/@alicloud/dysmsapi20170525/node_modules/@alicloud/openapi-client/dist/client.js +0 -1192
- package/dist/node_modules/@alicloud/dysmsapi20170525/node_modules/@alicloud/openapi-client/package.json +0 -37
- package/dist/node_modules/@alicloud/dysmsapi20170525/node_modules/@alicloud/openapi-client/src/client.ts +0 -1389
- /package/dist/node_modules/@alicloud/{dysmsapi20170525/node_modules/@alicloud/openapi-client → openapi-client}/node_modules/@alicloud/openapi-util/dist/client.d.ts +0 -0
- /package/dist/node_modules/@alicloud/{dysmsapi20170525/node_modules/@alicloud/openapi-client → openapi-client}/node_modules/@alicloud/openapi-util/dist/client.js +0 -0
- /package/dist/node_modules/@alicloud/{dysmsapi20170525/node_modules/@alicloud/openapi-client → openapi-client}/node_modules/@alicloud/openapi-util/package.json +0 -0
- /package/dist/node_modules/@alicloud/{dysmsapi20170525/node_modules/@alicloud/openapi-client → openapi-client}/node_modules/@alicloud/openapi-util/src/client.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@alicloud/tea-util","version":"1.4.4","description":"","main":"dist/client.js","scripts":{"test":"mocha -r ts-node/register -r source-map-support/register test/**/*.spec.ts","test-cov":"nyc -e .ts -r=html -r=text -r=lcov npm run test","build":"tsc","prepublishOnly":"tsc"},"author":"Jackson Tian","license":"Apache-2.0","devDependencies":{"@types/mocha":"^7.0.1","@types/node":"^12.12.26","mocha":"^7.0.1","nyc":"^15.0.0","source-map-support":"^0.5.16","ts-node":"^8.6.2","typescript":"^3.7.5"},"dependencies":{"@alicloud/tea-typescript":"^1.5.1","kitx":"^2.0.0"},"files":["dist","src"],"_lastModified":"2024-11-
|
|
1
|
+
{"name":"@alicloud/tea-util","version":"1.4.4","description":"","main":"dist/client.js","scripts":{"test":"mocha -r ts-node/register -r source-map-support/register test/**/*.spec.ts","test-cov":"nyc -e .ts -r=html -r=text -r=lcov npm run test","build":"tsc","prepublishOnly":"tsc"},"author":"Jackson Tian","license":"Apache-2.0","devDependencies":{"@types/mocha":"^7.0.1","@types/node":"^12.12.26","mocha":"^7.0.1","nyc":"^15.0.0","source-map-support":"^0.5.16","ts-node":"^8.6.2","typescript":"^3.7.5"},"dependencies":{"@alicloud/tea-typescript":"^1.5.1","kitx":"^2.0.0"},"files":["dist","src"],"_lastModified":"2024-11-21T01:47:55.385Z"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"tencentcloud-sdk-nodejs","version":"4.0.759","description":"腾讯云 API NODEJS SDK","main":"tencentcloud/index.js","scripts":{"test":"mocha -t 10000","build":"tsc","prettier":"prettier --config prettier.config.js --write 'src/**/*.{tsx,ts,jsx,js,css,json,vue}'"},"engines":{"node":">=10"},"keywords":["tencentcloudapi","tencentcloud","qcloud","sdk","js","nodejs"],"author":"tencentcloudapi","license":"Apache-2.0","dependencies":{"form-data":"^3.0.0","get-stream":"^6.0.0","https-proxy-agent":"^5.0.0","is-stream":"^2.0.0","json-bigint":"^1.0.0","node-fetch":"^2.2.0","tslib":"1.13.0"},"directories":{"example":"examples","lib":"lib"},"repository":{"type":"git","url":"https://github.com/tencentcloud/tencentcloud-sdk-nodejs"},"devDependencies":{"@types/form-data":"^2.5.0","@types/json-bigint":"^1.0.1","@types/node":"^14.0.26","@types/node-fetch":"^2.5.7","@typescript-eslint/eslint-plugin":"^2.34.0","@typescript-eslint/parser":"^2.34.0","babel-eslint":"^10.0.2","chai":"^4.2.0","eslint":"^6.8.0","eslint-plugin-react":"^7.17.0","mocha":"^8.1.1","prettier":"^2.3.0","ts-node":"^8.10.2","typescript":"^3.9.7"},"_lastModified":"2024-11-
|
|
1
|
+
{"name":"tencentcloud-sdk-nodejs","version":"4.0.759","description":"腾讯云 API NODEJS SDK","main":"tencentcloud/index.js","scripts":{"test":"mocha -t 10000","build":"tsc","prettier":"prettier --config prettier.config.js --write 'src/**/*.{tsx,ts,jsx,js,css,json,vue}'"},"engines":{"node":">=10"},"keywords":["tencentcloudapi","tencentcloud","qcloud","sdk","js","nodejs"],"author":"tencentcloudapi","license":"Apache-2.0","dependencies":{"form-data":"^3.0.0","get-stream":"^6.0.0","https-proxy-agent":"^5.0.0","is-stream":"^2.0.0","json-bigint":"^1.0.0","node-fetch":"^2.2.0","tslib":"1.13.0"},"directories":{"example":"examples","lib":"lib"},"repository":{"type":"git","url":"https://github.com/tencentcloud/tencentcloud-sdk-nodejs"},"devDependencies":{"@types/form-data":"^2.5.0","@types/json-bigint":"^1.0.1","@types/node":"^14.0.26","@types/node-fetch":"^2.5.7","@typescript-eslint/eslint-plugin":"^2.34.0","@typescript-eslint/parser":"^2.34.0","babel-eslint":"^10.0.2","chai":"^4.2.0","eslint":"^6.8.0","eslint-plugin-react":"^7.17.0","mocha":"^8.1.1","prettier":"^2.3.0","ts-node":"^8.10.2","typescript":"^3.9.7"},"_lastModified":"2024-11-21T01:48:03.645Z"}
|
package/package.json
CHANGED
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
"displayName.zh-CN": "验证码",
|
|
5
5
|
"description": "verification setting.",
|
|
6
6
|
"description.zh-CN": "验证码配置。",
|
|
7
|
-
"version": "1.5.0-alpha.
|
|
7
|
+
"version": "1.5.0-alpha.3",
|
|
8
8
|
"license": "AGPL-3.0",
|
|
9
9
|
"main": "./dist/server/index.js",
|
|
10
10
|
"homepage": "https://docs.nocobase.com/handbook/verification",
|
|
11
11
|
"homepage.zh-CN": "https://docs-cn.nocobase.com/handbook/verification",
|
|
12
12
|
"devDependencies": {
|
|
13
13
|
"@alicloud/dysmsapi20170525": "2.0.17",
|
|
14
|
-
"@alicloud/openapi-client": "0.4.
|
|
14
|
+
"@alicloud/openapi-client": "0.4.12",
|
|
15
15
|
"@alicloud/tea-util": "1.4.4",
|
|
16
16
|
"@formily/antd-v5": "1.x",
|
|
17
17
|
"@formily/core": "2.x",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@nocobase/test": "1.x",
|
|
32
32
|
"@nocobase/utils": "1.x"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "5e01d81e7bb07f9a35b271ce903fb0dcd0d83fcf",
|
|
35
35
|
"keywords": [
|
|
36
36
|
"Authentication"
|
|
37
37
|
]
|
|
@@ -1,291 +0,0 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
/**
|
|
3
|
-
* This is for OpenApi SDK
|
|
4
|
-
*/
|
|
5
|
-
import * as $Util from '@alicloud/tea-util';
|
|
6
|
-
import Credential from '@alicloud/credentials';
|
|
7
|
-
import SPI from '@alicloud/gateway-spi';
|
|
8
|
-
import { Readable } from 'stream';
|
|
9
|
-
import * as $tea from '@alicloud/tea-typescript';
|
|
10
|
-
export declare class GlobalParameters extends $tea.Model {
|
|
11
|
-
headers?: {
|
|
12
|
-
[key: string]: string;
|
|
13
|
-
};
|
|
14
|
-
queries?: {
|
|
15
|
-
[key: string]: string;
|
|
16
|
-
};
|
|
17
|
-
static names(): {
|
|
18
|
-
[key: string]: string;
|
|
19
|
-
};
|
|
20
|
-
static types(): {
|
|
21
|
-
[key: string]: any;
|
|
22
|
-
};
|
|
23
|
-
constructor(map?: {
|
|
24
|
-
[key: string]: any;
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Model for initing client
|
|
29
|
-
*/
|
|
30
|
-
export declare class Config extends $tea.Model {
|
|
31
|
-
accessKeyId?: string;
|
|
32
|
-
accessKeySecret?: string;
|
|
33
|
-
securityToken?: string;
|
|
34
|
-
protocol?: string;
|
|
35
|
-
method?: string;
|
|
36
|
-
regionId?: string;
|
|
37
|
-
readTimeout?: number;
|
|
38
|
-
connectTimeout?: number;
|
|
39
|
-
httpProxy?: string;
|
|
40
|
-
httpsProxy?: string;
|
|
41
|
-
credential?: Credential;
|
|
42
|
-
endpoint?: string;
|
|
43
|
-
noProxy?: string;
|
|
44
|
-
maxIdleConns?: number;
|
|
45
|
-
network?: string;
|
|
46
|
-
userAgent?: string;
|
|
47
|
-
suffix?: string;
|
|
48
|
-
socks5Proxy?: string;
|
|
49
|
-
socks5NetWork?: string;
|
|
50
|
-
endpointType?: string;
|
|
51
|
-
openPlatformEndpoint?: string;
|
|
52
|
-
type?: string;
|
|
53
|
-
signatureVersion?: string;
|
|
54
|
-
signatureAlgorithm?: string;
|
|
55
|
-
globalParameters?: GlobalParameters;
|
|
56
|
-
key?: string;
|
|
57
|
-
cert?: string;
|
|
58
|
-
ca?: string;
|
|
59
|
-
static names(): {
|
|
60
|
-
[key: string]: string;
|
|
61
|
-
};
|
|
62
|
-
static types(): {
|
|
63
|
-
[key: string]: any;
|
|
64
|
-
};
|
|
65
|
-
constructor(map?: {
|
|
66
|
-
[key: string]: any;
|
|
67
|
-
});
|
|
68
|
-
}
|
|
69
|
-
export declare class OpenApiRequest extends $tea.Model {
|
|
70
|
-
headers?: {
|
|
71
|
-
[key: string]: string;
|
|
72
|
-
};
|
|
73
|
-
query?: {
|
|
74
|
-
[key: string]: string;
|
|
75
|
-
};
|
|
76
|
-
body?: any;
|
|
77
|
-
stream?: Readable;
|
|
78
|
-
hostMap?: {
|
|
79
|
-
[key: string]: string;
|
|
80
|
-
};
|
|
81
|
-
endpointOverride?: string;
|
|
82
|
-
static names(): {
|
|
83
|
-
[key: string]: string;
|
|
84
|
-
};
|
|
85
|
-
static types(): {
|
|
86
|
-
[key: string]: any;
|
|
87
|
-
};
|
|
88
|
-
constructor(map?: {
|
|
89
|
-
[key: string]: any;
|
|
90
|
-
});
|
|
91
|
-
}
|
|
92
|
-
export declare class Params extends $tea.Model {
|
|
93
|
-
action: string;
|
|
94
|
-
version: string;
|
|
95
|
-
protocol: string;
|
|
96
|
-
pathname: string;
|
|
97
|
-
method: string;
|
|
98
|
-
authType: string;
|
|
99
|
-
bodyType: string;
|
|
100
|
-
reqBodyType: string;
|
|
101
|
-
style?: string;
|
|
102
|
-
static names(): {
|
|
103
|
-
[key: string]: string;
|
|
104
|
-
};
|
|
105
|
-
static types(): {
|
|
106
|
-
[key: string]: any;
|
|
107
|
-
};
|
|
108
|
-
constructor(map?: {
|
|
109
|
-
[key: string]: any;
|
|
110
|
-
});
|
|
111
|
-
}
|
|
112
|
-
export default class Client {
|
|
113
|
-
_endpoint: string;
|
|
114
|
-
_regionId: string;
|
|
115
|
-
_protocol: string;
|
|
116
|
-
_method: string;
|
|
117
|
-
_userAgent: string;
|
|
118
|
-
_endpointRule: string;
|
|
119
|
-
_endpointMap: {
|
|
120
|
-
[key: string]: string;
|
|
121
|
-
};
|
|
122
|
-
_suffix: string;
|
|
123
|
-
_readTimeout: number;
|
|
124
|
-
_connectTimeout: number;
|
|
125
|
-
_httpProxy: string;
|
|
126
|
-
_httpsProxy: string;
|
|
127
|
-
_socks5Proxy: string;
|
|
128
|
-
_socks5NetWork: string;
|
|
129
|
-
_noProxy: string;
|
|
130
|
-
_network: string;
|
|
131
|
-
_productId: string;
|
|
132
|
-
_maxIdleConns: number;
|
|
133
|
-
_endpointType: string;
|
|
134
|
-
_openPlatformEndpoint: string;
|
|
135
|
-
_credential: Credential;
|
|
136
|
-
_signatureVersion: string;
|
|
137
|
-
_signatureAlgorithm: string;
|
|
138
|
-
_headers: {
|
|
139
|
-
[key: string]: string;
|
|
140
|
-
};
|
|
141
|
-
_spi: SPI;
|
|
142
|
-
_globalParameters: GlobalParameters;
|
|
143
|
-
_key: string;
|
|
144
|
-
_cert: string;
|
|
145
|
-
_ca: string;
|
|
146
|
-
/**
|
|
147
|
-
* Init client with Config
|
|
148
|
-
* @param config config contains the necessary information to create a client
|
|
149
|
-
*/
|
|
150
|
-
constructor(config: Config);
|
|
151
|
-
/**
|
|
152
|
-
* Encapsulate the request and invoke the network
|
|
153
|
-
* @param action api name
|
|
154
|
-
* @param version product version
|
|
155
|
-
* @param protocol http or https
|
|
156
|
-
* @param method e.g. GET
|
|
157
|
-
* @param authType authorization type e.g. AK
|
|
158
|
-
* @param bodyType response body type e.g. String
|
|
159
|
-
* @param request object of OpenApiRequest
|
|
160
|
-
* @param runtime which controls some details of call api, such as retry times
|
|
161
|
-
* @return the response
|
|
162
|
-
*/
|
|
163
|
-
doRPCRequest(action: string, version: string, protocol: string, method: string, authType: string, bodyType: string, request: OpenApiRequest, runtime: $Util.RuntimeOptions): Promise<{
|
|
164
|
-
[key: string]: any;
|
|
165
|
-
}>;
|
|
166
|
-
/**
|
|
167
|
-
* Encapsulate the request and invoke the network
|
|
168
|
-
* @param action api name
|
|
169
|
-
* @param version product version
|
|
170
|
-
* @param protocol http or https
|
|
171
|
-
* @param method e.g. GET
|
|
172
|
-
* @param authType authorization type e.g. AK
|
|
173
|
-
* @param pathname pathname of every api
|
|
174
|
-
* @param bodyType response body type e.g. String
|
|
175
|
-
* @param request object of OpenApiRequest
|
|
176
|
-
* @param runtime which controls some details of call api, such as retry times
|
|
177
|
-
* @return the response
|
|
178
|
-
*/
|
|
179
|
-
doROARequest(action: string, version: string, protocol: string, method: string, authType: string, pathname: string, bodyType: string, request: OpenApiRequest, runtime: $Util.RuntimeOptions): Promise<{
|
|
180
|
-
[key: string]: any;
|
|
181
|
-
}>;
|
|
182
|
-
/**
|
|
183
|
-
* Encapsulate the request and invoke the network with form body
|
|
184
|
-
* @param action api name
|
|
185
|
-
* @param version product version
|
|
186
|
-
* @param protocol http or https
|
|
187
|
-
* @param method e.g. GET
|
|
188
|
-
* @param authType authorization type e.g. AK
|
|
189
|
-
* @param pathname pathname of every api
|
|
190
|
-
* @param bodyType response body type e.g. String
|
|
191
|
-
* @param request object of OpenApiRequest
|
|
192
|
-
* @param runtime which controls some details of call api, such as retry times
|
|
193
|
-
* @return the response
|
|
194
|
-
*/
|
|
195
|
-
doROARequestWithForm(action: string, version: string, protocol: string, method: string, authType: string, pathname: string, bodyType: string, request: OpenApiRequest, runtime: $Util.RuntimeOptions): Promise<{
|
|
196
|
-
[key: string]: any;
|
|
197
|
-
}>;
|
|
198
|
-
/**
|
|
199
|
-
* Encapsulate the request and invoke the network
|
|
200
|
-
* @param action api name
|
|
201
|
-
* @param version product version
|
|
202
|
-
* @param protocol http or https
|
|
203
|
-
* @param method e.g. GET
|
|
204
|
-
* @param authType authorization type e.g. AK
|
|
205
|
-
* @param bodyType response body type e.g. String
|
|
206
|
-
* @param request object of OpenApiRequest
|
|
207
|
-
* @param runtime which controls some details of call api, such as retry times
|
|
208
|
-
* @return the response
|
|
209
|
-
*/
|
|
210
|
-
doRequest(params: Params, request: OpenApiRequest, runtime: $Util.RuntimeOptions): Promise<{
|
|
211
|
-
[key: string]: any;
|
|
212
|
-
}>;
|
|
213
|
-
/**
|
|
214
|
-
* Encapsulate the request and invoke the network
|
|
215
|
-
* @param action api name
|
|
216
|
-
* @param version product version
|
|
217
|
-
* @param protocol http or https
|
|
218
|
-
* @param method e.g. GET
|
|
219
|
-
* @param authType authorization type e.g. AK
|
|
220
|
-
* @param bodyType response body type e.g. String
|
|
221
|
-
* @param request object of OpenApiRequest
|
|
222
|
-
* @param runtime which controls some details of call api, such as retry times
|
|
223
|
-
* @return the response
|
|
224
|
-
*/
|
|
225
|
-
execute(params: Params, request: OpenApiRequest, runtime: $Util.RuntimeOptions): Promise<{
|
|
226
|
-
[key: string]: any;
|
|
227
|
-
}>;
|
|
228
|
-
callApi(params: Params, request: OpenApiRequest, runtime: $Util.RuntimeOptions): Promise<{
|
|
229
|
-
[key: string]: any;
|
|
230
|
-
}>;
|
|
231
|
-
/**
|
|
232
|
-
* Get user agent
|
|
233
|
-
* @return user agent
|
|
234
|
-
*/
|
|
235
|
-
getUserAgent(): string;
|
|
236
|
-
/**
|
|
237
|
-
* Get accesskey id by using credential
|
|
238
|
-
* @return accesskey id
|
|
239
|
-
*/
|
|
240
|
-
getAccessKeyId(): Promise<string>;
|
|
241
|
-
/**
|
|
242
|
-
* Get accesskey secret by using credential
|
|
243
|
-
* @return accesskey secret
|
|
244
|
-
*/
|
|
245
|
-
getAccessKeySecret(): Promise<string>;
|
|
246
|
-
/**
|
|
247
|
-
* Get security token by using credential
|
|
248
|
-
* @return security token
|
|
249
|
-
*/
|
|
250
|
-
getSecurityToken(): Promise<string>;
|
|
251
|
-
/**
|
|
252
|
-
* Get bearer token by credential
|
|
253
|
-
* @return bearer token
|
|
254
|
-
*/
|
|
255
|
-
getBearerToken(): Promise<string>;
|
|
256
|
-
/**
|
|
257
|
-
* Get credential type by credential
|
|
258
|
-
* @return credential type e.g. access_key
|
|
259
|
-
*/
|
|
260
|
-
getType(): Promise<string>;
|
|
261
|
-
/**
|
|
262
|
-
* If inputValue is not null, return it or return defaultValue
|
|
263
|
-
* @param inputValue users input value
|
|
264
|
-
* @param defaultValue default value
|
|
265
|
-
* @return the final result
|
|
266
|
-
*/
|
|
267
|
-
static defaultAny(inputValue: any, defaultValue: any): any;
|
|
268
|
-
/**
|
|
269
|
-
* If the endpointRule and config.endpoint are empty, throw error
|
|
270
|
-
* @param config config contains the necessary information to create a client
|
|
271
|
-
*/
|
|
272
|
-
checkConfig(config: Config): void;
|
|
273
|
-
/**
|
|
274
|
-
* set gateway client
|
|
275
|
-
* @param spi.
|
|
276
|
-
*/
|
|
277
|
-
setGatewayClient(spi: SPI): void;
|
|
278
|
-
/**
|
|
279
|
-
* set RPC header for debug
|
|
280
|
-
* @param headers headers for debug, this header can be used only once.
|
|
281
|
-
*/
|
|
282
|
-
setRpcHeaders(headers: {
|
|
283
|
-
[key: string]: string;
|
|
284
|
-
}): void;
|
|
285
|
-
/**
|
|
286
|
-
* get RPC header for debug
|
|
287
|
-
*/
|
|
288
|
-
getRpcHeaders(): {
|
|
289
|
-
[key: string]: string;
|
|
290
|
-
};
|
|
291
|
-
}
|