@surf-ai/sdk 1.0.0-alpha.34 → 1.0.0-alpha.36

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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -16,7 +16,7 @@ SDK 1.0 uses a single direct-auth model.
16
16
  | --- | --- | --- |
17
17
  | `SURF_API_BASE_URL` | `https://api.asksurf.ai/gateway/v1` | Full Surf API base URL |
18
18
  | `SURF_API_KEY` | none | Bearer token used for upstream requests and protected runtime endpoints |
19
- | `PORT` | none | Express server port when `createServer({ port })` is not provided |
19
+ | `BACKEND_PORT` | none | Express server port when `createServer({ port })` is not provided |
20
20
 
21
21
  All upstream SDK requests use:
22
22
 
@@ -140,4 +140,4 @@ exports.users = pgTable('users', {
140
140
  - The runtime no longer mounts `/proxy/*`.
141
141
  - The `@surf-ai/sdk/react` subpath has been removed.
142
142
  - Route modules must export the handler directly with `module.exports = router`.
143
- - `createServer()` requires a port from `options.port` or `process.env.PORT`.
143
+ - `createServer()` requires a port from `options.port` or `process.env.BACKEND_PORT`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@surf-ai/sdk",
3
- "version": "1.0.0-alpha.34",
3
+ "version": "1.0.0-alpha.36",
4
4
  "description": "Surf platform SDK — data API client, server runtime, and database helpers",
5
5
  "type": "module",
6
6
  "exports": {