react-covideo-embed 0.1.10 → 0.1.11

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,9 @@
1
- /// <reference types="react" />
1
+ import { CSSProperties } from 'react';
2
2
  type Props = {
3
3
  children: React.ReactNode;
4
+ extendStyle?: {
5
+ wrapper?: CSSProperties;
6
+ };
4
7
  };
5
- export declare const Container: ({ children }: Props) => import("react/jsx-runtime").JSX.Element;
8
+ export declare const Container: ({ children, extendStyle }: Props) => import("react/jsx-runtime").JSX.Element;
6
9
  export {};
@@ -1,5 +1,10 @@
1
1
  export type ENVIRONMENT = 'sandbox' | 'production';
2
- export declare const JWT_COOKIE_NAME = "react-covideo-embed-jwt";
2
+ export declare enum COOKIE_NAMES {
3
+ jwt = "react-covideo-embed-jwt",
4
+ merge = "react-covideo-merge",
5
+ recordSettings = "record_settings",
6
+ recordError = "react-covideo-record-error"
7
+ }
3
8
  export declare let token: any;
4
9
  export declare let apiExpress: string;
5
10
  export declare const updateToken: (tokenNew: string, hasExternalJwt?: boolean) => void;
@@ -17,4 +17,5 @@ export declare const isSafari: boolean;
17
17
  export declare const toMB: (KB: number) => string;
18
18
  export declare function capitalizeFirstLetter(string: string): string;
19
19
  export declare function extractUrls(str: string): [] | RegExpMatchArray;
20
+ export declare function clearCookies(): void;
20
21
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-covideo-embed",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "private": false,
5
5
  "description": "Covideo platform as an embeddable React component.",
6
6
  "main": "./build/index.js",