@scayle/omnichannel-nuxt 3.0.3 → 4.0.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 (36) hide show
  1. package/CHANGELOG.md +13 -1
  2. package/README.md +18 -33
  3. package/dist/index.d.mts +2 -27
  4. package/dist/index.d.ts +2 -27
  5. package/dist/index.mjs +1 -93
  6. package/dist/module.d.mts +2 -2
  7. package/dist/module.d.ts +2 -2
  8. package/dist/module.json +5 -1
  9. package/dist/module.mjs +4 -6
  10. package/dist/runtime/composables/index.d.ts +4 -4
  11. package/dist/runtime/composables/index.js +4 -0
  12. package/dist/runtime/composables/useStoreLocator.d.ts +4 -4
  13. package/dist/runtime/composables/{useStoreLocator.mjs → useStoreLocator.js} +3 -3
  14. package/dist/runtime/composables/useStoreVariantById.d.ts +2 -2
  15. package/dist/runtime/composables/useStores.d.ts +2 -2
  16. package/dist/runtime/composables/useVariantStores.d.ts +2 -2
  17. package/dist/runtime/constants/httpStatus.d.ts +4 -4
  18. package/dist/runtime/constants/{httpStatus.mjs → httpStatus.js} +4 -4
  19. package/dist/runtime/error/errorHandler.d.ts +1 -1
  20. package/dist/runtime/error/{errorHandler.mjs → errorHandler.js} +2 -2
  21. package/dist/runtime/handler.d.ts +6 -1
  22. package/dist/runtime/{handler.mjs → handler.js} +3 -3
  23. package/dist/runtime/lib/init.d.ts +2 -2
  24. package/dist/runtime/rpc/storeLocator.d.ts +4 -4
  25. package/dist/runtime/rpc/{storeLocator.mjs → storeLocator.js} +1 -1
  26. package/dist/shared/{omnichannel-nuxt.773770bd.d.mts → omnichannel-nuxt.270bfbda.d.mts} +1 -1
  27. package/dist/shared/{omnichannel-nuxt.773770bd.d.ts → omnichannel-nuxt.270bfbda.d.ts} +1 -1
  28. package/dist/types.d.mts +4 -5
  29. package/dist/types.d.ts +4 -5
  30. package/package.json +20 -36
  31. package/dist/chunks/createOmnichannelHandler.mjs +0 -805
  32. package/dist/runtime/composables/index.mjs +0 -4
  33. /package/dist/runtime/composables/{useStoreVariantById.mjs → useStoreVariantById.js} +0 -0
  34. /package/dist/runtime/composables/{useStores.mjs → useStores.js} +0 -0
  35. /package/dist/runtime/composables/{useVariantStores.mjs → useVariantStores.js} +0 -0
  36. /package/dist/runtime/lib/{init.mjs → init.js} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scayle/omnichannel-nuxt",
3
- "version": "3.0.3",
3
+ "version": "4.0.1",
4
4
  "description": "Collection of essential utilities to work with omnichannel",
5
5
  "author": "SCAYLE Commerce Engine",
6
6
  "license": "MIT",
@@ -8,6 +8,7 @@
8
8
  "access": "public",
9
9
  "registry": "https://registry.npmjs.org/"
10
10
  },
11
+ "website": "https://scayle.dev/en/extensions/omnichannel/user-guide",
11
12
  "exports": {
12
13
  "./module": {
13
14
  "types": "./dist/module.d.ts",
@@ -33,14 +34,14 @@
33
34
  "node": ">= 18.15.0"
34
35
  },
35
36
  "compatibility": {
36
- "nuxt": "^2.17.3 || ^3.9.0"
37
+ "nuxt": "^3.9.0"
37
38
  },
38
39
  "scripts": {
39
40
  "clean": "rimraf ./dist",
40
41
  "build": "nuxt-module-build build",
41
42
  "dev": "nuxi dev playground",
42
43
  "dev:build": "nuxi build playground",
43
- "prep": "nuxi prepare playground",
44
+ "prep": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
44
45
  "format": "dprint check",
45
46
  "format:fix": "dprint fmt",
46
47
  "lint": "eslint . --format gitlab",
@@ -50,45 +51,28 @@
50
51
  "test:watch": "vitest --passWithNoTests",
51
52
  "test:ci": "vitest --run --passWithNoTests --coverage --reporter=default --reporter=junit"
52
53
  },
53
- "peerDependencies": {
54
- "@nuxtjs/composition-api": "0.34.0",
55
- "express": "4.19.2"
56
- },
57
- "peerDependenciesMeta": {
58
- "@nuxtjs/composition-api": {
59
- "optional": true
60
- },
61
- "express": {
62
- "optional": true
63
- }
64
- },
65
54
  "dependencies": {
66
- "@nuxt/kit": "3.12.2",
67
- "body-parser": "1.20.2",
68
- "qs": "6.12.2",
69
- "utility-types": "3.11.0"
55
+ "@nuxt/kit": "^3.12.2",
56
+ "qs": "^6.12.2",
57
+ "utility-types": "^3.11.0"
70
58
  },
71
59
  "devDependencies": {
72
- "@nuxt/eslint": "0.3.13",
73
- "@nuxt/module-builder": "0.5.5",
74
- "@nuxt/schema": "3.12.2",
75
- "@nuxt/types": "2.17.3",
76
- "@nuxtjs/composition-api": "0.34.0",
77
- "@scayle/eslint-config-storefront": "4.2.0",
78
- "@types/body-parser": "1.19.5",
79
- "@types/express": "4.17.21",
80
- "@types/node": "20.14.10",
81
- "@types/qs": "6.9.15",
82
- "dprint": "0.47.0",
83
- "eslint": "9.6.0",
60
+ "@nuxt/eslint": "0.5.7",
61
+ "@nuxt/module-builder": "0.8.4",
62
+ "@nuxt/schema": "3.13.2",
63
+ "@scayle/eslint-config-storefront": "4.3.0",
64
+ "@types/node": "20.16.10",
65
+ "@types/qs": "6.9.16",
66
+ "dprint": "0.47.2",
67
+ "eslint": "9.11.1",
84
68
  "eslint-formatter-gitlab": "5.1.0",
85
69
  "h3": "1.12.0",
86
- "nuxi": "3.12.0",
87
- "typescript": "5.5.3",
88
- "vitest": "1.6.0",
89
- "vue": "2.7.16"
70
+ "nuxi": "3.14.0",
71
+ "nuxt": "3.13.2",
72
+ "typescript": "5.6.2",
73
+ "vitest": "2.1.1"
90
74
  },
91
75
  "volta": {
92
- "node": "20.15.0"
76
+ "node": "20.17.0"
93
77
  }
94
78
  }