diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 13e9e05..e4d971e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -39,6 +39,14 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Install DigitalOcean CLI + uses: digitalocean/action-doctl@v2 + with: + token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }} + + - name: Login to DOCR + run: doctl registry login --expiry-seconds 600 + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 id: buildx diff --git a/CHANGELOG.md b/CHANGELOG.md index 990d350..8efcc34 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,15 +1,20 @@ # Changelog -## [1.3.0](https://github.com/cheqd/connector-telegram/compare/1.2.1...1.3.0) (2024-05-23) - +## [1.3.0-develop.4](https://github.com/cheqd/connector-telegram/compare/1.3.0-develop.3...1.3.0-develop.4) (2024-07-11) ### Features * Bump LogTo version to 1.16 ([#191](https://github.com/cheqd/connector-telegram/issues/191)) ([0ae6ed5](https://github.com/cheqd/connector-telegram/commit/0ae6ed5cc049b612a61246bb4f526d764e04b840)) * Bump LogTo version to v1.15.0, SDK to v3 [DEV-3850] ([#179](https://github.com/cheqd/connector-telegram/issues/179)) ([fe90a5e](https://github.com/cheqd/connector-telegram/commit/fe90a5e91494684810bd301bfdd7b70eff7ddb28)) +* Bump Logto version to 1.18 [DEV-4075] ([#199](https://github.com/cheqd/connector-telegram/issues/199)) ([2d6e644](https://github.com/cheqd/connector-telegram/commit/2d6e6447a3b7c91f8c7d4bf3a0d2ca18f98c1b5e)) -## [1.3.0-develop.2](https://github.com/cheqd/connector-telegram/compare/1.3.0-develop.1...1.3.0-develop.2) (2024-05-22) +## [1.3.0-develop.3](https://github.com/cheqd/connector-telegram/compare/1.3.0-develop.2...1.3.0-develop.3) (2024-07-05) + +### Features +* Bump LogTo version to 1.17.0 [DEV-4075] ([#198](https://github.com/cheqd/connector-telegram/issues/198)) ([9e37ac8](https://github.com/cheqd/connector-telegram/commit/9e37ac8de28e35d2d8c40ecde7a59178bdfb7821)) + +## [1.3.0-develop.2](https://github.com/cheqd/connector-telegram/compare/1.3.0-develop.1...1.3.0-develop.2) (2024-05-22) ### Features @@ -17,6 +22,9 @@ ## [1.3.0-develop.1](https://github.com/cheqd/connector-telegram/compare/1.2.1...1.3.0-develop.1) (2024-04-18) +## Features + +## [1.3.0](https://github.com/cheqd/connector-telegram/compare/1.2.1...1.3.0) (2024-05-23) ### Features diff --git a/docker/Dockerfile b/docker/Dockerfile index cabaa60..be24dbc 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -21,7 +21,7 @@ RUN npm run build ### STAGE 2: Build LogTo image with custom connector ### ############################################################### -FROM svhd/logto:1.16.0 as runner +FROM registry.digitalocean.com/cheqd/logto:cheqd-v1.18.0 as runner # Set Node.js environment ENV NODE_ENV=production diff --git a/package-lock.json b/package-lock.json index d1a6167..a7e561a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,15 +1,15 @@ { "name": "@cheqd/connector-telegram", - "version": "1.3.0-develop.2", + "version": "1.3.0-develop.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@cheqd/connector-telegram", - "version": "1.3.0-develop.2", + "version": "1.3.0-develop.4", "license": "Apache-2.0", "dependencies": { - "@logto/connector-kit": "3.0.0", + "@logto/connector-kit": "4.0.0", "@silverhand/essentials": "2.8.4", "got": "^14.2.1", "snakecase-keys": "^5.5.0", @@ -1272,14 +1272,14 @@ } }, "node_modules/@logto/connector-kit": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@logto/connector-kit/-/connector-kit-3.0.0.tgz", - "integrity": "sha512-XQyI99BfeM1GRyUCtXg7WR1nEuvijOUpBF0doCFXAraWi1jo/qsdl1touCMDVZmTg3LyK+DUxEUNGwVt7JYksA==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@logto/connector-kit/-/connector-kit-4.0.0.tgz", + "integrity": "sha512-Lm4hW2XNoHmv9o23sp9lZldFe7ndj8E20tp24AZGNA1SUis3WLWFLWNjIaWFfl0qHaVO8QV1YMucWxV0nzw7iw==", "dependencies": { "@logto/language-kit": "^1.1.0", - "@silverhand/essentials": "^2.9.0", - "@withtyped/client": "^0.8.4", - "@withtyped/server": "^0.13.3" + "@silverhand/essentials": "^2.9.1", + "@withtyped/client": "^0.8.7", + "@withtyped/server": "^0.13.6" }, "engines": { "node": "^20.9.0" @@ -1289,12 +1289,12 @@ } }, "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==", + "version": "2.9.1", + "resolved": "https://registry.npmjs.org/@silverhand/essentials/-/essentials-2.9.1.tgz", + "integrity": "sha512-rsql/ZxXMqVvt7ySDHd7xjCog4oCYg+dexxlj3veolajwjKiy/08ZtFyEtFjSEAaKbXwkWZ4TDtiNSxb7HS0yA==", "engines": { "node": "^18.12.0 || ^20.9.0", - "pnpm": "^8.0.0" + "pnpm": "^9.0.0" } }, "node_modules/@logto/language-kit": { @@ -2662,21 +2662,22 @@ "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==", + "version": "0.8.7", + "resolved": "https://registry.npmjs.org/@withtyped/client/-/client-0.8.7.tgz", + "integrity": "sha512-qK+Tsczvko8mBRACtHGYj0CdMZFaBmosMGUahTAr544Jb183INPZPn/NpUFtTEpl5g3e4lUjMc5jPH0V78D0+g==", "dependencies": { - "@withtyped/server": "0.13.3", + "@withtyped/server": "0.13.6", "@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==", + "version": "0.13.6", + "resolved": "https://registry.npmjs.org/@withtyped/server/-/server-0.13.6.tgz", + "integrity": "sha512-l+jaZ6Gy/S3oF9q91JuHtWlRqB+bK8ycniAK2atK05/ZfhS/qBPV/JPA18fM+JzSQA+tr3CYXnul5SshmYsRoA==", "dependencies": { "@silverhand/essentials": "^2.8.1", - "@withtyped/shared": "0.2.2" + "@withtyped/shared": "0.2.2", + "nanoid": "^4.0.0" }, "peerDependencies": { "zod": "^3.19.1" @@ -8390,6 +8391,23 @@ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", "dev": true }, + "node_modules/nanoid": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-4.0.2.tgz", + "integrity": "sha512-7ZtY5KTCNheRGfEFxnedV5zFiORN1+Y1N6zvPTnHQd8ENUvfaDBeuJDZb2bN/oXwXxu3qkTXDzy57W5vAmDTBw==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "bin": { + "nanoid": "bin/nanoid.js" + }, + "engines": { + "node": "^14 || ^16 || >=18" + } + }, "node_modules/natural-compare": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", diff --git a/package.json b/package.json index e7bc512..761daee 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@cheqd/connector-telegram", - "version": "1.3.0", + "version": "1.3.0-develop.4", "description": "Telegram OAuth connector for LogTo", "author": "Cheqd Foundation Limited (https://github.com/cheqd)", "license": "Apache-2.0", @@ -38,7 +38,7 @@ "test:coverage": "npm run test --coverage --silent" }, "dependencies": { - "@logto/connector-kit": "3.0.0", + "@logto/connector-kit": "4.0.0", "@silverhand/essentials": "2.8.4", "got": "^14.2.1", "snakecase-keys": "^5.5.0",