@abyss-project/commons-front-core 13.1.0 → 13.1.1

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.
@@ -1,7 +1,8 @@
1
1
  import { ReactNode } from 'react';
2
- import { AbyssService } from '@abyss-project/main';
2
+ import { ActivatableService } from '@abyss-project/main';
3
3
  export type RequireSessionProps = {
4
- service: AbyssService;
4
+ /** The satellite's service, or a game (Odyssey) that opens its session the same way. */
5
+ service: ActivatableService;
5
6
  /** abyss-main's web origin (`VITE_ABYSS_URL`). */
6
7
  abyssSite: string;
7
8
  children: ReactNode;
@@ -1,7 +1,8 @@
1
1
  import { ReactNode } from 'react';
2
- import { AbyssService, IUser } from '@abyss-project/main';
2
+ import { ActivatableService, IUser } from '@abyss-project/main';
3
3
  export type AbyssSessionBoundaryProps = {
4
- service: AbyssService;
4
+ /** The satellite's service, or a game (Odyssey) that opens its session the same way. */
5
+ service: ActivatableService;
5
6
  /** abyss-main's web origin (`VITE_ABYSS_URL`). */
6
7
  abyssSite: string;
7
8
  /**
@@ -1,4 +1,4 @@
1
- import { AbyssService } from '@abyss-project/main';
1
+ import { ActivatableService } from '@abyss-project/main';
2
2
  /** Why a web satellite stops on this screen instead of redirecting (D8). */
3
3
  export declare enum SessionErrorReason {
4
4
  /** Back from abyss-main's login page still signed out, less than 5 min after leaving for it. */
@@ -10,8 +10,8 @@ export declare enum SessionErrorReason {
10
10
  }
11
11
  export type SessionErrorScreenProps = {
12
12
  reason: SessionErrorReason;
13
- /** The satellite: its name is said when it could not be opened. */
14
- service: AbyssService;
13
+ /** The satellite, or a game: its name is said when it could not be opened. */
14
+ service: ActivatableService;
15
15
  /** **Try again**, always offered. */
16
16
  onRetry: () => void;
17
17
  /** **Sign in**, offered when given. */