@gr4vy/secure-fields-react 1.19.0 → 1.19.1--canary.ea51c07.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.
@@ -1,3 +1,3 @@
1
1
  import { PropsWithChildren } from 'react';
2
2
  import { ClickToPayComponentProps } from "../../types";
3
- export declare const CardForm: ({ children, id: _, style, onVisibilityChange, ...rest }: PropsWithChildren<ClickToPayComponentProps>) => JSX.Element;
3
+ export declare const CardForm: ({ children, id: _, style, onVisibilityChange, ...rest }: PropsWithChildren<ClickToPayComponentProps>) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { Field as FieldProps } from "../../types";
3
- export declare const CardNumber: (props: Omit<FieldProps, 'type'>) => JSX.Element;
2
+ export declare const CardNumber: (props: Omit<FieldProps, 'type'>) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { ClickToPayOptions } from "../../types";
3
- export declare const ClickToPay: (options: ClickToPayOptions) => JSX.Element;
2
+ export declare const ClickToPay: (options: ClickToPayOptions) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import { PropsWithChildren } from 'react';
2
2
  import { ClickToPayComponentProps } from "../../types";
3
- export declare const ClickToPaySignIn: ({ children, id: _, style, onVisibilityChange, ...rest }: PropsWithChildren<ClickToPayComponentProps>) => JSX.Element;
3
+ export declare const ClickToPaySignIn: ({ children, id: _, style, onVisibilityChange, ...rest }: PropsWithChildren<ClickToPayComponentProps>) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { Field as FieldProps } from "../../types";
3
- export declare const ExpiryDate: (props: Omit<FieldProps, 'type'>) => JSX.Element;
2
+ export declare const ExpiryDate: (props: Omit<FieldProps, 'type'>) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { Field as FieldProps } from "../../types";
3
- export declare const Field: (props: FieldProps) => JSX.Element;
2
+ export declare const Field: (props: FieldProps) => import("react/jsx-runtime").JSX.Element;
@@ -3,4 +3,4 @@ import { Config } from "../../types";
3
3
  export type Props = {
4
4
  children?: ReactNode;
5
5
  } & Config;
6
- export declare const SecureFields: ({ children, ...config }: Props) => JSX.Element;
6
+ export declare const SecureFields: ({ children, ...config }: Props) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { Field as FieldProps } from "../../types";
3
- export declare const SecurityCode: (props: Omit<FieldProps, 'type'>) => JSX.Element;
2
+ export declare const SecurityCode: (props: Omit<FieldProps, 'type'>) => import("react/jsx-runtime").JSX.Element;
@@ -7,7 +7,7 @@ export declare const SecureFieldsContext: import("react").Context<{
7
7
  clickToPay?: ClickToPayInstance;
8
8
  setClickToPay?: Dispatch<ClickToPayInstance>;
9
9
  }>;
10
- export declare const SecureFieldsProvider: ({ children, ...config }: PropsWithChildren<Config>) => JSX.Element;
10
+ export declare const SecureFieldsProvider: ({ children, ...config }: PropsWithChildren<Config>) => import("react/jsx-runtime").JSX.Element;
11
11
  export declare const useSecureFields: () => {
12
12
  secureFields: SecureFields;
13
13
  debug: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gr4vy/secure-fields-react",
3
- "version": "1.19.0",
3
+ "version": "1.19.1--canary.ea51c07.0",
4
4
  "description": "Gr4vy-hosted secure fields offering advanced theming, PCI compliance, event handling, and more.",
5
5
  "main": "lib/index",
6
6
  "types": "lib/index",
@@ -41,17 +41,17 @@
41
41
  "react-dom": ">=17.0.0"
42
42
  },
43
43
  "dependencies": {
44
- "@gr4vy/secure-fields": "^1.19.0"
44
+ "@gr4vy/secure-fields": "1.19.1--canary.ea51c07.0"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@testing-library/react-hooks": "^8.0.1",
48
48
  "react": "^17.0.2",
49
49
  "react-dom": "^17.0.2",
50
50
  "ts-patch": "^2.1.0",
51
- "typescript-transform-paths": "^3.4.6"
51
+ "typescript-transform-paths": "^3.4.7"
52
52
  },
53
53
  "publishConfig": {
54
54
  "access": "public"
55
55
  },
56
- "gitHead": "cdf0c7f0387ac429092af04f584b97800db3d92f"
56
+ "gitHead": "ea51c070ca900cf418d7e5023b86a8736fe9db45"
57
57
  }