@shuffl/sdk 0.7.15 → 0.7.16
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 +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -52,7 +52,7 @@ Dates in the public API are ISO strings. Directory lists use an opaque cursor an
|
|
|
52
52
|
new Shuffl({ apiKey: async () => credentialStore.read() });
|
|
53
53
|
```
|
|
54
54
|
|
|
55
|
-
Every request carries an `x-shuffl-client` header naming the SDK release (`shuffl-sdk/0.7.
|
|
55
|
+
Every request carries an `x-shuffl-client` header naming the SDK release (`shuffl-sdk/0.7.16`; the CLI adds `shuffl-cli/0.7.16`), so Shuffl can count requests by release. Pass `client: 'billing-sync/1.2.0'` to put your app's name in front; Shuffl never stores that part.
|
|
56
56
|
|
|
57
57
|
Use `ORPCError.code` for errors (`UNAUTHORIZED`, `FORBIDDEN`, `BAD_REQUEST`, `NOT_FOUND`, `CONFLICT`, and others). Calls accept oRPC's second options argument, including an abort signal. HTTPS is required except on loopback; redirects are refused to avoid forwarding credentials to another origin. The public API currently allows same-origin browser calls and server/CLI clients; cross-origin browser CORS is not enabled.
|
|
58
58
|
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const sdkVersion = "0.7.
|
|
1
|
+
export declare const sdkVersion = "0.7.16";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"dependencies": {
|
|
3
3
|
"@orpc/client": "1.15.3",
|
|
4
4
|
"@orpc/contract": "1.15.3",
|
|
5
|
-
"@shuffl/api-contracts": "0.7.
|
|
5
|
+
"@shuffl/api-contracts": "0.7.16"
|
|
6
6
|
},
|
|
7
7
|
"description": "TypeScript client for the Shuffl API: people, groups, knowledge, playbooks, programs and management commands.",
|
|
8
8
|
"engines": {
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
"sideEffects": false,
|
|
35
35
|
"type": "module",
|
|
36
36
|
"types": "./dist/index.d.ts",
|
|
37
|
-
"version": "0.7.
|
|
37
|
+
"version": "0.7.16"
|
|
38
38
|
}
|