wallaby-cash 2.2.10 → 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.
@@ -1,5 +1,5 @@
1
1
  import { Base } from '../../base';
2
- import { AddTokenToWalletRequest, BlockchainName, QueryUserRequest, QueryWalletRequest, TokenBalanceRequest, UpdateAssetRequest, WallabyConfig, WalletAddressesInfoEntry, AuthenticationResponse, AddTokenToWalletResponse, TokenBalanceResponse } from '../../types';
2
+ import { AddTokenToWalletRequest, BlockchainName, QueryUserRequest, QueryWalletRequest, TokenBalanceRequest, UpdateAssetRequest, WallabyConfig, WalletAddressesInfoEntry, AuthenticationResponse, AddTokenToWalletResponse, TokenBalanceResponse, TokenBalance } from '../../types';
3
3
  import { FetchBalanceData, GetAllWalletsFromUserIdData, GetAssetsByUserIdData, GetUserAssetsByWalletIdData, UserAssetDto } from '../../generated/api';
4
4
  export declare class WalletDataService extends Base {
5
5
  private walletService;
@@ -18,9 +18,9 @@ export declare class WalletDataService extends Base {
18
18
  * @param { string } address Wallet address
19
19
  * @param { string } symbol Token symbol
20
20
  * @param { BlockchainName } chainName the chain name enum. i.e. 'ETHEREUM', 'BITCOIN'
21
- * @returns { TokenBalanceResponse } The wallet has been created successfully
21
+ * @returns { TokenBalance } The wallet has been created successfully
22
22
  */
23
- getTokenBalance({ address, symbol, tokenStandard, chainName }: TokenBalanceRequest): Promise<TokenBalanceResponse>;
23
+ getTokenBalance({ address, symbol, tokenStandard, chainName }: TokenBalanceRequest): Promise<TokenBalance>;
24
24
  /**
25
25
  *
26
26
  * @public
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wallaby-cash",
3
- "version": "2.2.10",
3
+ "version": "2.2.12",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git@github.com:WALLABY-WaaS/wallaby-sdk-js.git"
@@ -50,10 +50,6 @@ export declare type TokenBalanceRequest = {
50
50
  };
51
51
  export declare type TokenBalance = {
52
52
  address: string;
53
- configId: string;
54
- /**
55
- * @deprecated Use configId instead.
56
- */
57
53
  assetConfigId: string;
58
54
  assetSymbol: string;
59
55
  balance: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wallaby-cash",
3
- "version": "2.2.10",
3
+ "version": "2.2.12",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git@github.com:WALLABY-WaaS/wallaby-sdk-js.git"