@verdocs/js-sdk 1.2.1 → 1.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.
@@ -4,4 +4,4 @@ export interface IUpdateRecipientParams {
4
4
  new_full_name?: string;
5
5
  agreed?: boolean;
6
6
  }
7
- export declare const updateRecipientStatus: (documentId: string, roleName: string, action: TRecipientAction, params?: IUpdateRecipientParams | undefined) => Promise<IRecipient>;
7
+ export declare const updateRecipientStatus: (documentId: string, roleName: string, action: TRecipientAction, params?: IUpdateRecipientParams) => Promise<IRecipient>;
@@ -4,7 +4,7 @@ export interface IGetTemplatesParams {
4
4
  is_creator?: boolean;
5
5
  is_organization?: boolean;
6
6
  }
7
- export declare const getTemplates: (params?: IGetTemplatesParams | undefined) => Promise<any[]>;
7
+ export declare const getTemplates: (params?: IGetTemplatesParams) => Promise<any[]>;
8
8
  export declare const getTemplate: (templateId: string) => Promise<any>;
9
9
  export declare const createTemplate: (params: any) => Promise<ITemplate>;
10
10
  export declare const editTemplate: (templateId: string, params: any) => Promise<ITemplate>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verdocs/js-sdk",
3
- "version": "1.2.1",
3
+ "version": "1.3.0",
4
4
  "private": false,
5
5
  "homepage": "https://github.com/Verdocs/js-sdk",
6
6
  "description": "Verdocs JS SDK",
@@ -45,21 +45,21 @@
45
45
  "access": "public"
46
46
  },
47
47
  "dependencies": {
48
- "axios": "^0.25.0"
48
+ "axios": "^0.27.2"
49
49
  },
50
50
  "peerDependencies": {
51
- "typescript": "4.2.x || 4.3.x || 4.4.x || 4.5.x"
51
+ "typescript": "^4.7.3"
52
52
  },
53
53
  "devDependencies": {
54
- "@types/jest": "^27.0.2",
55
- "jest": "^27.3.1",
56
- "jest-mock-axios": "^4.4.1",
57
- "prettier": "^2.5.1",
58
- "ts-jest": "^27.0.7",
54
+ "@types/jest": "^28.1.1",
55
+ "jest": "^28.1.1",
56
+ "jest-mock-axios": "^4.6.1",
57
+ "prettier": "^2.7.0",
58
+ "ts-jest": "^28.0.5",
59
59
  "tslint": "^6.1.3",
60
60
  "tslint-config-prettier": "^1.18.0",
61
- "typedoc": "^0.22.10",
62
- "typedoc-plugin-markdown": "^3.11.9",
63
- "typescript": "^4.5.4"
61
+ "typedoc": "^0.22.17",
62
+ "typedoc-plugin-markdown": "^3.12.1",
63
+ "typescript": "^4.7.3"
64
64
  }
65
65
  }