ic-mops 0.34.0 → 0.34.1-0
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/cli.ts +1 -1
- package/dist/cli.js +1 -1
- package/dist/mops.d.ts +0 -4
- package/dist/mops.js +1 -5
- package/dist/package.json +1 -1
- package/mops.ts +2 -12
- package/package.json +1 -1
package/cli.ts
CHANGED
package/dist/cli.js
CHANGED
package/dist/mops.d.ts
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { Identity } from '@dfinity/agent';
|
|
2
2
|
import { Config } from './types.js';
|
|
3
|
-
import { mainActor, storageActor } from './api/actors.js';
|
|
4
|
-
import { getNetwork } from './api/network.js';
|
|
5
|
-
import { getHighestVersion } from './api/getHighestVersion.js';
|
|
6
3
|
export declare let apiVersion: string;
|
|
7
4
|
export declare let globalConfigDir: string;
|
|
8
5
|
export declare let globalCacheDir: string;
|
|
@@ -27,4 +24,3 @@ export declare function formatDir(name: string, version: string): string;
|
|
|
27
24
|
export declare function formatGithubDir(name: string, repo: string): string;
|
|
28
25
|
export declare function readDfxJson(): any;
|
|
29
26
|
export declare function checkApiCompatibility(): Promise<boolean>;
|
|
30
|
-
export { getNetwork, mainActor, storageActor, getHighestVersion, };
|
package/dist/mops.js
CHANGED
|
@@ -6,9 +6,7 @@ import prompts from 'prompts';
|
|
|
6
6
|
import ncp from 'ncp';
|
|
7
7
|
import fetch from 'node-fetch';
|
|
8
8
|
import { decodeFile } from './pem.js';
|
|
9
|
-
import { mainActor
|
|
10
|
-
import { getNetwork } from './api/network.js';
|
|
11
|
-
import { getHighestVersion } from './api/getHighestVersion.js';
|
|
9
|
+
import { mainActor } from './api/actors.js';
|
|
12
10
|
if (!global.fetch) {
|
|
13
11
|
global.fetch = fetch;
|
|
14
12
|
}
|
|
@@ -235,5 +233,3 @@ export async function checkApiCompatibility() {
|
|
|
235
233
|
}
|
|
236
234
|
return true;
|
|
237
235
|
}
|
|
238
|
-
// compatibility with older versions
|
|
239
|
-
export { getNetwork, mainActor, storageActor, getHighestVersion, };
|
package/dist/package.json
CHANGED
package/mops.ts
CHANGED
|
@@ -9,9 +9,7 @@ import fetch from 'node-fetch';
|
|
|
9
9
|
|
|
10
10
|
import {decodeFile} from './pem.js';
|
|
11
11
|
import {Config} from './types.js';
|
|
12
|
-
import {mainActor
|
|
13
|
-
import {getNetwork} from './api/network.js';
|
|
14
|
-
import {getHighestVersion} from './api/getHighestVersion.js';
|
|
12
|
+
import {mainActor} from './api/actors.js';
|
|
15
13
|
|
|
16
14
|
|
|
17
15
|
if (!global.fetch) {
|
|
@@ -269,12 +267,4 @@ export async function checkApiCompatibility() {
|
|
|
269
267
|
console.log('-'.repeat(50));
|
|
270
268
|
}
|
|
271
269
|
return true;
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
// compatibility with older versions
|
|
275
|
-
export {
|
|
276
|
-
getNetwork,
|
|
277
|
-
mainActor,
|
|
278
|
-
storageActor,
|
|
279
|
-
getHighestVersion,
|
|
280
|
-
};
|
|
270
|
+
}
|