@lace-cloud/host 0.19.0 → 0.20.0

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 CHANGED
@@ -4002,11 +4002,11 @@ var ShutdownResponse = {
4002
4002
  }
4003
4003
  };
4004
4004
  function createBaseReadCredentialResponse() {
4005
- return { api_key: "", api_base_url: "" };
4005
+ return { api_key: void 0, api_base_url: "" };
4006
4006
  }
4007
4007
  var ReadCredentialResponse = {
4008
4008
  encode(message, writer = new import_wire4.BinaryWriter()) {
4009
- if (message.api_key !== "") {
4009
+ if (message.api_key !== void 0) {
4010
4010
  writer.uint32(10).string(message.api_key);
4011
4011
  }
4012
4012
  if (message.api_base_url !== "") {
@@ -4045,13 +4045,13 @@ var ReadCredentialResponse = {
4045
4045
  },
4046
4046
  fromJSON(object) {
4047
4047
  return {
4048
- api_key: isSet3(object.apiKey) ? globalThis.String(object.apiKey) : isSet3(object.api_key) ? globalThis.String(object.api_key) : "",
4048
+ api_key: isSet3(object.apiKey) ? globalThis.String(object.apiKey) : isSet3(object.api_key) ? globalThis.String(object.api_key) : void 0,
4049
4049
  api_base_url: isSet3(object.apiBaseUrl) ? globalThis.String(object.apiBaseUrl) : isSet3(object.api_base_url) ? globalThis.String(object.api_base_url) : ""
4050
4050
  };
4051
4051
  },
4052
4052
  toJSON(message) {
4053
4053
  const obj = {};
4054
- if (message.api_key !== "") {
4054
+ if (message.api_key !== void 0) {
4055
4055
  obj.apiKey = message.api_key;
4056
4056
  }
4057
4057
  if (message.api_base_url !== "") {
@@ -4064,7 +4064,7 @@ var ReadCredentialResponse = {
4064
4064
  },
4065
4065
  fromPartial(object) {
4066
4066
  const message = createBaseReadCredentialResponse();
4067
- message.api_key = object.api_key ?? "";
4067
+ message.api_key = object.api_key ?? void 0;
4068
4068
  message.api_base_url = object.api_base_url ?? "";
4069
4069
  return message;
4070
4070
  }
@@ -9965,7 +9965,7 @@ var LaceEngineService = {
9965
9965
  /**
9966
9966
  * Answers the credential this engine holds: the API key `lace login`
9967
9967
  * saved or `LACE_TOKEN` supplies, read fresh on every call so a `lace
9968
- * login` or `lace logout` takes effect at once (empty when signed out),
9968
+ * login` or `lace logout` takes effect at once (absent when signed out),
9969
9969
  * beside the base URL of the API that key is for, the one the engine's
9970
9970
  * own commands call (the CLI's `config.ResolveBaseURL`). The host
9971
9971
  * that spawned the engine builds its own authenticated transport to
@@ -10697,10 +10697,11 @@ var LaceTransport = class {
10697
10697
  // The credential the engine holds: the API key `lace login` saved or
10698
10698
  // `LACE_TOKEN` supplies, which the engine loads fresh on every call — so a
10699
10699
  // host that reads it per request sees a `lace login` or `lace logout` at
10700
- // once — empty when the developer is signed out, beside the base URL of
10701
- // the API the key is for, the one the engine's own commands call: a host
10702
- // builds its transport from the two and never restates which API. Every
10703
- // failure is the call's own: an engine that cannot serve the call speaks
10700
+ // once — absent when the developer is signed out, and passed on as the
10701
+ // answer states it, beside the base URL of the API the key is for, the
10702
+ // one the engine's own commands call: a host builds its transport from
10703
+ // the two and never restates which API. Every failure is the call's
10704
+ // own: an engine that cannot serve the call speaks
10704
10705
  // an older protocol, and `ServerManager` refused it at the handshake
10705
10706
  // (`checkEngineProtocol`) before any RPC was sent. A host call, never a
10706
10707
  // bridge row: `ReadCredential` is outside `BRIDGE_METHODS`