diff --git a/src/index.ts b/src/index.ts index da36c126f..e79f3262e 100644 --- a/src/index.ts +++ b/src/index.ts @@ -70,6 +70,7 @@ export { CertificateRotation } from './lib/messages/CertificateRotation'; export * from './lib/messages/bindings/signatures'; // Nodes +export type { InternetNode } from './lib/nodes/InternetNode'; export { Endpoint } from './lib/nodes/Endpoint'; export { EndpointManager } from './lib/nodes/managers/EndpointManager'; export { GatewayManager } from './lib/nodes/managers/GatewayManager'; diff --git a/src/lib/nodes/InternetNode.ts b/src/lib/nodes/InternetNode.ts new file mode 100644 index 000000000..1252377ba --- /dev/null +++ b/src/lib/nodes/InternetNode.ts @@ -0,0 +1,4 @@ +export interface InternetNode { + readonly getConnectionParams: () => Promise; + readonly makeInitialSessionKeyIfMissing: () => Promise; +}