@nwire/storage 0.8.0 → 0.9.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.
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* with minimal changes — verifies the contract is uniform.
|
|
6
6
|
*/
|
|
7
7
|
import { describe, it, expect } from "vitest";
|
|
8
|
-
import { InMemoryStorage, StorageObjectNotFoundError, storagePlugin, } from "../storage";
|
|
8
|
+
import { InMemoryStorage, StorageObjectNotFoundError, storagePlugin, } from "../storage.js";
|
|
9
9
|
import { createApp } from "@nwire/forge";
|
|
10
10
|
describe("InMemoryStorage", () => {
|
|
11
11
|
it("put + get round-trips bytes with metadata", async () => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nwire/storage",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"description": "Nwire — object-storage contract + InMemoryStorage default + storagePlugin. Adapters (S3, filesystem) live in separate packages (@nwire/storage-s3, @nwire/storage-fs).",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"adapter",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"access": "public"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@nwire/forge": "0.
|
|
32
|
+
"@nwire/forge": "0.9.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@types/node": "^22.19.9",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"vitest": "^4.1.6"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
|
-
"build": "tsc",
|
|
40
|
+
"build": "tsc && node ../../scripts/fix-dist-extensions.mjs dist",
|
|
41
41
|
"dev": "tsc --watch",
|
|
42
42
|
"typecheck": "tsc --noEmit"
|
|
43
43
|
}
|