@wuapidev/sdk 0.3.1 → 0.3.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 CHANGED
@@ -312,7 +312,7 @@ const report = await wuapi.usage.byProject({ month: "2026-09" }); // one line pe
312
312
  for (const line of report.projects) console.log(line.externalId, line.billableAccountCount, line.sentMessageCount);
313
313
  ```
314
314
 
315
- wuapi bills the organization across all its projects; `usage.byProject` is what you rebill from. `usage.get()` is the organization's own bill this month: every billable account includes 0.5 GB of proxy, pooled, so `proxyBytes` is everything used, `includedProxyBytes` the pool, and `proxyFeeCents` bills only `billableProxyBytes`, the traffic past it, at $3 per GB.
315
+ wuapi bills the organization across all its projects; `usage.byProject` is what you rebill from. `usage.get()` is the organization's own bill this month: every billable account includes 0.5 GB of proxy, pooled, so `proxyBytes` is everything used, `includedProxyBytes` the pool, and `proxyFeeCents` bills only `billableProxyBytes`, the traffic past it, at $0.99 per GB.
316
316
 
317
317
  ## Errors
318
318
 
package/dist/core.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import type { CallOptions } from "./types.js";
2
- export declare const VERSION = "0.3.1";
2
+ export declare const VERSION = "0.3.2";
3
3
  export declare const DEFAULT_BASE_URL = "https://api.wuapi.dev";
4
4
  export type FetchLike = (input: string, init: RequestInit) => Promise<Response>;
5
5
  export interface ClientOptions {
package/dist/core.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { WuapiError } from "./errors.js";
2
- export const VERSION = "0.3.1";
2
+ export const VERSION = "0.3.2";
3
3
  export const DEFAULT_BASE_URL = "https://api.wuapi.dev";
4
4
  export const PROJECT_HEADER = "Wuapi-Project";
5
5
  export const IDEMPOTENCY_HEADER = "Idempotency-Key";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wuapidev/sdk",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "TypeScript SDK for wuapi, a WhatsApp API for developers. Link numbers by QR or pairing code, send and receive messages, manage chats, contacts, groups and channels, split them into projects and verify webhooks.",
5
5
  "license": "MIT",
6
6
  "type": "module",