@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.
- package/dist/client.d.ts +9 -7
- 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
|
|
19
|
-
* authenticates the CALLER before the request ever reaches the API
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
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!,
|