Skip to content

Commit 2d6ffa3

Browse files
author
build
committed
updated logic for v1.3.49
1 parent f5aa1e5 commit 2d6ffa3

File tree

11 files changed

+58
-16
lines changed

11 files changed

+58
-16
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# socketmobile-capturejs 1.3.48
1+
# socketmobile-capturejs 1.3.49
22

33
This Javascript NPM package can be used to add CaptureJS to your Javascript application.
44

lib/capture.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ declare class Capture {
2222
getProperty<T>(property: CaptureProperty<T>): Promise<CaptureProperty<any>>;
2323
setProperty<T>(property: CaptureProperty<T>): Promise<CaptureProperty<unknown>>;
2424
notification(jsonRpc: JRpcEvent<any>, handle?: number): void;
25+
private unifyResultInEvents;
2526
private getJsonRpcId;
2627
}
2728
export default Capture;

lib/capture.js

Lines changed: 39 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/capture.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/captureEvents.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ export declare enum CaptureEventTypes {
3030
export declare class CaptureEvent<T> {
3131
id: CaptureEventIds;
3232
type: CaptureEventTypes;
33+
result: number;
3334
value?: T;
34-
constructor(id: CaptureEventIds, type: CaptureEventTypes, value?: T);
35+
constructor(id: CaptureEventIds, type: CaptureEventTypes, result?: number, value?: T);
3536
}

lib/captureEvents.js

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/captureEvents.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/jsonRpc.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export declare class JsonRpc {
88
export declare class CaptureEventResult<T> {
99
handle?: number;
1010
event: CaptureEvent<T>;
11-
constructor(id: CaptureEventIds, type: CaptureEventTypes, value: T, handle?: number);
11+
constructor(id: CaptureEventIds, type: CaptureEventTypes, result: number, value: T, handle?: number);
1212
}
1313
export declare class JRpcEvent<T> {
1414
jsonrpc: string;

lib/jsonRpc.js

Lines changed: 8 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)