@atproto/oauth-provider 0.5.0 → 0.5.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.
Files changed (47) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/oauth-provider.d.ts +3 -3
  3. package/dist/oauth-provider.d.ts.map +1 -1
  4. package/dist/oauth-provider.js.map +1 -1
  5. package/dist/output/build-customization-data.d.ts +20 -11
  6. package/dist/output/build-customization-data.d.ts.map +1 -1
  7. package/dist/output/build-customization-data.js +72 -43
  8. package/dist/output/build-customization-data.js.map +1 -1
  9. package/package.json +1 -1
  10. package/src/assets/app/locales/an/messages.po +6 -6
  11. package/src/assets/app/locales/ast/messages.po +6 -6
  12. package/src/assets/app/locales/ca/messages.po +6 -6
  13. package/src/assets/app/locales/da/messages.po +6 -6
  14. package/src/assets/app/locales/de/messages.po +6 -6
  15. package/src/assets/app/locales/el/messages.po +6 -6
  16. package/src/assets/app/locales/en/messages.po +6 -6
  17. package/src/assets/app/locales/en-GB/messages.po +6 -6
  18. package/src/assets/app/locales/es/messages.po +6 -6
  19. package/src/assets/app/locales/eu/messages.po +6 -6
  20. package/src/assets/app/locales/fi/messages.po +6 -6
  21. package/src/assets/app/locales/fr/messages.po +6 -6
  22. package/src/assets/app/locales/ga/messages.po +6 -6
  23. package/src/assets/app/locales/gl/messages.po +6 -6
  24. package/src/assets/app/locales/hi/messages.po +6 -6
  25. package/src/assets/app/locales/hu/messages.po +6 -6
  26. package/src/assets/app/locales/ia/messages.po +6 -6
  27. package/src/assets/app/locales/id/messages.po +6 -6
  28. package/src/assets/app/locales/it/messages.po +6 -6
  29. package/src/assets/app/locales/ja/messages.po +6 -6
  30. package/src/assets/app/locales/km/messages.po +6 -6
  31. package/src/assets/app/locales/ko/messages.po +6 -6
  32. package/src/assets/app/locales/ne/messages.po +6 -6
  33. package/src/assets/app/locales/nl/messages.po +6 -6
  34. package/src/assets/app/locales/pl/messages.po +6 -6
  35. package/src/assets/app/locales/pt-BR/messages.po +6 -6
  36. package/src/assets/app/locales/ro/messages.po +6 -6
  37. package/src/assets/app/locales/ru/messages.po +6 -6
  38. package/src/assets/app/locales/sv/messages.po +6 -6
  39. package/src/assets/app/locales/th/messages.po +6 -6
  40. package/src/assets/app/locales/tr/messages.po +6 -6
  41. package/src/assets/app/locales/uk/messages.po +6 -6
  42. package/src/assets/app/locales/vi/messages.po +6 -6
  43. package/src/assets/app/locales/zh-CN/messages.po +6 -6
  44. package/src/assets/app/locales/zh-HK/messages.po +6 -6
  45. package/src/assets/app/locales/zh-TW/messages.po +6 -6
  46. package/src/oauth-provider.ts +7 -3
  47. package/src/output/build-customization-data.ts +89 -50
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @atproto/oauth-provider
2
2
 
