@hyperlane-xyz/utils 31.0.0 → 31.1.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.
- package/dist/messages.js +1 -1
- package/package.json +2 -2
package/dist/messages.js
CHANGED
|
@@ -41,7 +41,7 @@ export function parseMessage(message) {
|
|
|
41
41
|
const RECIPIENT_OFFSET = 45;
|
|
42
42
|
const BODY_OFFSET = 77;
|
|
43
43
|
const buf = Buffer.from(utils.arrayify(message));
|
|
44
|
-
const version = buf.
|
|
44
|
+
const version = buf.readUInt8(VERSION_OFFSET);
|
|
45
45
|
const nonce = buf.readUInt32BE(NONCE_OFFSET);
|
|
46
46
|
const origin = buf.readUInt32BE(ORIGIN_OFFSET);
|
|
47
47
|
const sender = utils.hexlify(buf.subarray(SENDER_OFFSET, DESTINATION_OFFSET));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyperlane-xyz/utils",
|
|
3
|
-
"version": "31.
|
|
3
|
+
"version": "31.1.0",
|
|
4
4
|
"description": "General utilities and types for the Hyperlane network",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Hyperlane",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"mocha": "^11.5.0",
|
|
63
63
|
"sinon": "^13.0.2",
|
|
64
64
|
"typescript": "6.0.2",
|
|
65
|
-
"@hyperlane-xyz/tsconfig": "^31.
|
|
65
|
+
"@hyperlane-xyz/tsconfig": "^31.1.0"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|
|
68
68
|
"@google-cloud/pino-logging-gcp-config": "^1.3.0",
|