@moonbase.sh/vue 0.1.48 → 0.1.49
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 +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -137,7 +137,7 @@ var _StorefrontContextImpl = class _StorefrontContextImpl {
|
|
|
137
137
|
}
|
|
138
138
|
async pushOrderContent() {
|
|
139
139
|
if (typeof window !== "undefined")
|
|
140
|
-
localStorage.setItem(_StorefrontContextImpl.
|
|
140
|
+
localStorage.setItem(_StorefrontContextImpl.sessionKey, JSON.stringify(this.currentOrder.value));
|
|
141
141
|
const _ = this.debouncedPushOrderContent(this.currentOrder.value);
|
|
142
142
|
}
|
|
143
143
|
handleStorageUpdate(event) {
|
package/dist/index.js
CHANGED
|
@@ -105,7 +105,7 @@ var _StorefrontContextImpl = class _StorefrontContextImpl {
|
|
|
105
105
|
}
|
|
106
106
|
async pushOrderContent() {
|
|
107
107
|
if (typeof window !== "undefined")
|
|
108
|
-
localStorage.setItem(_StorefrontContextImpl.
|
|
108
|
+
localStorage.setItem(_StorefrontContextImpl.sessionKey, JSON.stringify(this.currentOrder.value));
|
|
109
109
|
const _ = this.debouncedPushOrderContent(this.currentOrder.value);
|
|
110
110
|
}
|
|
111
111
|
handleStorageUpdate(event) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moonbase.sh/vue",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.49",
|
|
5
5
|
"description": "Package to let you build vue.js storefronts with Moonbase.sh as payment and delivery provider",
|
|
6
6
|
"author": "Tobias Lønnerød Madsen <m@dsen.tv>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@vue/devtools-api": "^6.5.1",
|
|
20
20
|
"uuid": "^9.0.1",
|
|
21
|
-
"@moonbase.sh/api-client": "0.1.
|
|
21
|
+
"@moonbase.sh/api-client": "0.1.49"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@types/uuid": "^9.0.7",
|