totalum-sdk 1.5.0 → 1.5.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/CHANGELOG.md +7 -0
- package/dist/realtime/index.d.ts +1 -1
- package/dist/realtime/index.js +1 -1
- package/dist/web/index.d.ts +1 -1
- package/dist/web/index.js +1 -1
- package/package.json +1 -1
- package/totalum-sdk.md +2 -2
- package/totalum-sdk.signatures.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -20,6 +20,13 @@ regenerated), plus the request each call sends to SDK-API (`compat/requests/*.js
|
|
|
20
20
|
- **Dist-tags:** `next` is the newest release; `latest` moves only by a decision at launch. `dev` holds the old
|
|
21
21
|
`0.1.0-dev.N` prereleases.
|
|
22
22
|
|
|
23
|
+
## 1.5.1 — 2026-09-30
|
|
24
|
+
|
|
25
|
+
### Fixed
|
|
26
|
+
|
|
27
|
+
- The JSDoc of `totalum.web` and `totalum.realtime` (and `totalum-sdk.md`) no longer describe how a price is derived:
|
|
28
|
+
every paid call is billed in credits, reported in `usage.credits`. No type or request changed.
|
|
29
|
+
|
|
23
30
|
## 1.5.0 — 2026-09-30
|
|
24
31
|
|
|
25
32
|
### Added
|
package/dist/realtime/index.d.ts
CHANGED
|
@@ -57,7 +57,7 @@ type RealtimePublishOutput = output<typeof RealtimePublishOutput>;
|
|
|
57
57
|
/**
|
|
58
58
|
* `totalum.realtime` server side (plan 05 §6.14.1) over SDK-API `/v1/realtime/*` (scope `realtime`). The app's own
|
|
59
59
|
* server mints a short-lived ticket after its own auth check and hands `{ticket, url}` to the page; the page opens the
|
|
60
|
-
* `wss://` `url` and never holds a key. A room
|
|
60
|
+
* `wss://` `url` and never holds a key. A room is billed in credits per awake room-minute, never per connection or message.
|
|
61
61
|
*/
|
|
62
62
|
declare function totalumRealtime(options?: TotalumClientOptions): {
|
|
63
63
|
/**
|
package/dist/realtime/index.js
CHANGED
|
@@ -3,7 +3,7 @@ export { TotalumError, isTotalumError } from '../errors.js';
|
|
|
3
3
|
/**
|
|
4
4
|
* `totalum.realtime` server side (plan 05 §6.14.1) over SDK-API `/v1/realtime/*` (scope `realtime`). The app's own
|
|
5
5
|
* server mints a short-lived ticket after its own auth check and hands `{ticket, url}` to the page; the page opens the
|
|
6
|
-
* `wss://` `url` and never holds a key. A room
|
|
6
|
+
* `wss://` `url` and never holds a key. A room is billed in credits per awake room-minute, never per connection or message.
|
|
7
7
|
*/
|
|
8
8
|
export function totalumRealtime(options = {}) {
|
|
9
9
|
const call = jsonClient(options);
|
package/dist/web/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import '../_types/coerce.d-N9EPblpL.js';
|
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* `totalum.web` (plan 05 §6.2) over SDK-API `/v1/web/*` (scope `web`): Firecrawl scrape/search/map/crawl and Browser
|
|
9
|
-
* Run screenshots,
|
|
9
|
+
* Run screenshots, billed in credits — every result carries `usage.credits`.
|
|
10
10
|
*/
|
|
11
11
|
declare function totalumWeb(options?: TotalumClientOptions): {
|
|
12
12
|
/**
|
package/dist/web/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { envelopeClient, withUsage } from '../http.js';
|
|
|
2
2
|
export { TotalumError, isTotalumError } from '../errors.js';
|
|
3
3
|
/**
|
|
4
4
|
* `totalum.web` (plan 05 §6.2) over SDK-API `/v1/web/*` (scope `web`): Firecrawl scrape/search/map/crawl and Browser
|
|
5
|
-
* Run screenshots,
|
|
5
|
+
* Run screenshots, billed in credits — every result carries `usage.credits`.
|
|
6
6
|
*/
|
|
7
7
|
export function totalumWeb(options = {}) {
|
|
8
8
|
const call = envelopeClient(options);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "totalum-sdk",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.1",
|
|
4
4
|
"description": "The SDK generated Totalum apps import: every integration namespace over SDK-API (totalum-sdk, or one subpath each: /files, /ai, /web, \u2026) and totalum-sdk/d1, the D1 driver",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|
package/totalum-sdk.md
CHANGED
|
@@ -318,7 +318,7 @@ totalumWeb(options?: TotalumClientOptions)
|
|
|
318
318
|
```
|
|
319
319
|
|
|
320
320
|
`totalum.web` over SDK-API `/v1/web/*` (scope `web`): Firecrawl scrape/search/map/crawl and Browser
|
|
321
|
-
Run screenshots,
|
|
321
|
+
Run screenshots, billed in credits — every result carries `usage.credits`.
|
|
322
322
|
|
|
323
323
|
#### `web.scrape`
|
|
324
324
|
|
|
@@ -889,7 +889,7 @@ totalumRealtime(options?: TotalumClientOptions)
|
|
|
889
889
|
|
|
890
890
|
`totalum.realtime` server side over SDK-API `/v1/realtime/*` (scope `realtime`). The app's own
|
|
891
891
|
server mints a short-lived ticket after its own auth check and hands `{ticket, url}` to the page; the page opens the
|
|
892
|
-
`wss://` `url` and never holds a key. A room
|
|
892
|
+
`wss://` `url` and never holds a key. A room is billed in credits per awake room-minute, never per connection or message.
|
|
893
893
|
|
|
894
894
|
#### `realtime.ticket`
|
|
895
895
|
|