mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 01:07:18 +03:00
5114fadd1d
This PR adds coverage for the package management endpoints of the JSON API. CHANGELOG_BEGIN - [JavaScript Client Libraries] The Ledger object (returned by `useLedger` through the React bindings) has three new methods covering the package management API: `listPackages` returns a list of all known packageIDs, `getPackage` returns the binary data of the corresponding DALF, and `uploadDarFile` takes binary data and uploads it to the ledger. Note that `uploadDarFile` requires admin access. CHANGELOG_END |
||
---|---|---|
.. | ||
codegen-common | ||
codegen-main | ||
hs/bindings | ||
java | ||
scala | ||
ts |