@orangecheck/auth-client 2.37.1 → 2.37.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/README.md +7 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -83,6 +83,13 @@ import { OcSignInButton, OcAccountPill } from '@orangecheck/auth-client';
|
|
|
83
83
|
Both components use CSS classes from the caller — no enforced styling,
|
|
84
84
|
so they work with Tailwind, vanilla CSS, or whatever.
|
|
85
85
|
|
|
86
|
+
> **Building your own site, not an `ochk.io` one?** `OcSignInButton` is for
|
|
87
|
+
> orangecheck's own sites, which share the family cookie. Your site wants the
|
|
88
|
+
> sign-in button in [`@orangecheck/me-client`](https://www.npmjs.com/package/@orangecheck/me-client):
|
|
89
|
+
> your button's class with the orangecheck mark, the sign-in window, and the
|
|
90
|
+
> token for your own session. See
|
|
91
|
+
> [ochk.io/docs/integration/sign-in-button](https://ochk.io/docs/integration/sign-in-button).
|
|
92
|
+
|
|
86
93
|
## API
|
|
87
94
|
|
|
88
95
|
```ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orangecheck/auth-client",
|
|
3
|
-
"version": "2.37.
|
|
3
|
+
"version": "2.37.2",
|
|
4
4
|
"description": "React hooks and components for the cross-subdomain oc_session. Drop-in sign-in button, account chip with dashboard link, session-aware address input, and useOcSession() hook.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"orangecheck",
|