Skip to content

Commit

Permalink
remove api version control
Browse files Browse the repository at this point in the history
  • Loading branch information
regevbr committed Jun 2, 2019
1 parent 7ad26b7 commit 62971ad
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ This project adheres to [Semantic Versioning](http://semver.org/).
## Development
- nothing yet

## v1.0.1

[diff](https://github.com/PruvoNet/cronicle-client/compare/v1.0.0...v1.0.1)

### Fixed

- removed option to set api version as new version will require a new class with different types anyways...

## v1.0.0

[diff](https://github.com/PruvoNet/cronicle-client/compare/v0.2.0...v1.0.0)
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@ In such cases, the current method will be rejected with `CronicleError` with the
|----------------|-------------|
| `masterUrl` | The full url to the master Cronicle server
| `apiKey` | The api key to use (make sure it has relevant permissions enabled)
| `apiVersion` | (Optional) override the default api version (`v1`)

#### Typings

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cronicle-client",
"version": "1.0.0",
"version": "1.0.1",
"description": "Light Cronicle node client with full TypeScript support",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
1 change: 0 additions & 1 deletion src/CronicleClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ export enum BaseCategories {
export interface ICronicleClientOptions {
masterUrl: string;
apiKey: string;
apiVersion?: string;
}

export class CronicleClient<Categories extends string = BaseCategories,
Expand Down

0 comments on commit 62971ad

Please sign in to comment.