From fc33ac8bb483d29b51cf3e7da1f4a5f134cc45cb Mon Sep 17 00:00:00 2001 From: Max Inden Date: Fri, 17 Mar 2023 08:14:42 +0100 Subject: [PATCH] fix!: Rename webrtc to webrtc-direct and webrtc-w3c to webrtc (#314) We have decided to rename `webrtc` to `webrtc-direct` and `webrtc-w3c` to `webrtc` as these better reflect the protocols being used. For further discussion please see: https://github.com/multiformats/multiaddr/pull/150 This change landed in https://github.com/multiformats/multiaddr/pull/152 BREAKING CHANGE: webrtc has been renamed webrtc-direct and webrtc-w3c has been renamed webrtc --------- Co-authored-by: Alex Potsides --- src/protocols-table.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/protocols-table.ts b/src/protocols-table.ts index f850d2e5..cb810592 100644 --- a/src/protocols-table.ts +++ b/src/protocols-table.ts @@ -20,8 +20,8 @@ export const table: Array<[number, number, string, boolean?, boolean?]> = [ [275, 0, 'p2p-webrtc-star'], [276, 0, 'p2p-webrtc-direct'], [277, 0, 'p2p-stardust'], - [280, 0, 'webrtc'], - [281, 0, 'webrtc-w3c'], + [280, 0, 'webrtc-direct'], + [281, 0, 'webrtc'], [290, 0, 'p2p-circuit'], [301, 0, 'udt'], [302, 0, 'utp'],