@karpeleslab/klbfw 0.2.6 → 0.2.7

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.
Files changed (2) hide show
  1. package/index.d.ts +3 -3
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -29,9 +29,9 @@ declare function hasCookie(name: string): boolean;
29
29
  declare function setCookie(name: string, value: string, expires?: Date | number, path?: string, domain?: string, secure?: boolean): void;
30
30
 
31
31
  // REST API types
32
- declare function rest(name: string, verb: string, params?: Record<string, any> | string, context?: Record<string, any>): Promise<any>;
33
- declare function rest_get(name: string, params?: Record<string, any> | string): Promise<any>; // Backward compatibility
34
- declare function restGet(name: string, params?: Record<string, any> | string): Promise<any>;
32
+ declare function rest(name: string, verb: string, params?: Record<string, any>, context?: Record<string, any>): Promise<any>;
33
+ declare function rest_get(name: string, params?: Record<string, any>): Promise<any>; // Backward compatibility
34
+ declare function restGet(name: string, params?: Record<string, any>): Promise<any>;
35
35
 
36
36
  // Upload module types
37
37
  interface UploadOptions {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@karpeleslab/klbfw",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "description": "Frontend Framework",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",