ic-mops 0.27.2 → 0.28.0-pre.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.
@@ -0,0 +1 @@
1
+ export declare function notifyInstalls(names: string[]): Promise<void>;
@@ -0,0 +1,8 @@
1
+ import { mainActor } from './mops.js';
2
+ import { resolvePackages } from './resolve-packages.js';
3
+ export async function notifyInstalls(names) {
4
+ let actor = await mainActor();
5
+ let resolvedPackages = await resolvePackages();
6
+ let packages = names.map(name => [name, resolvedPackages[name]]);
7
+ actor.notifyInstalls(packages);
8
+ }
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ export {};