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

fix(rgbpp-sdk): Upgrade ckb-sdk-js to fix SDK esm and commonjs issues #281

Merged
merged 3 commits into from
Aug 15, 2024

Conversation

duanyytop
Copy link
Collaborator

@duanyytop duanyytop commented Aug 15, 2024

Changes

  • Upgrade ckb-sdk-js to v0.109.3 to fix ESM and common js issues
  • The .js suffix of sdk-service is not required

Related PR: ckb-js/ckb-sdk-js#639

@@ -26,7 +25,7 @@
"json-rpc-2.0": "^1.7.0",
"lodash": "^4.17.21",
"reflect-metadata": "^0.2.0",
"rgbpp": "0.0.0-snap-20240813134030",
"rgbpp": "workspace:*",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we're referencing the workspace:* version of the rgbpp, it's required to run the command pnpm run build:packages before executing the start:dev or build commands. Should we mention this in the README? Does anything in the deployment files (e.g. docker-compose) need to be updated?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree. Maybe we can release v0.6.0 this week and update the dependency.

@Flouse Flouse merged commit 82d37ab into develop Aug 15, 2024
2 of 3 checks passed
@Flouse Flouse deleted the fix/sdk-esm-commonjs branch August 15, 2024 08:38
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.

3 participants