timber-node 0.4.0 → 0.4.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/README.md +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -26,7 +26,7 @@ console.log(expenses.data);
|
|
|
26
26
|
|
|
27
27
|
## Authentication
|
|
28
28
|
|
|
29
|
-
Timber uses API Key-based authentication. Generate this API key from your Timber profile settings.
|
|
29
|
+
Timber uses API Key-based authentication. Generate this API key from your Timber profile developer settings.
|
|
30
30
|
|
|
31
31
|
```typescript
|
|
32
32
|
const client = createClient('your-api-key');
|
|
@@ -62,11 +62,11 @@ Each service provides common operations like `create`, `get`, `list`, `update`,
|
|
|
62
62
|
|
|
63
63
|
```typescript
|
|
64
64
|
const response = await client.expense.create({
|
|
65
|
-
type: '
|
|
65
|
+
type: 'Travel',
|
|
66
66
|
merchant: 'Uber',
|
|
67
67
|
category: 'Transportation',
|
|
68
68
|
date: '2025-06-23',
|
|
69
|
-
payment_method: '
|
|
69
|
+
payment_method: 'cash',
|
|
70
70
|
amount: 45.75,
|
|
71
71
|
});
|
|
72
72
|
console.log(response.data);
|