mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
18181f892e
* refactor(shared)!: standardize id and secret generators * refactor: fix tests
544 B
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
andgenerateStandardShortId
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