Skip to content

Commit dd5dcd6

Browse files
fragment-pr-bot[bot]fragment-pr-bot[bot]sophieleewu
authored
Bump SDK version (2.2.0) (#82)
Co-authored-by: fragment-pr-bot[bot] <228685+fragment-pr-bot[bot]@users.noreply.github.com> Co-authored-by: sophieleewu <sophieleewu@users.noreply.github.com> Co-authored-by: sophieleewu <sophie.wu@fragment.dev>
1 parent d8ab99b commit dd5dcd6

16 files changed

Lines changed: 34 additions & 15 deletions

‎CHANGELOG.md‎

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
88
Releases prior to `2.0.0` were published before this changelog was added and
99
are not documented here.
1010

11+
## [2.2.0]
12+
13+
### Added
14+
15+
- `createPayment` creates a Payment on a Ledger. Pass an `ik`, a `ledgerIk`, and
16+
a Payment `type`, along with optional `typeVersion` and `parameters`. It
17+
returns the Payment's `clientSecret` and `status`. Payments are experimental,
18+
so this API may change in a future release.
19+
20+
### Changed
21+
22+
- `typeVersion` on `LedgerEntryInput` is now supported and defaults to `1`. It
23+
was previously reserved for an upcoming feature.
24+
- `PaymentStatus` now uses `needs_payment_method` instead of
25+
`requires_confirmation`.
26+
- `SchemaPaymentEntryStatus` is now named `SchemaPaymentTypeStatus`, and
27+
`SchemaPaymentEntryInput` now takes `needs_payment_method_to_processing`
28+
instead of `needs_confirmation_to_processing`.
29+
1130
## [2.1.0]
1231

1332
### Added

‎dist/cjs/generated/version.js‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/cjs/types/generated/generated.d.ts‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/cjs/types/generated/generated.d.ts.map‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/cjs/types/generated/version.d.ts‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/esm/generated/version.js‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/esm/types/generated/generated.d.ts‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/esm/types/generated/generated.d.ts.map‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/esm/types/generated/version.d.ts‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎generated/generated.ts‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)