@devup-ui/wasm 1.0.10 → 1.0.11

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
@@ -17,7 +17,7 @@
17
17
  "react",
18
18
  "wasm"
19
19
  ],
20
- "version": "1.0.10",
20
+ "version": "1.0.11",
21
21
  "publishConfig": {
22
22
  "access": "public"
23
23
  },
package/pkg/index.d.ts CHANGED
@@ -18,6 +18,7 @@ export class Output {
18
18
  * Get the code
19
19
  */
20
20
  readonly code: string;
21
+ readonly map: string | undefined;
21
22
  /**
22
23
  * Get the css
23
24
  */
package/pkg/index.js CHANGED
@@ -390,6 +390,18 @@ class Output {
390
390
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
391
391
  }
392
392
  }
393
+ /**
394
+ * @returns {string | undefined}
395
+ */
396
+ get map() {
397
+ const ret = wasm.output_map(this.__wbg_ptr);
398
+ let v1;
399
+ if (ret[0] !== 0) {
400
+ v1 = getStringFromWasm0(ret[0], ret[1]).slice();
401
+ wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
402
+ }
403
+ return v1;
404
+ }
393
405
  /**
394
406
  * Get the css
395
407
  * @returns {string | undefined}
package/pkg/index_bg.wasm CHANGED
Binary file
@@ -3,6 +3,7 @@
3
3
  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
+ export const output_map: (a: number) => [number, number];
6
7
  export const output_css: (a: number) => [number, number];
7
8
  export const setDebug: (a: number) => void;
8
9
  export const isDebug: () => void;