Skip to content

Commit

Permalink
Merge pull request #11 from TextureHQ/victor/export-invalidproviderlo…
Browse files Browse the repository at this point in the history
…cationerror

Export InvalidProviderLocationError and bump the version
  • Loading branch information
victorquinn authored Oct 8, 2024
2 parents 87fffc8 + ce8a7a3 commit 29e56a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { WeatherService } from './weatherService';
import { WeatherService, InvalidProviderLocationError } from './weatherService';
import { RedisClientType } from 'redis';

interface WeatherPlusOptions {
Expand All @@ -23,6 +23,6 @@ class WeatherPlus {
}
}

export { WeatherPlus, InvalidProviderLocationError };
export * from './interfaces';
export { WeatherPlus };
export default WeatherPlus;

0 comments on commit 29e56a9

Please sign in to comment.