wallaby-cash 2.2.10 → 2.2.11
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/dist/index.cjs.js +3 -5
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +3 -5
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +3 -5
- package/dist/index.js.map +1 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -777,7 +777,7 @@ const MASTER_ENCRYPTION_KEY = '9fa9d3f3c77c20d3a50a08e5299644be29f6e6206ef3479fe
|
|
|
777
777
|
{ type: 'public-key', alg: PublicKeyCredentialAlgorithm.ES256 },
|
|
778
778
|
];
|
|
779
779
|
const isWeb = typeof window !== 'undefined' && typeof document !== 'undefined';
|
|
780
|
-
const currentPackageVersion = "2.2.
|
|
780
|
+
const currentPackageVersion = "2.2.11";
|
|
781
781
|
|
|
782
782
|
/**
|
|
783
783
|
* Storage keys adapter for Storage interface across different platforms.
|
|
@@ -7004,6 +7004,7 @@ function objectToQueryParams(obj) {
|
|
|
7004
7004
|
|
|
7005
7005
|
class Base {
|
|
7006
7006
|
constructor(config) {
|
|
7007
|
+
var _a;
|
|
7007
7008
|
const sanitizedConfig = sanitizeConfig(config);
|
|
7008
7009
|
this.apiKey = sanitizedConfig.apiKey;
|
|
7009
7010
|
this.baseUrl = sanitizedConfig.baseUrl;
|
|
@@ -7053,10 +7054,7 @@ class Base {
|
|
|
7053
7054
|
}
|
|
7054
7055
|
};
|
|
7055
7056
|
this.api = new Api(httpClient);
|
|
7056
|
-
this.api.http.setSecurityData({
|
|
7057
|
-
'x-api-key': config.apiKey,
|
|
7058
|
-
'x-client-jwt': config.clientAuthToken,
|
|
7059
|
-
});
|
|
7057
|
+
this.api.http.setSecurityData(Object.assign({ 'x-api-key': config.apiKey, 'x-client-jwt': config.clientAuthToken }, (_a = this.options) === null || _a === void 0 ? void 0 : _a.headers));
|
|
7060
7058
|
}
|
|
7061
7059
|
set setClientAuthToken(token) {
|
|
7062
7060
|
this._initializeClientAuthToken(token);
|