@replit/river 0.215.0 → 0.215.1

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.
Files changed (51) hide show
  1. package/dist/{adapter-IGrG4KLL.d.cts → adapter-CjgmjtUJ.d.cts} +1 -1
  2. package/dist/{adapter-CgF7vQPu.d.ts → adapter-Dtt4bYL-.d.ts} +1 -1
  3. package/dist/{chunk-VXRAFUA3.js → chunk-3DDZCLJM.js} +6 -2
  4. package/dist/{chunk-VXRAFUA3.js.map → chunk-3DDZCLJM.js.map} +1 -1
  5. package/dist/{chunk-RDTQZ7HO.js → chunk-NUGV5QWU.js} +2 -2
  6. package/dist/{chunk-RDTQZ7HO.js.map → chunk-NUGV5QWU.js.map} +1 -1
  7. package/dist/{client-Dk4H7qeg.d.cts → client-B9aKi9Li.d.cts} +2 -2
  8. package/dist/{client-BhwlY0-L.d.ts → client-BOc8blGj.d.ts} +2 -2
  9. package/dist/codec/index.d.cts +3 -3
  10. package/dist/codec/index.d.ts +3 -3
  11. package/dist/codec/index.js +2 -2
  12. package/dist/{connection-CS00EWuS.d.cts → connection-1hFoyxuX.d.cts} +3 -3
  13. package/dist/{connection-DU9v3y8a.d.ts → connection-DnMYvolf.d.ts} +3 -3
  14. package/dist/{index-CHCzvZ9D.d.cts → index-Bf9PGbS4.d.cts} +1 -1
  15. package/dist/{index-uF0cBM7z.d.ts → index-DiAq34gk.d.ts} +1 -1
  16. package/dist/logging/index.d.cts +2 -2
  17. package/dist/logging/index.d.ts +2 -2
  18. package/dist/{message-aABg0s5M.d.cts → message-DL74OqsX.d.cts} +1 -1
  19. package/dist/{message-aABg0s5M.d.ts → message-DL74OqsX.d.ts} +1 -1
  20. package/dist/router/index.cjs +1 -1
  21. package/dist/router/index.cjs.map +1 -1
  22. package/dist/router/index.d.cts +11 -11
  23. package/dist/router/index.d.ts +11 -11
  24. package/dist/router/index.js +1 -1
  25. package/dist/{server-BR0DZaWi.d.cts → server-BkEzDYIv.d.cts} +4 -4
  26. package/dist/{server-uNzkzIRh.d.ts → server-_bfE7LYc.d.ts} +4 -4
  27. package/dist/{services-B5SY771g.d.ts → services-KdKBWdJr.d.ts} +4 -4
  28. package/dist/{services-DBv2nmly.d.cts → services-zaansuuR.d.cts} +4 -4
  29. package/dist/testUtil/index.cjs +5 -1
  30. package/dist/testUtil/index.cjs.map +1 -1
  31. package/dist/testUtil/index.d.cts +7 -7
  32. package/dist/testUtil/index.d.ts +7 -7
  33. package/dist/testUtil/index.js +2 -2
  34. package/dist/transport/impls/ws/client.cjs +5 -1
  35. package/dist/transport/impls/ws/client.cjs.map +1 -1
  36. package/dist/transport/impls/ws/client.d.cts +6 -6
  37. package/dist/transport/impls/ws/client.d.ts +6 -6
  38. package/dist/transport/impls/ws/client.js +2 -2
  39. package/dist/transport/impls/ws/server.cjs +1 -1
  40. package/dist/transport/impls/ws/server.cjs.map +1 -1
  41. package/dist/transport/impls/ws/server.d.cts +6 -6
  42. package/dist/transport/impls/ws/server.d.ts +6 -6
  43. package/dist/transport/impls/ws/server.js +2 -2
  44. package/dist/transport/index.cjs +5 -1
  45. package/dist/transport/index.cjs.map +1 -1
  46. package/dist/transport/index.d.cts +7 -7
  47. package/dist/transport/index.d.ts +7 -7
  48. package/dist/transport/index.js +2 -2
  49. package/dist/{transport-D3jzhFSi.d.cts → transport-CCBNESLA.d.cts} +5 -4
  50. package/dist/{transport-BOL2p5s-.d.ts → transport-kW92H6x-.d.ts} +5 -4
  51. package/package.json +1 -1
