@bobfrankston/msger 0.1.48 → 0.1.49

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/index.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC"}
package/index.js CHANGED
@@ -1,6 +1,3 @@
1
- import main from "./cli.js";
1
+ // Export showMessageBox and types for use as a library
2
2
  export { showMessageBox } from "./shower.js";
3
- if (import.meta.main) {
4
- await main();
5
- }
6
3
  //# sourceMappingURL=index.js.map
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,UAAU,CAAC;AAE5B,OAAO,EAAE,cAAc,EAAuC,MAAM,aAAa,CAAC;AAElF,IAAI,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;IACnB,MAAM,IAAI,EAAE,CAAC;AACjB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,uDAAuD;AACvD,OAAO,EAAE,cAAc,EAAuC,MAAM,aAAa,CAAC"}
package/index.ts CHANGED
@@ -1,7 +1,2 @@
1
- import main from "./cli.js";
2
-
1
+ // Export showMessageBox and types for use as a library
3
2
  export { showMessageBox, MessageBoxOptions, MessageBoxResult } from "./shower.js";
4
-
5
- if (import.meta.main) {
6
- await main();
7
- }
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@bobfrankston/msger",
3
- "version": "0.1.48",
3
+ "version": "0.1.49",
4
4
  "description": "Fast, lightweight, cross-platform message box - Rust-powered alternative to msgview",
5
5
  "type": "module",
6
- "main": "./cli.js",
6
+ "main": "./index.js",
7
7
  "bin": {
8
8
  "msger": "./cli.js"
9
9
  },