UNPKG

x-weather

Version:

A collection of web components implementing portions of the OpenWeatherMap API.

2 lines (1 loc) 149 B
import{CURRENT_WEATHER_UPDATE as r}from"./types.js";var p=p=>{var{json:a}=p;return{type:r,payload:JSON.parse(a)}};export{p as updateCurrentWeather};