magtool 1.6.0 → 1.6.1

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.
Files changed (2) hide show
  1. package/dist/vendor.js +6 -5
  2. package/package.json +1 -1
package/dist/vendor.js CHANGED
@@ -2,8 +2,8 @@ import { d as n } from "./util.js";
2
2
  import { d as a } from "./directive.js";
3
3
  import { p as c } from "./store.js";
4
4
  /* empty css */
5
- import "./cpt/component.js";
6
- const d = (t, r, o) => {
5
+ import { c as m } from "./cpt/component.js";
6
+ const v = (t, r, o) => {
7
7
  const e = t[r];
8
8
  return e ? typeof e == "function" ? e() : Promise.resolve(e) : new Promise((i, s) => {
9
9
  (typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
@@ -15,7 +15,7 @@ const d = (t, r, o) => {
15
15
  )
16
16
  );
17
17
  });
18
- }, v = (t, r) => {
18
+ }, y = (t, r) => {
19
19
  t.use(n).use(a);
20
20
  let o;
21
21
  if (r.storeChips)
@@ -25,6 +25,7 @@ const d = (t, r, o) => {
25
25
  } catch {
26
26
  throw new Error("RangeError: Maximum call stack size exceeded");
27
27
  }
28
+ r.registCpt && m.regist(t);
28
29
  }, _ = (t, r) => {
29
30
  const o = t.__vccOpts || t;
30
31
  for (const [e, i] of r)
@@ -33,6 +34,6 @@ const d = (t, r, o) => {
33
34
  };
34
35
  export {
35
36
  _,
36
- d as a,
37
- v as i
37
+ v as a,
38
+ y as i
38
39
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "magtool",
3
3
  "packageManager": "yarn@4.4.1",
4
- "version": "1.6.0",
4
+ "version": "1.6.1",
5
5
  "author": "matt avis",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",