3
+ ## 0.5.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#3611](https://github.com/bluesky-social/atproto/pull/3611) [`c01d7f5d1`](https://github.com/bluesky-social/atproto/commit/c01d7f5d155445d7741c09f91c84af64b31bdbed) Thanks [@matthieusieben](https://github.com/matthieusieben)! - Make branding colors optional
8
+
9
+ - [#3614](https://github.com/bluesky-social/atproto/pull/3614) [`8827ff433`](https://github.com/bluesky-social/atproto/commit/8827ff433a211d2db80840cfc4ee146a7fb44849) Thanks [@matthieusieben](https://github.com/matthieusieben)! - Improve branding parsing
10
+
3
11
  ## 0.5.0
4
12
 
5
13
  ### Minor Changes
@@ -21,7 +21,7 @@ import { CustomMetadata } from './metadata/build-metadata.js';
21
21
  import { OAuthHooks, SignInData, SignUpData } from './oauth-hooks.js';
22
22
  import { OAuthVerifier, OAuthVerifierOptions } from './oauth-verifier.js';
23
23
  import { AuthorizationResultAuthorize } from './output/build-authorize-data.js';
24
- import { BrandingConfig, Customization } from './output/build-customization-data.js';
24
+ import { Branding, BrandingInput, Customization, CustomizationInput } from './output/build-customization-data.js';
25
25
  import { OutputManager } from './output/output-manager.js';
26
26
  import { AuthorizationResultRedirect } from './output/send-authorize-redirect.js';
27
27
  import { ReplayStore } from './replay/replay-store.js';
@@ -31,7 +31,7 @@ import { RequestUri } from './request/request-uri.js';
31
31
  import { TokenManager } from './token/token-manager.js';
32
32
  import { TokenStore } from './token/token-store.js';
33
33
  import { VerifyTokenClaimsOptions } from './token/verify-token-claims.js';
34
- export { type BrandingConfig, type CustomMetadata, type Customization, type Handler, type HcaptchaConfig, Keyset, type OAuthAuthorizationServerMetadata, };
34
+ export { type Branding, type BrandingInput, type CustomMetadata, type Customization, type CustomizationInput, type Handler, type HcaptchaConfig, Keyset, type OAuthAuthorizationServerMetadata, };
35
35
  type ApiContext = {
36
36
  requestUri: RequestUri;
37
37
  deviceId: DeviceId;
@@ -41,7 +41,7 @@ export type ErrorHandler<Req extends IncomingMessage = IncomingMessage, Res exte
41
41
  export type RouterOptions<Req extends IncomingMessage = IncomingMessage, Res extends ServerResponse = ServerResponse> = {
42
42
  onError?: ErrorHandler<Req, Res>;
43
43
  };
44
- export type OAuthProviderOptions = Override<OAuthVerifierOptions & OAuthHooks & DeviceManagerOptions & Customization, {
44
+ export type OAuthProviderOptions = Override<OAuthVerifierOptions & OAuthHooks & DeviceManagerOptions & CustomizationInput, {
45
45
  /**
46
46
  * Maximum age a device/account session can be before requiring
47
47
  * re-authentication.
@@ -1 +1 @@
1
- {"version":3,"file":"oauth-provider.d.ts","sourceRoot":"","sources":["../src/oauth-provider.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAEhE,OAAO,KAAK,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAElD,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AAC3C,OAAO,EAEL,gBAAgB,EAChB,uCAAuC,EACvC,4BAA4B,EAC5B,4BAA4B,EAC5B,mCAAmC,EACnC,8BAA8B,EAC9B,gCAAgC,EAChC,sBAAsB,EACtB,0BAA0B,EAC1B,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C,GAAG,CAAC,IAAI,8BAA8B,EAC7D,GAAG,CACJ,CAAA;AACH,CAAC;AAED,SAAS,mBAAmB,CAAC,GAAY;IACvC,MAAM,IAAI,8CAAmB,CAC3B,sBAAsB,CAAC,GAAG,CAAC,IAAI,wBAAwB,EACvD,GAAG,CACJ,CAAA;AACH,CAAC;AAED,SAAS,sBAAsB,CAAC,GAAY;IAC1C,IAAI,GAAG,YAAY,cAAQ,EAAE,CAAC;QAC5B,MAAM,KAAK,GAAG,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAA;QAC3B,IAAI,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC;YACvB,6CAA6C;YAC7C,MAAM,CAAC,IAAI,EAAE,GAAG,IAAI,CAAC,GAAG,KAAK,CAAC,IAAI,CAAA;YAClC,OAAO,kBAAkB,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,IAAI,sBAAsB,KAAK,CAAC,OAAO,EAAE,CAAA;QACvF,CAAC;IACH,CAAC;IAED,OAAO,SAAS,CAAA;AAClB,CAAC"}
@@ -3,8 +3,10 @@ export { type HcaptchaConfig, hcaptchaConfigSchema } from '../lib/hcaptcha.js';
3
3
  export declare const colorNames: readonly ["brand", "error", "warning", "success"];
4
4
  export declare const colorNameSchema: z.ZodEnum<["brand", "error", "warning", "success"]>;
5
5
  export type ColorName = z.infer<typeof colorNameSchema>;
6
- export declare const ColorsDefinitionSchema: z.ZodRecord<z.ZodEnum<["brand", "error", "warning", "success"]>, z.ZodString>;
7
- export type ColorsDefinition = z.infer<typeof ColorsDefinitionSchema>;
6
+ declare const parsedColorSchema: z.ZodEffects<z.ZodString, RgbColor, string>;
7
+ export type ParsedColor = z.infer<typeof parsedColorSchema>;
8
+ export declare const colorsDefinitionSchema: z.ZodRecord<z.ZodEnum<["brand", "error", "warning", "success"]>, z.ZodOptional<z.ZodEffects<z.ZodString, RgbColor, string>>>;
9
+ export type ColorsDefinition = z.infer<typeof colorsDefinitionSchema>;
8
10
  export declare const localizedStringSchema: z.ZodUnion<[z.ZodString, z.ZodIntersection<z.ZodObject<{
9
11
  en: z.ZodString;
10
12
  }, "strip", z.ZodTypeAny, {
@@ -45,7 +47,7 @@ export type LinkDefinition = z.infer<typeof linkDefinitionSchema>;
45
47
  export declare const brandingConfigSchema: z.ZodObject<{
46
48
  name: z.ZodOptional<z.ZodString>;
47
49
  logo: z.ZodOptional<z.ZodString>;
48
- colors: z.ZodOptional<z.ZodRecord<z.ZodEnum<["brand", "error", "warning", "success"]>, z.ZodString>>;
50
+ colors: z.ZodOptional<z.ZodRecord<z.ZodEnum<["brand", "error", "warning", "success"]>, z.ZodOptional<z.ZodEffects<z.ZodString, RgbColor, string>>>>;
49
51
  links: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
50
52
  title: z.ZodUnion<[z.ZodString, z.ZodIntersection<z.ZodObject<{
51
53
  en: z.ZodString;
@@ -72,7 +74,7 @@ export declare const brandingConfigSchema: z.ZodObject<{
72
74
  }, "strip", z.ZodTypeAny, {
73
75
  name?: string | undefined;
74
76
  logo?: string | undefined;
75
- colors?: Partial<Record<"error" | "success" | "warning" | "brand", string>> | undefined;
77
+ colors?: Partial<Record<"error" | "success" | "warning" | "brand", RgbColor | undefined>> | undefined;
76
78
  links?: readonly {
77
79
  title: string | ({
78
80
  en: string;
@@ -83,7 +85,7 @@ export declare const brandingConfigSchema: z.ZodObject<{
83
85
  }, {
84
86
  name?: string | undefined;
85
87
  logo?: string | undefined;
86
- colors?: Partial<Record<"error" | "success" | "warning" | "brand", string>> | undefined;
88
+ colors?: Partial<Record<"error" | "success" | "warning" | "brand", string | undefined>> | undefined;
87
89
  links?: readonly {
88
90
  title: string | ({
89
91
  en: string;
@@ -92,7 +94,8 @@ export declare const brandingConfigSchema: z.ZodObject<{
92
94
  rel?: string | undefined;
93
95
  }[] | undefined;
94
96
  }>;
95
- export type BrandingConfig = z.infer<typeof brandingConfigSchema>;
97
+ export type BrandingInput = z.input<typeof brandingConfigSchema>;
98
+ export type Branding = z.infer<typeof brandingConfigSchema>;
96
99
  export declare const customizationSchema: z.ZodObject<{
97
100
  /**
98
101
  * Available user domains that can be used to sign up. A non-empty array
@@ -105,7 +108,7 @@ export declare const customizationSchema: z.ZodObject<{
105
108
  branding: z.ZodOptional<z.ZodObject<{
106
109
  name: z.ZodOptional<z.ZodString>;
107
110
  logo: z.ZodOptional<z.ZodString>;
108
- colors: z.ZodOptional<z.ZodRecord<z.ZodEnum<["brand", "error", "warning", "success"]>, z.ZodString>>;
111
+ colors: z.ZodOptional<z.ZodRecord<z.ZodEnum<["brand", "error", "warning", "success"]>, z.ZodOptional<z.ZodEffects<z.ZodString, RgbColor, string>>>>;
109
112
  links: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
110
113
  title: z.ZodUnion<[z.ZodString, z.ZodIntersection<z.ZodObject<{
111
114
  en: z.ZodString;
@@ -132,7 +135,7 @@ export declare const customizationSchema: z.ZodObject<{
132
135
  }, "strip", z.ZodTypeAny, {
133
136
  name?: string | undefined;
134
137
  logo?: string | undefined;
135
- colors?: Partial<Record<"error" | "success" | "warning" | "brand", string>> | undefined;
138
+ colors?: Partial<Record<"error" | "success" | "warning" | "brand", RgbColor | undefined>> | undefined;
136
139
  links?: readonly {
137
140
  title: string | ({
138
141
  en: string;
@@ -143,7 +146,7 @@ export declare const customizationSchema: z.ZodObject<{
143
146
  }, {
144
147
  name?: string | undefined;
145
148
  logo?: string | undefined;
146
- colors?: Partial<Record<"error" | "success" | "warning" | "brand", string>> | undefined;
149
+ colors?: Partial<Record<"error" | "success" | "warning" | "brand", string | undefined>> | undefined;
147
150
  links?: readonly {
148
151
  title: string | ({
149
152
  en: string;
@@ -180,7 +183,7 @@ export declare const customizationSchema: z.ZodObject<{
180
183
  branding?: {
181
184
  name?: string | undefined;
182
185
  logo?: string | undefined;
183
- colors?: Partial<Record<"error" | "success" | "warning" | "brand", string>> | undefined;
186
+ colors?: Partial<Record<"error" | "success" | "warning" | "brand", RgbColor | undefined>> | undefined;
184
187
  links?: readonly {
185
188
  title: string | ({
186
189
  en: string;
@@ -201,7 +204,7 @@ export declare const customizationSchema: z.ZodObject<{
201
204
  branding?: {
202
205
  name?: string | undefined;
203
206
  logo?: string | undefined;
204
- colors?: Partial<Record<"error" | "success" | "warning" | "brand", string>> | undefined;
207
+ colors?: Partial<Record<"error" | "success" | "warning" | "brand", string | undefined>> | undefined;
205
208
  links?: readonly {
206
209
  title: string | ({
207
210
  en: string;
@@ -218,6 +221,7 @@ export declare const customizationSchema: z.ZodObject<{
218
221
  scoreThreshold?: number | undefined;
219
222
  } | undefined;
220
223
  }>;
224
+ export type CustomizationInput = z.input<typeof customizationSchema>;
221
225
  export type Customization = z.infer<typeof customizationSchema>;
222
226
  export type CustomizationData = {
223
227
  hcaptchaSiteKey?: string;
@@ -229,4 +233,9 @@ export type CustomizationData = {
229
233
  };
230
234
  export declare function buildCustomizationData({ branding, availableUserDomains, inviteCodeRequired, hcaptcha, }: Customization): CustomizationData;
231
235
  export declare function buildCustomizationCss({ branding }: Customization): string;
236
+ type RgbColor = {
237
+ r: number;
238
+ g: number;
239
+ b: number;
240
+ };
232
241
  //# sourceMappingURL=build-customization-data.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"build-customization-data.d.ts","sourceRoot":"","sources":["../../src/output/build-customization-data.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAIvB,OAAO,EAAE,KAAK,cAAc,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAA;AAG9E,eAAO,MAAM,UAAU,mDAAoD,CAAA;AAC3E,eAAO,MAAM,eAAe,qDAAqB,CAAA;AACjD,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAA;AAEvD,eAAO,MAAM,sBAAsB,+EAAwC,CAAA;AAC3E,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,C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defineProperty(exports, "__esModule", { value: true });
3
- exports.customizationSchema = exports.brandingConfigSchema = exports.linkDefinitionSchema = exports.linkRelSchema = exports.localizedStringSchema = exports.ColorsDefinitionSchema = exports.colorNameSchema = exports.colorNames = exports.hcaptchaConfigSchema = void 0;
3
+ exports.customizationSchema = exports.brandingConfigSchema = exports.linkDefinitionSchema = exports.linkRelSchema = exports.localizedStringSchema = exports.colorsDefinitionSchema = exports.colorNameSchema = exports.colorNames = exports.hcaptchaConfigSchema = void 0;
4
4
  exports.buildCustomizationData = buildCustomizationData;
5
5
  exports.buildCustomizationCss = buildCustomizationCss;
6
6
  const zod_1 = require("zod");
@@ -12,7 +12,27 @@ Object.defineProperty(exports, "hcaptchaConfigSchema", { enumerable: true, get:
12
12
  // Matches colors defined in tailwind.config.js
13
13
  exports.colorNames = ['brand', 'error', 'warning', 'success'];
14
14
  exports.colorNameSchema = zod_1.z.enum(exports.colorNames);
15
- exports.ColorsDefinitionSchema = zod_1.z.record(exports.colorNameSchema, zod_1.z.string());
15
+ const parsedColorSchema = zod_1.z.string().transform((value, ctx) => {
16
+ try {
17
+ const { r, g, b, a } = parseColor(value);
18
+ if (a != null) {
19
+ ctx.addIssue({
20
+ code: zod_1.z.ZodIssueCode.custom,
21
+ message: 'Alpha values are not supported',
22
+ });
23
+ }
24
+ return { r, g, b };
25
+ }
26
+ catch (e) {
27
+ ctx.addIssue({
28
+ code: zod_1.z.ZodIssueCode.custom,
29
+ message: e instanceof Error ? e.message : 'Invalid color value',
30
+ });
31
+ // Won't actually be used (since an issue was added):
32
+ return { r: 0, g: 0, b: 0 };
33
+ }
34
+ });
35
+ exports.colorsDefinitionSchema = zod_1.z.record(exports.colorNameSchema, parsedColorSchema.optional());
16
36
  exports.localizedStringSchema = zod_1.z.union([
17
37
  zod_1.z.string(),
18
38
  locale_js_1.multiLangStringSchema,
@@ -29,7 +49,7 @@ exports.linkDefinitionSchema = zod_1.z.object({
29
49
  exports.brandingConfigSchema = zod_1.z.object({
30
50
  name: zod_1.z.string().optional(),
31
51
  logo: zod_1.z.string().optional(),
32
- colors: exports.ColorsDefinitionSchema.optional(),
52
+ colors: exports.colorsDefinitionSchema.optional(),
33
53
  links: zod_1.z.array(exports.linkDefinitionSchema).readonly().optional(),
34
54
  });
35
55
  exports.customizationSchema = zod_1.z.object({
@@ -76,14 +96,8 @@ function* buildCustomizationVars(branding) {
76
96
  for (const name of exports.colorNames) {
77
97
  const value = branding.colors[name];
78
98
  if (!value)
79
- continue;
80
- // Skip undefined values
81
- if (value === undefined)
82
- continue;
83
- const { r, g, b, a } = parseColor(value);
84
- // Tailwind does not apply alpha values to base colors
85
- if (a !== undefined)
86
- throw new TypeError('Alpha not supported');
99
+ continue; // Skip missing colors
100
+ const { r, g, b } = value;
87
101
  const contrast = computeLuma({ r, g, b }) > 128 ? '0 0 0' : '255 255 255';
88
102
  yield `--color-${name}: ${r} ${g} ${b};`;
89
103
  yield `--color-${name}-c: ${contrast};`;
@@ -91,42 +105,57 @@ function* buildCustomizationVars(branding) {
91
105
  }
92
106
  }
93
107
  function parseColor(color) {
94
- if (typeof color !== 'string') {
95
- throw new TypeError(`Invalid color value: ${typeof color}`);
96
- }
97
108
  if (color.startsWith('#')) {
98
- if (color.length === 4 || color.length === 5) {
99
- const r = parseUi8Hex(color.slice(1, 2));
100
- const g = parseUi8Hex(color.slice(2, 3));
101
- const b = parseUi8Hex(color.slice(3, 4));
102
- const a = color.length > 4 ? parseUi8Hex(color.slice(4, 5)) : undefined;
103
- return { r, g, b, a };
104
- }
105
- if (color.length === 7 || color.length === 9) {
106
- const r = parseUi8Hex(color.slice(1, 3));
107
- const g = parseUi8Hex(color.slice(3, 5));
108
- const b = parseUi8Hex(color.slice(5, 7));
109
- const a = color.length > 8 ? parseUi8Hex(color.slice(7, 9)) : undefined;
110
- return { r, g, b, a };
111
- }
112
- throw new TypeError(`Invalid hex color: ${color}`);
109
+ return parseHexColor(color);
113
110
  }
114
- const rgbMatch = color.match(/^\s*rgb\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)\s*$/);
115
- if (rgbMatch) {
116
- const r = parseUi8Dec(rgbMatch[1]);
117
- const g = parseUi8Dec(rgbMatch[2]);
118
- const b = parseUi8Dec(rgbMatch[3]);
119
- return { r, g, b };
111
+ if (color.startsWith('rgba(')) {
112
+ return parseRgbaColor(color);
113
+ }
114
+ if (color.startsWith('rgb(')) {
115
+ return parseRgbColor(color);
116
+ }
117
+ // Should never happen (as long as the input is a validated WebColor)
118
+ throw new TypeError(`Invalid color value: ${color}`);
119
+ }
120
+ function parseHexColor(v) {
121
+ // parseInt('az', 16) does not return NaN so we need to check the format
122
+ if (!/^#[0-9a-f]+$/i.test(v)) {
123
+ throw new TypeError(`Invalid hex color value: ${v}`);
120
124
  }
121
- const rgbaMatch = color.match(/^\s*rgba\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)\s*$/);
122
- if (rgbaMatch) {
123
- const r = parseUi8Dec(rgbaMatch[1]);
124
- const g = parseUi8Dec(rgbaMatch[2]);
125
- const b = parseUi8Dec(rgbaMatch[3]);
126
- const a = parseUi8Dec(rgbaMatch[4]);
125
+ if (v.length === 4 || v.length === 5) {
126
+ const r = parseUi8Hex(v.slice(1, 2));
127
+ const g = parseUi8Hex(v.slice(2, 3));
128
+ const b = parseUi8Hex(v.slice(3, 4));
129
+ const a = v.length > 4 ? parseUi8Hex(v.slice(4, 5)) : undefined;
127
130
  return { r, g, b, a };
128
131
  }
129
- throw new TypeError(`Unsupported color format: ${color}`);
132
+ if (v.length === 7 || v.length === 9) {
133
+ const r = parseUi8Hex(v.slice(1, 3));
134
+ const g = parseUi8Hex(v.slice(3, 5));
135
+ const b = parseUi8Hex(v.slice(5, 7));
136
+ const a = v.length > 8 ? parseUi8Hex(v.slice(7, 9)) : undefined;
137
+ return { r, g, b, a };
138
+ }
139
+ throw new TypeError(`Invalid hex color value: ${v}`);
140
+ }
141
+ function parseRgbColor(v) {
142
+ const matches = v.match(/^\s*rgb\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)\s*$/);
143
+ if (!matches)
144
+ throw new TypeError(`Invalid rgb color value: ${v}`);
145
+ const r = parseUi8Dec(matches[1]);
146
+ const g = parseUi8Dec(matches[2]);
147
+ const b = parseUi8Dec(matches[3]);
148
+ return { r, g, b };
149
+ }
150
+ function parseRgbaColor(v) {
151
+ const matches = v.match(/^\s*rgba\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)\s*$/);
152
+ if (!matches)
153
+ throw new TypeError(`Invalid rgba color value: ${v}`);
154
+ const r = parseUi8Dec(matches[1]);
155
+ const g = parseUi8Dec(matches[2]);
156
+ const b = parseUi8Dec(matches[3]);
157
+ const a = parseUi8Dec(matches[4]);
158
+ return { r, g, b, a };
130
159
  }
131
160
  function computeLuma({ r, g, b }) {
132
161
  return 0.299 * r + 0.587 * g + 0.114 * b;
@@ -140,6 +169,6 @@ function parseUi8Dec(v) {
140
169
  function asUi8(v) {
141
170
  if (v >= 0 && v <= 255 && v === (v | 0))
142
171
  return v;
143
- throw new TypeError(`Invalid color component: ${v}`);
172
+ throw new TypeError(`Invalid color component "${v}" (expected an integer between 0 and 255)`);
144
173
  }
145
174
  //# sourceMappingURL=build-customization-data.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"build-customization-data.js","sourceRoot":"","sources":["../../src/output/build-customization-data.ts"],"names":[],"mappings":";;;AA0EA,wDAkBC;AAED,sDAKC;AAnGD,6BAAuB;AACvB,oDAAyD;AACzD,qEAAyD;AACzD,gDAAwD;AACxD,kDAA8E;AAAhD,mHAAA,oBAAoB,OAAA;AAElD,+CAA+C;AAClC,QAAA,UAAU,GAAG,CAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,CAAU,CAAA;AAC9D,QAAA,eAAe,GAAG,OAAC,CAAC,IAAI,CAAC,kBAAU,CAAC,CAAA;AAGpC,QAAA,sBAAsB,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C,MAAM,CAAC,GAAG,WAAW,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAA;QACnC,OAAO,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAA;IACvB,CAAC;IAED,MAAM,IAAI,SAAS,CAAC,6BAA6B,KAAK,EAAE,CAAC,CAAA;AAC3D,CAAC;AAED,SAAS,WAAW,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAa;IACzC,OAAO,KAAK,GAAG,CAAC,GAAG,KAAK,GAAG,CAAC,GAAG,KAAK,GAAG,CAAC,CAAA;AAC1C,CAAC;AAED,SAAS,WAAW,CAAC,CAAS;IAC5B,OAAO,KAAK,CAAC,QAAQ,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAA;AAC/B,CAAC;AAED,SAAS,WAAW,CAAC,CAAS;IAC5B,OAAO,KAAK,CAAC,QAAQ,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAA;AAC/B,CAAC;AAED,SAAS,KAAK,CAAC,CAAS;IACtB,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC;QAAE,OAAO,CAAC,CAAA;IACjD,MAAM,IAAI,SAAS,CAAC,4BAA4B,CAAC,EAAE,CAAC,CAAA;AACtD,CAAC"}
1
+ {"version":3,"file":"build-customization-data.js","sourceRoot":"","sources":["../../src/output/build-customization-data.ts"],"names":[],"mappings":";;;AAoGA,wDAkBC;AAED,sDAKC;AA7HD,6BAAuB;AACvB,oDAAyD;AACzD,qEAAyD;AACzD,gDAAwD;AACxD,kDAA8E;AAAhD,mHAAA,oBAAoB,OAAA;AAElD,+CAA+C;AAClC,QAAA,UAAU,GAAG,CAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,CAAU,CAAA;AAC9D,QAAA,eAAe,GAAG,OAAC,CAAC,IAAI,CAAC,kBAAU,CAAC,CAAA;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MAAM,CAAC,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAA;IACjC,MAAM,CAAC,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAA;IACjC,OAAO,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAA;AACvB,CAAC;AAED,SAAS,WAAW,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAa;IACzC,OAAO,KAAK,GAAG,CAAC,GAAG,KAAK,GAAG,CAAC,GAAG,KAAK,GAAG,CAAC,CAAA;AAC1C,CAAC;AAED,SAAS,WAAW,CAAC,CAAS;IAC5B,OAAO,KAAK,CAAC,QAAQ,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAA;AAC/B,CAAC;AAED,SAAS,WAAW,CAAC,CAAS;IAC5B,OAAO,KAAK,CAAC,QAAQ,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAA;AAC/B,CAAC;AAED,SAAS,KAAK,CAAC,CAAS;IACtB,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC;QAAE,OAAO,CAAC,CAAA;IACjD,MAAM,IAAI,SAAS,CACjB,4BAA4B,CAAC,2CAA2C,CACzE,CAAA;AACH,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atproto/oauth-provider",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "license": "MIT",
5
5
  "description": "Generic OAuth2 and OpenID Connect provider for Node.js. Currently only supports features needed for Atproto.",
6
6
  "keywords": [
@@ -98,7 +98,7 @@ msgstr ""
98
98
  msgid "Choose a username"
99
99
  msgstr ""
100
100
 
101
- #: src/assets/app/components/utils/error-card.tsx:76
101
+ #: src/assets/app/components/utils/error-card.tsx:78
102
102
  msgid "Code"
103
103
  msgstr ""
104
104
 
@@ -126,7 +126,7 @@ msgstr ""
126
126
  msgid "Deny access"
127
127
  msgstr ""
128
128
 
129
- #: src/assets/app/components/utils/error-card.tsx:83
129
+ #: src/assets/app/components/utils/error-card.tsx:85
130
130
  msgid "Description"
131
131
  msgstr ""
132
132
 
@@ -142,7 +142,7 @@ msgstr ""
142
142
  msgid "Email address"
143
143
  msgstr ""
144
144
 
145
- #: src/assets/app/components/forms/input-new-password.tsx:48
145
+ #: src/assets/app/components/forms/input-new-password.tsx:44
146
146
  msgid "Enter a password"
147
147
  msgstr ""
148
148
 
@@ -158,7 +158,7 @@ msgstr ""
158
158
  msgid "Enter your email address"
159
159
  msgstr ""
160
160
 
161
- #: src/assets/app/components/forms/input-new-password.tsx:49
161
+ #: src/assets/app/components/forms/input-new-password.tsx:45
162
162
  msgid "Enter your new password"
163
163
  msgstr ""
164
164
 
@@ -171,7 +171,7 @@ msgstr ""
171
171
  msgid "Enter your username and password"
172
172
  msgstr ""
173
173
 
174
- #: src/assets/app/views/error/error-view.tsx:27
174
+ #: src/assets/app/views/error/error-view.tsx:28
175
175
  msgid "Error"
176
176
  msgstr ""
177
177
 
@@ -295,7 +295,7 @@ msgstr ""
295
295
  msgid "Password updated!"
296
296
  msgstr ""
297
297
 
298
- #: src/assets/app/components/forms/input-new-password.tsx:50
298
+ #: src/assets/app/components/forms/input-new-password.tsx:46
299
299
  msgid "Password with at least {MIN_PASSWORD_LENGTH} characters"
300
300
  msgstr ""
301
301