Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(module augmentations): augment umi module directly #6

Merged
merged 1 commit into from
Apr 8, 2024

Conversation

shotgunofdeath
Copy link
Contributor

Description

The Umi interface is augmented directly in its module file.

Supposably it should fix problems with nested module augmentations. The problem appears when this DAS client is a peer dependency of some other package/client which also tries to augment the same thing, the Umi interface in this case. This leads to module override rather than augmentation and the Umi interface loses its original properties such as payer, identity, programs etc.

P.S. It should be published as an alpha version (or use any other approach) to prevent people from updating right away and have some time to test it.

@shotgunofdeath shotgunofdeath merged commit a484d3a into main Apr 8, 2024
2 of 4 checks passed
@shotgunofdeath shotgunofdeath deleted the feat/umi-augmentation branch April 8, 2024 07:45
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