@lace-cloud/host 0.13.0 → 0.14.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
@@ -3311,7 +3311,7 @@ var TerraformBlock_RequiredProvidersEntry = {
3311
3311
  }
3312
3312
  };
3313
3313
  function createBaseProviderRequirement() {
3314
- return { source: "", version: "" };
3314
+ return { source: "", version: "", configuration_aliases: [] };
3315
3315
  }
3316
3316
  var ProviderRequirement = {
3317
3317
  encode(message, writer = new import_wire3.BinaryWriter()) {
@@ -3321,6 +3321,9 @@ var ProviderRequirement = {
3321
3321
  if (message.version !== "") {
3322
3322
  writer.uint32(18).string(message.version);
3323
3323
  }
3324
+ for (const v of message.configuration_aliases) {
3325
+ writer.uint32(26).string(v);
3326
+ }
3324
3327
  return writer;
3325
3328
  },
3326
3329
  decode(input, length) {
@@ -3344,6 +3347,13 @@ var ProviderRequirement = {
3344
3347
  message.version = reader.string();
3345
3348
  continue;
3346
3349
  }
3350
+ case 3: {
3351
+ if (tag !== 26) {
3352
+ break;
3353
+ }
3354
+ message.configuration_aliases.push(reader.string());
3355
+ continue;
3356
+ }
3347
3357
  }
3348
3358
  if ((tag & 7) === 4 || tag === 0) {
3349
3359
  break;
@@ -3355,7 +3365,8 @@ var ProviderRequirement = {
3355
3365
  fromJSON(object) {
3356
3366
  return {
3357
3367
  source: isSet2(object.source) ? globalThis.String(object.source) : "",
3358
- version: isSet2(object.version) ? globalThis.String(object.version) : ""
3368
+ version: isSet2(object.version) ? globalThis.String(object.version) : "",
3369
+ configuration_aliases: globalThis.Array.isArray(object?.configurationAliases) ? object.configurationAliases.map((e) => globalThis.String(e)) : globalThis.Array.isArray(object?.configuration_aliases) ? object.configuration_aliases.map((e) => globalThis.String(e)) : []
3359
3370
  };
3360
3371
  },
3361
3372
  toJSON(message) {
@@ -3366,6 +3377,9 @@ var ProviderRequirement = {
3366
3377
  if (message.version !== "") {
3367
3378
  obj.version = message.version;
3368
3379
  }
3380
+ if (message.configuration_aliases?.length) {
3381
+ obj.configurationAliases = message.configuration_aliases;
3382
+ }
3369
3383
  return obj;
3370
3384
  },
3371
3385
  create(base) {
@@ -3375,6 +3389,7 @@ var ProviderRequirement = {
3375
3389
  const message = createBaseProviderRequirement();
3376
3390
  message.source = object.source ?? "";
3377
3391
  message.version = object.version ?? "";
3392
+ message.configuration_aliases = object.configuration_aliases?.map((e) => e) || [];
3378
3393
  return message;
3379
3394
  }
3380
3395
  };