Skip to content

Commit

Permalink
🐛(exports) Fix exports
Browse files Browse the repository at this point in the history
  • Loading branch information
Nakasar committed Jul 4, 2023
1 parent 2c265dd commit 6b04305
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
2 changes: 2 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
export namespace contracts {
export const ClaimIssuer: any;
export const Gateway: any;
export const Identity: any;
export const ImplementationAuthority: any;
export const IdentityProxy: any;
export const Factory: any;
export const Verifier: any;
}

export namespace interfaces {
Expand Down
6 changes: 5 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,23 @@ const IImplementationAuthority = require('./artifacts/contracts/interface/IImple

const ClaimIssuer = require('./artifacts/contracts/ClaimIssuer.sol/ClaimIssuer.json');
const Factory = require('./artifacts/contracts/factory/IdFactory.sol/IdFactory.json');
const Gateway = require('./artifacts/contracts/gateway/Gateway.sol/Gateway.json');
const Identity = require('./artifacts/contracts/Identity.sol/Identity.json');
const ImplementationAuthority = require('./artifacts/contracts/proxy/ImplementationAuthority.sol/ImplementationAuthority.json');
const IdentityProxy = require('./artifacts/contracts/proxy/IdentityProxy.sol/IdentityProxy.json');
const Verifier = require('./artifacts/contracts/verifiers/Verifier.sol/Verifier.json');
const Version = require('./artifacts/contracts/version/Version.sol/Version.json');

module.exports = {
contracts: {
ClaimIssuer,
Factory,
Gateway,
Identity,
ImplementationAuthority,
IdentityProxy,
Version,
Factory,
Verifier,
},
interfaces: {
IClaimIssuer,
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@onchain-id/solidity",
"version": "2.1.0-beta1",
"version": "2.1.0-beta2",
"description": "EVM solidity smart contracts for Blockchain OnchainID identities.",
"files": [
"artifacts",
Expand Down

0 comments on commit 6b04305

Please sign in to comment.