Skip to content

Commit a3c4c63

Browse files
committed
fix additions
1 parent 8216ad2 commit a3c4c63

File tree

4 files changed

+11
-10
lines changed

4 files changed

+11
-10
lines changed

docs/.vitepress/config.mts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,13 @@ export default defineConfig({
124124
{ text: 'Create Wallet', link: '/guide/cqrs/create-wallet' },
125125
]
126126
},
127+
{
128+
text: 'Additions',
129+
items: [
130+
{ text: 'Wallet Swap', link: '/guide/additions/swap' },
131+
{ text: 'Support UUID', link: '/guide/additions/uuid' },
132+
]
133+
},
127134
],
128135

129136
socialLinks: [

docs/guide/additions/laravel-wallet-swap.md renamed to docs/guide/additions/swap.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Laravel Wallet Swap
1+
# Laravel Wallet Swap
22

33
## Composer
44

@@ -10,7 +10,7 @@ In your project root just run:
1010
composer req bavix/laravel-wallet-swap
1111
```
1212

13-
### User model
13+
## User model
1414
We need a simple model with the ability to work multi-wallets.
1515

1616
```php
@@ -24,7 +24,7 @@ class User extends Model implements Wallet
2424
}
2525
```
2626

27-
### Simple example
27+
## Simple example
2828
Let's create wallets with currency:
2929
```php
3030
$usd = $user->createWallet([

docs/guide/additions/laravel-wallet-uuid.md renamed to docs/guide/additions/uuid.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Laravel Wallet UUID
1+
# Laravel Wallet UUID
22

33
> Using uuid greatly reduces package performance. We recommend using int.
44

docs/guide/introduction/upgrade.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,16 @@
44

55
Replace `::with('balance')` to `::with('wallet')`
66

7-
---
8-
97
## 2.1.x → 2.2.x
108

119
Replace `CanBePaid` to `CanPay`.
1210

1311
Replace `CanBePaidFloat` to `CanPayFloat`.
1412

15-
---
16-
1713
## 2.2.x → 2.4.x
1814

1915
Replace `calculateBalance` to `refreshBalance`
2016

21-
---
22-
2317
## 2.4.x → 3.0.x
2418

2519
Replace path `bavix.wallet::transaction` to `Bavix\Wallet\Models\Transaction::class`

0 commit comments

Comments
 (0)