@lace-cloud/host 0.31.1 → 0.31.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +6 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +6 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -11067,10 +11067,15 @@ var import_proto4 = require("@lace-cloud/proto");
|
|
|
11067
11067
|
// src/transport.ts
|
|
11068
11068
|
var grpc = __toESM(require("@grpc/grpc-js"));
|
|
11069
11069
|
var import_proto3 = require("@lace-cloud/proto");
|
|
11070
|
+
var ENGINE_CHANNEL_OPTIONS = { "grpc.enable_http_proxy": 0 };
|
|
11070
11071
|
var LaceTransport = class {
|
|
11071
11072
|
constructor(port, token) {
|
|
11072
11073
|
this.token = token;
|
|
11073
|
-
this.inner = new LaceEngineClient(
|
|
11074
|
+
this.inner = new LaceEngineClient(
|
|
11075
|
+
`127.0.0.1:${port}`,
|
|
11076
|
+
grpc.credentials.createInsecure(),
|
|
11077
|
+
ENGINE_CHANNEL_OPTIONS
|
|
11078
|
+
);
|
|
11074
11079
|
}
|
|
11075
11080
|
/** The generic engine RPCs `serveEngineBridge` forwards through. */
|
|
11076
11081
|
get client() {
|