@iflyrpa/actions 1.2.25 → 1.2.26

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.
@@ -8,5 +8,8 @@ export declare class Http {
8
8
  static handleApiError(error: unknown): ResponseData;
9
9
  constructor(config?: CreateAxiosDefaults, adr?: string, huiwenToken?: string);
10
10
  addResponseInterceptor<T = any>(findError: (response: AxiosResponse<T>) => ResponseData | undefined): void;
11
- api<T = any>(config: AxiosRequestConfig): Promise<T>;
11
+ api<T = any>(config: AxiosRequestConfig, options?: {
12
+ retries?: number;
13
+ retryDelay?: number;
14
+ }): Promise<T>;
12
15
  }
@@ -0,0 +1,5 @@
1
+ export declare class Xhshow {
2
+ signXsGet(uri: string, a1Value: string, xsecAppid?: string, params?: Record<string, unknown> | null): string;
3
+ signXsPost(uri: string, a1Value: string, xsecAppid?: string, payload?: Record<string, unknown> | null): string;
4
+ }
5
+ export default Xhshow;
@@ -0,0 +1,7 @@
1
+ declare global {
2
+ interface Window {
3
+ mnsv2: (arg1: string, arg2: string) => string;
4
+ }
5
+ }
6
+ declare const mnsv2_enc: (arg1: string, arg2: string, a1value: string) => string;
7
+ export default mnsv2_enc;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iflyrpa/actions",
3
- "version": "1.2.25",
3
+ "version": "1.2.26",
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.14"
19
+ "@iflyrpa/share": "0.0.15"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@rslib/core": "^0.4.1",