@d-najd/universal-media-tracker-sdk 0.3.7 → 0.3.9

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/dist/Plugin.d.ts CHANGED
@@ -37,7 +37,7 @@ export default class Plugin {
37
37
  /**
38
38
  * Recommended version of defining screens since it has some tested defaults
39
39
  */
40
- defineScreenHandler<S>(handler: CreateScreenHandler<S>): string;
40
+ defineScreenHandler(handler: CreateScreenHandler): string;
41
41
  /**
42
42
  * Advanced version of defining screens, may lead to memory leaks if used misused
43
43
  */
package/dist/index.d.ts CHANGED
@@ -19,6 +19,12 @@ export { default as ScreenHandlerResponse } from './types/handler/ui/screen/Scre
19
19
  export { default as ScreenHandlerArgs } from './types/handler/ui/screen/ScreenHandlerArgs';
20
20
  export { default as CreateScreenHandler } from './types/handler/ui/screen/CreateScreenHandler';
21
21
  export { default as CreateCustomScreenHandler } from './types/handler/ui/screen/CreateCustomScreenHandler';
22
+ export { default as PluginSourceHandlerResponse } from './types/handler/plugin/source/PluginSourceHandlerResponse';
23
+ export { default as PluginSourceHandlerArgs } from './types/handler/plugin/source/PluginSourceHandlerArgs';
24
+ export { default as CreatePluginSourceHandler } from './types/handler/plugin/source/CreatePluginSourceHandler';
25
+ export { default as PluginFactoryHandlerResponse } from './types/handler/plugin/factory/PluginFactoryHandlerResponse';
26
+ export { default as PluginFactoryHandlerArgs } from './types/handler/plugin/factory/PluginFactoryHandlerArgs';
27
+ export { default as CreatePluginFactoryHandler } from './types/handler/plugin/factory/CreatePluginFactoryHandler';
22
28
  export { default as MetaPreview } from './types/handler/media/catalog/MetaPreview';
23
29
  export { default as CreateCatalogHandler } from './types/handler/media/catalog/CreateCatalogHandler';
24
30
  export { default as CatalogHandlerResponse } from './types/handler/media/catalog/CatalogHandlerResponse';
@@ -26,9 +32,3 @@ export { default as CatalogHandlerArgs } from './types/handler/media/catalog/Cat
26
32
  export { default as ResourceBrowseOptionDefaults } from './types/handler/media/browse-option/ResourceBrowseOptionDefaults';
27
33
  export { default as ResourceBrowseOptionArgs } from './types/handler/media/browse-option/ResourceBrowseOptionArgs';
28
34
  export { default as ResourceBrowseOption } from './types/handler/media/browse-option/ResourceBrowseOption';
29
- export { default as PluginSourceHandlerResponse } from './types/handler/plugin/source/PluginSourceHandlerResponse';
30
- export { default as PluginSourceHandlerArgs } from './types/handler/plugin/source/PluginSourceHandlerArgs';
31
- export { default as CreatePluginSourceHandler } from './types/handler/plugin/source/CreatePluginSourceHandler';
32
- export { default as PluginFactoryHandlerResponse } from './types/handler/plugin/factory/PluginFactoryHandlerResponse';
33
- export { default as PluginFactoryHandlerArgs } from './types/handler/plugin/factory/PluginFactoryHandlerArgs';
34
- export { default as CreatePluginFactoryHandler } from './types/handler/plugin/factory/CreatePluginFactoryHandler';
@@ -10,6 +10,5 @@ type CreateCustomScreenHandler<S = any> = BaseHandler<ScreenHandlerArgs<S>, Scre
10
10
  * If undefined screen state won't be stored
11
11
  */
12
12
  readonly initialState?: S;
13
- readonly test?: S;
14
13
  };
15
14
  export default CreateCustomScreenHandler;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d-najd/universal-media-tracker-sdk",
3
- "version": "0.3.7",
3
+ "version": "0.3.9",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [