diff --git a/packages/eth-rpc-cache/package.json b/packages/eth-rpc-cache/package.json index 05aa57e..e00e7d9 100644 --- a/packages/eth-rpc-cache/package.json +++ b/packages/eth-rpc-cache/package.json @@ -1,6 +1,6 @@ { "name": "eth-rpc-cache", - "version": "0.0.1", + "version": "0.0.2", "description": "A simple cache for Ethereum RPC requests", "keywords": [ "cache", @@ -38,5 +38,6 @@ "ts-node": "10.9.2", "typescript": "5.4.5" }, - "type": "module" + "type": "module", + "types": "dist/index.d.ts" } diff --git a/packages/eth-rpc-cache/tsconfig.json b/packages/eth-rpc-cache/tsconfig.json index 5cb83f4..77e7ce3 100644 --- a/packages/eth-rpc-cache/tsconfig.json +++ b/packages/eth-rpc-cache/tsconfig.json @@ -2,6 +2,7 @@ "compilerOptions": { "allowJs": false, "baseUrl": "./src", + "declaration": true, "esModuleInterop": true, "forceConsistentCasingInFileNames": true, "incremental": true,