Skip to content

Commit

Permalink
fix: refactor remote signer
Browse files Browse the repository at this point in the history
  • Loading branch information
ieow committed Nov 4, 2024
1 parent 0d3e204 commit 92a9bea
Show file tree
Hide file tree
Showing 9 changed files with 48 additions and 583 deletions.
159 changes: 38 additions & 121 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@
},
"dependencies": {
"@tkey/common-types": "^15.1.0",
"@tkey/core": "^15.1.0",
"@tkey/core": "^15.2.0-alpha.0",
"@tkey/share-serialization": "^15.1.0",
"@tkey/storage-layer-torus": "^15.1.0",
"@tkey/tss": "^15.1.0",
"@tkey/tss": "file:../tkey/packages/tss",
"@toruslabs/constants": "^14.0.0",
"@toruslabs/customauth": "^20.3.0",
"@toruslabs/elliptic-wrapper": "^0.1.0",
Expand Down
1 change: 0 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@ export * from "./constants";
export * from "./helper";
export * from "./interfaces";
export * from "./mpcCoreKit";
export * from "./remoteFactorServices";
export * from "./utils";
export { factorKeyCurve } from "@tkey/tss";

Check failure on line 6 in src/index.ts

View workflow job for this annotation

GitHub Actions / run tests (20.x, ubuntu-latest)

Unable to resolve path to module '@tkey/tss'

Check failure on line 6 in src/index.ts

View workflow job for this annotation

GitHub Actions / run tests (20.x, ubuntu-latest)

Unable to resolve path to module '@tkey/tss'
3 changes: 1 addition & 2 deletions src/interfaces.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { KeyType, Point as TkeyPoint, ShareDescriptionMap } from "@tkey/common-types";
import { TKeyTSS } from "@tkey/tss";
import { IRemoteClientState, TKeyTSS } from "@tkey/tss";

Check failure on line 2 in src/interfaces.ts

View workflow job for this annotation

GitHub Actions / run tests (20.x, ubuntu-latest)

Unable to resolve path to module '@tkey/tss'

Check failure on line 2 in src/interfaces.ts

View workflow job for this annotation

GitHub Actions / run tests (20.x, ubuntu-latest)

Unable to resolve path to module '@tkey/tss'
import type {
AGGREGATE_VERIFIER_TYPE,
ExtraParams,
Expand All @@ -15,7 +15,6 @@ import type { tssLib as TssFrostLib } from "@toruslabs/tss-frost-lib";
import BN from "bn.js";

import { FactorKeyTypeShareDescription, TssShareType, USER_PATH, WEB3AUTH_NETWORK } from "./constants";
import { IRemoteClientState } from "./remoteFactorServices/remoteSignInterfaces";

export type CoreKitMode = UX_MODE_TYPE | "nodejs" | "react-native";

Expand Down
Loading

0 comments on commit 92a9bea

Please sign in to comment.