diff --git a/package-lock.json b/package-lock.json index e206ca5..df655c7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "1.2.0", "license": "Apache-2.0", "dependencies": { - "@logto/connector-kit": "1.1.1", + "@logto/connector-kit": "2.0.0", "@silverhand/essentials": "2.8.4", "got": "^13.0.0", "snakecase-keys": "^5.5.0", @@ -1342,18 +1342,20 @@ } }, "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": "2.0.0", + "resolved": "https://registry.npmjs.org/@logto/connector-kit/-/connector-kit-2.0.0.tgz", + "integrity": "sha512-GyZZbke57RtuWGGbfdtSsYcyD/eGg5h5oGwh9E1Mb4yXFbp16bPWWSg37Tgg8TgAVF6QQxJduwc/5tnmlRL9GA==", "dependencies": { "@logto/language-kit": "^1.0.0", - "@silverhand/essentials": "^2.5.0" + "@silverhand/essentials": "^2.8.4", + "@withtyped/client": "^0.7.22", + "@withtyped/server": "^0.12.9" }, "engines": { "node": "^18.12.0" }, "optionalDependencies": { - "zod": "^3.20.2" + "zod": "^3.22.3" } }, "node_modules/@logto/language-kit": { @@ -2668,6 +2670,32 @@ "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==", "dev": true }, + "node_modules/@withtyped/client": { + "version": "0.7.22", + "resolved": "https://registry.npmjs.org/@withtyped/client/-/client-0.7.22.tgz", + "integrity": "sha512-emNtcO0jc0dFWhvL7eUIRYzhTfn+JqgIvCmXb8ZUFOR8wdSSGrr9VDlm+wgQD06DEBBpmqtTHMMHTNXJdUC/Qw==", + "dependencies": { + "@withtyped/server": "0.12.9", + "@withtyped/shared": "0.2.2" + } + }, + "node_modules/@withtyped/server": { + "version": "0.12.9", + "resolved": "https://registry.npmjs.org/@withtyped/server/-/server-0.12.9.tgz", + "integrity": "sha512-K5zoV9D+WpawbghtlJKF1KOshKkBjq+gYzNRWuZk13YmFWFLcmZn+QCblNP55z9IGdcHWpTRknqb1APuicdzgA==", + "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 1d2b612..a9355e6 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": "2.0.0", "@silverhand/essentials": "2.8.4", "got": "^13.0.0", "snakecase-keys": "^5.5.0",