@actuallab/rpc 12.3.64 → 12.3.70
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 +2 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -12
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -128,20 +128,10 @@ function deserializeMessage(raw) {
|
|
|
128
128
|
var textEncoder = new TextEncoder();
|
|
129
129
|
var textDecoder = new TextDecoder();
|
|
130
130
|
var INITIAL_ENCODER_BUFFER_SIZE = 32 * 1024;
|
|
131
|
-
var defaultBinaryEncoder = new Encoder2(
|
|
132
|
-
void 0,
|
|
133
|
-
void 0,
|
|
134
|
-
void 0,
|
|
135
|
-
INITIAL_ENCODER_BUFFER_SIZE
|
|
136
|
-
);
|
|
131
|
+
var defaultBinaryEncoder = new Encoder2({ initialBufferSize: INITIAL_ENCODER_BUFFER_SIZE, useBigInt64: true });
|
|
137
132
|
var defaultBinaryDecoder = new Decoder();
|
|
138
133
|
function createBinaryEncoder() {
|
|
139
|
-
return new Encoder2(
|
|
140
|
-
void 0,
|
|
141
|
-
void 0,
|
|
142
|
-
void 0,
|
|
143
|
-
INITIAL_ENCODER_BUFFER_SIZE
|
|
144
|
-
);
|
|
134
|
+
return new Encoder2({ initialBufferSize: INITIAL_ENCODER_BUFFER_SIZE, useBigInt64: true });
|
|
145
135
|
}
|
|
146
136
|
function varUintByteLen(value) {
|
|
147
137
|
if (value < 0) value = 0;
|