@ubiquity-os/plugin-sdk 3.1.6 → 3.1.8

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
@@ -67,8 +67,7 @@ var PluginRuntimeInfo = class _PluginRuntimeInfo {
67
67
  _PluginRuntimeInfo._instance = new NodeRuntimeInfo(env);
68
68
  break;
69
69
  default:
70
- console.log("No runtime detected, falling back to Deno.");
71
- _PluginRuntimeInfo._instance = new DenoRuntimeInfo(env);
70
+ _PluginRuntimeInfo._instance = new NodeRuntimeInfo(env);
72
71
  break;
73
72
  }
74
73
  }
@@ -102,7 +101,7 @@ var DenoRuntimeInfo = class extends PluginRuntimeInfo {
102
101
  }
103
102
  get runUrl() {
104
103
  const projectName = Deno.env.get("DENO_PROJECT_NAME");
105
- const baseUrl = `https://dash.deno.com/${projectName}/logs`;
104
+ const baseUrl = `https://dash.deno.com/projects/${projectName}/logs`;
106
105
  const start = new Date(Date.now() - 6e4).toISOString();
107
106
  const end = new Date(Date.now() + 6e4).toISOString();
108
107
  const filters = {
package/dist/index.mjs CHANGED
@@ -29,8 +29,7 @@ var PluginRuntimeInfo = class _PluginRuntimeInfo {
29
29
  _PluginRuntimeInfo._instance = new NodeRuntimeInfo(env);
30
30
  break;
31
31
  default:
32
- console.log("No runtime detected, falling back to Deno.");
33
- _PluginRuntimeInfo._instance = new DenoRuntimeInfo(env);
32
+ _PluginRuntimeInfo._instance = new NodeRuntimeInfo(env);
34
33
  break;
35
34
  }
36
35
  }
@@ -64,7 +63,7 @@ var DenoRuntimeInfo = class extends PluginRuntimeInfo {
64
63
  }
65
64
  get runUrl() {
66
65
  const projectName = Deno.env.get("DENO_PROJECT_NAME");
67
- const baseUrl = `https://dash.deno.com/${projectName}/logs`;
66
+ const baseUrl = `https://dash.deno.com/projects/${projectName}/logs`;
68
67
  const start = new Date(Date.now() - 6e4).toISOString();
69
68
  const end = new Date(Date.now() + 6e4).toISOString();
70
69
  const filters = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ubiquity-os/plugin-sdk",
3
- "version": "3.1.6",
3
+ "version": "3.1.8",
4
4
  "description": "SDK for plugin support.",
5
5
  "author": "Ubiquity DAO",
6
6
  "license": "MIT",