@azure/storage-file-share 12.27.0-alpha.20250217.1 → 12.27.0-alpha.20250225.2

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.
Files changed (2) hide show
  1. package/README.md +2 -4
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -190,9 +190,7 @@ const { ShareServiceClient } = require("@azure/storage-file-share");
190
190
  const account = "<account name>";
191
191
  const sas = "<service Shared Access Signature Token>";
192
192
 
193
- const serviceClientWithSAS = new ShareServiceClient(
194
- `https://${account}.file.core.windows.net${sas}`,
195
- );
193
+ const serviceClientWithSAS = new ShareServiceClient(`https://${account}.file.core.windows.net?${sas}`);
196
194
  ```
197
195
 
198
196
  ### List shares in the account
@@ -453,7 +451,7 @@ const sas = "<service Shared Access Signature Token>";
453
451
  const shareName = "<share name>";
454
452
  const fileName = "<file name>";
455
453
 
456
- const serviceClient = new ShareServiceClient(`https://${account}.file.core.windows.net${sas}`);
454
+ const serviceClient = new ShareServiceClient(`https://${account}.file.core.windows.net?${sas}`);
457
455
 
458
456
  async function main() {
459
457
  const fileClient = serviceClient
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@azure/storage-file-share",
3
3
  "sdk-type": "client",
4
- "version": "12.27.0-alpha.20250217.1",
4
+ "version": "12.27.0-alpha.20250225.2",
5
5
  "description": "Microsoft Azure Storage SDK for JavaScript - File",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist-esm/storage-file-share/src/index.js",
@@ -154,7 +154,7 @@
154
154
  "karma-junit-reporter": "^2.0.1",
155
155
  "karma-mocha": "^2.0.1",
156
156
  "karma-mocha-reporter": "^2.2.5",
157
- "karma-sourcemap-loader": "^0.3.8",
157
+ "karma-sourcemap-loader": "^0.4.0",
158
158
  "mocha": "^11.0.2",
159
159
  "nyc": "^17.0.0",
160
160
  "puppeteer": "^24.0.0",