@stable_sea/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/README.md CHANGED
@@ -2,6 +2,9 @@
2
2
 
3
3
  Typed Node.js client for the Stable Sea API.
4
4
 
5
+ For the guided integration setup and interactive API reference, visit
6
+ https://docs.stablesea.com/api/.
7
+
5
8
  ## Install
6
9
 
7
10
  ```sh
@@ -23,15 +26,16 @@ const client = createStableSeaClient({
23
26
  });
24
27
  ```
25
28
 
26
- Node.js 20 or later is supported. Obtain the base URL and a credential from your
27
- Stable Sea contact; the public API is not deployed and credentials are not
28
- self-service. Use `sk_test_…` only with the development host and `sk_live_…` only
29
- with the production host. The credential identifies one business and carries
30
- fixed scopes, so do not send a `Stable-Sea-Account` header.
29
+ Node.js 20 or later is supported. Use `https://api.stablesea.com` as `baseUrl` in
30
+ production. Ask your Stable Sea contact to enable API access, then create a
31
+ named credential in the business application. Use `sk_test_…` only with a
32
+ non-production host and `sk_live_…` only with the production host. The
33
+ credential identifies one business and carries fixed scopes, so do not send a
34
+ `Stable-Sea-Account` header.
31
35
 
32
36
  | SDK | API contract | Credentials |
33
37
  |---|---|---|
34
- | `0.1.x` | `2026-07-23` | `sk_test_…` on development; `sk_live_…` on production |
38
+ | `0.1.x` | `2026-07-23` | `sk_test_…` on non-production; `sk_live_…` on production |
35
39
 
36
40
  ## Idempotent writes
37
41
 
@@ -629,7 +629,7 @@ export interface components {
629
629
  allowed?: string[];
630
630
  /** @description Credential ID issued by a duplicate credential-mint request. */
631
631
  api_client_id?: string;
632
- /** @description Stable machine-readable error code (present on 4xx, absent on 5xx). */
632
+ /** @description Stable machine-readable error code when supplied; use error.type for uncoded errors. */
633
633
  code?: string;
634
634
  /** @description Per-field validation breakdown. */
635
635
  errors?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stable_sea/sdk",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "files": [
@@ -40,7 +40,7 @@
40
40
  "vitest": "4.1.11"
41
41
  },
42
42
  "overrides": {
43
- "js-yaml": "^5.2.3",
43
+ "js-yaml": "^5.4.1",
44
44
  "nanoid": "^3.3.17"
45
45
  }
46
46
  }