bun-memory 1.1.38 → 1.1.39

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 +2 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -28,7 +28,7 @@ bun add bun-memory
28
28
 
29
29
  ## Quick Start
30
30
 
31
- **Important**: [Example: Using Scratches (Recommended)](#example-using-scratches-recommended)
31
+ For maximum performance, it is highly recommended to read about [using scratches](#example-using-scratches-recommended).
32
32
 
33
33
  ```ts
34
34
  import Memory from 'bun-memory';
@@ -55,7 +55,7 @@ cs2.close();
55
55
  - `indexOf(needle, address, length, [all])` — Search for a buffer or array in memory (returns all matches if all=true)
56
56
  - `pattern(needle, address, length, [all])` — Find a byte pattern in memory (supports wildcards, returns all matches if all=true)
57
57
  - `read(address, scratch)` — Read memory into a scratch (no allocations)
58
- - `write(address, scratch)` — Write a scratch to memory
58
+ - `write(address, scratch, [force])` — Write a scratch to memory
59
59
  - Module map: `memory.modules['client.dll']`
60
60
  - Typed accessors: `bool`, `f32`, `i32`, `matrix4x4`, `u8`, `u64Array`, `vector3`, etc.
61
61
 
package/package.json CHANGED
@@ -22,7 +22,7 @@
22
22
  "url": "git://github.com/obscuritysrl/bun-memory.git"
23
23
  },
24
24
  "type": "module",
25
- "version": "1.1.38",
25
+ "version": "1.1.39",
26
26
  "main": "./index.ts",
27
27
  "keywords": [
28
28
  "bun",