@azure/data-tables 13.2.2-alpha.20230317.2 → 13.2.2-alpha.20230320.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 +1 -25
- package/dist/index.js.map +1 -1
- package/dist-esm/src/sas/sasQueryParameters.js +1 -21
- package/dist-esm/src/sas/sasQueryParameters.js.map +1 -1
- package/dist-esm/src/sas/tableSasSignatureValues.js +0 -4
- package/dist-esm/src/sas/tableSasSignatureValues.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -247,10 +247,6 @@ class SasQueryParameters {
|
|
|
247
247
|
this.ipRangeInner = options.ipRange;
|
|
248
248
|
this.identifier = options.identifier;
|
|
249
249
|
this.tableName = options.tableName;
|
|
250
|
-
this.endPartitionKey = options.endPartitionKey;
|
|
251
|
-
this.endRowKey = options.endRowKey;
|
|
252
|
-
this.startPartitionKey = options.startPartitionKey;
|
|
253
|
-
this.startRowKey = options.startRowKey;
|
|
254
250
|
if (options.userDelegationKey) {
|
|
255
251
|
this.signedOid = options.userDelegationKey.signedObjectId;
|
|
256
252
|
this.signedTenantId = options.userDelegationKey.signedTenantId;
|
|
@@ -306,11 +302,7 @@ class SasQueryParameters {
|
|
|
306
302
|
"rsct",
|
|
307
303
|
"saoid",
|
|
308
304
|
"scid",
|
|
309
|
-
"tn",
|
|
310
|
-
"srk",
|
|
311
|
-
"spk",
|
|
312
|
-
"epk",
|
|
313
|
-
"erk",
|
|
305
|
+
"tn", // TableName
|
|
314
306
|
];
|
|
315
307
|
const queries = [];
|
|
316
308
|
for (const param of params) {
|
|
@@ -372,18 +364,6 @@ class SasQueryParameters {
|
|
|
372
364
|
case "tn":
|
|
373
365
|
this.tryAppendQueryParameter(queries, param, this.tableName);
|
|
374
366
|
break;
|
|
375
|
-
case "spk":
|
|
376
|
-
this.tryAppendQueryParameter(queries, param, this.startPartitionKey);
|
|
377
|
-
break;
|
|
378
|
-
case "srk":
|
|
379
|
-
this.tryAppendQueryParameter(queries, param, this.startRowKey);
|
|
380
|
-
break;
|
|
381
|
-
case "epk":
|
|
382
|
-
this.tryAppendQueryParameter(queries, param, this.endPartitionKey);
|
|
383
|
-
break;
|
|
384
|
-
case "erk":
|
|
385
|
-
this.tryAppendQueryParameter(queries, param, this.endRowKey);
|
|
386
|
-
break;
|
|
387
367
|
}
|
|
388
368
|
}
|
|
389
369
|
return queries.join("&");
|
|
@@ -741,10 +721,6 @@ function generateTableSasQueryParameters(tableName, credential, tableSasSignatur
|
|
|
741
721
|
ipRange: tableSasSignatureValues.ipRange,
|
|
742
722
|
identifier: tableSasSignatureValues.identifier,
|
|
743
723
|
tableName,
|
|
744
|
-
startPartitionKey: tableSasSignatureValues.startPartitionKey,
|
|
745
|
-
startRowKey: tableSasSignatureValues.startRowKey,
|
|
746
|
-
endPartitionKey: tableSasSignatureValues.endPartitionKey,
|
|
747
|
-
endRowKey: tableSasSignatureValues.endRowKey,
|
|
748
724
|
});
|
|
749
725
|
}
|
|
750
726
|
function getCanonicalName(accountName, tableName) {
|