@tempoxyz/id 0.0.0-pr-830.sha-ff72743 → 0.0.0-pr-819.sha-cceb032

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 (2) hide show
  1. package/dist/bin.js +6 -4
  2. package/package.json +1 -1
package/dist/bin.js CHANGED
@@ -48,8 +48,9 @@ async function load(options) {
48
48
  };
49
49
  return {
50
50
  description: "Call Tempo ID's Admin API, one command per route. Run `tempo-id admin login` first, or set TEMPO_ID_ADMIN_TOKEN to a Cloudflare Access token. PRIVY_APP_SECRET and TEMPO_ID_CLIENT_SECRET fill the secrets that no option takes.",
51
- // Each request goes to the admin host, whatever origin incur uses. The path is set on the
52
- // host's URL, never resolved against it, so a path such as `//host` reaches no other host.
51
+ // Each request goes to the admin host with the caller's headers, whatever origin incur builds it
52
+ // with. The path is set on the host's URL, never resolved against it, so a path argument such
53
+ // as `//host` keeps the host's origin, and the token reaches no other host.
53
54
  fetch: async (request) => {
54
55
  const source = new URL(request.url);
55
56
  const target = new URL(url2);
@@ -224,8 +225,9 @@ async function load2(options) {
224
225
  return {
225
226
  basePath: "/v1",
226
227
  description: "Call Tempo ID's /v1 API, one command per route.",
227
- // Each request goes to the deployment, whatever origin incur uses. The path is set on the
228
- // deployment's URL, never resolved against it, so a path such as `//host` keeps the origin.
228
+ // Each request goes to the deployment, whatever origin incur builds it with. The path is set on
229
+ // the deployment's URL, never resolved against it, so a path argument such as `//host` keeps
230
+ // the deployment's origin.
229
231
  fetch: (request) => {
230
232
  const source = new URL(request.url);
231
233
  const target = new URL(url2);
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "node": ">=24.21"
10
10
  },
11
11
  "name": "@tempoxyz/id",
12
- "version": "0.0.0-pr-830.sha-ff72743",
12
+ "version": "0.0.0-pr-819.sha-cceb032",
13
13
  "description": "The tempo-id CLI: sign in to Tempo ID, and call its API and the Admin API.",
14
14
  "type": "module",
15
15
  "bin": {