Skip to content

Commit

Permalink
build: use subpath patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed May 1, 2024
1 parent c3fd278 commit 0eab6a8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
18 changes: 9 additions & 9 deletions packages/cosmic-proto/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,17 @@
"default": "./dist/vatsafe.js"
},
"./package.json": "./package.json",
"./cosmos/*": {
"types": "./dist/codegen/cosmos/*/*.d.ts",
"default": "./dist/codegen/cosmos/*/*.js"
"./cosmos/*.js": {
"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",
"default": "./dist/codegen/ibc/applications/transfer/v1/tx.js"
"./google/*.js": {
"types": "./dist/codegen/google/*.d.ts",
"default": "./dist/codegen/google/*.js"
},
"./google/protobuf/any": {
"types": "./dist/codegen/google/protobuf/any.d.ts",
"default": "./dist/codegen/google/protobuf/any.js"
"./ibc/*.js": {
"types": "./dist/codegen/ibc/*.d.ts",
"default": "./dist/codegen/ibc/*.js"
},
"./swingset/msgs.js": {
"types": "./dist/codegen/agoric/swingset/msgs.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/orchestration/src/exos/stakingAccountKit.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { M, prepareExoClassKit } from '@agoric/vat-data';
import { TopicsRecordShape } from '@agoric/zoe/src/contractSupport/index.js';
import { decodeBase64 } from '@endo/base64';
import { E } from '@endo/far';
import { Any } from '@agoric/cosmic-proto/google/protobuf/any';
import { Any } from '@agoric/cosmic-proto/google/protobuf/any.js';

/**
* @import { ChainAccount, ChainAddress } from '../types.js';
Expand Down
2 changes: 1 addition & 1 deletion packages/orchestration/src/utils/tx.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// @ts-check
import { TxBody } from '@agoric/cosmic-proto/cosmos/tx/v1beta1/tx.js';
import { encodeBase64 } from '@endo/base64';
import { Any } from '@agoric/cosmic-proto/google/protobuf/any';
import { Any } from '@agoric/cosmic-proto/google/protobuf/any.js';

/**
* Makes an IBC packet from an array of messages. Expects the `value` of each message
Expand Down

0 comments on commit 0eab6a8

Please sign in to comment.