@topolo/sdk 0.11.0 → 0.11.2
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 +3 -11
- package/dist/index.cjs +2185 -1
- package/dist/index.d.cts +1351 -1
- package/dist/index.d.ts +1351 -1
- package/dist/index.js +2177 -1
- package/dist/node/credential-store.cjs +75 -44
- package/dist/node/credential-store.js +76 -45
- package/package.json +5 -2
package/README.md
CHANGED
|
@@ -191,25 +191,17 @@ Still routes through auth + audit headers. Mutating methods still require
|
|
|
191
191
|
| `TopoloHttpError` | Other non-2xx responses |
|
|
192
192
|
| `TopoloSdkError` | Base class |
|
|
193
193
|
|
|
194
|
-
## Service URL
|
|
194
|
+
## Service URL overrides
|
|
195
195
|
|
|
196
|
-
Defaults target production.
|
|
196
|
+
Defaults target production. Self-hosted installations may override a service:
|
|
197
197
|
|
|
198
198
|
```ts
|
|
199
199
|
createTopolo({
|
|
200
200
|
/* ... */
|
|
201
201
|
serviceUrls: {
|
|
202
|
-
mail: 'https://mail.
|
|
202
|
+
mail: 'https://mail.example.com',
|
|
203
203
|
},
|
|
204
204
|
});
|
|
205
205
|
```
|
|
206
206
|
|
|
207
207
|
Or via env: `TOPOLO_SERVICE_URL_MAIL=...` (falls through `resolveServiceUrl`).
|
|
208
|
-
|
|
209
|
-
## Development
|
|
210
|
-
|
|
211
|
-
```bash
|
|
212
|
-
npm install
|
|
213
|
-
npm run build
|
|
214
|
-
npm run typecheck
|
|
215
|
-
```
|