Skip to content

Conversation

@jlm0
Copy link
Contributor

@jlm0 jlm0 commented May 14, 2024

Add new type that Omits isOpen and capsule keys from CapsuleModalV2Props inline with the wagmi v1 and v2 changes made to omit the same keys from CapsuleModalProps.

PLEASE NOTE- Checklist must be complete prior to review.

Checklist

  • Increment the version field in package.json of the package you have made changes in following semantic versioning and using alpha release tagging
  • Check the box that allows repo maintainers to update this PR
  • Test locally to make sure this feature/fix works
  • Run yarn check-all to confirm there are not any associated errors
  • Confirm this PR passes Circle CI checks
  • Add or update relevant information in the documentation

Docs Checklist

  • Include a screenshot of any changes (see docs README on running locally)
  • Add/update the appropriate package README (if applicable)
  • Add/update the related module in the docs demo (if applicable)
  • Add/update the related package in the docs/package.json file (if applicable)

If this PR includes changes to add an injected wallet or SDK wallet module:

Please complete the following using the internal demo package.
To run this demo use the command yarn && yarn dev to get the project running at http://localhost:8080/

Tests with demo app (injected)

  • send transaction
  • switch chains
  • sign message
  • sign typed message
  • disconnect

Tests with demo app (SDK)

  • send transaction
  • switch chains
  • sign message
  • sign typed message
  • disconnect

Add new type that Omits `isOpen` and `capsule` keys from `CapsuleModalV2Props` inline with the wagmi v1 and v2 changes made to omit the same keys from `CapsuleModalProps`.
Introduces new label type for the CapsuleInitOptions allowing for override of the default labe/icon for client customization.
@socket-security
Copy link

socket-security bot commented May 17, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@algolia/[email protected] None +5 258 kB shortcuts
npm/@babel/[email protected] None 0 23.3 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 64.6 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 52 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 31.6 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 11.7 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 18.4 kB nicolo-ribaudo
npm/@babel/[email protected] None 0 1.89 MB nicolo-ribaudo
npm/@babel/[email protected] None 0 247 kB nicolo-ribaudo
npm/@babel/[email protected] environment 0 2.41 MB nicolo-ribaudo
npm/@cosmjs/[email protected] None +1 227 kB webmaster128
npm/@cosmjs/[email protected] None 0 139 kB webmaster128
npm/@cosmjs/[email protected] None 0 24.6 kB webmaster128
npm/@cosmjs/[email protected] None 0 36.8 kB webmaster128
npm/@cosmjs/[email protected] None 0 80 kB webmaster128
npm/@cosmjs/[email protected] None 0 30.4 kB webmaster128
npm/@cosmjs/[email protected] network Transitive: environment +3 744 kB webmaster128
npm/@cosmjs/[email protected] None 0 14.5 kB webmaster128
npm/@docsearch/[email protected] None 0 27.9 kB shortcuts
npm/@docsearch/[email protected] Transitive: environment +4 2.12 MB shortcuts
npm/@ethereumjs/[email protected] None 0 2.53 MB holgerd77
npm/@ethereumjs/[email protected] None 0 431 kB holgerd77
npm/@iconify-json/[email protected] None 0 859 kB cyberalien
npm/@iconify/[email protected] None 0 25.7 kB cyberalien
npm/@jridgewell/[email protected] None +2 259 kB jridgewell
npm/@metamask/[email protected] environment 0 3.04 MB metamaskbot
npm/@metamask/[email protected] None 0 548 kB metamaskbot
npm/@metamask/[email protected] Transitive: network +13 34.3 MB metamaskbot
npm/@ngraveio/[email protected] None +1 138 kB antwnic4
npm/@noble/[email protected] None 0 1.35 MB paulmillr
npm/@noble/[email protected] None 0 747 kB paulmillr
npm/@protobufjs/[email protected] None 0 9.05 kB dcode
npm/@safe-global/[email protected] None 0 33 kB dasanra
npm/@safe-global/[email protected] None +1 242 kB dasanra
npm/@scure/[email protected] None 0 80.4 kB paulmillr
npm/@shapeshiftoss/[email protected] None +3 11.6 MB shapeshift-ci-bot
npm/@solana/[email protected] environment, eval, network +1 11.4 MB buffalojoec
npm/@sveltejs/[email protected] environment 0 8.21 kB svelte-admin
npm/@sveltejs/[email protected] environment, eval +2 810 kB svelte-admin
npm/@svelteness/[email protected] Transitive: filesystem, network +2 17 MB mihar-22
npm/@tailwindcss/[email protected] None 0 86.7 kB bradlc
npm/@toruslabs/[email protected] network +3 9.29 MB chaitanyapotti
npm/@toruslabs/[email protected] None 0 47.9 kB chaitanyapotti
npm/@toruslabs/[email protected] Transitive: environment +6 2.39 MB chaitanyapotti

