Skip to content

Commit

Permalink
Use Connect transport
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobwgillespie committed Sep 5, 2024
1 parent c7c2b49 commit 1909694
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import {createPromiseClient} from '@connectrpc/connect'
import {createGrpcTransport} from '@connectrpc/connect-node'
import {createConnectTransport} from '@connectrpc/connect-node'
import * as buildV1Build from './gen/depot/build/v1/build_connect'
import * as buildkitV1BuildKit from './gen/depot/buildkit/v1/buildkit_connect'
import * as coreV1Project from './gen/depot/core/v1/project_connect'

const transport = createGrpcTransport({
const transport = createConnectTransport({
baseUrl: process.env.DEPOT_API_URL ?? 'https://api.depot.dev',
httpVersion: '2',
})
Expand Down

0 comments on commit 1909694

Please sign in to comment.