@muhkoo/connect 0.14.0-alpha.6 → 0.14.0-alpha.8

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 CHANGED
@@ -95,8 +95,7 @@ and other APIs edge runtimes don't expose):
95
95
  etc.
96
96
  - `Authenticator.ts`
97
97
  - `DoubleRatchetManager.ts`
98
- - `personal/` — `PersonalSpaceClient`, `wrapWithPassphrase`,
99
- `unwrapWithPassphrase`
98
+ - `personal/` — `PersonalSpaceClient`
100
99
 
101
100
  The `workers` build keeps `KeyStore`, `DoubleRatchet`, `EncryptedSession`,
102
101
  `BroadcastChannel`, `WSTransport`, and the bn128.wasm-driven
@@ -545,31 +544,33 @@ src/
545
544
  crypto/ KeyStore, DoubleRatchet, DoubleRatchetManager, Authenticator, ZeroKnowledge
546
545
  sessions/ EncryptedSession, BroadcastChannel
547
546
  transport/ WSTransport
548
- personal/ PersonalSpaceClient + wrap.ts (excluded from workers build)
547
+ personal/ PersonalSpaceClient (excluded from workers build)
549
548
  storage/ FileStorage, ShardClient, SharedSpaceClient, Reed-Solomon codec
550
549
  vfs/ vcs/ the encrypted filesystem and its history (client.vfs / client.vcs)
551
550
  offline/ p2p/ CRDT offline sync; WebRTC peer shard exchange
552
551
  events/ EventCore + EventCoreEvents
553
552
  messaging/ Message, Packet, decorators
554
553
  types/ shared type defs (incl. zk.ts with PREIMAGE_POK_VERIFICATION_KEY)
555
- network/ legacy Network class (not exported from any build)
554
+ network/ PacketCipher + DoubleRatchetCipher (the legacy Network class is gone)
556
555
  utilities/ Logger, base58, ID generation, decorators
557
556
  ```
558
557
 
559
558
  ## Scripts
560
559
 
561
560
  ```bash
562
- yarn build # rm -rf dist && yarn rollup:browser && yarn rollup:server && yarn rollup:workers
561
+ yarn build # typecheck && sync-version && rm -rf dist && rollup browser + server + workers && build:dts
562
+ yarn typecheck # tsc --noEmit
563
563
  yarn dev # all three targets in watch mode (concurrently)
564
564
  yarn rollup:browser # one-off browser build
565
565
  yarn rollup:server # one-off server build
566
566
  yarn rollup:workers # one-off workers build
567
567
  yarn build:dts # complete .d.ts bundle -> dist/connect.d.ts
568
- yarn build:docs # typedoc -> docs/
568
+ yarn build:docs # typedoc -> connect-docs/docs (see typedoc.json)
569
569
 
570
570
  yarn test # vitest
571
- yarn test:unit # vitest --run (no integration tests)
572
- yarn test:integration # TEST_TYPE=integration vitest --run tests/integration
571
+ yarn test:unit # vitest --run --project unit
572
+ yarn test:e2e # vitest --run --project e2e (needs E2E_STAGING=1 + MUHKOO_BASE_URL)
573
+ yarn typecheck # tsc --noEmit
573
574
  yarn lint # eslint ./src
574
575
  ```
575
576