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

Dynamically import crypto-specific packages #232

Merged
merged 1 commit into from
Oct 7, 2023

Conversation

SebastienGllmt
Copy link
Contributor

Previously, packages for cryptocurrencies were loaded by default when you setup paima-sdk. This is wasteful since you don't actually care about initializing these potentially expensive packages unless you actually intend to use them for your game

To tackle this, all of these packages were moved to dynamic imports.

This should also, at the same time, minimize the impact of PaimaStudios/paima-game-templates#46

@SebastienGllmt SebastienGllmt added the enhancement New feature or request label Oct 7, 2023
@SebastienGllmt SebastienGllmt added this to the Refactoring milestone Oct 7, 2023
@SebastienGllmt SebastienGllmt self-assigned this Oct 7, 2023
@SebastienGllmt SebastienGllmt merged commit 2ac58fa into master Oct 7, 2023
1 check failed
@SebastienGllmt SebastienGllmt deleted the dynamic-import-crypto branch October 7, 2023 23:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant