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 CHANGED
@@ -285,7 +285,7 @@ program
285
285
  }
286
286
  });
287
287
 
288
- // temp: airdrop
288
+ // airdrop
289
289
  program
290
290
  .command('airdrop <check|claim> [canister]')
291
291
  .action(async (sub, canister) => {
package/dist/cli.js CHANGED
@@ -252,7 +252,7 @@ program
252
252
  await setUserProp(prop, value);
253
253
  }
254
254
  });
255
- // temp: airdrop
255
+ // airdrop
256
256
  program
257
257
  .command('airdrop <check|claim> [canister]')
258
258
  .action(async (sub, canister) => {
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, storageActor } from './api/actors.js';
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ic-mops",
3
- "version": "0.34.0",
3
+ "version": "0.34.1-0",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "mops": "dist/cli.js"
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, storageActor} from './api/actors.js';
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
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ic-mops",
3
- "version": "0.34.0",
3
+ "version": "0.34.1-0",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "mops": "dist/cli.js"