Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@hemergy/core-sdk

Package Overview
Dependencies
Maintainers
4
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hemergy/core-sdk - npm Package Compare versions

Comparing version 0.0.14 to 0.0.15

1

lib/index.d.ts

@@ -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* () {

2

package.json
{
"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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc