@ovra/ts-sdk 0.5.2 → 0.5.3

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 +1 -5
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -35,11 +35,7 @@ const result = await ovra.pay({
35
35
  purpose: "Top up OpenAI credits",
36
36
  });
37
37
 
38
- if (result.status === "completed") {
39
- console.log(result.orderId); // cmo_…
40
- console.log(result.order.amount); // { amount: 1000, currency: "eur" }
41
- console.log(result.order.authorization.network_auth_code); // "000123"
42
- }
38
+ console.log(result.orderId); // cmo_…
43
39
  ```
44
40
 
45
41
  `ovra.pay()` declares the intent, runs the policy gate, debits the wallet,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ovra/ts-sdk",
3
- "version": "0.5.2",
3
+ "version": "0.5.3",
4
4
  "description": "Official TypeScript SDK for the Ovra API — payment infrastructure for AI agents.",
5
5
  "author": "Ovra",
6
6
  "license": "SEE LICENSE IN LICENSE",