ketcher-react 2.20.0 → 2.21.0-rc.2

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.
@@ -26,6 +26,6 @@ declare class KetcherBuilder {
26
26
  appendApiAsync(structServiceProvider: StructServiceProvider): Promise<void>;
27
27
  appendServiceMode(mode: ServiceMode): void;
28
28
  appendUiAsync(element: HTMLDivElement | null, appRoot: Root, staticResourcesUrl: string, errorHandler: (message: string) => void, buttons?: ButtonsConfig, togglerComponent?: JSX.Element): Promise<void>;
29
- build(): Ketcher;
29
+ build(): Ketcher | undefined;
30
30
  }
31
31
  export { KetcherBuilder };
@@ -26,7 +26,7 @@ interface Config {
26
26
  errorHandler: (message: string) => void;
27
27
  togglerComponent?: JSX.Element;
28
28
  }
29
- declare function buildKetcherAsync({ element, appRoot, staticResourcesUrl, structServiceProvider, buttons, errorHandler, togglerComponent, }: Config): Promise<import("ketcher-core").Ketcher>;
29
+ declare function buildKetcherAsync({ element, appRoot, staticResourcesUrl, structServiceProvider, buttons, errorHandler, togglerComponent, }: Config): Promise<import("ketcher-core").Ketcher | undefined>;
30
30
  export type { Config, ButtonsConfig };
31
31
  export * from './providers';
32
32
  export default buildKetcherAsync;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ketcher-react",
3
- "version": "2.20.0",
3
+ "version": "2.21.0-rc.2",
4
4
  "description": "Web-based molecule sketcher",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "http://lifescience.opensource.epam.com/ketcher",
@@ -1,7 +0,0 @@
1
- /**
2
- *
3
- * Legacy browser API doesn't support async operations, so it is not possible
4
- * to call indigo, when copy/cut/paste
5
- */
6
- export function isClipboardAPIAvailable(): boolean;
7
- export function notifyCopyCut(): void;