瀏覽代碼

refactor: only refresh transactions for one account at a time

3.x
wallo 1 年之前
父節點
當前提交
1f14fbcb23

+ 9
- 16
app/Livewire/Company/Service/ConnectedAccount/ListInstitutions.php 查看文件

171
             ->stickyModalFooter()
171
             ->stickyModalFooter()
172
             ->modalHeading('Refresh Transactions')
172
             ->modalHeading('Refresh Transactions')
173
             ->modalSubmitActionLabel('Refresh')
173
             ->modalSubmitActionLabel('Refresh')
174
-            ->modalCancelActionLabel('Cancel')
175
             ->form([
174
             ->form([
176
                 Placeholder::make('modalDetails')
175
                 Placeholder::make('modalDetails')
177
                     ->hiddenLabel()
176
                     ->hiddenLabel()
178
-                    ->content(static fn (Institution $institution): View => view(
179
-                        'components.actions.refresh-transactions-modal',
180
-                        compact('institution')
181
-                    )),
182
-                Checkbox::make('confirm')
183
-                    ->label('Yes, I want to refresh transactions.')
184
-                    ->markAsRequired(false)
177
+                    ->content('Refreshing transactions will update the selected account with the latest transactions from the bank if there are any new transactions available. This may take a few moments.'),
178
+                Select::make('connected_bank_account_id')
179
+                    ->label('Select Account')
180
+                    ->options(fn (Institution $institution) => $institution->getEnabledConnectedBankAccounts()->pluck('name', 'id')->toArray())
185
                     ->required(),
181
                     ->required(),
186
             ])
182
             ])
187
-            ->action(function (Institution $institution) {
188
-                $connectedBankAccounts = $institution->getEnabledConnectedBankAccounts();
189
-
190
-                foreach ($connectedBankAccounts as $connectedBankAccount) {
191
-                    $access_token = $connectedBankAccount->access_token;
192
-
193
-                    $this->plaidService->refreshTransactions($access_token);
194
-                }
183
+            ->action(function (array $data) {
184
+                $connectedBankAccountId = $data['connected_bank_account_id'];
185
+                $connectedBankAccount = ConnectedBankAccount::find($connectedBankAccountId);
186
+                $access_token = $connectedBankAccount->access_token;
187
+                $this->plaidService->refreshTransactions($access_token);
195
 
188
 
196
                 unset($this->connectedInstitutions);
189
                 unset($this->connectedInstitutions);
197
             });
190
             });

+ 368
- 76
composer.lock 查看文件

497
         },
497
         },
