@replit/river 0.7.1 → 0.7.2

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
@@ -10,6 +10,8 @@ It's like tRPC but...
10
10
 
11
11
  ## Developing
12
12
 
13
+ [![Run on Repl.it](https://replit.com/badge/github/replit/river)](https://replit.com/new/github/replit/river)
14
+
13
15
  - `npm i` -- install dependencies
14
16
  - `npm run check` -- lint
15
17
  - `npm run format` -- format
@@ -1,3 +1,4 @@
1
+ export { BinaryCodec } from './binary';
1
2
  export { NaiveJsonCodec } from './json';
2
3
  export type { Codec } from './types';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../codec/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AACxC,YAAY,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../codec/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AACxC,YAAY,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC"}
@@ -1 +1,2 @@
1
+ export { BinaryCodec } from './binary';
1
2
  export { NaiveJsonCodec } from './json';
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@replit/river",
3
3
  "sideEffects": false,
4
4
  "description": "It's like tRPC but... with JSON Schema Support, duplex streaming and support for service multiplexing. Transport agnostic!",
5
- "version": "0.7.1",
5
+ "version": "0.7.2",
6
6
  "type": "module",
7
7
  "exports": {
8
8
  ".": "./dist/router/index.js",
@@ -27,10 +27,11 @@
27
27
  },
28
28
  "devDependencies": {
29
29
  "@types/ws": "^8.5.5",
30
+ "@vitest/ui": "^1.0.1",
30
31
  "prettier": "^3.0.0",
31
32
  "tsup": "^7.2.0",
32
33
  "typescript": "^5.2.2",
33
- "vitest": "^0.34.6"
34
+ "vitest": "^1.0.1"
34
35
  },
35
36
  "scripts": {
36
37
  "check": "tsc --noEmit && npx prettier . --check",
@@ -38,6 +39,7 @@
38
39
  "build": "rm -rf ./dist && tsc",
39
40
  "prepack": "npm run build",
40
41
  "release": "npm publish --access public",
42
+ "test:ui": "echo \"remember to go to /__vitest__ in the webview\" && vitest --ui --api.host 0.0.0.0 --api.port 3000",
41
43
  "test": "vitest",
42
44
  "bench": "vitest bench"
43
45
  },