@azure/storage-queue 12.8.0-alpha.20220111.2 → 12.8.0-alpha.20220113.3

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/CHANGELOG.md CHANGED
@@ -189,7 +189,7 @@
189
189
  - Updated HTTP client from axios to node-fetch in Node.js runtime.
190
190
  - A new option `keepAliveOptions` added to parameter of `newPipeline()` which controls keep-alive configurations. Keep-alive is enabled by default.
191
191
  - Pass through `options.abortSignal` to the optional `abortSignal` attribute in option bags instead of using `AbortSignal.none` as the default value when `options.abortSignal` is not specified.
192
- - Basic HTTP proxy authentication support is added. Proxy settings can be passed in the options while creating a new client. Example - [typescript/proxyAuth.ts](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/storage-queue/samples/typescript/src/proxyAuth.ts)
192
+ - Basic HTTP proxy authentication support is added. Proxy settings can be passed in the options while creating a new client. Example - [typescript/proxyAuth.ts](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/storage-queue/samples/v12/typescript/src/proxyAuth.ts)
193
193
  - Connection strings for explicit storage endpoints are supported. - [Configure Azure Storage connection strings](https://docs.microsoft.com/azure/storage/common/storage-configure-connection-string#create-a-connection-string-for-an-explicit-storage-endpoint)
194
194
 
195
195
  ## 10.3.0 (2019-09-09)
@@ -246,7 +246,7 @@
246
246
  - Connection string method is supported only in Node.js (not browsers).
247
247
  - Creation/Deletion of child resources are duplicated to parent client type.
248
248
  - HTTP proxy support is added (Node.js only).
249
- - Please refer to the `proxyAuth.ts` sample in the `samples/typescript` folder.
249
+ - Please refer to the `proxyAuth.ts` sample in the `samples/v12/typescript` folder.
250
250
  - Request and response headers are now logged at INFO level, with sensitive data redacted.
251
251
 
252
252
  For release notes and more information please visit https://aka.ms/azsdk/releases/july2019preview
package/README.md CHANGED
@@ -11,6 +11,7 @@ Use the client libraries in this package to:
11
11
  - Send/Receive/Peek/Clear/Update/Delete Queue Messages
12
12
 
13
13
  Key links:
14
+
14
15
  - [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/storage/storage-queue)
15
16
  - [Package (npm)](https://www.npmjs.com/package/@azure/storage-queue)
16
17
  - [API Reference Documentation](https://docs.microsoft.com/javascript/api/@azure/storage-queue)
@@ -29,7 +30,7 @@ See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUP
29
30
 
30
31
  ### Prerequisites
31
32
 
32
- - An [Azure subscription](https://azure.microsoft.com/free/)
33
+ - An [Azure subscription](https://azure.microsoft.com/free/)
33
34
  - A [Storage Account](https://docs.microsoft.com/azure/storage/common/storage-account-create)
34
35
 
35
36
  ### Install the package
@@ -270,7 +271,7 @@ async function main() {
270
271
  main();
271
272
  ```
272
273
 
273
- For a complete sample on iterating queues please see [samples/typescript/iterators.ts](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/storage-queue/samples/typescript/src/iterators.ts).
274
+ For a complete sample on iterating queues please see [samples/v12/typescript/listQueues.ts](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/storage-queue/samples/v12/typescript/src/listQueues.ts).
274
275
 
275
276
  ### Create a new queue
276
277
 
@@ -428,7 +429,7 @@ async function main() {
428
429
  main();
429
430
  ```
430
431
 
431
- A complete example of basic scenarios is at [samples/basic.ts](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/storage-queue/samples/typescript/src/basic.ts).
432
+ A complete example of simple `QueueServiceClient` scenarios is at [samples/v12/typescript/src/queueClient.ts](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/storage-queue/samples/v12/typescript/src/queueClient.ts).
432
433
 
433
434
  ## Troubleshooting
434
435
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@azure/storage-queue",
3
3
  "sdk-type": "client",
4
- "version": "12.8.0-alpha.20220111.2",
4
+ "version": "12.8.0-alpha.20220113.3",
5
5
  "description": "Microsoft Azure Storage SDK for JavaScript - Queue",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist-esm/src/index.js",
@@ -12,11 +12,11 @@
12
12
  "os": false,
13
13
  "process": false
14
14
  },
15
- "types": "./typings/latest/storage-queue.d.ts",
15
+ "types": "./types/latest/storage-queue.d.ts",
16
16
  "typesVersions": {
17
17
  "<3.6": {
18
18
  "*": [
19
- "./typings/3.1/storage-queue.d.ts"
19
+ "./types/3.1/storage-queue.d.ts"
20
20
  ]
21
21
  }
22
22
  },
@@ -27,16 +27,16 @@
27
27
  "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit",
28
28
  "build:browser": "tsc -p . && cross-env ONLY_BROWSER=true rollup -c 2>&1",
29
29
  "build:node": "tsc -p . && cross-env ONLY_NODE=true rollup -c 2>&1",
30
- "build:samples": "dev-tool samples prep && cd dist-samples && tsc -p .",
30
+ "build:samples": "echo Obsolete.",
31
31
  "build:test": "tsc -p . && rollup -c 2>&1",
32
- "build:types": "downlevel-dts typings/latest typings/3.1",
32
+ "build:types": "downlevel-dts types/latest types/3.1",
33
33
  "build": "npm run clean && tsc -p . && rollup -c 2>&1 && api-extractor run --local && npm run build:types",
34
- "check-format": "prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"",
35
- "clean": "rimraf dist dist-* typings temp statistics.html coverage coverage-browser .nyc_output *.tgz *.log test*.xml TEST*.xml",
36
- "clean:samples": "rimraf samples/javascript/node_modules samples/typescript/node_modules samples/typescript/dist samples/typescript/package-lock.json samples/javascript/package-lock.json",
34
+ "check-format": "prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
35
+ "clean": "rimraf dist dist-* types temp statistics.html coverage coverage-browser .nyc_output *.tgz *.log test*.xml TEST*.xml",
36
+ "clean:samples": "rimraf samples/v12/javascript/node_modules samples/v12/typescript/node_modules samples/v12/typescript/dist samples/v12/typescript/package-lock.json samples/v12/javascript/package-lock.json",
37
37
  "extract-api": "tsc -p . && api-extractor run --local",
38
- "execute:samples": "npm run build:samples && dev-tool samples run dist-samples/javascript dist-samples/typescript/src/",
39
- "format": "prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"",
38
+ "execute:samples": "dev-tool run samples-dev",
39
+ "format": "prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
40
40
  "generate:client": "autorest --typescript ./swagger/README.md",
41
41
  "integration-test:browser": "karma start --single-run",
42
42
  "integration-test:node": "nyc mocha -r esm --require source-map-support/register --reporter ../../../common/tools/mocha-multi-reporter.js --full-trace -t 120000 \"dist-esm/test/*.spec.js\" \"dist-esm/test/node/*.spec.js\"",
@@ -56,8 +56,8 @@
56
56
  "BreakingChanges.md",
57
57
  "dist/",
58
58
  "dist-esm/src/",
59
- "typings/latest/storage-queue.d.ts",
60
- "typings/3.1/storage-queue.d.ts",
59
+ "types/latest/storage-queue.d.ts",
60
+ "types/3.1/storage-queue.d.ts",
61
61
  "README.md",
62
62
  "LICENSE"
63
63
  ],
@@ -97,13 +97,21 @@
97
97
  },
98
98
  "//sampleConfiguration": {
99
99
  "skip": [
100
- "anonymousCred.js",
100
+ "anonymousAuth.js",
101
101
  "azureAdAuth.js",
102
- "basic.js",
102
+ "queueClient.js",
103
103
  "customPipeline.js",
104
- "iterators.js",
105
- "sharedKeyCred.js"
106
- ]
104
+ "listQueues.js",
105
+ "sharedKeyAuth.js"
106
+ ],
107
+ "productName": "Azure Storage Queue",
108
+ "productSlugs": [
109
+ "azure",
110
+ "azure-storage"
111
+ ],
112
+ "requiredResources": {
113
+ "Azure Storage Account": "https://docs.microsoft.com/azure/storage/common/storage-account-overview"
114
+ }
107
115
  },
108
116
  "dependencies": {
109
117
  "@azure/abort-controller": "^1.0.0",
File without changes
File without changes