@devvit/reddit 0.12.1-next-2025-08-27-23-40-51-90a2d5002.0 → 0.12.1-next-2025-08-28-22-46-23-a75a7b355.0

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.
Files changed (2) hide show
  1. package/models/Flair.js +2 -2
  2. package/package.json +10 -10
package/models/Flair.js CHANGED
@@ -221,8 +221,8 @@ _b = Flair, _Flair_setFlair = async function _Flair_setFlair(options) {
221
221
  subreddit: options.subredditName,
222
222
  flairTemplateId: options.flairTemplateId ?? '',
223
223
  text: options.text ?? '',
224
- name: options.username,
225
- link: options.postId,
224
+ name: options.username ?? '',
225
+ link: options.postId ?? '',
226
226
  backgroundColor: options.backgroundColor ?? '',
227
227
  textColor: options.textColor ?? 'dark',
228
228
  cssClass: options.cssClass ?? '',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devvit/reddit",
3
- "version": "0.12.1-next-2025-08-27-23-40-51-90a2d5002.0",
3
+ "version": "0.12.1-next-2025-08-28-22-46-23-a75a7b355.0",
4
4
  "license": "BSD-3-Clause",
5
5
  "repository": {
6
6
  "type": "git",
@@ -30,23 +30,23 @@
30
30
  },
31
31
  "types": "./dist/index.d.ts",
32
32
  "dependencies": {
33
- "@devvit/protos": "0.12.1-next-2025-08-27-23-40-51-90a2d5002.0",
34
- "@devvit/public-api": "0.12.1-next-2025-08-27-23-40-51-90a2d5002.0",
35
- "@devvit/shared": "0.12.1-next-2025-08-27-23-40-51-90a2d5002.0",
36
- "@devvit/shared-types": "0.12.1-next-2025-08-27-23-40-51-90a2d5002.0",
37
- "@devvit/splash": "0.12.1-next-2025-08-27-23-40-51-90a2d5002.0"
33
+ "@devvit/protos": "0.12.1-next-2025-08-28-22-46-23-a75a7b355.0",
34
+ "@devvit/public-api": "0.12.1-next-2025-08-28-22-46-23-a75a7b355.0",
35
+ "@devvit/shared": "0.12.1-next-2025-08-28-22-46-23-a75a7b355.0",
36
+ "@devvit/shared-types": "0.12.1-next-2025-08-28-22-46-23-a75a7b355.0",
37
+ "@devvit/splash": "0.12.1-next-2025-08-28-22-46-23-a75a7b355.0"
38
38
  },
39
39
  "peerDependencies": {
40
40
  "@devvit/server": "*"
41
41
  },
42
42
  "devDependencies": {
43
- "@devvit/repo-tools": "0.12.1-next-2025-08-27-23-40-51-90a2d5002.0",
44
- "@devvit/server": "0.12.1-next-2025-08-27-23-40-51-90a2d5002.0",
45
- "@devvit/tsconfig": "0.12.1-next-2025-08-27-23-40-51-90a2d5002.0",
43
+ "@devvit/repo-tools": "0.12.1-next-2025-08-28-22-46-23-a75a7b355.0",
44
+ "@devvit/server": "0.12.1-next-2025-08-28-22-46-23-a75a7b355.0",
45
+ "@devvit/tsconfig": "0.12.1-next-2025-08-28-22-46-23-a75a7b355.0",
46
46
  "eslint": "9.11.1",
47
47
  "typescript": "5.8.3",
48
48
  "vitest": "1.6.1"
49
49
  },
50
50
  "source": "./src/index.ts",
51
- "gitHead": "48aa32b5e077ad25f6bca9ab4c73ad65efb6aea0"
51
+ "gitHead": "df935d3df93f9f51c5a6feb2b0f07ed62e01f1bd"
52
52
  }