@artsy/cohesion 4.354.0 → 4.356.0

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/CHANGELOG.md CHANGED
@@ -1,3 +1,27 @@
1
+ # v4.356.0 (Thu May 21 2026)
2
+
3
+ #### 🚀 Enhancement
4
+
5
+ - chore: use new auth method field rather than expanding triggers [#695](https://github.com/artsy/cohesion/pull/695) ([@brainbicycle](https://github.com/brainbicycle))
6
+
7
+ #### Authors: 1
8
+
9
+ - Brian Beckerle ([@brainbicycle](https://github.com/brainbicycle))
10
+
11
+ ---
12
+
13
+ # v4.355.0 (Mon May 18 2026)
14
+
15
+ #### 🚀 Enhancement
16
+
17
+ - feat: add one-tap auth trigger #trivial [#694](https://github.com/artsy/cohesion/pull/694) ([@brainbicycle](https://github.com/brainbicycle))
18
+
19
+ #### Authors: 1
20
+
21
+ - Brian Beckerle ([@brainbicycle](https://github.com/brainbicycle))
22
+
23
+ ---
24
+
1
25
  # v4.354.0 (Fri May 08 2026)
2
26
 
3
27
  #### 🚀 Enhancement
@@ -61,6 +61,7 @@ export interface CreatedAccount {
61
61
  auth_redirect: string;
62
62
  context_module: AuthContextModule;
63
63
  intent: AuthIntent;
64
+ method?: AuthMethod;
64
65
  modal_copy?: string;
65
66
  onboarding: boolean;
66
67
  service: AuthService;
@@ -126,6 +127,7 @@ export interface SuccessfullyLoggedIn {
126
127
  auth_redirect: string;
127
128
  context_module: AuthContextModule;
128
129
  intent: AuthIntent;
130
+ method?: AuthMethod;
129
131
  modal_copy?: string;
130
132
  service: AuthService;
131
133
  trigger: AuthTrigger;
@@ -150,6 +152,10 @@ export declare enum AuthModalType {
150
152
  * The type of action that opened the authentication modal
151
153
  */
152
154
  export type AuthTrigger = "click" | "tap" | "timed" | "scroll";
155
+ /**
156
+ * The authentication method or flow used
157
+ */
158
+ export type AuthMethod = "one-tap";
153
159
  /**
154
160
  * the service the user used to authenticate
155
161
  */
@@ -112,6 +112,10 @@ exports.AuthModalType = AuthModalType;
112
112
  AuthModalType["signup"] = "signup";
113
113
  AuthModalType["welcome"] = "welcome";
114
114
  })(AuthModalType || (exports.AuthModalType = AuthModalType = {}));
115
+ /**
116
+ * The authentication method or flow used
117
+ */
118
+
115
119
  /**
116
120
  * the service the user used to authenticate
117
121
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artsy/cohesion",
3
- "version": "4.354.0",
3
+ "version": "4.356.0",
4
4
  "description": "Analytics schema",
5
5
  "main": "dist/index.js",
6
6
  "publishConfig": {