diff --git a/.release-please-manifest.json b/.release-please-manifest.json index e1f2038..84d8d39 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.2.6" + ".": "1.2.7" } diff --git a/CHANGELOG.md b/CHANGELOG.md index a2bf641..e6ad80e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.2.7 (2024-11-12) + +Full Changelog: [v1.2.6...v1.2.7](https://github.com/OneBusAway/js-sdk/compare/v1.2.6...v1.2.7) + +### Chores + +* rebuild project due to codegen change ([#249](https://github.com/OneBusAway/js-sdk/issues/249)) ([cc70406](https://github.com/OneBusAway/js-sdk/commit/cc70406137fff49430960d6b8ecaf64f7c003eb9)) + ## 1.2.6 (2024-11-01) Full Changelog: [v1.2.5...v1.2.6](https://github.com/OneBusAway/js-sdk/compare/v1.2.5...v1.2.6) diff --git a/package-lock.json b/package-lock.json index bc14b0f..3f61b44 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "onebusaway-sdk", - "version": "1.2.6", + "version": "1.2.7", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "onebusaway-sdk", - "version": "1.2.6", + "version": "1.2.7", "license": "Apache-2.0", "dependencies": { "@types/node": "^18.11.18", diff --git a/package.json b/package.json index 72d2cb8..3466a82 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "onebusaway-sdk", - "version": "1.2.6", + "version": "1.2.7", "description": "The official TypeScript library for the Onebusaway SDK API", "author": "Onebusaway SDK ", "types": "dist/index.d.ts", diff --git a/src/index.ts b/src/index.ts index d35d2b3..b4eb675 100644 --- a/src/index.ts +++ b/src/index.ts @@ -269,25 +269,6 @@ export class OnebusawaySDK extends Core.APIClient { static fileFromPath = Uploads.fileFromPath; } -export { - OnebusawaySDKError, - APIError, - APIConnectionError, - APIConnectionTimeoutError, - APIUserAbortError, - NotFoundError, - ConflictError, - RateLimitError, - BadRequestError, - AuthenticationError, - InternalServerError, - PermissionDeniedError, - UnprocessableEntityError, -} from './error'; - -export import toFile = Uploads.toFile; -export import fileFromPath = Uploads.fileFromPath; - OnebusawaySDK.AgenciesWithCoverage = AgenciesWithCoverage; OnebusawaySDK.Agency = Agency; OnebusawaySDK.VehiclesForAgency = VehiclesForAgency; @@ -315,7 +296,6 @@ OnebusawaySDK.SearchForStop = SearchForStop; OnebusawaySDK.SearchForRoute = SearchForRoute; OnebusawaySDK.Block = Block; OnebusawaySDK.Shape = Shape; - export declare namespace OnebusawaySDK { export type RequestOptions = Core.RequestOptions; @@ -449,4 +429,21 @@ export declare namespace OnebusawaySDK { export type ResponseWrapper = API.ResponseWrapper; } +export { toFile, fileFromPath } from 'onebusaway-sdk/uploads'; +export { + OnebusawaySDKError, + APIError, + APIConnectionError, + APIConnectionTimeoutError, + APIUserAbortError, + NotFoundError, + ConflictError, + RateLimitError, + BadRequestError, + AuthenticationError, + InternalServerError, + PermissionDeniedError, + UnprocessableEntityError, +} from 'onebusaway-sdk/error'; + export default OnebusawaySDK; diff --git a/src/version.ts b/src/version.ts index 0e9b955..46ed71a 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '1.2.6'; // x-release-please-version +export const VERSION = '1.2.7'; // x-release-please-version