Skip to content

Commit

Permalink
chore(refactor): refactor taco package internals from character based…
Browse files Browse the repository at this point in the history
… to function based APIs
  • Loading branch information
piotr-roslaniec committed Sep 25, 2023
1 parent be0e02f commit 76123ef
Show file tree
Hide file tree
Showing 6 changed files with 233 additions and 362 deletions.
5 changes: 1 addition & 4 deletions packages/shared/src/dkg.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
import { DkgPublicKey } from '@nucypher/nucypher-core';
import { BigNumberish, ethers } from 'ethers';

import {
DkgCoordinatorAgent,
DkgRitualState,
} from './contracts/agents/coordinator';
import { DkgCoordinatorAgent, DkgRitualState } from './contracts';
import { ChecksumAddress } from './types';
import { fromHexString } from './utils';

Expand Down
206 changes: 0 additions & 206 deletions packages/taco/src/cbd-recipient.ts

This file was deleted.

135 changes: 0 additions & 135 deletions packages/taco/src/cbd-strategy.ts

This file was deleted.

7 changes: 2 additions & 5 deletions packages/taco/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
export { DkgPublicKey, ThresholdMessageKit } from '@nucypher/nucypher-core';

export { Condition, Enrico, getPorterUri } from '@nucypher/shared';

export { ThresholdDecrypter, ThresholdDecrypterJSON } from './cbd-recipient';

export { CbdStrategy } from './cbd-strategy';
// TODO: Re-xport condition types from @nucypher/shared
export { Condition, getPorterUri } from '@nucypher/shared';

export { taco } from './taco';
Loading

0 comments on commit 76123ef

Please sign in to comment.