Skip to content

Commit

Permalink
fix modal close issue + upgrade sns-react and spl-name-service
Browse files Browse the repository at this point in the history
  • Loading branch information
dr497 committed Jun 29, 2023
1 parent 71db414 commit d23506b
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 32 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"@bonfida/name-offers": "^0.0.10",
"@bonfida/name-tokenizer": "^0.0.11",
"@bonfida/sns-emitter": "^0.1.7",
"@bonfida/sns-react": "^1.1.0",
"@bonfida/spl-name-service": "1.0.3",
"@bonfida/sns-react": "^1.1.1",
"@bonfida/spl-name-service": "1.0.4",
"@coral-xyz/common-public": "^0.2.0-latest.3375",
"@expo-google-fonts/dev": "*",
"@expo/vector-icons": "^13.0.0",
Expand Down
4 changes: 2 additions & 2 deletions src/components/TransferModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export const TransferModal = ({
};

return (
<WrapModal closeModal={closeModal}>
<WrapModal closeModal={() => closeModal("Transfer")}>
<View style={tw`bg-white rounded-lg px-4 py-10 w-[350px]`}>
<Text style={tw`text-xl font-bold`}>
<Trans>Transfer {domain}.sol</Trans>
Expand All @@ -94,7 +94,7 @@ export const TransferModal = ({
</TouchableOpacity>
<TouchableOpacity
disabled={loading}
onPress={closeModal}
onPress={() => closeModal("Transfer")}
style={tw`bg-blue-grey-400 w-full h-[40px] my-1 flex flex-row items-center justify-center rounded-lg`}
>
<Text style={tw`font-bold text-white`}>
Expand Down
2 changes: 1 addition & 1 deletion xnft.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "SNS Manager (Beta)",
"version": "0.0.22",
"version": "0.0.23",
"storage": "ipfs",
"description": "All-in-one tool for SNS",
"longDescription": "Your all-in-one tool for handling Solana Name Service (SNS) domains",
Expand Down
36 changes: 9 additions & 27 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1362,19 +1362,19 @@
bs58 "4.0.1"
buffer "^6.0.3"

"@bonfida/sns-react@^1.1.0":
version "1.1.0"
resolved "https://registry.yarnpkg.com/@bonfida/sns-react/-/sns-react-1.1.0.tgz#b3a979a7ba6be71ab46b656fdf0d3f3cfe430173"
integrity sha512-axBNsXL//HXa9Iwj7JpoQ9VHHlU0m/6kB/uwZ2V3LD048h0UwJAoiL4ZJ7S92gcn1ZCUHu+KmDFBQksnzqZviA==
"@bonfida/sns-react@^1.1.1":
version "1.1.1"
resolved "https://registry.yarnpkg.com/@bonfida/sns-react/-/sns-react-1.1.1.tgz#9bec94b88aacdeb2a1f96db4dfedc12f4fe974a7"
integrity sha512-XptbdFAMQL1Y4TXJpjOmvVFpoBExYkmX/CvW18xLK33xscbGZlM+SE2GyvYJquizYI3MGDpgseAEQ1PWmLw/EA==
dependencies:
"@bonfida/spl-name-service" "^1.0.1"
"@bonfida/spl-name-service" "^1.0.4"
"@solana/web3.js" "^1.73.3"
react-async-hook "^4.0.0"

"@bonfida/[email protected].3":
version "1.0.3"
resolved "https://registry.yarnpkg.com/@bonfida/spl-name-service/-/spl-name-service-1.0.3.tgz#18be2e36abe21aaad62053015685077f13e1d8e6"
integrity sha512-udpcg9z+FyIKAYB5gSCHTPT85GJhRz0s204d+1YvKtMd+e2xYmHvsqitXJvICkPdcpr5y7rZqeiyFK7CN/uoyQ==
"@bonfida/[email protected].4", "@bonfida/spl-name-service@^1.0.4":
version "1.0.4"
resolved "https://registry.yarnpkg.com/@bonfida/spl-name-service/-/spl-name-service-1.0.4.tgz#ad0b14ce4de353c116ca1678d5408fdc6bc28b89"
integrity sha512-+JQ/aTVEaWLc+0WT5Q9FQP42kAMgJoTymh9o2FCPMB1Z1D9NxY7/ZlVezMf6G6hX3PpPbTVg/97tksNsry2hVw==
dependencies:
"@ethersproject/sha2" "^5.7.0"
"@pythnetwork/client" "^2.19.0"
Expand Down Expand Up @@ -1403,24 +1403,6 @@
buffer "^6.0.3"
tweetnacl "^1.0.3"

"@bonfida/spl-name-service@^1.0.1":
version "1.0.1"
resolved "https://registry.yarnpkg.com/@bonfida/spl-name-service/-/spl-name-service-1.0.1.tgz#0b4fa75c207b8b8b1ae1e6ade31daaa54c77f889"
integrity sha512-097egg7ErQadywGY5Mhvhg0haihz8EBhXgnMPesFRU+p7H2HVwgu+Kq8YSLbcNPbLIL1oaHAgL4FdOmNGxOnmQ==
dependencies:
"@bonfida/name-tokenizer" "0.0.9"
"@ethersproject/sha2" "^5.7.0"
"@pythnetwork/client" "2.17.0"
"@solana/buffer-layout" "^4.0.1"
"@solana/spl-token" "0.3.7 "
bech32-buffer "^0.2.1"
bn.js "^5.2.1"
borsh "^0.7.0"
buffer "^6.0.3"
ipaddr.js "^2.1.0"
punycode "^2.3.0"
tweetnacl "^1.0.3"

"@bonfida/spl-name-service@latest":
version "0.2.12"
resolved "https://registry.yarnpkg.com/@bonfida/spl-name-service/-/spl-name-service-0.2.12.tgz#12ed1d995cf624a12c7b38f6bb96b72e2904f419"
Expand Down

0 comments on commit d23506b

Please sign in to comment.