From ce8a7a3fa153a0ff2978c7b759e6b1ab98db23a7 Mon Sep 17 00:00:00 2001 From: Victor Quinn Date: Tue, 8 Oct 2024 14:23:21 -0400 Subject: [PATCH] Export InvalidProviderLocationError and bump the version --- package.json | 2 +- src/index.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index d09e68b..54cd998 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "weather-plus", - "version": "0.0.19", + "version": "0.0.20", "description": "Weather Plus is a powerful wrapper around various Weather APIs that simplifies adding weather data to your application", "main": "./dist/cjs/index.js", "module": "./dist/esm/index.js", diff --git a/src/index.ts b/src/index.ts index 8321578..6e40863 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,4 +1,4 @@ -import { WeatherService } from './weatherService'; +import { WeatherService, InvalidProviderLocationError } from './weatherService'; import { RedisClientType } from 'redis'; interface WeatherPlusOptions { @@ -23,6 +23,6 @@ class WeatherPlus { } } +export { WeatherPlus, InvalidProviderLocationError }; export * from './interfaces'; -export { WeatherPlus }; export default WeatherPlus;