@senlinz/import-export 0.0.1-beta.3 → 0.0.1-beta.5

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.
@@ -7,7 +7,7 @@ export declare class ImexportTableComponent {
7
7
  buffer?: Uint8Array;
8
8
  }): Promise<void>;
9
9
  exportExcelTemplate(): Promise<void>;
10
- epxortExcel(data: any[]): Promise<void>;
10
+ exportExcel(data: any[]): Promise<void>;
11
11
  componentDidLoad(): void;
12
12
  fileInput: HTMLInputElement;
13
13
  linkInput: HTMLAnchorElement;
@@ -9,7 +9,7 @@ import { ExcelDefinition } from "./types";
9
9
  export { ExcelDefinition } from "./types";
10
10
  export namespace Components {
11
11
  interface ImexportTable {
12
- "epxortExcel": (data: any[]) => Promise<void>;
12
+ "exportExcel": (data: any[]) => Promise<void>;
13
13
  "exportExcelTemplate": () => Promise<void>;
14
14
  "importExcel": <T>(options?: { buffer?: Uint8Array; }) => Promise<void>;
15
15
  "info": ExcelDefinition;
@@ -1,5 +1,5 @@
1
1
  import { ExcelInfo } from '@senlinz/import-export-wasm';
2
- declare function initializeWasm(): Promise<void>;
2
+ declare function initializeWasm(): void;
3
3
  declare function fromExcel<T>(info: ExcelInfo, buffer: Uint8Array): Promise<T[]>;
4
4
  declare function toExcel<T>(info: ExcelInfo, data: T[]): Promise<Uint8Array>;
5
5
  declare function createExcel(info: ExcelInfo): Promise<Uint8Array>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@senlinz/import-export",
3
- "version": "0.0.1-beta.3",
3
+ "version": "0.0.1-beta.5",
4
4
  "description": "Stencil Component for import/export excel files.",
5
5
  "module": "dist/components/index.js",
6
6
  "types": "dist/types/index.d.ts",
@@ -36,7 +36,7 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "fflate": "^0.8.2",
39
- "@senlinz/import-export-wasm": "0.0.1-beta.3"
39
+ "@senlinz/import-export-wasm": "0.0.1-beta.5"
40
40
  },
41
41
  "keywords": [
42
42
  "stencil",