diff --git a/esm/index.js b/esm/index.js index 526d4507..509ddbaf 100644 --- a/esm/index.js +++ b/esm/index.js @@ -1,3 +1,28 @@ -import cjsModule from '../lib/index.js'; +import cjsModule from '../lib/index.js' -export default cjsModule +const getResolver = cjsModule.getResolver +const deployments = cjsModule.deployments +const REGISTRY = cjsModule.REGISTRY +const bytes32toString = cjsModule.bytes32toString +const stringToBytes32 = cjsModule.stringToBytes32 +const EthrDidController = cjsModule.EthrDidController +const verificationMethodTypes = cjsModule.verificationMethodTypes +const identifierMatcher = cjsModule.identifierMatcher +const interpretIdentifier = cjsModule.interpretIdentifier +const Errors = cjsModule.Errors +const EthereumDIDRegistry = cjsModule.EthereumDIDRegistry + +export { + getResolver, + deployments, + REGISTRY, + bytes32toString, + stringToBytes32, + EthrDidController, + verificationMethodTypes, + identifierMatcher, + interpretIdentifier, + Errors, + EthereumDIDRegistry, + cjsModule as default +}