@nexgen-os/pvgis 0.5.1 → 0.6.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.d.ts CHANGED
@@ -1,5 +1,4 @@
1
- import type { Fetch } from '@nexgen-os/core';
2
- import { azimuthFromSouth, type CollectedSeries, type Point } from '@nexgen-os/core';
1
+ import { azimuthFromSouth, type CollectedSeries, type Fetch, type Point } from '@nexgen-os/connector';
3
2
  export declare const SOURCE_CODE = "pvgis";
4
3
  export interface PvgisSystem {
5
4
  /** Peak power, kWp. 1 gives yields per kWp. */
package/dist/index.js CHANGED
@@ -9,7 +9,7 @@
9
9
  // `YYYYMMDD:HHMM` in UTC at the minute of the satellite image, and the core
10
10
  // dates an hour at its start; PVGIS gives power in watts, the core keeps
11
11
  // kilowatts and kilowatt-hours.
12
- import { azimuthFromSouth } from '@nexgen-os/core';
12
+ import { azimuthFromSouth } from '@nexgen-os/connector';
13
13
  export const SOURCE_CODE = 'pvgis';
14
14
  export function pvgis(options = {}) {
15
15
  const base = (options.baseUrl ?? 'https://re.jrc.ec.europa.eu/api/v5_3').replace(/\/+$/, '');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexgen-os/pvgis",
3
- "version": "0.5.1",
3
+ "version": "0.6.0",
4
4
  "description": "PVGIS hourly PV energy and irradiance as a Nexgen OS connector.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -32,6 +32,6 @@
32
32
  "build": "tsc -p tsconfig.build.json"
33
33
  },
34
34
  "dependencies": {
35
- "@nexgen-os/core": "^0.5.0"
35
+ "@nexgen-os/connector": "^0.6.0"
36
36
  }
37
37
  }