@nexgen-os/open-meteo 0.4.2 → 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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # `@nexgen-os/open-meteo` — weather forecast and ERA5 history
2
2
 
3
- Hourly forecast of temperature and irradiance and history from the ERA5 archive (irradiance on a plane, horizontal components `ghi`, `dni`, `dhi`, temperature, wind speed), worldwide, as a `WeatherProvider` of `@nexgen-os/core`. Source `open_meteo`. MIT; the data is CC BY 4.0, and the free API is for non-commercial use, a paid plan otherwise.
3
+ Hourly forecast of temperature and irradiance and history from the ERA5 archive (irradiance on a plane, horizontal components `ghi`, `dni`, `dhi`, temperature, wind speed), worldwide, as a `WeatherProvider` of `@nexgen-os/connector`. Source `open_meteo`. MIT; the data is CC BY 4.0, and the free API is for non-commercial use, a paid plan otherwise.
4
4
 
5
5
  ```ts
6
6
  import { openMeteo } from '@nexgen-os/open-meteo';
package/dist/index.d.ts CHANGED
@@ -1,5 +1,4 @@
1
- import type { Fetch } from '@nexgen-os/core';
2
- import { type WeatherProvider } from '@nexgen-os/core';
1
+ import { type Fetch, type WeatherProvider } from '@nexgen-os/connector';
3
2
  export declare const SOURCE_CODE = "open_meteo";
4
3
  export declare function openMeteo(options?: {
5
4
  baseUrl?: string;
package/dist/index.js CHANGED
@@ -9,7 +9,7 @@
9
9
  // speeds come in km/h unless metres per second are asked for; the azimuth of
10
10
  // a plane is counted from south, west positive, where the core counts from
11
11
  // true north, clockwise.
12
- import { azimuthFromSouth } from '@nexgen-os/core';
12
+ import { azimuthFromSouth } from '@nexgen-os/connector';
13
13
  export const SOURCE_CODE = 'open_meteo';
14
14
  /** Open-Meteo hourly forecast variables, to the core's quantities. Units already match (°C, W/m²). */
15
15
  const VARIABLES = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexgen-os/open-meteo",
3
- "version": "0.4.2",
3
+ "version": "0.6.0",
4
4
  "description": "Open-Meteo weather forecast and ERA5 history as a Nexgen OS weather 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.4.0"
35
+ "@nexgen-os/connector": "^0.6.0"
36
36
  }
37
37
  }