@iobroker/js-controller-adapter 6.0.8 → 6.0.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.
@@ -399,6 +399,12 @@ export declare class AdapterClass extends EventEmitter {
399
399
  /** Controller for messaging related functionality */
400
400
  private readonly uiMessagingController;
401
401
  constructor(options: AdapterOptions | string);
402
+ /**
403
+ * Get the adapter scoped package identifier of a node module
404
+ *
405
+ * @param moduleName name of the node module
406
+ */
407
+ getAdapterScopedPackageIdentifier(moduleName: string): string;
402
408
  installNodeModule(moduleName: string, options: InstallNodeModuleOptions): Promise<CommandResult>;
403
409
  private _installNodeModule;
404
410
  /**
@@ -327,6 +327,9 @@ class AdapterClass extends import_node_events.EventEmitter {
327
327
  this.setExecutableCapabilities = import_js_controller_common.tools.setExecutableCapabilities;
328
328
  this._init();
329
329
  }
330
+ getAdapterScopedPackageIdentifier(moduleName) {
331
+ return (0, import_utils.getAdapterScopedPackageIdentifier)({ moduleName, namespace: this.namespace });
332
+ }
330
333
  installNodeModule(moduleNameOrUrl, options) {
331
334
  import_validator.Validator.assertString(moduleNameOrUrl, "moduleNameOrUrl");
332
335
  import_validator.Validator.assertObject(options, "options");