@streamr/dht 101.1.2 → 102.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (369) hide show
  1. package/dist/package.json +17 -18
  2. package/dist/src/connection/Connection.d.ts +1 -1
  3. package/dist/src/connection/ConnectionLockRpcLocal.d.ts +5 -3
  4. package/dist/src/connection/ConnectionLockRpcLocal.js +9 -3
  5. package/dist/src/connection/ConnectionLockRpcLocal.js.map +1 -1
  6. package/dist/src/connection/ConnectionLockRpcRemote.d.ts +3 -2
  7. package/dist/src/connection/ConnectionLockRpcRemote.js +14 -3
  8. package/dist/src/connection/ConnectionLockRpcRemote.js.map +1 -1
  9. package/dist/src/connection/ConnectionLockStates.d.ts +5 -0
  10. package/dist/src/connection/ConnectionLockStates.js +14 -0
  11. package/dist/src/connection/ConnectionLockStates.js.map +1 -1
  12. package/dist/src/connection/ConnectionManager.d.ts +8 -1
  13. package/dist/src/connection/ConnectionManager.js +96 -32
  14. package/dist/src/connection/ConnectionManager.js.map +1 -1
  15. package/dist/src/connection/ConnectionsView.d.ts +1 -1
  16. package/dist/src/connection/ConnectorFacade.d.ts +1 -1
  17. package/dist/src/connection/Handshaker.d.ts +2 -2
  18. package/dist/src/connection/Handshaker.js +11 -7
  19. package/dist/src/connection/Handshaker.js.map +1 -1
  20. package/dist/src/connection/ManagedConnection.d.ts +7 -1
  21. package/dist/src/connection/ManagedConnection.js +41 -8
  22. package/dist/src/connection/ManagedConnection.js.map +1 -1
  23. package/dist/src/connection/PendingConnection.d.ts +1 -1
  24. package/dist/src/connection/connectivityChecker.d.ts +1 -1
  25. package/dist/src/connection/connectivityChecker.js +22 -11
  26. package/dist/src/connection/connectivityChecker.js.map +1 -1
  27. package/dist/src/connection/connectivityRequestHandler.js +4 -4
  28. package/dist/src/connection/connectivityRequestHandler.js.map +1 -1
  29. package/dist/src/connection/simulator/Simulator.d.ts +1 -1
  30. package/dist/src/connection/simulator/Simulator.js +5 -4
  31. package/dist/src/connection/simulator/Simulator.js.map +1 -1
  32. package/dist/src/connection/simulator/SimulatorConnection.d.ts +1 -1
  33. package/dist/src/connection/simulator/SimulatorConnection.js +9 -9
  34. package/dist/src/connection/simulator/SimulatorConnection.js.map +1 -1
  35. package/dist/src/connection/simulator/SimulatorConnector.d.ts +1 -1
  36. package/dist/src/connection/simulator/SimulatorConnector.js +4 -4
  37. package/dist/src/connection/simulator/SimulatorConnector.js.map +1 -1
  38. package/dist/src/connection/simulator/SimulatorTransport.d.ts +1 -1
  39. package/dist/src/connection/simulator/SimulatorTransport.js +2 -1
  40. package/dist/src/connection/simulator/SimulatorTransport.js.map +1 -1
  41. package/dist/src/connection/simulator/pings.d.ts +1 -1
  42. package/dist/src/connection/simulator/pings.js +3 -3
  43. package/dist/src/connection/simulator/pings.js.map +1 -1
  44. package/dist/src/connection/webrtc/NodeWebrtcConnection.d.ts +2 -1
  45. package/dist/src/connection/webrtc/NodeWebrtcConnection.js +13 -8
  46. package/dist/src/connection/webrtc/NodeWebrtcConnection.js.map +1 -1
  47. package/dist/src/connection/webrtc/WebrtcConnector.d.ts +2 -1
  48. package/dist/src/connection/webrtc/WebrtcConnector.js +28 -17
  49. package/dist/src/connection/webrtc/WebrtcConnector.js.map +1 -1
  50. package/dist/src/connection/webrtc/WebrtcConnectorRpcLocal.d.ts +3 -3
  51. package/dist/src/connection/webrtc/WebrtcConnectorRpcLocal.js +4 -4
  52. package/dist/src/connection/webrtc/WebrtcConnectorRpcLocal.js.map +1 -1
  53. package/dist/src/connection/webrtc/WebrtcConnectorRpcRemote.d.ts +1 -1
  54. package/dist/src/connection/webrtc/iceServerAsString.js +1 -2
  55. package/dist/src/connection/webrtc/iceServerAsString.js.map +1 -1
  56. package/dist/src/connection/websocket/AbstractWebsocketClientConnection.d.ts +0 -1
  57. package/dist/src/connection/websocket/WebsocketClientConnector.d.ts +1 -1
  58. package/dist/src/connection/websocket/WebsocketClientConnector.js +3 -3
  59. package/dist/src/connection/websocket/WebsocketClientConnector.js.map +1 -1
  60. package/dist/src/connection/websocket/WebsocketClientConnectorRpcLocal.d.ts +3 -4
  61. package/dist/src/connection/websocket/WebsocketClientConnectorRpcLocal.js +1 -1
  62. package/dist/src/connection/websocket/WebsocketClientConnectorRpcLocal.js.map +1 -1
  63. package/dist/src/connection/websocket/WebsocketClientConnectorRpcRemote.d.ts +1 -1
  64. package/dist/src/connection/websocket/WebsocketClientConnectorRpcRemote.js +1 -1
  65. package/dist/src/connection/websocket/WebsocketClientConnectorRpcRemote.js.map +1 -1
  66. package/dist/src/connection/websocket/WebsocketServerConnection.d.ts +0 -1
  67. package/dist/src/connection/websocket/WebsocketServerConnector.d.ts +1 -1
  68. package/dist/src/connection/websocket/WebsocketServerConnector.js +34 -24
  69. package/dist/src/connection/websocket/WebsocketServerConnector.js.map +1 -1
  70. package/dist/src/dht/DhtNode.d.ts +5 -2
  71. package/dist/src/dht/DhtNode.js +20 -8
  72. package/dist/src/dht/DhtNode.js.map +1 -1
  73. package/dist/src/dht/DhtNodeRpcLocal.d.ts +4 -4
  74. package/dist/src/dht/DhtNodeRpcLocal.js +3 -3
  75. package/dist/src/dht/DhtNodeRpcLocal.js.map +1 -1
  76. package/dist/src/dht/DhtNodeRpcRemote.d.ts +2 -2
  77. package/dist/src/dht/DhtNodeRpcRemote.js +3 -3
  78. package/dist/src/dht/DhtNodeRpcRemote.js.map +1 -1
  79. package/dist/src/dht/ExternalApiRpcLocal.d.ts +3 -3
  80. package/dist/src/dht/ExternalApiRpcLocal.js +3 -3
  81. package/dist/src/dht/ExternalApiRpcLocal.js.map +1 -1
  82. package/dist/src/dht/ExternalApiRpcRemote.d.ts +3 -3
  83. package/dist/src/dht/ExternalApiRpcRemote.js +2 -2
  84. package/dist/src/dht/ExternalApiRpcRemote.js.map +1 -1
  85. package/dist/src/dht/PeerManager.d.ts +3 -2
  86. package/dist/src/dht/PeerManager.js +12 -11
  87. package/dist/src/dht/PeerManager.js.map +1 -1
  88. package/dist/src/dht/contact/Contact.d.ts +1 -1
  89. package/dist/src/dht/contact/Contact.js +1 -1
  90. package/dist/src/dht/contact/Contact.js.map +1 -1
  91. package/dist/src/dht/contact/RingContactList.d.ts +1 -1
  92. package/dist/src/dht/contact/RingContactList.js +1 -1
  93. package/dist/src/dht/contact/RingContactList.js.map +1 -1
  94. package/dist/src/dht/contact/RpcRemote.d.ts +1 -1
  95. package/dist/src/dht/contact/SortedContactList.js +2 -2
  96. package/dist/src/dht/contact/SortedContactList.js.map +1 -1
  97. package/dist/src/dht/contact/ringIdentifiers.d.ts +1 -1
  98. package/dist/src/dht/discovery/DiscoverySession.d.ts +1 -2
  99. package/dist/src/dht/discovery/DiscoverySession.js +3 -3
  100. package/dist/src/dht/discovery/DiscoverySession.js.map +1 -1
  101. package/dist/src/dht/discovery/PeerDiscovery.d.ts +1 -2
  102. package/dist/src/dht/discovery/PeerDiscovery.js +7 -7
  103. package/dist/src/dht/discovery/PeerDiscovery.js.map +1 -1
  104. package/dist/src/dht/discovery/RingDiscoverySession.d.ts +0 -1
  105. package/dist/src/dht/discovery/RingDiscoverySession.js +1 -1
  106. package/dist/src/dht/discovery/RingDiscoverySession.js.map +1 -1
  107. package/dist/src/dht/recursive-operation/RecursiveOperationManager.d.ts +3 -3
  108. package/dist/src/dht/recursive-operation/RecursiveOperationManager.js +8 -8
  109. package/dist/src/dht/recursive-operation/RecursiveOperationManager.js.map +1 -1
  110. package/dist/src/dht/recursive-operation/RecursiveOperationRpcLocal.d.ts +2 -2
  111. package/dist/src/dht/recursive-operation/RecursiveOperationRpcLocal.js +2 -2
  112. package/dist/src/dht/recursive-operation/RecursiveOperationRpcLocal.js.map +1 -1
  113. package/dist/src/dht/recursive-operation/RecursiveOperationRpcRemote.d.ts +2 -2
  114. package/dist/src/dht/recursive-operation/RecursiveOperationRpcRemote.js +3 -3
  115. package/dist/src/dht/recursive-operation/RecursiveOperationRpcRemote.js.map +1 -1
  116. package/dist/src/dht/recursive-operation/RecursiveOperationSession.d.ts +1 -1
  117. package/dist/src/dht/recursive-operation/RecursiveOperationSession.js +7 -7
  118. package/dist/src/dht/recursive-operation/RecursiveOperationSession.js.map +1 -1
  119. package/dist/src/dht/recursive-operation/RecursiveOperationSessionRpcLocal.d.ts +3 -3
  120. package/dist/src/dht/recursive-operation/RecursiveOperationSessionRpcLocal.js +1 -1
  121. package/dist/src/dht/recursive-operation/RecursiveOperationSessionRpcLocal.js.map +1 -1
  122. package/dist/src/dht/recursive-operation/RecursiveOperationSessionRpcRemote.d.ts +2 -2
  123. package/dist/src/dht/routing/DuplicateDetector.js.map +1 -1
  124. package/dist/src/dht/routing/Router.d.ts +4 -1
  125. package/dist/src/dht/routing/Router.js +17 -9
  126. package/dist/src/dht/routing/Router.js.map +1 -1
  127. package/dist/src/dht/routing/RouterRpcLocal.d.ts +2 -2
  128. package/dist/src/dht/routing/RouterRpcLocal.js +5 -5
  129. package/dist/src/dht/routing/RouterRpcLocal.js.map +1 -1
  130. package/dist/src/dht/routing/RouterRpcRemote.d.ts +2 -2
  131. package/dist/src/dht/routing/RouterRpcRemote.js +7 -7
  132. package/dist/src/dht/routing/RouterRpcRemote.js.map +1 -1
  133. package/dist/src/dht/routing/RoutingSession.d.ts +1 -1
  134. package/dist/src/dht/routing/RoutingSession.js +7 -8
  135. package/dist/src/dht/routing/RoutingSession.js.map +1 -1
  136. package/dist/src/dht/routing/RoutingTablesCache.d.ts +1 -1
  137. package/dist/src/dht/routing/getPreviousPeer.d.ts +1 -1
  138. package/dist/src/dht/store/LocalDataStore.d.ts +1 -1
  139. package/dist/src/dht/store/LocalDataStore.js +3 -3
  140. package/dist/src/dht/store/LocalDataStore.js.map +1 -1
  141. package/dist/src/dht/store/StoreManager.d.ts +3 -3
  142. package/dist/src/dht/store/StoreManager.js +8 -8
  143. package/dist/src/dht/store/StoreManager.js.map +1 -1
  144. package/dist/src/dht/store/StoreRpcLocal.d.ts +4 -4
  145. package/dist/src/dht/store/StoreRpcLocal.js +4 -4
  146. package/dist/src/dht/store/StoreRpcLocal.js.map +1 -1
  147. package/dist/src/dht/store/StoreRpcRemote.d.ts +3 -3
  148. package/dist/src/dht/store/StoreRpcRemote.js +7 -4
  149. package/dist/src/dht/store/StoreRpcRemote.js.map +1 -1
  150. package/dist/src/exports.d.ts +2 -2
  151. package/dist/src/exports.js +6 -6
  152. package/dist/src/exports.js.map +1 -1
  153. package/dist/src/helpers/AddressTools.js +2 -3
  154. package/dist/src/helpers/AddressTools.js.map +1 -1
  155. package/dist/src/helpers/Connectivity.d.ts +1 -1
  156. package/dist/src/helpers/Connectivity.js +1 -1
  157. package/dist/src/helpers/Connectivity.js.map +1 -1
  158. package/dist/src/helpers/createPeerDescriptor.d.ts +1 -1
  159. package/dist/src/helpers/createPeerDescriptor.js +2 -2
  160. package/dist/src/helpers/createPeerDescriptor.js.map +1 -1
  161. package/dist/src/helpers/createPeerDescriptorSignaturePayload.d.ts +1 -1
  162. package/dist/src/helpers/createPeerDescriptorSignaturePayload.js +1 -1
  163. package/dist/src/helpers/createPeerDescriptorSignaturePayload.js.map +1 -1
  164. package/dist/src/helpers/debugHelpers.js +2 -2
  165. package/dist/src/helpers/debugHelpers.js.map +1 -1
  166. package/dist/src/helpers/protoClasses.d.ts +1 -1
  167. package/dist/src/helpers/protoClasses.js +1 -1
  168. package/dist/src/helpers/protoClasses.js.map +1 -1
  169. package/dist/src/helpers/protoToString.js +1 -2
  170. package/dist/src/helpers/protoToString.js.map +1 -1
  171. package/dist/src/helpers/version.d.ts +1 -1
  172. package/dist/src/helpers/version.js +4 -4
  173. package/dist/src/helpers/version.js.map +1 -1
  174. package/dist/src/identifiers.d.ts +5 -5
  175. package/dist/src/identifiers.js +11 -11
  176. package/dist/src/identifiers.js.map +1 -1
  177. package/dist/src/rpc-protocol/DhtCallContext.d.ts +1 -1
  178. package/dist/src/rpc-protocol/DhtRpcOptions.d.ts +1 -1
  179. package/dist/src/transport/ITransport.d.ts +2 -1
  180. package/dist/src/transport/ListeningRpcCommunicator.d.ts +2 -1
  181. package/dist/src/transport/ListeningRpcCommunicator.js +13 -4
  182. package/dist/src/transport/ListeningRpcCommunicator.js.map +1 -1
  183. package/dist/src/transport/RoutingRpcCommunicator.d.ts +1 -1
  184. package/eslint.config.mjs +12 -0
  185. package/jest.config.ts +12 -0
  186. package/package.json +17 -18
  187. package/proto.sh +2 -3
  188. package/protos/DhtRpc.proto +11 -4
  189. package/src/connection/Connection.ts +1 -1
  190. package/src/connection/ConnectionLockRpcLocal.ts +16 -7
  191. package/src/connection/ConnectionLockRpcRemote.ts +18 -6
  192. package/src/connection/ConnectionLockStates.ts +18 -0
  193. package/src/connection/ConnectionManager.ts +93 -27
  194. package/src/connection/ConnectionsView.ts +1 -1
  195. package/src/connection/ConnectorFacade.ts +1 -1
  196. package/src/connection/Handshaker.ts +18 -14
  197. package/src/connection/ManagedConnection.ts +28 -3
  198. package/src/connection/PendingConnection.ts +1 -1
  199. package/src/connection/connectivityChecker.ts +6 -5
  200. package/src/connection/connectivityRequestHandler.ts +4 -4
  201. package/src/connection/simulator/Simulator.ts +8 -7
  202. package/src/connection/simulator/SimulatorConnection.ts +10 -10
  203. package/src/connection/simulator/SimulatorConnector.ts +5 -5
  204. package/src/connection/simulator/SimulatorTransport.ts +3 -2
  205. package/src/connection/simulator/pings.ts +1 -1
  206. package/src/connection/webrtc/BrowserWebrtcConnection.ts +10 -1
  207. package/src/connection/webrtc/NodeWebrtcConnection.ts +15 -11
  208. package/src/connection/webrtc/WebrtcConnector.ts +13 -11
  209. package/src/connection/webrtc/WebrtcConnectorRpcLocal.ts +8 -8
  210. package/src/connection/webrtc/WebrtcConnectorRpcRemote.ts +2 -2
  211. package/src/connection/websocket/WebsocketClientConnector.ts +5 -5
  212. package/src/connection/websocket/WebsocketClientConnectorRpcLocal.ts +5 -5
  213. package/src/connection/websocket/WebsocketClientConnectorRpcRemote.ts +4 -4
  214. package/src/connection/websocket/WebsocketServerConnector.ts +24 -20
  215. package/src/dht/DhtNode.ts +29 -11
  216. package/src/dht/DhtNodeRpcLocal.ts +8 -8
  217. package/src/dht/DhtNodeRpcRemote.ts +5 -5
  218. package/src/dht/ExternalApiRpcLocal.ts +8 -8
  219. package/src/dht/ExternalApiRpcRemote.ts +6 -6
  220. package/src/dht/PeerManager.ts +16 -14
  221. package/src/dht/contact/Contact.ts +3 -3
  222. package/src/dht/contact/RingContactList.ts +3 -3
  223. package/src/dht/contact/RpcRemote.ts +1 -1
  224. package/src/dht/contact/SortedContactList.ts +3 -3
  225. package/src/dht/contact/ringIdentifiers.ts +1 -1
  226. package/src/dht/discovery/DiscoverySession.ts +5 -5
  227. package/src/dht/discovery/PeerDiscovery.ts +12 -12
  228. package/src/dht/discovery/RingDiscoverySession.ts +3 -3
  229. package/src/dht/recursive-operation/RecursiveOperationManager.ts +10 -10
  230. package/src/dht/recursive-operation/RecursiveOperationRpcLocal.ts +4 -4
  231. package/src/dht/recursive-operation/RecursiveOperationRpcRemote.ts +6 -6
  232. package/src/dht/recursive-operation/RecursiveOperationSession.ts +8 -8
  233. package/src/dht/recursive-operation/RecursiveOperationSessionRpcLocal.ts +5 -5
  234. package/src/dht/recursive-operation/RecursiveOperationSessionRpcRemote.ts +2 -2
  235. package/src/dht/routing/DuplicateDetector.ts +1 -1
  236. package/src/dht/routing/Router.ts +19 -10
  237. package/src/dht/routing/RouterRpcLocal.ts +7 -7
  238. package/src/dht/routing/RouterRpcRemote.ts +9 -9
  239. package/src/dht/routing/RoutingSession.ts +9 -10
  240. package/src/dht/routing/RoutingTablesCache.ts +1 -1
  241. package/src/dht/routing/getPreviousPeer.ts +1 -1
  242. package/src/dht/store/LocalDataStore.ts +5 -5
  243. package/src/dht/store/StoreManager.ts +13 -13
  244. package/src/dht/store/StoreRpcLocal.ts +9 -9
  245. package/src/dht/store/StoreRpcRemote.ts +10 -7
  246. package/src/exports.ts +5 -5
  247. package/src/helpers/Connectivity.ts +1 -1
  248. package/src/helpers/createPeerDescriptor.ts +3 -3
  249. package/src/helpers/createPeerDescriptorSignaturePayload.ts +1 -1
  250. package/src/helpers/protoClasses.ts +2 -2
  251. package/src/helpers/version.ts +2 -2
  252. package/src/identifiers.ts +7 -7
  253. package/src/rpc-protocol/DhtCallContext.ts +1 -1
  254. package/src/rpc-protocol/DhtRpcOptions.ts +1 -1
  255. package/src/transport/ITransport.ts +2 -1
  256. package/src/transport/ListeningRpcCommunicator.ts +14 -6
  257. package/src/transport/RoutingRpcCommunicator.ts +2 -2
  258. package/test/benchmark/Find.test.ts +9 -9
  259. package/test/benchmark/KademliaCorrectness.test.ts +7 -7
  260. package/test/benchmark/RingCorrectness.test.ts +8 -8
  261. package/test/benchmark/SortedContactListBenchmark.test.ts +10 -10
  262. package/test/benchmark/hybrid-network-simulation/RingContactList.test.ts +3 -3
  263. package/test/end-to-end/Layer0Webrtc-Layer1.test.ts +6 -6
  264. package/test/end-to-end/Layer0Webrtc.test.ts +6 -6
  265. package/test/end-to-end/RecoveryFromFailedAutoCertification.test.ts +1 -1
  266. package/test/end-to-end/WebsocketConnectionRequest.test.ts +3 -3
  267. package/test/end-to-end/memory-leak.test.ts +6 -6
  268. package/test/integration/ConnectionLocking.test.ts +48 -37
  269. package/test/integration/ConnectionManager.test.ts +62 -6
  270. package/test/integration/ConnectivityChecking.test.ts +3 -2
  271. package/test/integration/DhtJoinPeerDiscovery.test.ts +2 -2
  272. package/test/integration/DhtNode.test.ts +6 -6
  273. package/test/integration/DhtNodeExternalAPI.test.ts +7 -7
  274. package/test/integration/DhtNodeRpcRemote.test.ts +9 -9
  275. package/test/integration/DhtRpc.test.ts +12 -13
  276. package/test/integration/Find.test.ts +5 -5
  277. package/test/integration/GeoIpConnectivityChecking.test.ts +8 -7
  278. package/test/integration/Layer1-scale.test.ts +3 -3
  279. package/test/integration/Mock-Layer1-Layer0.test.ts +6 -6
  280. package/test/integration/MultipleEntryPointJoining.test.ts +1 -1
  281. package/test/integration/ReplicateData.test.ts +10 -11
  282. package/test/integration/RouteMessage.test.ts +13 -13
  283. package/test/integration/RouterRpcRemote.test.ts +7 -7
  284. package/test/integration/SimultaneousConnections.test.ts +14 -13
  285. package/test/integration/Store.test.ts +9 -9
  286. package/test/integration/StoreAndDelete.test.ts +10 -10
  287. package/test/integration/StoreOnDhtWithThreeNodes.test.ts +10 -10
  288. package/test/integration/StoreOnDhtWithTwoNodes.test.ts +10 -10
  289. package/test/integration/StoreRpcRemote.test.ts +11 -11
  290. package/test/integration/WebrtcConnectionManagement.test.ts +4 -31
  291. package/test/integration/WebrtcConnectorRpc.test.ts +14 -14
  292. package/test/integration/Websocket.test.ts +0 -2
  293. package/test/integration/WebsocketClientConnectorRpc.test.ts +8 -8
  294. package/test/integration/WebsocketConnectionManagement.test.ts +11 -12
  295. package/test/integration/{rpc-connections-over-webrpc.test.ts → rpc-connections-over-webrtc.test.ts} +12 -46
  296. package/test/unit/AutoCertifierClientFacade.test.ts +6 -6
  297. package/test/unit/ConnectionManager.test.ts +4 -3
  298. package/test/unit/ConnectivityHelpers.test.ts +1 -1
  299. package/test/unit/DiscoverySession.test.ts +6 -6
  300. package/test/unit/Handshaker.test.ts +2 -2
  301. package/test/unit/ListeningRpcCommunicator.test.ts +52 -0
  302. package/test/unit/LocalDataStore.test.ts +21 -21
  303. package/test/unit/PeerManager.test.ts +15 -15
  304. package/test/unit/PendingConnection.test.ts +1 -1
  305. package/test/unit/ProtobufMessage.test.ts +1 -1
  306. package/test/unit/RandomContactList.test.ts +2 -2
  307. package/test/unit/RecursiveOperationManager.test.ts +3 -3
  308. package/test/unit/RecursiveOperationSession.test.ts +6 -6
  309. package/test/unit/Router.test.ts +6 -6
  310. package/test/unit/RoutingSession.test.ts +13 -6
  311. package/test/unit/SortedContactList.test.ts +8 -8
  312. package/test/unit/StoreManager.test.ts +12 -12
  313. package/test/unit/StoreRpcLocal.test.ts +9 -9
  314. package/test/unit/WebrtcConnection.test.ts +29 -0
  315. package/test/unit/WebsocketClientConnector.test.ts +1 -1
  316. package/test/unit/WebsocketServerConnector.test.ts +1 -1
  317. package/test/unit/connectivityRequestHandler.test.ts +6 -6
  318. package/test/unit/createPeerDescriptor.test.ts +4 -4
  319. package/test/unit/customMatchers.test.ts +18 -0
  320. package/test/unit/getClosestNodes.test.ts +5 -5
  321. package/test/unit/version.test.ts +9 -9
  322. package/test/utils/FakeConnectorFacade.ts +1 -1
  323. package/test/utils/FakeTransport.ts +12 -9
  324. package/test/utils/customMatchers.ts +9 -9
  325. package/test/utils/mock/MockConnectionsView.ts +1 -1
  326. package/test/utils/mock/MockRouter.ts +5 -1
  327. package/test/utils/mock/MockTransport.ts +6 -1
  328. package/test/utils/mock/mockDataEntry.ts +6 -6
  329. package/test/utils/topology.ts +3 -4
  330. package/test/utils/utils.ts +11 -11
  331. package/tsconfig.jest.json +2 -1
  332. package/tsconfig.node.json +1 -0
  333. package/.eslintignore +0 -5
  334. package/.eslintrc +0 -3
  335. package/dist/src/proto/google/protobuf/any.d.ts +0 -173
  336. package/dist/src/proto/google/protobuf/any.js +0 -155
  337. package/dist/src/proto/google/protobuf/any.js.map +0 -1
  338. package/dist/src/proto/google/protobuf/empty.d.ts +0 -32
  339. package/dist/src/proto/google/protobuf/empty.js +0 -32
  340. package/dist/src/proto/google/protobuf/empty.js.map +0 -1
  341. package/dist/src/proto/google/protobuf/timestamp.d.ts +0 -149
  342. package/dist/src/proto/google/protobuf/timestamp.js +0 -136
  343. package/dist/src/proto/google/protobuf/timestamp.js.map +0 -1
  344. package/dist/src/proto/packages/dht/protos/DhtRpc.client.d.ts +0 -352
  345. package/dist/src/proto/packages/dht/protos/DhtRpc.client.js +0 -278
  346. package/dist/src/proto/packages/dht/protos/DhtRpc.client.js.map +0 -1
  347. package/dist/src/proto/packages/dht/protos/DhtRpc.d.ts +0 -975
  348. package/dist/src/proto/packages/dht/protos/DhtRpc.js +0 -661
  349. package/dist/src/proto/packages/dht/protos/DhtRpc.js.map +0 -1
  350. package/dist/src/proto/packages/dht/protos/DhtRpc.server.d.ts +0 -157
  351. package/dist/src/proto/packages/dht/protos/DhtRpc.server.js +0 -3
  352. package/dist/src/proto/packages/dht/protos/DhtRpc.server.js.map +0 -1
  353. package/dist/src/proto/packages/proto-rpc/protos/ProtoRpc.d.ts +0 -87
  354. package/dist/src/proto/packages/proto-rpc/protos/ProtoRpc.js +0 -66
  355. package/dist/src/proto/packages/proto-rpc/protos/ProtoRpc.js.map +0 -1
  356. package/dist/src/proto/tests.d.ts +0 -39
  357. package/dist/src/proto/tests.js +0 -34
  358. package/dist/src/proto/tests.js.map +0 -1
  359. package/jest.config.js +0 -5
  360. package/src/proto/google/protobuf/any.ts +0 -319
  361. package/src/proto/google/protobuf/empty.ts +0 -82
  362. package/src/proto/google/protobuf/timestamp.ts +0 -281
  363. package/src/proto/packages/dht/protos/DhtRpc.client.ts +0 -407
  364. package/src/proto/packages/dht/protos/DhtRpc.server.ts +0 -160
  365. package/src/proto/packages/dht/protos/DhtRpc.ts +0 -1244
  366. package/src/proto/packages/proto-rpc/protos/ProtoRpc.ts +0 -108
  367. package/src/proto/tests.ts +0 -52
  368. package/test/benchmark/any.test.ts +0 -28
  369. /package/{src/types/glogal.d.ts → test/types/global.d.ts} +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"DhtRpc.js","sourceRoot":"","sources":["../../../../../../src/proto/packages/dht/protos/DhtRpc.ts"],"names":[],"mappings":";;;AAAA,uGAAuG;AACvG,kGAAkG;AAClG,iBAAiB;AACjB,0DAAuD;AACvD,0DAAuD;AACvD,kDAAmD;AACnD,8DAA6D;AAC7D,kEAA+D;AAC/D,sDAAmD;AAklBnD;;GAEG;AACH,IAAY,kBAaX;AAbD,WAAY,kBAAkB;IAC1B;;OAEG;IACH,uFAAsB,CAAA;IACtB;;OAEG;IACH,uEAAc,CAAA;IACd;;OAEG;IACH,yEAAe,CAAA;AACnB,CAAC,EAbW,kBAAkB,kCAAlB,kBAAkB,QAa7B;AACD;;GAEG;AACH,IAAY,QASX;AATD,WAAY,QAAQ;IAChB;;OAEG;IACH,2CAAU,CA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reDataResponse } from "./DhtRpc";
