@moostjs/vite 0.5.9 → 0.5.10

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/index.cjs CHANGED
@@ -169,7 +169,7 @@ function scanParams(instance, cb) {
169
169
  if (params?.length) {
170
170
  for (const param of params) {
171
171
  if (param.type === undefined ||
172
- [Array, String, Number, Boolean].includes(param.type)) {
172
+ [Array, String, Number, Boolean, Object].includes(param.type)) {
173
173
  continue;
174
174
  }
175
175
  if (cb(param.type)) {
package/dist/index.mjs CHANGED
@@ -167,7 +167,7 @@ function scanParams(instance, cb) {
167
167
  if (params?.length) {
168
168
  for (const param of params) {
169
169
  if (param.type === undefined ||
170
- [Array, String, Number, Boolean].includes(param.type)) {
170
+ [Array, String, Number, Boolean, Object].includes(param.type)) {
171
171
  continue;
172
172
  }
173
173
  if (cb(param.type)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moostjs/vite",
3
- "version": "0.5.9",
3
+ "version": "0.5.10",
4
4
  "description": "Vite Dev plugin for moostjs",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",
@@ -38,8 +38,8 @@
38
38
  },
39
39
  "homepage": "https://github.com/moostjs/moostjs/tree/main/packages/vite#readme",
40
40
  "peerDependencies": {
41
- "moost": "0.5.9",
42
- "@moostjs/event-http": "0.5.9",
41
+ "moost": "0.5.10",
42
+ "@moostjs/event-http": "0.5.10",
43
43
  "vite": "^6.0.5"
44
44
  }
45
45
  }