@bgscore/react-core 0.0.20 → 0.0.21

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
@@ -510,7 +510,7 @@ type TWithName<T> = {
510
510
  __isVoid?: boolean;
511
511
  } : T[K] extends object ? TWithName<T[K]> : T[K];
512
512
  };
513
- declare function wrapApi<T extends object>(obj: T, path?: string[]): TWithName<T>;
513
+ declare function wrapApi<T extends object>(obj: T, path?: string[]): T;
514
514
 
515
515
  type FormatType = {
516
516
  display: string;
package/dist/index.d.ts CHANGED
@@ -510,7 +510,7 @@ type TWithName<T> = {
510
510
  __isVoid?: boolean;
511
511
  } : T[K] extends object ? TWithName<T[K]> : T[K];
512
512
  };
513
- declare function wrapApi<T extends object>(obj: T, path?: string[]): TWithName<T>;
513
+ declare function wrapApi<T extends object>(obj: T, path?: string[]): T;
514
514
 
515
515
  type FormatType = {
516
516
  display: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bgscore/react-core",
3
- "version": "0.0.20",
3
+ "version": "0.0.21",
4
4
  "description": "A React utility library that provides advanced API hooks (fetch, mutation, caching). Built for scalable and flexible data handling in modern React applications.",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",