Skip to content

Phone Utils Package #8997

Merged
aaronmgdr merged 6 commits intomasterfrom
aaronmgdr/phone-utils2
Dec 2, 2021
Merged

Phone Utils Package #8997
aaronmgdr merged 6 commits intomasterfrom
aaronmgdr/phone-utils2

Conversation

@aaronmgdr
Copy link
Copy Markdown
Contributor

@aaronmgdr aaronmgdr commented Nov 19, 2021

Description

Moves PhoneNumberUtils and countries.ts, and part of io.ts to this new phone-utils package. the pupose of which is t house functions that depend on the heavey libraries of google-libphonenumber and country-data.js. which are only needed for certain applications but which greatly increase the bundle sizes.

Plan

  1. merge in the new phone-utils packages
  2. publish the package
  3. move references in monorepo for functions now in phone-utils, to use phone-utils not utils package. (see Breakup Utils Package (Breaking change) #8987 for how that will affect things)
  4. remove files from utils package and update sdks to version 2

Other changes

Tested

includes tests from previous.

Related issues

Backwards compatibility

While this Change is backwards compatible. When we remove the functions that are in this package from @celo/utils that will be a breaking change.

Documentation

Im un clear on what is needed for this.

Copy link
Copy Markdown
Contributor

@dckesler dckesler left a comment

Choose a reason for hiding this comment

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

LGTM

@aaronmgdr aaronmgdr merged commit 754b286 into master Dec 2, 2021
@aaronmgdr aaronmgdr deleted the aaronmgdr/phone-utils2 branch August 16, 2023 17:50
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.

Break up Utils Package

2 participants