vessels-sdk 0.4.0 → 0.4.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
@@ -1,6 +1,6 @@
1
1
  # vessels-sdk
2
2
 
3
- Node.js SDK for [Vessels](https://vessels-two.vercel.app) — let your agent reach you.
3
+ Node.js SDK for [Vessels](https://vessels.app) — let your agent reach you.
4
4
 
5
5
  Vessels is the communication layer between AI agents and their human operators. Your agent pushes structured messages to a vessel; the human responds via the web or mobile app; your agent receives the answer via polling or webhooks.
6
6
 
@@ -38,7 +38,7 @@ const { messageId, vesselId } = await vessels.push({
38
38
  });
39
39
  ```
40
40
 
41
- Get your API key from Settings → API Keys in the [Vessels app](https://vessels-two.vercel.app), or via the CLI:
41
+ Get your API key from Settings → API Keys in the [Vessels app](https://vessels.app), or via the CLI:
42
42
 
43
43
  ```bash
44
44
  npm install -g vessels
@@ -55,7 +55,7 @@ vessels keys create
55
55
  | Option | Type | Default | Description |
56
56
  |--------|------|---------|-------------|
57
57
  | `apiKey` | `string` | required | Your `vsl_` prefixed API key |
58
- | `baseUrl` | `string` | `https://vessels-two.vercel.app` | Override for local dev or self-hosted |
58
+ | `baseUrl` | `string` | `https://vessels.app` | Override for local dev or self-hosted |
59
59
 
60
60
  ---
61
61
 
@@ -469,7 +469,7 @@ import type {
469
469
 
470
470
  ## Links
471
471
 
472
- - Dashboard: [https://vessels-two.vercel.app](https://vessels-two.vercel.app)
473
- - Full integration reference: [https://vessels-two.vercel.app/docs](https://vessels-two.vercel.app/docs)
472
+ - Dashboard: [https://vessels.app](https://vessels.app)
473
+ - Full integration reference: [https://vessels.app/docs](https://vessels.app/docs)
474
474
  - CLI: `npm install -g vessels`
475
475
  - npm: [https://www.npmjs.com/package/vessels-sdk](https://www.npmjs.com/package/vessels-sdk)
package/dist/index.cjs CHANGED
@@ -36,7 +36,7 @@ var Vessels = class {
36
36
  _debug;
37
37
  constructor(config) {
38
38
  this.apiKey = config.apiKey;
39
- this.baseUrl = config.baseUrl?.replace(/\/$/, "") ?? "https://vessels-two.vercel.app";
39
+ this.baseUrl = config.baseUrl?.replace(/\/$/, "") ?? "https://vessels.app";
40
40
  this._debug = config.debug ?? false;
41
41
  }
42
42
  async _fetch(url, init) {
package/dist/index.js CHANGED
@@ -34,7 +34,7 @@ var Vessels = class {
34
34
  _debug;
35
35
  constructor(config) {
36
36
  this.apiKey = config.apiKey;
37
- this.baseUrl = config.baseUrl?.replace(/\/$/, "") ?? "https://vessels-two.vercel.app";
37
+ this.baseUrl = config.baseUrl?.replace(/\/$/, "") ?? "https://vessels.app";
38
38
  this._debug = config.debug ?? false;
39
39
  }
40
40
  async _fetch(url, init) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vessels-sdk",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Let your agent reach you. Official Vessels SDK.",
5
5
  "type": "module",
6
6
  "exports": {