@reactionary/ucp 0.11.2 → 0.12.1

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reactionary/ucp",
3
- "version": "0.11.2",
3
+ "version": "0.12.1",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "types": "./src/index.d.ts",
@@ -9,7 +9,7 @@
9
9
  "url": "git+https://github.com/Solteq/reactionary.git"
10
10
  },
11
11
  "dependencies": {
12
- "@reactionary/core": "0.11.2",
12
+ "@reactionary/core": "0.12.1",
13
13
  "zod": "4.1.9"
14
14
  },
15
15
  "devDependencies": {
@@ -38,6 +38,10 @@ export declare const UCPConsentStateSchema: z.ZodObject<{
38
38
  segments: z.ZodDefault<z.ZodArray<z.ZodString>>;
39
39
  blurb: z.ZodDefault<z.ZodString>;
40
40
  }, z.core.$loose>>;
41
+ consent: z.ZodOptional<z.ZodObject<{
42
+ analytics: z.ZodBoolean;
43
+ marketing: z.ZodBoolean;
44
+ }, z.core.$loose>>;
41
45
  }, z.core.$loose>;
42
46
  }, z.core.$loose>;
43
47
  export declare const UCPAuthorizationCodeStateSchema: z.ZodObject<{
@@ -71,6 +75,10 @@ export declare const UCPAuthorizationCodeStateSchema: z.ZodObject<{
71
75
  segments: z.ZodDefault<z.ZodArray<z.ZodString>>;
72
76
  blurb: z.ZodDefault<z.ZodString>;
73
77
  }, z.core.$loose>>;
78
+ consent: z.ZodOptional<z.ZodObject<{
79
+ analytics: z.ZodBoolean;
80
+ marketing: z.ZodBoolean;
81
+ }, z.core.$loose>>;
74
82
  }, z.core.$loose>;
75
83
  }, z.core.$loose>;
76
84
  export declare const UCPTokenStateSchema: z.ZodObject<{
@@ -105,6 +113,10 @@ export declare const UCPTokenStateSchema: z.ZodObject<{
105
113
  segments: z.ZodDefault<z.ZodArray<z.ZodString>>;
106
114
  blurb: z.ZodDefault<z.ZodString>;
107
115
  }, z.core.$loose>>;
116
+ consent: z.ZodOptional<z.ZodObject<{
117
+ analytics: z.ZodBoolean;
118
+ marketing: z.ZodBoolean;
119
+ }, z.core.$loose>>;
108
120
  }, z.core.$loose>;
109
121
  refreshTokenHash: z.ZodOptional<z.ZodString>;
110
122
  }, z.core.$loose>;