@cloudbase/cloud-api
Advanced tools
@@ -72,4 +72,4 @@ "use strict"; | ||
| try { | ||
| console.warn('request to target', commonConfig.url); | ||
| const data = await request_1.fetch(commonConfig.url, requestConfig, commonConfig.proxy); | ||
| console.log('[wedaRequest] requestId:', data.Response.RequestId, 'action:', params.action, 'target: ', commonConfig.url); | ||
| if (data.Response.Error) { | ||
@@ -76,0 +76,0 @@ const tcError = new error_1.CloudBaseError(data.Response.Error.Message, { |
+1
-1
| { | ||
| "name": "@cloudbase/cloud-api", | ||
| "version": "0.4.1-alpha.7", | ||
| "version": "0.4.1-alpha.8", | ||
| "description": "The cloud api request package.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -58,3 +58,3 @@ interface ICredentials { | ||
| /** | ||
| * 请求目标, 与 url 意义相同, 优先使用 target | ||
| * 请求目标, 与 url 意义类似, 但可通过设置为 prod/pre 来指定地址, 优先使用 target | ||
| * 可以是下边三个值 | ||
@@ -61,0 +61,0 @@ * 'prod' 正式地址 |
Network access
Supply chain riskThis module accesses the network.
Found 2 instances in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 6 instances in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 2 instances in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 6 instances in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
52533
0.22%