@scayle/omnichannel-nuxt 2.1.3 → 2.1.4
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/CHANGELOG.md +6 -0
- package/README.md +5 -6
- package/dist/module.json +1 -1
- package/package.json +13 -14
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -26,7 +26,6 @@ const config: NuxtConfig & { storefront: ModuleOptions } = {
|
|
|
26
26
|
},
|
|
27
27
|
],
|
|
28
28
|
],
|
|
29
|
-
|
|
30
29
|
// ...
|
|
31
30
|
}
|
|
32
31
|
|
|
@@ -64,7 +63,7 @@ When using Nuxt 3, composables are automatically registered and do not need to b
|
|
|
64
63
|
|
|
65
64
|
### [useStoreLocator](./src/composables/useStoreLocator.ts)
|
|
66
65
|
|
|
67
|
-
Getting `storesData` based on provided address
|
|
66
|
+
Getting `storesData` based on a provided address
|
|
68
67
|
|
|
69
68
|
Example:
|
|
70
69
|
|
|
@@ -76,7 +75,7 @@ const address = 'Hamburg'
|
|
|
76
75
|
await refreshStores(address)
|
|
77
76
|
```
|
|
78
77
|
|
|
79
|
-
Getting `variantStoresData` based on provided address
|
|
78
|
+
Getting `variantStoresData` based on a provided address
|
|
80
79
|
|
|
81
80
|
Example:
|
|
82
81
|
|
|
@@ -86,10 +85,10 @@ import { useStoreLocator } from '@scayle/omnichannel-nuxt'
|
|
|
86
85
|
const { variantStoresData, refreshVariantStores } = useStoreLocator()
|
|
87
86
|
const address = 'Hamburg'
|
|
88
87
|
const storeId = 12
|
|
89
|
-
await
|
|
88
|
+
await refreshVariantStores(storeId, { address: address })
|
|
90
89
|
```
|
|
91
90
|
|
|
92
|
-
Getting `storeVariantData` based on provided store ID and variant ID
|
|
91
|
+
Getting `storeVariantData` based on a provided store ID and variant ID
|
|
93
92
|
|
|
94
93
|
Example:
|
|
95
94
|
|
|
@@ -99,5 +98,5 @@ import { useStoreLocator } from '@scayle/omnichannel-nuxt'
|
|
|
99
98
|
const { storeVariantData, refreshStoreVariant } = useStoreLocator()
|
|
100
99
|
const variantId = 1
|
|
101
100
|
const storeId = 12
|
|
102
|
-
await
|
|
101
|
+
await refreshStoreVariant(variantId, storeId)
|
|
103
102
|
```
|
package/dist/module.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scayle/omnichannel-nuxt",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.4",
|
|
4
4
|
"description": "Collection of essential utilities to work with omnichannel",
|
|
5
5
|
"author": "SCAYLE Commerce Engine",
|
|
6
6
|
"license": "MIT",
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"dev": "nuxi dev playground",
|
|
44
44
|
"dev:build": "nuxi build playground",
|
|
45
45
|
"prep": "nuxi prepare playground",
|
|
46
|
-
"format": "
|
|
47
|
-
"format:fix": "
|
|
46
|
+
"format": "dprint check",
|
|
47
|
+
"format:fix": "dprint fmt",
|
|
48
48
|
"lint": "eslint . --format gitlab",
|
|
49
49
|
"lint:fix": "eslint . --fix",
|
|
50
50
|
"package:lint": "publint",
|
|
@@ -53,34 +53,33 @@
|
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
55
|
"@nuxtjs/composition-api": "0.33.1",
|
|
56
|
-
"express": "4.
|
|
56
|
+
"express": "4.19.2"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@nuxt/kit": "3.
|
|
59
|
+
"@nuxt/kit": "3.11.1",
|
|
60
60
|
"body-parser": "1.20.2",
|
|
61
61
|
"qs": "6.12.0",
|
|
62
62
|
"utility-types": "3.11.0"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"@nuxt/module-builder": "0.5.5",
|
|
66
|
-
"@nuxt/schema": "3.
|
|
66
|
+
"@nuxt/schema": "3.11.1",
|
|
67
67
|
"@nuxt/types": "2.17.3",
|
|
68
68
|
"@nuxtjs/composition-api": "0.33.1",
|
|
69
|
-
"@scayle/eslint-config-storefront": "3.2.
|
|
70
|
-
"@scayle/prettier-config-storefront": "2.0.2",
|
|
69
|
+
"@scayle/eslint-config-storefront": "3.2.7",
|
|
71
70
|
"@types/body-parser": "1.19.5",
|
|
72
71
|
"@types/express": "4.17.21",
|
|
73
|
-
"@types/node": "20.
|
|
74
|
-
"@types/qs": "6.9.
|
|
72
|
+
"@types/node": "20.12.6",
|
|
73
|
+
"@types/qs": "6.9.14",
|
|
74
|
+
"dprint": "0.45.1",
|
|
75
75
|
"eslint": "8.57.0",
|
|
76
76
|
"eslint-formatter-gitlab": "5.1.0",
|
|
77
77
|
"h3": "1.11.1",
|
|
78
|
-
"nuxi": "3.
|
|
79
|
-
"
|
|
80
|
-
"typescript": "5.4.2",
|
|
78
|
+
"nuxi": "3.11.1",
|
|
79
|
+
"typescript": "5.4.4",
|
|
81
80
|
"vue": "2.7.16"
|
|
82
81
|
},
|
|
83
82
|
"volta": {
|
|
84
|
-
"node": "20.
|
|
83
|
+
"node": "20.12.1"
|
|
85
84
|
}
|
|
86
85
|
}
|