@hemergy/core-sdk
Advanced tools
Comparing version 0.0.15 to 0.0.16
@@ -31,2 +31,3 @@ import { AxiosInstance } from 'axios'; | ||
mint(address: string): Promise<ethers.BigNumber>; | ||
mintAmount(address: string, amount: number): Promise<ethers.BigNumber>; | ||
isKYCed(accountAddress: string): Promise<boolean>; | ||
@@ -33,0 +34,0 @@ getBalance(address: string): Promise<any>; |
@@ -173,2 +173,8 @@ "use strict"; | ||
} | ||
mintAmount(address, amount) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
const { data } = yield this.axiosClient.post('/bank/mintAmount', { address, amount }); | ||
return data; | ||
}); | ||
} | ||
isKYCed(accountAddress) { | ||
@@ -175,0 +181,0 @@ return __awaiter(this, void 0, void 0, function* () { |
{ | ||
"name": "@hemergy/core-sdk", | ||
"version": "0.0.15", | ||
"version": "0.0.16", | ||
"description": "TypeScript NPM Module for Hemergy Core", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
15307
256