@finteqhub/sdk-js 0.13.1 → 0.14.0-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/src/typings.d.ts +0 -2
- package/dist/src/version.d.ts +1 -1
- package/dist/src/version.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Notable changes to `@finteqhub/sdk-js`. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|
4
4
|
|
|
5
|
+
## 0.14.0
|
|
6
|
+
|
|
7
|
+
### Breaking changes
|
|
8
|
+
|
|
9
|
+
- `transactionType` was removed from the `SubmitData` type. It was declared on two of the three variants (the saved-card variant with `customerAccountId` and the generic `Record<string, string>` one) but never read by the SDK: `submitForm` spreads the data straight into the request body. TypeScript callers that pass `transactionType` in an object literal now hit the excess property check and need to drop it; JavaScript callers are unaffected, since the spread still forwards whatever the caller supplies.
|
|
10
|
+
|
|
11
|
+
`transactionType` is unchanged on `OperationSession`, where the API returns it as part of the session. `TxType` is also unchanged: it is unused inside the SDK, but it is re-exported from the package root and stays part of the public API.
|
|
12
|
+
|
|
5
13
|
## 0.13.1
|
|
6
14
|
|
|
7
15
|
### Changed
|
package/dist/src/typings.d.ts
CHANGED
|
@@ -118,7 +118,6 @@ export declare type SubmitData = {
|
|
|
118
118
|
payer: Payer;
|
|
119
119
|
};
|
|
120
120
|
paymentMethod: string;
|
|
121
|
-
transactionType: string;
|
|
122
121
|
} | {
|
|
123
122
|
credentials: {
|
|
124
123
|
billingAddress: Address;
|
|
@@ -129,7 +128,6 @@ export declare type SubmitData = {
|
|
|
129
128
|
} | {
|
|
130
129
|
credentials: Record<string, string>;
|
|
131
130
|
paymentMethod: string;
|
|
132
|
-
transactionType: string;
|
|
133
131
|
};
|
|
134
132
|
export declare type ProcessOperationRedirectResponse = {
|
|
135
133
|
type: "redirect";
|
package/dist/src/version.d.ts
CHANGED
package/dist/src/version.js
CHANGED