498
         {
498
         {
499
             "name": "aws/aws-sdk-php",
499
             "name": "aws/aws-sdk-php",
500
-            "version": "3.304.4",
500
+            "version": "3.304.5",
501
             "source": {
501
             "source": {
502
                 "type": "git",
502
                 "type": "git",
503
                 "url": "https://github.com/aws/aws-sdk-php.git",
503
                 "url": "https://github.com/aws/aws-sdk-php.git",
504
-                "reference": "20be41a5f1eef4c8a53a6ae7c0fc8b7346c0c386"
504
+                "reference": "c9a02677b00e28133915afd451a1c8c3726474b7"
505
             },
505
             },
506
             "dist": {
506
             "dist": {
507
                 "type": "zip",
507
                 "type": "zip",
508
-                "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/20be41a5f1eef4c8a53a6ae7c0fc8b7346c0c386",
509
-                "reference": "20be41a5f1eef4c8a53a6ae7c0fc8b7346c0c386",
508
+                "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/c9a02677b00e28133915afd451a1c8c3726474b7",
509
+                "reference": "c9a02677b00e28133915afd451a1c8c3726474b7",
510
                 "shasum": ""
510
                 "shasum": ""
511
             },
511
             },
512
             "require": {
512
             "require": {
586
             "support": {
586
             "support": {
587
                 "forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80",
587
                 "forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80",
588
                 "issues": "https://github.com/aws/aws-sdk-php/issues",
588
                 "issues": "https://github.com/aws/aws-sdk-php/issues",
589
-                "source": "https://github.com/aws/aws-sdk-php/tree/3.304.4"
589
+                "source": "https://github.com/aws/aws-sdk-php/tree/3.304.5"
590
             },
590
             },
591
-            "time": "2024-04-12T18:06:45+00:00"
591
+            "time": "2024-04-16T19:20:23+00:00"
592
         },
592
         },
593
         {
593
         {
594
             "name": "aws/aws-sdk-php-laravel",
594
             "name": "aws/aws-sdk-php-laravel",
1980
         },
1980
         },
1981
         {
1981
         {
1982
             "name": "filament/actions",
1982
             "name": "filament/actions",
1983
-            "version": "v3.2.66",
1983
+            "version": "v3.2.69",
1984
             "source": {
1984
             "source": {
1985
                 "type": "git",
1985
                 "type": "git",
1986
                 "url": "https://github.com/filamentphp/actions.git",
1986
                 "url": "https://github.com/filamentphp/actions.git",
1987
-                "reference": "7f978130358ce997bdb5f7fe7994915cebf9f524"
1987
+                "reference": "46decf6a9fc438c60c9fb1c5631820fab49fefb6"
1988
             },
1988
             },
1989
             "dist": {
1989
             "dist": {
1990
                 "type": "zip",
1990
                 "type": "zip",
1991
-                "url": "https://api.github.com/repos/filamentphp/actions/zipball/7f978130358ce997bdb5f7fe7994915cebf9f524",
1992
-                "reference": "7f978130358ce997bdb5f7fe7994915cebf9f524",
1991
+                "url": "https://api.github.com/repos/filamentphp/actions/zipball/46decf6a9fc438c60c9fb1c5631820fab49fefb6",
1992
+                "reference": "46decf6a9fc438c60c9fb1c5631820fab49fefb6",
1993
                 "shasum": ""
1993
                 "shasum": ""
1994
             },
1994
             },
1995
             "require": {
1995
             "require": {
2029
                 "issues": "https://github.com/filamentphp/filament/issues",
2029
                 "issues": "https://github.com/filamentphp/filament/issues",
2030
                 "source": "https://github.com/filamentphp/filament"
2030
                 "source": "https://github.com/filamentphp/filament"
2031
             },
2031
             },
2032
-            "time": "2024-04-11T21:38:13+00:00"
2032
+            "time": "2024-04-16T15:42:36+00:00"
2033
         },
2033
         },
2034
         {
2034
         {
2035
             "name": "filament/filament",
2035
             "name": "filament/filament",
2036
-            "version": "v3.2.66",
2036
+            "version": "v3.2.69",
2037
             "source": {
2037
             "source": {
2038
                 "type": "git",
2038
                 "type": "git",
2039
                 "url": "https://github.com/filamentphp/panels.git",
2039
                 "url": "https://github.com/filamentphp/panels.git",
2040
-                "reference": "69c4c60fbc9c22708dde1aee017c4cc2ff99e0a1"
2040
+                "reference": "f9011967b6ea0cd79cf7b210bbb59de6bbe2ce1f"
2041
             },
2041
             },
2042
             "dist": {
2042
             "dist": {
2043
                 "type": "zip",
2043
                 "type": "zip",
2044
-                "url": "https://api.github.com/repos/filamentphp/panels/zipball/69c4c60fbc9c22708dde1aee017c4cc2ff99e0a1",
2045
-                "reference": "69c4c60fbc9c22708dde1aee017c4cc2ff99e0a1",
2044
+                "url": "https://api.github.com/repos/filamentphp/panels/zipball/f9011967b6ea0cd79cf7b210bbb59de6bbe2ce1f",
2045
+                "reference": "f9011967b6ea0cd79cf7b210bbb59de6bbe2ce1f",
2046
                 "shasum": ""
2046
                 "shasum": ""
2047
             },
2047
             },
2048
             "require": {
2048
             "require": {
2094
                 "issues": "https://github.com/filamentphp/filament/issues",
2094
                 "issues": "https://github.com/filamentphp/filament/issues",
2095
                 "source": "https://github.com/filamentphp/filament"
2095
                 "source": "https://github.com/filamentphp/filament"
2096
             },
2096
             },
2097
-            "time": "2024-04-12T14:57:11+00:00"
2097
+            "time": "2024-04-16T15:42:54+00:00"
2098
         },
2098
         },
2099
         {
2099
         {
2100
             "name": "filament/forms",
2100
             "name": "filament/forms",
2101
-            "version": "v3.2.66",
2101
+            "version": "v3.2.69",
2102
             "source": {
2102
             "source": {
2103
                 "type": "git",
2103
                 "type": "git",
2104
                 "url": "https://github.com/filamentphp/forms.git",
2104
                 "url": "https://github.com/filamentphp/forms.git",
2105
-                "reference": "5ecbfdfd124ad072d0bb77edba33262494c137eb"
2105
+                "reference": "85670891877fd57e322a8a4c8580ebef1d368f87"
2106
             },
2106
             },
2107
             "dist": {
2107
             "dist": {
2108
                 "type": "zip",
2108
                 "type": "zip",
2109
-                "url": "https://api.github.com/repos/filamentphp/forms/zipball/5ecbfdfd124ad072d0bb77edba33262494c137eb",
2110
-                "reference": "5ecbfdfd124ad072d0bb77edba33262494c137eb",
2109
+                "url": "https://api.github.com/repos/filamentphp/forms/zipball/85670891877fd57e322a8a4c8580ebef1d368f87",
2110
+                "reference": "85670891877fd57e322a8a4c8580ebef1d368f87",
2111
                 "shasum": ""
2111
                 "shasum": ""
2112
             },
2112
             },
2113
             "require": {
2113
             "require": {
2150
                 "issues": "https://github.com/filamentphp/filament/issues",
2150
                 "issues": "https://github.com/filamentphp/filament/issues",
2151
                 "source": "https://github.com/filamentphp/filament"
2151
                 "source": "https://github.com/filamentphp/filament"
2152
             },
2152
             },
2153
-            "time": "2024-04-11T21:38:19+00:00"
2153
+            "time": "2024-04-16T17:20:05+00:00"
2154
         },
2154
         },
2155
         {
2155
         {
2156
             "name": "filament/infolists",
2156
             "name": "filament/infolists",
2157
-            "version": "v3.2.66",
2157
+            "version": "v3.2.69",
2158
             "source": {
2158
             "source": {
2159
                 "type": "git",
2159
                 "type": "git",
2160
                 "url": "https://github.com/filamentphp/infolists.git",
2160
                 "url": "https://github.com/filamentphp/infolists.git",
2161
-                "reference": "8945c92a86531bb9793b844b3321028e572c8185"
2161
+                "reference": "123bbd4e81cd3e8bcdfad77b9554bf8e4185689f"
2162
             },
2162
             },
2163
             "dist": {
2163
             "dist": {
2164
                 "type": "zip",
2164
                 "type": "zip",
2165
-                "url": "https://api.github.com/repos/filamentphp/infolists/zipball/8945c92a86531bb9793b844b3321028e572c8185",
2166
-                "reference": "8945c92a86531bb9793b844b3321028e572c8185",
2165
+                "url": "https://api.github.com/repos/filamentphp/infolists/zipball/123bbd4e81cd3e8bcdfad77b9554bf8e4185689f",
2166
+                "reference": "123bbd4e81cd3e8bcdfad77b9554bf8e4185689f",
2167
                 "shasum": ""
2167
                 "shasum": ""
2168
             },
2168
             },
2169
             "require": {
2169
             "require": {
2201
                 "issues": "https://github.com/filamentphp/filament/issues",
2201
                 "issues": "https://github.com/filamentphp/filament/issues",
2202
                 "source": "https://github.com/filamentphp/filament"
2202
                 "source": "https://github.com/filamentphp/filament"
2203
             },
2203
             },
2204
-            "time": "2024-04-05T21:55:16+00:00"
2204
+            "time": "2024-04-16T15:42:38+00:00"
2205
         },
2205
         },
2206
         {
2206
         {
2207
             "name": "filament/notifications",
2207
             "name": "filament/notifications",
2208
-            "version": "v3.2.66",
2208
+            "version": "v3.2.69",
2209
             "source": {
2209
             "source": {
2210
                 "type": "git",
2210
                 "type": "git",
2211
                 "url": "https://github.com/filamentphp/notifications.git",
2211
                 "url": "https://github.com/filamentphp/notifications.git",
2212
-                "reference": "067117fb0708dfd04955faafcfc82cd6d182e52f"
2212
+                "reference": "5731f4b9eb2b3f292b45fbb9ce173ee7d6b7dddb"
2213
             },
2213
             },
2214
             "dist": {
2214
             "dist": {
2215
                 "type": "zip",
2215
                 "type": "zip",
2216
-                "url": "https://api.github.com/repos/filamentphp/notifications/zipball/067117fb0708dfd04955faafcfc82cd6d182e52f",
2217
-                "reference": "067117fb0708dfd04955faafcfc82cd6d182e52f",
2216
+                "url": "https://api.github.com/repos/filamentphp/notifications/zipball/5731f4b9eb2b3f292b45fbb9ce173ee7d6b7dddb",
2217
+                "reference": "5731f4b9eb2b3f292b45fbb9ce173ee7d6b7dddb",
2218
                 "shasum": ""
2218
                 "shasum": ""
2219
             },
2219
             },
2220
             "require": {
2220
             "require": {
2253
                 "issues": "https://github.com/filamentphp/filament/issues",
2253
                 "issues": "https://github.com/filamentphp/filament/issues",
2254
                 "source": "https://github.com/filamentphp/filament"
2254
                 "source": "https://github.com/filamentphp/filament"
2255
             },
2255
             },
2256
-            "time": "2024-04-11T21:38:28+00:00"
2256
+            "time": "2024-04-16T15:42:43+00:00"
2257
         },
2257
         },
2258
         {
2258
         {
2259
             "name": "filament/support",
2259
             "name": "filament/support",
2260
-            "version": "v3.2.66",
2260
+            "version": "v3.2.69",
2261
             "source": {
2261
             "source": {
2262
                 "type": "git",
2262
                 "type": "git",
2263
                 "url": "https://github.com/filamentphp/support.git",
2263
                 "url": "https://github.com/filamentphp/support.git",
2264
-                "reference": "4b629597f5c2130abe0701c82e4da5b266bcbafa"
2264
+                "reference": "fc9038785de9d49802c36c1aef341af8dfa4dbe0"
2265
             },
2265
             },
2266
             "dist": {
2266
             "dist": {
2267
                 "type": "zip",
2267
                 "type": "zip",
2268
-                "url": "https://api.github.com/repos/filamentphp/support/zipball/4b629597f5c2130abe0701c82e4da5b266bcbafa",
2269
-                "reference": "4b629597f5c2130abe0701c82e4da5b266bcbafa",
2268
+                "url": "https://api.github.com/repos/filamentphp/support/zipball/fc9038785de9d49802c36c1aef341af8dfa4dbe0",
2269
+                "reference": "fc9038785de9d49802c36c1aef341af8dfa4dbe0",
2270
                 "shasum": ""
2270
                 "shasum": ""
2271
             },
2271
             },
2272
             "require": {
2272
             "require": {
2311
                 "issues": "https://github.com/filamentphp/filament/issues",
2311
                 "issues": "https://github.com/filamentphp/filament/issues",
2312
                 "source": "https://github.com/filamentphp/filament"
2312
                 "source": "https://github.com/filamentphp/filament"
2313
             },
2313
             },
2314
-            "time": "2024-04-11T21:38:59+00:00"
2314
+            "time": "2024-04-16T17:58:12+00:00"
2315
         },
2315
         },
2316
         {
2316
         {
2317
             "name": "filament/tables",
2317
             "name": "filament/tables",
2318
-            "version": "v3.2.66",
2318
+            "version": "v3.2.69",
2319
             "source": {
2319
             "source": {
2320
                 "type": "git",
2320
                 "type": "git",
2321
                 "url": "https://github.com/filamentphp/tables.git",
2321
                 "url": "https://github.com/filamentphp/tables.git",
2322
-                "reference": "0f3d2b3525a7ffd6cf71f26fcc02d33c4d6c7793"
2322
+                "reference": "87f802bb8bfea1e77ed17ecd86a9d2074786f88a"
2323
             },
2323
             },
2324
             "dist": {
2324
             "dist": {
2325
                 "type": "zip",
2325
                 "type": "zip",
2326
-                "url": "https://api.github.com/repos/filamentphp/tables/zipball/0f3d2b3525a7ffd6cf71f26fcc02d33c4d6c7793",
2327
-                "reference": "0f3d2b3525a7ffd6cf71f26fcc02d33c4d6c7793",
2326
+                "url": "https://api.github.com/repos/filamentphp/tables/zipball/87f802bb8bfea1e77ed17ecd86a9d2074786f88a",
2327
+                "reference": "87f802bb8bfea1e77ed17ecd86a9d2074786f88a",
2328
                 "shasum": ""
2328
                 "shasum": ""
2329
             },
2329
             },
2330
             "require": {
2330
             "require": {
2364
                 "issues": "https://github.com/filamentphp/filament/issues",
2364
                 "issues": "https://github.com/filamentphp/filament/issues",
2365
                 "source": "https://github.com/filamentphp/filament"
2365
                 "source": "https://github.com/filamentphp/filament"
2366
             },
2366
             },
2367
-            "time": "2024-04-12T14:57:32+00:00"
2367
+            "time": "2024-04-16T15:43:11+00:00"
2368
         },
2368
         },
2369
         {
2369
         {
2370
             "name": "filament/widgets",
2370
             "name": "filament/widgets",
2371
-            "version": "v3.2.66",
2371
+            "version": "v3.2.69",
2372
             "source": {
2372
             "source": {
2373
                 "type": "git",
2373
                 "type": "git",
2374
                 "url": "https://github.com/filamentphp/widgets.git",
2374
                 "url": "https://github.com/filamentphp/widgets.git",
2410
             },
2410
             },
2411
             "time": "2024-04-05T21:55:38+00:00"
2411
             "time": "2024-04-05T21:55:38+00:00"
2412
         },
2412
         },
2413
+        {
2414
+            "name": "firebase/php-jwt",
2415
+            "version": "v6.10.0",
2416
+            "source": {
2417
+                "type": "git",
2418
+                "url": "https://github.com/firebase/php-jwt.git",
2419
+                "reference": "a49db6f0a5033aef5143295342f1c95521b075ff"
2420
+            },
2421
+            "dist": {
2422
+                "type": "zip",
2423
+                "url": "https://api.github.com/repos/firebase/php-jwt/zipball/a49db6f0a5033aef5143295342f1c95521b075ff",
2424
+                "reference": "a49db6f0a5033aef5143295342f1c95521b075ff",
2425
+                "shasum": ""
2426
+            },
2427
+            "require": {
2428
+                "php": "^7.4||^8.0"
2429
+            },
2430
+            "require-dev": {
2431
+                "guzzlehttp/guzzle": "^6.5||^7.4",
2432
+                "phpspec/prophecy-phpunit": "^2.0",
2433
+                "phpunit/phpunit": "^9.5",
2434
+                "psr/cache": "^1.0||^2.0",
2435
+                "psr/http-client": "^1.0",
2436
+                "psr/http-factory": "^1.0"
2437
+            },
2438
+            "suggest": {
2439
+                "ext-sodium": "Support EdDSA (Ed25519) signatures",
2440
+                "paragonie/sodium_compat": "Support EdDSA (Ed25519) signatures when libsodium is not present"
2441
+            },
2442
+            "type": "library",
2443
+            "autoload": {
2444
+                "psr-4": {
2445
+                    "Firebase\\JWT\\": "src"
2446
+                }
2447
+            },
2448
+            "notification-url": "https://packagist.org/downloads/",
2449
+            "license": [
2450
+                "BSD-3-Clause"
2451
+            ],
2452
+            "authors": [
2453
+                {
2454
+                    "name": "Neuman Vong",
2455
+                    "email": "neuman+pear@twilio.com",
2456
+                    "role": "Developer"
2457
+                },
2458
+                {
2459
+                    "name": "Anant Narayanan",
2460
+                    "email": "anant@php.net",
2461
+                    "role": "Developer"
2462
+                }
2463
+            ],
2464
+            "description": "A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.",
2465
+            "homepage": "https://github.com/firebase/php-jwt",
2466
+            "keywords": [
2467
+                "jwt",
2468
+                "php"
2469
+            ],
2470
+            "support": {
2471
+                "issues": "https://github.com/firebase/php-jwt/issues",
2472
+                "source": "https://github.com/firebase/php-jwt/tree/v6.10.0"
2473
+            },
2474
+            "time": "2023-12-01T16:26:39+00:00"
2475
+        },
2413
         {
2476
         {
2414
             "name": "fruitcake/php-cors",
2477
             "name": "fruitcake/php-cors",
2415
             "version": "v1.3.0",
2478
             "version": "v1.3.0",
3093
         },
3156
         },
3094
         {
3157
         {
3095
             "name": "laravel/framework",
3158
             "name": "laravel/framework",
3096
-            "version": "v11.3.1",
3159
+            "version": "v11.4.0",
3097
             "source": {
3160
             "source": {
3098
                 "type": "git",
3161
                 "type": "git",
3099
                 "url": "https://github.com/laravel/framework.git",
3162
                 "url": "https://github.com/laravel/framework.git",
3100
-                "reference": "3b87d0767e9cbddec46480d883010ba720e50dea"
3163
+                "reference": "c1dc67c28811dc5be524a30b18f29ce62126716a"
3101
             },
3164
             },
3102
             "dist": {
3165
             "dist": {
3103
                 "type": "zip",
3166
                 "type": "zip",
3104
-                "url": "https://api.github.com/repos/laravel/framework/zipball/3b87d0767e9cbddec46480d883010ba720e50dea",
3105
-                "reference": "3b87d0767e9cbddec46480d883010ba720e50dea",
3167
+                "url": "https://api.github.com/repos/laravel/framework/zipball/c1dc67c28811dc5be524a30b18f29ce62126716a",
3168
+                "reference": "c1dc67c28811dc5be524a30b18f29ce62126716a",
3106
                 "shasum": ""
3169
                 "shasum": ""
3107
             },
3170
             },
3108
             "require": {
3171
             "require": {
3121
                 "fruitcake/php-cors": "^1.3",
3184
                 "fruitcake/php-cors": "^1.3",
3122
                 "guzzlehttp/guzzle": "^7.8",
3185
                 "guzzlehttp/guzzle": "^7.8",
3123
                 "guzzlehttp/uri-template": "^1.0",
3186
                 "guzzlehttp/uri-template": "^1.0",
3124
-                "laravel/prompts": "^0.1.15",
3187
+                "laravel/prompts": "^0.1.18",
3125
                 "laravel/serializable-closure": "^1.3",
3188
                 "laravel/serializable-closure": "^1.3",
3126
                 "league/commonmark": "^2.2.1",
3189
                 "league/commonmark": "^2.2.1",
3127
                 "league/flysystem": "^3.8.0",
3190
                 "league/flysystem": "^3.8.0",
3294
                 "issues": "https://github.com/laravel/framework/issues",
3357
                 "issues": "https://github.com/laravel/framework/issues",
3295
                 "source": "https://github.com/laravel/framework"
3358
                 "source": "https://github.com/laravel/framework"
3296
             },
3359
             },
3297
-            "time": "2024-04-10T15:13:49+00:00"
3360
+            "time": "2024-04-16T14:38:51+00:00"
3298
         },
3361
         },
3299
         {
3362
         {
3300
             "name": "laravel/prompts",
3363
             "name": "laravel/prompts",
3301
-            "version": "v0.1.18",
3364
+            "version": "v0.1.19",
3302
             "source": {
3365
             "source": {
3303
                 "type": "git",
3366
                 "type": "git",
3304
                 "url": "https://github.com/laravel/prompts.git",
3367
                 "url": "https://github.com/laravel/prompts.git",
3305
-                "reference": "3b5e6b03f1f1175574b5a32331d99c9819da9848"
3368
+                "reference": "0ab75ac3434d9f610c5691758a6146a3d1940c18"
3306
             },
3369
             },
3307
             "dist": {
3370
             "dist": {
3308
                 "type": "zip",
3371
                 "type": "zip",
3309
-                "url": "https://api.github.com/repos/laravel/prompts/zipball/3b5e6b03f1f1175574b5a32331d99c9819da9848",
3310
-                "reference": "3b5e6b03f1f1175574b5a32331d99c9819da9848",
3372
+                "url": "https://api.github.com/repos/laravel/prompts/zipball/0ab75ac3434d9f610c5691758a6146a3d1940c18",
3373
+                "reference": "0ab75ac3434d9f610c5691758a6146a3d1940c18",
3311
                 "shasum": ""
3374
                 "shasum": ""
3312
             },
3375
             },
3313
             "require": {
3376
             "require": {
3349
             ],
3412
             ],
3350
             "support": {
3413
             "support": {
3351
                 "issues": "https://github.com/laravel/prompts/issues",
3414
                 "issues": "https://github.com/laravel/prompts/issues",
3352
-                "source": "https://github.com/laravel/prompts/tree/v0.1.18"
3415
+                "source": "https://github.com/laravel/prompts/tree/v0.1.19"
3353
             },
3416
             },
3354
-            "time": "2024-04-04T17:41:50+00:00"
3417
+            "time": "2024-04-16T14:20:35+00:00"
3355
         },
3418
         },
3356
         {
3419
         {
3357
             "name": "laravel/sanctum",
3420
             "name": "laravel/sanctum",
3358
-            "version": "v4.0.1",
3421
+            "version": "v4.0.2",
3359
             "source": {
3422
             "source": {
3360
                 "type": "git",
3423
                 "type": "git",
3361
                 "url": "https://github.com/laravel/sanctum.git",
3424
                 "url": "https://github.com/laravel/sanctum.git",
3362
-                "reference": "d1de99bf8d31199aaf93881561622489ab91ba58"
3425
+                "reference": "9cfc0ce80cabad5334efff73ec856339e8ec1ac1"
3363
             },
3426
             },
3364
             "dist": {
3427
             "dist": {
3365
                 "type": "zip",
3428
                 "type": "zip",
3366
-                "url": "https://api.github.com/repos/laravel/sanctum/zipball/d1de99bf8d31199aaf93881561622489ab91ba58",
3367
-                "reference": "d1de99bf8d31199aaf93881561622489ab91ba58",
3429
+                "url": "https://api.github.com/repos/laravel/sanctum/zipball/9cfc0ce80cabad5334efff73ec856339e8ec1ac1",
3430
+                "reference": "9cfc0ce80cabad5334efff73ec856339e8ec1ac1",
3368
                 "shasum": ""
3431
                 "shasum": ""
3369
             },
3432
             },
3370
             "require": {
3433
             "require": {
3415
                 "issues": "https://github.com/laravel/sanctum/issues",
3478
                 "issues": "https://github.com/laravel/sanctum/issues",
3416
                 "source": "https://github.com/laravel/sanctum"
3479
                 "source": "https://github.com/laravel/sanctum"
3417
             },
3480
             },
3418
-            "time": "2024-03-19T20:09:38+00:00"
3481
+            "time": "2024-04-10T19:39:58+00:00"
3419
         },
3482
         },
3420
         {
3483
         {
3421
             "name": "laravel/serializable-closure",
3484
             "name": "laravel/serializable-closure",
3479
         },
3542
         },
3480
         {
3543
         {
3481
             "name": "laravel/socialite",
3544
             "name": "laravel/socialite",
3482
-            "version": "v5.12.1",
3545
+            "version": "v5.13.0",
3483
             "source": {
3546
             "source": {
3484
                 "type": "git",
3547
                 "type": "git",
3485
                 "url": "https://github.com/laravel/socialite.git",
3548
                 "url": "https://github.com/laravel/socialite.git",
3486
-                "reference": "7dae1b072573809f32ab6dcf4aebb57c8b3e8acf"
3549
+                "reference": "a03e9b2f63d8125f61952fe4f5b75d70fd7c8286"
3487
             },
3550
             },
3488
             "dist": {
3551
             "dist": {
3489
                 "type": "zip",
3552
                 "type": "zip",
3490
-                "url": "https://api.github.com/repos/laravel/socialite/zipball/7dae1b072573809f32ab6dcf4aebb57c8b3e8acf",
3491
-                "reference": "7dae1b072573809f32ab6dcf4aebb57c8b3e8acf",
3553
+                "url": "https://api.github.com/repos/laravel/socialite/zipball/a03e9b2f63d8125f61952fe4f5b75d70fd7c8286",
3554
+                "reference": "a03e9b2f63d8125f61952fe4f5b75d70fd7c8286",
3492
                 "shasum": ""
3555
                 "shasum": ""
3493
             },
3556
             },
3494
             "require": {
3557
             "require": {
3495
                 "ext-json": "*",
3558
                 "ext-json": "*",
3559
+                "firebase/php-jwt": "^6.4",
3496
                 "guzzlehttp/guzzle": "^6.0|^7.0",
3560
                 "guzzlehttp/guzzle": "^6.0|^7.0",
3497
                 "illuminate/contracts": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0",
3561
                 "illuminate/contracts": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0",
3498
                 "illuminate/http": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0",
3562
                 "illuminate/http": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0",
3499
                 "illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0",
3563
                 "illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0",
3500
                 "league/oauth1-client": "^1.10.1",
3564
                 "league/oauth1-client": "^1.10.1",
3501
-                "php": "^7.2|^8.0"
3565
+                "php": "^7.2|^8.0",
3566
+                "phpseclib/phpseclib": "^3.0"
3502
             },
3567
             },
3503
             "require-dev": {
3568
             "require-dev": {
3504
                 "mockery/mockery": "^1.0",
3569
                 "mockery/mockery": "^1.0",
3545
                 "issues": "https://github.com/laravel/socialite/issues",
3610
                 "issues": "https://github.com/laravel/socialite/issues",
3546
                 "source": "https://github.com/laravel/socialite"
3611
                 "source": "https://github.com/laravel/socialite"
3547
             },
3612
             },
3548
-            "time": "2024-02-16T08:58:20+00:00"
3613
+            "time": "2024-04-15T18:09:46+00:00"
3549
         },
3614
         },
3550
         {
3615
         {
3551
             "name": "laravel/tinker",
3616
             "name": "laravel/tinker",
5271
             ],
5336
             ],
5272
             "time": "2024-01-09T09:30:37+00:00"
5337
             "time": "2024-01-09T09:30:37+00:00"
5273
         },
5338
         },
