botbuilder-azure
Advanced tools
Comparing version
@@ -8,3 +8,2 @@ /** | ||
*/ | ||
export * from './cosmosDbStorage'; | ||
export * from './cosmosDbPartitionedStorage'; | ||
@@ -11,0 +10,0 @@ export * from './blobStorage'; |
@@ -35,2 +35,4 @@ "use strict"; | ||
const doOnce_1 = require("./doOnce"); | ||
// eslint-disable-next-line @typescript-eslint/no-var-requires | ||
const pjson = require('../package.json'); | ||
const _doOnce = new doOnce_1.DoOnce(); | ||
@@ -235,3 +237,3 @@ const maxDepthAllowed = 127; | ||
if (!this.client) { | ||
this.client = new cosmos_1.CosmosClient(Object.assign({ endpoint: this.cosmosDbStorageOptions.cosmosDbEndpoint, key: this.cosmosDbStorageOptions.authKey }, this.cosmosDbStorageOptions.cosmosClientOptions)); | ||
this.client = new cosmos_1.CosmosClient(Object.assign({ endpoint: this.cosmosDbStorageOptions.cosmosDbEndpoint, key: this.cosmosDbStorageOptions.authKey, userAgentSuffix: `${pjson.name} ${pjson.version}` }, this.cosmosDbStorageOptions.cosmosClientOptions)); | ||
} | ||
@@ -238,0 +240,0 @@ const dbAndContainerKey = `${this.cosmosDbStorageOptions.databaseId}-${this.cosmosDbStorageOptions.containerId}`; |
@@ -8,3 +8,2 @@ /** | ||
*/ | ||
export * from './cosmosDbStorage'; | ||
export * from './cosmosDbPartitionedStorage'; | ||
@@ -11,0 +10,0 @@ export * from './blobStorage'; |
@@ -20,3 +20,2 @@ "use strict"; | ||
*/ | ||
__exportStar(require("./cosmosDbStorage"), exports); | ||
__exportStar(require("./cosmosDbPartitionedStorage"), exports); | ||
@@ -23,0 +22,0 @@ __exportStar(require("./blobStorage"), exports); |
@@ -5,3 +5,3 @@ { | ||
"description": "Azure extensions for Microsoft BotBuilder.", | ||
"version": "4.16.0", | ||
"version": "4.17.0-blobs1", | ||
"license": "MIT", | ||
@@ -33,11 +33,7 @@ "keywords": [ | ||
"@azure/cosmos": "^3.3.1", | ||
"@types/documentdb": "^1.10.5", | ||
"azure-storage": "2.10.2", | ||
"botbuilder": "4.16.0", | ||
"documentdb": "1.14.5", | ||
"lodash": "^4.17.20", | ||
"semaphore": "^1.1.0" | ||
"azure-storage": "2.10.7", | ||
"botbuilder": "4.17.0-blobs1", | ||
"lodash": "^4.17.20" | ||
}, | ||
"devDependencies": { | ||
"@types/semaphore": "^1.1.0", | ||
"fs-extra": "^7.0.1", | ||
@@ -44,0 +40,0 @@ "nock": "^11.9.1", |
@@ -38,3 +38,3 @@ # Bot Builder Azure | ||
It currently supports Cosmos DB ([`CosmosDbStorage()`](https://docs.microsoft.com/en-us/javascript/api/botbuilder-azure/cosmosdbstorage)) and Azure Blob Storage ([`BlobStorage()`](https://docs.microsoft.com/en-us/javascript/api/botbuilder-azure/blobstorage)). | ||
It currently supports Cosmos DB ([`CosmosDbPartitionedStorage()`](https://docs.microsoft.com/en-us/javascript/api/botbuilder-azure/cosmosdbpartitionedstorage)) and Azure Blob Storage ([`BlobStorage()`](https://docs.microsoft.com/en-us/javascript/api/botbuilder-azure/blobstorage)). | ||
@@ -59,2 +59,2 @@ Also included is an interface to store and retrieve chat transcripts in blog storage called [AzureBlobTranscriptStore()](https://docs.microsoft.com/en-us/javascript/api/botbuilder-azure/azureblobtranscriptstore) | ||
const conversationState = new ConverationState(blobStorage); | ||
``` | ||
``` |
@@ -15,2 +15,5 @@ /* eslint-disable @typescript-eslint/ban-types */ | ||
// eslint-disable-next-line @typescript-eslint/no-var-requires | ||
const pjson: Record<'name' | 'version', string> = require('../package.json'); | ||
const _doOnce: DoOnce<Container> = new DoOnce<Container>(); | ||
@@ -326,2 +329,3 @@ | ||
key: this.cosmosDbStorageOptions.authKey, | ||
userAgentSuffix: `${pjson.name} ${pjson.version}`, | ||
...this.cosmosDbStorageOptions.cosmosClientOptions, | ||
@@ -328,0 +332,0 @@ }); |
@@ -8,3 +8,2 @@ /** | ||
*/ | ||
export * from './cosmosDbStorage'; | ||
export * from './cosmosDbPartitionedStorage'; | ||
@@ -11,0 +10,0 @@ export * from './blobStorage'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
4
-42.86%3
-25%59
1.72%167711
-20.53%40
-13.04%3178
-21.49%2
100%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
Updated
Updated