Skip to content

Commit

Permalink
release(v0.2.8): w/ various fixes
Browse files Browse the repository at this point in the history
- fix: set http keep-alive to true
- fix: list relations should throw when an underlying check errors
- fix: return raw response in client check
- chore(deps): update dependencies
  • Loading branch information
rhamzeh committed Aug 18, 2023
1 parent 19e3d79 commit 0abfdf3
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 21 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## v0.2.8

### [0.2.8](https://github.com/openfga/js-sdk/compare/v0.2.7...v0.2.8) (2023-08-18)

- fix: set http keep-alive to true
- fix: list relations should throw when an underlying check errors
- fix: return raw response in client check
- chore(deps): update dependencies

## v0.2.7

### [0.2.7](https://github.com/openfga/js-sdk/compare/v0.2.6...v0.2.7) (2023-08-16)
Expand Down
4 changes: 2 additions & 2 deletions configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const DEFAULT_MAX_RETRY = 15;
// default minimum wait period in retry - but will backoff exponentially
const DEFAULT_MIN_WAIT_MS = 100;

const DEFAULT_USER_AGENT = "openfga-sdk js/0.2.7";
const DEFAULT_USER_AGENT = "openfga-sdk js/0.2.8";

export interface RetryParams {
maxRetry?: number;
Expand Down Expand Up @@ -69,7 +69,7 @@ export class Configuration {
* @type {string}
* @memberof Configuration
*/
private static sdkVersion = "0.2.7";
private static sdkVersion = "0.2.8";

/**
* provide scheme (e.g. `https`)
Expand Down
32 changes: 16 additions & 16 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openfga/sdk",
"version": "0.2.7",
"version": "0.2.8",
"description": "JavaScript and Node.js SDK for OpenFGA",
"author": "OpenFGA",
"keywords": [
Expand All @@ -27,13 +27,13 @@
},
"devDependencies": {
"@types/jest": "^29.5.3",
"@types/node": "^20.5.0",
"@types/node": "^20.5.1",
"@types/tiny-async-pool": "^2.0.0",
"@typescript-eslint/eslint-plugin": "^6.4.0",
"@typescript-eslint/parser": "^6.4.0",
"eslint": "^8.47.0",
"jest": "^29.6.2",
"nock": "^13.3.2",
"nock": "^13.3.3",
"ts-jest": "^29.1.1",
"typescript": "^5.1.6"
},
Expand Down

0 comments on commit 0abfdf3

Please sign in to comment.