@muhkoo/connect 0.14.0-alpha.9 → 0.15.0-alpha.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.
- package/README.md +2 -2
- package/dist/browser/index.js +2395 -540
- package/dist/browser/index.js.map +1 -1
- package/dist/connect.d.ts +790 -43
- package/dist/connect.workers.d.ts +38 -1
- package/dist/server/index.js +2395 -540
- package/dist/server/index.js.map +1 -1
- package/dist/workers/index.js +111 -22
- package/dist/workers/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -404,7 +404,7 @@ project at a time: `client.vcs.open(slug)` returns the repository for
|
|
|
404
404
|
```typescript
|
|
405
405
|
await client.vfs.writeFile("/apps/my-app/src/index.ts", "export {};");
|
|
406
406
|
const files = await client.vfs.walk("/apps/my-app"); // every file path, depth-first
|
|
407
|
-
const all = await client.vfs.walkEntries("/apps/my-app"); // directories too, as VfsStat (
|
|
407
|
+
const all = await client.vfs.walkEntries("/apps/my-app"); // directories too, as VfsStat (0.14.0-alpha.9)
|
|
408
408
|
|
|
409
409
|
const repo = client.vcs.open("my-app");
|
|
410
410
|
await repo.status();
|
|
@@ -414,7 +414,7 @@ await repo.commit("First commit");
|
|
|
414
414
|
**Read it as untrusted input.** Hosted sign-in hands the app the master seed, so
|
|
415
415
|
every app a user signs into can write any directory record, history record or
|
|
416
416
|
repository object in that user's filesystem, in shapes this SDK would never
|
|
417
|
-
write. From
|
|
417
|
+
write. From 0.14.0-alpha.9, the SDK treats everything it
|
|
418
418
|
reads back as untrusted. A record that used to crash, hang or quietly mislead it
|
|
419
419
|
now throws a typed error, or is hidden with a `[muhkoo/vfs]` warning. Two new
|
|
420
420
|
errors are exported from the package root:
|