@lace-cloud/canvas 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.
@@ -3974,11 +3974,11 @@ var ShutdownResponse = {
3974
3974
  }
3975
3975
  };
3976
3976
  function createBaseReadCredentialResponse() {
3977
- return { api_key: "", api_base_url: "" };
3977
+ return { api_key: void 0, api_base_url: "" };
3978
3978
  }
3979
3979
  var ReadCredentialResponse = {
3980
3980
  encode(message, writer = new BinaryWriter4()) {
3981
- if (message.api_key !== "") {
3981
+ if (message.api_key !== void 0) {
3982
3982
  writer.uint32(10).string(message.api_key);
3983
3983
  }
3984
3984
  if (message.api_base_url !== "") {
@@ -4017,13 +4017,13 @@ var ReadCredentialResponse = {
4017
4017
  },
4018
4018
  fromJSON(object) {
4019
4019
  return {
4020
- api_key: isSet3(object.apiKey) ? globalThis.String(object.apiKey) : isSet3(object.api_key) ? globalThis.String(object.api_key) : "",
4020
+ api_key: isSet3(object.apiKey) ? globalThis.String(object.apiKey) : isSet3(object.api_key) ? globalThis.String(object.api_key) : void 0,
4021
4021
  api_base_url: isSet3(object.apiBaseUrl) ? globalThis.String(object.apiBaseUrl) : isSet3(object.api_base_url) ? globalThis.String(object.api_base_url) : ""
4022
4022
  };
4023
4023
  },
4024
4024
  toJSON(message) {
4025
4025
  const obj = {};
4026
- if (message.api_key !== "") {
4026
+ if (message.api_key !== void 0) {
4027
4027
  obj.apiKey = message.api_key;
4028
4028
  }
4029
4029
  if (message.api_base_url !== "") {
@@ -4036,7 +4036,7 @@ var ReadCredentialResponse = {
4036
4036
  },
4037
4037
  fromPartial(object) {
4038
4038
  const message = createBaseReadCredentialResponse();
4039
- message.api_key = object.api_key ?? "";
4039
+ message.api_key = object.api_key ?? void 0;
4040
4040
  message.api_base_url = object.api_base_url ?? "";
4041
4041
  return message;
4042
4042
  }
@@ -9938,7 +9938,7 @@ var LaceEngineDefinition = {
9938
9938
  /**
9939
9939
  * Answers the credential this engine holds: the API key `lace login`
9940
9940
  * saved or `LACE_TOKEN` supplies, read fresh on every call so a `lace
9941
- * login` or `lace logout` takes effect at once (empty when signed out),
9941
+ * login` or `lace logout` takes effect at once (absent when signed out),
9942
9942
  * beside the base URL of the API that key is for, the one the engine's
9943
9943
  * own commands call (the CLI's `config.ResolveBaseURL`). The host
9944
9944
  * that spawned the engine builds its own authenticated transport to
@@ -13744,4 +13744,4 @@ export {
13744
13744
  AutosaveEndedError,
13745
13745
  autosave
13746
13746
  };
13747
- //# sourceMappingURL=chunk-S2FFLFOT.mjs.map
13747
+ //# sourceMappingURL=chunk-R4RA2QI7.mjs.map