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

Export SIWE #35

Merged
merged 4 commits into from Dec 7, 2022
Merged

Export SIWE #35

merged 4 commits into from Dec 7, 2022

Conversation

skgbafa
Copy link
Contributor

@skgbafa skgbafa commented Dec 7, 2022

Description

This PR exports the SiweMessage class from siwe as part of ssx and ssx-server. This is done as these packages can be used together commonly and was done to reduce dependencies

Type

  • New feature (non-breaking change which adds functionality)

Diligence Checklist

  • I have performed a self-review of my code
  • My changes generate no new warnings

@codecov-commenter
Copy link

Codecov Report

Base: 72.75% // Head: 72.77% // Increases project coverage by +0.02% 🎉

Coverage data is based on head (248666f) compared to base (745e1dd).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #35      +/-   ##
==========================================
+ Coverage   72.75%   72.77%   +0.02%     
==========================================
  Files          22       22              
  Lines        2679     2681       +2     
  Branches      173      173              
==========================================
+ Hits         1949     1951       +2     
  Misses        730      730              
Impacted Files Coverage Δ
packages/ssx-sdk/src/index.ts 100.00% <100.00%> (ø)
packages/ssx-server/src/index.ts 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@skgbafa skgbafa merged commit c66f308 into spruceid:main Dec 7, 2022
@skgbafa skgbafa deleted the feat/export-siwe branch December 7, 2022 17:10
skgbafa added a commit to skgbafa/ssx that referenced this pull request Dec 8, 2022
* added siwe export

* added changeset changelog

* lint
skgbafa added a commit that referenced this pull request Dec 8, 2022
* Connect to only unconnected wallets (#12)

* detect if account is already connected before prompting to connect

* add changeset

* bumped ssx to 0.1.1 (#18)

* SSX Public Release (#25)

* bring lockfile up to date

* Major bump all packages for public release

* Major bump for public release of SSX

* remove duplicate changelogs

* Create ssx-core and improve code quality (#26)

* Create ssx-core package, populate and update other packages

* Create a main  file to be extended by packages

* Optimize use of try/catch

* Update serverless example login return and make ssx-test-dapp compatible

* Add backwards types compatibility

* Add changelogs

* Add deprecation tags

* Update changelog

* Improve ssx-core docs

* Improve ssx-gnosis-extension's docs

* Improve ssx-react's docs

* Improve ssx-sdk's docs

* Improve ssx-server's docs

* Improve ssx-serverless's docs

* General docs updates

* added support for documentation generation to ssx-core + supporting script

* connect types from ssx-core to relying packages in documentation

* moved eslint config to monorepo

* airbnb-base rules update

* update lint dependencies

* moved .prettierrc to monorepo

* use monorepo eslint

* specify exported files

* Return after middleware response

Co-authored-by: Gregório Granado Magalhães <greg.magalhaes@gmail.com>

* Return response from middleware

Co-authored-by: Sam Gbafa <skgbafa@gmail.com>

* Remove console.error

Co-authored-by: Sam Gbafa <skgbafa@gmail.com>

* Remove console.error

Co-authored-by: Sam Gbafa <skgbafa@gmail.com>

* Remove redundant files

* Remove .npmignore

Co-authored-by: Samuel Gbafa <skgbafa@gmail.com>
Co-authored-by: Gregório Granado Magalhães <greg.magalhaes@gmail.com>

* Util: Toggle Local vs Published package version (#28)

* add initial script

* added write packages

* script working

* script cleanup

* added instructions + cleanup

* usage instructions

* Apply suggestions from code review

Co-authored-by: Juliano <julianocezargyn@hotmail.com>

Co-authored-by: Juliano <julianocezargyn@hotmail.com>

* Setup jest and add some tests (#27)

* Remove duplicated dependency

* Bump version

* Jest initial config

* Jest config

* Add base tests for all packages

* Test GH action and coverage badge

* Remove test from builld

* Fix coverage command

* Get coverage from sed

* Add tests

* Testing broken test

* Move test command out of echo

* Fix test and update build action

* Move to codecov

* Update CI

* Remove badge from template

* Remove extra action and consolidate under build

* Update coverage badge

Co-authored-by: Juliano <julianocezargyn@hotmail.com>
Co-authored-by: Sam Gbafa <skgbafa@gmail.com>

* Update ssxConfig (#32)

* Update ssxConfig

* whitespace

* SSX Server Tests (#30)

* Remove duplicated dependency

* Bump version

* Jest initial config

* Jest config

* Add base tests for all packages

* Test GH action and coverage badge

* Remove test from builld

* Fix coverage command

* Get coverage from sed

* Add tests

* Testing broken test

* Move test command out of echo

* Fix test and update build action

* Move to codecov

* Update CI

* Remove badge from template

* Remove extra action and consolidate under build

* Update coverage badge

* Add tests to ssx-server

* Add express middleware tests

* Add http middleware tests

Co-authored-by: Juliano <juliano.cezar@spruceid.com>

* SSX Serverless Tests (#33)

* Add tests to ssx-serverless

* Update resolveEns test timeout

* SSX Core Tests (#31)

* Add tests to ssx-core

* Add tests to ssx-core server utils

* Mock axios

* Export SIWE (#35)

* added siwe export

* added changeset changelog

* lint

* SSX React: Add additional provider options (#34)

* add additional provider options

* wagmi react example moved to use new api

* added onboard react dapp

* updated example dapp names

* lint

* linter

* added changeset changelog

* renamed packages to match folder

* improved getting started documentation

* remove lockfiles from example

* remove extra files

* Enable custom paths for endpoints (#36)

* Updates interfaces to support custom endpoints

* Updates ssx-sdk to accept an endpoint config

* Updates ssx-server middlewares to customize endpoints

* Add changelog

* Add tests

* Renames 'endpoints' to 'routes' and updates tests

Co-authored-by: Sam Gbafa <skgbafa@gmail.com>

* Run Linter Changes (#37)

* linter updates

* fix name

* Fix Dependabot Warnings (#41)

* remove package

* dependabot suggestions

* Bump simple-git from 3.14.1 to 3.15.1

* Bump decode-uri-component from 0.2.0 to 0.2.2

* ensure correct version resolved

* update parent of bad tar@2.0.0 dep

* SSX v1.1.0 (#38)

* run changeset version

* update dependency versions

* updated changelogs

* update ssx-serverless changelog

* update package version

* changelog update

* use correct versions in changelogs

* rerun documentation

Co-authored-by: Juliano <juliano.cezar@spruceid.com>
Co-authored-by: Gregório Granado Magalhães <greg.magalhaes@gmail.com>
Co-authored-by: Juliano <julianocezargyn@hotmail.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.

None yet

4 participants