@postrun/react 2.23.0 → 2.25.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.
package/dist/index.d.cts CHANGED
@@ -2302,13 +2302,7 @@ declare function useValidatePost(profileId: string): {
2302
2302
  hint?: string;
2303
2303
  allowed?: Array<string>;
2304
2304
  got?: string;
2305
- source?: {
2306
- platform: "google" | "meta" | "x" | "linkedin" | "instagram" | "facebook" | "tiktok" | "youtube";
2307
- platform_code?: string;
2308
- field?: string;
2309
- value?: string;
2310
- platform_request_id?: string;
2311
- };
2305
+ source?: _postrun_js.ErrorSource;
2312
2306
  variant_index: number;
2313
2307
  path: Array<string | number>;
2314
2308
  platform?: "tiktok" | "x" | "linkedin" | "facebook_page" | "instagram";
package/dist/index.d.ts CHANGED
@@ -2302,13 +2302,7 @@ declare function useValidatePost(profileId: string): {
2302
2302
  hint?: string;
2303
2303
  allowed?: Array<string>;
2304
2304
  got?: string;
2305
- source?: {
2306
- platform: "google" | "meta" | "x" | "linkedin" | "instagram" | "facebook" | "tiktok" | "youtube";
2307
- platform_code?: string;
2308
- field?: string;
2309
- value?: string;
2310
- platform_request_id?: string;
2311
- };
2305
+ source?: _postrun_js.ErrorSource;
2312
2306
  variant_index: number;
2313
2307
  path: Array<string | number>;
2314
2308
  platform?: "tiktok" | "x" | "linkedin" | "facebook_page" | "instagram";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@postrun/react",
3
- "version": "2.23.0",
3
+ "version": "2.25.0",
4
4
  "description": "React provider, hooks, and headless components for the Postrun API",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://postrun.ai",
@@ -37,7 +37,7 @@
37
37
  "react-icons": "^5.6.0",
38
38
  "react-tweet": "^3.3.1",
39
39
  "twitter-text": "^3.1.0",
40
- "@postrun/js": "2.23.0"
40
+ "@postrun/js": "2.25.0"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@testing-library/dom": "^10.4.0",