YYSuni
cover

Edge Case Usage of SDK

Recording My Solutions for the "Just Short of Perfect" and Mysterious Error Issues in SDK Usage.

  1. Check the documentation, inspect the parameters, and review the usage. Make sure to check if there's a new version available.
  2. Review the source code and try to adjust or modify the memory data (for example, sdk.xxx = xxx).
    • If there's no GitHub, you can directly check the files in node_modules or look for the files on the npm website.
  3. Use the patch-package package (for npm/yarn).
  4. If you only need part of the code, you can extract a few relevant files or specific sections.
    • You can make use of the files in the dist folder instead of having to clone the entire repository.
  5. Clone, modify, and publish.
  6. If you're not in a hurry, you can file an issue or submit a pull request.
TABLE OF CONTENTS