tg-core-components 6.1.4 → 6.1.5

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.
@@ -133,7 +133,11 @@ var PaymentForm = function (_Component) {
133
133
 
134
134
  if (data.redirectOutput == null) {
135
135
  if (onSuccess) {
136
- onSuccess();
136
+ onSuccess({
137
+ amount: data.amount,
138
+ currency: data.currency,
139
+ tx: Number(data.transactionId)
140
+ });
137
141
  return null;
138
142
  }
139
143
 
@@ -165,7 +165,11 @@ var PaymentForm = function (_Component) {
165
165
 
166
166
  if (data.redirectOutput == null) {
167
167
  if (onSuccess) {
168
- onSuccess();
168
+ onSuccess({
169
+ amount: data.amount,
170
+ currency: data.currency,
171
+ tx: Number(data.transactionId)
172
+ });
169
173
  return null;
170
174
  }
171
175
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tg-core-components",
3
- "version": "6.1.4",
3
+ "version": "6.1.5",
4
4
  "description": "tg-core-components",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -76,5 +76,5 @@
76
76
  "webpack": "^3.0.0",
77
77
  "webpack-blocks": "^1.0.0"
78
78
  },
79
- "gitHead": "00f5600421bf93372fa02d7dcd12cf8efa6b6f62"
79
+ "gitHead": "65773c9b165180c6a6a651cbf600099b7a708cbe"
80
80
  }