Skip to content

Commit

Permalink
release(v0.2.7): fixes calculation of token expiry date (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhamzeh authored Aug 16, 2023
2 parents 5d51b55 + c0d897f commit 19e3d79
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## v0.2.7

### [0.2.7](https://github.com/openfga/js-sdk/compare/v0.2.6...v0.2.7) (2023-08-16)

- fix(credentials): fix calculation of token expiry
- chore(deps): update dependencies

## v0.2.6

### [0.2.6](https://github.com/openfga/js-sdk/compare/v0.2.5...v0.2.6) (2023-05-19)
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.6";
const DEFAULT_USER_AGENT = "openfga-sdk js/0.2.7";

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.6";
private static sdkVersion = "0.2.7";

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

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openfga/sdk",
"version": "0.2.6",
"version": "0.2.7",
"description": "JavaScript and Node.js SDK for OpenFGA",
"author": "OpenFGA",
"keywords": [
Expand Down

0 comments on commit 19e3d79

Please sign in to comment.