5339
+        {
5340
+            "name": "paragonie/constant_time_encoding",
5341
+            "version": "v2.6.3",
5342
+            "source": {
5343
+                "type": "git",
5344
+                "url": "https://github.com/paragonie/constant_time_encoding.git",
5345
+                "reference": "58c3f47f650c94ec05a151692652a868995d2938"
5346
+            },
5347
+            "dist": {
5348
+                "type": "zip",
5349
+                "url": "https://api.github.com/repos/paragonie/constant_time_encoding/zipball/58c3f47f650c94ec05a151692652a868995d2938",
5350
+                "reference": "58c3f47f650c94ec05a151692652a868995d2938",
5351
+                "shasum": ""
5352
+            },
5353
+            "require": {
5354
+                "php": "^7|^8"
5355
+            },
5356
+            "require-dev": {
5357
+                "phpunit/phpunit": "^6|^7|^8|^9",
5358
+                "vimeo/psalm": "^1|^2|^3|^4"
5359
+            },
5360
+            "type": "library",
5361
+            "autoload": {
5362
+                "psr-4": {
5363
+                    "ParagonIE\\ConstantTime\\": "src/"
5364
+                }
5365
+            },
5366
+            "notification-url": "https://packagist.org/downloads/",
5367
+            "license": [
5368
+                "MIT"
5369
+            ],
5370
+            "authors": [
5371
+                {
5372
+                    "name": "Paragon Initiative Enterprises",
5373
+                    "email": "security@paragonie.com",
5374
+                    "homepage": "https://paragonie.com",
5375
+                    "role": "Maintainer"
5376
+                },
5377
+                {
5378
+                    "name": "Steve 'Sc00bz' Thomas",
5379
+                    "email": "steve@tobtu.com",
5380
+                    "homepage": "https://www.tobtu.com",
5381
+                    "role": "Original Developer"
5382
+                }
5383
+            ],
5384
+            "description": "Constant-time Implementations of RFC 4648 Encoding (Base-64, Base-32, Base-16)",
5385
+            "keywords": [
5386
+                "base16",
5387
+                "base32",
5388
+                "base32_decode",
5389
+                "base32_encode",
5390
+                "base64",
5391
+                "base64_decode",
5392
+                "base64_encode",
5393
+                "bin2hex",
5394
+                "encoding",
5395
+                "hex",
5396
+                "hex2bin",
5397
+                "rfc4648"
5398
+            ],
5399
+            "support": {
5400
+                "email": "info@paragonie.com",
5401
+                "issues": "https://github.com/paragonie/constant_time_encoding/issues",
5402
+                "source": "https://github.com/paragonie/constant_time_encoding"
5403
+            },
5404
+            "time": "2022-06-14T06:56:20+00:00"
5405
+        },
5406
+        {
5407
+            "name": "paragonie/random_compat",
5408
+            "version": "v9.99.100",
5409
+            "source": {
5410
+                "type": "git",
5411
+                "url": "https://github.com/paragonie/random_compat.git",
5412
+                "reference": "996434e5492cb4c3edcb9168db6fbb1359ef965a"
5413
+            },
5414
+            "dist": {
5415
+                "type": "zip",
5416
+                "url": "https://api.github.com/repos/paragonie/random_compat/zipball/996434e5492cb4c3edcb9168db6fbb1359ef965a",
5417
+                "reference": "996434e5492cb4c3edcb9168db6fbb1359ef965a",
5418
+                "shasum": ""
5419
+            },
5420
+            "require": {
5421
+                "php": ">= 7"
5422
+            },
5423
+            "require-dev": {
5424
+                "phpunit/phpunit": "4.*|5.*",
5425
+                "vimeo/psalm": "^1"
5426
+            },
5427
+            "suggest": {
5428
+                "ext-libsodium": "Provides a modern crypto API that can be used to generate random bytes."
5429
+            },
5430
+            "type": "library",
5431
+            "notification-url": "https://packagist.org/downloads/",
5432
+            "license": [
5433
+                "MIT"
5434
+            ],
5435
+            "authors": [
5436
+                {
5437
+                    "name": "Paragon Initiative Enterprises",
5438
+                    "email": "security@paragonie.com",
5439
+                    "homepage": "https://paragonie.com"
5440
+                }
5441
+            ],
5442
+            "description": "PHP 5.x polyfill for random_bytes() and random_int() from PHP 7",
5443
+            "keywords": [
5444
+                "csprng",
5445
+                "polyfill",
5446
+                "pseudorandom",
5447
+                "random"
5448
+            ],
5449
+            "support": {
5450
+                "email": "info@paragonie.com",
5451
+                "issues": "https://github.com/paragonie/random_compat/issues",
5452
+                "source": "https://github.com/paragonie/random_compat"
5453
+            },
5454
+            "time": "2020-10-15T08:29:30+00:00"
5455
+        },
5274
         {
5456
         {
5275
             "name": "phenx/php-font-lib",
5457
             "name": "phenx/php-font-lib",
5276
             "version": "0.5.6",
5458
             "version": "0.5.6",
5436
             ],
5618
             ],
