Skip to content

Commit

Permalink
Update changelog.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bavixbot committed Mar 9, 2024
1 parent acdc6d1 commit ab1ee58
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 10.1.4 - 2024-03-09

### What's Changed

* [10.x] fix initializeMorphOneWallet by [@rez1dent3](https://github.com/rez1dent3) in https://github.com/bavix/laravel-wallet/pull/905

**Full Changelog**: https://github.com/bavix/laravel-wallet/compare/10.1.3...10.1.4

## 10.1.3 - 2024-02-01

### What's Changed
Expand Down Expand Up @@ -2182,11 +2190,17 @@ Added a patch from version 4.2.1 #150
### Added

- written README.

- Project configuration file created.

- Migration 2018_11_06_222923_create_transactions_table.

- Migration 2018_11_07_192923_create_transfers_table.

- `HasWallet` trait and `Wallet` interface.

- methods:

- private checkAmount(int $amount): void
- public forceWithdraw(int $amount, ?array $meta = null, bool $confirmed = true): Transaction
- public deposit(int $amount, ?array $meta = null, bool $confirmed = true): Transaction
Expand All @@ -2200,14 +2214,17 @@ Added a patch from version 4.2.1 #150
- public resetBalance(): void

- relations:

- public transactions(): MorphMany
- public transfers(): MorphMany

- magic property

- public getBalanceAttribute(): int


- `CanBePaid` trait and `Product`, `Costomer` interface's

- methods:
- public pay(Product $product): Transfer
- public safePay(Product $product): ?Transfer
Expand All @@ -2216,7 +2233,9 @@ Added a patch from version 4.2.1 #150


- Exceptions: AmountInvalid, BalanceIsEmpty.

- Models: Transfer, Transaction.


## What's Changed

Expand Down

0 comments on commit ab1ee58

Please sign in to comment.