@gr4vy/secure-fields-react 1.2.0 → 1.3.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/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ # v1.3.0 (Thu Feb 16 2023)
2
+
3
+ #### 🏠 Internal
4
+
5
+ - build(deps-dev): bump typescript-transform-paths from 3.4.4 to 3.4.6 [#181](https://github.com/gr4vy/secure-fields/pull/181) ([@dependabot[bot]](https://github.com/dependabot[bot]))
6
+
7
+ #### Authors: 1
8
+
9
+ - [@dependabot[bot]](https://github.com/dependabot[bot])
10
+
11
+ ---
12
+
1
13
  # v1.1.0 (Fri Jan 20 2023)
2
14
 
3
15
  #### 🏠 Internal
@@ -1,6 +1,6 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { Config } from "../../types";
3
- export declare type Props = {
3
+ export type Props = {
4
4
  children?: ReactNode;
5
5
  } & Config;
6
6
  export declare const SecureFields: ({ children, ...config }: Props) => JSX.Element;
package/lib/types.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Config as BaseConfig, Field as BaseField } from '@gr4vy/secure-fields';
2
2
  import { MutableRefObject } from 'react';
3
- export declare type Config = BaseConfig & {
3
+ export type Config = BaseConfig & {
4
4
  debug?: boolean;
5
5
  font?: string;
6
6
  onReady?: (config: {
@@ -9,7 +9,7 @@ export declare type Config = BaseConfig & {
9
9
  onCardVaultSuccess?: () => void;
10
10
  onCardVaultFailure?: () => void;
11
11
  };
12
- export declare type Field = BaseField & {
12
+ export type Field = BaseField & {
13
13
  ref?: MutableRefObject<HTMLElement>;
14
14
  onBlur?: (data: any) => void;
15
15
  onFocus?: (data: any) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gr4vy/secure-fields-react",
3
- "version": "1.2.0",
3
+ "version": "1.3.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",
@@ -39,17 +39,17 @@
39
39
  "react-dom": ">=17.0.0"
40
40
  },
41
41
  "dependencies": {
42
- "@gr4vy/secure-fields": "^1.2.0"
42
+ "@gr4vy/secure-fields": "^1.3.0"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@testing-library/react-hooks": "^8.0.1",
46
46
  "react": "^17.0.2",
47
47
  "react-dom": "^17.0.2",
48
48
  "ts-patch": "^2.1.0",
49
- "typescript-transform-paths": "^3.4.4"
49
+ "typescript-transform-paths": "^3.4.6"
50
50
  },
51
51
  "publishConfig": {
52
52
  "access": "public"
53
53
  },
54
- "gitHead": "f932a5fb2d92483a800a5b85af1e7aa2f60ed617"
54
+ "gitHead": "fdf652b4e9caefb8be25446258a41c2a30ff9757"
55
55
  }