@ubiquity-os/plugin-sdk 2.0.4 → 2.0.5

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.js CHANGED
@@ -106,7 +106,7 @@ function getPluginOptions(options) {
106
106
  return {
107
107
  // Important to use || and not ?? to not consider empty strings
108
108
  kernelPublicKey: options?.kernelPublicKey || KERNEL_PUBLIC_KEY,
109
- logLevel: options?.logLevel ?? import_ubiquity_os_logger.LOG_LEVEL.INFO,
109
+ logLevel: options?.logLevel || import_ubiquity_os_logger.LOG_LEVEL.INFO,
110
110
  postCommentOnError: options?.postCommentOnError ?? true,
111
111
  settingsSchema: options?.settingsSchema,
112
112
  envSchema: options?.envSchema,
package/dist/index.mjs CHANGED
@@ -68,7 +68,7 @@ function getPluginOptions(options) {
68
68
  return {
69
69
  // Important to use || and not ?? to not consider empty strings
70
70
  kernelPublicKey: options?.kernelPublicKey || KERNEL_PUBLIC_KEY,
71
- logLevel: options?.logLevel ?? LOG_LEVEL.INFO,
71
+ logLevel: options?.logLevel || LOG_LEVEL.INFO,
72
72
  postCommentOnError: options?.postCommentOnError ?? true,
73
73
  settingsSchema: options?.settingsSchema,
74
74
  envSchema: options?.envSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ubiquity-os/plugin-sdk",
3
- "version": "2.0.4",
3
+ "version": "2.0.5",
4
4
  "description": "SDK for plugin support.",
5
5
  "author": "Ubiquity DAO",
6
6
  "license": "MIT",