From e59d285d105aa3d68080f986decaec25e52807aa Mon Sep 17 00:00:00 2001 From: Filip Djokic Date: Thu, 18 Apr 2024 13:19:51 +0200 Subject: [PATCH] chore: Bump logto version to v1.15.0 --- docker/Dockerfile | 4 +-- package-lock.json | 67 ++++++++++++++++++++++++++++++++++++----------- package.json | 2 +- 3 files changed, 55 insertions(+), 18 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index f67cdda..484d00a 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -2,7 +2,7 @@ ### STAGE 1: Build custom connector for Telegram ### ############################################################### -FROM node:18-alpine as builder +FROM node:20-alpine as builder # Set working directory & bash defaults WORKDIR /home/node/app @@ -21,7 +21,7 @@ RUN npm run build ### STAGE 2: Build LogTo image with custom connector ### ############################################################### -FROM svhd/logto:1.10.0 as runner +FROM svhd/logto:1.15.0 as runner # Set Node.js environment ENV NODE_ENV=production diff --git a/package-lock.json b/package-lock.json index e206ca5..168f404 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,15 +1,15 @@ { "name": "@cheqd/connector-telegram", - "version": "1.2.0", + "version": "1.2.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@cheqd/connector-telegram", - "version": "1.2.0", + "version": "1.2.1", "license": "Apache-2.0", "dependencies": { - "@logto/connector-kit": "1.1.1", + "@logto/connector-kit": "3.0.0", "@silverhand/essentials": "2.8.4", "got": "^13.0.0", "snakecase-keys": "^5.5.0", @@ -1342,29 +1342,40 @@ } }, "node_modules/@logto/connector-kit": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@logto/connector-kit/-/connector-kit-1.1.1.tgz", - "integrity": "sha512-VG6prmUQRQKwv+Mxj6BeMBA54EElhvkDZdPi/SieRZKubF6OaBjFK3pX9FdmQBzFd6KywbsPmytmhoaxTOHTLw==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@logto/connector-kit/-/connector-kit-3.0.0.tgz", + "integrity": "sha512-XQyI99BfeM1GRyUCtXg7WR1nEuvijOUpBF0doCFXAraWi1jo/qsdl1touCMDVZmTg3LyK+DUxEUNGwVt7JYksA==", "dependencies": { - "@logto/language-kit": "^1.0.0", - "@silverhand/essentials": "^2.5.0" + "@logto/language-kit": "^1.1.0", + "@silverhand/essentials": "^2.9.0", + "@withtyped/client": "^0.8.4", + "@withtyped/server": "^0.13.3" }, "engines": { - "node": "^18.12.0" + "node": "^20.9.0" }, "optionalDependencies": { - "zod": "^3.20.2" + "zod": "^3.22.4" + } + }, + "node_modules/@logto/connector-kit/node_modules/@silverhand/essentials": { + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/@silverhand/essentials/-/essentials-2.9.0.tgz", + "integrity": "sha512-n9mSO/gsLj0GRFXBRNhaQLRK6qbn6pBnKjMQdFwweKgT12ODBXpgkpXohpOBqSofnoaCQWqiDAT6xpCy/5dMIg==", + "engines": { + "node": "^18.12.0 || ^20.9.0", + "pnpm": "^8.0.0" } }, "node_modules/@logto/language-kit": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@logto/language-kit/-/language-kit-1.0.0.tgz", - "integrity": "sha512-lsnxOecS7eE7z/ZAf8sSQ3+VFWdw78sqDc/oESso6ZqzKSUGfkBdEMxcUhqh6JpFb62bNFND4Lgyvj+g6y94qw==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@logto/language-kit/-/language-kit-1.1.0.tgz", + "integrity": "sha512-0+JlOb+1SWEuspZ1vDxuxisln+mjnCUzHZexCwSlRsQH1KkizqoG4tmE/3GKKrwzhBp+19vSvFd9LhYiKe/QJA==", "engines": { - "node": "^18.12.0" + "node": "^20.9.0" }, "optionalDependencies": { - "zod": "^3.20.2" + "zod": "^3.22.4" } }, "node_modules/@nodelib/fs.scandir": { @@ -2668,6 +2679,32 @@ "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==", "dev": true }, + "node_modules/@withtyped/client": { + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/@withtyped/client/-/client-0.8.4.tgz", + "integrity": "sha512-oX19xZRjUASZLWUzQW4LKhLsDgtwFfWU7mgReKiY/tddwvHLoakLqz1o1MvRDuz+EOoYrQM+VpkwJeMsnbNT1w==", + "dependencies": { + "@withtyped/server": "0.13.3", + "@withtyped/shared": "0.2.2" + } + }, + "node_modules/@withtyped/server": { + "version": "0.13.3", + "resolved": "https://registry.npmjs.org/@withtyped/server/-/server-0.13.3.tgz", + "integrity": "sha512-MPyjRPQd5JySDnMnXPxGXXnw7AACAl8TLhWPjm4sdBgVMssSrmBbjRxBep0jY64PJ3xzICZh0ArWTRdXyNFIog==", + "dependencies": { + "@silverhand/essentials": "^2.8.1", + "@withtyped/shared": "0.2.2" + }, + "peerDependencies": { + "zod": "^3.19.1" + } + }, + "node_modules/@withtyped/shared": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/@withtyped/shared/-/shared-0.2.2.tgz", + "integrity": "sha512-Vpcj12NqaoZ8M5Z/1kffheI9FBZEm9goed0THmgTcMKXLHjXSRbMZMp0olVxovEgaTIAydshqJOQUXKZMctIZw==" + }, "node_modules/acorn": { "version": "8.11.2", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.2.tgz", diff --git a/package.json b/package.json index ca9e798..9335061 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "test:coverage": "npm run test --coverage --silent" }, "dependencies": { - "@logto/connector-kit": "1.1.1", + "@logto/connector-kit": "3.0.0", "@silverhand/essentials": "2.8.4", "got": "^13.0.0", "snakecase-keys": "^5.5.0",