@jetshop/template-trend 5.15.0 → 5.16.0-alpha.86c426f4
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/package.json
CHANGED
package/schema.graphql
CHANGED
|
@@ -1105,10 +1105,10 @@ type Mutation {
|
|
|
1105
1105
|
|
|
1106
1106
|
"""
|
|
1107
1107
|
LoginMutation will log a user in.
|
|
1108
|
-
One of email, pid, externalId or
|
|
1108
|
+
One of email, pid, externalId, memberNumber or customerId is required, along with a password.
|
|
1109
1109
|
Returns an authorization token if the login was successful.
|
|
1110
1110
|
"""
|
|
1111
|
-
login(password: String, email: String, pid: String, externalId: String, memberNumber: String, externalHashId: String, timeStamp: String): LoginResponse
|
|
1111
|
+
login(password: String, email: String, pid: String, externalId: String, memberNumber: String, externalHashId: String, timeStamp: String, customerId: Int): LoginResponse
|
|
1112
1112
|
|
|
1113
1113
|
"""
|
|
1114
1114
|
Requires a valid email and returns boolean value if successful, otherwise an error will be thrown
|
|
@@ -61,14 +61,13 @@ const Wrapper = styled('div')`
|
|
|
61
61
|
`;
|
|
62
62
|
|
|
63
63
|
const CookieConsent = ({ cookies }) => {
|
|
64
|
-
const {
|
|
64
|
+
const { GoogleTrackingConsents } = cookies.cookies;
|
|
65
65
|
|
|
66
|
-
const [visible, setVisible] = useState(
|
|
66
|
+
const [visible, setVisible] = useState(!GoogleTrackingConsents);
|
|
67
67
|
const [unmounting, setUnmounting] = useState(false);
|
|
68
68
|
const track = useTracker();
|
|
69
69
|
|
|
70
70
|
function agree() {
|
|
71
|
-
cookies.set('cookieConsent', `agreed`);
|
|
72
71
|
setUnmounting(true);
|
|
73
72
|
track({
|
|
74
73
|
name: 'consent'
|