'use strict' ; import { IFabricCertificateAuthority } from 'ibm-blockchain-platform-common' ; export class FabricCertificateAuthorityFactory { public static createCertificateAuthority ( ) { if ( ! this . FabricCertificateAuthority ) { this . FabricCertificateAuthority = require ( 'ibm-blockchain-platform-environment-v1' ) ; } return this . FabricCertificateAuthority . FabricCertificateAuthority . instance ( ) ; } private static FabricCertificateAuthority : any ; }