@finteqhub/sdk-js 0.8.0 → 0.9.0

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/dist/index.d.ts CHANGED
@@ -1,2 +1,3 @@
1
1
  export * from "./src/processing";
2
2
  export * from "./src/typings";
3
+ export * from "./src/consts";
package/dist/index.js CHANGED
@@ -1,2 +1,3 @@
1
1
  export * from "./src/processing";
2
2
  export * from "./src/typings";
3
+ export * from "./src/consts";
@@ -0,0 +1,4 @@
1
+ export declare const TxType: {
2
+ Deposit: string;
3
+ Withdrawal: string;
4
+ };
@@ -0,0 +1,4 @@
1
+ export const TxType = {
2
+ Deposit: "deposit",
3
+ Withdrawal: "withdrawal",
4
+ };
@@ -118,6 +118,7 @@ export declare type SubmitData = {
118
118
  payer: Payer;
119
119
  };
120
120
  paymentMethod: string;
121
+ transactionType: string;
121
122
  } | {
122
123
  credentials: {
123
124
  billingAddress: Address;
@@ -128,6 +129,7 @@ export declare type SubmitData = {
128
129
  } | {
129
130
  credentials: Record<string, string>;
130
131
  paymentMethod: string;
132
+ transactionType: string;
131
133
  };
132
134
  export declare type ProcessOperationRedirectResponse = {
133
135
  type: "redirect";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finteqhub/sdk-js",
3
- "version": "0.8.0",
3
+ "version": "0.9.0",
4
4
  "description": "SDK for interacting with FinteqHub processing API",
5
5
  "main": "./dist/index.js",
6
6
  "typings": "./dist/index.d.ts",