Skip to content

Commit

Permalink
update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
AyushBherwani1998 committed Jun 25, 2024
1 parent fa5fefc commit c4d8175
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 23 deletions.
38 changes: 19 additions & 19 deletions tkey-web/tkey-solana-example/package-lock.json

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

8 changes: 4 additions & 4 deletions tkey-web/tkey-solana-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"@tkey/core": "^13.0.0-alpha.6",
"@tkey/core": "^13.0.0-alpha.7",
"@tkey/service-provider-sfa": "^13.0.0-alpha.6",
"@tkey/share-serialization": "^13.0.0-alpha.4",
"@tkey/storage-layer-torus": "^13.0.0-alpha.4",
"@tkey/web-storage": "^13.0.0-alpha.4",
"@tkey/share-serialization": "^13.0.0-alpha.6",
"@tkey/storage-layer-torus": "^13.0.0-alpha.6",
"@tkey/web-storage": "^13.0.0-alpha.7",
"@types/jest": "^27.5.2",
"@types/node": "^16.18.98",
"@types/react": "^18.3.3",
Expand Down
3 changes: 3 additions & 0 deletions tkey-web/tkey-solana-example/src/tkey.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
import ThresholdKey from "@tkey/core";
import { SfaServiceProvider } from "@tkey/service-provider-sfa";
import { Web3AuthOptions } from "@tkey/service-provider-sfa/dist/types/interfaces";
import { ShareSerializationModule } from "@tkey/share-serialization";
import TorusStorageLayer from "@tkey/storage-layer-torus";
import WebStorageModule from "@tkey/web-storage";
import { TORUS_SAPPHIRE_NETWORK } from "@toruslabs/constants";
import { CHAIN_NAMESPACES, WEB3AUTH_NETWORK } from "@web3auth/base";

// Configuration of Modules
const webStorageModule = new WebStorageModule();
const shareSerialization = new ShareSerializationModule();
const web3AuthOptions: Web3AuthOptions = {
clientId: "BPi5PB_UiIZ-cPz1GtV5i1I2iOSOHuimiXBI0e-Oe_u6X3oVAbCiAZOTEBtTXw4tsluTITPqA8zMsfxIKMjiqNQ",
network: WEB3AUTH_NETWORK.SAPPHIRE_MAINNET,
Expand Down Expand Up @@ -36,6 +38,7 @@ export const tKey = new ThresholdKey({
storageLayer: storageLayer,
modules: {
webStorage: webStorageModule,
shareSerialization,
},
});

0 comments on commit c4d8175

Please sign in to comment.