@selinac887/weather-sdk 1.0.0 → 1.0.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.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -11,7 +11,7 @@ providing access to current weather and forecast data.
11
11
  ## Installation
12
12
 
13
13
  ```bash
14
- npm install @yourname/weather-sdk
14
+ npm install @selinac887/weather-sdk
15
15
  ```
16
16
 
17
17
  ## Usage
@@ -19,7 +19,7 @@ npm install @yourname/weather-sdk
19
19
  ### Get current weather
20
20
 
21
21
  ```ts
22
- import { getCurrentWeather } from "@yourname/weather-sdk";
22
+ import { getCurrentWeather } from "@selinac887/weather-sdk";
23
23
 
24
24
  const data = await getCurrentWeather({
25
25
  latitude: -36.85,
@@ -37,7 +37,7 @@ console.log(data.current.temperature_2m);
37
37
  ### Get forecast weather
38
38
 
39
39
  ```ts
40
- import { getForecast } from "@yourname/weather-sdk";
40
+ import { getForecast } from "@selinac887/weather-sdk";
41
41
 
42
42
  const forecast = await getForecast({
43
43
  latitude: -36.85,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@selinac887/weather-sdk",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",