diff --git a/applications/tari_dan_wallet_web_ui/package-lock.json b/applications/tari_dan_wallet_web_ui/package-lock.json index dc1e2966f..29a076188 100644 --- a/applications/tari_dan_wallet_web_ui/package-lock.json +++ b/applications/tari_dan_wallet_web_ui/package-lock.json @@ -15,8 +15,8 @@ "@mui/x-data-grid": "^6.0.2", "@tanstack/react-query": "^4.33.0", "@tanstack/react-query-devtools": "^4.33.0", - "@tariproject/typescript-bindings": "file:../../bindings", - "@tariproject/wallet_daemon_client": "file:../../clients/javascript/wallet_daemon_client", + "@tari-project/typescript-bindings": "file:../../bindings", + "@tari-project/wallet_daemon_client": "file:../../clients/javascript/wallet_daemon_client", "file-saver": "^2.0.5", "react": "^18.2.0", "react-dom": "^18.2.0", @@ -37,8 +37,8 @@ } }, "../../bindings": { - "name": "@tariproject/typescript-bindings", - "version": "1.0.1", + "name": "@tari-project/typescript-bindings", + "version": "1.0.3", "license": "ISC", "devDependencies": { "shx": "^0.3.4", @@ -46,11 +46,11 @@ } }, "../../clients/javascript/wallet_daemon_client": { - "name": "@tariproject/wallet_jrpc_client", - "version": "1.0.5", + "name": "@tari-project/wallet_jrpc_client", + "version": "1.0.7", "license": "ISC", "dependencies": { - "@tariproject/typescript-bindings": "1.0.1" + "@tari-project/typescript-bindings": "1.0.3" }, "devDependencies": { "typescript": "^5.3.3" @@ -1217,11 +1217,11 @@ "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" } }, - "node_modules/@tariproject/typescript-bindings": { + "node_modules/@tari-project/typescript-bindings": { "resolved": "../../bindings", "link": true }, - "node_modules/@tariproject/wallet_daemon_client": { + "node_modules/@tari-project/wallet_daemon_client": { "resolved": "../../clients/javascript/wallet_daemon_client", "link": true }, diff --git a/applications/tari_dan_wallet_web_ui/package.json b/applications/tari_dan_wallet_web_ui/package.json index e896cff68..767e6e17d 100644 --- a/applications/tari_dan_wallet_web_ui/package.json +++ b/applications/tari_dan_wallet_web_ui/package.json @@ -16,8 +16,8 @@ "@mui/x-data-grid": "^6.0.2", "@tanstack/react-query": "^4.33.0", "@tanstack/react-query-devtools": "^4.33.0", - "@tariproject/typescript-bindings": "file:../../bindings", - "@tariproject/wallet_daemon_client": "file:../../clients/javascript/wallet_daemon_client", + "@tari-project/typescript-bindings": "file:../../bindings", + "@tari-project/wallet_daemon_client": "file:../../clients/javascript/wallet_daemon_client", "file-saver": "^2.0.5", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/applications/tari_dan_wallet_web_ui/src/Components/NFTList.tsx b/applications/tari_dan_wallet_web_ui/src/Components/NFTList.tsx index 58ee2b5d9..c8919c9d2 100644 --- a/applications/tari_dan_wallet_web_ui/src/Components/NFTList.tsx +++ b/applications/tari_dan_wallet_web_ui/src/Components/NFTList.tsx @@ -23,12 +23,12 @@ import React from "react"; import FetchStatusCheck from "./FetchStatusCheck"; import { Table, TableBody, TableCell, TableContainer, TableHead, TableRow } from "@mui/material"; -import type { ListAccountNftResponse } from "@tariproject/typescript-bindings/wallet-daemon-client"; +import type { ListAccountNftResponse } from "@tari-project/typescript-bindings/wallet-daemon-client"; import type { apiError } from "../api/helpers/types"; import { DataTableCell } from "./StyledComponents"; import { renderJson, toHexString } from "../utils/helpers"; import { IoCheckmarkOutline, IoCloseOutline } from "react-icons/io5"; -import type { NonFungibleId, NonFungibleToken } from "@tariproject/typescript-bindings"; +import type { NonFungibleId, NonFungibleToken } from "@tari-project/typescript-bindings"; import { convertCborValue } from "../utils/cbor"; function NftsList({ nft }: { nft: NonFungibleToken }) { diff --git a/applications/tari_dan_wallet_web_ui/src/Components/StatusChip.tsx b/applications/tari_dan_wallet_web_ui/src/Components/StatusChip.tsx index 162f85eab..4725d8013 100644 --- a/applications/tari_dan_wallet_web_ui/src/Components/StatusChip.tsx +++ b/applications/tari_dan_wallet_web_ui/src/Components/StatusChip.tsx @@ -23,7 +23,7 @@ import { Chip, Avatar } from "@mui/material"; import { IoCheckmarkOutline, IoDiamondOutline, IoReload, IoHourglassOutline, IoCloseOutline } from "react-icons/io5"; import { useTheme } from "@mui/material/styles"; -import type { TransactionStatus } from "@tariproject/typescript-bindings"; +import type { TransactionStatus } from "@tari-project/typescript-bindings"; interface StatusChipProps { status: TransactionStatus; diff --git a/applications/tari_dan_wallet_web_ui/src/api/hooks/useAccounts.tsx b/applications/tari_dan_wallet_web_ui/src/api/hooks/useAccounts.tsx index f3237efba..12368e976 100644 --- a/applications/tari_dan_wallet_web_ui/src/api/hooks/useAccounts.tsx +++ b/applications/tari_dan_wallet_web_ui/src/api/hooks/useAccounts.tsx @@ -34,8 +34,8 @@ import { } from "../../utils/json_rpc"; import { apiError } from "../helpers/types"; import queryClient from "../queryClient"; -import type { ComponentAccessRules, ConfidentialTransferInputSelection } from "@tariproject/typescript-bindings"; -import type { ComponentAddressOrName } from "@tariproject/typescript-bindings/wallet-daemon-client"; +import type { ComponentAccessRules, ConfidentialTransferInputSelection } from "@tari-project/typescript-bindings"; +import type { ComponentAddressOrName } from "@tari-project/typescript-bindings/wallet-daemon-client"; // Fees are passed as strings because Amount is tagged export const useAccountsClaimBurn = (account: string, claimProof: string, fee: number) => { diff --git a/applications/tari_dan_wallet_web_ui/src/api/hooks/useTransactions.tsx b/applications/tari_dan_wallet_web_ui/src/api/hooks/useTransactions.tsx index ccb1b3933..aae0f6304 100644 --- a/applications/tari_dan_wallet_web_ui/src/api/hooks/useTransactions.tsx +++ b/applications/tari_dan_wallet_web_ui/src/api/hooks/useTransactions.tsx @@ -24,7 +24,7 @@ import { useQuery } from "@tanstack/react-query"; import { transactionsGet, transactionsGetAll } from "../../utils/json_rpc"; import { apiError } from "../helpers/types"; -import type { TransactionStatus } from "@tariproject/typescript-bindings"; +import type { TransactionStatus } from "@tari-project/typescript-bindings"; const useTransactionDetails = (hash: string) => { return useQuery({ diff --git a/applications/tari_dan_wallet_web_ui/src/routes/AccountDetails/AccountDetails.tsx b/applications/tari_dan_wallet_web_ui/src/routes/AccountDetails/AccountDetails.tsx index feb156636..a0c2319f7 100644 --- a/applications/tari_dan_wallet_web_ui/src/routes/AccountDetails/AccountDetails.tsx +++ b/applications/tari_dan_wallet_web_ui/src/routes/AccountDetails/AccountDetails.tsx @@ -35,8 +35,8 @@ import { renderJson, shortenString } from "../../utils/helpers"; import { DataTableCell } from "../../Components/StyledComponents"; import CopyToClipboard from "../../Components/CopyToClipboard"; import FetchStatusCheck from "../../Components/FetchStatusCheck"; -import { substateIdToString } from "@tariproject/typescript-bindings"; -import type { BalanceEntry } from "@tariproject/typescript-bindings/wallet-daemon-client"; +import { substateIdToString } from "@tari-project/typescript-bindings"; +import type { BalanceEntry } from "@tari-project/typescript-bindings/wallet-daemon-client"; import { IoCheckmarkOutline, IoCloseOutline } from "react-icons/io5"; import NFTList from "../../Components/NFTList"; diff --git a/applications/tari_dan_wallet_web_ui/src/routes/AssetVault/Components/AccountDetails.tsx b/applications/tari_dan_wallet_web_ui/src/routes/AssetVault/Components/AccountDetails.tsx index f47c8981a..2da577fcd 100644 --- a/applications/tari_dan_wallet_web_ui/src/routes/AssetVault/Components/AccountDetails.tsx +++ b/applications/tari_dan_wallet_web_ui/src/routes/AssetVault/Components/AccountDetails.tsx @@ -27,7 +27,7 @@ import { GridHeadCell, GridDataCell } from "../../../Components/StyledComponents import { useAccountsGet } from "../../../api/hooks/useAccounts"; import { shortenString } from "../../../utils/helpers"; import { styled } from "@mui/material/styles"; -import { substateIdToString } from "@tariproject/typescript-bindings"; +import { substateIdToString } from "@tari-project/typescript-bindings"; const GridContainer = styled(Box)(({ theme }) => ({ display: "grid", diff --git a/applications/tari_dan_wallet_web_ui/src/routes/AssetVault/Components/Assets.tsx b/applications/tari_dan_wallet_web_ui/src/routes/AssetVault/Components/Assets.tsx index 431fd7b48..0900b7223 100644 --- a/applications/tari_dan_wallet_web_ui/src/routes/AssetVault/Components/Assets.tsx +++ b/applications/tari_dan_wallet_web_ui/src/routes/AssetVault/Components/Assets.tsx @@ -37,11 +37,11 @@ import { DataTableCell } from "../../../Components/StyledComponents"; import { useAccountNFTsList, useAccountsGetBalances } from "../../../api/hooks/useAccounts"; import useAccountStore from "../../../store/accountStore"; import { shortenString } from "../../../utils/helpers"; -import type { BalanceEntry } from "@tariproject/typescript-bindings/wallet-daemon-client"; +import type { BalanceEntry } from "@tari-project/typescript-bindings/wallet-daemon-client"; import NFTList from "../../../Components/NFTList"; import { Button } from "@mui/material"; import { SendMoneyDialog } from "./SendMoney"; -import { ResourceAddress, ResourceType, VaultId } from "@tariproject/typescript-bindings"; +import { ResourceAddress, ResourceType, VaultId } from "@tari-project/typescript-bindings"; interface TabPanelProps { children?: React.ReactNode; diff --git a/applications/tari_dan_wallet_web_ui/src/routes/AssetVault/Components/ClaimBurn.tsx b/applications/tari_dan_wallet_web_ui/src/routes/AssetVault/Components/ClaimBurn.tsx index 6464400e1..bcc8720f2 100644 --- a/applications/tari_dan_wallet_web_ui/src/routes/AssetVault/Components/ClaimBurn.tsx +++ b/applications/tari_dan_wallet_web_ui/src/routes/AssetVault/Components/ClaimBurn.tsx @@ -37,7 +37,7 @@ import { useTheme } from "@mui/material/styles"; import { accountsClaimBurn } from "../../../utils/json_rpc"; import useAccountStore from "../../../store/accountStore"; import { useKeysList } from "../../../api/hooks/useKeys"; -import type { AccountInfo } from "@tariproject/typescript-bindings/wallet-daemon-client"; +import type { AccountInfo } from "@tari-project/typescript-bindings/wallet-daemon-client"; export default function ClaimBurn() { const [open, setOpen] = useState(false); diff --git a/applications/tari_dan_wallet_web_ui/src/routes/AssetVault/Components/ClaimFees.tsx b/applications/tari_dan_wallet_web_ui/src/routes/AssetVault/Components/ClaimFees.tsx index e4e975532..1f1de21e0 100644 --- a/applications/tari_dan_wallet_web_ui/src/routes/AssetVault/Components/ClaimFees.tsx +++ b/applications/tari_dan_wallet_web_ui/src/routes/AssetVault/Components/ClaimFees.tsx @@ -36,7 +36,7 @@ import useAccountStore from "../../../store/accountStore"; import { FormControl, InputLabel, MenuItem, Select, SelectChangeEvent } from "@mui/material"; import { useKeysList } from "../../../api/hooks/useKeys"; import { validatorsClaimFees } from "../../../utils/json_rpc"; -import type { AccountInfo } from "@tariproject/typescript-bindings/wallet-daemon-client"; +import type { AccountInfo } from "@tari-project/typescript-bindings/wallet-daemon-client"; export default function ClaimFees() { const [open, setOpen] = useState(false); diff --git a/applications/tari_dan_wallet_web_ui/src/routes/AssetVault/Components/SelectAccount.tsx b/applications/tari_dan_wallet_web_ui/src/routes/AssetVault/Components/SelectAccount.tsx index 04a15b870..8bec555f8 100644 --- a/applications/tari_dan_wallet_web_ui/src/routes/AssetVault/Components/SelectAccount.tsx +++ b/applications/tari_dan_wallet_web_ui/src/routes/AssetVault/Components/SelectAccount.tsx @@ -32,7 +32,7 @@ import Select, { SelectChangeEvent } from "@mui/material/Select"; import Dialog from "./AddAccount"; import useAccountStore from "../../../store/accountStore"; import { useAccountsList } from "../../../api/hooks/useAccounts"; -import type { AccountInfo } from "@tariproject/typescript-bindings/wallet-daemon-client"; +import type { AccountInfo } from "@tari-project/typescript-bindings/wallet-daemon-client"; function SelectAccount() { const { accountName, setAccountName } = useAccountStore(); diff --git a/applications/tari_dan_wallet_web_ui/src/routes/AssetVault/Components/SendMoney.tsx b/applications/tari_dan_wallet_web_ui/src/routes/AssetVault/Components/SendMoney.tsx index 31be7801a..62eee358c 100644 --- a/applications/tari_dan_wallet_web_ui/src/routes/AssetVault/Components/SendMoney.tsx +++ b/applications/tari_dan_wallet_web_ui/src/routes/AssetVault/Components/SendMoney.tsx @@ -41,7 +41,7 @@ import { ResourceType, ConfidentialTransferInputSelection, TransactionResult, -} from "@tariproject/typescript-bindings"; +} from "@tari-project/typescript-bindings"; import InputLabel from "@mui/material/InputLabel"; const XTR2 = "resource_01010101010101010101010101010101010101010101010101010101"; diff --git a/applications/tari_dan_wallet_web_ui/src/routes/Settings/Components/ViewVaultBalance.tsx b/applications/tari_dan_wallet_web_ui/src/routes/Settings/Components/ViewVaultBalance.tsx index 776bf647e..b09f2858b 100644 --- a/applications/tari_dan_wallet_web_ui/src/routes/Settings/Components/ViewVaultBalance.tsx +++ b/applications/tari_dan_wallet_web_ui/src/routes/Settings/Components/ViewVaultBalance.tsx @@ -28,7 +28,7 @@ import Box from "@mui/material/Box"; import { useTheme } from "@mui/material/styles"; import { Divider } from "@mui/material"; import { confidentialViewVaultBalance } from "../../../utils/json_rpc"; -import { ConfidentialViewVaultBalanceRequest } from "@tariproject/typescript-bindings/wallet-daemon-client"; +import { ConfidentialViewVaultBalanceRequest } from "@tari-project/typescript-bindings/wallet-daemon-client"; function ViewVaultBalanceForm() { const [formState, setFormState] = useState({ diff --git a/applications/tari_dan_wallet_web_ui/src/routes/Transactions/Events.tsx b/applications/tari_dan_wallet_web_ui/src/routes/Transactions/Events.tsx index 169acc8f1..4f67f90ef 100644 --- a/applications/tari_dan_wallet_web_ui/src/routes/Transactions/Events.tsx +++ b/applications/tari_dan_wallet_web_ui/src/routes/Transactions/Events.tsx @@ -29,7 +29,7 @@ import KeyboardArrowDownIcon from "@mui/icons-material/KeyboardArrowDown"; import KeyboardArrowUpIcon from "@mui/icons-material/KeyboardArrowUp"; import CodeBlockExpand from "../../Components/CodeBlock"; import { useTheme } from "@mui/material/styles"; -import type { Event } from "@tariproject/typescript-bindings"; +import type { Event } from "@tari-project/typescript-bindings"; function RowData({ substate_id, template_address, topic, tx_hash, payload }: Event, index: number) { const [open, setOpen] = useState(false); diff --git a/applications/tari_dan_wallet_web_ui/src/routes/Transactions/FeeInstructions.tsx b/applications/tari_dan_wallet_web_ui/src/routes/Transactions/FeeInstructions.tsx index 7690f76b7..160dfd71e 100644 --- a/applications/tari_dan_wallet_web_ui/src/routes/Transactions/FeeInstructions.tsx +++ b/applications/tari_dan_wallet_web_ui/src/routes/Transactions/FeeInstructions.tsx @@ -27,7 +27,7 @@ import KeyboardArrowDownIcon from "@mui/icons-material/KeyboardArrowDown"; import KeyboardArrowUpIcon from "@mui/icons-material/KeyboardArrowUp"; import CodeBlockExpand from "../../Components/CodeBlock"; import { useTheme } from "@mui/material/styles"; -import type { Instruction, TransactionSignature } from "@tariproject/typescript-bindings"; +import type { Instruction, TransactionSignature } from "@tari-project/typescript-bindings"; function RowData({ title, data }: { title: string; data: Instruction }, index: number) { const [open, setOpen] = useState(false); diff --git a/applications/tari_dan_wallet_web_ui/src/routes/Transactions/Instructions.tsx b/applications/tari_dan_wallet_web_ui/src/routes/Transactions/Instructions.tsx index d35638827..71737bff3 100644 --- a/applications/tari_dan_wallet_web_ui/src/routes/Transactions/Instructions.tsx +++ b/applications/tari_dan_wallet_web_ui/src/routes/Transactions/Instructions.tsx @@ -27,7 +27,7 @@ import KeyboardArrowDownIcon from "@mui/icons-material/KeyboardArrowDown"; import KeyboardArrowUpIcon from "@mui/icons-material/KeyboardArrowUp"; import CodeBlockExpand from "../../Components/CodeBlock"; import { useTheme } from "@mui/material/styles"; -import type { Instruction } from "@tariproject/typescript-bindings"; +import type { Instruction } from "@tari-project/typescript-bindings"; function RowData({ title, data }: { title: string; data: Instruction }, index: number) { const [open, setOpen] = useState(false); diff --git a/applications/tari_dan_wallet_web_ui/src/routes/Transactions/Logs.tsx b/applications/tari_dan_wallet_web_ui/src/routes/Transactions/Logs.tsx index 157a8ecc5..7ba44d55e 100644 --- a/applications/tari_dan_wallet_web_ui/src/routes/Transactions/Logs.tsx +++ b/applications/tari_dan_wallet_web_ui/src/routes/Transactions/Logs.tsx @@ -22,7 +22,7 @@ import { TableContainer, Table, TableHead, TableRow, TableCell, TableBody } from "@mui/material"; import { DataTableCell } from "../../Components/StyledComponents"; -import type { LogEntry } from "@tariproject/typescript-bindings"; +import type { LogEntry } from "@tari-project/typescript-bindings"; export default function Logs({ data }: { data: Array }) { return ( diff --git a/applications/tari_dan_wallet_web_ui/src/routes/Transactions/Substates.tsx b/applications/tari_dan_wallet_web_ui/src/routes/Transactions/Substates.tsx index 64151d9ef..6d4d1066c 100644 --- a/applications/tari_dan_wallet_web_ui/src/routes/Transactions/Substates.tsx +++ b/applications/tari_dan_wallet_web_ui/src/routes/Transactions/Substates.tsx @@ -29,7 +29,7 @@ import KeyboardArrowUpIcon from "@mui/icons-material/KeyboardArrowUp"; import { IoArrowDownCircle, IoArrowUpCircle } from "react-icons/io5"; import CodeBlockExpand from "../../Components/CodeBlock"; import { useTheme } from "@mui/material/styles"; -import type { Substate, SubstateId, TransactionResult } from "@tariproject/typescript-bindings"; +import type { Substate, SubstateId, TransactionResult } from "@tari-project/typescript-bindings"; function RowData({ info, state }: { info: [SubstateId, Substate | number]; state: string }, index: number) { const [open, setOpen] = useState(false); diff --git a/applications/tari_dan_wallet_web_ui/src/routes/Transactions/TransactionDetails.tsx b/applications/tari_dan_wallet_web_ui/src/routes/Transactions/TransactionDetails.tsx index bc960852a..4e9e391cd 100644 --- a/applications/tari_dan_wallet_web_ui/src/routes/Transactions/TransactionDetails.tsx +++ b/applications/tari_dan_wallet_web_ui/src/routes/Transactions/TransactionDetails.tsx @@ -44,8 +44,8 @@ import type { RejectReason, TransactionResult, TransactionSignature, -} from "@tariproject/typescript-bindings"; -import { getRejectReasonFromTransactionResult, rejectReasonToString } from "@tariproject/typescript-bindings"; +} from "@tari-project/typescript-bindings"; +import { getRejectReasonFromTransactionResult, rejectReasonToString } from "@tari-project/typescript-bindings"; export default function TransactionDetails() { const [expandedPanels, setExpandedPanels] = useState([]); diff --git a/applications/tari_dan_wallet_web_ui/src/routes/Transactions/Transactions.tsx b/applications/tari_dan_wallet_web_ui/src/routes/Transactions/Transactions.tsx index 9afea33cc..19bdee7d4 100644 --- a/applications/tari_dan_wallet_web_ui/src/routes/Transactions/Transactions.tsx +++ b/applications/tari_dan_wallet_web_ui/src/routes/Transactions/Transactions.tsx @@ -41,7 +41,7 @@ import { DataTableCell } from "../../Components/StyledComponents"; import { useGetAllTransactions } from "../../api/hooks/useTransactions"; import { emptyRows, handleChangePage, handleChangeRowsPerPage } from "../../utils/helpers"; import { useAccountsGet } from "../../api/hooks/useAccounts"; -import type { FinalizeResult, Transaction, TransactionStatus } from "@tariproject/typescript-bindings"; +import type { FinalizeResult, Transaction, TransactionStatus } from "@tari-project/typescript-bindings"; export default function Transactions({ accountName }: { accountName: string }) { const { data: accountsData } = useAccountsGet(accountName); diff --git a/applications/tari_dan_wallet_web_ui/src/routes/Wallet/Components/AccessTokens.tsx b/applications/tari_dan_wallet_web_ui/src/routes/Wallet/Components/AccessTokens.tsx index 2ddf2b764..da54ed097 100644 --- a/applications/tari_dan_wallet_web_ui/src/routes/Wallet/Components/AccessTokens.tsx +++ b/applications/tari_dan_wallet_web_ui/src/routes/Wallet/Components/AccessTokens.tsx @@ -49,8 +49,8 @@ import FetchStatusCheck from "../../../Components/FetchStatusCheck"; import { AccordionIconButton, CodeBlock, DataTableCell } from "../../../Components/StyledComponents"; import { useAuthRevokeToken, useGetAllTokens } from "../../../api/hooks/useTokens"; import { shortenString } from "../../../utils/helpers"; -import type { Claims, JrpcPermission, JrpcPermissions } from "@tariproject/typescript-bindings"; -import { jrpcPermissionToString } from "@tariproject/typescript-bindings"; +import type { Claims, JrpcPermission, JrpcPermissions } from "@tari-project/typescript-bindings"; +import { jrpcPermissionToString } from "@tari-project/typescript-bindings"; function AlertDialog({ fn, row }: any) { const [open, setOpen] = useState(false); diff --git a/applications/tari_dan_wallet_web_ui/src/routes/Wallet/Components/Accounts.tsx b/applications/tari_dan_wallet_web_ui/src/routes/Wallet/Components/Accounts.tsx index 9a07f2166..c459cf0e3 100644 --- a/applications/tari_dan_wallet_web_ui/src/routes/Wallet/Components/Accounts.tsx +++ b/applications/tari_dan_wallet_web_ui/src/routes/Wallet/Components/Accounts.tsx @@ -50,7 +50,7 @@ import { } from "../../../api/hooks/useAccounts"; import FetchStatusCheck from "../../../Components/FetchStatusCheck"; import queryClient from "../../../api/queryClient"; -import type { AccountInfo } from "@tariproject/typescript-bindings/wallet-daemon-client"; +import type { AccountInfo } from "@tari-project/typescript-bindings/wallet-daemon-client"; function Account(account: AccountInfo, index: number) { const { pathname } = useLocation(); diff --git a/applications/tari_dan_wallet_web_ui/src/utils/helpers.tsx b/applications/tari_dan_wallet_web_ui/src/utils/helpers.tsx index 0d05cf52f..7d96b0d1e 100644 --- a/applications/tari_dan_wallet_web_ui/src/utils/helpers.tsx +++ b/applications/tari_dan_wallet_web_ui/src/utils/helpers.tsx @@ -21,7 +21,7 @@ // USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. import { ChangeEvent } from "react"; -import type { FinalizeResult, SubstateId, Transaction, TransactionStatus } from "@tariproject/typescript-bindings"; +import type { FinalizeResult, SubstateId, Transaction, TransactionStatus } from "@tari-project/typescript-bindings"; export const renderJson = (json: any) => { if (Array.isArray(json)) { diff --git a/applications/tari_dan_wallet_web_ui/src/utils/json_rpc.tsx b/applications/tari_dan_wallet_web_ui/src/utils/json_rpc.tsx index c66dfa47a..5a30f4b18 100644 --- a/applications/tari_dan_wallet_web_ui/src/utils/json_rpc.tsx +++ b/applications/tari_dan_wallet_web_ui/src/utils/json_rpc.tsx @@ -72,8 +72,8 @@ import type { WebRtcStartResponse, AccountsTransferRequest, AccountsTransferResponse, -} from "@tariproject/typescript-bindings/wallet-daemon-client"; -import { WalletDaemonClient } from "@tariproject/wallet_daemon_client"; +} from "@tari-project/typescript-bindings/wallet-daemon-client"; +import { WalletDaemonClient } from "@tari-project/wallet_daemon_client"; let clientInstance: WalletDaemonClient | null = null; let pendingClientInstance: Promise | null = null; diff --git a/applications/tari_indexer_web_ui/package-lock.json b/applications/tari_indexer_web_ui/package-lock.json index 906cd1fdd..787971a9a 100644 --- a/applications/tari_indexer_web_ui/package-lock.json +++ b/applications/tari_indexer_web_ui/package-lock.json @@ -15,7 +15,7 @@ "@mui/x-data-grid": "^6.0.2", "@tanstack/react-query": "^4.33.0", "@tanstack/react-query-devtools": "^4.33.0", - "@tariproject/typescript-bindings": "file:../../bindings", + "@tari-project/typescript-bindings": "file:../../bindings", "async-mutex": "^0.4.0", "file-saver": "^2.0.5", "react": "^18.2.0", @@ -36,8 +36,8 @@ } }, "../../bindings": { - "name": "@tariproject/typescript-bindings", - "version": "1.0.0", + "name": "@tari-project/typescript-bindings", + "version": "1.0.3", "license": "ISC", "devDependencies": { "shx": "^0.3.4", @@ -1205,7 +1205,7 @@ "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" } }, - "node_modules/@tariproject/typescript-bindings": { + "node_modules/@tari-project/typescript-bindings": { "resolved": "../../bindings", "link": true }, diff --git a/applications/tari_indexer_web_ui/package.json b/applications/tari_indexer_web_ui/package.json index 179e7d0d5..538a1159b 100644 --- a/applications/tari_indexer_web_ui/package.json +++ b/applications/tari_indexer_web_ui/package.json @@ -22,7 +22,7 @@ "react-dom": "^18.2.0", "react-icons": "^4.9.0", "react-router-dom": "^6.9.0", - "@tariproject/typescript-bindings": "file:../../bindings", + "@tari-project/typescript-bindings": "file:../../bindings", "use-react-router-breadcrumbs": "^4.0.1", "zustand": "^4.4.1", "zustand-persist": "^0.1.6" diff --git a/applications/tari_indexer_web_ui/src/routes/VN/Components/Connections.tsx b/applications/tari_indexer_web_ui/src/routes/VN/Components/Connections.tsx index 0a9afde94..4ce20856b 100644 --- a/applications/tari_indexer_web_ui/src/routes/VN/Components/Connections.tsx +++ b/applications/tari_indexer_web_ui/src/routes/VN/Components/Connections.tsx @@ -36,7 +36,7 @@ import { TextField } from "@mui/material"; import { Form } from "react-router-dom"; import Fade from "@mui/material/Fade"; import CopyToClipboard from "../../../Components/CopyToClipboard"; -import type { Connection } from "@tariproject/typescript-bindings/tari-indexer-client"; +import type { Connection } from "@tari-project/typescript-bindings/tari-indexer-client"; import { displayDuration } from "../../../utils/helpers"; diff --git a/applications/tari_indexer_web_ui/src/routes/VN/Components/Info.tsx b/applications/tari_indexer_web_ui/src/routes/VN/Components/Info.tsx index 8da7ec396..6165d32b6 100644 --- a/applications/tari_indexer_web_ui/src/routes/VN/Components/Info.tsx +++ b/applications/tari_indexer_web_ui/src/routes/VN/Components/Info.tsx @@ -27,7 +27,7 @@ import TableCell from "@mui/material/TableCell"; import TableContainer from "@mui/material/TableContainer"; import TableRow from "@mui/material/TableRow"; import { DataTableCell } from "../../../Components/StyledComponents"; -import type { GetIdentityResponse } from "@tariproject/typescript-bindings/tari-indexer-client"; +import type { GetIdentityResponse } from "@tari-project/typescript-bindings/tari-indexer-client"; function Info({ identity }: { identity: GetIdentityResponse }) { return ( diff --git a/applications/tari_indexer_web_ui/src/routes/VN/Components/NftGallery.tsx b/applications/tari_indexer_web_ui/src/routes/VN/Components/NftGallery.tsx index fd62d2c32..34503c6c3 100644 --- a/applications/tari_indexer_web_ui/src/routes/VN/Components/NftGallery.tsx +++ b/applications/tari_indexer_web_ui/src/routes/VN/Components/NftGallery.tsx @@ -24,7 +24,7 @@ import { useEffect, useState } from "react"; import { getNonFungibles } from "../../../utils/json_rpc"; import { useParams } from "react-router-dom"; import { ImageList, ImageListItem, ImageListItemBar } from "@mui/material"; -import type { NonFungibleSubstate } from "@tariproject/typescript-bindings/tari-indexer-client"; +import type { NonFungibleSubstate } from "@tari-project/typescript-bindings/tari-indexer-client"; interface IImageData { img: string; diff --git a/applications/tari_indexer_web_ui/src/routes/VN/ValidatorNode.tsx b/applications/tari_indexer_web_ui/src/routes/VN/ValidatorNode.tsx index 22f1a0d49..a16bbc476 100644 --- a/applications/tari_indexer_web_ui/src/routes/VN/ValidatorNode.tsx +++ b/applications/tari_indexer_web_ui/src/routes/VN/ValidatorNode.tsx @@ -29,7 +29,7 @@ import "./ValidatorNode.css"; import { StyledPaper } from "../../Components/StyledComponents"; import Grid from "@mui/material/Grid"; import SecondaryHeading from "../../Components/SecondaryHeading"; -import type { GetIdentityResponse } from "@tariproject/typescript-bindings/tari-indexer-client"; +import type { GetIdentityResponse } from "@tari-project/typescript-bindings/tari-indexer-client"; function ValidatorNode() { const [identity, setIdentity] = useState(); diff --git a/applications/tari_indexer_web_ui/src/utils/json_rpc.tsx b/applications/tari_indexer_web_ui/src/utils/json_rpc.tsx index df529016b..97a0e8007 100644 --- a/applications/tari_indexer_web_ui/src/utils/json_rpc.tsx +++ b/applications/tari_indexer_web_ui/src/utils/json_rpc.tsx @@ -42,7 +42,7 @@ import type { InspectSubstateRequest, InspectSubstateResponse, SubmitTransactionResponse, -} from "@tariproject/typescript-bindings/tari-indexer-client"; +} from "@tari-project/typescript-bindings/tari-indexer-client"; async function jsonRpc(method: string, params: any = null) { let id = 0; diff --git a/applications/tari_validator_node_web_ui/package-lock.json b/applications/tari_validator_node_web_ui/package-lock.json index a6fb41687..a257b3548 100644 --- a/applications/tari_validator_node_web_ui/package-lock.json +++ b/applications/tari_validator_node_web_ui/package-lock.json @@ -15,7 +15,7 @@ "@mui/x-data-grid": "^6.0.2", "@tanstack/react-query": "^4.33.0", "@tanstack/react-query-devtools": "^4.33.0", - "@tariproject/typescript-bindings": "file:../../bindings", + "@tari-project/typescript-bindings": "file:../../bindings", "async-mutex": "^0.4.0", "echarts-for-react": "^3.0.2", "file-saver": "^2.0.5", @@ -37,7 +37,7 @@ } }, "../../bindings": { - "name": "@tariproject/typescript-bindings", + "name": "@tari-project/typescript-bindings", "version": "1.0.0", "license": "ISC", "devDependencies": { @@ -1206,7 +1206,7 @@ "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" } }, - "node_modules/@tariproject/typescript-bindings": { + "node_modules/@tari-project/typescript-bindings": { "resolved": "../../bindings", "link": true }, diff --git a/applications/tari_validator_node_web_ui/package.json b/applications/tari_validator_node_web_ui/package.json index a73fd0302..bee22b31b 100644 --- a/applications/tari_validator_node_web_ui/package.json +++ b/applications/tari_validator_node_web_ui/package.json @@ -23,7 +23,7 @@ "react-dom": "^18.2.0", "react-icons": "^4.9.0", "react-router-dom": "^6.9.0", - "@tariproject/typescript-bindings": "file:../../bindings", + "@tari-project/typescript-bindings": "file:../../bindings", "use-react-router-breadcrumbs": "^4.0.1", "zustand": "^4.4.1", "zustand-persist": "^0.1.6" diff --git a/applications/tari_validator_node_web_ui/src/App.tsx b/applications/tari_validator_node_web_ui/src/App.tsx index 2612b68b3..57101f07a 100644 --- a/applications/tari_validator_node_web_ui/src/App.tsx +++ b/applications/tari_validator_node_web_ui/src/App.tsx @@ -40,7 +40,7 @@ import BlockDetails from "./routes/Blocks/BlockDetails"; import type { GetEpochManagerStatsResponse, GetIdentityResponse, -} from "@tariproject/typescript-bindings/validator-node-client"; +} from "@tari-project/typescript-bindings/validator-node-client"; interface IContext { epoch?: GetEpochManagerStatsResponse; diff --git a/applications/tari_validator_node_web_ui/src/Components/StatusChip.tsx b/applications/tari_validator_node_web_ui/src/Components/StatusChip.tsx index a15bf5367..df7e5d619 100644 --- a/applications/tari_validator_node_web_ui/src/Components/StatusChip.tsx +++ b/applications/tari_validator_node_web_ui/src/Components/StatusChip.tsx @@ -22,7 +22,7 @@ import { Chip, Avatar } from "@mui/material"; import { IoCheckmarkOutline, IoHourglassOutline, IoCloseOutline, IoBandageOutline } from "react-icons/io5"; -import { Decision } from "@tariproject/typescript-bindings"; +import { Decision } from "@tari-project/typescript-bindings"; interface StatusChipProps { status: Decision | "Loading" | "Dummy"; diff --git a/applications/tari_validator_node_web_ui/src/routes/Blocks/BlockDetails.tsx b/applications/tari_validator_node_web_ui/src/routes/Blocks/BlockDetails.tsx index a59f89693..d99ea643a 100644 --- a/applications/tari_validator_node_web_ui/src/routes/Blocks/BlockDetails.tsx +++ b/applications/tari_validator_node_web_ui/src/routes/Blocks/BlockDetails.tsx @@ -34,8 +34,8 @@ import Loading from "../../Components/Loading"; import { getBlock, getIdentity } from "../../utils/json_rpc"; import Transactions from "./Transactions"; import { primitiveDateTimeToDate, primitiveDateTimeToSecs } from "../../utils/helpers"; -import type { Block, TransactionAtom } from "@tariproject/typescript-bindings"; -import type { GetIdentityResponse } from "@tariproject/typescript-bindings/validator-node-client"; +import type { Block, TransactionAtom } from "@tari-project/typescript-bindings"; +import type { GetIdentityResponse } from "@tari-project/typescript-bindings/validator-node-client"; export default function BlockDetails() { const { blockId } = useParams(); diff --git a/applications/tari_validator_node_web_ui/src/routes/Blocks/Transactions.tsx b/applications/tari_validator_node_web_ui/src/routes/Blocks/Transactions.tsx index f4bcf5988..e05025e0a 100644 --- a/applications/tari_validator_node_web_ui/src/routes/Blocks/Transactions.tsx +++ b/applications/tari_validator_node_web_ui/src/routes/Blocks/Transactions.tsx @@ -23,7 +23,7 @@ import React from "react"; import { Table, TableContainer, TableBody, TableHead, TableRow, TableCell } from "@mui/material"; import StatusChip from "../../Components/StatusChip"; -import type { TransactionAtom } from "@tariproject/typescript-bindings"; +import type { TransactionAtom } from "@tari-project/typescript-bindings"; function Transaction({ transaction }: { transaction: TransactionAtom }) { return ( diff --git a/applications/tari_validator_node_web_ui/src/routes/Committees/Committee.tsx b/applications/tari_validator_node_web_ui/src/routes/Committees/Committee.tsx index a499c5bbf..5b09af411 100644 --- a/applications/tari_validator_node_web_ui/src/routes/Committees/Committee.tsx +++ b/applications/tari_validator_node_web_ui/src/routes/Committees/Committee.tsx @@ -31,7 +31,7 @@ import IconButton from "@mui/material/IconButton"; import Collapse from "@mui/material/Collapse"; import { Typography } from "@mui/material"; import ManageSearchOutlinedIcon from "@mui/icons-material/ManageSearchOutlined"; -import type { ValidatorNode } from "@tariproject/typescript-bindings/validator-node-client"; +import type { ValidatorNode } from "@tari-project/typescript-bindings/validator-node-client"; function Committee({ begin, diff --git a/applications/tari_validator_node_web_ui/src/routes/Committees/Committees.tsx b/applications/tari_validator_node_web_ui/src/routes/Committees/Committees.tsx index e5e0d68b6..e0c1f5c17 100644 --- a/applications/tari_validator_node_web_ui/src/routes/Committees/Committees.tsx +++ b/applications/tari_validator_node_web_ui/src/routes/Committees/Committees.tsx @@ -32,7 +32,7 @@ import TablePagination from "@mui/material/TablePagination"; import { Typography } from "@mui/material"; import CommitteesWaterfall from "./CommitteesWaterfall"; import { emptyRows } from "../../utils/helpers"; -import type { CommitteeShardInfo } from "@tariproject/typescript-bindings/validator-node-client"; +import type { CommitteeShardInfo } from "@tari-project/typescript-bindings/validator-node-client"; function Committees({ committees, peerId }: { committees: CommitteeShardInfo[] | null; peerId: string }) { const [page, setPage] = useState(0); diff --git a/applications/tari_validator_node_web_ui/src/routes/Committees/CommitteesLayout.tsx b/applications/tari_validator_node_web_ui/src/routes/Committees/CommitteesLayout.tsx index c03cce812..016812952 100644 --- a/applications/tari_validator_node_web_ui/src/routes/Committees/CommitteesLayout.tsx +++ b/applications/tari_validator_node_web_ui/src/routes/Committees/CommitteesLayout.tsx @@ -33,7 +33,7 @@ import { getNetworkCommittees } from "../../utils/json_rpc"; import type { CommitteeShardInfo, GetNetworkCommitteeResponse, -} from "@tariproject/typescript-bindings/validator-node-client"; +} from "@tari-project/typescript-bindings/validator-node-client"; function CommitteesLayout() { const [committees, setCommittees] = useState(null); diff --git a/applications/tari_validator_node_web_ui/src/routes/Committees/CommitteesPieChart.tsx b/applications/tari_validator_node_web_ui/src/routes/Committees/CommitteesPieChart.tsx index 0fa1498ba..3720b30ec 100644 --- a/applications/tari_validator_node_web_ui/src/routes/Committees/CommitteesPieChart.tsx +++ b/applications/tari_validator_node_web_ui/src/routes/Committees/CommitteesPieChart.tsx @@ -26,7 +26,7 @@ import "../../theme/echarts.css"; import type { CommitteeShardInfo, GetNetworkCommitteeResponse, -} from "@tariproject/typescript-bindings/validator-node-client"; +} from "@tari-project/typescript-bindings/validator-node-client"; interface IData { value: number; diff --git a/applications/tari_validator_node_web_ui/src/routes/Committees/CommitteesRadial.tsx b/applications/tari_validator_node_web_ui/src/routes/Committees/CommitteesRadial.tsx index f5d4386b1..0c1d4eadd 100644 --- a/applications/tari_validator_node_web_ui/src/routes/Committees/CommitteesRadial.tsx +++ b/applications/tari_validator_node_web_ui/src/routes/Committees/CommitteesRadial.tsx @@ -29,7 +29,7 @@ import type { CommitteeShardInfo, GetNetworkCommitteeResponse, ValidatorNode, -} from "@tariproject/typescript-bindings/validator-node-client"; +} from "@tari-project/typescript-bindings/validator-node-client"; export default function CommitteesRadial({ committees }: { committees: GetNetworkCommitteeResponse }) { const [chartData, setChartData] = useState({ diff --git a/applications/tari_validator_node_web_ui/src/routes/Committees/CommitteesWaterfall.tsx b/applications/tari_validator_node_web_ui/src/routes/Committees/CommitteesWaterfall.tsx index 8dcf09286..d604c7d02 100644 --- a/applications/tari_validator_node_web_ui/src/routes/Committees/CommitteesWaterfall.tsx +++ b/applications/tari_validator_node_web_ui/src/routes/Committees/CommitteesWaterfall.tsx @@ -25,7 +25,7 @@ import { fromHexString } from "../VN/Components/helpers"; import EChartsReact from "echarts-for-react"; import { ICommitteeChart } from "../../utils/interfaces"; import "../../theme/echarts.css"; -import type { CommitteeShardInfo, ValidatorNode } from "@tariproject/typescript-bindings/validator-node-client"; +import type { CommitteeShardInfo, ValidatorNode } from "@tari-project/typescript-bindings/validator-node-client"; export default function CommitteesWaterfall({ committees }: { committees: CommitteeShardInfo[] }) { const [chartData, setChartData] = useState({ diff --git a/applications/tari_validator_node_web_ui/src/routes/Transactions/Events.tsx b/applications/tari_validator_node_web_ui/src/routes/Transactions/Events.tsx index d32e5e0f3..146cda31c 100644 --- a/applications/tari_validator_node_web_ui/src/routes/Transactions/Events.tsx +++ b/applications/tari_validator_node_web_ui/src/routes/Transactions/Events.tsx @@ -29,7 +29,7 @@ import { renderJson } from "../../utils/helpers"; import KeyboardArrowDownIcon from "@mui/icons-material/KeyboardArrowDown"; import KeyboardArrowUpIcon from "@mui/icons-material/KeyboardArrowUp"; import CodeBlockExpand from "../../Components/CodeBlock"; -import type { Event } from "@tariproject/typescript-bindings"; +import type { Event } from "@tari-project/typescript-bindings"; function RowData({ substate_id, template_address, topic, tx_hash, payload }: Event, index: number) { const [open, setOpen] = useState(false); diff --git a/applications/tari_validator_node_web_ui/src/routes/Transactions/FeeInstructions.tsx b/applications/tari_validator_node_web_ui/src/routes/Transactions/FeeInstructions.tsx index ed5830c9d..3dd70e09b 100644 --- a/applications/tari_validator_node_web_ui/src/routes/Transactions/FeeInstructions.tsx +++ b/applications/tari_validator_node_web_ui/src/routes/Transactions/FeeInstructions.tsx @@ -27,7 +27,7 @@ import { renderJson } from "../../utils/helpers"; import KeyboardArrowDownIcon from "@mui/icons-material/KeyboardArrowDown"; import KeyboardArrowUpIcon from "@mui/icons-material/KeyboardArrowUp"; import CodeBlockExpand from "../../Components/CodeBlock"; -import type { Instruction } from "@tariproject/typescript-bindings"; +import type { Instruction } from "@tari-project/typescript-bindings"; function RowData({ title, data, index }: { title: string; data: Instruction; index: number }) { const [open, setOpen] = useState(false); diff --git a/applications/tari_validator_node_web_ui/src/routes/Transactions/Instructions.tsx b/applications/tari_validator_node_web_ui/src/routes/Transactions/Instructions.tsx index fc2296257..751c7b1fa 100644 --- a/applications/tari_validator_node_web_ui/src/routes/Transactions/Instructions.tsx +++ b/applications/tari_validator_node_web_ui/src/routes/Transactions/Instructions.tsx @@ -27,7 +27,7 @@ import { renderJson } from "../../utils/helpers"; import KeyboardArrowDownIcon from "@mui/icons-material/KeyboardArrowDown"; import KeyboardArrowUpIcon from "@mui/icons-material/KeyboardArrowUp"; import CodeBlockExpand from "../../Components/CodeBlock"; -import type { Instruction } from "@tariproject/typescript-bindings"; +import type { Instruction } from "@tari-project/typescript-bindings"; function RowData({ title, data }: { title: string; data: Instruction }, index: number) { const [open, setOpen] = useState(false); diff --git a/applications/tari_validator_node_web_ui/src/routes/Transactions/Logs.tsx b/applications/tari_validator_node_web_ui/src/routes/Transactions/Logs.tsx index 813b0754e..27c8e0f78 100644 --- a/applications/tari_validator_node_web_ui/src/routes/Transactions/Logs.tsx +++ b/applications/tari_validator_node_web_ui/src/routes/Transactions/Logs.tsx @@ -22,7 +22,7 @@ import { TableContainer, Table, TableHead, TableRow, TableCell, TableBody } from "@mui/material"; import { DataTableCell } from "../../Components/StyledComponents"; -import type { LogEntry } from "@tariproject/typescript-bindings"; +import type { LogEntry } from "@tari-project/typescript-bindings"; export default function Logs({ data }: { data: LogEntry[] }) { return ( diff --git a/applications/tari_validator_node_web_ui/src/routes/Transactions/Substates.tsx b/applications/tari_validator_node_web_ui/src/routes/Transactions/Substates.tsx index c664dc7f7..36251ca3b 100644 --- a/applications/tari_validator_node_web_ui/src/routes/Transactions/Substates.tsx +++ b/applications/tari_validator_node_web_ui/src/routes/Transactions/Substates.tsx @@ -29,7 +29,7 @@ import KeyboardArrowDownIcon from "@mui/icons-material/KeyboardArrowDown"; import KeyboardArrowUpIcon from "@mui/icons-material/KeyboardArrowUp"; import { IoArrowDownCircle, IoArrowUpCircle } from "react-icons/io5"; import CodeBlockDialog from "../../Components/CodeBlock"; -import type { SubstateRecord } from "@tariproject/typescript-bindings"; +import type { SubstateRecord } from "@tari-project/typescript-bindings"; function RowData({ info, state }: { info: SubstateRecord; state: string }, index: number) { const [open, setOpen] = useState(false); diff --git a/applications/tari_validator_node_web_ui/src/routes/Transactions/TransactionDetails.tsx b/applications/tari_validator_node_web_ui/src/routes/Transactions/TransactionDetails.tsx index 97fe90158..3d106c508 100644 --- a/applications/tari_validator_node_web_ui/src/routes/Transactions/TransactionDetails.tsx +++ b/applications/tari_validator_node_web_ui/src/routes/Transactions/TransactionDetails.tsx @@ -45,8 +45,8 @@ import type { ExecutedTransaction, LogEntry, SubstateRecord, -} from "@tariproject/typescript-bindings"; -import { getRejectReasonFromTransactionResult, rejectReasonToString } from "@tariproject/typescript-bindings"; +} from "@tari-project/typescript-bindings"; +import { getRejectReasonFromTransactionResult, rejectReasonToString } from "@tari-project/typescript-bindings"; export default function TransactionDetails() { const { transactionHash } = useParams(); diff --git a/applications/tari_validator_node_web_ui/src/routes/VN/Components/AllVNs.tsx b/applications/tari_validator_node_web_ui/src/routes/VN/Components/AllVNs.tsx index 2baefe015..d80b7ef36 100644 --- a/applications/tari_validator_node_web_ui/src/routes/VN/Components/AllVNs.tsx +++ b/applications/tari_validator_node_web_ui/src/routes/VN/Components/AllVNs.tsx @@ -32,7 +32,7 @@ import Typography from "@mui/material/Typography"; import TablePagination from "@mui/material/TablePagination"; import { DataTableCell } from "../../../Components/StyledComponents"; import { emptyRows } from "../../../utils/helpers"; -import type { BaseLayerValidatorNode } from "@tariproject/typescript-bindings/base-node-client"; +import type { BaseLayerValidatorNode } from "@tari-project/typescript-bindings/base-node-client"; function AllVNs({ epoch }: { epoch: number }) { const [vns, setVns] = useState([]); diff --git a/applications/tari_validator_node_web_ui/src/routes/VN/Components/Blocks.tsx b/applications/tari_validator_node_web_ui/src/routes/VN/Components/Blocks.tsx index 7893de4fd..04e6541ed 100644 --- a/applications/tari_validator_node_web_ui/src/routes/VN/Components/Blocks.tsx +++ b/applications/tari_validator_node_web_ui/src/routes/VN/Components/Blocks.tsx @@ -39,8 +39,8 @@ import HeadingMenu from "../../../Components/HeadingMenu"; import Filter from "../../../Components/Filter"; import Fade from "@mui/material/Fade"; import StatusChip from "../../../Components/StatusChip"; -import { Ordering, type Block } from "@tariproject/typescript-bindings"; -import type { GetIdentityResponse } from "@tariproject/typescript-bindings/validator-node-client"; +import { Ordering, type Block } from "@tari-project/typescript-bindings"; +import type { GetIdentityResponse } from "@tari-project/typescript-bindings/validator-node-client"; function Blocks() { const [blocks, setBlocks] = useState([]); diff --git a/applications/tari_validator_node_web_ui/src/routes/VN/Components/Connections.tsx b/applications/tari_validator_node_web_ui/src/routes/VN/Components/Connections.tsx index df7ad668b..468d34b1f 100644 --- a/applications/tari_validator_node_web_ui/src/routes/VN/Components/Connections.tsx +++ b/applications/tari_validator_node_web_ui/src/routes/VN/Components/Connections.tsx @@ -36,7 +36,7 @@ import { TextField } from "@mui/material"; import { Form } from "react-router-dom"; import Fade from "@mui/material/Fade"; import CopyToClipboard from "../../../Components/CopyToClipboard"; -import type { Connection } from "@tariproject/typescript-bindings/validator-node-client"; +import type { Connection } from "@tari-project/typescript-bindings/validator-node-client"; import { displayDuration } from "../../../utils/helpers"; const useInterval = (fn: () => Promise, ms: number) => { diff --git a/applications/tari_validator_node_web_ui/src/routes/VN/Components/Info.tsx b/applications/tari_validator_node_web_ui/src/routes/VN/Components/Info.tsx index 6374c3b5c..94d7629e7 100644 --- a/applications/tari_validator_node_web_ui/src/routes/VN/Components/Info.tsx +++ b/applications/tari_validator_node_web_ui/src/routes/VN/Components/Info.tsx @@ -32,7 +32,7 @@ import { TextField } from "@mui/material"; import type { GetEpochManagerStatsResponse, GetIdentityResponse, -} from "@tariproject/typescript-bindings/validator-node-client"; +} from "@tari-project/typescript-bindings/validator-node-client"; function Info({ epoch, diff --git a/applications/tari_validator_node_web_ui/src/routes/VN/Components/TemplateFunctions.tsx b/applications/tari_validator_node_web_ui/src/routes/VN/Components/TemplateFunctions.tsx index 648794d02..6b835fc51 100644 --- a/applications/tari_validator_node_web_ui/src/routes/VN/Components/TemplateFunctions.tsx +++ b/applications/tari_validator_node_web_ui/src/routes/VN/Components/TemplateFunctions.tsx @@ -34,7 +34,7 @@ import PageHeading from "../../../Components/PageHeading"; import Grid from "@mui/material/Grid"; import { StyledPaper } from "../../../Components/StyledComponents"; import { fromHexString } from "./helpers"; -import type { ArgDef, GetTemplateResponse } from "@tariproject/typescript-bindings/validator-node-client"; +import type { ArgDef, GetTemplateResponse } from "@tari-project/typescript-bindings/validator-node-client"; function TemplateFunctions() { const { address } = useParams(); diff --git a/applications/tari_validator_node_web_ui/src/routes/VN/Components/Templates.tsx b/applications/tari_validator_node_web_ui/src/routes/VN/Components/Templates.tsx index 4030b7d2c..a0348d22f 100644 --- a/applications/tari_validator_node_web_ui/src/routes/VN/Components/Templates.tsx +++ b/applications/tari_validator_node_web_ui/src/routes/VN/Components/Templates.tsx @@ -44,7 +44,7 @@ import Typography from "@mui/material/Typography"; import Fade from "@mui/material/Fade"; import FileDownloadOutlinedIcon from "@mui/icons-material/FileDownloadOutlined"; import { emptyRows } from "../../../utils/helpers"; -import type { TemplateMetadata } from "@tariproject/typescript-bindings/validator-node-client"; +import type { TemplateMetadata } from "@tari-project/typescript-bindings/validator-node-client"; type ColumnKey = keyof TemplateMetadata; diff --git a/applications/tari_validator_node_web_ui/src/routes/VN/ValidatorNode.tsx b/applications/tari_validator_node_web_ui/src/routes/VN/ValidatorNode.tsx index 787cc73bf..04b922722 100644 --- a/applications/tari_validator_node_web_ui/src/routes/VN/ValidatorNode.tsx +++ b/applications/tari_validator_node_web_ui/src/routes/VN/ValidatorNode.tsx @@ -35,7 +35,7 @@ import Grid from "@mui/material/Grid"; import SecondaryHeading from "../../Components/SecondaryHeading"; import { VNContext } from "../../App"; import { getNetworkCommittees } from "../../utils/json_rpc"; -import type { GetNetworkCommitteeResponse } from "@tariproject/typescript-bindings/validator-node-client"; +import type { GetNetworkCommitteeResponse } from "@tari-project/typescript-bindings/validator-node-client"; function ValidatorNode() { const [committees, setCommittees] = useState(null); diff --git a/applications/tari_validator_node_web_ui/src/utils/helpers.tsx b/applications/tari_validator_node_web_ui/src/utils/helpers.tsx index da81c4d0b..823987786 100644 --- a/applications/tari_validator_node_web_ui/src/utils/helpers.tsx +++ b/applications/tari_validator_node_web_ui/src/utils/helpers.tsx @@ -21,7 +21,7 @@ // USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. import { toHexString } from "../routes/VN/Components/helpers"; -import type { SubstateId } from "@tariproject/typescript-bindings"; +import type { SubstateId } from "@tari-project/typescript-bindings"; export const renderJson = (json: any) => { if (!json) { diff --git a/applications/tari_validator_node_web_ui/src/utils/json_rpc.tsx b/applications/tari_validator_node_web_ui/src/utils/json_rpc.tsx index 661d6ddf4..36902c4e0 100644 --- a/applications/tari_validator_node_web_ui/src/utils/json_rpc.tsx +++ b/applications/tari_validator_node_web_ui/src/utils/json_rpc.tsx @@ -20,7 +20,7 @@ // WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE // USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -import type { GetFilteredBlocksCountRequest } from "@tariproject/typescript-bindings/validator-node-client"; +import type { GetFilteredBlocksCountRequest } from "@tari-project/typescript-bindings/validator-node-client"; import type { AddPeerRequest, GetAllVnsRequest, @@ -62,7 +62,7 @@ import type { SubmitTransactionResponse, VNGetValidatorFeesRequest, VNGetValidatorFeesResponse, -} from "@tariproject/typescript-bindings/validator-node-client"; +} from "@tari-project/typescript-bindings/validator-node-client"; const DEFAULT_ADDRESS = new URL("http://127.0.0.1:18200"); diff --git a/bindings/package-lock.json b/bindings/package-lock.json index e131af302..40f578894 100644 --- a/bindings/package-lock.json +++ b/bindings/package-lock.json @@ -1,12 +1,12 @@ { - "name": "@tariproject/typescript-bindings", - "version": "1.0.0", + "name": "@tari-project/typescript-bindings", + "version": "1.0.3", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "@tariproject/typescript-bindings", - "version": "1.0.0", + "name": "@tari-project/typescript-bindings", + "version": "1.0.3", "license": "ISC", "devDependencies": { "shx": "^0.3.4", @@ -15,15 +15,13 @@ }, "node_modules/balanced-match": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/brace-expansion": { "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "dev": true, + "license": "MIT", "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -31,30 +29,26 @@ }, "node_modules/concat-map": { "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/fs.realpath": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/function-bind": { "version": "1.1.2", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", - "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", "dev": true, + "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/glob": { "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", "dev": true, + "license": "ISC", "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -72,9 +66,8 @@ }, "node_modules/hasown": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.0.tgz", - "integrity": "sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==", "dev": true, + "license": "MIT", "dependencies": { "function-bind": "^1.1.2" }, @@ -84,9 +77,8 @@ }, "node_modules/inflight": { "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", "dev": true, + "license": "ISC", "dependencies": { "once": "^1.3.0", "wrappy": "1" @@ -94,24 +86,21 @@ }, "node_modules/inherits": { "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/interpret": { "version": "1.4.0", - "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.4.0.tgz", - "integrity": "sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.10" } }, "node_modules/is-core-module": { "version": "2.13.1", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz", - "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==", "dev": true, + "license": "MIT", "dependencies": { "hasown": "^2.0.0" }, @@ -121,9 +110,8 @@ }, "node_modules/minimatch": { "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", "dev": true, + "license": "ISC", "dependencies": { "brace-expansion": "^1.1.7" }, @@ -133,41 +121,35 @@ }, "node_modules/minimist": { "version": "1.2.8", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", - "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", "dev": true, + "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/once": { "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", "dev": true, + "license": "ISC", "dependencies": { "wrappy": "1" } }, "node_modules/path-is-absolute": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/path-parse": { "version": "1.0.7", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/rechoir": { "version": "0.6.2", - "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.6.2.tgz", - "integrity": "sha512-HFM8rkZ+i3zrV+4LQjwQ0W+ez98pApMGM3HUrN04j3CqzPOzl9nmP15Y8YXNm8QHGv/eacOVEjqhmWpkRV0NAw==", "dev": true, "dependencies": { "resolve": "^1.1.6" @@ -178,9 +160,8 @@ }, "node_modules/resolve": { "version": "1.22.8", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", - "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", "dev": true, + "license": "MIT", "dependencies": { "is-core-module": "^2.13.0", "path-parse": "^1.0.7", @@ -195,9 +176,8 @@ }, "node_modules/shelljs": { "version": "0.8.5", - "resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.8.5.tgz", - "integrity": "sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "glob": "^7.0.0", "interpret": "^1.0.0", @@ -212,9 +192,8 @@ }, "node_modules/shx": { "version": "0.3.4", - "resolved": "https://registry.npmjs.org/shx/-/shx-0.3.4.tgz", - "integrity": "sha512-N6A9MLVqjxZYcVn8hLmtneQWIJtp8IKzMP4eMnx+nqkvXoqinUPCbUFLp2UcWTEIUONhlk0ewxr/jaVGlc+J+g==", "dev": true, + "license": "MIT", "dependencies": { "minimist": "^1.2.3", "shelljs": "^0.8.5" @@ -228,9 +207,8 @@ }, "node_modules/supports-preserve-symlinks-flag": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", - "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -240,9 +218,8 @@ }, "node_modules/typescript": { "version": "5.3.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.3.tgz", - "integrity": "sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==", "dev": true, + "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -253,9 +230,8 @@ }, "node_modules/wrappy": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", - "dev": true + "dev": true, + "license": "ISC" } } } diff --git a/bindings/package.json b/bindings/package.json index 6bb0e2732..b8b4224d9 100644 --- a/bindings/package.json +++ b/bindings/package.json @@ -1,6 +1,6 @@ { - "name": "@tariproject/typescript-bindings", - "version": "1.0.2", + "name": "@tari-project/typescript-bindings", + "version": "1.0.3", "description": "", "main": "index.ts", "scripts": { diff --git a/bindings/tsconfig.json b/bindings/tsconfig.json index 3e27698b9..a27fffd81 100644 --- a/bindings/tsconfig.json +++ b/bindings/tsconfig.json @@ -4,7 +4,7 @@ "target": "ESNext", "moduleResolution": "Bundler", "declaration": true, - "outDir": "./dist" + "outDir": "./dist", }, - "include": ["src/**/*"] + "include": ["src/**/*"], } diff --git a/clients/javascript/wallet_daemon_client/package-lock.json b/clients/javascript/wallet_daemon_client/package-lock.json index db6c859b0..9673d9120 100644 --- a/clients/javascript/wallet_daemon_client/package-lock.json +++ b/clients/javascript/wallet_daemon_client/package-lock.json @@ -1,15 +1,15 @@ { - "name": "@tariproject/wallet_jrpc_client", - "version": "1.0.4", + "name": "@tari-project/wallet_jrpc_client", + "version": "1.0.7", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "@tariproject/wallet_jrpc_client", - "version": "1.0.4", + "name": "@tari-project/wallet_jrpc_client", + "version": "1.0.7", "license": "ISC", "dependencies": { - "@tariproject/typescript-bindings": "1.0.1" + "@tari-project/typescript-bindings": "1.0.3" }, "devDependencies": { "typescript": "^5.3.3" @@ -22,15 +22,15 @@ "extraneous": true }, "../../../bindings": { - "name": "@tariproject/typescript-bindings", - "version": "1.0.1", + "name": "@tari-project/typescript-bindings", + "version": "1.0.3", "license": "ISC", "devDependencies": { "shx": "^0.3.4", "typescript": "^5.3.3" } }, - "node_modules/@tariproject/typescript-bindings": { + "node_modules/@tari-project/typescript-bindings": { "resolved": "../../../bindings", "link": true }, diff --git a/clients/javascript/wallet_daemon_client/package.json b/clients/javascript/wallet_daemon_client/package.json index b6e6e6a01..f6fbaf588 100644 --- a/clients/javascript/wallet_daemon_client/package.json +++ b/clients/javascript/wallet_daemon_client/package.json @@ -1,6 +1,6 @@ { - "name": "@tariproject/wallet_jrpc_client", - "version": "1.0.6", + "name": "@tari-project/wallet_jrpc_client", + "version": "1.0.7", "description": "Tari wallet JSON-RPC client library", "scripts": { "build": "tsc", @@ -14,7 +14,7 @@ "author": "", "license": "ISC", "dependencies": { - "@tariproject/typescript-bindings": "1.0.2" + "@tari-project/typescript-bindings": "1.0.3" }, "devDependencies": { "typescript": "^5.3.3" diff --git a/clients/javascript/wallet_daemon_client/src/index.ts b/clients/javascript/wallet_daemon_client/src/index.ts index 5cc478f5b..e29e3e71f 100644 --- a/clients/javascript/wallet_daemon_client/src/index.ts +++ b/clients/javascript/wallet_daemon_client/src/index.ts @@ -64,7 +64,7 @@ import { TransactionWaitResultResponse, WebRtcStartRequest, WebRtcStartResponse, -} from "@tariproject/typescript-bindings/wallet-daemon-client"; +} from "@tari-project/typescript-bindings/wallet-daemon-client"; import { Arg, @@ -80,7 +80,7 @@ import { substateIdToString, stringToSubstateId, rejectReasonToString, -} from "@tariproject/typescript-bindings"; +} from "@tari-project/typescript-bindings"; import { FetchRpcTransport, RpcTransport } from "./transports"; export * as transports from "./transports";