Skip to content

Commit

Permalink
use @stellar/stellar-sdk (#795)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeesunikim authored Mar 25, 2024
1 parent 1d7d896 commit 491a938
Show file tree
Hide file tree
Showing 6 changed files with 927 additions and 844 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
},
"dependencies": {
"@stellar/design-system": "^2.0.0-beta.7",
"@stellar/stellar-sdk": "^11.3.0",
"@tanstack/react-query": "^5.24.1",
"@tanstack/react-query-devtools": "^5.24.1",
"dompurify": "^3.0.9",
Expand All @@ -24,7 +25,6 @@
"next": "14.1.0",
"react": "^18",
"react-dom": "^18",
"stellar-sdk": "^11.2.2",
"zustand": "^4.5.1",
"zustand-querystring": "^0.0.19"
},
Expand Down
2 changes: 1 addition & 1 deletion src/app/(sidebar)/account/create/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import { useState } from "react";
import { useRouter } from "next/navigation";
import { Card, Text, Button } from "@stellar/design-system";
import { Keypair } from "stellar-sdk";
import { Keypair } from "@stellar/stellar-sdk";

import { Routes } from "@/constants/routes";
import { useStore } from "@/store/useStore";
Expand Down
2 changes: 1 addition & 1 deletion src/components/NetworkSelector/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import React, {
useState,
} from "react";
import { Button, Icon, Input, Notification } from "@stellar/design-system";
import { Networks } from "stellar-sdk";
import { Networks } from "@stellar/stellar-sdk";

import { NetworkIndicator } from "@/components/NetworkIndicator";
import { localStorageSavedNetwork } from "@/helpers/localStorageSavedNetwork";
Expand Down
2 changes: 1 addition & 1 deletion src/helpers/validatePublicKey.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { StrKey } from "stellar-sdk";
import { StrKey } from "@stellar/stellar-sdk";

export const validatePublicKey = (issuer: string) => {
if (!issuer) {
Expand Down
2 changes: 1 addition & 1 deletion src/validate/methods/publicKey.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { StrKey } from "stellar-sdk";
import { StrKey } from "@stellar/stellar-sdk";

export const publicKey = (publicKey: string, isRequired?: boolean) => {
if (!publicKey) {
Expand Down
Loading

0 comments on commit 491a938

Please sign in to comment.