Skip to content

Commit

Permalink
Merge pull request #1329 from tapexyz/bump
Browse files Browse the repository at this point in the history
chore: bump deps
  • Loading branch information
sasicodes committed Feb 27, 2024
2 parents 3fe10fe + 3d3e37a commit db88659
Show file tree
Hide file tree
Showing 8 changed files with 747 additions and 795 deletions.
4 changes: 2 additions & 2 deletions apps/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"lint": "eslint . --ext .js,.ts,.tsx"
},
"dependencies": {
"@aws-sdk/client-sts": "3.521.0",
"@aws-sdk/client-sts": "3.523.0",
"@hono/zod-validator": "^0.1.11",
"hono": "^4.0.7",
"linkedom": "^0.16.8",
Expand All @@ -23,6 +23,6 @@
"@tape.xyz/config": "*",
"@tape.xyz/generic": "*",
"@types/ua-parser-js": "^0.7.39",
"wrangler": "^3.29.0"
"wrangler": "^3.30.0"
}
}
2 changes: 1 addition & 1 deletion apps/embed/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@tape.xyz/lens": "*",
"@tape.xyz/ui": "*",
"@types/node": "20.11.20",
"@types/react": "18.2.59",
"@types/react": "18.2.60",
"@types/react-dom": "18.2.19",
"autoprefixer": "^10.4.17",
"postcss": "^8.4.34",
Expand Down
2 changes: 1 addition & 1 deletion apps/og/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@tape.xyz/generic": "*",
"@tape.xyz/lens": "*",
"@types/node": "^20.11.20",
"@types/react": "^18.2.59",
"@types/react": "^18.2.60",
"@types/react-dom": "^18",
"typescript": "^5"
}
Expand Down
6 changes: 3 additions & 3 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"lint": "eslint . --ext .js,.ts,.tsx"
},
"dependencies": {
"@aws-sdk/client-s3": "3.521.0",
"@aws-sdk/lib-storage": "3.521.0",
"@aws-sdk/client-s3": "3.523.0",
"@aws-sdk/lib-storage": "3.523.0",
"@emoji-mart/react": "^1.1.1",
"@hookform/resolvers": "^3.3.3",
"@irys/sdk": "^0.1.9",
Expand Down Expand Up @@ -58,7 +58,7 @@
"@tape.xyz/lens": "*",
"@tape.xyz/ui": "*",
"@types/node": "20.11.20",
"@types/react": "18.2.59",
"@types/react": "18.2.60",
"@types/react-dom": "18.2.19",
"@types/uuid": "^9.0.8",
"autoprefixer": "^10.4.17",
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/components/Login/Signup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ const Signup: FC<Props> = ({ showLogin, onSuccess, setShowSignup }) => {
loading={creating}
disabled={creating || !isHandleAvailable || checkingAvailability}
>
Buy with Card
Buy with Card ({signupPriceFormatted} USD)
</Button>
</div>
<button
Expand Down
38 changes: 31 additions & 7 deletions apps/web/src/components/Profile/Cover.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import { getDateString, getRelativeTime } from '@lib/formatTime'
import { TAPE_SIGNUP_PROXY_ABI } from '@tape.xyz/abis'
import { STATIC_ASSETS, TAPE_SIGNUP_PROXY_ADDRESS } from '@tape.xyz/constants'
import {
getProfile,
getProfileCoverPicture,
Expand All @@ -7,9 +9,10 @@ import {
sanitizeDStorageUrl
} from '@tape.xyz/generic'
import type { Profile } from '@tape.xyz/lens'
import { Badge as BadgeUI } from '@tape.xyz/ui'
import { Badge as BadgeUI, Tooltip } from '@tape.xyz/ui'
import type { FC } from 'react'
import React from 'react'
import { useReadContract } from 'wagmi'

import CoverLinks from './CoverLinks'

Expand All @@ -22,6 +25,13 @@ const Cover: FC<Props> = ({ profile }) => {
sanitizeDStorageUrl(getProfileCoverPicture(profile, true))
)

const { data: isMintedViaTape } = useReadContract({
abi: TAPE_SIGNUP_PROXY_ABI,
address: TAPE_SIGNUP_PROXY_ADDRESS,
args: [profile.ownedBy.address],
functionName: 'allowedRelayerAddresses'
})

return (
<div className="relative">
<div
Expand All @@ -32,12 +42,26 @@ const Cover: FC<Props> = ({ profile }) => {
/>
<div className="flex justify-center">
<div className="container absolute bottom-4 mx-auto flex max-w-screen-xl items-end justify-between px-2 xl:px-0">
<img
className="laptop:size-32 rounded-small size-24 flex-none border-2 border-white bg-white shadow-2xl dark:bg-gray-900"
src={getProfilePicture(profile, 'AVATAR_LG')}
draggable={false}
alt={getProfile(profile)?.slug}
/>
<div className="relative">
<img
className="laptop:size-32 rounded-small size-24 flex-none border-2 border-white bg-white shadow-2xl dark:bg-gray-900"
src={getProfilePicture(profile, 'AVATAR_LG')}
draggable={false}
alt={getProfile(profile)?.slug}
/>
{Boolean(isMintedViaTape) && (
<Tooltip content="Profile minted via Tape">
<span className="absolute bottom-1 right-1">
<img
className="size-6 rounded-full"
src={imageCdn(`${STATIC_ASSETS}/brand/logo.png`, 'AVATAR')}
alt="logo"
draggable={false}
/>
</span>
</Tooltip>
)}
</div>
<div className="flex flex-col items-end gap-4">
{profile.metadata && <CoverLinks metadata={profile.metadata} />}

Expand Down
2 changes: 1 addition & 1 deletion packages/permissionless/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"@nomicfoundation/hardhat-verify": "^2.0.0",
"@openzeppelin/contracts": "^5.0.1",
"@openzeppelin/contracts-upgradeable": "^5.0.1",
"@openzeppelin/hardhat-upgrades": "^3.0.3",
"@openzeppelin/hardhat-upgrades": "^3.0.4",
"dotenv": "^16.4.5",
"ethers": "^6.11.1",
"hardhat": "^2.20.1",
Expand Down
Loading

0 comments on commit db88659

Please sign in to comment.