New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

use-country-info

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

use-country-info - npm Package Compare versions

Comparing version

to
1.0.3

@@ -105,8 +105,12 @@ type TCountryInfo = {

};
export const useCountryInfo: () => {
allInfo: TCountryInfo[] | null;
ddiInfo: TCallingInfo[] | null;
contryflags: TFlags[] | null;
declare const useCountryInfo: () => {
allInfo: TCountryInfo[];
ddiInfo: TCallingInfo[];
contryflags: TFlags[];
setAllInfo: import("react").Dispatch<import("react").SetStateAction<TCountryInfo[]>>;
setDDInfo: import("react").Dispatch<import("react").SetStateAction<TCallingInfo[]>>;
setContryflags: import("react").Dispatch<import("react").SetStateAction<TFlags[]>>;
};
export default useCountryInfo;
//# sourceMappingURL=index.d.ts.map
{
"name": "use-country-info",
"description": "use-country-info",
"version": "1.0.2",
"version": "1.0.3",
"license": "MIT",

@@ -74,5 +74,2 @@ "author": "Erik Ferreira de Lima <erik.lima.f@outlook.com>",

"@parcel/types": "^2.9.3",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-typescript": "^11.1.2",
"@testing-library/react-hooks": "^8.0.1",
"@types/jest": "^29.5.2",

@@ -99,3 +96,2 @@ "@types/react": "^17.0.62",

"react": "^18.2.0",
"react-test-renderer": "^17.0.2",
"style-loader": "^3.3.3",

@@ -102,0 +98,0 @@ "ts-loader": "^9.4.4",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet