magtool 1.2.5 → 1.2.8
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/dist/store.js +7 -7
- package/package.json +2 -3
package/dist/store.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { createPinia as
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
const n =
|
|
6
|
-
|
|
7
|
-
}),
|
|
1
|
+
import { createPinia as a, defineStore as i } from "pinia";
|
|
2
|
+
const c = a(), s = (e) => {
|
|
3
|
+
const o = {};
|
|
4
|
+
Object.keys(e).forEach((t) => {
|
|
5
|
+
const n = t.match(/chip\/(\S*).js/)[1];
|
|
6
|
+
o[n] = i(n, e[t].default);
|
|
7
|
+
}), window.$store = o, window.$pinia = c;
|
|
8
8
|
};
|
|
9
9
|
export {
|
|
10
10
|
s as default
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "magtool",
|
|
3
3
|
"packageManager": "yarn@4.4.1",
|
|
4
|
-
"version": "1.2.
|
|
5
|
-
"author": "
|
|
4
|
+
"version": "1.2.8",
|
|
5
|
+
"author": "matt avis",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"module": "./dist/index.js",
|
|
8
8
|
"exports": {
|
|
@@ -46,6 +46,5 @@
|
|
|
46
46
|
"vite": "^6.0.5",
|
|
47
47
|
"vite-plugin-obfuscator": "^1.0.5"
|
|
48
48
|
},
|
|
49
|
-
"description": "",
|
|
50
49
|
"license": "ISC"
|
|
51
50
|
}
|