Skip to content

Commit

Permalink
feat: export extra types
Browse files Browse the repository at this point in the history
  • Loading branch information
getlarge committed Feb 14, 2022
1 parent eb88c7d commit 50308e4
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ import {
PreimageSha256Json,
RsaSha256Json,
ThresholdSha256Json,
Types,
TypeId,
TypeName,
TypeAsn1Condition,
TypeAsn1Fulfillment,
TypeCategory,
} from './types';
import PreimageSha256 from './types/preimage-sha256';
import PrefixSha256 from './types/prefix-sha256';
Expand All @@ -16,7 +22,6 @@ import Ed25519Sha256 from './types/ed25519-sha256';
import base64url from './util/base64url';

export { base64url, Condition, Fulfillment, TypeRegistry };

export {
PreimageSha256,
RsaSha256,
Expand All @@ -25,6 +30,16 @@ export {
Ed25519Sha256,
};

// Extras
export {
Types,
TypeId,
TypeName,
TypeAsn1Condition,
TypeAsn1Fulfillment,
TypeCategory,
};

export function fromConditionUri(serializedCondition: string): Condition;

export function fromConditionBinary(data: Buffer): Condition;
Expand Down

0 comments on commit 50308e4

Please sign in to comment.