@azure/data-tables 13.2.2 → 13.2.3-alpha.20230719.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
@@ -228,6 +228,20 @@ function truncatedISO8061Date(date, withMilliseconds = true) {
228
228
  * NOTE: Instances of this class are immutable.
229
229
  */
230
230
  class SasQueryParameters {
231
+ /**
232
+ * Optional. IP range allowed for this SAS.
233
+ *
234
+ * @readonly
235
+ */
236
+ get ipRange() {
237
+ if (this.ipRangeInner) {
238
+ return {
239
+ end: this.ipRangeInner.end,
240
+ start: this.ipRangeInner.start,
241
+ };
242
+ }
243
+ return undefined;
244
+ }
231
245
  /**
232
246
  * Creates an instance of SASQueryParameters.
233
247
  *
@@ -262,20 +276,6 @@ class SasQueryParameters {
262
276
  this.correlationId = options.correlationId;
263
277
  }
264
278
  }
265
- /**
266
- * Optional. IP range allowed for this SAS.
267
- *
268
- * @readonly
269
- */
270
- get ipRange() {
271
- if (this.ipRangeInner) {
272
- return {
273
- end: this.ipRangeInner.end,
274
- start: this.ipRangeInner.start,
275
- };
276
- }
277
- return undefined;
278
- }
279
279
  /**
280
280
  * Encodes all SAS query parameters into a string that can be appended to a URL.
281
281
  *
@@ -3526,7 +3526,7 @@ function signURLWithSAS(request, credential) {
3526
3526
  const tracingClient = coreTracing.createTracingClient({
3527
3527
  namespace: "Microsoft.Data.Tables",
3528
3528
  packageName: "@azure/data-tables",
3529
- packageVersion: "13.2.2",
3529
+ packageVersion: "13.2.3",
3530
3530
  });
3531
3531
 
3532
3532
  // Copyright (c) Microsoft Corporation.
@@ -3656,22 +3656,29 @@ class TableServiceClient {
3656
3656
  }
3657
3657
  listTablesAll(options) {
3658
3658
  return tslib.__asyncGenerator(this, arguments, function* listTablesAll_1() {
3659
- var e_1, _a;
3659
+ var _a, e_1, _b, _c;
3660
3660
  const firstPage = yield tslib.__await(this._listTables(options));
3661
3661
  const { continuationToken } = firstPage;
3662
3662
  yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(firstPage)));
3663
3663
  if (continuationToken) {
3664
3664
  const optionsWithContinuation = Object.assign(Object.assign({}, options), { continuationToken });
3665
3665
  try {
3666
- for (var _b = tslib.__asyncValues(this.listTablesPage(optionsWithContinuation)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
3667
- const page = _c.value;
3668
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3666
+ for (var _d = true, _e = tslib.__asyncValues(this.listTablesPage(optionsWithContinuation)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
3667
+ _c = _f.value;
3668
+ _d = false;
3669
+ try {
3670
+ const page = _c;
3671
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
3672
+ }
3673
+ finally {
3674
+ _d = true;
3675
+ }
3669
3676
  }
3670
3677
  }
3671
3678
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
3672
3679
  finally {
3673
3680
  try {
3674
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
3681
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
3675
3682
  }
3676
3683
  finally { if (e_1) throw e_1.error; }
3677
3684
  }
@@ -4652,21 +4659,28 @@ class TableClient {
4652
4659
  }
4653
4660
  listEntitiesAll(tableName, options) {
4654
4661
  return tslib.__asyncGenerator(this, arguments, function* listEntitiesAll_1() {
4655
- var e_1, _a;
4662
+ var _a, e_1, _b, _c;
4656
4663
  const firstPage = yield tslib.__await(this._listEntities(tableName, options));
4657
4664
  yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(firstPage)));
4658
4665
  if (firstPage.continuationToken) {
4659
4666
  const optionsWithContinuation = Object.assign(Object.assign({}, options), { continuationToken: firstPage.continuationToken });
4660
4667
  try {
4661
- for (var _b = tslib.__asyncValues(this.listEntitiesPage(tableName, optionsWithContinuation)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
4662
- const page = _c.value;
4663
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4668
+ for (var _d = true, _e = tslib.__asyncValues(this.listEntitiesPage(tableName, optionsWithContinuation)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
4669
+ _c = _f.value;
4670
+ _d = false;
4671
+ try {
4672
+ const page = _c;
4673
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
4674
+ }
4675
+ finally {
4676
+ _d = true;
4677
+ }
4664
4678
  }
4665
4679
  }
4666
4680
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
4667
4681
  finally {
4668
4682
  try {
4669
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
4683
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
4670
4684
  }
4671
4685
  finally { if (e_1) throw e_1.error; }
4672
4686
  }