@moonbase.sh/vue 0.1.104 → 0.1.106
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 +3 -2
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -2
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -496,14 +496,15 @@ function useAuth() {
|
|
|
496
496
|
const _ = storefront.updateStorefront();
|
|
497
497
|
return user;
|
|
498
498
|
},
|
|
499
|
-
signUp: async (name, email, password, address, acceptedPrivacyPolicy, acceptedTermsAndConditions) => {
|
|
499
|
+
signUp: async (name, email, password, address, acceptedPrivacyPolicy, acceptedTermsAndConditions, communicationOptIn) => {
|
|
500
500
|
const user = await storefront.client.identity.signUp(
|
|
501
501
|
name,
|
|
502
502
|
email,
|
|
503
503
|
password,
|
|
504
504
|
address,
|
|
505
505
|
acceptedPrivacyPolicy,
|
|
506
|
-
acceptedTermsAndConditions
|
|
506
|
+
acceptedTermsAndConditions,
|
|
507
|
+
communicationOptIn
|
|
507
508
|
);
|
|
508
509
|
storefront.currentUser.value = user;
|
|
509
510
|
const _ = storefront.updateStorefront();
|
package/dist/index.d.cts
CHANGED
|
@@ -942,7 +942,7 @@ declare function useAuth(): {
|
|
|
942
942
|
postCode: string;
|
|
943
943
|
} | undefined;
|
|
944
944
|
}>;
|
|
945
|
-
signUp: (name: string, email: string, password: string, address: Address | null | undefined, acceptedPrivacyPolicy: boolean, acceptedTermsAndConditions: boolean) => Promise<{
|
|
945
|
+
signUp: (name: string, email: string, password: string, address: Address | null | undefined, acceptedPrivacyPolicy: boolean, acceptedTermsAndConditions: boolean, communicationOptIn?: boolean) => Promise<{
|
|
946
946
|
id: string;
|
|
947
947
|
email: string;
|
|
948
948
|
name: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -942,7 +942,7 @@ declare function useAuth(): {
|
|
|
942
942
|
postCode: string;
|
|
943
943
|
} | undefined;
|
|
944
944
|
}>;
|
|
945
|
-
signUp: (name: string, email: string, password: string, address: Address | null | undefined, acceptedPrivacyPolicy: boolean, acceptedTermsAndConditions: boolean) => Promise<{
|
|
945
|
+
signUp: (name: string, email: string, password: string, address: Address | null | undefined, acceptedPrivacyPolicy: boolean, acceptedTermsAndConditions: boolean, communicationOptIn?: boolean) => Promise<{
|
|
946
946
|
id: string;
|
|
947
947
|
email: string;
|
|
948
948
|
name: string;
|
package/dist/index.js
CHANGED
|
@@ -461,14 +461,15 @@ function useAuth() {
|
|
|
461
461
|
const _ = storefront.updateStorefront();
|
|
462
462
|
return user;
|
|
463
463
|
},
|
|
464
|
-
signUp: async (name, email, password, address, acceptedPrivacyPolicy, acceptedTermsAndConditions) => {
|
|
464
|
+
signUp: async (name, email, password, address, acceptedPrivacyPolicy, acceptedTermsAndConditions, communicationOptIn) => {
|
|
465
465
|
const user = await storefront.client.identity.signUp(
|
|
466
466
|
name,
|
|
467
467
|
email,
|
|
468
468
|
password,
|
|
469
469
|
address,
|
|
470
470
|
acceptedPrivacyPolicy,
|
|
471
|
-
acceptedTermsAndConditions
|
|
471
|
+
acceptedTermsAndConditions,
|
|
472
|
+
communicationOptIn
|
|
472
473
|
);
|
|
473
474
|
storefront.currentUser.value = user;
|
|
474
475
|
const _ = storefront.updateStorefront();
|
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.106",
|
|
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.1.
|
|
21
|
+
"@moonbase.sh/storefront-api": "0.1.106"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@types/uuid": "^9.0.7",
|