@innovastudio/contentbox 1.6.80 → 1.6.82

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/index.d.ts +2 -2
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -319,7 +319,7 @@ interface ContentBoxOptions {
319
319
  declare class ContentBox {
320
320
  constructor(options: ContentBoxOptions);
321
321
 
322
- boxImage(url: string, err: string): void;
322
+ boxImage(url: string, err?: string): void;
323
323
  returnUrl(s: string): void;
324
324
  htmlCheck(): void;
325
325
  loadHtml(html: string): void;
@@ -330,7 +330,7 @@ declare class ContentBox {
330
330
  openAIAssistant(): void;
331
331
  openSettings(e: object): void;
332
332
  clear(): void;
333
- saveImages(handler?: string, onComplete?: () => void, onSave?: () => void): void;
333
+ saveImages(handler?: string, onComplete?: () => void, onSave?: (img: HTMLImageElement, base64: string, filename: string) => void): void;
334
334
  html(bForView?: boolean)
335
335
  mainCss(): void;
336
336
  sectionCss(): void;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@innovastudio/contentbox",
3
3
  "type": "module",
4
- "version": "1.6.80",
4
+ "version": "1.6.82",
5
5
  "description": "",
6
6
  "main": "public/contentbox/contentbox.esm.js",
7
7
  "types": "index.d.ts",