@orangecheck/me-client 0.53.1 → 0.53.2

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
@@ -8,6 +8,16 @@ and [Semantic Versioning](https://semver.org/). Wire-format / canonical-message
8
8
  changes are coordinated via the relevant `oc-*-protocol` spec repo's CHANGELOG;
9
9
  this file tracks the package's TS / Node / runtime API surface.
10
10
 
11
+ ## [0.53.2] — 2026-10-26
12
+
13
+ ### Fixed
14
+
15
+ - **`/button` and `/react` carry their own types.** Their declaration files
16
+ named `@orangecheck/mark` for `MarkVariant`, but mark is bundled into the
17
+ code and is not a dependency, so installing this package left that import
18
+ unresolved: `MarkVariant` read as `any`, or TS2307 without `skipLibCheck`.
19
+ The type is now written into the declarations. The code is unchanged.
20
+
11
21
  ## [0.53.1] — 2026-10-25
12
22
 
13
23
  ### Changed
package/dist/button.d.mts CHANGED
@@ -1,7 +1,7 @@
1
- import { MarkVariant } from '@orangecheck/mark';
2
- export { MarkVariant } from '@orangecheck/mark';
3
1
  import { OcPopupResult, OcPopupOutcome, SignInWithOcOptions } from './popup.mjs';
4
2
 
3
+ type MarkVariant = 'mono' | 'brand' | 'tile';
4
+
5
5
  declare const SIGN_IN_LABELS: {
6
6
  readonly signIn: "Sign in with orangecheck";
7
7
  readonly continue: "Continue with orangecheck";
@@ -36,4 +36,4 @@ declare function checkSignInOptions(options: EnhanceSignInButtonOptions): Checke
36
36
  declare function holdWidth(button: HTMLElement): () => void;
37
37
  declare function enhanceSignInButton(button: HTMLButtonElement, options: EnhanceSignInButtonOptions): () => void;
38
38
 
39
- export { type CheckedSignInOptions, type EnhanceSignInButtonOptions, OUTCOME_COPY, OcPopupOutcome, OcPopupResult, SIGN_IN_BUSY_LABEL, SIGN_IN_LABELS, type SignInAppearance, type SignInLabel, SignInWithOcOptions, checkSignInOptions, enhanceSignInButton, holdWidth };
39
+ export { type CheckedSignInOptions, type EnhanceSignInButtonOptions, type MarkVariant, OUTCOME_COPY, OcPopupOutcome, OcPopupResult, SIGN_IN_BUSY_LABEL, SIGN_IN_LABELS, type SignInAppearance, type SignInLabel, SignInWithOcOptions, checkSignInOptions, enhanceSignInButton, holdWidth };
package/dist/button.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { MarkVariant } from '@orangecheck/mark';
2
- export { MarkVariant } from '@orangecheck/mark';
3
1
  import { OcPopupResult, OcPopupOutcome, SignInWithOcOptions } from './popup.js';
4
2
 
3
+ type MarkVariant = 'mono' | 'brand' | 'tile';
4
+
5
5
  declare const SIGN_IN_LABELS: {
6
6
  readonly signIn: "Sign in with orangecheck";
7
7
  readonly continue: "Continue with orangecheck";
@@ -36,4 +36,4 @@ declare function checkSignInOptions(options: EnhanceSignInButtonOptions): Checke
36
36
  declare function holdWidth(button: HTMLElement): () => void;
37
37
  declare function enhanceSignInButton(button: HTMLButtonElement, options: EnhanceSignInButtonOptions): () => void;
38
38
 
39
- export { type CheckedSignInOptions, type EnhanceSignInButtonOptions, OUTCOME_COPY, OcPopupOutcome, OcPopupResult, SIGN_IN_BUSY_LABEL, SIGN_IN_LABELS, type SignInAppearance, type SignInLabel, SignInWithOcOptions, checkSignInOptions, enhanceSignInButton, holdWidth };
39
+ export { type CheckedSignInOptions, type EnhanceSignInButtonOptions, type MarkVariant, OUTCOME_COPY, OcPopupOutcome, OcPopupResult, SIGN_IN_BUSY_LABEL, SIGN_IN_LABELS, type SignInAppearance, type SignInLabel, SignInWithOcOptions, checkSignInOptions, enhanceSignInButton, holdWidth };
package/dist/react.d.mts CHANGED
@@ -1,8 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { ButtonHTMLAttributes } from 'react';
3
3
  import { EnhanceSignInButtonOptions } from './button.mjs';
4
- export { OUTCOME_COPY, SIGN_IN_BUSY_LABEL, SIGN_IN_LABELS, SignInAppearance, SignInLabel } from './button.mjs';
5
- export { MarkVariant } from '@orangecheck/mark';
4
+ export { MarkVariant, OUTCOME_COPY, SIGN_IN_BUSY_LABEL, SIGN_IN_LABELS, SignInAppearance, SignInLabel } from './button.mjs';
6
5
  export { OcPopupOutcome, OcPopupResult } from './popup.mjs';
7
6
 
8
7
  type SignInWithOrangecheckProps = EnhanceSignInButtonOptions & Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'onClick' | 'children' | 'type'>;
package/dist/react.d.ts CHANGED
@@ -1,8 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { ButtonHTMLAttributes } from 'react';
3
3
  import { EnhanceSignInButtonOptions } from './button.js';
4
- export { OUTCOME_COPY, SIGN_IN_BUSY_LABEL, SIGN_IN_LABELS, SignInAppearance, SignInLabel } from './button.js';
5
- export { MarkVariant } from '@orangecheck/mark';
4
+ export { MarkVariant, OUTCOME_COPY, SIGN_IN_BUSY_LABEL, SIGN_IN_LABELS, SignInAppearance, SignInLabel } from './button.js';
6
5
  export { OcPopupOutcome, OcPopupResult } from './popup.js';
7
6
 
8
7
  type SignInWithOrangecheckProps = EnhanceSignInButtonOptions & Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'onClick' | 'children' | 'type'>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orangecheck/me-client",
3
- "version": "0.53.1",
3
+ "version": "0.53.2",
4
4
  "description": "Server and browser client for orangecheck sign-in and paying your users: withOcAuth for Next.js, ocAuthExpress and ocAuthHono (no env vars, no JWK handling), signInWithOc() popup, events, webhooks and the price taxonomy. No React.",
5
5
  "keywords": [
6
6
  "orangecheck",
@@ -103,7 +103,7 @@
103
103
  },
104
104
  "devDependencies": {
105
105
  "@orangecheck/auth-client": "^2.6.0",
106
- "@orangecheck/mark": "^0.2.0",
106
+ "@orangecheck/mark": "^0.3.0",
107
107
  "@testing-library/react": "^16.3.2",
108
108
  "@types/node": "^22.0.0",
109
109
  "@types/react": "^18.3.12",