gotrip-fx-transaction-form 0.1.0-uat.40 → 1.0.7

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.
Files changed (2) hide show
  1. package/index.js +7 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -60027,7 +60027,13 @@ const tL = [
60027
60027
  colorPalette: "green",
60028
60028
  disabled: !e,
60029
60029
  onClick: () => {
60030
- window.location.href = `${at.BOOKER_URL}/transaction/create`;
60030
+ window.parent.postMessage(
60031
+ {
60032
+ type: "open-transaction-create",
60033
+ url: `${at.BOOKER_URL}/transaction/create`
60034
+ },
60035
+ "*"
60036
+ );
60031
60037
  },
60032
60038
  children: [
60033
60039
  /* @__PURE__ */ y.jsx(xN, { size: 16 }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gotrip-fx-transaction-form",
3
- "version": "0.1.0-uat.40",
3
+ "version": "1.0.7",
4
4
  "description": "FX Transaction Form ES6 module",
5
5
  "main": "index.js",
6
6
  "types": "types/index.d.ts",