@modelrelay/sdk 1.37.0 → 1.44.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/README.md CHANGED
@@ -24,22 +24,6 @@ const tokenProvider = new OIDCExchangeTokenProvider({
24
24
  const mr = new ModelRelay({ tokenProvider });
25
25
  ```
26
26
 
27
- If you need an `id_token` in a CLI-like context, you can use the OAuth device flow helper:
28
-
29
- ```ts
30
- import { runOAuthDeviceFlowForIDToken } from "@modelrelay/sdk";
31
-
32
- const idToken = await runOAuthDeviceFlowForIDToken({
33
- deviceAuthorizationEndpoint: "https://issuer.example.com/oauth/device/code",
34
- tokenEndpoint: "https://issuer.example.com/oauth/token",
35
- clientId: "your-client-id",
36
- scope: "openid email profile",
37
- onUserCode: ({ verificationUri, userCode }) => {
38
- console.log(`Open ${verificationUri} and enter code: ${userCode}`);
39
- },
40
- });
41
- ```
42
-
43
27
  ### Secret key → customer bearer token (mint)
44
28
 
45
29
  ```ts