Skip to content

Commit

Permalink
Aligned named exports + indirect dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Eengineer1 committed Oct 23, 2024
1 parent dfeb1b5 commit 710ad33
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
1 change: 1 addition & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@
"@types/uuid": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^8.6.0",
"@typescript-eslint/parser": "^8.6.0",
"@veramo/core-types": "^6.0.0",
"conventional-changelog-conventionalcommits": "^8.0.0",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
Expand Down
11 changes: 1 addition & 10 deletions src/dkg-threshold/lit-protocol/v6.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { v4 } from 'uuid';
import { fromString } from 'uint8arrays';
import { LitProtocolDebugEnabled } from '../../utils/constants.js';
import { LitAccessControlConditionResource } from '@lit-protocol/auth-helpers';
import ethers from 'ethers';
import { ethers } from 'ethers';
import { LIT_RPC } from '@lit-protocol/constants';

export type ThresholdEncryptionResult = {
Expand Down Expand Up @@ -142,15 +142,6 @@ export class LitProtocol {
if (isBrowser) return new LitNodeClient({ litNetwork: that.litNetwork, debug: LitProtocolDebugEnabled });
throw new Error('[did-provider-cheqd]: lit-protocol: Unsupported runtime environment');
})(this);

// // instantiate LitContracts client
// this.contractClient = new LitContracts({
// litNetwork: this.litNetwork,
// ethereumAuthWallet: new ethers.Wallet(
// this.cosmosAuthWallet.mnemonic,
// new ethers.JsonRpcProvider(DefaultLitNetworkRPCUrls[this.litNetwork])
// ),
// }).client;
}

async connect(): Promise<void> {
Expand Down

0 comments on commit 710ad33

Please sign in to comment.