@minhvuong/pirate-storage 0.1.0 → 0.1.1

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 +8 -8
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -8,10 +8,10 @@ credentials, authentication, receipts, and database.
8
8
  | Package | Purpose |
9
9
  | -------------------------------- | ----------------------------------------------------------------------- |
10
10
  | `@minhvuong/pirate-storage` | Core contracts, receipts, orchestration, hooks, Range parsing, journals |
11
- | `@drive/storage-discord` | Discord webhook transport and production storage provider |
12
- | `@drive/storage-server` | Typed file routes and Fetch/Worker upload handler |
13
- | `@drive/storage-client` | Browser multipart uploader |
14
- | `@drive/storage-preview-browser` | Optional JPEG/PNG preview Web Worker |
11
+ | `@minhvuong/pirate-storage-discord` | Discord webhook transport and production storage provider |
12
+ | `@minhvuong/pirate-storage-server` | Typed file routes and Fetch/Worker upload handler |
13
+ | `@minhvuong/pirate-storage-client` | Browser multipart uploader |
14
+ | `@minhvuong/pirate-storage-preview-browser` | Optional JPEG/PNG preview Web Worker |
15
15
 
16
16
  `@drive/*` is the internal workspace scope. Replace it with an owned registry scope before public
17
17
  publication.
@@ -20,8 +20,8 @@ publication.
20
20
 
21
21
  ```ts
22
22
  import { MemoryUploadJournal, createStorage } from "@minhvuong/pirate-storage";
23
- import { createDiscordProvider } from "@drive/storage-discord";
24
- import { createFetchHandler, createFileRoute, defineFileRouter } from "@drive/storage-server";
23
+ import { createDiscordProvider } from "@minhvuong/pirate-storage-discord";
24
+ import { createFetchHandler, createFileRoute, defineFileRouter } from "@minhvuong/pirate-storage-server";
25
25
 
26
26
  const discord = createDiscordProvider({
27
27
  webhookUrl: env.DISCORD_WEBHOOK_URL,
@@ -67,8 +67,8 @@ route, Next route handler, Bun server, or any runtime that accepts `Request` and
67
67
  ## Browser
68
68
 
69
69
  ```ts
70
- import { createUploader } from "@drive/storage-client";
71
- import { createBrowserImagePreview } from "@drive/storage-preview-browser";
70
+ import { createUploader } from "@minhvuong/pirate-storage-client";
71
+ import { createBrowserImagePreview } from "@minhvuong/pirate-storage-preview-browser";
72
72
 
73
73
  const uploader = createUploader({
74
74
  endpoint: "/api/storage",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minhvuong/pirate-storage",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -22,10 +22,10 @@
22
22
  "test": "bun test"
23
23
  },
24
24
  "dependencies": {
25
- "zod": "catalog:"
25
+ "zod": "^4.1.13"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@types/bun": "^1.3.10",
29
- "typescript": "catalog:"
29
+ "typescript": "^6"
30
30
  }
31
31
  }