@ibm-cloud/cloudant 0.0.12 → 0.0.16

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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * © Copyright IBM Corporation 2020.
2
+ * © Copyright IBM Corporation 2021. All Rights Reserved.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -36,7 +36,7 @@ export declare type CouchdbSessionAuthenticatorOptions = {
36
36
  */
37
37
  export declare class CouchdbSessionAuthenticator extends Authenticator {
38
38
  protected tokenManager: SessionTokenManager;
39
- protected requiredOptions: ["username", "password"];
39
+ protected requiredOptions: ['username', 'password'];
40
40
  private tokenOptions;
41
41
  /**
42
42
  * Create a new CouchdbSessionAuthenticator instance.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * © Copyright IBM Corporation 2020.
3
+ * © Copyright IBM Corporation 2021. All Rights Reserved.
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -18,10 +18,12 @@ var __extends = (this && this.__extends) || (function () {
18
18
  var extendStatics = function (d, b) {
19
19
  extendStatics = Object.setPrototypeOf ||
20
20
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
21
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
21
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
22
22
  return extendStatics(d, b);
23
23
  };
24
24
  return function (d, b) {
25
+ if (typeof b !== "function" && b !== null)
26
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
25
27
  extendStatics(d, b);
26
28
  function __() { this.constructor = d; }
27
29
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
@@ -1 +1 @@
1
- {"version":3,"file":"couchdbSessionAuthenticator.js","sourceRoot":"","sources":["../../auth/couchdbSessionAuthenticator.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;AAEH,yDAA+E;AAC/E,6DAAuF;AAUvF;;;;;;;;;;;GAWG;AACH;IAAiD,+CAAa;IAK5D;;;;;;;OAOG;IACH,qCAAY,OAA2C;QAAvD,YACE,iBAAO,SAGR;QAFC,kCAAa,CAAC,OAAO,EAAE,KAAI,CAAC,eAAe,CAAC,CAAC;QAC7C,KAAI,CAAC,YAAY,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC;;IACjD,CAAC;IAED;;;;;;;;OAQG;IACI,kDAAY,GAAnB,UAAoB,cAAsB;QACxC,OAAO,IAAI,CAAC,YAAY,CAAC,QAAQ,EAAE,CAAC;IACtC,CAAC;IAED;;;;;OAKG;IACI,+CAAS,GAAhB,UAAiB,WAAwB;QACvC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,YAAY,EAAE,WAAW,CAAC,CAAC;QAC9C,IAAI,CAAC,YAAY,GAAG,IAAI,yCAAmB,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;IACjE,CAAC;IACH,kCAAC;AAAD,CAAC,AA1CD,CAAiD,kCAAa,GA0C7D;AA1CY,kEAA2B"}
1
+ {"version":3,"file":"couchdbSessionAuthenticator.js","sourceRoot":"","sources":["../../auth/couchdbSessionAuthenticator.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;AAEH,yDAA+E;AAC/E,6DAG+B;AAU/B;;;;;;;;;;;GAWG;AACH;IAAiD,+CAAa;IAK5D;;;;;;;OAOG;IACH,qCAAY,OAA2C;QAAvD,YACE,iBAAO,SAGR;QAFC,kCAAa,CAAC,OAAO,EAAE,KAAI,CAAC,eAAe,CAAC,CAAC;QAC7C,KAAI,CAAC,YAAY,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC;;IACjD,CAAC;IAED;;;;;;;;OAQG;IACI,kDAAY,GAAnB,UAAoB,cAAsB;QACxC,OAAO,IAAI,CAAC,YAAY,CAAC,QAAQ,EAAE,CAAC;IACtC,CAAC;IAED;;;;;OAKG;IACI,+CAAS,GAAhB,UAAiB,WAAwB;QACvC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,YAAY,EAAE,WAAW,CAAC,CAAC;QAC9C,IAAI,CAAC,YAAY,GAAG,IAAI,yCAAmB,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;IACjE,CAAC;IACH,kCAAC;AAAD,CAAC,AA1CD,CAAiD,kCAAa,GA0C7D;AA1CY,kEAA2B"}
package/auth/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * © Copyright IBM Corporation 2020.
2
+ * © Copyright IBM Corporation 2020. All Rights Reserved.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
package/auth/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * © Copyright IBM Corporation 2020.
3
+ * © Copyright IBM Corporation 2020. All Rights Reserved.
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -15,6 +15,7 @@
15
15
  * limitations under the License.
16
16
  */
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.SessionTokenManager = exports.CouchdbSessionAuthenticator = exports.getAuthenticatorFromEnvironment = exports.IamTokenManager = exports.IamAuthenticator = exports.BasicAuthenticator = exports.NoAuthAuthenticator = void 0;
18
19
  var ibm_cloud_sdk_core_1 = require("ibm-cloud-sdk-core");
19
20
  Object.defineProperty(exports, "NoAuthAuthenticator", { enumerable: true, get: function () { return ibm_cloud_sdk_core_1.NoAuthAuthenticator; } });
20
21
  Object.defineProperty(exports, "BasicAuthenticator", { enumerable: true, get: function () { return ibm_cloud_sdk_core_1.BasicAuthenticator; } });
package/auth/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../auth/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,yDAM4B;AALxB,yHAAA,mBAAmB,OAAA;AACnB,wHAAA,kBAAkB,OAAA;AAClB,sHAAA,gBAAgB,OAAA;AAChB,qHAAA,eAAe,OAAA;AACf,qIAAA,+BAA+B,OAAA;AAGnC,6EAA0E;AAAlE,0IAAA,2BAA2B,OAAA;AACnC,6DAA0D;AAAlD,0HAAA,mBAAmB,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../auth/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,yDAM4B;AAL1B,yHAAA,mBAAmB,OAAA;AACnB,wHAAA,kBAAkB,OAAA;AAClB,sHAAA,gBAAgB,OAAA;AAChB,qHAAA,eAAe,OAAA;AACf,qIAAA,+BAA+B,OAAA;AAGjC,6EAA4E;AAAnE,0IAAA,2BAA2B,OAAA;AACpC,6DAA4D;AAAnD,0HAAA,mBAAmB,OAAA"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * © Copyright IBM Corporation 2020.
2
+ * © Copyright IBM Corporation 2020. All Rights Reserved.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  /// <reference types="node" />
17
- import { OutgoingHttpHeaders } from "http";
17
+ import { OutgoingHttpHeaders } from 'http';
18
18
  import { TokenManager, UserOptions } from 'ibm-cloud-sdk-core';
19
19
  /** Configuration options for CouchDB session token retrieval. */
20
20
  export interface SessionTokenManagerOptions extends UserOptions {
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * © Copyright IBM Corporation 2020.
3
+ * © Copyright IBM Corporation 2020. All Rights Reserved.
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -18,10 +18,12 @@ var __extends = (this && this.__extends) || (function () {
18
18
  var extendStatics = function (d, b) {
19
19
  extendStatics = Object.setPrototypeOf ||
20
20
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
21
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
21
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
22
22
  return extendStatics(d, b);
23
23
  };
24
24
  return function (d, b) {
25
+ if (typeof b !== "function" && b !== null)
26
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
25
27
  extendStatics(d, b);
26
28
  function __() { this.constructor = d; }
27
29
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
@@ -56,7 +58,12 @@ var SessionTokenManager = /** @class */ (function (_super) {
56
58
  */
57
59
  function SessionTokenManager(options) {
58
60
  var _this = _super.call(this, options) || this;
59
- _this.requiredOptions = ['username', 'password', 'serviceUrl', 'jar'];
61
+ _this.requiredOptions = [
62
+ 'username',
63
+ 'password',
64
+ 'serviceUrl',
65
+ 'jar',
66
+ ];
60
67
  ibm_cloud_sdk_core_1.validateInput(options, _this.requiredOptions);
61
68
  _this.options = options;
62
69
  _this.tokenName = 'AuthSession';
@@ -89,9 +96,9 @@ var SessionTokenManager = /** @class */ (function (_super) {
89
96
  method: 'POST',
90
97
  body: {
91
98
  username: this.options.username,
92
- password: this.options.password
93
- }
94
- }
99
+ password: this.options.password,
100
+ },
101
+ },
95
102
  };
96
103
  return this.requestWrapperInstance.sendRequest(parameters);
97
104
  };
@@ -133,7 +140,8 @@ var SessionTokenManager = /** @class */ (function (_super) {
133
140
  }
134
141
  else {
135
142
  this.expireTime = Number(refreshTime[1]) + ibm_cloud_sdk_core_1.getCurrentTime();
136
- this.refreshTime = (Number(refreshTime[1]) * fractionOfTtl) + ibm_cloud_sdk_core_1.getCurrentTime();
143
+ this.refreshTime =
144
+ Number(refreshTime[1]) * fractionOfTtl + ibm_cloud_sdk_core_1.getCurrentTime();
137
145
  }
138
146
  }
139
147
  else {
@@ -141,7 +149,7 @@ var SessionTokenManager = /** @class */ (function (_super) {
141
149
  this.expireTime = Date.parse(expireTime[1]) / 1000;
142
150
  // Set refresh time from the expire time
143
151
  var timeToLive = this.expireTime - ibm_cloud_sdk_core_1.getCurrentTime();
144
- this.refreshTime = this.expireTime - (timeToLive * (1.0 - fractionOfTtl));
152
+ this.refreshTime = this.expireTime - timeToLive * (1.0 - fractionOfTtl);
145
153
  }
146
154
  };
147
155
  return SessionTokenManager;
@@ -1 +1 @@
1
- {"version":3,"file":"sessionTokenManager.js","sourceRoot":"","sources":["../../auth/sessionTokenManager.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;AAGH,yDAA8F;AAU9F;;;;;GAKG;AACH;IAAyC,uCAAY;IAKnD;;;;;;;;;;;;;;;OAeG;IACH,6BAAY,OAAmC;QAA/C,YACE,kBAAM,OAAO,CAAC,SAMf;QA3BS,qBAAe,GAAa,CAAC,UAAU,EAAE,UAAU,EAAE,YAAY,EAAE,KAAK,CAAC,CAAC;QAuBlF,kCAAa,CAAC,OAAO,EAAE,KAAI,CAAC,eAAe,CAAC,CAAC;QAE7C,KAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,KAAI,CAAC,SAAS,GAAG,aAAa,CAAC;;IACjC,CAAC;IAED;;;;;OAKG;IACI,wCAAU,GAAjB,UAAkB,OAA4B;QAC5C,IAAM,MAAM,GAAG,iFAAiF,CAAC;QACjG,MAAM,IAAI,KAAK,CAAC,MAAM,CAAC,CAAC;IAC1B,CAAC;IAED;;;;OAIG;IACO,0CAAY,GAAtB;QACE,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE;YACzB,IAAI,CAAC,OAAO,CAAC,OAAO,GAAG,EAAE,CAAC;SAC3B;QACD,8BAA8B;QAC9B,IAA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