@moonbase.sh/vue 0.2.1 → 0.2.7

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
@@ -97,11 +97,9 @@ var _StorefrontContextImpl = class _StorefrontContextImpl {
97
97
  window.addEventListener("storage", (event) => this.handleStorageUpdate(event));
98
98
  const cachedOrderJson = localStorage.getItem(_StorefrontContextImpl.sessionKey);
99
99
  if (cachedOrderJson) {
100
- console.log("Found cached session:", cachedOrderJson);
101
100
  this.currentOrder = (0, import_vue.ref)(JSON.parse(cachedOrderJson));
102
101
  const _1 = this.refreshOrder();
103
102
  } else {
104
- console.log("No cached session found");
105
103
  this.currentOrder = (0, import_vue.ref)({
106
104
  id: (0, import_uuid.v4)(),
107
105
  status: import_storefront_api.OrderStatus.Open,
package/dist/index.js CHANGED
@@ -62,11 +62,9 @@ var _StorefrontContextImpl = class _StorefrontContextImpl {
62
62
  window.addEventListener("storage", (event) => this.handleStorageUpdate(event));
63
63
  const cachedOrderJson = localStorage.getItem(_StorefrontContextImpl.sessionKey);
64
64
  if (cachedOrderJson) {
65
- console.log("Found cached session:", cachedOrderJson);
66
65
  this.currentOrder = ref(JSON.parse(cachedOrderJson));
67
66
  const _1 = this.refreshOrder();
68
67
  } else {
69
- console.log("No cached session found");
70
68
  this.currentOrder = ref({
71
69
  id: uuidv4(),
72
70
  status: OrderStatus.Open,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@moonbase.sh/vue",
3
3
  "type": "module",
4
- "version": "0.2.1",
4
+ "version": "0.2.7",
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/storefront-api": "0.2.1"
21
+ "@moonbase.sh/storefront-api": "0.2.7"
22
22
  },
23
23
  "devDependencies": {
24
24
  "@types/uuid": "^9.0.7",