skapi-js 1.0.75 → 1.0.76

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.
@@ -3,9 +3,15 @@ export declare function clientSecretRequest(params: {
3
3
  url: string;
4
4
  clientSecretName: string;
5
5
  method: 'GET' | 'POST';
6
- headers?: Record<string, string>;
7
- data?: Record<string, string>;
8
- params?: Record<string, string>;
6
+ headers?: {
7
+ [key: string]: string;
8
+ };
9
+ data?: {
10
+ [key: string]: any;
11
+ };
12
+ params?: {
13
+ [key: string]: string;
14
+ };
9
15
  }): Promise<any>;
10
16
  export declare function secureRequest<RequestParams = {
11
17
  url: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skapi-js",
3
- "version": "1.0.75",
3
+ "version": "1.0.76",
4
4
  "description": "Skapi: Backend API Library for HTML frontend.",
5
5
  "main": "dist/skapi.module.js",
6
6
  "types": "js/Main.d.ts",