@metamask/snaps-simulation 1.0.0 → 1.0.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.
- package/CHANGELOG.md +11 -1
- package/package.json +31 -16
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
# Changelog
|
|
2
|
+
|
|
2
3
|
All notable changes to this project will be documented in this file.
|
|
3
4
|
|
|
4
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
@@ -6,9 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
6
7
|
|
|
7
8
|
## [Unreleased]
|
|
8
9
|
|
|
10
|
+
## [1.0.1]
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- Fix invalid `exports` field ([#2740](https://github.com/MetaMask/snaps/pull/2740))
|
|
15
|
+
|
|
9
16
|
## [1.0.0]
|
|
17
|
+
|
|
10
18
|
### Added
|
|
19
|
+
|
|
11
20
|
- Initial release of `@metamask/snaps-simulation` package ([#2727](https://github.com/MetaMask/snaps/pull/2727))
|
|
12
21
|
|
|
13
|
-
[Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-simulation@1.0.
|
|
22
|
+
[Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-simulation@1.0.1...HEAD
|
|
23
|
+
[1.0.1]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-simulation@1.0.0...@metamask/snaps-simulation@1.0.1
|
|
14
24
|
[1.0.0]: https://github.com/MetaMask/snaps/releases/tag/@metamask/snaps-simulation@1.0.0
|
package/package.json
CHANGED
|
@@ -1,11 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask/snaps-simulation",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "A simulation framework for MetaMask Snaps, enabling headless testing of Snaps in a controlled environment",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"MetaMask",
|
|
7
|
+
"Snaps",
|
|
8
|
+
"Ethereum"
|
|
9
|
+
],
|
|
10
|
+
"homepage": "https://github.com/MetaMask/snaps/tree/main/packages/snaps-simulation#readme",
|
|
11
|
+
"bugs": {
|
|
12
|
+
"url": "https://github.com/MetaMask/snaps/issues"
|
|
13
|
+
},
|
|
5
14
|
"repository": {
|
|
6
15
|
"type": "git",
|
|
7
16
|
"url": "https://github.com/MetaMask/snaps.git"
|
|
8
17
|
},
|
|
18
|
+
"license": "ISC",
|
|
9
19
|
"sideEffects": false,
|
|
10
20
|
"exports": {
|
|
11
21
|
".": {
|
|
@@ -14,8 +24,8 @@
|
|
|
14
24
|
"default": "./dist/index.mjs"
|
|
15
25
|
},
|
|
16
26
|
"require": {
|
|
17
|
-
"
|
|
18
|
-
"
|
|
27
|
+
"types": "./dist/index.d.cts",
|
|
28
|
+
"default": "./dist/index.cjs"
|
|
19
29
|
}
|
|
20
30
|
},
|
|
21
31
|
"./package.json": "./package.json"
|
|
@@ -27,18 +37,22 @@
|
|
|
27
37
|
"dist"
|
|
28
38
|
],
|
|
29
39
|
"scripts": {
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
40
|
+
"build": "ts-bridge --project tsconfig.build.json --verbose --clean --no-references",
|
|
41
|
+
"changelog:update": "../../scripts/update-changelog.sh @metamask/snaps-simulation",
|
|
42
|
+
"changelog:validate": "../../scripts/validate-changelog.sh @metamask/snaps-simulation",
|
|
43
|
+
"lint": "yarn lint:eslint && yarn lint:misc --check && yarn changelog:validate && yarn lint:dependencies",
|
|
44
|
+
"lint:ci": "yarn lint",
|
|
45
|
+
"lint:dependencies": "depcheck",
|
|
33
46
|
"lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx",
|
|
34
|
-
"lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore",
|
|
35
|
-
"lint": "yarn lint:eslint && yarn lint:misc --check && yarn lint:changelog && yarn lint:dependencies",
|
|
36
47
|
"lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write",
|
|
37
|
-
"lint:
|
|
38
|
-
"build": "ts-bridge --project tsconfig.build.json --verbose --no-references",
|
|
48
|
+
"lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore",
|
|
39
49
|
"publish:preview": "yarn npm publish --tag preview",
|
|
40
|
-
"
|
|
41
|
-
"
|
|
50
|
+
"since-latest-release": "../../scripts/since-latest-release.sh",
|
|
51
|
+
"test": "jest --reporters=jest-silent-reporter",
|
|
52
|
+
"test:clean": "jest --clearCache",
|
|
53
|
+
"test:post": "jest-it-up",
|
|
54
|
+
"test:verbose": "jest --verbose",
|
|
55
|
+
"test:watch": "jest --watch"
|
|
42
56
|
},
|
|
43
57
|
"dependencies": {
|
|
44
58
|
"@metamask/base-controller": "^6.0.2",
|
|
@@ -48,9 +62,9 @@
|
|
|
48
62
|
"@metamask/key-tree": "^9.1.2",
|
|
49
63
|
"@metamask/permission-controller": "^11.0.0",
|
|
50
64
|
"@metamask/phishing-controller": "^12.0.2",
|
|
51
|
-
"@metamask/snaps-controllers": "^9.
|
|
65
|
+
"@metamask/snaps-controllers": "^9.8.0",
|
|
52
66
|
"@metamask/snaps-rpc-methods": "^11.1.1",
|
|
53
|
-
"@metamask/snaps-sdk": "^6.5.
|
|
67
|
+
"@metamask/snaps-sdk": "^6.5.1",
|
|
54
68
|
"@metamask/snaps-utils": "^8.1.1",
|
|
55
69
|
"@metamask/superstruct": "^3.1.0",
|
|
56
70
|
"@metamask/utils": "^9.2.1",
|
|
@@ -86,8 +100,9 @@
|
|
|
86
100
|
"express": "^4.18.2",
|
|
87
101
|
"jest": "^29.0.2",
|
|
88
102
|
"jest-it-up": "^2.0.0",
|
|
89
|
-
"
|
|
90
|
-
"prettier
|
|
103
|
+
"jest-silent-reporter": "^0.6.0",
|
|
104
|
+
"prettier": "^2.8.8",
|
|
105
|
+
"prettier-plugin-packagejson": "^2.5.2",
|
|
91
106
|
"ts-jest": "^29.1.1",
|
|
92
107
|
"typescript": "~5.3.3"
|
|
93
108
|
},
|