0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00
logto/.changeset/proud-donuts-check.md
Gao Sun 18181f892e
refactor(shared)!: standardize id and secret generators (#4550)
* refactor(shared)!: standardize id and secret generators

* refactor: fix tests
2023-09-22 13:43:56 +08:00

544 B

@logto/shared @logto/console @logto/schemas @logto/core @logto/cli
major patch patch patch patch

standardize id and secret generators

  • Remove buildIdGenerator export from @logto/shared
  • Add generateStandardSecret and generateStandardShortId exports to @logto/shared
  • Align comment and implementation of buildIdGenerator in @logto/shared
    • The comment stated the function will include uppercase letters by default, but it did not; Now it does.
  • Use generateStandardSecret for all secret generation