@moonbase.sh/vue 0.2.7 → 0.2.9
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 +2 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -592,7 +592,8 @@ function useAuth(context) {
|
|
|
592
592
|
return await storefront.client.identity.confirmEmail(email, code);
|
|
593
593
|
},
|
|
594
594
|
confirmEmailChange: async (email, code) => {
|
|
595
|
-
|
|
595
|
+
await storefront.client.identity.confirmEmailChange(email, code);
|
|
596
|
+
const _ = storefront.updateUser();
|
|
596
597
|
}
|
|
597
598
|
};
|
|
598
599
|
}
|
package/dist/index.d.cts
CHANGED
|
@@ -16,6 +16,7 @@ interface StorefrontContext extends Pick<Plugin, keyof Plugin> {
|
|
|
16
16
|
loadedUser: Ref<boolean>;
|
|
17
17
|
loadedUserPromise: Promise<void>;
|
|
18
18
|
client: MoonbaseClient;
|
|
19
|
+
updateUser: () => Promise<void>;
|
|
19
20
|
updateStorefront: () => Promise<void>;
|
|
20
21
|
pushOrderContent: () => Promise<void>;
|
|
21
22
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ interface StorefrontContext extends Pick<Plugin, keyof Plugin> {
|
|
|
16
16
|
loadedUser: Ref<boolean>;
|
|
17
17
|
loadedUserPromise: Promise<void>;
|
|
18
18
|
client: MoonbaseClient;
|
|
19
|
+
updateUser: () => Promise<void>;
|
|
19
20
|
updateStorefront: () => Promise<void>;
|
|
20
21
|
pushOrderContent: () => Promise<void>;
|
|
21
22
|
/**
|
package/dist/index.js
CHANGED
|
@@ -557,7 +557,8 @@ function useAuth(context) {
|
|
|
557
557
|
return await storefront.client.identity.confirmEmail(email, code);
|
|
558
558
|
},
|
|
559
559
|
confirmEmailChange: async (email, code) => {
|
|
560
|
-
|
|
560
|
+
await storefront.client.identity.confirmEmailChange(email, code);
|
|
561
|
+
const _ = storefront.updateUser();
|
|
561
562
|
}
|
|
562
563
|
};
|
|
563
564
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moonbase.sh/vue",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.9",
|
|
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.
|
|
21
|
+
"@moonbase.sh/storefront-api": "0.2.9"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@types/uuid": "^9.0.7",
|