diff --git a/CHANGELOG.md b/CHANGELOG.md index 80a512e..5242b32 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/). Releases prior to `2.0.0` were published before this changelog was added and are not documented here. +## [2.3.0] + +### Added + +- `getPayment` fetches a Payment on a Ledger. Pass an `ik` and a `ledgerIk`; it + returns the Payment's `amount`, `currency`, `status`, `type`, `typeVersion`, + `mode`, `parameters`, and `created` time. +- `listPayments` lists the Payments on a Ledger. Pass a `ledgerIk`, along with + optional pagination (`first`, `after`, `before`) and a `filter`. +- `instantiateLedgerAccount` creates a Ledger Account from a schema template. + Pass a `ledger`, a template `path`, and optional `parameters`. + +### Changed + +- `createPayment` now requires `typeVersion`, and its response nests the + Payment: read `clientSecret` and `status` from the `payment` field instead of + the top level. Payments are experimental, so this API may change in a future + release. + ## [2.2.0] ### Added diff --git a/dist/cjs/generated/version.js b/dist/cjs/generated/version.js index 8bb7ccf..50ab019 100644 --- a/dist/cjs/generated/version.js +++ b/dist/cjs/generated/version.js @@ -5,4 +5,4 @@ exports.version = void 0; /** * A string representing the current version of the package. */ -exports.version = '2.2.0'; +exports.version = '2.3.0'; diff --git a/dist/cjs/types/generated/version.d.ts b/dist/cjs/types/generated/version.d.ts index a2f79d9..694d25f 100644 --- a/dist/cjs/types/generated/version.d.ts +++ b/dist/cjs/types/generated/version.d.ts @@ -1,5 +1,5 @@ /** * A string representing the current version of the package. */ -export declare const version: "2.2.0"; +export declare const version: "2.3.0"; //# sourceMappingURL=version.d.ts.map \ No newline at end of file diff --git a/dist/esm/generated/version.js b/dist/esm/generated/version.js index 007a18d..d95aadc 100644 --- a/dist/esm/generated/version.js +++ b/dist/esm/generated/version.js @@ -2,4 +2,4 @@ /** * A string representing the current version of the package. */ -export const version = '2.2.0'; +export const version = '2.3.0'; diff --git a/dist/esm/types/generated/version.d.ts b/dist/esm/types/generated/version.d.ts index a2f79d9..694d25f 100644 --- a/dist/esm/types/generated/version.d.ts +++ b/dist/esm/types/generated/version.d.ts @@ -1,5 +1,5 @@ /** * A string representing the current version of the package. */ -export declare const version: "2.2.0"; +export declare const version: "2.3.0"; //# sourceMappingURL=version.d.ts.map \ No newline at end of file diff --git a/generated/version.ts b/generated/version.ts index fd55293..deaf813 100644 --- a/generated/version.ts +++ b/generated/version.ts @@ -3,4 +3,4 @@ /** * A string representing the current version of the package. */ -export const version = '2.2.0' as const; +export const version = '2.3.0' as const; diff --git a/package.json b/package.json index 5e7e320..a29c457 100644 --- a/package.json +++ b/package.json @@ -83,7 +83,7 @@ "engines": { "node": ">=18.0.0" }, - "version": "2.2.0", + "version": "2.3.0", "author": "Fragment Foundries Inc", "license": "Apache-2.0", "files": [