ic-mops 1.2.0 → 1.4.0-pre.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.
@@ -32,8 +32,8 @@ export class BenchReplica {
32
32
  else {
33
33
  let pocketIcBin = await toolchain.bin('pocket-ic');
34
34
  let config = readConfig();
35
- if (config.toolchain?.['pocket-ic'] !== '4.0.0') {
36
- console.error('Current Mops CLI only supports pocket-ic 4.0.0');
35
+ if (config.toolchain?.['pocket-ic'] !== '6.0.0') {
36
+ console.error('Current Mops CLI only supports pocket-ic 6.0.0');
37
37
  process.exit(1);
38
38
  }
39
39
  this.pocketIcServer = await PocketIcServer.start({
@@ -87,8 +87,8 @@ export class Replica {
87
87
 
88
88
  // eslint-disable-next-line
89
89
  let config = readConfig();
90
- if (config.toolchain?.['pocket-ic'] !== '4.0.0') {
91
- console.error('Current Mops CLI only supports pocket-ic 4.0.0');
90
+ if (config.toolchain?.['pocket-ic'] !== '6.0.0') {
91
+ console.error('Current Mops CLI only supports pocket-ic 6.0.0');
92
92
  process.exit(1);
93
93
  }
94
94
 
@@ -25,8 +25,8 @@ export class BenchReplica {
25
25
  else {
26
26
  let pocketIcBin = await toolchain.bin('pocket-ic');
27
27
  let config = readConfig();
28
- if (config.toolchain?.['pocket-ic'] !== '4.0.0') {
29
- console.error('Current Mops CLI only supports pocket-ic 4.0.0');
28
+ if (config.toolchain?.['pocket-ic'] !== '6.0.0') {
29
+ console.error('Current Mops CLI only supports pocket-ic 6.0.0');
30
30
  process.exit(1);
31
31
  }
32
32
  this.pocketIcServer = await PocketIcServer.start({
@@ -65,8 +65,8 @@ export class Replica {
65
65
  let pocketIcBin = await toolchain.bin('pocket-ic');
66
66
  // eslint-disable-next-line
67
67
  let config = readConfig();
68
- if (config.toolchain?.['pocket-ic'] !== '4.0.0') {
69
- console.error('Current Mops CLI only supports pocket-ic 4.0.0');
68
+ if (config.toolchain?.['pocket-ic'] !== '6.0.0') {
69
+ console.error('Current Mops CLI only supports pocket-ic 6.0.0');
70
70
  process.exit(1);
71
71
  }
72
72
  this.pocketIcServer = await PocketIcServer.start({
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ic-mops",
3
- "version": "1.2.0",
3
+ "version": "1.4.0-pre.0",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "mops": "bin/mops.js",
@@ -28,11 +28,11 @@
28
28
  "node": ">=18.0.0"
29
29
  },
30
30
  "dependencies": {
31
- "@dfinity/agent": "2.1.0",
32
- "@dfinity/candid": "2.1.0",
33
- "@dfinity/identity": "2.1.0",
34
- "@dfinity/identity-secp256k1": "2.1.0",
35
- "@dfinity/principal": "2.1.0",
31
+ "@dfinity/agent": "2.2.0",
32
+ "@dfinity/candid": "2.2.0",
33
+ "@dfinity/identity": "2.2.0",
34
+ "@dfinity/identity-secp256k1": "2.2.0",
35
+ "@dfinity/principal": "2.2.0",
36
36
  "@iarna/toml": "2.2.5",
37
37
  "@noble/hashes": "1.5.0",
38
38
  "as-table": "1.0.55",
@@ -63,7 +63,7 @@
63
63
  "node-fetch": "3.3.2",
64
64
  "octokit": "3.1.2",
65
65
  "pem-file": "1.0.1",
66
- "pic-ic": "0.5.3",
66
+ "pic-ic": "0.7.0",
67
67
  "promisify-child-process": "4.1.2",
68
68
  "prompts": "2.4.2",
69
69
  "semver": "7.6.3",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ic-mops",
3
- "version": "1.2.0",
3
+ "version": "1.4.0-pre.0",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "mops": "dist/bin/mops.js",
@@ -44,11 +44,11 @@
44
44
  "esbuild": "esbuild"
45
45
  },
46
46
  "dependencies": {
47
- "@dfinity/agent": "2.1.0",
48
- "@dfinity/candid": "2.1.0",
49
- "@dfinity/identity": "2.1.0",
50
- "@dfinity/identity-secp256k1": "2.1.0",
51
- "@dfinity/principal": "2.1.0",
47
+ "@dfinity/agent": "2.2.0",
48
+ "@dfinity/candid": "2.2.0",
49
+ "@dfinity/identity": "2.2.0",
50
+ "@dfinity/identity-secp256k1": "2.2.0",
51
+ "@dfinity/principal": "2.2.0",
52
52
  "@iarna/toml": "2.2.5",
53
53
  "@noble/hashes": "1.5.0",
54
54
  "as-table": "1.0.55",
@@ -79,7 +79,7 @@
79
79
  "node-fetch": "3.3.2",
80
80
  "octokit": "3.1.2",
81
81
  "pem-file": "1.0.1",
82
- "pic-ic": "0.5.3",
82
+ "pic-ic": "0.7.0",
83
83
  "promisify-child-process": "4.1.2",
84
84
  "prompts": "2.4.2",
85
85
  "semver": "7.6.3",