whio-api-sdk 1.0.210-beta-staging → 1.0.211-beta-staging
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/src/sdk/sdk.d.ts +2 -0
- package/dist/src/sdk/sdk.js +7 -0
- package/package.json +1 -1
- package/src/sdk/sdk.ts +9 -0
package/dist/src/sdk/sdk.d.ts
CHANGED
|
@@ -197,4 +197,6 @@ export declare class ApiSDK extends BaseClient {
|
|
|
197
197
|
getWebSocketStats(): import("./types").WebSocketConnectionStats;
|
|
198
198
|
subscribe(...args: Parameters<WebSocketModule['on']>): void;
|
|
199
199
|
unsubscribe(...args: Parameters<WebSocketModule['off']>): void;
|
|
200
|
+
onUploadProgress(handler: (uploadPercentage: number) => void): void;
|
|
201
|
+
offUploadProgress(handler: (uploadPercentage: number) => void): void;
|
|
200
202
|
}
|
package/dist/src/sdk/sdk.js
CHANGED
|
@@ -806,4 +806,11 @@ export class ApiSDK extends BaseClient {
|
|
|
806
806
|
unsubscribe(...args) {
|
|
807
807
|
return this.websocket.off(...args);
|
|
808
808
|
}
|
|
809
|
+
// Upload progress methods
|
|
810
|
+
onUploadProgress(handler) {
|
|
811
|
+
return super.onUploadProgress(handler);
|
|
812
|
+
}
|
|
813
|
+
offUploadProgress(handler) {
|
|
814
|
+
return super.offUploadProgress(handler);
|
|
815
|
+
}
|
|
809
816
|
}
|
package/package.json
CHANGED
package/src/sdk/sdk.ts
CHANGED
|
@@ -684,4 +684,13 @@ export class ApiSDK extends BaseClient {
|
|
|
684
684
|
public unsubscribe(...args: Parameters<WebSocketModule['off']>) {
|
|
685
685
|
return this.websocket.off(...args);
|
|
686
686
|
}
|
|
687
|
+
|
|
688
|
+
// Upload progress methods
|
|
689
|
+
public onUploadProgress(handler: (uploadPercentage: number) => void): void {
|
|
690
|
+
return super.onUploadProgress(handler);
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
public offUploadProgress(handler: (uploadPercentage: number) => void): void {
|
|
694
|
+
return super.offUploadProgress(handler);
|
|
695
|
+
}
|
|
687
696
|
}
|