@azure/communication-chat 1.3.2-beta.2 → 1.3.2-beta.3

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/index.js CHANGED
@@ -139,7 +139,7 @@ const mapToReadReceiptSdkModel = (readReceipt) => {
139
139
  const tracingClient = coreTracing.createTracingClient({
140
140
  namespace: "Azure.Communication",
141
141
  packageName: "@azure/communication-chat",
142
- packageVersion: "1.3.2-beta.2"
142
+ packageVersion: "1.3.2-beta.3"
143
143
  });
144
144
 
145
145
  /*
@@ -2047,7 +2047,7 @@ class ChatApiClient extends coreClient__namespace.ServiceClient {
2047
2047
  const defaults = {
2048
2048
  requestContentType: "application/json; charset=utf-8"
2049
2049
  };
2050
- const packageDetails = `azsdk-js-communication-chat/1.3.2-beta.2`;
2050
+ const packageDetails = `azsdk-js-communication-chat/1.3.2-beta.3`;
2051
2051
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
2052
2052
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
2053
2053
  : `${packageDetails}`;
@@ -2199,17 +2199,24 @@ class ChatThreadClient {
2199
2199
  }
2200
2200
  listMessagesAll(options) {
2201
2201
  return tslib.__asyncGenerator(this, arguments, function* listMessagesAll_1() {
2202
- var e_1, _a;
2202
+ var _a, e_1, _b, _c;
2203
2203
  try {
2204
- for (var _b = tslib.__asyncValues(this.listMessagesPage({}, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
2205
- const page = _c.value;
2206
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2204
+ for (var _d = true, _e = tslib.__asyncValues(this.listMessagesPage({}, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
2205
+ _c = _f.value;
2206
+ _d = false;
2207
+ try {
2208
+ const page = _c;
2209
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2210
+ }
2211
+ finally {
2212
+ _d = true;
2213
+ }
2207
2214
  }
2208
2215
  }
2209
2216
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
2210
2217
  finally {
2211
2218
  try {
2212
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
2219
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
2213
2220
  }
2214
2221
  finally { if (e_1) throw e_1.error; }
2215
2222
  }
@@ -2301,17 +2308,24 @@ class ChatThreadClient {
2301
2308
  }
2302
2309
  listParticipantsAll(options) {
2303
2310
  return tslib.__asyncGenerator(this, arguments, function* listParticipantsAll_1() {
2304
- var e_2, _a;
2311
+ var _a, e_2, _b, _c;
2305
2312
  try {
2306
- for (var _b = tslib.__asyncValues(this.listParticipantsPage({}, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
2307
- const page = _c.value;
2308
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2313
+ for (var _d = true, _e = tslib.__asyncValues(this.listParticipantsPage({}, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
2314
+ _c = _f.value;
2315
+ _d = false;
2316
+ try {
2317
+ const page = _c;
2318
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2319
+ }
2320
+ finally {
2321
+ _d = true;
2322
+ }
2309
2323
  }
2310
2324
  }
2311
2325
  catch (e_2_1) { e_2 = { error: e_2_1 }; }
2312
2326
  finally {
2313
2327
  try {
2314
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
2328
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
2315
2329
  }
2316
2330
  finally { if (e_2) throw e_2.error; }
2317
2331
  }
@@ -2411,17 +2425,24 @@ class ChatThreadClient {
2411
2425
  }
2412
2426
  listReadReceiptsAll(options) {
2413
2427
  return tslib.__asyncGenerator(this, arguments, function* listReadReceiptsAll_1() {
2414
- var e_3, _a;
2428
+ var _a, e_3, _b, _c;
2415
2429
  try {
2416
- for (var _b = tslib.__asyncValues(this.listReadReceiptsPage({}, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
2417
- const page = _c.value;
2418
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2430
+ for (var _d = true, _e = tslib.__asyncValues(this.listReadReceiptsPage({}, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
2431
+ _c = _f.value;
2432
+ _d = false;
2433
+ try {
2434
+ const page = _c;
2435
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2436
+ }
2437
+ finally {
2438
+ _d = true;
2439
+ }
2419
2440
  }
2420
2441
  }
2421
2442
  catch (e_3_1) { e_3 = { error: e_3_1 }; }
2422
2443
  finally {
2423
2444
  try {
2424
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
2445
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
2425
2446
  }
2426
2447
  finally { if (e_3) throw e_3.error; }
2427
2448
  }
@@ -2575,17 +2596,24 @@ class ChatClient {
2575
2596
  }
2576
2597
  listChatThreadsAll(options) {
2577
2598
  return tslib.__asyncGenerator(this, arguments, function* listChatThreadsAll_1() {
2578
- var e_1, _a;
2599
+ var _a, e_1, _b, _c;
2579
2600
  try {
2580
- for (var _b = tslib.__asyncValues(this.listChatThreadsPage({}, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
2581
- const page = _c.value;
2582
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2601
+ for (var _d = true, _e = tslib.__asyncValues(this.listChatThreadsPage({}, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
2602
+ _c = _f.value;
2603
+ _d = false;
2604
+ try {
2605
+ const page = _c;
2606
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2607
+ }
2608
+ finally {
2609
+ _d = true;
2610
+ }
2583
2611
  }
2584
2612
  }
2585
2613
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
2586
2614
  finally {
2587
2615
  try {
2588
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
2616
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
2589
2617
  }
2590
2618
  finally { if (e_1) throw e_1.error; }
2591
2619
  }