5437
             "time": "2023-11-12T21:59:55+00:00"
5619
             "time": "2023-11-12T21:59:55+00:00"
5438
         },
5620
         },
5621
+        {
5622
+            "name": "phpseclib/phpseclib",
5623
+            "version": "3.0.37",
5624
+            "source": {
5625
+                "type": "git",
5626
+                "url": "https://github.com/phpseclib/phpseclib.git",
5627
+                "reference": "cfa2013d0f68c062055180dd4328cc8b9d1f30b8"
5628
+            },
5629
+            "dist": {
5630
+                "type": "zip",
5631
+                "url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/cfa2013d0f68c062055180dd4328cc8b9d1f30b8",
5632
+                "reference": "cfa2013d0f68c062055180dd4328cc8b9d1f30b8",
5633
+                "shasum": ""
5634
+            },
5635
+            "require": {
5636
+                "paragonie/constant_time_encoding": "^1|^2",
5637
+                "paragonie/random_compat": "^1.4|^2.0|^9.99.99",
5638
+                "php": ">=5.6.1"
5639
+            },
5640
+            "require-dev": {
5641
+                "phpunit/phpunit": "*"
5642
+            },
5643
+            "suggest": {
5644
+                "ext-dom": "Install the DOM extension to load XML formatted public keys.",
5645
+                "ext-gmp": "Install the GMP (GNU Multiple Precision) extension in order to speed up arbitrary precision integer arithmetic operations.",
5646
+                "ext-libsodium": "SSH2/SFTP can make use of some algorithms provided by the libsodium-php extension.",
5647
+                "ext-mcrypt": "Install the Mcrypt extension in order to speed up a few other cryptographic operations.",
5648
+                "ext-openssl": "Install the OpenSSL extension in order to speed up a wide variety of cryptographic operations."
5649
+            },
5650
+            "type": "library",
5651
+            "autoload": {
5652
+                "files": [
5653
+                    "phpseclib/bootstrap.php"
5654
+                ],
5655
+                "psr-4": {
5656
+                    "phpseclib3\\": "phpseclib/"
5657
+                }
5658
+            },
5659
+            "notification-url": "https://packagist.org/downloads/",
5660
+            "license": [
5661
+                "MIT"
5662
+            ],
5663
+            "authors": [
5664
+                {
5665
+                    "name": "Jim Wigginton",
5666
+                    "email": "terrafrost@php.net",
5667
+                    "role": "Lead Developer"
5668
+                },
5669
+                {
5670
+                    "name": "Patrick Monnerat",
5671
+                    "email": "pm@datasphere.ch",
5672
+                    "role": "Developer"
5673
+                },
5674
+                {
5675
+                    "name": "Andreas Fischer",
5676
+                    "email": "bantu@phpbb.com",
5677
+                    "role": "Developer"
5678
+                },
5679
+                {
5680
+                    "name": "Hans-Jürgen Petrich",
5681
+                    "email": "petrich@tronic-media.com",
5682
+                    "role": "Developer"
5683
+                },
5684
+                {
5685
+                    "name": "Graham Campbell",
5686
+                    "email": "graham@alt-three.com",
5687
+                    "role": "Developer"
5688
+                }
5689
+            ],
5690
+            "description": "PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.",
5691
+            "homepage": "http://phpseclib.sourceforge.net",
5692
+            "keywords": [
5693
+                "BigInteger",
5694
+                "aes",
5695
+                "asn.1",
5696
+                "asn1",
5697
+                "blowfish",
5698
+                "crypto",
5699
+                "cryptography",
5700
+                "encryption",
5701
+                "rsa",
5702
+                "security",
5703
+                "sftp",
5704
+                "signature",
5705
+                "signing",
5706
+                "ssh",
5707
+                "twofish",
5708
+                "x.509",
5709
+                "x509"
5710
+            ],
5711
+            "support": {
5712
+                "issues": "https://github.com/phpseclib/phpseclib/issues",
5713
+                "source": "https://github.com/phpseclib/phpseclib/tree/3.0.37"
5714
+            },
5715
+            "funding": [
5716
+                {
5717
+                    "url": "https://github.com/terrafrost",
5718
+                    "type": "github"
5719
+                },
5720
+                {
5721
+                    "url": "https://www.patreon.com/phpseclib",
5722
+                    "type": "patreon"
5723
+                },
5724
+                {
5725
+                    "url": "https://tidelift.com/funding/github/packagist/phpseclib/phpseclib",
5726
+                    "type": "tidelift"
5727
+                }
5728
+            ],
5729
+            "time": "2024-03-03T02:14:58+00:00"
5730
+        },
5439
         {
5731
         {
5440
             "name": "psr/cache",
5732
             "name": "psr/cache",
5441
             "version": "3.0.0",
5733
             "version": "3.0.0",
11492
         },
11784
         },
