Skip to content

Commit 03e602a

Browse files
sirtimidclaude
andcommitted
chore(remotes): rename initNetwork to initTransport
Align the function name with the file name (transport.ts). Also clean up circular dependency pattern by reordering creation, reducing from 2 eslint-disable comments to 1. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 6642221 commit 03e602a

File tree

4 files changed

+106
-110
lines changed

4 files changed

+106
-110
lines changed

packages/ocap-kernel/src/index.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ describe('index', () => {
1414
'VatHandle',
1515
'VatIdStruct',
1616
'VatSupervisor',
17-
'initNetwork',
17+
'initTransport',
1818
'isVatConfig',
1919
'isVatId',
2020
'krefOf',

packages/ocap-kernel/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export { Kernel } from './Kernel.ts';
22
export { VatHandle } from './vats/VatHandle.ts';
33
export { VatSupervisor } from './vats/VatSupervisor.ts';
4-
export { initNetwork } from './remotes/platform/transport.ts';
4+
export { initTransport } from './remotes/platform/transport.ts';
55
export type {
66
ClusterConfig,
77
KRef,

0 commit comments

Comments
 (0)