@devup-ui/wasm 0.1.43 → 0.1.45
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 +2 -0
- package/pkg/index.js +10 -0
- package/pkg/index_bg.wasm +0 -0
- package/pkg/index_bg.wasm.d.ts +2 -0
package/package.json
CHANGED
package/pkg/index.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
+
export function setDebug(debug: boolean): void;
|
|
4
|
+
export function isDebug(): void;
|
|
3
5
|
export function importSheet(sheet_object: any): void;
|
|
4
6
|
export function exportSheet(): string;
|
|
5
7
|
export function importClassMap(sheet_object: any): void;
|
package/pkg/index.js
CHANGED
|
@@ -170,6 +170,16 @@ function getStringFromWasm0(ptr, len) {
|
|
|
170
170
|
ptr = ptr >>> 0;
|
|
171
171
|
return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
|
|
172
172
|
}
|
|
173
|
+
/**
|
|
174
|
+
* @param {boolean} debug
|
|
175
|
+
*/
|
|
176
|
+
module.exports.setDebug = function(debug) {
|
|
177
|
+
wasm.setDebug(debug);
|
|
178
|
+
};
|
|
179
|
+
|
|
180
|
+
module.exports.isDebug = function() {
|
|
181
|
+
wasm.isDebug();
|
|
182
|
+
};
|
|
173
183
|
|
|
174
184
|
function takeFromExternrefTable0(idx) {
|
|
175
185
|
const value = wasm.__wbindgen_export_4.get(idx);
|
package/pkg/index_bg.wasm
CHANGED
|
Binary file
|
package/pkg/index_bg.wasm.d.ts
CHANGED
|
@@ -4,6 +4,8 @@ export const memory: WebAssembly.Memory;
|
|
|
4
4
|
export const __wbg_output_free: (a: number, b: number) => void;
|
|
5
5
|
export const output_code: (a: number) => [number, number];
|
|
6
6
|
export const output_css: (a: number) => [number, number];
|
|
7
|
+
export const setDebug: (a: number) => void;
|
|
8
|
+
export const isDebug: () => void;
|
|
7
9
|
export const importSheet: (a: any) => [number, number];
|
|
8
10
|
export const exportSheet: () => [number, number, number, number];
|
|
9
11
|
export const importClassMap: (a: any) => [number, number];
|