@azure/digital-twins-core 2.0.0-alpha.20231010.1 → 2.0.0-alpha.20231024.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
@@ -885,16 +885,11 @@ class DigitalTwinModelsImpl {
885
885
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
886
886
  var _a, e_1, _b, _c;
887
887
  try {
888
- for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
888
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
889
889
  _c = _f.value;
890
890
  _d = false;
891
- try {
892
- const page = _c;
893
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
894
- }
895
- finally {
896
- _d = true;
897
- }
891
+ const page = _c;
892
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
898
893
  }
899
894
  }
900
895
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -1235,16 +1230,11 @@ class DigitalTwinsImpl {
1235
1230
  return tslib.__asyncGenerator(this, arguments, function* listRelationshipsPagingAll_1() {
1236
1231
  var _a, e_1, _b, _c;
1237
1232
  try {
1238
- for (var _d = true, _e = tslib.__asyncValues(this.listRelationshipsPagingPage(id, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
1233
+ for (var _d = true, _e = tslib.__asyncValues(this.listRelationshipsPagingPage(id, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
1239
1234
  _c = _f.value;
1240
1235
  _d = false;
1241
- try {
1242
- const page = _c;
1243
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1244
- }
1245
- finally {
1246
- _d = true;
1247
- }
1236
+ const page = _c;
1237
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1248
1238
  }
1249
1239
  }
1250
1240
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -1308,16 +1298,11 @@ class DigitalTwinsImpl {
1308
1298
  return tslib.__asyncGenerator(this, arguments, function* listIncomingRelationshipsPagingAll_1() {
1309
1299
  var _a, e_2, _b, _c;
1310
1300
  try {
1311
- for (var _d = true, _e = tslib.__asyncValues(this.listIncomingRelationshipsPagingPage(id, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
1301
+ for (var _d = true, _e = tslib.__asyncValues(this.listIncomingRelationshipsPagingPage(id, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
1312
1302
  _c = _f.value;
1313
1303
  _d = false;
1314
- try {
1315
- const page = _c;
1316
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1317
- }
1318
- finally {
1319
- _d = true;
1320
- }
1304
+ const page = _c;
1305
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1321
1306
  }
1322
1307
  }
1323
1308
  catch (e_2_1) { e_2 = { error: e_2_1 }; }
@@ -1980,16 +1965,11 @@ class EventRoutesImpl {
1980
1965
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
1981
1966
  var _a, e_1, _b, _c;
1982
1967
  try {
1983
- for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
1968
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
1984
1969
  _c = _f.value;
1985
1970
  _d = false;
1986
- try {
1987
- const page = _c;
1988
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1989
- }
1990
- finally {
1991
- _d = true;
1992
- }
1971
+ const page = _c;
1972
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1993
1973
  }
1994
1974
  }
1995
1975
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -2588,17 +2568,12 @@ class DigitalTwinsClient {
2588
2568
  return tslib.__asyncGenerator(this, arguments, function* queryTwinsAll_1() {
2589
2569
  var _a, e_1, _b, _c;
2590
2570
  try {
2591
- for (var _d = true, _e = tslib.__asyncValues(this.queryTwinsPage(query, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
2571
+ for (var _d = true, _e = tslib.__asyncValues(this.queryTwinsPage(query, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
2592
2572
  _c = _f.value;
2593
2573
  _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;
2574
+ const page = _c;
2575
+ if (page.value) {
2576
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page.value)));
2602
2577
  }
2603
2578
  }
2604
2579
  }