11493
         {
11785
         {
11494
             "name": "spatie/ignition",
11786
             "name": "spatie/ignition",
11495
-            "version": "1.13.1",
11787
+            "version": "1.13.2",
11496
             "source": {
11788
             "source": {
11497
                 "type": "git",
11789
                 "type": "git",
11498
                 "url": "https://github.com/spatie/ignition.git",
11790
                 "url": "https://github.com/spatie/ignition.git",
11499
-                "reference": "889bf1dfa59e161590f677728b47bf4a6893983b"
11791
+                "reference": "952798e239d9969e4e694b124c2cc222798dbb28"
11500
             },
11792
             },
11501
             "dist": {
11793
             "dist": {
11502
                 "type": "zip",
11794
                 "type": "zip",
11503
-                "url": "https://api.github.com/repos/spatie/ignition/zipball/889bf1dfa59e161590f677728b47bf4a6893983b",
11504
-                "reference": "889bf1dfa59e161590f677728b47bf4a6893983b",
11795
+                "url": "https://api.github.com/repos/spatie/ignition/zipball/952798e239d9969e4e694b124c2cc222798dbb28",
11796
+                "reference": "952798e239d9969e4e694b124c2cc222798dbb28",
11505
                 "shasum": ""
11797
                 "shasum": ""
11506
             },
11798
             },
11507
             "require": {
11799
             "require": {
11571
                     "type": "github"
11863
                     "type": "github"
11572
                 }
11864
                 }
11573
             ],
11865
             ],
