File tree 2 files changed +2
-2
lines changed
application/apps/rustcore/ts-bindings/src
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ export class EventProvider extends Computation<
190
190
SearchValuesUpdated : new Subject < IValuesMinMaxMap | null > ( ) ,
191
191
SearchMapUpdated : new Subject < string > ( ) ,
192
192
IndexedMapUpdated : new Subject < IEventIndexedMapUpdated > ( ) ,
193
- Progress : new Subject < IProgressEvent > ( ) ,
193
+ Progress : new Subject < IProgressEvent > ( ) , // This even isn't used. No listeners on ts side and never fires on rs side
194
194
AttachmentsUpdated : new Subject < IAttachmentsUpdatedUpdated > ( ) ,
195
195
SessionError : new Subject < IError > ( ) ,
196
196
OperationError : new Subject < IErrorEvent > ( ) ,
Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ export class NativeError extends Error {
147
147
try {
148
148
if ( smth instanceof Error ) {
149
149
return new NativeError ( smth , Type . Other , Source . Other ) ;
150
- } else if ( smth instanceof Array ) {
150
+ } else if ( smth instanceof Array || smth instanceof Buffer ) {
151
151
const deserialized : ty . ComputationError = proto . ComputationError . decode (
152
152
Uint8Array . from ( smth ) ,
153
153
) ;
You can’t perform that action at this time.
0 commit comments