@metamask-previews/react-data-query 2.0.0-preview-56cdd31f1 → 2.0.0-preview-cbae429b5

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +1 -2
  2. package/package.json +16 -13
package/CHANGELOG.md CHANGED
@@ -14,11 +14,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
14
14
  - This assumes that the data service method you want to call uses `BaseDataService.executeMutation` to make the request instead of `fetchQuery`, but should also take a trailing `globalId` argument.
15
15
  - Retries are disabled by default.
16
16
  - Also, the query client returned by `createUIQueryClient` is now aware of mutations and will ensure that they are copied from data service query clients properly.
17
- - Add support for Node.js 26 ([#10981](https://github.com/MetaMask/core/pull/10981))
18
17
 
19
18
  ### Changed
20
19
 
21
- - Bump `@metamask/utils` from `^11.12.0` to `^12.0.1` ([#10192](https://github.com/MetaMask/core/pull/10192), [#11107](https://github.com/MetaMask/core/pull/11107))
20
+ - Bump `@metamask/utils` from `^11.12.0` to `^12.0.0` ([#10192](https://github.com/MetaMask/core/pull/10192))
22
21
  - Add `uuid` `^11.1.1` as a dependency ([#9324](https://github.com/MetaMask/core/pull/9324))
23
22
  - Bump `@tanstack/query-core` and `@tanstack/react-query` from `^5.62.16` to `^5.89.0` ([#9324](https://github.com/MetaMask/core/pull/9324))
24
23
  - Bump `@metamask/base-data-service` from `^2.0.0` to `^2.1.0` ([#10502](https://github.com/MetaMask/core/pull/10502))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metamask-previews/react-data-query",
3
- "version": "2.0.0-preview-56cdd31f1",
3
+ "version": "2.0.0-preview-cbae429b5",
4
4
  "description": "Provides React utilities for consuming data services",
5
5
  "keywords": [
6
6
  "Ethereum",
@@ -39,17 +39,17 @@
39
39
  "build:only-clean": "rimraf './dist' './tsconfig.build.tsbuildinfo'",
40
40
  "changelog:update": "../../scripts/update-changelog.sh @metamask/react-data-query",
41
41
  "changelog:validate": "../../scripts/validate-changelog.sh @metamask/react-data-query",
42
- "lint:tsconfigs": "node --import ../../scripts/resolver/register.ts ../../scripts/lint-tsconfigs/lint-tsconfigs.ts",
43
- "lint:tsconfigs:fix": "node --import ../../scripts/resolver/register.ts ../../scripts/lint-tsconfigs/lint-tsconfigs.ts --fix",
42
+ "lint:tsconfigs": "node --import ../../scripts/resolver/register.ts --experimental-transform-types ../../scripts/lint-tsconfigs/lint-tsconfigs.ts",
43
+ "lint:tsconfigs:fix": "node --import ../../scripts/resolver/register.ts --experimental-transform-types ../../scripts/lint-tsconfigs/lint-tsconfigs.ts --fix",
44
44
  "since-latest-release": "../../scripts/since-latest-release.sh",
45
- "test": "vitest",
46
- "test:clean": "vitest --clearCache",
47
- "test:verbose": "vitest --reporter=verbose",
48
- "test:watch": "vitest --watch"
45
+ "test": "NODE_OPTIONS=--experimental-vm-modules jest --reporters=jest-silent-reporter",
46
+ "test:clean": "NODE_OPTIONS=--experimental-vm-modules jest --clearCache",
47
+ "test:verbose": "NODE_OPTIONS=--experimental-vm-modules jest --verbose",
48
+ "test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch"
49
49
  },
50
50
  "dependencies": {
51
51
  "@metamask/base-data-service": "^2.1.0",
52
- "@metamask/utils": "^12.0.1",
52
+ "@metamask/utils": "^12.0.0",
53
53
  "@tanstack/query-core": "^5.103.2",
54
54
  "@tanstack/react-query": "^5.103.2",
55
55
  "uuid": "^11.1.1"
@@ -57,13 +57,16 @@
57
57
  "devDependencies": {
58
58
  "@metamask/auto-changelog": "^6.2.1",
59
59
  "@metamask/messenger": "^3.0.0",
60
+ "@types/jest": "^30.0.0",
60
61
  "@typescript/native": "npm:typescript@^7.0.2",
62
+ "deepmerge": "^4.3.1",
63
+ "jest": "^30.5.2",
61
64
  "nock": "^13.5.6",
62
65
  "rimraf": "^6.1.3",
63
- "typedoc": "^0.28.20",
64
- "typedoc-plugin-missing-exports": "^4.1.4",
65
- "typescript": "npm:@typescript/typescript6@^6.0.2",
66
- "vitest": "^5.0.0"
66
+ "ts-jest": "^29.4.14",
67
+ "typedoc": "^0.25.13",
68
+ "typedoc-plugin-missing-exports": "^2.0.0",
69
+ "typescript": "npm:@typescript/typescript6@^6.0.2"
67
70
  },
68
71
  "peerDependencies": {
69
72
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
@@ -79,6 +82,6 @@
79
82
  }
80
83
  },
81
84
  "engines": {
82
- "node": "^22.14.0 || ^24 || ^26"
85
+ "node": "^22.14.0 || ^24"
83
86
  }
84
87
  }