2
- import { ExternalStoreDataRequest } from "./DhtRpc";
3
- import { ExternalFetchDataResponse } from "./DhtRpc";
4
- import { ExternalFetchDataRequest } from "./DhtRpc";
5
- import { DisconnectNotice } from "./DhtRpc";
6
- import { UnlockRequest } from "./DhtRpc";
7
- import { LockResponse } from "./DhtRpc";
8
- import { LockRequest } from "./DhtRpc";
9
- import { IceCandidate } from "./DhtRpc";
10
- import { RtcAnswer } from "./DhtRpc";
11
- import { RtcOffer } from "./DhtRpc";
12
- import { WebrtcConnectionRequest } from "./DhtRpc";
13
- import { WebsocketConnectionRequest } from "./DhtRpc";
14
- import { RecursiveOperationResponse } from "./DhtRpc";
15
- import { ReplicateDataRequest } from "./DhtRpc";
16
- import { StoreDataResponse } from "./DhtRpc";
17
- import { StoreDataRequest } from "./DhtRpc";
18
- import { RouteMessageAck } from "./DhtRpc";
19
- import { RouteMessageWrapper } from "./DhtRpc";
20
- import { Empty } from "../../../google/protobuf/empty";
21
- import { LeaveNotice } from "./DhtRpc";
22
- import { PingResponse } from "./DhtRpc";
23
- import { PingRequest } from "./DhtRpc";
24
- import { ClosestRingPeersResponse } from "./DhtRpc";
25
- import { ClosestRingPeersRequest } from "./DhtRpc";
26
- import { ClosestPeersResponse } from "./DhtRpc";
27
- import { ClosestPeersRequest } from "./DhtRpc";
28
- import { ServerCallContext } from "@protobuf-ts/runtime-rpc";
29
- /**
30
- * @generated from protobuf service dht.DhtNodeRpc
31
- */
32
- export interface IDhtNodeRpc<T = ServerCallContext> {
33
- /**
34
- * TODO rename to getClosestNeighbors (breaking change)
35
- *
36
- * @generated from protobuf rpc: getClosestPeers(dht.ClosestPeersRequest) returns (dht.ClosestPeersResponse);
37
- */
38
- getClosestPeers(request: ClosestPeersRequest, context: T): Promise<ClosestPeersResponse>;
39
- /**
40
- * TODO rename to getClosestRingContacts (breaking change)
41
- *
42
- * @generated from protobuf rpc: getClosestRingPeers(dht.ClosestRingPeersRequest) returns (dht.ClosestRingPeersResponse);
43
- */
44
- getClosestRingPeers(request: ClosestRingPeersRequest, context: T): Promise<ClosestRingPeersResponse>;
45
- /**
46
- * @generated from protobuf rpc: ping(dht.PingRequest) returns (dht.PingResponse);
47
- */
48
- ping(request: PingRequest, context: T): Promise<PingResponse>;
49
- /**
50
- * @generated from protobuf rpc: leaveNotice(dht.LeaveNotice) returns (google.protobuf.Empty);
51
- */
52
- leaveNotice(request: LeaveNotice, context: T): Promise<Empty>;
53
- }
54
- /**
55
- * @generated from protobuf service dht.RouterRpc
56
- */
57
- export interface IRouterRpc<T = ServerCallContext> {
58
- /**
59
- * @generated from protobuf rpc: routeMessage(dht.RouteMessageWrapper) returns (dht.RouteMessageAck);
60
- */
61
- routeMessage(request: RouteMessageWrapper, context: T): Promise<RouteMessageAck>;
62
- /**
63
- * @generated from protobuf rpc: forwardMessage(dht.RouteMessageWrapper) returns (dht.RouteMessageAck);
64
- */
65
- forwardMessage(request: RouteMessageWrapper, context: T): Promise<RouteMessageAck>;
66
- }
67
- /**
68
- * @generated from protobuf service dht.RecursiveOperationRpc
69
- */
70
- export interface IRecursiveOperationRpc<T = ServerCallContext> {
71
- /**
72
- * @generated from protobuf rpc: routeRequest(dht.RouteMessageWrapper) returns (dht.RouteMessageAck);
73
- */
74
- routeRequest(request: RouteMessageWrapper, context: T): Promise<RouteMessageAck>;
75
- }
76
- /**
77
- * @generated from protobuf service dht.StoreRpc
78
- */
79
- export interface IStoreRpc<T = ServerCallContext> {
80
- /**
81
- * @generated from protobuf rpc: storeData(dht.StoreDataRequest) returns (dht.StoreDataResponse);
82
- */
83
- storeData(request: StoreDataRequest, context: T): Promise<StoreDataResponse>;
84
- /**
85
- * @generated from protobuf rpc: replicateData(dht.ReplicateDataRequest) returns (google.protobuf.Empty);
86
- */
87
- replicateData(request: ReplicateDataRequest, context: T): Promise<Empty>;
88
- }
89
- /**
90
- * @generated from protobuf service dht.RecursiveOperationSessionRpc
91
- */
92
- export interface IRecursiveOperationSessionRpc<T = ServerCallContext> {
93
- /**
94
- * @generated from protobuf rpc: sendResponse(dht.RecursiveOperationResponse) returns (google.protobuf.Empty);
95
- */
96
- sendResponse(request: RecursiveOperationResponse, context: T): Promise<Empty>;
97
- }
98
- /**
99
- * @generated from protobuf service dht.WebsocketClientConnectorRpc
100
- */
101
- export interface IWebsocketClientConnectorRpc<T = ServerCallContext> {
102
- /**
103
- * @generated from protobuf rpc: requestConnection(dht.WebsocketConnectionRequest) returns (google.protobuf.Empty);
104
- */
105
- requestConnection(request: WebsocketConnectionRequest, context: T): Promise<Empty>;
106
- }
107
- /**
108
- * @generated from protobuf service dht.WebrtcConnectorRpc
109
- */
110
- export interface IWebrtcConnectorRpc<T = ServerCallContext> {
111
- /**
112
- * @generated from protobuf rpc: requestConnection(dht.WebrtcConnectionRequest) returns (google.protobuf.Empty);
113
- */
114
- requestConnection(request: WebrtcConnectionRequest, context: T): Promise<Empty>;
115
- /**
116
- * @generated from protobuf rpc: rtcOffer(dht.RtcOffer) returns (google.protobuf.Empty);
117
- */
118
- rtcOffer(request: RtcOffer, context: T): Promise<Empty>;
119
- /**
120
- * @generated from protobuf rpc: rtcAnswer(dht.RtcAnswer) returns (google.protobuf.Empty);
121
- */
122
- rtcAnswer(request: RtcAnswer, context: T): Promise<Empty>;
123
- /**
124
- * @generated from protobuf rpc: iceCandidate(dht.IceCandidate) returns (google.protobuf.Empty);
125
- */
126
- iceCandidate(request: IceCandidate, context: T): Promise<Empty>;
127
- }
128
- /**
129
- * @generated from protobuf service dht.ConnectionLockRpc
130
- */
131
- export interface IConnectionLockRpc<T = ServerCallContext> {
132
- /**
133
- * @generated from protobuf rpc: lockRequest(dht.LockRequest) returns (dht.LockResponse);
134
- */
135
- lockRequest(request: LockRequest, context: T): Promise<LockResponse>;
136
- /**
137
- * @generated from protobuf rpc: unlockRequest(dht.UnlockRequest) returns (google.protobuf.Empty);
138
- */
139
- unlockRequest(request: UnlockRequest, context: T): Promise<Empty>;
140
- /**
141
- * @generated from protobuf rpc: gracefulDisconnect(dht.DisconnectNotice) returns (google.protobuf.Empty);
142
- */
143
- gracefulDisconnect(request: DisconnectNotice, context: T): Promise<Empty>;
144
- }
145
- /**
146
- * @generated from protobuf service dht.ExternalApiRpc
147
- */
148
- export interface IExternalApiRpc<T = ServerCallContext> {
149
- /**
150
- * @generated from protobuf rpc: externalFetchData(dht.ExternalFetchDataRequest) returns (dht.ExternalFetchDataResponse);
151
- */
152
- externalFetchData(request: ExternalFetchDataRequest, context: T): Promise<ExternalFetchDataResponse>;
153
- /**
154
- * @generated from protobuf rpc: externalStoreData(dht.ExternalStoreDataRequest) returns (dht.ExternalStoreDataResponse);
155
- */
156
- externalStoreData(request: ExternalStoreDataRequest, context: T): Promise<ExternalStoreDataResponse>;
157
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=DhtRpc.server.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DhtRpc.server.js","sourceRoot":"","sources":["../../../../../../src/proto/packages/dht/protos/DhtRpc.server.ts"],"names":[],"mappings":""}
@@ -1,87 +0,0 @@
1
- import { MessageType } from "@protobuf-ts/runtime";
2
- import { Empty } from "../../../google/protobuf/empty";
3
- import { Any } from "../../../google/protobuf/any";
4
- /**
5
- * @generated from protobuf message protorpc.RpcMessage
6
- */
7
- export interface RpcMessage {
8
- /**
9
- * @generated from protobuf field: map<string, string> header = 1;
10
- */
11
- header: {
12
- [key: string]: string;
13
- };
14
- /**
15
- * @generated from protobuf field: google.protobuf.Any body = 2;
16
- */
17
- body?: Any;
18
- /**
19
- * @generated from protobuf field: string requestId = 3;
20
- */
21
- requestId: string;
22
- /**
23
- * @generated from protobuf field: optional protorpc.RpcErrorType errorType = 4;
24
- */
25
- errorType?: RpcErrorType;
26
- /**
27
- * @generated from protobuf field: optional string errorClassName = 5;
28
- */
29
- errorClassName?: string;
30
- /**
31
- * @generated from protobuf field: optional string errorCode = 6;
32
- */
33
- errorCode?: string;
34
- /**
35
- * @generated from protobuf field: optional string errorMessage = 7;
36
- */
37
- errorMessage?: string;
38
- }
39
- /**
40
- * @generated from protobuf message protorpc.Mnfo2uhnf92hvqi2nviouq2hv9puhq
41
- */
42
- export interface Mnfo2uhnf92hvqi2nviouq2hv9puhq {
43
- /**
44
- * @generated from protobuf field: google.protobuf.Empty empty = 1;
45
- */
46
- empty?: Empty;
47
- }
48
- /**
49
- * @generated from protobuf enum protorpc.RpcErrorType
50
- */
51
- export declare enum RpcErrorType {
52
- /**
53
- * @generated from protobuf enum value: SERVER_TIMEOUT = 0;
54
- */
55
- SERVER_TIMEOUT = 0,
56
- /**
57
- * @generated from protobuf enum value: CLIENT_TIMEOUT = 1;
58
- */
59
- CLIENT_TIMEOUT = 1,
60
- /**
61
- * @generated from protobuf enum value: UNKNOWN_RPC_METHOD = 2;
62
- */
63
- UNKNOWN_RPC_METHOD = 2,
64
- /**
65
- * @generated from protobuf enum value: CLIENT_ERROR = 3;
66
- */
67
- CLIENT_ERROR = 3,
68
- /**
69
- * @generated from protobuf enum value: SERVER_ERROR = 4;
70
- */
71
- SERVER_ERROR = 4
72
- }
73
- declare class RpcMessage$Type extends MessageType<RpcMessage> {
74
- constructor();
75
- }
76
- /**
77
- * @generated MessageType for protobuf message protorpc.RpcMessage
78
- */
79
- export declare const RpcMessage: RpcMessage$Type;
80
- declare class Mnfo2uhnf92hvqi2nviouq2hv9puhq$Type extends MessageType<Mnfo2uhnf92hvqi2nviouq2hv9puhq> {
81
- constructor();
82
- }
83
- /**
84
- * @generated MessageType for protobuf message protorpc.Mnfo2uhnf92hvqi2nviouq2hv9puhq
85
- */
86
- export declare const Mnfo2uhnf92hvqi2nviouq2hv9puhq: Mnfo2uhnf92hvqi2nviouq2hv9puhq$Type;
87
- export {};
@@ -1,66 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Mnfo2uhnf92hvqi2nviouq2hv9puhq = exports.RpcMessage = exports.RpcErrorType = void 0;
4
- // @generated by protobuf-ts 2.9.4 with parameter server_generic,generate_dependencies,long_type_number
5
- // @generated from protobuf file "packages/proto-rpc/protos/ProtoRpc.proto" (package "protorpc", syntax proto3)
6
- // tslint:disable
7
- const runtime_1 = require("@protobuf-ts/runtime");
8
- const empty_1 = require("../../../google/protobuf/empty");
9
- const any_1 = require("../../../google/protobuf/any");
10
- /**
11
- * @generated from protobuf enum protorpc.RpcErrorType
12
- */
13
- var RpcErrorType;
14
- (function (RpcErrorType) {
15
- /**
16
- * @generated from protobuf enum value: SERVER_TIMEOUT = 0;
17
- */
18
- RpcErrorType[RpcErrorType["SERVER_TIMEOUT"] = 0] = "SERVER_TIMEOUT";
19
- /**
20
- * @generated from protobuf enum value: CLIENT_TIMEOUT = 1;
21
- */
22
- RpcErrorType[RpcErrorType["CLIENT_TIMEOUT"] = 1] = "CLIENT_TIMEOUT";
23
- /**
24
- * @generated from protobuf enum value: UNKNOWN_RPC_METHOD = 2;
25
- */
26
- RpcErrorType[RpcErrorType["UNKNOWN_RPC_METHOD"] = 2] = "UNKNOWN_RPC_METHOD";
27
- /**
28
- * @generated from protobuf enum value: CLIENT_ERROR = 3;
29
- */
30
- RpcErrorType[RpcErrorType["CLIENT_ERROR"] = 3] = "CLIENT_ERROR";
31
- /**
32
- * @generated from protobuf enum value: SERVER_ERROR = 4;
33
- */
34
- RpcErrorType[RpcErrorType["SERVER_ERROR"] = 4] = "SERVER_ERROR";
35
- })(RpcErrorType || (exports.RpcErrorType = RpcErrorType = {}));
36
- // @generated message type with reflection information, may provide speed optimized methods
37
- class RpcMessage$Type extends runtime_1.MessageType {
38
- constructor() {
39
- super("protorpc.RpcMessage", [
40
- { no: 1, name: "header", kind: "map", K: 9 /*ScalarType.STRING*/, V: { kind: "scalar", T: 9 /*ScalarType.STRING*/ } },
41
- { no: 2, name: "body", kind: "message", T: () => any_1.Any },
42
- { no: 3, name: "requestId", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
43
- { no: 4, name: "errorType", kind: "enum", opt: true, T: () => ["protorpc.RpcErrorType", RpcErrorType] },
44
- { no: 5, name: "errorClassName", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
45
- { no: 6, name: "errorCode", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
46
- { no: 7, name: "errorMessage", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
47
- ]);
48
- }
49
- }
50
- /**
51
- * @generated MessageType for protobuf message protorpc.RpcMessage
52
- */
53
- exports.RpcMessage = new RpcMessage$Type();
54
- // @generated message type with reflection information, may provide speed optimized methods
55
- class Mnfo2uhnf92hvqi2nviouq2hv9puhq$Type extends runtime_1.MessageType {
56
- constructor() {
57
- super("protorpc.Mnfo2uhnf92hvqi2nviouq2hv9puhq", [
58
- { no: 1, name: "empty", kind: "message", T: () => empty_1.Empty }
59
- ]);
60
- }
61
- }
62
- /**
63
- * @generated MessageType for protobuf message protorpc.Mnfo2uhnf92hvqi2nviouq2hv9puhq
64
- */
65
- exports.Mnfo2uhnf92hvqi2nviouq2hv9puhq = new Mnfo2uhnf92hvqi2nviouq2hv9puhq$Type();
66
- //# sourceMappingURL=ProtoRpc.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ProtoRpc.js","sourceRoot":"","sources":["../../../../../../src/proto/packages/proto-rpc/protos/ProtoRpc.ts"],"names":[],"mappings":";;;AAAA,uGAAuG;AACvG,+GAA+G;AAC/G,iBAAiB;AACjB,kDAAmD;AACnD,0DAAuD;AACvD,sDAAmD;AAgDnD;;GAEG;AACH,IAAY,YAqBX;AArBD,WAAY,YAAY;IACpB;;OAEG;IACH,mEAAkB,CAAA;IAClB;;OAEG;IACH,mEAAkB,CAAA;IAClB;;OAEG;IACH,2EAAsB,CAAA;IACtB;;OAEG;IACH,+DAAgB,CAAA;IAChB;;OAEG;IACH,+DAAgB,CAAA;AACpB,CAAC,EArBW,YAAY,4BAAZ,YAAY,QAqBvB;AACD,2FAA2F;AAC3F,MAAM,eAA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AC;AAChD,2FAA2F;AAC3F,MAAM,mCAAoC,SAAQ,qBAA2C;IACzF;QACI,KAAK,CAAC,yCAAyC,EAAE;YAC7C,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,aAAK,EAAE;SAC5D,CAAC,CAAC;IACP,CAAC;CACJ;AACD;;GAEG;AACU,QAAA,8BAA8B,GAAG,IAAI,mCAAmC,EAAE,CAAC"}
@@ -1,39 +0,0 @@
1
- import { MessageType } from "@protobuf-ts/runtime";
2
- import { Any } from "./google/protobuf/any";
3
- /**
4
- * @generated from protobuf message tests.TestMessage
5
- */
6
- export interface TestMessage {
7
- /**
8
- * @generated from protobuf field: string messageId = 1;
9
- */
10
- messageId: string;
11
- /**
12
- * @generated from protobuf field: google.protobuf.Any body = 2;
13
- */
14
- body?: Any;
15
- }
16
- /**
17
- * @generated from protobuf message tests.SomeMessage
18
- */
19
- export interface SomeMessage {
20
- /**
21
- * @generated from protobuf field: string juttu = 1;
22
- */
23
- juttu: string;
24
- }
25
- declare class TestMessage$Type extends MessageType<TestMessage> {
26
- constructor();
27
- }
28
- /**
29
- * @generated MessageType for protobuf message tests.TestMessage
30
- */
31
- export declare const TestMessage: TestMessage$Type;
32
- declare class SomeMessage$Type extends MessageType<SomeMessage> {
33
- constructor();
34
- }
35
- /**
36
- * @generated MessageType for protobuf message tests.SomeMessage
37
- */
38
- export declare const SomeMessage: SomeMessage$Type;
39
- export {};
@@ -1,34 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SomeMessage = exports.TestMessage = void 0;
4
- // @generated by protobuf-ts 2.8.0 with parameter server_generic,generate_dependencies
5
- // @generated from protobuf file "tests.proto" (package "tests", syntax proto3)
6
- // tslint:disable
7
- const runtime_1 = require("@protobuf-ts/runtime");
8
- const any_1 = require("./google/protobuf/any");
9
- // @generated message type with reflection information, may provide speed optimized methods
10
- class TestMessage$Type extends runtime_1.MessageType {
11
- constructor() {
12
- super("tests.TestMessage", [
13
- { no: 1, name: "messageId", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
14
- { no: 2, name: "body", kind: "message", T: () => any_1.Any }
15
- ]);
16
- }
17
- }
18
- /**
19
- * @generated MessageType for protobuf message tests.TestMessage
20
- */
21
- exports.TestMessage = new TestMessage$Type();
22
- // @generated message type with reflection information, may provide speed optimized methods
23
- class SomeMessage$Type extends runtime_1.MessageType {
24
- constructor() {
25
- super("tests.SomeMessage", [
26
- { no: 1, name: "juttu", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
27
- ]);
28
- }
29
- }
30
- /**
31
- * @generated MessageType for protobuf message tests.SomeMessage
32
- */
33
- exports.SomeMessage = new SomeMessage$Type();
34
- //# sourceMappingURL=tests.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tests.js","sourceRoot":"","sources":["../../../src/proto/tests.ts"],"names":[],"mappings":";;;AAAA,sFAAsF;AACtF,+EAA+E;AAC/E,iBAAiB;AACjB,kDAAmD;AACnD,+CAA4C;AAuB5C,2FAA2F;AAC3F,MAAM,gBAAiB,SAAQ,qBAAwB;IACnD;QACI,KAAK,CAAC,mBAAmB,EAAE;YACvB,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,EAAE,CAAC,CAAC,qBAAqB,EAAE;YACxE,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,SAAG,EAAE;SACzD,CAAC,CAAC;IACP,CAAC;CACJ;AACD;;GAEG;AACU,QAAA,WAAW,GAAG,IAAI,gBAAgB,EAAE,CAAC;AAClD,2FAA2F;AAC3F,MAAM,gBAAiB,SAAQ,qBAAwB;IACnD;QACI,KAAK,CAAC,mBAAmB,EAAE;YACvB,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,EAAE,CAAC,CAAC,qBAAqB,EAAE;SACvE,CAAC,CAAC;IACP,CAAC;CACJ;AACD;;GAEG;AACU,QAAA,WAAW,GAAG,IAAI,gBAAgB,EAAE,CAAC"}
package/jest.config.js DELETED
@@ -1,5 +0,0 @@
1
- const rootConfig = require('../../jest.config')
2
- module.exports = {
3
- ...rootConfig,
4
- setupFilesAfterEnv: rootConfig.setupFilesAfterEnv.concat('./test/utils/customMatchers.ts')
5
- }