starknet 7.6.3 → 7.6.4
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 +6 -0
- package/dist/index.global.js +1 -1
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## [7.6.4](https://github.com/starknet-io/starknet.js/compare/v7.6.3...v7.6.4) (2025-07-10)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
- allow numeric revision value for typed data ([d4c9627](https://github.com/starknet-io/starknet.js/commit/d4c962749fa994a654057a930087529c13fa9562))
|
|
6
|
+
|
|
1
7
|
## [7.6.3](https://github.com/starknet-io/starknet.js/compare/v7.6.2...v7.6.3) (2025-07-10)
|
|
2
8
|
|
|
3
9
|
### Bug Fixes
|
package/dist/index.global.js
CHANGED
|
@@ -14506,7 +14506,7 @@ ${indent}}` : "}";
|
|
|
14506
14506
|
assert(value >= min && value <= max, `${value} (${type}) is out of bounds [${min}, ${max}]`);
|
|
14507
14507
|
}
|
|
14508
14508
|
function identifyRevision({ types, domain }) {
|
|
14509
|
-
if (revisionConfiguration[TypedDataRevision.ACTIVE].domain in types && domain.revision === TypedDataRevision.ACTIVE)
|
|
14509
|
+
if (revisionConfiguration[TypedDataRevision.ACTIVE].domain in types && domain.revision?.toString() === TypedDataRevision.ACTIVE)
|
|
14510
14510
|
return TypedDataRevision.ACTIVE;
|
|
14511
14511
|
if (revisionConfiguration[TypedDataRevision.LEGACY].domain in types && (domain.revision ?? TypedDataRevision.LEGACY) === TypedDataRevision.LEGACY)
|
|
14512
14512
|
return TypedDataRevision.LEGACY;
|