@metamask/snaps-jest 8.14.0 → 8.14.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 CHANGED
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [8.14.1]
11
+
12
+ ### Fixed
13
+
14
+ - Pass proper origin to handlers ([#3292](https://github.com/MetaMask/snaps/pull/3292))
15
+
10
16
  ## [8.14.0]
11
17
 
12
18
  ### Added
@@ -357,7 +363,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
357
363
  - The version of the package no longer needs to match the version of all other
358
364
  MetaMask Snaps packages.
359
365
 
360
- [Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-jest@8.14.0...HEAD
366
+ [Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-jest@8.14.1...HEAD
367
+ [8.14.1]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-jest@8.14.0...@metamask/snaps-jest@8.14.1
361
368
  [8.14.0]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-jest@8.13.0...@metamask/snaps-jest@8.14.0
362
369
  [8.13.0]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-jest@8.12.0...@metamask/snaps-jest@8.13.0
363
370
  [8.12.0]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-jest@8.11.0...@metamask/snaps-jest@8.12.0
@@ -1,14 +1,14 @@
1
1
  import type { Infer } from "@metamask/superstruct";
2
2
  declare const SnapsEnvironmentOptionsStruct: import("@metamask/superstruct").Struct<{
3
3
  server: {
4
- port: number;
5
4
  enabled: boolean;
5
+ port: number;
6
6
  root: string;
7
7
  };
8
8
  }, {
9
9
  server: import("@metamask/superstruct").Struct<{
10
- port: number;
11
10
  enabled: boolean;
11
+ port: number;
12
12
  root: string;
13
13
  }, {
14
14
  enabled: import("@metamask/superstruct").Struct<boolean, null>;
@@ -52,8 +52,8 @@ export type SnapsEnvironmentOptions = Infer<typeof SnapsEnvironmentOptionsStruct
52
52
  */
53
53
  export declare function getOptions(testEnvironmentOptions: Record<string, unknown>): {
54
54
  server: {
55
- port: number;
56
55
  enabled: boolean;
56
+ port: number;
57
57
  root: string;
58
58
  };
59
59
  };
@@ -1,14 +1,14 @@
1
1
  import type { Infer } from "@metamask/superstruct";
2
2
  declare const SnapsEnvironmentOptionsStruct: import("@metamask/superstruct").Struct<{
3
3
  server: {
4
- port: number;
5
4
  enabled: boolean;
5
+ port: number;
6
6
  root: string;
7
7
  };
8
8
  }, {
9
9
  server: import("@metamask/superstruct").Struct<{
10
- port: number;
11
10
  enabled: boolean;
11
+ port: number;
12
12
  root: string;
13
13
  }, {
14
14
  enabled: import("@metamask/superstruct").Struct<boolean, null>;
@@ -52,8 +52,8 @@ export type SnapsEnvironmentOptions = Infer<typeof SnapsEnvironmentOptionsStruct
52
52
  */
53
53
  export declare function getOptions(testEnvironmentOptions: Record<string, unknown>): {
54
54
  server: {
55
- port: number;
56
55
  enabled: boolean;
56
+ port: number;
57
57
  root: string;
58
58
  };
59
59
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metamask/snaps-jest",
3
- "version": "8.14.0",
3
+ "version": "8.14.1",
4
4
  "description": "A Jest preset for end-to-end testing MetaMask Snaps, including a Jest environment, and a set of Jest matchers",
5
5
  "keywords": [
6
6
  "MetaMask",
@@ -60,10 +60,10 @@
60
60
  "@jest/environment": "^29.5.0",
61
61
  "@jest/expect": "^29.5.0",
62
62
  "@jest/globals": "^29.5.0",
63
- "@metamask/snaps-controllers": "^11.0.0",
64
- "@metamask/snaps-sdk": "^6.19.0",
65
- "@metamask/snaps-simulation": "^2.4.0",
66
- "@metamask/superstruct": "^3.1.0",
63
+ "@metamask/snaps-controllers": "^11.2.0",
64
+ "@metamask/snaps-sdk": "^6.22.0",
65
+ "@metamask/snaps-simulation": "^2.4.1",
66
+ "@metamask/superstruct": "^3.2.1",
67
67
  "@metamask/utils": "^11.2.0",
68
68
  "express": "^4.21.2",
69
69
  "jest-environment-node": "^29.5.0",
@@ -73,8 +73,8 @@
73
73
  "devDependencies": {
74
74
  "@jest/types": "^29.6.3",
75
75
  "@lavamoat/allow-scripts": "^3.0.4",
76
- "@metamask/auto-changelog": "^4.1.0",
77
- "@metamask/snaps-utils": "^9.0.1",
76
+ "@metamask/auto-changelog": "^5.0.1",
77
+ "@metamask/snaps-utils": "^9.2.0",
78
78
  "@swc/core": "1.3.78",
79
79
  "@swc/jest": "^0.2.26",
80
80
  "@ts-bridge/cli": "^0.6.1",