wallaby-cash 2.2.11 → 2.2.12
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 +6 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +6 -4
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +6 -4
- package/dist/index.js.map +1 -1
- package/dist/lib/wallet/wallet-data.service.d.ts +3 -3
- package/dist/package.json +1 -1
- package/dist/types/wallet.d.ts +0 -4
- 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.12";
|
|
781
781
|
|
|
782
782
|
/**
|
|
783
783
|
* Storage keys adapter for Storage interface across different platforms.
|
|
@@ -7004,7 +7004,6 @@ function objectToQueryParams(obj) {
|
|
|
7004
7004
|
|
|
7005
7005
|
class Base {
|
|
7006
7006
|
constructor(config) {
|
|
7007
|
-
var _a;
|
|
7008
7007
|
const sanitizedConfig = sanitizeConfig(config);
|
|
7009
7008
|
this.apiKey = sanitizedConfig.apiKey;
|
|
7010
7009
|
this.baseUrl = sanitizedConfig.baseUrl;
|
|
@@ -7054,7 +7053,10 @@ class Base {
|
|
|
7054
7053
|
}
|
|
7055
7054
|
};
|
|
7056
7055
|
this.api = new Api(httpClient);
|
|
7057
|
-
this.api.http.setSecurityData(
|
|
7056
|
+
this.api.http.setSecurityData({
|
|
7057
|
+
'x-api-key': config.apiKey,
|
|
7058
|
+
'x-client-jwt': config.clientAuthToken,
|
|
7059
|
+
});
|
|
7058
7060
|
}
|
|
7059
7061
|
set setClientAuthToken(token) {
|
|
7060
7062
|
this._initializeClientAuthToken(token);
|
|
@@ -10421,7 +10423,7 @@ class WalletDataService extends Base {
|
|
|
10421
10423
|
* @param { string } address Wallet address
|
|
10422
10424
|
* @param { string } symbol Token symbol
|
|
10423
10425
|
* @param { BlockchainName } chainName the chain name enum. i.e. 'ETHEREUM', 'BITCOIN'
|
|
10424
|
-
* @returns {
|
|
10426
|
+
* @returns { TokenBalance } The wallet has been created successfully
|
|
10425
10427
|
*/
|
|
10426
10428
|
async getTokenBalance({ address, symbol, tokenStandard, chainName }) {
|
|
10427
10429
|
try {
|