11574
-            "time": "2024-03-29T14:03:47+00:00"
11866
+            "time": "2024-04-16T08:49:17+00:00"
11575
         },
11867
         },
11576
         {
11868
         {
11577
             "name": "spatie/laravel-ignition",
11869
             "name": "spatie/laravel-ignition",
11578
-            "version": "2.5.1",
11870
+            "version": "2.5.2",
11579
             "source": {
11871
             "source": {
11580
                 "type": "git",
11872
                 "type": "git",
11581
                 "url": "https://github.com/spatie/laravel-ignition.git",
11873
                 "url": "https://github.com/spatie/laravel-ignition.git",
11582
-                "reference": "0c864b3cbd66ce67a2096c5f743e07ce8f1d6ab9"
11874
+                "reference": "c93fcadcc4629775c839ac9a90916f07a660266f"
11583
             },
11875
             },
11584
             "dist": {
11876
             "dist": {
11585
                 "type": "zip",
11877
                 "type": "zip",
11586
-                "url": "https://api.github.com/repos/spatie/laravel-ignition/zipball/0c864b3cbd66ce67a2096c5f743e07ce8f1d6ab9",
11587
-                "reference": "0c864b3cbd66ce67a2096c5f743e07ce8f1d6ab9",
11878
+                "url": "https://api.github.com/repos/spatie/laravel-ignition/zipball/c93fcadcc4629775c839ac9a90916f07a660266f",
11879
+                "reference": "c93fcadcc4629775c839ac9a90916f07a660266f",
11588
                 "shasum": ""
11880
                 "shasum": ""
11589
             },
11881
             },
11590
             "require": {
11882
             "require": {
11594
                 "illuminate/support": "^10.0|^11.0",
11886
                 "illuminate/support": "^10.0|^11.0",
11595
                 "php": "^8.1",
11887
                 "php": "^8.1",
11596
                 "spatie/flare-client-php": "^1.3.5",
11888
                 "spatie/flare-client-php": "^1.3.5",
11597
-                "spatie/ignition": "^1.13",
11889
+                "spatie/ignition": "^1.13.2",
11598
                 "symfony/console": "^6.2.3|^7.0",
11890
                 "symfony/console": "^6.2.3|^7.0",
11599
                 "symfony/var-dumper": "^6.2.3|^7.0"
11891
                 "symfony/var-dumper": "^6.2.3|^7.0"
11600
             },
11892
             },
11663
                     "type": "github"
11955
                     "type": "github"
11664
                 }
11956
                 }
