Skip to content

Commit

Permalink
Updating package.json and removing unnecessary imports
Browse files Browse the repository at this point in the history
  • Loading branch information
xbtmatt committed Oct 28, 2023
1 parent 239d6f3 commit 140878a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions apps/nextjs-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"lint": "next lint"
},
"dependencies": {
"@aptos-labs/wallet-adapter-ant-design": "workspace:*",
"@aptos-labs/wallet-adapter-core": "workspace:*",
"@aptos-labs/wallet-adapter-ant-design": "workspace:*",
"@aptos-labs/wallet-adapter-mui-design": "workspace:*",
"@aptos-labs/wallet-adapter-react": "workspace:*",
"@blocto/aptos-wallet-adapter-plugin": "^0.2.2",
Expand All @@ -32,7 +32,7 @@
"@welldone-studio/aptos-wallet-adapter": "^0.1.4",
"antd": "^5.1.2",
"aptos": "^1.19.0",
"@aptos-labs/ts-sdk": "/Users/dev/ts-sdk/",
"@aptos-labs/ts-sdk": "^0.0.1",
"ethers": "^5.7.2",
"fewcha-plugin-wallet-adapter": "^0.1.3",
"next": "13.0.0",
Expand Down
3 changes: 1 addition & 2 deletions apps/nextjs-example/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
TypeTagParser,
Types
} from "aptos";
import { AccountAddress, Aptos, AptosConfig, GenerateTransactionInput, Hex, StructTag, TransactionPayloadEntryFunction, TransactionPayloadMultisig, TransactionPayloadScript, TypeTagStruct, U64 } from "@aptos-labs/ts-sdk";
import { AccountAddress, U64 } from "@aptos-labs/ts-sdk";
import {NetworkName, useWallet} from "@aptos-labs/wallet-adapter-react";
import {WalletConnector} from "@aptos-labs/wallet-adapter-mui-design";
import dynamic from "next/dynamic";
Expand Down Expand Up @@ -263,7 +263,6 @@ function RequiredFunctionality() {
network,
signAndSubmitTransaction,
signMessage,
signMessageAndVerify,
} = useWallet();
let sendable = isSendableNetwork(connected, network?.name)

Expand Down
2 changes: 1 addition & 1 deletion packages/wallet-adapter-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"typescript": "^4.5.3"
},
"dependencies": {
"@aptos-labs/ts-sdk": "/Users/dev/ts-sdk/",
"@aptos-labs/ts-sdk": "^0.0.1",
"aptos": "^1.19.0",
"buffer": "^6.0.3",
"eventemitter3": "^4.0.7",
Expand Down
4 changes: 2 additions & 2 deletions packages/wallet-adapter-core/src/WalletCore.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {HexString, TxnBuilderTypes, Types, BCS} from "aptos";
import { Aptos, AptosConfig, GenerateTransactionInput, Hex, TransactionBuilderTypes, TransactionPayload, TransactionPayloadEntryFunction, TransactionPayloadMultisig, TransactionPayloadScript } from "@aptos-labs/ts-sdk";
import { HexString, TxnBuilderTypes, Types } from "aptos";
import { GenerateTransactionInput, TransactionBuilderTypes } from "@aptos-labs/ts-sdk";
import EventEmitter from "eventemitter3";
import nacl from "tweetnacl";
import { Buffer } from "buffer";
Expand Down

0 comments on commit 140878a

Please sign in to comment.