@hemergy/core-sdk
Advanced tools
Comparing version 0.0.14 to 0.0.15
@@ -23,2 +23,3 @@ import { AxiosInstance } from 'axios'; | ||
approveAccountAmount(accountAddress: string, projectAddress: string, tokenAddress: string, amount: number): Promise<boolean>; | ||
setAccountURI(accountAddress: string, accountURI: string): Promise<boolean>; | ||
createAccount(): Promise<string>; | ||
@@ -25,0 +26,0 @@ createProject(accountAddress: string, beneficiaries: string[] | undefined, totalSupply: number, tokenPrice: number, projectURI: string, midcap: number): Promise<string>; |
@@ -72,2 +72,13 @@ "use strict"; | ||
} | ||
setAccountURI(accountAddress, accountURI) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
const signerAddress = yield this.getSignerAddress(); | ||
yield this.signAndBroadcast(`/accounts/${accountAddress}/setAccountURI`, { | ||
endUserAddress: signerAddress, | ||
accountAddress, | ||
accountURI, | ||
}); | ||
return true; | ||
}); | ||
} | ||
createAccount() { | ||
@@ -74,0 +85,0 @@ return __awaiter(this, void 0, void 0, function* () { |
{ | ||
"name": "@hemergy/core-sdk", | ||
"version": "0.0.14", | ||
"version": "0.0.15", | ||
"description": "TypeScript NPM Module for Hemergy Core", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14993
249