@replit/river
Advanced tools
Comparing version 0.1.9 to 0.1.10
@@ -113,3 +113,3 @@ import http from 'http'; | ||
}); | ||
const port = 3001; | ||
const port = 4445; | ||
describe('client <-> server integration test', () => { | ||
@@ -116,0 +116,0 @@ const server = http.createServer(); |
@@ -13,3 +13,3 @@ import { Transport } from './types'; | ||
this.ws = ws; | ||
ws.on('message', (msg) => this.onMessage(msg.toString())); | ||
ws.onmessage = (msg) => this.onMessage(msg.data.toString()); | ||
} | ||
@@ -16,0 +16,0 @@ send(msg) { |
@@ -5,3 +5,3 @@ import http from 'http'; | ||
import { createWebSocketClient, createWebSocketServer, onServerReady, waitForMessage, } from './util'; | ||
const port = 3000; | ||
const port = 4444; | ||
describe('sending and receiving across websockets works', () => { | ||
@@ -8,0 +8,0 @@ const server = http.createServer(); |
{ | ||
"name": "@replit/river", | ||
"sideEffects": false, | ||
"description": "It's like tRPC but... with JSON Schema Support, duplex streaming and support for service multiplexing. Transport agnostic!", | ||
"version": "0.1.9", | ||
"version": "0.1.10", | ||
"type": "module", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"main": "index.js", | ||
"types": "index.d.ts", | ||
"files": [ | ||
@@ -9,0 +10,0 @@ "dist" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
46097