Skip to content

Commit

Permalink
Fix linting errors post rebase.
Browse files Browse the repository at this point in the history
  • Loading branch information
derekpierre committed Jul 26, 2024
1 parent 1a5ddf9 commit c6cb58a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions examples/taco/nodejs/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ console.log('Chain ID:', chainId);
const encryptToBytes = async (messageString: string) => {
const encryptorSigner = new ethers.Wallet(encryptorPrivateKey);
console.log(
'Encryptor signer\'s address:',
"Encryptor signer's address:",
await encryptorSigner.getAddress(),
);

Expand Down Expand Up @@ -99,7 +99,7 @@ const encryptToBytes = async (messageString: string) => {
const decryptFromBytes = async (encryptedBytes: Uint8Array) => {
const consumerSigner = new ethers.Wallet(consumerPrivateKey);
console.log(
'\nConsumer signer\'s address:',
"\nConsumer signer's address:",
await consumerSigner.getAddress(),
);

Expand Down Expand Up @@ -127,7 +127,7 @@ const runExample = async () => {
// Make sure the provider is connected to the correct network
const network = await provider.getNetwork();
if (network.chainId !== chainId) {
throw (`Please connect your provider to an appropriate network ${chainId}`);
throw `Please connect your provider to an appropriate network ${chainId}`;
}
await initialize();

Expand Down
5 changes: 4 additions & 1 deletion packages/taco/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,7 @@ export * as conditions from './conditions';
export { decrypt, encrypt, encryptWithPublicKey, isAuthorized } from './taco';

// TODO: Remove this re-export once `@nucypher/taco-auth` is mature and published
export { EIP4361AuthProvider, SingleSignOnEIP4361AuthProvider } from '@nucypher/taco-auth';
export {
EIP4361AuthProvider,
SingleSignOnEIP4361AuthProvider,
} from '@nucypher/taco-auth';

0 comments on commit c6cb58a

Please sign in to comment.