Skip to content

Commit

Permalink
chore: update packages
Browse files Browse the repository at this point in the history
  • Loading branch information
k0beLeenders committed Sep 3, 2023
1 parent e9ef8f2 commit fa0362a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 12 deletions.
4 changes: 2 additions & 2 deletions apps/marginfi-v2-xnft/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
"clean": "rimraf dist node_modules .expo web-build"
},
"dependencies": {
"@coral-xyz/anchor": "^0.27.0",
"@coral-xyz/anchor": "^0.28.0",
"@coral-xyz/common": "^0.6.6-latest.5027",
"@expo-google-fonts/dev": "*",
"@expo/vector-icons": "^13.0.0",
"@jup-ag/core": "^4.0.0-beta.21",
"@jup-ag/common": "^6.0.0-beta.2",
"@jup-ag/react-hook": "^4.0.0-beta.17",
"@miblanchard/react-native-slider": "^2.3.1",
"@mrgnlabs/marginfi-client-v2": "*",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@ import tw from "~/styles/tailwind";
import * as icons from "~/assets/icons";
import { fromLamports } from "~/utils";
import { useConnection } from "~/hooks/useConnection";
import { SwapResult, getTokenBalanceChangesFromTransactionResponse } from "@jup-ag/core";
import { getTokenBalanceChangesFromTransactionResponse } from "@jup-ag/common";
import { PublicKey } from "@solana/web3.js";
import { useWallet } from "~/hooks/useWallet";
import { getAssociatedTokenAddressSync } from "@mrgnlabs/mrgn-common";
import { useJupiterStore } from "~/store";
import { PriceInfo } from "../PriceInfo";
import { SwapResult } from "@jup-ag/react-hook";

export const ConfirmOrderModal = ({ onClose }: { onClose: () => void }) => {
const {
Expand Down
2 changes: 1 addition & 1 deletion apps/marginfi-v2-xnft/src/context/SwapContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ import {
SwapResult,
useJupiter,
} from "@jup-ag/react-hook";
import { WRAPPED_SOL_MINT } from "@jup-ag/core";
import { TokenInfo } from "@solana/spl-token-registry";
import { SignerWalletAdapter } from "@solana/wallet-adapter-base";
import { PublicKey } from "@solana/web3.js";
import { WRAPPED_SOL_MINT } from "@jup-ag/common";
import Decimal from "decimal.js";
import JSBI from "jsbi";

Expand Down
8 changes: 0 additions & 8 deletions packages/marginfi-v2-ui-state/src/store/jupiterStore.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,10 @@
import { MarginfiAccountWrapper } from "@mrgnlabs/marginfi-client-v2";
import { Wallet, nativeToUi, TOKEN_PROGRAM_ID } from "@mrgnlabs/mrgn-common";
import { TokenInfo, TokenListContainer } from "@solana/spl-token-registry";
import { Connection, PublicKey } from "@solana/web3.js";
import { TokenAccountMap, TokenAccount } from "../lib";
import { create, StateCreator } from "zustand";
import { BN } from "@coral-xyz/anchor";

interface ProtocolStats {
deposits: number;
borrows: number;
tvl: number;
pointsTotal: number;
}

interface JupiterState {
// State
initialized: boolean;
Expand Down

0 comments on commit fa0362a

Please sign in to comment.