@nebularstreams/libmui 2.0.16 → 2.0.17

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@nebularstreams/libmui",
3
3
  "description": "Micro UI based on Mithril",
4
- "version": "2.0.16",
4
+ "version": "2.0.17",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
7
7
  "scripts": {
package/src/index.js CHANGED
@@ -26,6 +26,7 @@ import clone from "./util/util.clone"
26
26
  import Tokenizer from "./util/util.tokenizer"
27
27
  import {CoolContentTicker, CoolGenericTicker, GenericButtonTicker, optionsPrompt} from "./widgets/CoolContentTicker";
28
28
  import EmptyButton from "./widgets/EmptyButton";
29
+ import tainter from "./util/tainter"
29
30
 
30
31
  import {
31
32
  VideoUploadButton,
@@ -98,5 +99,6 @@ export {
98
99
  defineWidget,
99
100
  processImage,
100
101
  popupMessage,
101
- startApp
102
+ startApp,
103
+ tainter
102
104
  }
@@ -23,9 +23,17 @@ function untaint() {
23
23
  m.redraw();
24
24
  }
25
25
 
26
+
26
27
  export {
27
28
  taint,
28
29
  taintRedraw,
29
30
  isTainted,
30
31
  untaint
31
32
  };
33
+
34
+ export default {
35
+ taint,
36
+ taintRedraw,
37
+ isTainted,
38
+ untaint
39
+ }