2023-02-10 09:43:16 +00:00
|
|
|
when (NimMajor, NimMinor) < (1, 4):
|
|
|
|
{.push raises: [Defect].}
|
|
|
|
else:
|
|
|
|
{.push raises: [].}
|
|
|
|
|
|
|
|
import
|
|
|
|
std/[os, strutils],
|
|
|
|
json_rpc/rpcclient
|
|
|
|
import
|
2023-04-19 11:29:23 +00:00
|
|
|
../../../waku_core,
|
2023-08-07 14:11:46 +00:00
|
|
|
../message
|
2023-02-10 09:43:16 +00:00
|
|
|
|
2023-08-07 14:11:46 +00:00
|
|
|
export message
|
2023-02-10 09:43:16 +00:00
|
|
|
|
|
|
|
template sourceDir: string = currentSourcePath.rsplit(DirSep, 1)[0]
|
|
|
|
|
|
|
|
createRpcSigs(RpcHttpClient, sourceDir / "callsigs.nim")
|