@ubiquity-os/plugin-sdk 3.12.1 → 3.12.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.
@@ -465,7 +465,7 @@ var ConfigurationHandler = class {
465
465
  return { config: targetRepoConfiguration, imports, errors, rawData };
466
466
  }
467
467
  _decodeConfiguration(location, config) {
468
- this._logger.info("Decoding configuration", { owner: location.owner, repository: location.repo });
468
+ this._logger.debug("Decoding configuration", { owner: location.owner, repository: location.repo });
469
469
  try {
470
470
  const configSchemaWithDefaults = import_value.Value.Default(configSchema, config);
471
471
  const errors = import_value.Value.Errors(configSchema, configSchemaWithDefaults);
@@ -560,7 +560,7 @@ var ConfigurationHandler = class {
560
560
  ...ref ? { ref } : {},
561
561
  mediaType: { format: "raw" }
562
562
  });
563
- logOk(this._logger, "Configuration file found", { owner, repository, filePath, rateLimitRemaining: headers?.["x-ratelimit-remaining"] });
563
+ this._logger.debug("Configuration file found", { owner, repository, filePath, rateLimitRemaining: headers?.["x-ratelimit-remaining"] });
564
564
  return data;
565
565
  } catch (err) {
566
566
  this._handleDownloadError(err, { owner, repository, filePath });
@@ -584,11 +584,11 @@ var ConfigurationHandler = class {
584
584
  * Parse the raw YAML content and returns the loaded YAML, or errors if any.
585
585
  */
586
586
  parseYaml(data) {
587
- this._logger.info("Will attempt to parse YAML data");
587
+ this._logger.debug("Will attempt to parse YAML data");
588
588
  try {
589
589
  if (data) {
590
590
  const parsedData = import_js_yaml.default.load(data);
591
- logOk(this._logger, "Parsed yaml data successfully");
591
+ this._logger.debug("Parsed yaml data successfully");
592
592
  return { yaml: parsedData ?? null, errors: null };
593
593
  }
594
594
  } catch (error) {
@@ -426,7 +426,7 @@ var ConfigurationHandler = class {
426
426
  return { config: targetRepoConfiguration, imports, errors, rawData };
427
427
  }
428
428
  _decodeConfiguration(location, config) {
429
- this._logger.info("Decoding configuration", { owner: location.owner, repository: location.repo });
429
+ this._logger.debug("Decoding configuration", { owner: location.owner, repository: location.repo });
430
430
  try {
431
431
  const configSchemaWithDefaults = Value.Default(configSchema, config);
432
432
  const errors = Value.Errors(configSchema, configSchemaWithDefaults);
@@ -521,7 +521,7 @@ var ConfigurationHandler = class {
521
521
  ...ref ? { ref } : {},
522
522
  mediaType: { format: "raw" }
523
523
  });
524
- logOk(this._logger, "Configuration file found", { owner, repository, filePath, rateLimitRemaining: headers?.["x-ratelimit-remaining"] });
524
+ this._logger.debug("Configuration file found", { owner, repository, filePath, rateLimitRemaining: headers?.["x-ratelimit-remaining"] });
525
525
  return data;
526
526
  } catch (err) {
527
527
  this._handleDownloadError(err, { owner, repository, filePath });
@@ -545,11 +545,11 @@ var ConfigurationHandler = class {
545
545
  * Parse the raw YAML content and returns the loaded YAML, or errors if any.
546
546
  */
547
547
  parseYaml(data) {
548
- this._logger.info("Will attempt to parse YAML data");
548
+ this._logger.debug("Will attempt to parse YAML data");
549
549
  try {
550
550
  if (data) {
551
551
  const parsedData = YAML.load(data);
552
- logOk(this._logger, "Parsed yaml data successfully");
552
+ this._logger.debug("Parsed yaml data successfully");
553
553
  return { yaml: parsedData ?? null, errors: null };
554
554
  }
555
555
  } catch (error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ubiquity-os/plugin-sdk",
3
- "version": "3.12.1",
3
+ "version": "3.12.2",
4
4
  "description": "SDK for plugin support.",
5
5
  "author": "Ubiquity DAO",
6
6
  "license": "MIT",