@adland/react 0.11.1 → 0.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # @adland/react
2
2
 
3
+ ## 0.12.1
4
+
5
+ ### Patch Changes
6
+
7
+ - c56a65d: change of profile ad display name
8
+
9
+ ## 0.12.0
10
+
11
+ ### Minor Changes
12
+
13
+ - b035828: add displayName for fc profiles
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies [b035828]
18
+ - @adland/data@0.13.0
19
+
3
20
  ## 0.11.1
4
21
 
5
22
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adland/react",
3
- "version": "0.11.1",
3
+ "version": "0.12.1",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -33,7 +33,7 @@
33
33
  "@types/react-dom": "^18.3.1",
34
34
  "lucide-react": "0.561.0",
35
35
  "tsup": "^8.0.1",
36
- "@adland/data": "0.12.0"
36
+ "@adland/data": "0.13.0"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@typescript-eslint/eslint-plugin": "^7.13.1",
@@ -34,13 +34,12 @@ const FarcasterProfileAdContent = ({ data }: { data: FarcasterProfileAd }) => {
34
34
  </div>
35
35
  )}
36
36
  <div className="flex flex-row items-center gap-1">
37
- {profileMetadata?.username ? (
38
- <p className="text-sm font-bold text-primary truncate">
39
- @{profileMetadata.username}
40
- </p>
41
- ) : (
42
- <p className="text-sm font-bold text-primary">FID: {fid}</p>
43
- )}
37
+ <p className="text-sm text-primary truncate">
38
+ <span className="font-bold">{profileMetadata?.displayName} </span>
39
+ <span className="text-xs font-light text-muted-foreground/80">
40
+ @{profileMetadata?.username}
41
+ </span>
42
+ </p>
44
43
  {profileMetadata?.pro && (
45
44
  <span className="text-xs bg-primary text-primary-foreground px-1 rounded">
46
45
  PRO