@cuby-ui/core 0.0.291 → 0.0.293

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@cuby-ui/core",
3
- "version": "0.0.291",
3
+ "version": "0.0.293",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=18.0.0",
6
6
  "@angular/core": ">=18.0.0",
7
7
  "@angular/elements": ">=18.0.0",
8
8
  "@angular/forms": ">=18.0.0",
9
- "@cuby-ui/api": "^0.0.291",
10
- "@cuby-ui/cdk": "^0.0.291",
11
- "@cuby-ui/icons": "^0.0.291",
9
+ "@cuby-ui/api": "^0.0.292",
10
+ "@cuby-ui/cdk": "^0.0.292",
11
+ "@cuby-ui/icons": "^0.0.292",
12
12
  "@editorjs/editorjs": "2.29.1",
13
13
  "@editorjs/header": "^2.8.1",
14
14
  "@editorjs/list": "^1.9.0",
@@ -1,16 +1,19 @@
1
- import { OAuthService, TokenResponse } from 'angular-oauth2-oidc';
2
1
  import { CuiTokenExchangeRequestBody } from '@cuby-ui/api';
2
+ import type { TokenResponse } from 'angular-oauth2-oidc';
3
+ import { OAuthService } from 'angular-oauth2-oidc';
3
4
  declare abstract class CuiToken extends OAuthService {
4
5
  private readonly tokenData;
5
6
  protected getTokenDataFromStore(token: string): TokenResponse;
6
7
  private parseToken;
7
8
  }
8
9
  export declare class CuiTokenBase extends CuiToken {
9
- private readonly activityTokenExchangeApiService;
10
+ private readonly exchangeContextApiService;
11
+ private readonly EXCHANGE_TOKEN_VALUE;
10
12
  getAccessTokenData<T extends TokenResponse = TokenResponse>(): T;
11
13
  checkIsTokenExpired(): boolean;
12
14
  exchangeToken(params: CuiTokenExchangeRequestBody): Promise<TokenResponse>;
13
15
  refreshToken(): Promise<TokenResponse>;
16
+ refreshExchangedToken(): Promise<TokenResponse>;
14
17
  private setTokenResponse;
15
18
  private setIdToken;
16
19
  }