@forklaunch/common 0.5.2 → 0.5.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/lib/index.d.mts CHANGED
@@ -266,8 +266,8 @@ declare function isTrue(value: true): true;
266
266
  declare function hashString(str: string): number;
267
267
 
268
268
  declare class InMemoryBlob extends Blob {
269
- content: string;
270
- constructor(content: string);
269
+ content: Buffer<ArrayBuffer>;
270
+ constructor(content: Buffer<ArrayBuffer>);
271
271
  }
272
272
 
273
273
  /**
package/lib/index.d.ts CHANGED
@@ -266,8 +266,8 @@ declare function isTrue(value: true): true;
266
266
  declare function hashString(str: string): number;
267
267
 
268
268
  declare class InMemoryBlob extends Blob {
269
- content: string;
270
- constructor(content: string);
269
+ content: Buffer<ArrayBuffer>;
270
+ constructor(content: Buffer<ArrayBuffer>);
271
271
  }
272
272
 
273
273
  /**
package/lib/index.js CHANGED
@@ -222,7 +222,7 @@ function hashString(str) {
222
222
  // src/InMemoryBlob.ts
223
223
  var InMemoryBlob = class extends Blob {
224
224
  constructor(content) {
225
- super([Buffer.from(content)]);
225
+ super([content]);
226
226
  this.content = content;
227
227
  }
228
228
  };
package/lib/index.mjs CHANGED
@@ -165,7 +165,7 @@ function hashString(str) {
165
165
  // src/InMemoryBlob.ts
166
166
  var InMemoryBlob = class extends Blob {
167
167
  constructor(content) {
168
- super([Buffer.from(content)]);
168
+ super([content]);
169
169
  this.content = content;
170
170
  }
171
171
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forklaunch/common",
3
- "version": "0.5.2",
3
+ "version": "0.5.4",
4
4
  "description": "Common package for base types, interfaces, implementations.",
5
5
  "homepage": "https://github.com/forklaunch/forklaunch-js#readme",
6
6
  "bugs": {
@@ -30,7 +30,7 @@
30
30
  "devDependencies": {
31
31
  "@eslint/js": "^9.34.0",
32
32
  "@types/node": "^24.3.0",
33
- "@typescript/native-preview": "7.0.0-dev.20250823.8",
33
+ "@typescript/native-preview": "7.0.0-dev.20250824.1",
34
34
  "depcheck": "^1.4.7",
35
35
  "eslint": "^9.34.0",
36
36
  "globals": "^16.3.0",