@azure/digital-twins-core 2.0.0-alpha.20230310.2 → 2.0.0-alpha.20230419.1

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
@@ -886,17 +886,24 @@ class DigitalTwinModelsImpl {
886
886
  }
887
887
  listPagingAll(options) {
888
888
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
889
- var e_1, _a;
889
+ var _a, e_1, _b, _c;
890
890
  try {
891
- for (var _b = tslib.__asyncValues(this.listPagingPage(options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
892
- const page = _c.value;
893
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
891
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
892
+ _c = _f.value;
893
+ _d = false;
894
+ try {
895
+ const page = _c;
896
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
897
+ }
898
+ finally {
899
+ _d = true;
900
+ }
894
901
  }
895
902
  }
896
903
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
897
904
  finally {
898
905
  try {
899
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
906
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
900
907
  }
901
908
  finally { if (e_1) throw e_1.error; }
902
909
  }
@@ -1229,17 +1236,24 @@ class DigitalTwinsImpl {
1229
1236
  }
1230
1237
  listRelationshipsPagingAll(id, options) {
1231
1238
  return tslib.__asyncGenerator(this, arguments, function* listRelationshipsPagingAll_1() {
1232
- var e_1, _a;
1239
+ var _a, e_1, _b, _c;
1233
1240
  try {
1234
- for (var _b = tslib.__asyncValues(this.listRelationshipsPagingPage(id, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
1235
- const page = _c.value;
1236
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1241
+ for (var _d = true, _e = tslib.__asyncValues(this.listRelationshipsPagingPage(id, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
1242
+ _c = _f.value;
1243
+ _d = false;
1244
+ try {
1245
+ const page = _c;
1246
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1247
+ }
1248
+ finally {
1249
+ _d = true;
1250
+ }
1237
1251
  }
1238
1252
  }
1239
1253
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
1240
1254
  finally {
1241
1255
  try {
1242
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
1256
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
1243
1257
  }
1244
1258
  finally { if (e_1) throw e_1.error; }
1245
1259
  }
@@ -1295,17 +1309,24 @@ class DigitalTwinsImpl {
1295
1309
  }
1296
1310
  listIncomingRelationshipsPagingAll(id, options) {
1297
1311
  return tslib.__asyncGenerator(this, arguments, function* listIncomingRelationshipsPagingAll_1() {
1298
- var e_2, _a;
1312
+ var _a, e_2, _b, _c;
1299
1313
  try {
1300
- for (var _b = tslib.__asyncValues(this.listIncomingRelationshipsPagingPage(id, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
1301
- const page = _c.value;
1302
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1314
+ for (var _d = true, _e = tslib.__asyncValues(this.listIncomingRelationshipsPagingPage(id, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
1315
+ _c = _f.value;
1316
+ _d = false;
1317
+ try {
1318
+ const page = _c;
1319
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1320
+ }
1321
+ finally {
1322
+ _d = true;
1323
+ }
1303
1324
  }
1304
1325
  }
1305
1326
  catch (e_2_1) { e_2 = { error: e_2_1 }; }
1306
1327
  finally {
1307
1328
  try {
1308
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
1329
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
1309
1330
  }
1310
1331
  finally { if (e_2) throw e_2.error; }
1311
1332
  }
@@ -1960,17 +1981,24 @@ class EventRoutesImpl {
1960
1981
  }
1961
1982
  listPagingAll(options) {
1962
1983
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
1963
- var e_1, _a;
1984
+ var _a, e_1, _b, _c;
1964
1985
  try {
1965
- for (var _b = tslib.__asyncValues(this.listPagingPage(options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
1966
- const page = _c.value;
1967
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1986
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
1987
+ _c = _f.value;
1988
+ _d = false;
1989
+ try {
1990
+ const page = _c;
1991
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1992
+ }
1993
+ finally {
1994
+ _d = true;
1995
+ }
1968
1996
  }
1969
1997
  }
1970
1998
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
1971
1999
  finally {
1972
2000
  try {
1973
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
2001
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
1974
2002
  }
1975
2003
  finally { if (e_1) throw e_1.error; }
1976
2004
  }
@@ -2558,19 +2586,26 @@ class DigitalTwinsClient {
2558
2586
  */
2559
2587
  queryTwinsAll(query, options) {
2560
2588
  return tslib.__asyncGenerator(this, arguments, function* queryTwinsAll_1() {
2561
- var e_1, _a;
2589
+ var _a, e_1, _b, _c;
2562
2590
  try {
2563
- for (var _b = tslib.__asyncValues(this.queryTwinsPage(query, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
2564
- const page = _c.value;
2565
- if (page.value) {
2566
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page.value)));
2591
+ for (var _d = true, _e = tslib.__asyncValues(this.queryTwinsPage(query, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
2592
+ _c = _f.value;
2593
+ _d = false;
2594
+ try {
2595
+ const page = _c;
2596
+ if (page.value) {
2597
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page.value)));
2598
+ }
2599
+ }
2600
+ finally {
2601
+ _d = true;
2567
2602
  }
2568
2603
  }
2569
2604
  }
2570
2605
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
2571
2606
  finally {
2572
2607
  try {
2573
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
2608
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
2574
2609
  }
2575
2610
  finally { if (e_1) throw e_1.error; }
2576
2611
  }