engage-wasm 1.251.90910024 → 1.251.90910026

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/engagewasm.api.js CHANGED
@@ -227,6 +227,30 @@ export default class Engage extends EventTarget {
227
227
  endGroupPcmPowerTracking(id) {
228
228
  return this.wasmWrapper.engageEndGroupPcmPowerTracking(id);
229
229
  }
230
+
231
+ engageCreateBridge(jsonConfig) {
232
+ return this.wasmWrapper.engageCreateBridge(jsonConfig);
233
+ }
234
+
235
+ engageDeleteBridge(id) {
236
+ return this.wasmWrapper.engageDeleteBridge(id);
237
+ }
238
+
239
+ engageSendGroupBlob(id, csUint8Array, arraySize, jsonBlobInfoParams) {
240
+ var blobPtr = this.wasm._malloc(arraySize * 1);
241
+ this.wasm.HEAPU8.set(csUint8Array, blobPtr);
242
+
243
+ const rc = this.wasmWrapper.engageSendGroupBlob(
244
+ id,
245
+ blobPtr,
246
+ arraySize,
247
+ jsonBlobInfoParams
248
+ );
249
+
250
+ this.wasm._free(blobPtr);
251
+
252
+ return rc;
253
+ }
230
254
  }
231
255
 
232
256
  /*
@@ -313,4 +337,7 @@ export default class Engage extends EventTarget {
313
337
  onGroupRxDtmf({detail: {id: id, dtmfReportJson: dtmfReportJson, eej: eventExtraJson}})
314
338
  onGroupReconfigured({detail: {id: id, eej: eventExtraJson}})
315
339
  onGroupReconfigurationFailed({detail: {id: id, eej: eventExtraJson}})
340
+ onBridgeCreated({detail: {id: id, eej: eventExtraJson}})
341
+ onBridgeCreateFailed({detail: {id: id, eej: eventExtraJson}})
342
+ onBridgeDeleted({detail: {id: id, eej: eventExtraJson}})
316
343
  */