@fabriq/auth-client
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -216,3 +216,3 @@ import { decodeAuthenticationTokens } from "./token.js"; | ||
outcome: "refreshed", | ||
authorizationTokens: newTokensResult.response, | ||
authenticationTokens, | ||
}; | ||
@@ -219,0 +219,0 @@ }, |
@@ -6,3 +6,3 @@ { | ||
"name": "@fabriq/auth-client", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "This is the fabriq auth client package, that interacts with the future auth service.", | ||
@@ -9,0 +9,0 @@ "license": "UNLICENSED", |
@@ -1,2 +0,2 @@ | ||
import type { AuthorizationTokens, Credentials } from "../../auth_service/interface/_mod.js"; | ||
import type { Credentials } from "../../auth_service/interface/_mod.js"; | ||
import { AuthConfig } from "../../types.js"; | ||
@@ -162,3 +162,3 @@ import { inferPayload } from "../../../tokens/_mod.js"; | ||
export declare type RefreshAuthorizationTokensResult = { | ||
authorizationTokens: AuthorizationTokens; | ||
authenticationTokens: AuthenticationTokens; | ||
outcome: "refreshed"; | ||
@@ -165,0 +165,0 @@ } | { |
@@ -228,3 +228,3 @@ (function (factory) { | ||
outcome: "refreshed", | ||
authorizationTokens: newTokensResult.response, | ||
authenticationTokens, | ||
}; | ||
@@ -231,0 +231,0 @@ }, |
395039