Skip to content

Commit

Permalink
Merge pull request #101 from depot/update-connect-version
Browse files Browse the repository at this point in the history
Update to latest Connect client
  • Loading branch information
jacobwgillespie authored Aug 20, 2024
2 parents 91a51bb + 7d3a369 commit 4f53dbb
Show file tree
Hide file tree
Showing 5 changed files with 151 additions and 70 deletions.
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@
"dependencies": {
"@aws-sdk/client-ec2": "3.385.0",
"@aws-sdk/client-ecs": "^3.385.0",
"@bufbuild/connect": "^0.12.0",
"@bufbuild/connect-node": "^0.12.0",
"@bufbuild/protobuf": "^1.3.0",
"@bufbuild/buf": "^1.37.0",
"@bufbuild/protobuf": "^1.10.0",
"@connectrpc/connect": "^1.0.0",
"@connectrpc/connect-node": "^1.4.0",
"abort-controller-x": "^0.4.3",
"date-fns": "^2.30.0",
"dotenv": "^16.3.1",
Expand All @@ -28,8 +29,8 @@
"undici": "^6.14.1"
},
"devDependencies": {
"@bufbuild/protoc-gen-connect-es": "^0.12.0",
"@bufbuild/protoc-gen-es": "^1.3.0",
"@bufbuild/protoc-gen-es": "^1.10.0",
"@connectrpc/protoc-gen-connect-es": "^1.0.0",
"@types/node": "~20.4.8",
"esbuild": "^0.18.19",
"esbuild-node-externals": "^1.8.0",
Expand Down
202 changes: 141 additions & 61 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/proto/depot/cloud/v2/cloud_connect.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by protoc-gen-connect-es v0.12.0 with parameter "target=ts,import_extension=none"
// @generated by protoc-gen-connect-es v1.4.0 with parameter "target=ts,import_extension=none"
// @generated from file depot/cloud/v2/cloud.proto (package depot.cloud.v2, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down
2 changes: 1 addition & 1 deletion src/proto/depot/cloud/v2/cloud_pb.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @generated by protoc-gen-es v1.3.0 with parameter "target=ts,import_extension=none"
// @generated by protoc-gen-es v1.10.0 with parameter "target=ts,import_extension=none"
// @generated from file depot/cloud/v2/cloud.proto (package depot.cloud.v2, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Expand Down
4 changes: 2 additions & 2 deletions src/utils/grpc.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {createPromiseClient, Interceptor} from '@bufbuild/connect'
import {createConnectTransport, Http2SessionManager} from '@bufbuild/connect-node'
import {createPromiseClient, Interceptor} from '@connectrpc/connect'
import {createConnectTransport, Http2SessionManager} from '@connectrpc/connect-node'
import {CloudService} from '../proto/depot/cloud/v2/cloud_connect'
import {CLOUD_AGENT_API_URL, CLOUD_AGENT_CONNECTION_TOKEN, CLOUD_AGENT_VERSION} from './env'

Expand Down

0 comments on commit 4f53dbb

Please sign in to comment.