@maestro_io/maestro-web-sdk 2.3.0 → 2.3.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,6 +1,6 @@
1
- import IMaestroEventDelegate from './interfaces/IMaestroEventDelegate';
2
- import { Environment } from '.';
3
- import { ActionTrackEvent, ImpressionTrackEvent } from './services/AnalyticsService/types';
1
+ import IMaestroEventDelegate from '../interfaces/IMaestroEventDelegate';
2
+ import { Environment } from '..';
3
+ import { ActionTrackEvent, ImpressionTrackEvent } from '../services/AnalyticsService/types';
4
4
  /**
5
5
  * Our own implementation of the IMaestroEventDelegate interface. Useful for Development and Testing
6
6
  */
@@ -0,0 +1,22 @@
1
+ import React from 'react';
2
+ interface TimeCodeSeekProps {
3
+ eventId: string;
4
+ }
5
+ interface TimeCodeSeekState {
6
+ currentTimeCode: number | null;
7
+ gameStartTimeCode: number | null;
8
+ }
9
+ export default class TimeCodeSeek extends React.Component<TimeCodeSeekProps, TimeCodeSeekState> {
10
+ constructor(props: TimeCodeSeekProps);
11
+ componentDidMount(): void;
12
+ addMinutesFromTimestamp: (timestamp: number, minutes: number) => number;
13
+ formatTimestampToWallClock: (timestamp: number) => string;
14
+ formatWallClockToTimestamp: (timestamp: string) => number;
15
+ retreat: (minutes: number) => Promise<void>;
16
+ advance: (minutes: number) => Promise<void>;
17
+ setToNow: () => void;
18
+ resetToGameStart: () => void;
19
+ get timeCode(): number;
20
+ render(): React.JSX.Element;
21
+ }
22
+ export {};
@@ -0,0 +1,2 @@
1
+ export declare const LOGGED_IN_USER_SWID = "{45636D22-B82E-494E-B0BD-DBF25AB34BB5}";
2
+ export declare const LOGGED_IN_USER_COOKIE = "AEA916LtQmdBEZaslSodIec3p/BaLeVs//M0vT1/lWr7EB/O3KAYs194dsnz/ytViMfYJw7sw0psPTaLeiDSljkUoZ8oei6NXfyANi2aHiFNzXJVRhVX9RxgBivWJbwMW9+UNriY+OpQAtmvdJ8Z4YImkg8I/ObizzP1p2us9RpqrKByaG0hejzX7qGx3EkkD0gLi5jp19IZxVGrqvXusM8rOSAiKytR0by9elfs0KGCXjdw6M0/qmolfyQviKQpTlwakeixqUsvngwX+Ws/rgm88IuQFwfdg9KWgFkMPhwEFj3LMdu155Gbh4fJM8p2wwtN+/MtynUXQPiGXWoB9AZC";