@lace-cloud/host 0.31.0 → 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.mjs
CHANGED
|
@@ -11020,10 +11020,15 @@ import { checkEngineProtocol } from "@lace-cloud/proto";
|
|
|
11020
11020
|
// src/transport.ts
|
|
11021
11021
|
import * as grpc from "@grpc/grpc-js";
|
|
11022
11022
|
import { ENGINE_PROTOCOL_VERSION } from "@lace-cloud/proto";
|
|
11023
|
+
var ENGINE_CHANNEL_OPTIONS = { "grpc.enable_http_proxy": 0 };
|
|
11023
11024
|
var LaceTransport = class {
|
|
11024
11025
|
constructor(port, token) {
|
|
11025
11026
|
this.token = token;
|
|
11026
|
-
this.inner = new LaceEngineClient(
|
|
11027
|
+
this.inner = new LaceEngineClient(
|
|
11028
|
+
`127.0.0.1:${port}`,
|
|
11029
|
+
grpc.credentials.createInsecure(),
|
|
11030
|
+
ENGINE_CHANNEL_OPTIONS
|
|
11031
|
+
);
|
|
11027
11032
|
}
|
|
11028
11033
|
/** The generic engine RPCs `serveEngineBridge` forwards through. */
|
|
11029
11034
|
get client() {
|