11665
             ],
11957
             ],
11666
-            "time": "2024-04-02T06:30:22+00:00"
11958
+            "time": "2024-04-16T08:57:16+00:00"
11667
         },
11959
         },
11668
         {
11960
         {
11669
             "name": "symfony/yaml",
11961
             "name": "symfony/yaml",

+ 6
- 6
package-lock.json 查看文件

1079
             "dev": true
1079
             "dev": true
1080
         },
1080
         },
1081
         "node_modules/electron-to-chromium": {
1081
         "node_modules/electron-to-chromium": {
1082
-            "version": "1.4.736",
1083
-            "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.736.tgz",
1084
-            "integrity": "sha512-Rer6wc3ynLelKNM4lOCg7/zPQj8tPOCB2hzD32PX9wd3hgRRi9MxEbmkFCokzcEhRVMiOVLjnL9ig9cefJ+6+Q==",
1082
+            "version": "1.4.738",
1083
+            "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.738.tgz",
1084
+            "integrity": "sha512-lwKft2CLFztD+vEIpesrOtCrko/TFnEJlHFdRhazU7Y/jx5qc4cqsocfVrBg4So4gGe9lvxnbLIoev47WMpg+A==",
1085
             "dev": true
1085
             "dev": true
1086
         },
1086
         },
