ic-mops 1.11.0 → 1.12.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/CHANGELOG.md +9 -0
- package/api/actors.ts +2 -2
- package/api/downloadPackageFiles.ts +1 -1
- package/bun.lock +234 -198
- package/bundle/bench/bench-canister.mo +101 -109
- package/bundle/bench/user-bench.mo +6 -10
- package/bundle/cli.js +960 -889
- package/bundle/cli.tgz +0 -0
- package/bundle/declarations/bench/bench.did +3 -3
- package/bundle/declarations/bench/bench.did.d.ts +3 -3
- package/bundle/declarations/bench/index.d.ts +3 -3
- package/bundle/declarations/bench/index.js +1 -1
- package/bundle/declarations/main/index.d.ts +3 -3
- package/bundle/declarations/main/index.js +1 -1
- package/bundle/declarations/main/main.did +78 -121
- package/bundle/declarations/main/main.did.d.ts +48 -98
- package/bundle/declarations/main/main.did.js +53 -107
- package/bundle/declarations/storage/index.d.ts +3 -3
- package/bundle/declarations/storage/index.js +4 -4
- package/bundle/declarations/storage/storage.did.d.ts +3 -3
- package/bundle/package.json +1 -1
- package/bundle/templates/src/lib.mo +13 -13
- package/bundle/templates/test/lib.test.mo +2 -2
- package/commands/add.ts +1 -1
- package/commands/available-updates.ts +20 -7
- package/commands/bench-replica.ts +21 -9
- package/commands/maintainer.ts +1 -1
- package/commands/outdated.ts +8 -1
- package/commands/owner.ts +1 -1
- package/commands/replica.ts +31 -18
- package/commands/test/test.ts +37 -97
- package/commands/test/utils.ts +75 -1
- package/commands/update.ts +19 -2
- package/declarations/bench/bench.did.d.ts +3 -3
- package/declarations/bench/index.d.ts +3 -3
- package/declarations/bench/index.js +1 -1
- package/declarations/main/index.d.ts +3 -3
- package/declarations/main/index.js +1 -1
- package/declarations/main/main.did.d.ts +3 -3
- package/declarations/storage/index.d.ts +3 -3
- package/declarations/storage/index.js +4 -4
- package/declarations/storage/storage.did.d.ts +3 -3
- package/dist/api/actors.d.ts +2 -2
- package/dist/api/actors.js +1 -1
- package/dist/api/downloadPackageFiles.d.ts +1 -1
- package/dist/api/downloadPackageFiles.js +1 -1
- package/dist/commands/add.js +1 -1
- package/dist/commands/available-updates.js +19 -7
- package/dist/commands/bench-replica.d.ts +3 -2
- package/dist/commands/bench-replica.js +17 -6
- package/dist/commands/maintainer.js +1 -1
- package/dist/commands/outdated.js +7 -1
- package/dist/commands/owner.js +1 -1
- package/dist/commands/replica.d.ts +4 -3
- package/dist/commands/replica.js +25 -13
- package/dist/commands/test/test.js +29 -81
- package/dist/commands/test/utils.d.ts +6 -0
- package/dist/commands/test/utils.js +61 -0
- package/dist/commands/update.js +16 -2
- package/dist/declarations/bench/bench.did.d.ts +3 -3
- package/dist/declarations/bench/index.d.ts +3 -3
- package/dist/declarations/bench/index.js +1 -1
- package/dist/declarations/main/index.d.ts +3 -3
- package/dist/declarations/main/index.js +1 -1
- package/dist/declarations/main/main.did.d.ts +3 -3
- package/dist/declarations/storage/index.d.ts +3 -3
- package/dist/declarations/storage/index.js +4 -4
- package/dist/declarations/storage/storage.did.d.ts +3 -3
- package/dist/helpers/get-dep-name.d.ts +1 -0
- package/dist/helpers/get-dep-name.js +3 -0
- package/dist/mops.d.ts +1 -1
- package/dist/package.json +5 -15
- package/dist/pem.d.ts +2 -2
- package/dist/pem.js +2 -2
- package/helpers/get-dep-name.ts +4 -0
- package/mops.ts +1 -1
- package/package.json +5 -15
- package/pem.ts +2 -2
- package/tsconfig.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Mops CLI Changelog
|
|
2
2
|
|
|
3
|
+
## 1.12.0
|
|
4
|
+
- Add pinned dependencies support to `mops update` and `mops outdated` commands
|
|
5
|
+
- Add support for pocket-ic v9
|
|
6
|
+
- Migrate from `@dfinity/*` packages to `@icp-sdk/core` package
|
|
7
|
+
- `mops test` now runs replica tests sequentially
|
|
8
|
+
|
|
9
|
+
## 1.11.1
|
|
10
|
+
- Fix `Cannot find module 'simple-cbor'` error
|
|
11
|
+
|
|
3
12
|
## 1.11.0
|
|
4
13
|
- Fix `mops bench` to work with moc >= 0.15.0
|
|
5
14
|
- `mops test` now detects persistent actor to run in replica mode
|
package/api/actors.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {Actor, HttpAgent, Identity} from '@
|
|
2
|
-
import {Principal} from '@
|
|
1
|
+
import {Actor, HttpAgent, Identity} from '@icp-sdk/core/agent';
|
|
2
|
+
import {Principal} from '@icp-sdk/core/principal';
|
|
3
3
|
|
|
4
4
|
import {_SERVICE, idlFactory} from '../declarations/main/main.did.js';
|
|
5
5
|
import {idlFactory as storageIdlFactory} from '../declarations/storage/storage.did.js';
|