mssql 9.1.0 → 9.1.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 CHANGED
@@ -571,36 +571,12 @@ Complete list of pool options can be found [here](https://github.com/vincit/tarn
571
571
  In addition to configuration object there is an option to pass config as a connection string. Connection strings are supported.
572
572
 
573
573
  ##### Classic Connection String
574
- ###### Standard configuration using tedious driver
575
574
 
576
575
  ```
577
576
  Server=localhost,1433;Database=database;User Id=username;Password=password;Encrypt=true
578
- ```
579
- ###### Standard configuration using msnodesqlv8 driver
580
- ```
581
577
  Driver=msnodesqlv8;Server=(local)\INSTANCE;Database=database;UID=DOMAIN\username;PWD=password;Encrypt=true
582
578
  ```
583
579
 
584
- ##### Azure Active Directory Authentication Connection String
585
-
586
- Several types of Azure Authentication are supported:
587
- ###### Authentication using Default Azure Credentials
588
- ```
589
- Server=*.database.windows.net;Database=database;Authentication=azure-active-directory-default;ClientID=clientid;Encrypt=true
590
- ```
591
- ###### Authentication using Active Directory Password
592
- ```
593
- Server=*.database.windows.net;Database=database;Authentication=azure-active-directory-password;User Id=username;Password=password;ClientID=clientid;TenantID=tenantid;Encrypt=true
594
- ```
595
- ###### Authentication using Access Token
596
- ```
597
- Server=*.database.windows.net;Database=database;Authentication=azure-active-directory-access-token;Token=token;Encrypt=true
598
- ```
599
- ###### Authentication using Service Principal
600
- ```
601
- Server=*.database.windows.net;Database=database;Authentication=azure-active-directory-service-principal-secret;ClientID=clientid;ClientSecret=clientsecret;TenantID=tenantid;Encrypt=true
602
- ```
603
-
604
580
  ## Drivers
605
581
 
606
582
  ### Tedious
@@ -2121,4 +2097,4 @@ to create new connections or not
2121
2097
  [appveyor-url]: https://ci.appveyor.com/project/tediousjs/node-mssql
2122
2098
 
2123
2099
  [tedious-url]: https://www.npmjs.com/package/tedious
2124
- [msnodesqlv8-url]: https://www.npmjs.com/package/msnodesqlv8
2100
+ [msnodesqlv8-url]: https://www.npmjs.com/package/msnodesqlv8
@@ -114,9 +114,6 @@ class ConnectionPool extends EventEmitter {
114
114
  case 'attachdbfilename':
115
115
  break
116
116
  case 'authentication':
117
- Object.assign(config.authentication, {
118
- type: value
119
- })
120
117
  break
121
118
  case 'column encryption setting':
122
119
  break
@@ -136,16 +133,6 @@ class ConnectionPool extends EventEmitter {
136
133
  break
137
134
  case 'context connection':
138
135
  break
139
- case 'client id':
140
- Object.assign(config.authentication.options, {
141
- clientId: value
142
- })
143
- break
144
- case 'client secret':
145
- Object.assign(config.authentication.options, {
146
- clientSecret: value
147
- })
148
- break
149
136
  case 'current language':
150
137
  Object.assign(config.options, {
151
138
  language: value
@@ -235,16 +222,6 @@ class ConnectionPool extends EventEmitter {
235
222
  break
236
223
  case 'replication':
237
224
  break
238
- case 'tenant id':
239
- Object.assign(config.authentication.options, {
240
- tenantId: value
241
- })
242
- break
243
- case 'token':
244
- Object.assign(config.authentication.options, {
245
- token: value
246
- })
247
- break
248
225
  case 'transaction binding':
249
226
  Object.assign(config.options, {
250
227
  enableImplicitTransactions: value.toLowerCase() === 'implicit unbind'
@@ -301,7 +278,7 @@ class ConnectionPool extends EventEmitter {
301
278
  break
302
279
  }
303
280
  return config
304
- }, { authentication: { options: {} }, options: {}, pool: {} })
281
+ }, { options: {}, pool: {} })
305
282
  }
306
283
 
307
284
  /**
package/package.json CHANGED
@@ -21,7 +21,7 @@
21
21
  "azure",
22
22
  "node-mssql"
23
23
  ],
24
- "version": "9.1.0",
24
+ "version": "9.1.1",
25
25
  "main": "index.js",
26
26
  "repository": "github:tediousjs/node-mssql",
27
27
  "license": "MIT",