Skip to content

Commit

Permalink
chore: Reorder exports in index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
gnarea committed Jun 15, 2022
1 parent e64fea5 commit 3238784
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,23 +30,25 @@ export {
RSAKeyGenOptions,
} from './lib/crypto_wrappers/keys';
export { ECDHCurveName } from './lib/crypto_wrappers/algorithms';
export { PrivateKeyStore, SessionPrivateKeyData } from './lib/keyStores/PrivateKeyStore';
export { IdentityKeyPair } from './lib/IdentityKeyPair';
export * from './lib/keyStores/PublicKeyStore';
export { KeyStoreSet } from './lib/keyStores/KeyStoreSet';
export { CertificationPath } from './lib/pki/CertificationPath';
export { CertificateStore } from './lib/keyStores/CertificateStore';
export * from './lib/keyStores/testMocks';
export { KeyStoreError } from './lib/keyStores/KeyStoreError';
export { default as UnknownKeyError } from './lib/keyStores/UnknownKeyError';

export * from './lib/cargoRelay';

// PKI
export { default as Certificate } from './lib/crypto_wrappers/x509/Certificate';
export { CertificationPath } from './lib/pki/CertificationPath';
export { default as CertificateError } from './lib/crypto_wrappers/x509/CertificateError';
export * from './lib/pki/issuance';

// Key stores
export { PrivateKeyStore, SessionPrivateKeyData } from './lib/keyStores/PrivateKeyStore';
export * from './lib/keyStores/PublicKeyStore';
export { KeyStoreSet } from './lib/keyStores/KeyStoreSet';
export { CertificateStore } from './lib/keyStores/CertificateStore';
export * from './lib/keyStores/testMocks';
export { KeyStoreError } from './lib/keyStores/KeyStoreError';
export { default as UnknownKeyError } from './lib/keyStores/UnknownKeyError';

// CMS
export * from './lib/crypto_wrappers/cms/envelopedData'; // TODO: Remove
export { SessionKey } from './lib/SessionKey';
Expand Down

0 comments on commit 3238784

Please sign in to comment.