From 0e5c427926feacd1ba547a76b724b5f3a791eaaa Mon Sep 17 00:00:00 2001 From: Gonzalo D'Elia Date: Wed, 8 May 2024 16:59:32 -0300 Subject: [PATCH] Fix publishing missing types --- packages/eth-rpc-cache/package.json | 5 +++-- packages/eth-rpc-cache/tsconfig.json | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) 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,