🚮 Removed packages: npm/[email protected], npm/@0xpass/[email protected], npm/@0xpass/[email protected], npm/@0xpass/[email protected], npm/@0xpass/[email protected], npm/@adraffy/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@blocto/[email protected], npm/@blocto/[email protected], npm/@chainsafe/[email protected], npm/@chainsafe/[email protected], npm/@chainsafe/[email protected], npm/@coinbase/[email protected], npm/@cspotcode/[email protected], npm/@cspotcode/[email protected], npm/@discoveryjs/[email protected], npm/@emotion/[email protected], npm/@eslint/[email protected], npm/@ethereumjs/[email protected], npm/@ethereumjs/[email protected], npm/@ethereumjs/[email protected], npm/@ethersproject/[email protected], npm/@ethersproject/[email protected], npm/@ethersproject/[email protected], npm/@ethersproject/[email protected], npm/@ethersproject/[email protected], npm/@ethersproject/[email protected], npm/@ethersproject/[email protected], npm/@ethersproject/[email protected], npm/@ethersproject/[email protected], npm/@ethersproject/[email protected], npm/@ethersproject/[email protected], npm/@ethersproject/[email protected], npm/@ethersproject/[email protected], npm/@ethersproject/[email protected], npm/@ethersproject/[email protected], npm/@ethersproject/[email protected], npm/@ethersproject/[email protected], npm/@ethersproject/[email protected], npm/@formatjs/[email protected], npm/@formatjs/[email protected], npm/@humanwhocodes/[email protected], npm/@jridgewell/[email protected], npm/@jridgewell/[email protected], npm/@keepkey/[email protected], npm/@lit-labs/[email protected], npm/@magic-sdk/[email protected], npm/@magic-sdk/[email protected], npm/@magic-sdk/[email protected], npm/@metamask/[email protected], npm/@metamask/[email protected], npm/@metamask/[email protected], npm/@web3-onboard/[email protected], npm/@web3-onboard/[email protected], npm/@web3-onboard/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected]

View full report↗︎

@jlm0 jlm0 requested a review from Adamj1232 May 20, 2024 13:16
@jlm0
Copy link
Contributor Author

jlm0 commented May 20, 2024

@Adamj1232 Made the package version changes. We also decided on making an additional prop Type change for our module. Thanks!

@socket-security
Copy link

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteSource
Install scripts npm/[email protected]
  • Install script: install
  • Source: npm run rebuild || echo "Keccak bindings compilation fail. Pure JS implementation will be used."
Install scripts npm/@sveltejs/[email protected]
  • Install script: postinstall
  • Source: node postinstall.js

View full report↗︎

Next steps

What is an install script?

Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.

Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/[email protected] or ignore all packages with @SocketSecurity ignore-all

@Adamj1232 Adamj1232 merged commit 1566599 into thirdweb-dev:develop May 21, 2024
@jlm0 jlm0 deleted the CPSL-1578-Update-Prop-Type branch June 5, 2024 16:52
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