feat: update composer

This commit is contained in:
Christy Jacob 2025-02-12 11:02:29 +05:30
parent 00473d4744
commit df27e8950b
4 changed files with 10 additions and 19 deletions

View file

@ -1,7 +0,0 @@
docs/*
public/*
vendor/*
dev/*
.vscode/*
app/assets/*
app/sdks/*

View file

@ -47,7 +47,7 @@
"appwrite/php-clamav": "2.0.*", "appwrite/php-clamav": "2.0.*",
"utopia-php/abuse": "0.49.*", "utopia-php/abuse": "0.49.*",
"utopia-php/analytics": "0.10.*", "utopia-php/analytics": "0.10.*",
"utopia-php/audit": "dev-add-batch-logging-method", "utopia-php/audit": "0.50.*",
"utopia-php/cache": "0.11.*", "utopia-php/cache": "0.11.*",
"utopia-php/cli": "0.15.*", "utopia-php/cli": "0.15.*",
"utopia-php/config": "0.2.*", "utopia-php/config": "0.2.*",

18
composer.lock generated
View file

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "9b7ba7990ac224daffbe50b377bacb0a", "content-hash": "884381b7cc6c225f83c397eb472ddf11",
"packages": [ "packages": [
{ {
"name": "adhocore/jwt", "name": "adhocore/jwt",
@ -3474,16 +3474,16 @@
}, },
{ {
"name": "utopia-php/audit", "name": "utopia-php/audit",
"version": "dev-add-batch-logging-method", "version": "0.50.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/utopia-php/audit.git", "url": "https://github.com/utopia-php/audit.git",
"reference": "41d87370f1559656c8695d8376d6ac8406c5bd8e" "reference": "c0da7dcdd35fc7d3f9640ba21cc82607cf7da729"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/utopia-php/audit/zipball/41d87370f1559656c8695d8376d6ac8406c5bd8e", "url": "https://api.github.com/repos/utopia-php/audit/zipball/c0da7dcdd35fc7d3f9640ba21cc82607cf7da729",
"reference": "41d87370f1559656c8695d8376d6ac8406c5bd8e", "reference": "c0da7dcdd35fc7d3f9640ba21cc82607cf7da729",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -3515,9 +3515,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/utopia-php/audit/issues", "issues": "https://github.com/utopia-php/audit/issues",
"source": "https://github.com/utopia-php/audit/tree/add-batch-logging-method" "source": "https://github.com/utopia-php/audit/tree/0.50.0"
}, },
"time": "2025-02-12T05:16:50+00:00" "time": "2025-02-12T05:30:25+00:00"
}, },
{ {
"name": "utopia-php/cache", "name": "utopia-php/cache",
@ -8747,9 +8747,7 @@
], ],
"aliases": [], "aliases": [],
"minimum-stability": "stable", "minimum-stability": "stable",
"stability-flags": { "stability-flags": {},
"utopia-php/audit": 20
},
"prefer-stable": false, "prefer-stable": false,
"prefer-lowest": false, "prefer-lowest": false,
"platform": { "platform": {

View file

@ -110,7 +110,7 @@ class Audits extends Action
]; ];
}, self::$pendingEvents); }, self::$pendingEvents);
$audit->logByBatch($batchEvents); $audit->logBatch($batchEvents);
// Clear the pending events after successful batch processing // Clear the pending events after successful batch processing
self::$pendingEvents = []; self::$pendingEvents = [];