@gelatonetwork/relay-sdk
Advanced tools
Comparing version 5.5.3 to 5.5.4
@@ -144,2 +144,12 @@ import { CallWithSyncFeeRequest } from "./lib/callWithSyncFee/types"; | ||
offError: (handler: (error: Error) => void) => void; | ||
/** | ||
* @param {string} taskId - Task Id | ||
* | ||
*/ | ||
subscribeTaskStatusUpdate: (taskId: string) => Promise<void>; | ||
/** | ||
* @param {string} taskId - Task Id | ||
* | ||
*/ | ||
unsubscribeTaskStatusUpdate: (taskId: string) => Promise<void>; | ||
} |
@@ -275,2 +275,16 @@ "use strict"; | ||
}; | ||
/** | ||
* @param {string} taskId - Task Id | ||
* | ||
*/ | ||
this.subscribeTaskStatusUpdate = (taskId) => __awaiter(this, void 0, void 0, function* () { | ||
yield __classPrivateFieldGet(this, _GelatoRelay_websocketHandler, "f").subscribe(taskId); | ||
}); | ||
/** | ||
* @param {string} taskId - Task Id | ||
* | ||
*/ | ||
this.unsubscribeTaskStatusUpdate = (taskId) => __awaiter(this, void 0, void 0, function* () { | ||
yield __classPrivateFieldGet(this, _GelatoRelay_websocketHandler, "f").unsubscribe(taskId); | ||
}); | ||
__classPrivateFieldSet(this, _GelatoRelay_config, this._getConfiguration(config), "f"); | ||
@@ -277,0 +291,0 @@ __classPrivateFieldSet(this, _GelatoRelay_websocketHandler, new index_js_1.WebsocketHandler(__classPrivateFieldGet(this, _GelatoRelay_config, "f").websocketUrl), "f"); |
{ | ||
"name": "@gelatonetwork/relay-sdk", | ||
"version": "5.5.3", | ||
"version": "5.5.4", | ||
"description": "SDK to integrate with Gelato Relay", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
129662
2380