@veyto/sdk 0.1.0 → 0.1.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 (2) hide show
  1. package/dist/client.d.ts +9 -7
  2. package/package.json +1 -1
package/dist/client.d.ts CHANGED
@@ -15,13 +15,15 @@ export interface VeytoClientConfig {
15
15
  * Extra headers sent on every call to the Veyto API (never to the paid
16
16
  * resource — that request is the caller's own).
17
17
  *
18
- * Exists because a hosted Veyto can sit behind an edge gateway that
19
- * authenticates the CALLER before the request ever reaches the API. The
20
- * sandbox does: Cloudflare Access checks a service token, and without those
21
- * headers an agent gets a 302 to a human login page it can never complete.
22
- * That is two independent locks by design — the gateway decides who may
23
- * reach the API at all, Veyto decides what they may spend — so the SDK has
24
- * to be able to carry the first one.
18
+ * Exists because a hosted Veyto CAN sit behind an edge gateway that
19
+ * authenticates the CALLER before the request ever reaches the API — two
20
+ * independent locks, where the gateway decides who may reach the API at all
21
+ * and Veyto decides what they may spend. The SDK has to be able to carry the
22
+ * first one.
23
+ *
24
+ * The public sandbox at https://sandbox.veyto.io does NOT need this: the
25
+ * Veyto API key is the only credential. Leave it unset unless you are
26
+ * pointing the SDK at a deployment that is itself gated.
25
27
  *
26
28
  * extraHeaders: {
27
29
  * "CF-Access-Client-Id": process.env.CF_ACCESS_CLIENT_ID!,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veyto/sdk",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",