1087
         "node_modules/emoji-regex": {
1087
         "node_modules/emoji-regex": {
2365
             "dev": true
2365
             "dev": true
2366
         },
2366
         },
2367
         "node_modules/vite": {
2367
         "node_modules/vite": {
2368
-            "version": "5.2.8",
2369
-            "resolved": "https://registry.npmjs.org/vite/-/vite-5.2.8.tgz",
2370
-            "integrity": "sha512-OyZR+c1CE8yeHw5V5t59aXsUPPVTHMDjEZz8MgguLL/Q7NblxhZUlTu9xSPqlsUO/y+X7dlU05jdhvyycD55DA==",
2368
+            "version": "5.2.9",
2369
+            "resolved": "https://registry.npmjs.org/vite/-/vite-5.2.9.tgz",
2370
+            "integrity": "sha512-uOQWfuZBlc6Y3W/DTuQ1Sr+oIXWvqljLvS881SVmAj00d5RdgShLcuXWxseWPd4HXwiYBFW/vXHfKFeqj9uQnw==",
2371
             "dev": true,
2371
             "dev": true,
2372
             "dependencies": {
2372
             "dependencies": {
2373
                 "esbuild": "^0.20.1",
2373
                 "esbuild": "^0.20.1",

+ 0
- 8
resources/views/components/actions/refresh-transactions-modal.blade.php 查看文件

1
-<span>Are you sure you want to refresh transactions for the following connected accounts at {{ $institution->name }}?</span>
2
-<ul class="list-disc list-inside p-4">
3
-    @foreach($institution->getEnabledConnectedBankAccounts() as $connectedBankAccount)
4
-        <li>{{ $connectedBankAccount->name }}</li>
5
-    @endforeach
6
-</ul>
7
-<span>Refreshing transactions will update all listed accounts with the latest transactions from the bank. This may take a few moments.</span>
8
-

Loading…
取消
儲存