Skip to content

Commit

Permalink
chore(types): fast-usdc package export types
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed Dec 17, 2024
1 parent 7d50ca9 commit c49d585
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 12 deletions.
5 changes: 1 addition & 4 deletions multichain-testing/test/fast-usdc/fast-usdc.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ import { makeFeedPolicy, oracleMnemonics } from './config.js';
import { makeRandomDigits } from '../../tools/random.js';
import { balancesFromPurses } from '../../tools/purse.js';
import { makeTracer } from '@agoric/internal';
import type {
CctpTxEvidence,
EvmAddress,
} from '@agoric/fast-usdc/src/types.js';
import type { CctpTxEvidence, EvmAddress } from '@agoric/fast-usdc';

const log = makeTracer('MCFU');

Expand Down
2 changes: 1 addition & 1 deletion multichain-testing/tools/noble-tools.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { IBCChannelID } from '@agoric/vats';
import type { ExecSync } from './agd-lib.js';
import type { ChainAddress } from '@agoric/orchestration';
import type { NobleAddress } from '@agoric/fast-usdc/src/types.js';
import type { NobleAddress } from '@agoric/fast-usdc';

const kubectlBinary = 'kubectl';
const noblePod = 'noblelocal-genesis-0';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { makeHelpers } from '@agoric/deploy-script-support';
/**
* @import {CoreEvalBuilder, DeployScriptFunction} from '@agoric/deploy-script-support/src/externalTypes.js'
* @import {ParseArgsConfig} from 'node:util'
* @import {FastUSDCConfig} from '@agoric/fast-usdc/src/types.js'
* @import {FastUSDCConfig} from '@agoric/fast-usdc';
*/

/** @type {ParseArgsConfig['options']} */
Expand Down
2 changes: 1 addition & 1 deletion packages/builders/scripts/fast-usdc/init-fast-usdc.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { parseArgs } from 'node:util';
/**
* @import {CoreEvalBuilder, DeployScriptFunction} from '@agoric/deploy-script-support/src/externalTypes.js'
* @import {ParseArgsConfig} from 'node:util'
* @import {FastUSDCConfig} from '@agoric/fast-usdc/src/types.js'
* @import {FastUSDCConfig} from '@agoric/fast-usdc';
*/

const { keys } = Object;
Expand Down
5 changes: 1 addition & 4 deletions packages/client-utils/src/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@ import type {
CurrentWalletRecord,
UpdateRecord,
} from '@agoric/smart-wallet/src/smartWallet.js';
import type {
ContractRecord,
PoolMetrics,
} from '@agoric/fast-usdc/src/types.js';
import type { ContractRecord, PoolMetrics } from '@agoric/fast-usdc';

// For static string key types. String template matching has to be in the ternary below.
type PublishedTypeMap = {
Expand Down
1 change: 1 addition & 0 deletions packages/fast-usdc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"src",
"tools"
],
"main": "src/main.js",
"bin": {
"fast-usdc": "./src/cli/bin.js"
},
Expand Down
1 change: 1 addition & 0 deletions packages/fast-usdc/src/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './types.js';
2 changes: 1 addition & 1 deletion packages/fast-usdc/src/utils/deploy-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { denomHash, withChainCapabilities } from '@agoric/orchestration';
import fetchedChainInfo from '@agoric/orchestration/src/fetched-chain-info.js';

/**
* @import {FastUSDCConfig} from '@agoric/fast-usdc/src/types.js'
* @import {FastUSDCConfig} from '@agoric/fast-usdc';
* @import {Passable} from '@endo/marshal';
* @import {CosmosChainInfo, Denom, DenomDetail} from '@agoric/orchestration';
*/
Expand Down

0 comments on commit c49d585

Please sign in to comment.