Socket
Socket
Sign inDemoInstall

6pp

Package Overview
Dependencies
3
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.4 to 1.0.5

src/components/PaginationWithCount.tsx

17

index.d.ts

@@ -0,14 +1,7 @@

import { PaginationButtonType } from "./src/types";
import PaginationComponentWithCount from "./src/components/PaginationWithCount";
import { useFetchData } from "./src/hooks/useFetchData";
declare module "6pp" {
export const useFetchData: <T>(
url: string,
key: string,
dependencyProps?: (string | number | boolean)[]
) => {
data: T | null;
loading: boolean;
error: string;
refetch: () => void;
clearCache: () => void;
};
// Add more exports as needed
export { PaginationButtonType, PaginationComponentWithCount, useFetchData };
}
{
"name": "6pp",
"version": "1.0.4",
"version": "1.0.5",
"description": "",

@@ -5,0 +5,0 @@ "main": "./dist/bundle.js",

export * from "./hooks/useFetchData";
export * from "./components/PaginationWithCount";
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc