@moonbase.sh/vue 0.1.72 → 0.1.73

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
@@ -397,7 +397,7 @@ function useAuth() {
397
397
  setPassword: async (currentPassword, newPassword) => {
398
398
  if (!storefront.currentUser.value)
399
399
  throw new Error("No user loaded");
400
- await storefront.client.identity.setPassword(storefront.currentUser.value.email, currentPassword, newPassword);
400
+ await storefront.client.identity.setPassword(currentPassword, newPassword);
401
401
  },
402
402
  forgotPassword: async (email) => {
403
403
  await storefront.client.identity.forgotPassword(email);
package/dist/index.js CHANGED
@@ -363,7 +363,7 @@ function useAuth() {
363
363
  setPassword: async (currentPassword, newPassword) => {
364
364
  if (!storefront.currentUser.value)
365
365
  throw new Error("No user loaded");
366
- await storefront.client.identity.setPassword(storefront.currentUser.value.email, currentPassword, newPassword);
366
+ await storefront.client.identity.setPassword(currentPassword, newPassword);
367
367
  },
368
368
  forgotPassword: async (email) => {
369
369
  await storefront.client.identity.forgotPassword(email);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@moonbase.sh/vue",
3
3
  "type": "module",
4
- "version": "0.1.72",
4
+ "version": "0.1.73",
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.72"
21
+ "@moonbase.sh/api-client": "0.1.73"
22
22
  },
23
23
  "devDependencies": {
24
24
  "@types/uuid": "^9.0.7",