@exodus/bytes 1.0.0-rc.1 → 1.0.0-rc.2

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/hex.js +1 -1
  2. package/package.json +1 -1
package/hex.js CHANGED
@@ -20,7 +20,7 @@ export function toHex(arr) {
20
20
  if (!hexArray) hexArray = Array.from({ length: 256 }, (_, i) => i.toString(16).padStart(2, '0'))
21
21
  const length = arr.length // this helps Hermes
22
22
 
23
- if (length > 3000) {
23
+ if (length > 30000) {
24
24
  // Limit concatenation to avoid excessive GC
25
25
  // Thresholds checked on Hermes
26
26
  const concat = []
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/bytes",
3
- "version": "1.0.0-rc.1",
3
+ "version": "1.0.0-rc.2",
4
4
  "description": "Various operations on Uint8Array data",
5
5
  "scripts": {
6
6
  "lint": "eslint .",