Ubeswap / ubeswap-interface

🍠 An open source interface for the Ubeswap protocol
https://app.ubeswap.org
GNU General Public License v3.0
36 stars 54 forks source link

build(deps): bump @celo/utils from 1.5.2 to 3.0.1 #639

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps @celo/utils from 1.5.2 to 3.0.1.

Release notes

Sourced from @​celo/utils's releases.

ODIS 2.0.0

@​oblivious-decentralized-identifier-service-2.0.0

ODIS 2.0.0 is a complete refactor of ODIS that adds support for

  • The CIP40 API and PEAR Account Recovery protocol.
  • Improved rate limiting via OdisPayments.sol to support the Federated Attestations Identity protocol (CIP51)
  • Multiple key versions, to enable future key rotations and enhanced security

ODIS signers should upgrade to us.gcr.io/celo-testnet/celo-monorepo:oblivious-decentralized-identifier-service-2.0.0

Before upgrading

  1. Please ensure that your key shares are named correctly in your keyvault prior to upgrading your signer. The original bls share should be named phoneNumberPrivacy-1 and the more recent version of that key share (generated during the resharing ceremony on 10/22/21) should be labeled phoneNumberPrivacy-2. The CIP40 key share generated during the DKG ceremony on 10/22/21 should be named domains-1. Please do not delete or rename any existing shares, but rather add the shares to your vault as duplicates under these new names. If you are unsure for any reason about how to label your key shares please reach out on Discord.
  2. Please ensure that you have set the following environment variables to true in order to enable all APIs (See Signer README for more info) LEGACY_PHONE_NUMBER_PRIVACY_API_ENABLED PHONE_NUMBER_PRIVACY_API_ENABLED DOMAINS_API_ENABLED

After upgrading

  1. Please checkout celo-monorepo on master and follow the Validating before going live instructions in the Signer README to test that your service is configured properly. If you encounter difficulties or would like further guidance, don't hesitate to reach out on Discord.
  2. Please post in the Discord channel once your upgraded service is live and passing the configuration tests.

@​phone-number-privacy-common 2.0.0

New Features

Support for ODIS 2.0.0, including new types, enums, error messages, and more. From now on, request and response types should be imported directly from this package instead of the identity SDK when directly querying ODIS, or else using the convenience query methods in the identity SDK.

Fixes

  • Removes blind-threshold-bls dependency to allow for browser compatibility.
  • Removes btoa dependency.

Breaking Changes

  • This is a major release and is not backwards compatible for use with ODIS v1.
  • The previous quota logic is still (initially) available in ODIS 2.0 and is referred to as the "legacy PNP" (LEGACY_PNP) throughout the code base and SDKs. We encourage folks to upgrade to the new and improved PNP endpoint, as the legacy endpoint will eventually be deprecated.

Upgrades

  • (devDependency) @celo/poprf from ^0.1.6 to ^0.1.9
  • celo SDK dependencies and ContractKit from 2.2.1 to 3.0.0

ContractKit SDKs v3.0.0

New Features

This release provides SDK support for querying ODIS 2.0.0, including the new ODIS quota endpoints. Changes are primarily in the @celo/identity SDK.

Breaking Changes

@​celo/identity

  • It is no longer possible to query ODIS v1 in this version. Note that the previous quota calculation logic is still available under the "legacy PNP" endpoint in ODIS 2.0.0 (initially). We encourage upgrading to the new and improved PNP endpoint, as the legacy endpoint will eventually be deprecated.
    • Underlying ODIS service URL has been updated.
  • Several function signatures have changed, notably:
    • getPhoneNumberIdentifier: new required parameters -- existing function calls must be updated.
    • queryOdis: new required parameters -- existing function calls must be updated.
    • getBlindedPhoneNumberSignature: optional parameters have changed -- existing function calls should be reviewed and possibly updated.
  • Request and response types must now be imported directly from @phone-number-privacy-common.
  • Code related to ODIS matchmaking, including OdisUtils.Matchmaking, has been removed.

Other

... (truncated)

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
ubeswap-interface ✅ Ready (Inspect) Visit Preview Dec 20, 2022 at 11:39PM (UTC)
dependabot[bot] commented 1 year ago

Superseded by #658.