Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples/pingpong.nim
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ import chronicles
import chronos
import strformat

import chat_sdk
import chat
import content_types

# TEsting
import ../src/chat_sdk/crypto
import ../src/chat/crypto


proc getContent(content: ContentFrame): string =
Expand Down
6 changes: 3 additions & 3 deletions examples/tui/persistence.nim
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import strformat
import strutils
import tables

import chat_sdk/crypto/ecdh
import chat_sdk/delivery/waku_client
import chat_sdk/identity
import chat/crypto/ecdh
import chat/delivery/waku_client
import chat/identity


const REGISTRATION_DIR = ".registry"
Expand Down
2 changes: 1 addition & 1 deletion examples/tui/tui.nim
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import strutils
import sugar
import tables

import chat_sdk
import chat
import content_types/all

import layout
Expand Down
2 changes: 1 addition & 1 deletion src/chat_sdk.nim → src/chat.nim
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import chat_sdk/[
import chat/[
client,
crypto,
conversations,
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/content_types/all.nim
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import protobuf_serialization/proto_parser
import results
import strformat

import ../chat_sdk/proto_types
import ../chat/proto_types


export protobuf_serialization
Expand Down
4 changes: 2 additions & 2 deletions tests/test_curve25519.nim
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import results
import unittest

import ../src/chat_sdk/crypto/ecdh # TODO use config.nims
import ../src/chat_sdk/utils
import ../src/chat/crypto/ecdh # TODO use config.nims
import ../src/chat/utils

# Key share test from RFC-7748:
const ks7748_a_priv = "77076d0a7318a57d3c16c17251b26645df4c2f87ebc0992ab177fba51db92c2a"
Expand Down