Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: move constants & core's func to @waku/utils #1340

Merged
merged 1 commit into from
May 10, 2023

Conversation

fryorcraken
Copy link
Collaborator

Cc @danisharora099 , constants do not need to remain in core

@github-actions
Copy link

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
Waku core 28.74 KB (0%) 575 ms (0%) 515 ms (+68.92% 🔺) 1.1 s
Waku default setup 313.11 KB (+0.01% 🔺) 6.3 s (+0.01% 🔺) 1.8 s (+8.11% 🔺) 8.1 s
ECIES encryption 28.04 KB (0%) 561 ms (0%) 424 ms (+31.44% 🔺) 985 ms
Symmetric encryption 28.04 KB (0%) 561 ms (0%) 418 ms (+108.89% 🔺) 978 ms
DNS discovery 108.22 KB (0%) 2.2 s (0%) 1.1 s (-2.45% 🔽) 3.2 s
Privacy preserving protocols 127.17 KB (+0.01% 🔺) 2.6 s (+0.01% 🔺) 1.2 s (+12.37% 🔺) 3.8 s
Light protocols 29.67 KB (+0.01% 🔺) 594 ms (+0.01% 🔺) 270 ms (-33.43% 🔽) 863 ms
History retrieval protocols 29.61 KB (0%) 593 ms (0%) 251 ms (-29.35% 🔽) 843 ms
Deterministic Message Hashing 5.78 KB (0%) 116 ms (0%) 73 ms (-40% 🔽) 188 ms

@danisharora099 danisharora099 changed the title move constants & core's func to @waku/utils feat: move constants & core's func to @waku/utils May 10, 2023
@danisharora099 danisharora099 marked this pull request as ready for review May 10, 2023 14:14
Copy link
Collaborator

@danisharora099 danisharora099 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gotcha. thanks for the PR!

Copy link
Collaborator

@danisharora099 danisharora099 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gotcha. thanks for the PR!

@danisharora099 danisharora099 merged commit d73bcf8 into feat/relay-package May 10, 2023
@danisharora099 danisharora099 deleted the feat/relay-package-constants branch May 10, 2023 14:14
danisharora099 added a commit that referenced this pull request May 11, 2023
* move constants & core's func to @waku/utils

* setup @waku/relay

* use @waku/relay for create

* address: principal review

* fix: size-limit

* move all constants to @waku/core

* move TopicOnlyDecoder to relay

* merge: master

* fix: tests

* Move constants out of core (#1340)

* update package.lock

* change constants folder into a ts file

* use dependency version as * instead of version number

* add constants import from @waku/core

* add empty changelog file for relay

---------

Co-authored-by: fryorcraken.eth <110212804+fryorcraken@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants