mirror of
https://github.com/logos-messaging/nim-chat-poc.git
synced 2026-01-07 16:43:06 +00:00
Rename module from chat_sdk to chat
This commit is contained in:
parent
c6e03686fe
commit
5c134a5d13
@ -2,11 +2,11 @@ import chronicles
|
|||||||
import chronos
|
import chronos
|
||||||
import strformat
|
import strformat
|
||||||
|
|
||||||
import chat_sdk
|
import chat
|
||||||
import content_types
|
import content_types
|
||||||
|
|
||||||
# TEsting
|
# TEsting
|
||||||
import ../src/chat_sdk/crypto
|
import ../src/chat/crypto
|
||||||
|
|
||||||
|
|
||||||
proc getContent(content: ContentFrame): string =
|
proc getContent(content: ContentFrame): string =
|
||||||
|
|||||||
@ -12,9 +12,9 @@ import strformat
|
|||||||
import strutils
|
import strutils
|
||||||
import tables
|
import tables
|
||||||
|
|
||||||
import chat_sdk/crypto/ecdh
|
import chat/crypto/ecdh
|
||||||
import chat_sdk/delivery/waku_client
|
import chat/delivery/waku_client
|
||||||
import chat_sdk/identity
|
import chat/identity
|
||||||
|
|
||||||
|
|
||||||
const REGISTRATION_DIR = ".registry"
|
const REGISTRATION_DIR = ".registry"
|
||||||
|
|||||||
@ -10,7 +10,7 @@ import strutils
|
|||||||
import sugar
|
import sugar
|
||||||
import tables
|
import tables
|
||||||
|
|
||||||
import chat_sdk
|
import chat
|
||||||
import content_types/all
|
import content_types/all
|
||||||
|
|
||||||
import layout
|
import layout
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import chat_sdk/[
|
import chat/[
|
||||||
client,
|
client,
|
||||||
crypto,
|
crypto,
|
||||||
conversations,
|
conversations,
|
||||||
@ -6,7 +6,7 @@ import protobuf_serialization/proto_parser
|
|||||||
import results
|
import results
|
||||||
import strformat
|
import strformat
|
||||||
|
|
||||||
import ../chat_sdk/proto_types
|
import ../chat/proto_types
|
||||||
|
|
||||||
|
|
||||||
export protobuf_serialization
|
export protobuf_serialization
|
||||||
|
|||||||
@ -1,8 +1,8 @@
|
|||||||
import results
|
import results
|
||||||
import unittest
|
import unittest
|
||||||
|
|
||||||
import ../src/chat_sdk/crypto/ecdh # TODO use config.nims
|
import ../src/chat/crypto/ecdh # TODO use config.nims
|
||||||
import ../src/chat_sdk/utils
|
import ../src/chat/utils
|
||||||
|
|
||||||
# Key share test from RFC-7748:
|
# Key share test from RFC-7748:
|
||||||
const ks7748_a_priv = "77076d0a7318a57d3c16c17251b26645df4c2f87ebc0992ab177fba51db92c2a"
|
const ks7748_a_priv = "77076d0a7318a57d3c16c17251b26645df4c2f87ebc0992ab177fba51db92c2a"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user