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!: rename package from @waku/create to @waku/sdk #1386

Merged
merged 9 commits into from
Jun 5, 2023
Merged

Conversation

danisharora099
Copy link
Collaborator

@danisharora099 danisharora099 commented May 30, 2023

Problem

#1353

Solution

  1. Rename the @waku/create package to @waku/sdk
  2. Proxy functions from @waku/core and @waku/utils so that all js-waku examples can be purely done by installing and importing from @waku/sdk

Notes / Future TODOs (pending release)

@github-actions
Copy link

github-actions bot commented May 30, 2023

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
Waku core 29.45 KB (0%) 589 ms (0%) 531 ms (+25.86% 🔺) 1.2 s
Waku default setup 0 B (-100% 🔽) 0 ms (-100% 🔽) 0 ms (-100% 🔽) 0 ms
ECIES encryption 28.54 KB (0%) 571 ms (0%) 410 ms (+27.96% 🔺) 981 ms
Symmetric encryption 28.55 KB (0%) 572 ms (0%) 739 ms (+57.49% 🔺) 1.4 s
DNS discovery 108.46 KB (0%) 2.2 s (0%) 779 ms (+12.86% 🔺) 3 s
Privacy preserving protocols 135.2 KB (0%) 2.8 s (0%) 1.1 s (+11.91% 🔺) 3.8 s
Light protocols 31.5 KB (0%) 631 ms (0%) 374 ms (-11.63% 🔽) 1.1 s
History retrieval protocols 30.12 KB (0%) 603 ms (0%) 355 ms (-19.22% 🔽) 958 ms
Deterministic Message Hashing 5.78 KB (0%) 116 ms (0%) 167 ms (-6.39% 🔽) 283 ms
Waku Simple Light Node 296.99 KB (+100% 🔺) 6 s (+100% 🔺) 2.2 s (+100% 🔺) 8.1 s

@danisharora099 danisharora099 requested a review from LordGhostX May 30, 2023 12:00
@danisharora099 danisharora099 changed the title feat!(@waku/sdk): rename package from @waku/create to @waku/sdk feat!: rename package from @waku/create to @waku/sdk May 30, 2023
@danisharora099 danisharora099 marked this pull request as ready for review May 30, 2023 12:00
.size-limit.cjs Outdated Show resolved Hide resolved
Copy link
Collaborator

Choose a reason for hiding this comment

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

I hope release please will handle the git label change properly...

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

cc @weboko

"version": "0.0.14",
"description": "Easily create a Waku node",
"name": "@waku/sdk",
"version": "0.0.15",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Hum, so the idea is to manual release after this PR is merged? Sounds good, let's be sure you then tell release please to start from this version.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

cc @weboko

Copy link
Collaborator

@weboko weboko Jun 5, 2023

Choose a reason for hiding this comment

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

This one requires us to remove @waku/create from release-please files and add @waku/sdk to the list of packages being tracked and to manually set next version.

After release of this package happens we need to remove forced version of sdk package`.

packages/sdk/package.json Show resolved Hide resolved
packages/sdk/src/index.ts Show resolved Hide resolved
@danisharora099 danisharora099 requested a review from weboko June 3, 2023 09:12
.size-limit.cjs Outdated Show resolved Hide resolved
weboko and others added 3 commits June 5, 2023 13:06
Co-authored-by: fryorcraken.eth <110212804+fryorcraken@users.noreply.github.com>
@weboko weboko merged commit 951ebda into master Jun 5, 2023
@weboko weboko deleted the feat/waku-sdk branch June 5, 2023 11:40
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.

3 participants