@shuffl/sdk 0.7.14 → 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 CHANGED
@@ -41,7 +41,7 @@ A team key never gains company scope; company settings have their own key and li
41
41
  - Programs: `programs` and `runs` (Connections), `mentorship`, `network` (the org chart and introductions) and `playbooks` (onboarding, buddies, 30/60/90 plans and leaving).
42
42
  - Culture: `celebrations`, `pulse`, `praise`, `badges`, `reminders`, `home`, `getStarted` and `digest`.
43
43
  - Knowledge and HR: `knowledge` (pages, sources, templates, read-and-confirm and the handbook), `hr` (HR requests), `actions` (what Mello filed in a connected HR system), `support`, `assistant` and `capabilities` (what Mello can ask and do for a person, and asks to connect a system).
44
- - Workspace: `teams`, `team`, `channels`, `integrations`, `notifications`, `reports`, `exports` and `webhooks`.
44
+ - Workspace: `teams`, `team`, `channels`, `integrations`, `compliance` (evidence sent to Vanta or Drata), `notifications`, `reports`, `exports` and `webhooks`.
45
45
  - Keys and receipts: `credentials`, `permissions`, `commands` and `operations`.
46
46
 
47
47
  Program creation requires a stable `requestKey`. Repeating the same creation request returns the existing program; using that key with different settings returns `CONFLICT`. Programs start paused unless `draft: false` is explicitly supplied. Updates require `expectedRevision`. Run requests require a preview and request key and return a durable run ID; poll `runs.get` for status. The application scheduler owns execution and delivery.
@@ -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.12`; the CLI adds `shuffl-cli/0.7.12`), 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.
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.14";
1
+ export declare const sdkVersion = "0.7.16";
package/dist/version.js CHANGED
@@ -1,3 +1,3 @@
1
1
  // The published version, sent in the x-shuffl-client header so Shuffl can
2
2
  // tell which SDK release calls it. `bun sdk:version X.Y.Z` writes it.
3
- export const sdkVersion = '0.7.14';
3
+ export const sdkVersion = '0.7.16';
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.14"
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.14"
37
+ "version": "0.7.16"
38
38
  }