From 7c3c193b4ac571dd7e66a56e2289cfcb5c29d9ae Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Fri, 30 Dec 2022 01:08:54 -0500 Subject: [PATCH] *Update dist --- dist/swarm.d.ts | 6 ++++++ dist/swarm.d.ts.map | 1 + 2 files changed, 7 insertions(+) create mode 100644 dist/swarm.d.ts create mode 100644 dist/swarm.d.ts.map diff --git a/dist/swarm.d.ts b/dist/swarm.d.ts new file mode 100644 index 0000000..83ef809 --- /dev/null +++ b/dist/swarm.d.ts @@ -0,0 +1,6 @@ +export type ProtocolHandler = (peer: any, muxer: any) => void; +export declare class ProtocolManager { + constructor(swarm: any); + register(name: string, handler: ProtocolHandler): boolean; +} +//# sourceMappingURL=swarm.d.ts.map diff --git a/dist/swarm.d.ts.map b/dist/swarm.d.ts.map new file mode 100644 index 0000000..f30fc1b --- /dev/null +++ b/dist/swarm.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"swarm.d.ts","sourceRoot":"","sources":["../src/swarm.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;AAE9D,MAAM,CAAC,OAAO,OAAO,eAAe;gBACtB,KAAK,EAAE,GAAG;IACtB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,eAAe,GAAG,OAAO;CAC1D"} \ No newline at end of file