@devup-ui/wasm 1.0.18 → 1.0.20
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.
- package/package.json +1 -1
- package/pkg/index.d.ts +1 -1
- package/pkg/index.js +5 -1
- package/pkg/index_bg.wasm +0 -0
- package/pkg/index_bg.wasm.d.ts +1 -1
package/package.json
CHANGED
package/pkg/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export function setDebug(debug: boolean): void;
|
|
4
|
-
export function isDebug():
|
|
4
|
+
export function isDebug(): boolean;
|
|
5
5
|
export function importSheet(sheet_object: any): void;
|
|
6
6
|
export function exportSheet(): string;
|
|
7
7
|
export function importClassMap(sheet_object: any): void;
|
package/pkg/index.js
CHANGED
|
@@ -177,8 +177,12 @@ module.exports.setDebug = function(debug) {
|
|
|
177
177
|
wasm.setDebug(debug);
|
|
178
178
|
};
|
|
179
179
|
|
|
180
|
+
/**
|
|
181
|
+
* @returns {boolean}
|
|
182
|
+
*/
|
|
180
183
|
module.exports.isDebug = function() {
|
|
181
|
-
wasm.isDebug();
|
|
184
|
+
const ret = wasm.isDebug();
|
|
185
|
+
return ret !== 0;
|
|
182
186
|
};
|
|
183
187
|
|
|
184
188
|
function takeFromExternrefTable0(idx) {
|
package/pkg/index_bg.wasm
CHANGED
|
Binary file
|
package/pkg/index_bg.wasm.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export const output_code: (a: number) => [number, number];
|
|
|
6
6
|
export const output_map: (a: number) => [number, number];
|
|
7
7
|
export const output_css: (a: number) => [number, number];
|
|
8
8
|
export const setDebug: (a: number) => void;
|
|
9
|
-
export const isDebug: () =>
|
|
9
|
+
export const isDebug: () => number;
|
|
10
10
|
export const importSheet: (a: any) => [number, number];
|
|
11
11
|
export const exportSheet: () => [number, number, number, number];
|
|
12
12
|
export const importClassMap: (a: any) => [number, number];
|