@@ -1,15 +1,15 @@
1
- import { b as ProvidedClientTransportOptions, c as ProvidedServerTransportOptions, n as ClientHandshakeOptions, C as Connection, q as ServerHandshakeOptions, T as Transport, x as SessionOptions, m as ClientTransportOptions, e as SessionNoConnection, y as SessionBoundSendFn } from '../transport-D3jzhFSi.cjs';
2
- import { C as ClientTransport } from '../client-Dk4H7qeg.cjs';
3
- import { S as ServerTransport } from '../server-BR0DZaWi.cjs';
4
- import { c as TransportClientId, e as PartialTransportMessage, b as OpaqueTransportMessage } from '../message-aABg0s5M.cjs';
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-CCBNESLA.cjs';
2
+ import { C as ClientTransport } from '../client-B9aKi9Li.cjs';
3
+ import { S as ServerTransport } from '../server-BkEzDYIv.cjs';
4
+ import { T as TransportClientId, e as PartialTransportMessage, O as OpaqueTransportMessage } from '../message-DL74OqsX.cjs';
5
5
  import { TSchema, Static } from '@sinclair/typebox';
6
- import { J as BaseErrorSchemaType, v as Readable, $ as ReadableIterator, w as ReadableResult } from '../services-DBv2nmly.cjs';
6
+ import { B as BaseErrorSchemaType, q as Readable, $ as ReadableIterator, s as ReadableResult } from '../services-zaansuuR.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-CHCzvZ9D.cjs';
12
- import '../adapter-IGrG4KLL.cjs';
11
+ import '../index-Bf9PGbS4.cjs';
12
+ import '../adapter-CjgmjtUJ.cjs';
13
13
  import '@opentelemetry/api';
14
14
 
15
15
  interface TestTransportOptions {
@@ -1,15 +1,15 @@
1
- import { b as ProvidedClientTransportOptions, c as ProvidedServerTransportOptions, n as ClientHandshakeOptions, C as Connection, q as ServerHandshakeOptions, T as Transport, x as SessionOptions, m as ClientTransportOptions, e as SessionNoConnection, y as SessionBoundSendFn } from '../transport-BOL2p5s-.js';
2
- import { C as ClientTransport } from '../client-BhwlY0-L.js';
3
- import { S as ServerTransport } from '../server-uNzkzIRh.js';
4
- import { c as TransportClientId, e as PartialTransportMessage, b as OpaqueTransportMessage } from '../message-aABg0s5M.js';
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-kW92H6x-.js';
2
+ import { C as ClientTransport } from '../client-BOc8blGj.js';
3
+ import { S as ServerTransport } from '../server-_bfE7LYc.js';
4
+ import { T as TransportClientId, e as PartialTransportMessage, O as OpaqueTransportMessage } from '../message-DL74OqsX.js';
5
5
  import { TSchema, Static } from '@sinclair/typebox';
6
- import { J as BaseErrorSchemaType, v as Readable, $ as ReadableIterator, w as ReadableResult } from '../services-B5SY771g.js';
6
+ import { B as BaseErrorSchemaType, q as Readable, $ as ReadableIterator, s as ReadableResult } from '../services-KdKBWdJr.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-uF0cBM7z.js';
12
- import '../adapter-CgF7vQPu.js';
11
+ import '../index-DiAq34gk.js';
12
+ import '../adapter-Dtt4bYL-.js';
13
13
  import '@opentelemetry/api';
14
14
 
15
15
  interface TestTransportOptions {
@@ -5,12 +5,12 @@ import {
5
5
  SessionStateGraph,
6
6
  defaultClientTransportOptions,
7
7
  defaultTransportOptions
8
- } from "../chunk-VXRAFUA3.js";
8
+ } from "../chunk-3DDZCLJM.js";
9
9
  import "../chunk-CC7RN7GI.js";
10
10
  import {
11
11
  currentProtocolVersion,
12
12
  getTracer
13
- } from "../chunk-RDTQZ7HO.js";
13
+ } from "../chunk-NUGV5QWU.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.215.0";
690
+ var version = "0.215.1";
687
691
 
688
692
  // tracing/index.ts
689
693
  function getPropagationContext(ctx) {