@iflyrpa/actions 1.2.24 → 1.2.25
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/actions/baijiahaoPublish/index.d.ts +2 -0
- package/dist/actions/toutiaoPublish/index.d.ts +4 -0
- package/dist/actions/weixinPublish/index.d.ts +2 -0
- package/dist/actions/xiaohongshuPublish/index.d.ts +2 -0
- package/dist/bundle.js +1111 -65
- package/dist/bundle.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1206 -36
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1200 -37
- package/dist/index.mjs.map +1 -1
- package/dist/types.d.ts +1 -0
- package/dist/utils/http.d.ts +5 -2
- package/dist/utils/proxy.d.ts +2 -0
- package/package.json +2 -2
package/dist/types.d.ts
CHANGED
package/dist/utils/http.d.ts
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import type { ResponseData } from "@iflyrpa/share";
|
|
2
2
|
import { type AxiosResponse, type CreateAxiosDefaults, type AxiosRequestConfig } from "axios";
|
|
3
3
|
export declare class Http {
|
|
4
|
-
private apiClient;
|
|
4
|
+
private readonly apiClient;
|
|
5
|
+
private readonly adr?;
|
|
6
|
+
private readonly heiwenToken?;
|
|
7
|
+
proxyInfo?: string;
|
|
5
8
|
static handleApiError(error: unknown): ResponseData;
|
|
6
|
-
constructor(config?: CreateAxiosDefaults);
|
|
9
|
+
constructor(config?: CreateAxiosDefaults, adr?: string, huiwenToken?: string);
|
|
7
10
|
addResponseInterceptor<T = any>(findError: (response: AxiosResponse<T>) => ResponseData | undefined): void;
|
|
8
11
|
api<T = any>(config: AxiosRequestConfig): Promise<T>;
|
|
9
12
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iflyrpa/actions",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.25",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"module": "./dist/index.mjs",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"form-data": "^4.0.1",
|
|
17
17
|
"htmlparser2": "^9.1.0",
|
|
18
18
|
"mime-types": "^2.1.35",
|
|
19
|
-
"@iflyrpa/share": "0.0.
|
|
19
|
+
"@iflyrpa/share": "0.0.14"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@rslib/core": "^0.4.1",
|