Update deps and Zammad version (6.4.1)

This commit is contained in:
Darren Clarke 2025-01-15 14:15:02 +01:00
parent 07ee819520
commit 9e5ea2fc41
40 changed files with 973 additions and 849 deletions

View file

@ -164,7 +164,7 @@ const getIndexPattern: any = async (index: string) => {
sort: ["updated_at:desc"],
});
if (res.body.hits.total.value === 0) {
if (res?.body?.hits?.total?.valueOf() === 0) {
// eslint-disable-next-line no-use-before-define
return createCurrentUserIndexPattern(index);
}

View file

@ -1,18 +1,18 @@
{
"name": "@link-stack/opensearch-common",
"version": "2.3.4",
"version": "2.4.0b1",
"scripts": {
"build": "tsc -p tsconfig.json"
},
"dependencies": {
"@opensearch-project/opensearch": "^2.13.0",
"uuid": "^11.0.3"
"@opensearch-project/opensearch": "^3.1.0",
"uuid": "^11.0.5"
},
"devDependencies": {
"@types/node": "^22.10.2",
"@types/node": "^22.10.6",
"@types/uuid": "^10.0.0",
"@link-stack/typescript-config": "*",
"@link-stack/eslint-config": "*",
"typescript": "5.7.2"
"typescript": "5.7.3"
}
}