@replit/river 0.215.0 → 0.216.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 +47 -0
- package/dist/adapter-BXCk-dmy.d.ts +29 -0
- package/dist/adapter-D5X11kmP.d.cts +29 -0
- package/dist/{chunk-VXRAFUA3.js → chunk-75ZMPCKC.js} +26 -6
- package/dist/{chunk-VXRAFUA3.js.map → chunk-75ZMPCKC.js.map} +1 -1
- package/dist/chunk-SHND2JG6.js +86 -0
- package/dist/chunk-SHND2JG6.js.map +1 -0
- package/dist/{chunk-RDTQZ7HO.js → chunk-ZLMQQI43.js} +12 -2
- package/dist/chunk-ZLMQQI43.js.map +1 -0
- package/dist/{client-BhwlY0-L.d.ts → client-BNc5Pj_4.d.ts} +2 -2
- package/dist/{client-Dk4H7qeg.d.cts → client-BZUvFL6B.d.cts} +2 -2
- package/dist/codec/index.cjs.map +1 -1
- package/dist/codec/index.d.cts +3 -3
- package/dist/codec/index.d.ts +3 -3
- package/dist/codec/index.js +2 -2
- package/dist/{connection-DU9v3y8a.d.ts → connection-ou9w2dSY.d.ts} +3 -3
- package/dist/{connection-CS00EWuS.d.cts → connection-xxgJHs2o.d.cts} +3 -3
- package/dist/{index-CHCzvZ9D.d.cts → index-BAGGleT3.d.cts} +1 -1
- package/dist/{index-uF0cBM7z.d.ts → index-ZWkoesQD.d.ts} +1 -1
- package/dist/logging/index.d.cts +2 -2
- package/dist/logging/index.d.ts +2 -2
- package/dist/{message-aABg0s5M.d.cts → message-CpXWqmJw.d.cts} +1 -1
- package/dist/{message-aABg0s5M.d.ts → message-CpXWqmJw.d.ts} +1 -1
- package/dist/protobuf/codec.cjs +107 -0
- package/dist/protobuf/codec.cjs.map +1 -0
- package/dist/protobuf/codec.d.cts +13 -0
- package/dist/protobuf/codec.d.ts +13 -0
- package/dist/protobuf/codec.js +7 -0
- package/dist/protobuf/codec.js.map +1 -0
- package/dist/protobuf/index.cjs +1877 -0
- package/dist/protobuf/index.cjs.map +1 -0
- package/dist/protobuf/index.d.cts +488 -0
- package/dist/protobuf/index.d.ts +488 -0
- package/dist/protobuf/index.js +1260 -0
- package/dist/protobuf/index.js.map +1 -0
- package/dist/router/index.cjs +1 -1
- package/dist/router/index.cjs.map +1 -1
- package/dist/router/index.d.cts +12 -11
- package/dist/router/index.d.ts +12 -11
- package/dist/router/index.js +1 -1
- package/dist/{server-uNzkzIRh.d.ts → server-BPu7Td80.d.ts} +4 -4
- package/dist/{server-BR0DZaWi.d.cts → server-JdnoVO11.d.cts} +4 -4
- package/dist/{services-B5SY771g.d.ts → services-BrTFTO5Q.d.ts} +104 -93
- package/dist/{services-DBv2nmly.d.cts → services-cwGAC2rB.d.cts} +104 -93
- package/dist/testUtil/index.cjs +25 -5
- package/dist/testUtil/index.cjs.map +1 -1
- package/dist/testUtil/index.d.cts +8 -7
- package/dist/testUtil/index.d.ts +8 -7
- package/dist/testUtil/index.js +2 -2
- package/dist/transport/impls/ws/client.cjs +5 -1
- package/dist/transport/impls/ws/client.cjs.map +1 -1
- package/dist/transport/impls/ws/client.d.cts +7 -6
- package/dist/transport/impls/ws/client.d.ts +7 -6
- package/dist/transport/impls/ws/client.js +2 -2
- package/dist/transport/impls/ws/server.cjs +21 -5
- package/dist/transport/impls/ws/server.cjs.map +1 -1
- package/dist/transport/impls/ws/server.d.cts +7 -6
- package/dist/transport/impls/ws/server.d.ts +7 -6
- package/dist/transport/impls/ws/server.js +2 -2
- package/dist/transport/index.cjs +25 -5
- package/dist/transport/index.cjs.map +1 -1
- package/dist/transport/index.d.cts +8 -7
- package/dist/transport/index.d.ts +8 -7
- package/dist/transport/index.js +2 -2
- package/dist/{transport-BOL2p5s-.d.ts → transport-B1MUtXL7.d.ts} +7 -5
- package/dist/{transport-D3jzhFSi.d.cts → transport-BnU3Zb0Q.d.cts} +7 -5
- package/dist/types-BGGvYIJM.d.cts +20 -0
- package/dist/types-BGGvYIJM.d.ts +20 -0
- package/package.json +12 -1
- package/dist/adapter-CgF7vQPu.d.ts +0 -47
- package/dist/adapter-IGrG4KLL.d.cts +0 -47
- package/dist/chunk-RDTQZ7HO.js.map +0 -1
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { C as ClientTransport } from '../client-
|
|
3
|
-
import { S as ServerTransport } from '../server-
|
|
4
|
-
import {
|
|
1
|
+
import { P as ProvidedClientTransportOptions, e as ProvidedServerTransportOptions, n as ClientHandshakeOptions, C as Connection, q as ServerHandshakeOptions, T as Transport, i as SessionNoConnection, x as SessionBoundSendFn, m as ClientTransportOptions, y as SessionOptions } from '../transport-BnU3Zb0Q.cjs';
|
|
2
|
+
import { C as ClientTransport } from '../client-BZUvFL6B.cjs';
|
|
3
|
+
import { S as ServerTransport } from '../server-JdnoVO11.cjs';
|
|
4
|
+
import { T as TransportClientId, e as PartialTransportMessage, O as OpaqueTransportMessage } from '../message-CpXWqmJw.cjs';
|
|
5
5
|
import { TSchema, Static } from '@sinclair/typebox';
|
|
6
|
-
import {
|
|
6
|
+
import { B as BaseErrorSchemaType, q as Readable, $ as ReadableIterator, s as ReadableResult } from '../services-cwGAC2rB.cjs';
|
|
7
7
|
import { W as WsLike } from '../wslike-Dng9H1C7.cjs';
|
|
8
8
|
import NodeWs from 'ws';
|
|
9
9
|
import http from 'node:http';
|
|
10
10
|
import { Duplex } from 'node:stream';
|
|
11
|
-
import '../index-
|
|
12
|
-
import '../
|
|
11
|
+
import '../index-BAGGleT3.cjs';
|
|
12
|
+
import '../types-BGGvYIJM.cjs';
|
|
13
|
+
import '../adapter-D5X11kmP.cjs';
|
|
13
14
|
import '@opentelemetry/api';
|
|
14
15
|
|
|
15
16
|
interface TestTransportOptions {
|
package/dist/testUtil/index.d.ts
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { C as ClientTransport } from '../client-
|
|
3
|
-
import { S as ServerTransport } from '../server-
|
|
4
|
-
import {
|
|
1
|
+
import { P as ProvidedClientTransportOptions, e as ProvidedServerTransportOptions, n as ClientHandshakeOptions, C as Connection, q as ServerHandshakeOptions, T as Transport, i as SessionNoConnection, x as SessionBoundSendFn, m as ClientTransportOptions, y as SessionOptions } from '../transport-B1MUtXL7.js';
|
|
2
|
+
import { C as ClientTransport } from '../client-BNc5Pj_4.js';
|
|
3
|
+
import { S as ServerTransport } from '../server-BPu7Td80.js';
|
|
4
|
+
import { T as TransportClientId, e as PartialTransportMessage, O as OpaqueTransportMessage } from '../message-CpXWqmJw.js';
|
|
5
5
|
import { TSchema, Static } from '@sinclair/typebox';
|
|
6
|
-
import {
|
|
6
|
+
import { B as BaseErrorSchemaType, q as Readable, $ as ReadableIterator, s as ReadableResult } from '../services-BrTFTO5Q.js';
|
|
7
7
|
import { W as WsLike } from '../wslike-Dng9H1C7.js';
|
|
8
8
|
import NodeWs from 'ws';
|
|
9
9
|
import http from 'node:http';
|
|
10
10
|
import { Duplex } from 'node:stream';
|
|
11
|
-
import '../index-
|
|
12
|
-
import '../
|
|
11
|
+
import '../index-ZWkoesQD.js';
|
|
12
|
+
import '../types-BGGvYIJM.js';
|
|
13
|
+
import '../adapter-BXCk-dmy.js';
|
|
13
14
|
import '@opentelemetry/api';
|
|
14
15
|
|
|
15
16
|
interface TestTransportOptions {
|
package/dist/testUtil/index.js
CHANGED
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
SessionStateGraph,
|
|
6
6
|
defaultClientTransportOptions,
|
|
7
7
|
defaultTransportOptions
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-75ZMPCKC.js";
|
|
9
9
|
import "../chunk-CC7RN7GI.js";
|
|
10
10
|
import {
|
|
11
11
|
currentProtocolVersion,
|
|
12
12
|
getTracer
|
|
13
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-ZLMQQI43.js";
|
|
14
14
|
|
|
15
15
|
// testUtil/index.ts
|
|
16
16
|
import NodeWs, { WebSocketServer } from "ws";
|
|
@@ -295,6 +295,10 @@ var LeakyBucketRateLimit = class {
|
|
|
295
295
|
clearInterval(this.intervalHandle);
|
|
296
296
|
this.intervalHandle = void 0;
|
|
297
297
|
}
|
|
298
|
+
resetBudget() {
|
|
299
|
+
this.stopLeak();
|
|
300
|
+
this.budgetConsumed = 0;
|
|
301
|
+
}
|
|
298
302
|
close() {
|
|
299
303
|
this.stopLeak();
|
|
300
304
|
}
|
|
@@ -683,7 +687,7 @@ function coerceErrorString(err) {
|
|
|
683
687
|
}
|
|
684
688
|
|
|
685
689
|
// package.json
|
|
686
|
-
var version = "0.
|
|
690
|
+
var version = "0.216.0";
|
|
687
691
|
|
|
688
692
|
// tracing/index.ts
|
|
689
693
|
function getPropagationContext(ctx) {
|