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

Aggregate ctl-npm-meta package for NPM deps #1666

Merged
merged 5 commits into from
Jan 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
### Changed

- `cardano-serialization-lib` has been updated to `v13.2.0` ([#1656](https://github.com/Plutonomicon/cardano-transaction-lib/pull/1656))
- Switched to the aggregate `@mlabs-haskell/ctl-npm-meta` package for NPM dependencies (see the [section on updating JS dependencies in the docs](./doc/ctl-as-dependency.md)) ([#1666](https://github.com/Plutonomicon/cardano-transaction-lib/pull/1666))

### Fixed

- Fixed transaction witness set 'attach' functions. Previously, the updated witness set was incorrectly appended to the existing set, causing performance degradation when processing constraints for complex transactions. ([#1653](https://github.com/Plutonomicon/cardano-transaction-lib/pull/1653))
- Updating to CSL `v13.2.0` should resolve the issue of occasional transaction script integrity hash mismatches on tx submission ([#1656](https://github.com/Plutonomicon/cardano-transaction-lib/pull/1656))
- Fixed a critical bug where Blockfrost `getUtxo` would also return **spent** outputs ([#1664](https://github.com/Plutonomicon/cardano-transaction-lib/pull/1664))

## [v9.3.1]

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ CTL is being developed by MLabs. The following companies/funds have contributed
- [Indigo Protocol](https://indigoprotocol.io/)
- [Equine](https://www.equine.gg/)
- [Liqwid Labs](https://liqwid.finance/)
- [PlayerMint](https://www.playermint.com/)
- PlayerMint
- [Fourier Labs](https://fourierlabs.io/)
- Ardana

Expand All @@ -97,5 +97,5 @@ CTL is being developed by MLabs. The following companies/funds have contributed
- [Indigo Protocol](https://indigoprotocol.io/)
- [Liqwid](https://liqwid.finance/)
- [Clarity](https://clarity.community/)
- [PlayerMint](https://www.playermint.com/)
- PlayerMint
- [SingularityNet](https://singularitynet.io/)
2 changes: 1 addition & 1 deletion doc/ctl-as-dependency.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Make sure to perform **all** of the following steps, otherwise you **will** enco

3. **Update your JS dependencies**

- The NPM dependencies your project has must have the exact same versions CTL's own `package.json` specifies.
- CTL currently has a single aggregate or meta NPM dependency that encompasses all other dependencies: `@mlabs-haskell/ctl-npm-meta`. Your project must use **the exact same version** of this dependency as specified in CTL's `package.json`.
- You have to update `package-lock.json` by running `npm install`. If you are in a nix shell and use our setup that symlinks `./node_modules`, npm will complain about inability to write to the filesystem, use `npm i --package-lock-only` to skip writing to `node_modules`. If your `node_modules` are managed by Nix, you will have to re-enter the shell for the changes to apply.

4. **Update your webpack/esbuild config**
Expand Down
66 changes: 49 additions & 17 deletions package-lock.json

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

18 changes: 1 addition & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,23 +31,7 @@
},
"license": "MIT",
"dependencies": {
"@mlabs-haskell/cardano-message-signing": "^1.0.1",
"@mlabs-haskell/cardano-serialization-lib-gc": "13.2.0",
"@mlabs-haskell/json-bigint": "2.0.0",
"@mlabs-haskell/uplc-apply-args": "1.0.29-alpha",
"@noble/secp256k1": "^1.7.0",
"base64-js": "^1.5.1",
"bignumber.js": "^9.1.1",
"bip39": "^3.1.0",
"bufferutil": "4.0.5",
"isomorphic-ws": "^5.0.0",
"puppeteer-core": "^15.3.2",
"reconnecting-websocket": "4.4.0",
"uniqid": "5.4.0",
"utf-8-validate": "^5.0.10",
"web-encoding": "^1.1.5",
"ws": "^8.16.0",
"xhr2": "0.2.1"
"@mlabs-haskell/ctl-npm-meta": "1.0.0"
},
"devDependencies": {
"@eslint/js": "^9.7.0",
Expand Down
66 changes: 49 additions & 17 deletions templates/ctl-scaffold/package-lock.json

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

18 changes: 1 addition & 17 deletions templates/ctl-scaffold/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,23 +25,7 @@
"author": "",
"license": "MIT",
"dependencies": {
"@mlabs-haskell/cardano-message-signing": "^1.0.1",
"@mlabs-haskell/cardano-serialization-lib-gc": "13.2.0",
"@mlabs-haskell/json-bigint": "2.0.0",
"@mlabs-haskell/uplc-apply-args": "1.0.29-alpha",
"@noble/secp256k1": "^1.7.0",
"base64-js": "^1.5.1",
"bignumber.js": "^9.1.1",
"bip39": "^3.1.0",
"bufferutil": "4.0.5",
"isomorphic-ws": "^5.0.0",
"puppeteer-core": "^15.3.2",
"reconnecting-websocket": "4.4.0",
"uniqid": "5.4.0",
"utf-8-validate": "^5.0.10",
"web-encoding": "^1.1.5",
"ws": "^8.16.0",
"xhr2": "0.2.1"
"@mlabs-haskell/ctl-npm-meta": "1.0.0"
},
"devDependencies": {
"buffer": "6.0.3",
Expand Down
Loading