@devvit/public-api 0.12.1-next-2025-08-27-23-40-51-90a2d5002.0 → 0.12.1-next-2025-08-28-18-09-51-2e6720298.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.
@@ -221,8 +221,8 @@ _b = Flair, _Flair_setFlair = async function _Flair_setFlair(options, metadata)
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/meta.min.json CHANGED
@@ -1944,7 +1944,7 @@
1944
1944
  "format": "esm"
1945
1945
  },
1946
1946
  "src/apis/reddit/models/Flair.ts": {
1947
- "bytes": 15840,
1947
+ "bytes": 15852,
1948
1948
  "imports": [
1949
1949
  {
1950
1950
  "path": "@devvit/protos",
@@ -2695,7 +2695,7 @@
2695
2695
  "imports": [],
2696
2696
  "exports": [],
2697
2697
  "inputs": {},
2698
- "bytes": 1091784
2698
+ "bytes": 1091806
2699
2699
  },
2700
2700
  "dist/public-api.min.js": {
2701
2701
  "imports": [
@@ -3252,7 +3252,7 @@
3252
3252
  "bytesInOutput": 272
3253
3253
  },
3254
3254
  "src/apis/reddit/models/Flair.ts": {
3255
- "bytesInOutput": 4610
3255
+ "bytesInOutput": 4618
3256
3256
  },
3257
3257
  "src/apis/reddit/models/Post.ts": {
3258
3258
  "bytesInOutput": 16750
@@ -3303,7 +3303,7 @@
3303
3303
  "bytesInOutput": 107
3304
3304
  }
3305
3305
  },
3306
- "bytes": 225190
3306
+ "bytes": 225198
3307
3307
  }
3308
3308
  }
3309
3309
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devvit/public-api",
3
- "version": "0.12.1-next-2025-08-27-23-40-51-90a2d5002.0",
3
+ "version": "0.12.1-next-2025-08-28-18-09-51-2e6720298.0",
4
4
  "license": "BSD-3-Clause",
5
5
  "repository": {
6
6
  "type": "git",
@@ -36,18 +36,18 @@
36
36
  },
37
37
  "types": "./dist/index.d.ts",
38
38
  "dependencies": {
39
- "@devvit/metrics": "0.12.1-next-2025-08-27-23-40-51-90a2d5002.0",
40
- "@devvit/protos": "0.12.1-next-2025-08-27-23-40-51-90a2d5002.0",
41
- "@devvit/shared": "0.12.1-next-2025-08-27-23-40-51-90a2d5002.0",
42
- "@devvit/shared-types": "0.12.1-next-2025-08-27-23-40-51-90a2d5002.0",
39
+ "@devvit/metrics": "0.12.1-next-2025-08-28-18-09-51-2e6720298.0",
40
+ "@devvit/protos": "0.12.1-next-2025-08-28-18-09-51-2e6720298.0",
41
+ "@devvit/shared": "0.12.1-next-2025-08-28-18-09-51-2e6720298.0",
42
+ "@devvit/shared-types": "0.12.1-next-2025-08-28-18-09-51-2e6720298.0",
43
43
  "base64-js": "1.5.1",
44
44
  "clone-deep": "4.0.1",
45
45
  "moderndash": "4.0.0"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@ampproject/filesize": "4.3.0",
49
- "@devvit/repo-tools": "0.12.1-next-2025-08-27-23-40-51-90a2d5002.0",
50
- "@devvit/tsconfig": "0.12.1-next-2025-08-27-23-40-51-90a2d5002.0",
49
+ "@devvit/repo-tools": "0.12.1-next-2025-08-28-18-09-51-2e6720298.0",
50
+ "@devvit/tsconfig": "0.12.1-next-2025-08-28-18-09-51-2e6720298.0",
51
51
  "@reddit/faceplate-ui": "18.0.5",
52
52
  "@types/clone-deep": "4.0.1",
53
53
  "@vitest/coverage-c8": "0.32.0",
@@ -64,5 +64,5 @@
64
64
  }
65
65
  },
66
66
  "source": "./src/index.ts",
67
- "gitHead": "48aa32b5e077ad25f6bca9ab4c73ad65efb6aea0"
67
+ "gitHead": "cb497d9591472b2af4ab340b32cad6e62fec293c"
68
68
  }