mirror of
https://github.com/tribufu/tribufu-js
synced 2026-05-06 14:57:26 +00:00
Update package.json and client.ts
This commit updates the version number in the package.json file from 0.1.9 to 0.1.10. It also changes the access level of the setTokens() and clearTokens() methods in the client.ts file from private to protected.
This commit is contained in:
parent
5125fc734b
commit
5a580af4e5
2 changed files with 3 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "tribufu",
|
||||
"version": "0.1.9",
|
||||
"version": "0.1.10",
|
||||
"description": "Tribufu JS SDK",
|
||||
"repository": "https://github.com/Tribufu/TribufuJs",
|
||||
"author": "Tribufu <contact@Tribufu.com>",
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ export class TribufuClient extends TribufuApi {
|
|||
* @param refreshToken
|
||||
* @param expiresIn
|
||||
*/
|
||||
private setTokens(accessToken: string | null, refreshToken?: string | null, expiresIn?: number | null): void {
|
||||
protected setTokens(accessToken: string | null, refreshToken?: string | null, expiresIn?: number | null): void {
|
||||
this.options.accessToken = accessToken;
|
||||
this.options.refreshToken = refreshToken || null;
|
||||
this.options.expiresIn = expiresIn || null;
|
||||
|
|
@ -94,7 +94,7 @@ export class TribufuClient extends TribufuApi {
|
|||
/**
|
||||
* Clear the tokens.
|
||||
*/
|
||||
private clearTokens(): void {
|
||||
protected clearTokens(): void {
|
||||
this.setTokens(null, null, null);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue