gotrip-fx-transaction-form 1.0.26 → 1.0.27

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/index.js CHANGED
@@ -83598,11 +83598,11 @@ const YSe = Vs().shape({
83598
83598
  e === Tu.BUSINESS && /* @__PURE__ */ v.jsx(Ufe, { ignoreLayout: !0, onFinish: d })
83599
83599
  ] })
83600
83600
  ] });
83601
- }, ZSe = () => /* @__PURE__ */ v.jsxs(XH, { value: EZ, children: [
83601
+ }, ZSe = ({ clientId: e, secret: t }) => (console.log(e, t), /* @__PURE__ */ v.jsxs(XH, { value: EZ, children: [
83602
83602
  /* @__PURE__ */ v.jsx(vre, { children: /* @__PURE__ */ v.jsx(Kte, { children: /* @__PURE__ */ v.jsx(bM, { path: "*", element: /* @__PURE__ */ v.jsx(JSe, {}) }) }) }),
83603
83603
  /* @__PURE__ */ v.jsx(Xee, {}),
83604
83604
  /* @__PURE__ */ v.jsx(Jee, {})
83605
- ] }), J1e = {
83605
+ ] })), J1e = {
83606
83606
  init: (e, t) => {
83607
83607
  if (!e)
83608
83608
  throw new Error("id is required");
@@ -83610,5 +83610,6 @@ const YSe = Vs().shape({
83610
83610
  }
83611
83611
  };
83612
83612
  export {
83613
- J1e as default
83613
+ J1e as FxTransactionForm,
83614
+ ZSe as default
83614
83615
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gotrip-fx-transaction-form",
3
- "version": "1.0.26",
3
+ "version": "1.0.27",
4
4
  "description": "FX Transaction Form ES6 module",
5
5
  "main": "index.js",
6
6
  "types": "types/index.d.ts",
@@ -2,4 +2,4 @@ export type EmbededIndividualAppProps = {
2
2
  clientId: string;
3
3
  secret: string;
4
4
  };
5
- export declare const EmbededIndividualApp: () => import("react/jsx-runtime").JSX.Element;
5
+ export declare const EmbededIndividualApp: ({ clientId, secret }: EmbededIndividualAppProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,7 +1,6 @@
1
- import { EmbededIndividualAppProps } from './components/Apps/EmbededIndividualApp';
1
+ import { EmbededIndividualApp, EmbededIndividualAppProps } from './components/Apps/EmbededIndividualApp';
2
2
  interface FxTransactionFormType {
3
3
  init: (id: string, props: EmbededIndividualAppProps) => void;
4
4
  }
5
- declare const FxTransactionForm: FxTransactionFormType;
6
- export type { EmbededIndividualAppProps, FxTransactionFormType };
7
- export default FxTransactionForm;
5
+ export declare const FxTransactionForm: FxTransactionFormType;
6
+ export default EmbededIndividualApp;
package/types/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  export * from './embeded-main'
2
2
  export {}
3
- import FxTransactionForm from './embeded-main'
4
- export default FxTransactionForm
3
+ import FxTransaction from './embeded-main'
4
+ export default FxTransaction
5
5
  export * from './embeded-main'
6
6
  export {}