@azure/storage-blob-changefeed 12.0.0-alpha.20230223.2 → 12.0.0-alpha.20230227.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.
- package/package.json +5 -5
- package/types/3.1/storage-blob-changefeed/test/utils/index.d.ts +2 -1
- package/types/3.1/storage-blob-changefeed/test/utils/testutils.common.d.ts +6 -2
- package/types/latest/storage-blob-changefeed/test/utils/index.d.ts +2 -1
- package/types/latest/storage-blob-changefeed/test/utils/index.d.ts.map +1 -1
- package/types/latest/storage-blob-changefeed/test/utils/testutils.common.d.ts +6 -2
- package/types/latest/storage-blob-changefeed/test/utils/testutils.common.d.ts.map +1 -1
- package/types/latest/tsdoc-metadata.json +1 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure/storage-blob-changefeed",
|
|
3
3
|
"sdk-type": "client",
|
|
4
|
-
"version": "12.0.0-alpha.
|
|
4
|
+
"version": "12.0.0-alpha.20230227.2",
|
|
5
5
|
"description": "Microsoft Azure Storage SDK for JavaScript - Blob Change Feed",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"module": "./dist-esm/storage-blob-changefeed/src/index.js",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"extract-api": "tsc -p . && api-extractor run --local",
|
|
38
38
|
"execute:samples": "dev-tool samples run samples-dev",
|
|
39
39
|
"format": "prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
|
|
40
|
-
"integration-test:browser": "
|
|
41
|
-
"integration-test:node": "
|
|
40
|
+
"integration-test:browser": "dev-tool run test:browser",
|
|
41
|
+
"integration-test:node": "dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/test/**/*.spec.js'",
|
|
42
42
|
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
|
|
43
43
|
"lint:fix": "eslint package.json api-extractor.json src test --ext .ts --fix",
|
|
44
44
|
"lint": "eslint package.json api-extractor.json src test --ext .ts",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"test:node": "npm run clean && npm run build:test && npm run unit-test:node",
|
|
48
48
|
"test": "npm run clean && npm run build:test && npm run unit-test",
|
|
49
49
|
"unit-test:browser": "echo 'browser not supported yet.'",
|
|
50
|
-
"unit-test:node": "
|
|
50
|
+
"unit-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 --exclude 'test/**/browser/*.spec.ts' 'test/**/*.spec.ts'",
|
|
51
51
|
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
|
|
52
52
|
"emulator-tests": "cross-env STORAGE_CONNECTION_STRING=UseDevelopmentStorage=true && npm run test:node"
|
|
53
53
|
},
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
"@azure/dev-tool": ">=1.0.0-alpha <1.0.0-alphb",
|
|
108
108
|
"@azure/eslint-plugin-azure-sdk": ">=3.0.0-alpha <3.0.0-alphb",
|
|
109
109
|
"@azure/test-utils": ">=1.0.0-alpha <1.0.0-alphb",
|
|
110
|
-
"@azure-tools/test-recorder": "^
|
|
110
|
+
"@azure-tools/test-recorder": "^2.0.0",
|
|
111
111
|
"@microsoft/api-extractor": "^7.31.1",
|
|
112
112
|
"@types/chai": "^4.1.6",
|
|
113
113
|
"@types/mocha": "^7.0.2",
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { StorageSharedKeyCredential, BlobServiceClient, StoragePipelineOptions } from "@azure/storage-blob";
|
|
2
2
|
import { BlobChangeFeedClient } from "../../src";
|
|
3
3
|
import { TokenCredential } from "@azure/core-auth";
|
|
4
|
+
import { Recorder } from "@azure-tools/test-recorder";
|
|
4
5
|
export * from "./testutils.common";
|
|
5
6
|
export declare function getGenericCredential(accountType: string): StorageSharedKeyCredential;
|
|
6
7
|
export declare function getGenericBSU(accountType: string, accountNameSuffix?: string): BlobServiceClient;
|
|
@@ -9,5 +10,5 @@ export declare function getTokenBSU(): BlobServiceClient;
|
|
|
9
10
|
export declare function getBSU(): BlobServiceClient;
|
|
10
11
|
export declare function getAlternateBSU(): BlobServiceClient;
|
|
11
12
|
export declare function getConnectionStringFromEnvironment(): string;
|
|
12
|
-
export declare function getBlobChangeFeedClient(accountType?: string, accountNameSuffix?: string, options?: StoragePipelineOptions): BlobChangeFeedClient;
|
|
13
|
+
export declare function getBlobChangeFeedClient(recorder: Recorder, accountType?: string, accountNameSuffix?: string, options?: StoragePipelineOptions): BlobChangeFeedClient;
|
|
13
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { TokenCredential, GetTokenOptions, AccessToken } from "@azure/core-auth";
|
|
3
|
-
import {
|
|
3
|
+
import { Recorder, RecorderStartOptions } from "@azure-tools/test-recorder";
|
|
4
4
|
import { Readable } from "stream";
|
|
5
|
+
import { FindReplaceSanitizer } from "@azure-tools/test-recorder/types/src/utils/utils";
|
|
6
|
+
import { BlobChangeFeedClient } from "../../src/BlobChangeFeedClient";
|
|
5
7
|
export declare const testPollerProperties: {
|
|
6
8
|
intervalInMs: number | undefined;
|
|
7
9
|
};
|
|
8
|
-
export declare
|
|
10
|
+
export declare function configureBlobStorageClient(recorder: Recorder, client: BlobChangeFeedClient): void;
|
|
11
|
+
export declare const uriSanitizers: FindReplaceSanitizer[];
|
|
12
|
+
export declare const recorderEnvSetup: RecorderStartOptions;
|
|
9
13
|
/**
|
|
10
14
|
* A TokenCredential that always returns the given token. This class can be
|
|
11
15
|
* used when the access token is already known or can be retrieved from an
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { StorageSharedKeyCredential, BlobServiceClient, StoragePipelineOptions } from "@azure/storage-blob";
|
|
2
2
|
import { BlobChangeFeedClient } from "../../src";
|
|
3
3
|
import { TokenCredential } from "@azure/core-auth";
|
|
4
|
+
import { Recorder } from "@azure-tools/test-recorder";
|
|
4
5
|
export * from "./testutils.common";
|
|
5
6
|
export declare function getGenericCredential(accountType: string): StorageSharedKeyCredential;
|
|
6
7
|
export declare function getGenericBSU(accountType: string, accountNameSuffix?: string): BlobServiceClient;
|
|
@@ -9,5 +10,5 @@ export declare function getTokenBSU(): BlobServiceClient;
|
|
|
9
10
|
export declare function getBSU(): BlobServiceClient;
|
|
10
11
|
export declare function getAlternateBSU(): BlobServiceClient;
|
|
11
12
|
export declare function getConnectionStringFromEnvironment(): string;
|
|
12
|
-
export declare function getBlobChangeFeedClient(accountType?: string, accountNameSuffix?: string, options?: StoragePipelineOptions): BlobChangeFeedClient;
|
|
13
|
+
export declare function getBlobChangeFeedClient(recorder: Recorder, accountType?: string, accountNameSuffix?: string, options?: StoragePipelineOptions): BlobChangeFeedClient;
|
|
13
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../test/utils/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../test/utils/index.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,0BAA0B,EAC1B,iBAAiB,EACjB,sBAAsB,EACvB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAO,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAE3D,cAAc,oBAAoB,CAAC;AAEnC,wBAAgB,oBAAoB,CAAC,WAAW,EAAE,MAAM,GAAG,0BAA0B,CAapF;AAED,wBAAgB,aAAa,CAC3B,WAAW,EAAE,MAAM,EACnB,iBAAiB,GAAE,MAAW,GAC7B,iBAAiB,CAYnB;AAED,wBAAgB,kBAAkB,IAAI,eAAe,CAQpD;AAED,wBAAgB,WAAW,IAAI,iBAAiB,CAW/C;AAED,wBAAgB,MAAM,IAAI,iBAAiB,CAE1C;AAED,wBAAgB,eAAe,IAAI,iBAAiB,CAEnD;AAED,wBAAgB,kCAAkC,IAAI,MAAM,CAS3D;AAED,wBAAgB,uBAAuB,CACrC,QAAQ,EAAE,QAAQ,EAClB,WAAW,GAAE,MAAW,EACxB,iBAAiB,GAAE,MAAW,EAC9B,OAAO,GAAE,sBAA2B,GACnC,oBAAoB,CActB"}
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { TokenCredential, GetTokenOptions, AccessToken } from "@azure/core-auth";
|
|
3
|
-
import {
|
|
3
|
+
import { Recorder, RecorderStartOptions } from "@azure-tools/test-recorder";
|
|
4
4
|
import { Readable } from "stream";
|
|
5
|
+
import { FindReplaceSanitizer } from "@azure-tools/test-recorder/types/src/utils/utils";
|
|
6
|
+
import { BlobChangeFeedClient } from "../../src/BlobChangeFeedClient";
|
|
5
7
|
export declare const testPollerProperties: {
|
|
6
8
|
intervalInMs: number | undefined;
|
|
7
9
|
};
|
|
8
|
-
export declare
|
|
10
|
+
export declare function configureBlobStorageClient(recorder: Recorder, client: BlobChangeFeedClient): void;
|
|
11
|
+
export declare const uriSanitizers: FindReplaceSanitizer[];
|
|
12
|
+
export declare const recorderEnvSetup: RecorderStartOptions;
|
|
9
13
|
/**
|
|
10
14
|
* A TokenCredential that always returns the given token. This class can be
|
|
11
15
|
* used when the access token is already known or can be retrieved from an
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"testutils.common.d.ts","sourceRoot":"","sources":["../../../../../test/utils/testutils.common.ts"],"names":[],"mappings":";AAGA,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACjF,OAAO,
|
|
1
|
+
{"version":3,"file":"testutils.common.d.ts","sourceRoot":"","sources":["../../../../../test/utils/testutils.common.ts"],"names":[],"mappings":";AAGA,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,WA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