@lodestar/reqresp 1.28.0-dev.eaa83aa741 → 1.28.0-dev.f55be17bd3

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.
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { MixedProtocol } from "../types.js";
3
2
  /**
4
3
  * Yields byte chunks for a `<request>`
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { RpcResponseStatusError } from "../interface.js";
3
2
  import { MixedProtocol, Protocol, ResponseOutgoing } from "../types.js";
4
3
  /**
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { Encoding, TypeSizes } from "../types.js";
3
2
  import { BufferedSource } from "../utils/index.js";
4
3
  /**
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  /**
3
2
  * ssz_snappy encoding strategy writer.
4
3
  * Yields byte chunks for encoded header and payload as defined in the spec:
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  export declare enum ChunkType {
3
2
  IDENTIFIER = 255,
4
3
  COMPRESSED = 0,
@@ -6,8 +5,8 @@ export declare enum ChunkType {
6
5
  PADDING = 254,
7
6
  SKIPPABLE = 128
8
7
  }
9
- export declare const IDENTIFIER: Buffer;
10
- export declare const IDENTIFIER_FRAME: Buffer;
8
+ export declare const IDENTIFIER: Buffer<ArrayBuffer>;
9
+ export declare const IDENTIFIER_FRAME: Buffer<ArrayBuffer>;
11
10
  /**
12
11
  * As per the snappy framing format for streams, the size of any uncompressed chunk can be
13
12
  * no longer than 65536 bytes.
@@ -1,3 +1,2 @@
1
- /// <reference types="node" />
2
1
  export declare function encodeSnappy(bytes: Buffer): AsyncGenerator<Buffer>;
3
2
  //# sourceMappingURL=compress.d.ts.map
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { Encoding } from "../types.js";
3
2
  /**
4
3
  * Encodes a UTF-8 string to 256 bytes max
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "bugs": {
12
12
  "url": "https://github.com/ChainSafe/lodestar/issues"
13
13
  },
14
- "version": "1.28.0-dev.eaa83aa741",
14
+ "version": "1.28.0-dev.f55be17bd3",
15
15
  "type": "module",
16
16
  "exports": {
17
17
  ".": {
@@ -48,15 +48,15 @@
48
48
  "lint": "biome check src/ test/",
49
49
  "lint:fix": "yarn run lint --write",
50
50
  "test": "yarn test:unit",
51
- "test:unit": "vitest --run --dir test/unit/",
51
+ "test:unit": "vitest run --dir test/unit/",
52
52
  "check-readme": "typescript-docs-verifier"
53
53
  },
54
54
  "dependencies": {
55
55
  "@chainsafe/fast-crc32c": "^4.2.0",
56
56
  "@libp2p/interface": "^1.3.0",
57
- "@lodestar/config": "1.28.0-dev.eaa83aa741",
58
- "@lodestar/params": "1.28.0-dev.eaa83aa741",
59
- "@lodestar/utils": "1.28.0-dev.eaa83aa741",
57
+ "@lodestar/config": "1.28.0-dev.f55be17bd3",
58
+ "@lodestar/params": "1.28.0-dev.f55be17bd3",
59
+ "@lodestar/utils": "1.28.0-dev.f55be17bd3",
60
60
  "it-all": "^3.0.4",
61
61
  "it-pipe": "^3.0.1",
62
62
  "snappy": "^7.2.2",
@@ -65,8 +65,8 @@
65
65
  "uint8arraylist": "^2.4.7"
66
66
  },
67
67
  "devDependencies": {
68
- "@lodestar/logger": "1.28.0-dev.eaa83aa741",
69
- "@lodestar/types": "1.28.0-dev.eaa83aa741",
68
+ "@lodestar/logger": "1.28.0-dev.f55be17bd3",
69
+ "@lodestar/types": "1.28.0-dev.f55be17bd3",
70
70
  "libp2p": "1.4.3"
71
71
  },
72
72
  "peerDependencies": {
@@ -80,5 +80,5 @@
80
80
  "reqresp",
81
81
  "blockchain"
82
82
  ],
83
- "gitHead": "e1aeb658e0a8fb745bcb0bd580bc7b86b09fc30e"
83
+ "gitHead": "54f9104d7d7bbe34709d0011b500fdd14884d36c"
84
84
  }