From b63b3dccfac41ff393bb7dce8eba179a9167655c Mon Sep 17 00:00:00 2001 From: Jared Cosulich Date: Tue, 28 Mar 2023 15:44:06 -0400 Subject: [PATCH] fix: upgrading to latest sui sdk --- components/Burn.tsx | 2 +- components/Mint.tsx | 40 ++++++------- components/Transfer.tsx | 55 +++++------------ lib/constants.ts | 4 +- move/sources/example_nft.move | 108 +++++++++++++++++++++++---------- package.json | 2 +- yarn.lock | 110 +++++++++++++++++----------------- 7 files changed, 167 insertions(+), 154 deletions(-) diff --git a/components/Burn.tsx b/components/Burn.tsx index dda322e..21626dd 100644 --- a/components/Burn.tsx +++ b/components/Burn.tsx @@ -23,7 +23,7 @@ const Burn = () => { }, }; - const response = await wallet.signAndExecuteTransaction(mintTransaction); + const response = await wallet.signAndExecuteTransactionBlock(mintTransaction); if (response?.effects?.events) { const newObjectEvent = response.effects.events.find( (e) => ('newObject' in e) diff --git a/components/Mint.tsx b/components/Mint.tsx index 5cbe7ec..15de840 100644 --- a/components/Mint.tsx +++ b/components/Mint.tsx @@ -1,44 +1,40 @@ -import { useCallback, useEffect, useState } from 'react' -import { ethos, Transaction } from 'ethos-connect' +import { createFactory, useCallback, useEffect, useState } from 'react' +import { ethos, TransactionBlock } from 'ethos-connect' import { SuccessMessage } from '.'; import { ETHOS_EXAMPLE_CONTRACT } from '../lib/constants'; const Mint = () => { const { wallet } = ethos.useWallet(); - const [nftObjectId, setNftObjectId] = useState(null); + const [nftObjectId, setNftObjectId] = useState(); const mint = useCallback(async () => { if (!wallet?.currentAccount) return; try { - const transaction = new Transaction(); - transaction.moveCall({ + const transactionBlock = new TransactionBlock(); + transactionBlock.moveCall({ target: `${ETHOS_EXAMPLE_CONTRACT}::ethos_example_nft::mint_to_sender`, arguments: [ - transaction.pure("Ethos Example NFT"), - transaction.pure("A sample NFT from Ethos Wallet."), - transaction.pure("https://ethoswallet.xyz/assets/images/ethos-email-logo.png"), + transactionBlock.pure("Ethos Example NFT"), + transactionBlock.pure("A sample NFT from Ethos Wallet."), + transactionBlock.pure("https://ethoswallet.xyz/assets/images/ethos-email-logo.png"), ] }) - const response = await wallet.signAndExecuteTransaction({ - transaction, + const response = await wallet.signAndExecuteTransactionBlock({ + transactionBlock, options: { - showInput: true, - showEffects: true, - showEvents: true, + showObjectChanges: true, } }); - console.log("RESPONSE", response); - if (response?.effects?.events) { - const moveEventEvent = response.effects.events.find( - (e) => ('moveEvent' in e) + if (response?.objectChanges) { + const createdObject = response.objectChanges.find( + (e) => e.type === "created" ); - if (!moveEventEvent || !('moveEvent' in moveEventEvent)) return; - - const { moveEvent } = moveEventEvent; - setNftObjectId(moveEvent.fields?.object_id) + if (createdObject && "objectId" in createdObject) { + setNftObjectId(createdObject.objectId) + } } } catch (error) { console.log(error); @@ -46,7 +42,7 @@ const Mint = () => { }, [wallet]); const reset = useCallback(() => { - setNftObjectId(null) + setNftObjectId(undefined) }, []) useEffect(() => { diff --git a/components/Transfer.tsx b/components/Transfer.tsx index 172f476..7f2694e 100644 --- a/components/Transfer.tsx +++ b/components/Transfer.tsx @@ -1,5 +1,5 @@ import { useCallback, useEffect, useState } from 'react' -import { ethos, Transaction } from 'ethos-connect' +import { ethos, TransactionBlock } from 'ethos-connect' import { SuccessMessage } from '.'; import { ETHOS_EXAMPLE_CONTRACT } from '../lib/constants'; @@ -11,53 +11,28 @@ const Transfer = () => { if (!wallet) return; try { - const mintTransaction = new Transaction(); - mintTransaction.moveCall({ + const mintTransactionBlock = new TransactionBlock(); + const nft = mintTransactionBlock.moveCall({ target: `${ETHOS_EXAMPLE_CONTRACT}::ethos_example_nft::mint_to_sender`, arguments: [ - mintTransaction.pure("Ethos Example NFT"), - mintTransaction.pure("A sample NFT from Ethos Wallet."), - mintTransaction.pure("https://ethoswallet.xyz/assets/images/ethos-email-logo.png") + mintTransactionBlock.pure("Ethos Example NFT"), + mintTransactionBlock.pure("A sample NFT from Ethos Wallet."), + mintTransactionBlock.pure("https://ethoswallet.xyz/assets/images/ethos-email-logo.png") ] }) + mintTransactionBlock.transferObjects( + [nft], + mintTransactionBlock.pure('0x5c48ea29ac876110006a80d036c5454cae3d1ad1') + ) - const response = await wallet.signAndExecuteTransaction({ - transaction: mintTransaction, + const response = await wallet.signAndExecuteTransactionBlock({ + transactionBlock: mintTransactionBlock, options: { - showInput: true, - showEffects: true, - showEvents: true, + showObjectChanges: true, } }); - console.log("response", response) - - if (response?.effects?.events) { - const moveEventEvent = response.effects.events.find( - (e) => ('moveEvent' in e) - ); - if (!moveEventEvent || !('moveEvent' in moveEventEvent)) return; - - const { moveEvent } = moveEventEvent; - const objectId = moveEvent.fields?.object_id - - const transferTransaction = new Transaction(); - transferTransaction.transferObjects( - [transferTransaction.object(objectId)], - transferTransaction.pure('0x5c48ea29ac876110006a80d036c5454cae3d1ad1') - ) - transferTransaction.setGasBudget(1000); - - const transferResponse = await wallet.signAndExecuteTransaction({ - transaction: transferTransaction, - options: { - showInput: true, - showEffects: true, - showEvents: true, - } - }); - console.log("transferResponse", transferResponse) - setNftObjectId(objectId); - } + + console.log("RESPONSE", response) } catch (error) { console.log(error); } diff --git a/lib/constants.ts b/lib/constants.ts index 9c686b5..7d3087c 100644 --- a/lib/constants.ts +++ b/lib/constants.ts @@ -1,5 +1,5 @@ export const NETWORK = process.env.NETWORK || process.env.NEXT_PUBLIC_NETWORK export const FAUCET = process.env.FAUCET || process.env.NEXT_PUBLIC_FAUCET -export const ETHOS_EXAMPLE_CONTRACT = "0x8fee24978d8cef4606fd51e9413c2af54476e09aa9e383b5899d533291bbcfcf" -export const ETHOS_EXAMPLE_COIN_TREASURY_CAP = "0xc3270f03a418dd197789e00b14c7fc2d73475ba2b9dc25ad0fb362b4a2adb55f" +export const ETHOS_EXAMPLE_CONTRACT = "0x1cbfdf7de5004f887705fa53bb345d4372e5004bd8b04a6f8868f5e1ca1af9c7" +export const ETHOS_EXAMPLE_COIN_TREASURY_CAP = "0x986b14a24acd0c8bb2b08d166069d6a2361f48e76f34151efc773e5cb98da53b" export const ETHOS_COIN_TYPE = `${ETHOS_EXAMPLE_CONTRACT}::ethos_example_coin::ETHOS_EXAMPLE_COIN` diff --git a/move/sources/example_nft.move b/move/sources/example_nft.move index cd2eba2..4307258 100644 --- a/move/sources/example_nft.move +++ b/move/sources/example_nft.move @@ -1,26 +1,24 @@ -// Copyright (c) Mysten Labs, Inc. -// SPDX-License-Identifier: Apache-2.0 - module ethos::ethos_example_nft { use sui::url::{Self, Url}; - use std::string; + use std::string::{utf8, String}; use sui::object::{Self, ID, UID}; use sui::event; - use sui::transfer; - use sui::tx_context::{Self, TxContext}; + use sui::transfer::{public_transfer}; + use sui::tx_context::{sender, Self, TxContext}; + + use sui::package; + use sui::display; - /// An example NFT that can be minted by anybody struct EthosNFT has key, store { id: UID, - /// Name for the token - name: string::String, - /// Description of the token - description: string::String, - /// URL for the token + name: String, + description: String, url: Url, - // TODO: allow custom attributes } + /// One-Time-Witness for the module. + struct ETHOS_EXAMPLE_NFT has drop {} + // ===== Events ===== struct NFTMinted has copy, drop { @@ -29,18 +27,18 @@ module ethos::ethos_example_nft { // The creator of the NFT creator: address, // The name of the NFT - name: string::String, + name: String, } // ===== Public view functions ===== /// Get the NFT's `name` - public fun name(nft: &EthosNFT): &string::String { + public fun name(nft: &EthosNFT): &String { &nft.name } /// Get the NFT's `description` - public fun description(nft: &EthosNFT): &string::String { + public fun description(nft: &EthosNFT): &String { &nft.description } @@ -49,6 +47,38 @@ module ethos::ethos_example_nft { &nft.url } + fun init(otw: ETHOS_EXAMPLE_NFT, ctx: &mut TxContext) { + let keys = vector[ + utf8(b"name"), + utf8(b"image_url"), + utf8(b"description"), + utf8(b"project_url"), + utf8(b"creator"), + ]; + + let values = vector[ + utf8(b"{name}"), + utf8(b"{url}"), + utf8(b"{description}"), + utf8(b"https://ethos-example-app.onrender.com/"), + utf8(b"Ethos") + ]; + + // Claim the `Publisher` for the package! + let publisher = package::claim(otw, ctx); + + // Get a new `Display` object for the `Hero` type. + let display = display::new_with_fields( + &publisher, keys, values, ctx + ); + + // Commit first version of `Display` to apply changes. + display::update_version(&mut display); + + public_transfer(publisher, sender(ctx)); + public_transfer(display, sender(ctx)); + } + // ===== Entrypoints ===== /// Create a new ethos nft @@ -58,28 +88,16 @@ module ethos::ethos_example_nft { url: vector, ctx: &mut TxContext ) { - let sender = tx_context::sender(ctx); - let nft = EthosNFT { - id: object::new(ctx), - name: string::utf8(name), - description: string::utf8(description), - url: url::new_unsafe_from_bytes(url) - }; - - event::emit(NFTMinted { - object_id: object::id(&nft), - creator: sender, - name: nft.name, - }); - - transfer::public_transfer(nft, sender); + let sender = sender(ctx); + let nft = mint(name, description, url, ctx); + public_transfer(nft, sender); } /// Transfer `nft` to `recipient` public entry fun transfer( nft: EthosNFT, recipient: address, _: &mut TxContext ) { - transfer::public_transfer(nft, recipient) + public_transfer(nft, recipient) } /// Update the `description` of `nft` to `new_description` @@ -88,7 +106,7 @@ module ethos::ethos_example_nft { new_description: vector, _: &mut TxContext ) { - nft.description = string::utf8(new_description) + nft.description = utf8(new_description) } /// Permanently delete `nft` @@ -96,4 +114,28 @@ module ethos::ethos_example_nft { let EthosNFT { id, name: _, description: _, url: _ } = nft; object::delete(id) } + + public fun mint( + name: vector, + description: vector, + url: vector, + ctx: &mut TxContext + ): EthosNFT { + let sender = tx_context::sender(ctx); + + let nft = EthosNFT { + id: object::new(ctx), + name: utf8(name), + description: utf8(description), + url: url::new_unsafe_from_bytes(url) + }; + + event::emit(NFTMinted { + object_id: object::id(&nft), + creator: sender, + name: nft.name, + }); + + nft + } } diff --git a/package.json b/package.json index 0761bea..1cdf17b 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ }, "dependencies": { "@heroicons/react": "^1.0.6", - "ethos-connect": "0.0.105-beta.5", + "ethos-connect": "0.0.107", "next": "12.2.4", "react": "^18.2.0", "react-dom": "^18.2.0" diff --git a/yarn.lock b/yarn.lock index 6f9fc66..c5b412a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -109,19 +109,19 @@ resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz#b520529ec21d8e5945a1851dfd1c32e94e39ff45" integrity sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA== -"@mysten/bcs@0.0.0-experimental-20230326165705": - version "0.0.0-experimental-20230326165705" - resolved "https://registry.yarnpkg.com/@mysten/bcs/-/bcs-0.0.0-experimental-20230326165705.tgz#020ddcac91946d409d4b728837529d09f5730cb8" - integrity sha512-5R8JQ0UUIhUHI5S67w6cYXUMvrcTuubeYqTYZtr9TYmt8667IrKm5AGsDGifkSwAc2+qhhfOrxv2gzi2u41Whw== +"@mysten/bcs@0.7.0": + version "0.7.0" + resolved "https://registry.yarnpkg.com/@mysten/bcs/-/bcs-0.7.0.tgz#141cbaba8ccb89215747d9ca1296c20c5b4fe4a1" + integrity sha512-AFNnTClmc1XuxWZOzrzqVPDnujgN5AF2oNUyPYbLfvwqAj+qH7CrE3Rxhuf7et+k8M1Ff55CDgF58vPDMIhIrA== dependencies: bs58 "^5.0.0" -"@mysten/sui.js@0.0.0-experimental-20230326165705": - version "0.0.0-experimental-20230326165705" - resolved "https://registry.yarnpkg.com/@mysten/sui.js/-/sui.js-0.0.0-experimental-20230326165705.tgz#b9f6ac8c746357d5ddc83d0054e464391e559f92" - integrity sha512-cPFSRUNQTZiMsosPV+USGVED+r41AQU9DxbM/uOFIyK6900NTHJVzd4U28JrDWdCkH2NO6xg5llnY7M9uUDfYQ== +"@mysten/sui.js@0.30.0", "@mysten/sui.js@^0.30.0": + version "0.30.0" + resolved "https://registry.yarnpkg.com/@mysten/sui.js/-/sui.js-0.30.0.tgz#4f952418f97b172444412f771a5dab842f45e0e8" + integrity sha512-7Mb5fGeg/NfoKvZvCQLL+XsuynFZKx328UykPpqcgY7buAbJiTl8dNNncZGH6nC/+fZRf2J9X0EffiKTES78ig== dependencies: - "@mysten/bcs" "0.0.0-experimental-20230326165705" + "@mysten/bcs" "0.7.0" "@noble/hashes" "^1.2.0" "@noble/secp256k1" "^1.7.1" "@scure/bip32" "^1.1.5" @@ -132,56 +132,56 @@ superstruct "^1.0.3" tweetnacl "^1.0.3" -"@mysten/wallet-adapter-all-wallets@0.0.0-experimental-20230326165705": - version "0.0.0-experimental-20230326165705" - resolved "https://registry.yarnpkg.com/@mysten/wallet-adapter-all-wallets/-/wallet-adapter-all-wallets-0.0.0-experimental-20230326165705.tgz#9fd0b2a3cccf32dd8e7273528ec208df8e090bb1" - integrity sha512-wtAPjemvElc8JU5fLeL5tpZuNCWYXmBS3+YdnuLoSXHxawWejdjOGiPi3biuvA1Gs9Lo0H38e/eKuFlpGbbrug== +"@mysten/wallet-adapter-all-wallets@^0.5.0": + version "0.5.0" + resolved "https://registry.yarnpkg.com/@mysten/wallet-adapter-all-wallets/-/wallet-adapter-all-wallets-0.5.0.tgz#7c92cd44bc5836f62e3b5c9f41a1fc304abf3e3f" + integrity sha512-6HcO/hIpmhkVb9SyPcvY4C5TXQY2wnS0BSvPkUFP71ONlTdko1kR3RJsEkSbIib9L9Y0HmhpXkUDq70PpfxgjA== dependencies: - "@mysten/wallet-adapter-unsafe-burner" "0.0.0-experimental-20230326165705" - "@mysten/wallet-adapter-wallet-standard" "0.0.0-experimental-20230326165705" + "@mysten/wallet-adapter-unsafe-burner" "0.8.0" + "@mysten/wallet-adapter-wallet-standard" "0.7.0" -"@mysten/wallet-adapter-base@0.0.0-experimental-20230326165705": - version "0.0.0-experimental-20230326165705" - resolved "https://registry.yarnpkg.com/@mysten/wallet-adapter-base/-/wallet-adapter-base-0.0.0-experimental-20230326165705.tgz#1e6c16588747b29a5a30925f290ff99a754fec3f" - integrity sha512-L1FxiNxP5P1An6fHV2+xIqioRIHh0Y/RC+fpGdyicYPIw+hncn8MVxSmwlZ1KYvU293pG8MNhEAwXFmTkcL1dA== +"@mysten/wallet-adapter-base@0.7.0", "@mysten/wallet-adapter-base@^0.7.0": + version "0.7.0" + resolved "https://registry.yarnpkg.com/@mysten/wallet-adapter-base/-/wallet-adapter-base-0.7.0.tgz#193a1287888269404bdc90ebefc69a344f82e2b8" + integrity sha512-8JpYDftAvZdc/65XDRc0MDtyUi2bKbMMkGqbQ1bEOyWHQYyRSimFsMyEi0+LdHvALmF5EuNRxak/7CIqsri9SQ== dependencies: - "@mysten/sui.js" "0.0.0-experimental-20230326165705" - "@mysten/wallet-standard" "0.0.0-experimental-20230326165705" + "@mysten/sui.js" "0.30.0" + "@mysten/wallet-standard" "0.5.0" -"@mysten/wallet-adapter-unsafe-burner@0.0.0-experimental-20230326165705": - version "0.0.0-experimental-20230326165705" - resolved "https://registry.yarnpkg.com/@mysten/wallet-adapter-unsafe-burner/-/wallet-adapter-unsafe-burner-0.0.0-experimental-20230326165705.tgz#5a84ef51d031ddff961d87a5291edb6ff7946001" - integrity sha512-wRrZ1KvxYqfC7NTTk++0TXBWxoFCpIc3n0tMgOJGTkAOOVPRE+mywboHjOMtldUGd84TwbN4MC4fO2yVmmK0jA== +"@mysten/wallet-adapter-unsafe-burner@0.8.0": + version "0.8.0" + resolved "https://registry.yarnpkg.com/@mysten/wallet-adapter-unsafe-burner/-/wallet-adapter-unsafe-burner-0.8.0.tgz#5572e2be275aa0668639d5c823905de98094ea14" + integrity sha512-dmgH2IO6cp+L/zUy7OzURNVoDk6DHoRPKtBhwm+qn0hlyZTbAuPvAGCQKNVEvUZRd2W7MGyo0qpcZOjJOTwKMg== dependencies: - "@mysten/sui.js" "0.0.0-experimental-20230326165705" - "@mysten/wallet-adapter-base" "0.0.0-experimental-20230326165705" - "@mysten/wallet-standard" "0.0.0-experimental-20230326165705" + "@mysten/sui.js" "0.30.0" + "@mysten/wallet-adapter-base" "0.7.0" + "@mysten/wallet-standard" "0.5.0" -"@mysten/wallet-adapter-wallet-standard@0.0.0-experimental-20230326165705": - version "0.0.0-experimental-20230326165705" - resolved "https://registry.yarnpkg.com/@mysten/wallet-adapter-wallet-standard/-/wallet-adapter-wallet-standard-0.0.0-experimental-20230326165705.tgz#655fa2b93443a07d4bf974262fb2284bd83f3cc1" - integrity sha512-5cjVRtgfuxlJ8ayUeMsot/5Jfym+EHwS0riCDmI0aZ3+DtJAedqQfx/0YiWK+z+TihqZh05MXsP2AyLjfAFEmg== +"@mysten/wallet-adapter-wallet-standard@0.7.0": + version "0.7.0" + resolved "https://registry.yarnpkg.com/@mysten/wallet-adapter-wallet-standard/-/wallet-adapter-wallet-standard-0.7.0.tgz#7a788b2944158a1e9ab9fe5054a515bb7733b972" + integrity sha512-7Q9Vv5IPTiLPPzuORoJME3vr9CM5C+jH2VOtiroD3jkPBHvwCsvbxBpiddPWDbKlsCJOOvdjt53vDrzE5jb3lw== dependencies: - "@mysten/sui.js" "0.0.0-experimental-20230326165705" - "@mysten/wallet-adapter-base" "0.0.0-experimental-20230326165705" - "@mysten/wallet-standard" "0.0.0-experimental-20230326165705" + "@mysten/sui.js" "0.30.0" + "@mysten/wallet-adapter-base" "0.7.0" + "@mysten/wallet-standard" "0.5.0" mitt "^3.0.0" -"@mysten/wallet-kit-core@0.0.0-experimental-20230326165705": - version "0.0.0-experimental-20230326165705" - resolved "https://registry.yarnpkg.com/@mysten/wallet-kit-core/-/wallet-kit-core-0.0.0-experimental-20230326165705.tgz#9380ecbe08de64bbd219a8317de386738b3eb0e6" - integrity sha512-eA2UvmrDFxDxhSdp18hYimi2MF/flCych0Uff1aFB289Na1xEzR3myG44lpH7hTvUN9t5l7VDxUieBioT2OY+g== +"@mysten/wallet-kit-core@^0.4.0": + version "0.4.0" + resolved "https://registry.yarnpkg.com/@mysten/wallet-kit-core/-/wallet-kit-core-0.4.0.tgz#43c60c73efb169ff1f5ddd58571f174c6408697e" + integrity sha512-xEqvigtU+ipIIhuYbxjUM3CFjc0cHYaRvyEg3yCgZRjXErbsNtV8KJCkH8FL07SlosOTWpdDOdkqc5aroujUKQ== dependencies: - "@mysten/sui.js" "0.0.0-experimental-20230326165705" - "@mysten/wallet-adapter-base" "0.0.0-experimental-20230326165705" - "@mysten/wallet-standard" "0.0.0-experimental-20230326165705" + "@mysten/sui.js" "0.30.0" + "@mysten/wallet-adapter-base" "0.7.0" + "@mysten/wallet-standard" "0.5.0" -"@mysten/wallet-standard@0.0.0-experimental-20230326165705": - version "0.0.0-experimental-20230326165705" - resolved "https://registry.yarnpkg.com/@mysten/wallet-standard/-/wallet-standard-0.0.0-experimental-20230326165705.tgz#2d1f945258e8925570b06f0adb2626e44b915937" - integrity sha512-2tRu52YuNYRUW45mu9Cq8794dFActORR/DkYtiEsz3W/NI8MIBSMTDLEQbrz8OgvEFLU1UDTKAI+tdkLqNgJoA== +"@mysten/wallet-standard@0.5.0": + version "0.5.0" + resolved "https://registry.yarnpkg.com/@mysten/wallet-standard/-/wallet-standard-0.5.0.tgz#d0c1d43336d8f660e0498ff3c43fe2ccc59a6175" + integrity sha512-tQy28KEv3J3plaz9ZdTfq7HMmhiRAIHXTp59/1LXi5tfSsoSxmVF7R1nf4LKbvdgWKR2s+SX3m5g+3BsOWtUqw== dependencies: - "@mysten/sui.js" "0.0.0-experimental-20230326165705" + "@mysten/sui.js" "0.30.0" "@wallet-standard/core" "1.0.3" "@next/env@12.2.4": @@ -1275,15 +1275,15 @@ esutils@^2.0.2: resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== -ethos-connect@0.0.105-beta.5: - version "0.0.105-beta.5" - resolved "https://registry.yarnpkg.com/ethos-connect/-/ethos-connect-0.0.105-beta.5.tgz#5c5148d755fd58472fa5a34e6b5915e64b3dadc9" - integrity sha512-ZUs6zUieZ/tSyNewwFgzckrmWCWb6YwGXKffOS/23O7T2COFrE7GomkQ7T6i6LkKvuxMEP1xPpv0YWMNuHo8vw== +ethos-connect@0.0.107: + version "0.0.107" + resolved "https://registry.yarnpkg.com/ethos-connect/-/ethos-connect-0.0.107.tgz#b06999ec444002b76dc164245e32efc721e225ff" + integrity sha512-LDPVusU+AGo2PGBDkbpnVpOYMHPChVgf9QJIfK47qBEbwiD/apdvF4Mm+EPupEpoVqXQAw2y379LFqjq9dalTQ== dependencies: - "@mysten/sui.js" "0.0.0-experimental-20230326165705" - "@mysten/wallet-adapter-all-wallets" "0.0.0-experimental-20230326165705" - "@mysten/wallet-adapter-base" "0.0.0-experimental-20230326165705" - "@mysten/wallet-kit-core" "0.0.0-experimental-20230326165705" + "@mysten/sui.js" "^0.30.0" + "@mysten/wallet-adapter-all-wallets" "^0.5.0" + "@mysten/wallet-adapter-base" "^0.7.0" + "@mysten/wallet-kit-core" "^0.4.0" "@superstate/react" "^0.1.0" bignumber.js "^9.1.1" cross-fetch "^3.1.5"