limbo-component 4.0.1 → 4.0.2

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.
@@ -1,8 +1,7 @@
1
- export default function App({ apiKey, onClose, prod, url, features, modeUI, ui, callbacks, instanceId, itemsPerPage, _externalImage, cropperConfig, folderConfig, allowedCategories, accept, returnConfig, }: {
1
+ export default function App({ apiKey, onClose, prod, features, modeUI, ui, callbacks, instanceId, itemsPerPage, _externalImage, cropperConfig, folderConfig, allowedCategories, accept, returnConfig, }: {
2
2
  apiKey: any;
3
3
  onClose: any;
4
4
  prod?: boolean;
5
- url?: boolean;
6
5
  features?: string[];
7
6
  modeUI?: string;
8
7
  ui?: {
@@ -1 +1 @@
1
- {"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../../src/App.jsx"],"names":[],"mappings":"AAqBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CAgnBC"}
1
+ {"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../../src/App.jsx"],"names":[],"mappings":"AAqBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CAknBC"}
@@ -1 +1 @@
1
- {"version":3,"file":"useTokenExpiration.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useTokenExpiration.js"],"names":[],"mappings":"AAGA;;;;;;;;GAQG;AACH;;;;;;;EAsFC"}
1
+ {"version":3,"file":"useTokenExpiration.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useTokenExpiration.js"],"names":[],"mappings":"AAGA;;;;;;;;GAQG;AACH;;;;;;;EAuFC"}
@@ -17,7 +17,7 @@ export function getBaseUrl({ prod }?: {
17
17
  * Set JWT token (generated by backend)
18
18
  * @param {string} token - JWT token
19
19
  */
20
- export function setToken(token: string): void;
20
+ export function setToken(token: string, expiresIn?: any): void;
21
21
  /**
22
22
  * Get current configuration
23
23
  */
@@ -1 +1 @@
1
- {"version":3,"file":"apiClient.d.ts","sourceRoot":"","sources":["../../../../src/services/apiClient.js"],"names":[],"mappings":"AAgCA;;;;;;GAMG;AACH,2CAJG;IAAuB,SAAS,EAAxB,MAAM;IACU,KAAK,GAArB,MAAM;IACW,IAAI,GAArB,OAAO;CACjB,QAoBA;AAGD;;WAEC;AAuED;;;GAGG;AACH,gCAFW,MAAM,QAOhB;AAED;;GAEG;AACH;;;;;;;EAEC;AAGD;;;;;;;;;;iBA+GC"}
1
+ {"version":3,"file":"apiClient.d.ts","sourceRoot":"","sources":["../../../../src/services/apiClient.js"],"names":[],"mappings":"AAuGA;;;;;;GAMG;AACH,2CAJG;IAAuB,SAAS,EAAxB,MAAM;IACU,KAAK,GAArB,MAAM;IACW,IAAI,GAArB,OAAO;CACjB,QAsBA;AAGD;;WAEC;AAwDD;;;GAGG;AACH,gCAFW,MAAM,yBAUhB;AAED;;GAEG;AACH;;;;;;;EAEC;AAGD;;;;;;;;;;iBAwHC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "limbo-component",
3
- "version": "4.0.1",
3
+ "version": "4.0.2",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Limbo - Highly configurable React image manager component for web portals",
@@ -38,6 +38,7 @@
38
38
  "license": "proprietary",
39
39
  "scripts": {
40
40
  "dev": "vite",
41
+ "prebuild": "npm test",
41
42
  "build": "node scripts/build.cjs",
42
43
  "build:standard": "BUILD_TYPE=standard vite build --config vite.config.build.js",
43
44
  "build:umd": "BUILD_TYPE=umd vite build --config vite.config.build.js",