@azure/core-paging 1.6.3-alpha.20250130.1 → 1.6.3-alpha.20250131.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/README.md +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -23,7 +23,7 @@ You can find an explanation of how this repository's code works by going to our
|
|
|
23
23
|
|
|
24
24
|
Example of building with the types:
|
|
25
25
|
|
|
26
|
-
```typescript snippet:
|
|
26
|
+
```typescript snippet:ReadmePagingSample
|
|
27
27
|
import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
|
|
28
28
|
|
|
29
29
|
function listSecrets(
|
|
@@ -40,6 +40,7 @@ function listSecrets(
|
|
|
40
40
|
byPage: (settings: PageSettings = {}) => listSecretsPage(settings, options),
|
|
41
41
|
};
|
|
42
42
|
}
|
|
43
|
+
|
|
43
44
|
for await (const page of listSecrets().byPage({ maxPageSize: 2 })) {
|
|
44
45
|
for (const secret of page) {
|
|
45
46
|
console.log("secret: ", secret);
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@azure/core-paging",
|
|
3
3
|
"author": "Microsoft Corporation",
|
|
4
4
|
"sdk-type": "client",
|
|
5
|
-
"version": "1.6.3-alpha.
|
|
5
|
+
"version": "1.6.3-alpha.20250131.1",
|
|
6
6
|
"description": "Core types for paging async iterable iterators",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"main": "./dist/commonjs/index.js",
|