@dcl/hooks 1.6.0 → 2.0.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.
Files changed (2) hide show
  1. package/README.md +4 -1
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -13,7 +13,10 @@ npm install @dcl/hooks
13
13
  ### Peer Dependencies
14
14
 
15
15
  - `react` >= 18.0.0
16
- - `decentraland-crypto-fetch` >= 2.0.1 (only needed for `useNotifications`)
16
+ - `decentraland-crypto-fetch` >= 2.0.0 (only needed for `useNotifications`).
17
+ Version 3 signs the ADR-44 payload with the metadata bytes bound into the signature and
18
+ requires Node >= 22; version 2 does neither. npm installs the highest match, so pin the
19
+ major your app targets if that matters to you.
17
20
 
18
21
  ## Available Hooks
19
22
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcl/hooks",
3
- "version": "1.6.0",
3
+ "version": "2.0.0",
4
4
  "type": "module",
5
5
  "main": "esm/index.js",
6
6
  "module": "esm/index.js",
@@ -19,7 +19,7 @@
19
19
  "test:coverage": "npm run test -- --coverage"
20
20
  },
21
21
  "peerDependencies": {
22
- "decentraland-crypto-fetch": "^2.0.1",
22
+ "decentraland-crypto-fetch": ">=2.0.0",
23
23
  "react": "^18.0.0"
24
24
  },
25
25
  "devDependencies": {
@@ -31,7 +31,7 @@
31
31
  "@types/ua-parser-js": "^0.7.39",
32
32
  "@typescript-eslint/eslint-plugin": "^7.15.0",
33
33
  "@typescript-eslint/parser": "^7.15.0",
34
- "decentraland-crypto-fetch": "^2.0.1",
34
+ "decentraland-crypto-fetch": "^3.0.0",
35
35
  "eslint": "^8.57.0",
36
36
  "eslint-config-prettier": "^9.1.0",
37
37
  "eslint-import-resolver-jest": "^3.0.2",
@@ -80,5 +80,5 @@
80
80
  "<rootDir>/test/setup.ts"
81
81
  ]
82
82
  },
83
- "commit": "5057e08c93dfdcc839c5f209ebfd28cf35908619"
83
+ "commit": "05ecd74f92662acdf7bd81c3f60c1d676f456a2f"
84
84
  }