Skip to content

Commit

Permalink
refactor(orchestration): rename utils to internal
Browse files Browse the repository at this point in the history
  • Loading branch information
0xpatrickdev committed Apr 30, 2024
1 parent e7d066f commit 72569fa
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 8 deletions.
4 changes: 2 additions & 2 deletions packages/orchestration/src/examples/swapExample.contract.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import { AmountMath, AmountShape } from '@agoric/ertp';
import { E, Far } from '@endo/far';
import { M } from '@endo/patterns';
import { makeOrchestrationFacade } from '../facade.js';
import { orcUtils } from '../utils/orc.js';
import { orcUtils } from '../internal/orc.js';

/**
* @import {Orchestrator, ChainAccount, CosmosValidatorAddress} from '../types.js'
* @import {Orchestrator} from '../types.js'
* @import {TimerService} from '@agoric/time';
* @import {ERef} from '@endo/far'
* @import {OrchestrationService} from '../service.js';
Expand Down
4 changes: 2 additions & 2 deletions packages/orchestration/src/exos/chainAccountKit.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import { M } from '@endo/patterns';
import { PaymentShape, PurseShape } from '@agoric/ertp';
import { InvitationShape } from '@agoric/zoe/src/typeGuards.js';
import { ConnectionHandlerI } from '../typeGuards.js';
import { makeTxPacket, parseTxPacket } from '../utils/packet.js';
import { parseAddress } from '../utils/address.js';
import { makeTxPacket, parseTxPacket } from '../internal/packet.js';
import { parseAddress } from '../internal/address.js';

/**
* @import { ChainAddress } from '../types.js';
Expand Down
2 changes: 1 addition & 1 deletion packages/orchestration/src/exos/queryConnectionKit.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { NonNullish } from '@agoric/assert';
import { makeTracer } from '@agoric/internal';
import { V as E } from '@agoric/vat-data/vow.js';
import { M } from '@endo/patterns';
import { makeQueryPacket, parseQueryPacket } from '../utils/packet.js';
import { makeQueryPacket, parseQueryPacket } from '../internal/packet.js';
import { ConnectionHandlerI } from '../typeGuards.js';

/**
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion packages/orchestration/src/service.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { prepareQueryConnectionKit } from './exos/queryConnectionKit.js';
import {
makeICAChannelAddress,
makeICQChannelAddress,
} from './utils/address.js';
} from './internal/address.js';

/**
* @import { QueryConnection, ChainAccountKit } from './types.js';
Expand Down
1 change: 0 additions & 1 deletion packages/orchestration/src/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import type {

export type * from './service.js';
export type * from './vat-orchestration.js';
export type * from './utils/packet.js';
export type * from './exos/chainAccountKit.js';
export type * from './exos/queryConnectionKit.js';

Expand Down
2 changes: 1 addition & 1 deletion packages/orchestration/test/utils/packet.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
parseTxPacket,
parseQueryPacket,
makeQueryPacket,
} from '../../src/utils/packet.js';
} from '../../src/internal/packet.js';

/** @import { RequestQueryJson } from '@agoric/cosmic-proto'; */

Expand Down

0 comments on commit 72569fa

Please sign in to comment.