New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@windingtree/org.id-core

Package Overview
Dependencies
Maintainers
3
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@windingtree/org.id-core - npm Package Compare versions

Comparing version 1.0.0-beta.28 to 1.0.0-beta.29

dist/api/getOwnOrgIds.d.ts

3

dist/api/getOrgIdsCount.js

@@ -5,7 +5,6 @@ "use strict";

const getOrgIdsCount = async (contract) => {
// Call smart contract
const count = await contract['totalSupply()']();
return Number(count);
return count.toNumber();
};
exports.getOrgIdsCount = getOrgIdsCount;
//# sourceMappingURL=getOrgIdsCount.js.map

@@ -22,2 +22,3 @@ import type { BigNumber, Signer, providers } from 'ethers';

getDelegates(orgIdHash: string): Promise<Delegates>;
getOwnOrgIds(ownerAddress: string): Promise<OrgIdData[] | []>;
}

@@ -18,2 +18,3 @@ "use strict";

const removeDelegates_1 = require("./api/removeDelegates");
const getOwnOrgIds_1 = require("./api/getOwnOrgIds");
class OrgIdContract {

@@ -85,4 +86,7 @@ constructor(contractAddress, providerOrUri) {

}
getOwnOrgIds(ownerAddress) {
return (0, getOwnOrgIds_1.getOwnOrgIds)(this.contract, ownerAddress);
}
}
exports.OrgIdContract = OrgIdContract;
//# sourceMappingURL=index.js.map
{
"name": "@windingtree/org.id-core",
"version": "1.0.0-beta.28",
"version": "1.0.0-beta.29",
"description": "Core ORGiD Javascript library",

@@ -16,3 +16,3 @@ "main": "dist/index.js",

"lint:fix": "npx eslint . --ext .ts --fix",
"build": "rm -rf dist && npx tsc -p tsconfig-build.json",
"build": "rm -rf dist && npx tsc -p tsconfig-build.json && yarn build:docs",
"build:docs": "rm -rf docs/generated && npx typedoc --plugin typedoc-plugin-markdown --readme none --out docs/generated src/index.ts",

@@ -65,3 +65,3 @@ "test": "npx hardhat test",

},
"gitHead": "03f841d31cc7b9c1a8364e7ba3d75a3914b9c623"
"gitHead": "2d69a63879e2b513439f282f5c9c82aa7998f03a"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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