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.
@@ -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
  }
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "whio-api-sdk",
3
- "version": "1.0.210-beta-staging",
3
+ "version": "1.0.211-beta-staging",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",
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
  }