Skip to content

Commit

Permalink
[deps] Move event emitter to runtime dependency
Browse files Browse the repository at this point in the history
Without this, it will fail to run with
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'eventemitter3' imported from /opt/git/aptos-playground/node_modules/.pnpm/@aptos-labs+ts-sdk@1.5.0/node_modules/@aptos-labs/ts-sdk/dist/esm/chunk-27YNIEGN.mjs
  • Loading branch information
gregnazario committed Jan 25, 2024
1 parent 28a735f commit 22ae3d9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ All notable changes to the Aptos TypeScript SDK will be captured in this file. T

# Unreleased

- Move eventemitter3 to runtime dependency

# 1.5.0 (2024-01-24)

- Remove request URLs forward slash append
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@
"@scure/bip32": "^1.3.3",
"@scure/bip39": "^1.2.1",
"form-data": "^4.0.0",
"tweetnacl": "^1.0.3"
"tweetnacl": "^1.0.3",
"eventemitter3": "^5.0.1"
},
"devDependencies": {
"@aptos-labs/aptos-cli": "^0.1.2",
Expand All @@ -66,7 +67,6 @@
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"dotenv": "^16.3.1",
"eventemitter3": "^5.0.1",
"eslint": "^8.55.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^17.1.0",
Expand Down
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 22ae3d9

Please sign in to comment.