@amiable-dev/docusaurus-plugin-stentorosaur 0.16.1 → 0.16.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.
@@ -18,7 +18,7 @@ const IncidentHistory_1 = __importDefault(require("../IncidentHistory"));
18
18
  const MaintenanceList_1 = __importDefault(require("../Maintenance/MaintenanceList"));
19
19
  const PerformanceMetrics_1 = __importDefault(require("../PerformanceMetrics"));
20
20
  const version_1 = require("../../version");
21
- const data_source_resolver_1 = require("../../data-source-resolver");
21
+ const data_source_resolver_client_1 = require("../../data-source-resolver.client");
22
22
  const styles_module_css_1 = __importDefault(require("./styles.module.css"));
23
23
  function StatusPage({ statusData }) {
24
24
  const { items = [], incidents = [], maintenance = [], lastUpdated, showServices = true, showIncidents = true, showPerformanceMetrics = true, useDemoData = false, fetchUrl, dataSource, } = statusData || {};
@@ -31,7 +31,7 @@ function StatusPage({ statusData }) {
31
31
  const dataBaseUrl = (0, react_1.useMemo)(() => {
32
32
  if (dataSource) {
33
33
  // Build URL from dataSource, stripping the file part to get base URL
34
- const url = (0, data_source_resolver_1.buildFetchUrl)(dataSource);
34
+ const url = (0, data_source_resolver_client_1.buildFetchUrl)(dataSource);
35
35
  if (url) {
36
36
  // Remove file:// prefix for browser context
37
37
  const cleanUrl = url.startsWith('file://') ? url.replace('file://', '') : url;
@@ -17,7 +17,7 @@ const IncidentHistory_1 = __importDefault(require("../IncidentHistory"));
17
17
  const MaintenanceList_1 = __importDefault(require("../Maintenance/MaintenanceList"));
18
18
  const StatusBoard_1 = __importDefault(require("../StatusBoard"));
19
19
  const PerformanceMetrics_1 = __importDefault(require("../PerformanceMetrics"));
20
- const data_source_resolver_1 = require("../../data-source-resolver");
20
+ const data_source_resolver_client_1 = require("../../data-source-resolver.client");
21
21
  const styles_module_css_1 = __importDefault(require("./styles.module.css"));
22
22
  // Default configuration with all sections enabled
23
23
  const DEFAULT_CONFIG = {
@@ -42,7 +42,7 @@ function UptimeStatusPage({ statusData }) {
42
42
  const dataBaseUrl = (0, react_1.useMemo)(() => {
43
43
  if (dataSource) {
44
44
  // Build URL from dataSource, stripping the file part to get base URL
45
- const url = (0, data_source_resolver_1.buildFetchUrl)(dataSource);
45
+ const url = (0, data_source_resolver_client_1.buildFetchUrl)(dataSource);
46
46
  if (url) {
47
47
  // Remove file:// prefix for browser context
48
48
  const cleanUrl = url.startsWith('file://') ? url.replace('file://', '') : url;
package/lib/version.d.ts CHANGED
@@ -2,5 +2,5 @@
2
2
  * Plugin version - auto-generated during build
3
3
  * DO NOT EDIT MANUALLY - This file is generated from package.json
4
4
  */
5
- export declare const PLUGIN_VERSION = "0.16.1";
5
+ export declare const PLUGIN_VERSION = "0.16.2";
6
6
  //# sourceMappingURL=version.d.ts.map
package/lib/version.js CHANGED
@@ -5,4 +5,4 @@
5
5
  */
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
7
  exports.PLUGIN_VERSION = void 0;
8
- exports.PLUGIN_VERSION = '0.16.1';
8
+ exports.PLUGIN_VERSION = '0.16.2';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amiable-dev/docusaurus-plugin-stentorosaur",
3
- "version": "0.16.1",
3
+ "version": "0.16.2",
4
4
  "description": "A Docusaurus plugin for displaying status monitoring dashboard powered by GitHub Issues and Actions, similar to Upptime",
5
5
  "main": "lib/index.js",
6
6
  "types": "src/plugin-status.d.ts",