@outstand-so/ui 0.1.10 → 0.1.11

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/dist/index.cjs CHANGED
@@ -1475,7 +1475,7 @@ function CreatePostForm({
1475
1475
  }
1476
1476
  setIsSubmitting(true);
1477
1477
  try {
1478
- const accountIdentifiers = selectedAccounts.map((account) => account.username);
1478
+ const accountIdentifiers = selectedAccounts.map((account) => account.id);
1479
1479
  const postData = {
1480
1480
  accounts: accountIdentifiers,
1481
1481
  ...scheduledAt && { scheduledAt: scheduledAt.toISOString() }
package/dist/index.js CHANGED
@@ -1413,7 +1413,7 @@ function CreatePostForm({
1413
1413
  }
1414
1414
  setIsSubmitting(true);
1415
1415
  try {
1416
- const accountIdentifiers = selectedAccounts.map((account) => account.username);
1416
+ const accountIdentifiers = selectedAccounts.map((account) => account.id);
1417
1417
  const postData = {
1418
1418
  accounts: accountIdentifiers,
1419
1419
  ...scheduledAt && { scheduledAt: scheduledAt.toISOString() }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@outstand-so/ui",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "description": "React UI components for Outstand.so Unified Social Media API",
5
5
  "keywords": ["outstand", "social-media", "api", "react", "components", "tailwindcss", "cross-posting"],
6
6
  "homepage": "https://outstand.so/docs/sdk/ui",