From c3fd278fe1381d643ae5d544535344fc950213c6 Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Tue, 30 Apr 2024 09:26:06 -0700 Subject: [PATCH] build(types): export cosmos wildcard --- packages/cosmic-proto/package.json | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/packages/cosmic-proto/package.json b/packages/cosmic-proto/package.json index 36235b417842..d31c672be265 100644 --- a/packages/cosmic-proto/package.json +++ b/packages/cosmic-proto/package.json @@ -24,13 +24,9 @@ "default": "./dist/vatsafe.js" }, "./package.json": "./package.json", - "./cosmos": { - "types": "./dist/codegen/cosmos/bundle.d.ts", - "default": "./dist/codegen/cosmos/bundle.js" - }, - "./cosmos/staking/v1beta1/tx": { - "types": "./dist/codegen/cosmos/staking/v1beta1/tx.d.ts", - "default": "./dist/codegen/cosmos/staking/v1beta1/tx.js" + "./cosmos/*": { + "types": "./dist/codegen/cosmos/*/*.d.ts", + "default": "./dist/codegen/cosmos/*/*.js" }, "./ibc/applications/transfer/v1/tx.js": { "types": "./dist/codegen/ibc/applications/transfer/v1/tx.d.ts", @@ -55,18 +51,6 @@ "./vstorage/query.js": { "types": "./dist/codegen/agoric/vstorage/query.d.ts", "default": "./dist/codegen/agoric/vstorage/query.js" - }, - "./cosmos/tx/v1beta1/tx.js": { - "types": "./dist/codegen/cosmos/tx/v1beta1/tx.d.ts", - "default": "./dist/codegen/cosmos/tx/v1beta1/tx.js" - }, - "./cosmos/staking/v1beta1/staking.js": { - "types": "./dist/codegen/cosmos/staking/v1beta1/staking.d.ts", - "default": "./dist/codegen/cosmos/staking/v1beta1/staking.js" - }, - "./cosmos/staking/v1beta1/tx.js": { - "types": "./dist/codegen/cosmos/staking/v1beta1/tx.d.ts", - "default": "./dist/codegen/cosmos/staking/v1beta1/tx.js" } }, "main": "dist/index.js",