@vryzel/file-next 0.4.4 → 0.4.5

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 +3 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -45,7 +45,7 @@ export const actions = createServerActions({
45
45
  fs,
46
46
  writeThrough: createWriteThrough(fs, store),
47
47
  getAuth: () => ({
48
- tenantId: asTenantId("acme"),
48
+ tenantId: asTenantId("demo"),
49
49
  userId: asUserId("user-1"),
50
50
  }),
51
51
  });
@@ -140,8 +140,8 @@ Missing config throws `FileSystemError` (not retryable).
140
140
  ### 6. Multi-tenant keys
141
141
 
142
142
  ```ts
143
- const scoped = fs.forTenant("acme");
144
- // object keys are prefixed t/acme/{nodeId} unless prefixTenantKeys: false
143
+ const scoped = fs.forTenant("demo");
144
+ // object keys are prefixed t/demo/{nodeId} unless prefixTenantKeys: false
145
145
  ```
146
146
 
147
147
  Every store method also takes `tenantId`. Do not take tenant from the request body.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vryzel/file-next",
3
- "version": "0.4.4",
3
+ "version": "0.4.5",
4
4
  "description": "File-system abstraction over AWS S3 / Cloudflare R2 for Next.js, with a secondary metadata index and shadcn/ui components.",
5
5
  "type": "module",
6
6
  "license": "MIT",