@devup-ui/wasm 0.1.43 → 0.1.44

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devup-ui/wasm",
3
- "version": "0.1.43",
3
+ "version": "0.1.44",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
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
@@ -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];