money-lover-app-client 1.0.5 → 1.0.6
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/dist/bundle.js +2 -2
- package/dist/bundle.js.map +1 -1
- package/dist/client.d.ts +1 -1
- package/dist/commands/transactions.d.ts +1 -1
- package/package.json +1 -1
- package/dist/client.js +0 -95
- package/dist/commands/categories.js +0 -13
- package/dist/commands/login.js +0 -24
- package/dist/commands/logout.js +0 -6
- package/dist/commands/transactions.js +0 -26
- package/dist/commands/wallets.js +0 -15
- package/dist/index.js +0 -1
- package/dist/interfaces/category-type.js +0 -6
- package/dist/interfaces/category.js +0 -1
- package/dist/interfaces/client-state.d.ts +0 -3
- package/dist/interfaces/client-state.js +0 -1
- package/dist/interfaces/transaction.js +0 -1
- package/dist/interfaces/user-profile.js +0 -1
- package/dist/interfaces/wallet.js +0 -1
- package/dist/state.d.ts +0 -3
- package/dist/state.js +0 -19
- package/dist/utils.js +0 -12
package/dist/bundle.js
CHANGED
|
@@ -6516,14 +6516,14 @@ class MoneyLoverClient {
|
|
|
6516
6516
|
});
|
|
6517
6517
|
}
|
|
6518
6518
|
addTransaction(transaction) {
|
|
6519
|
-
return this._postRequest("/transaction/add",
|
|
6519
|
+
return this._postRequest("/transaction/add", {
|
|
6520
6520
|
with: [],
|
|
6521
6521
|
account: transaction.account,
|
|
6522
6522
|
category: transaction.category,
|
|
6523
6523
|
amount: transaction.amount,
|
|
6524
6524
|
note: transaction.note,
|
|
6525
6525
|
displayDate: formatDate(transaction.date),
|
|
6526
|
-
}
|
|
6526
|
+
}, {
|
|
6527
6527
|
"Content-Type": "application/json",
|
|
6528
6528
|
});
|
|
6529
6529
|
}
|