@actuallab/rpc 12.3.64 → 12.3.76

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/dist/index.cjs CHANGED
@@ -233,20 +233,10 @@ function deserializeMessage(raw) {
233
233
  var textEncoder = new TextEncoder();
234
234
  var textDecoder = new TextDecoder();
235
235
  var INITIAL_ENCODER_BUFFER_SIZE = 32 * 1024;
236
- var defaultBinaryEncoder = new import_msgpack2.Encoder(
237
- void 0,
238
- void 0,
239
- void 0,
240
- INITIAL_ENCODER_BUFFER_SIZE
241
- );
236
+ var defaultBinaryEncoder = new import_msgpack2.Encoder({ initialBufferSize: INITIAL_ENCODER_BUFFER_SIZE, useBigInt64: true });
242
237
  var defaultBinaryDecoder = new import_msgpack2.Decoder();
243
238
  function createBinaryEncoder() {
244
- return new import_msgpack2.Encoder(
245
- void 0,
246
- void 0,
247
- void 0,
248
- INITIAL_ENCODER_BUFFER_SIZE
249
- );
239
+ return new import_msgpack2.Encoder({ initialBufferSize: INITIAL_ENCODER_BUFFER_SIZE, useBigInt64: true });
250
240
  }
251
241
  function varUintByteLen(value) {
252
242
  if (value < 0) value = 0;