@availity/native-form 4.0.9 → 4.0.10

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
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## 4.0.10 (2021-12-21)
7
+
8
+ **Note:** Version bump only for package @availity/native-form
9
+
10
+
11
+
12
+
13
+
6
14
  ## [4.0.9](https://github.com/Availity/sdk-js/compare/@availity/native-form@4.0.8...@availity/native-form@4.0.9) (2021-10-29)
7
15
 
8
16
  **Note:** Version bump only for package @availity/native-form
package/README.md CHANGED
@@ -1,8 +1,10 @@
1
- # native form
1
+ # @availity/native-form
2
2
 
3
3
  > Submit JSON data via a native form, not AJAX. Useful when you need to open a new page with a POST action.
4
4
 
5
5
  [![Version](https://img.shields.io/npm/v/@availity/native-form.svg?style=for-the-badge)](https://www.npmjs.com/package/@availity/native-form)
6
+ [![NPM Downloads](https://img.shields.io/npm/dt/@availity/native-form.svg?style=for-the-badge)](https://www.npmjs.com/package/@availity/native-form)
7
+ [![Dependecy Status](https://img.shields.io/librariesio/release/npm/@availity/native-form?style=for-the-badge)](https://github.com/Availity/sdk-js/blob/master/packages/native-form/package.json)
6
8
 
7
9
  ## Install
8
10
 
@@ -18,4 +20,6 @@ npm install @availity/native-form
18
20
  yarn add @availity/native-form
19
21
  ```
20
22
 
21
- ## [Documentation](https://availity.github.io/sdk-js/features/native-form)
23
+ ## Documentation
24
+
25
+ Check out more documentation at [availity.github.io](https://availity.github.io/sdk-js/resources/native-form)
@@ -13,6 +13,12 @@ var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
13
13
 
14
14
  require("core-js/modules/es.regexp.to-string.js");
15
15
 
16
+ require("core-js/modules/esnext.async-iterator.reduce.js");
17
+
18
+ require("core-js/modules/esnext.iterator.constructor.js");
19
+
20
+ require("core-js/modules/esnext.iterator.reduce.js");
21
+
16
22
  require("core-js/modules/es.object.keys.js");
17
23
 
18
24
  require("core-js/modules/web.url.to-json.js");
package/lib/index.js CHANGED
@@ -15,6 +15,10 @@ require("core-js/modules/es.array.join.js");
15
15
 
16
16
  require("core-js/modules/es.array.map.js");
17
17
 
18
+ require("core-js/modules/esnext.async-iterator.map.js");
19
+
20
+ require("core-js/modules/esnext.iterator.map.js");
21
+
18
22
  require("core-js/modules/es.regexp.exec.js");
19
23
 
20
24
  require("core-js/modules/es.string.replace.js");
package/package.json CHANGED
@@ -1,30 +1,44 @@
1
1
  {
2
2
  "name": "@availity/native-form",
3
- "version": "4.0.9",
3
+ "version": "4.0.10",
4
4
  "description": "Submit JSON data via a native form, not AJAX. Useful when you need to open a new page with a POST action.",
5
- "main": "lib/index.js",
6
- "module": "src/index.js",
7
- "types": "types/index.d.ts",
8
5
  "keywords": [
9
6
  "availity",
10
7
  "form",
11
8
  "native",
12
9
  "submission"
13
10
  ],
14
- "author": "Evan Sharp <evan.sharp@availity.com>",
11
+ "homepage": "https://availity.github.io/sdk-js/resources/native-form",
12
+ "bugs": {
13
+ "url": "https://github.com/availity/sdk-js/issues"
14
+ },
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "git+https://github.com/availity/sdk-js.git",
18
+ "directory": "packages/native-form"
19
+ },
15
20
  "license": "MIT",
16
- "publishConfig": {
17
- "access": "public"
21
+ "author": "Evan Sharp <evan.sharp@availity.com>",
22
+ "main": "lib/index.js",
23
+ "module": "src/index.js",
24
+ "types": "src/index.d.ts",
25
+ "scripts": {
26
+ "build": "yarn clean && yarn transpile",
27
+ "clean": "rimraf ./lib",
28
+ "transpile": "babel --root-mode upward src -d lib --ignore **/*.test.js"
18
29
  },
19
30
  "dependencies": {
20
- "@babel/runtime": "^7.15.4",
31
+ "@babel/runtime": "^7.16.5",
21
32
  "core-js": "^3.12.1"
22
33
  },
23
34
  "devDependencies": {
24
- "@availity/api-axios": "^6.0.5"
35
+ "@availity/api-axios": "^6.0.6"
25
36
  },
26
37
  "peerDependencies": {
27
38
  "@availity/api-axios": "^6.0.0"
28
39
  },
29
- "gitHead": "19644de90a510481a5086fcf737d43491061690b"
40
+ "publishConfig": {
41
+ "access": "public"
42
+ },
43
+ "gitHead": "1c3e8c8045b16fc5111f941d863600f0a97cdbff"
30
44
  }
@@ -1,3 +1,5 @@
1
+ /* eslint-disable @typescript-eslint/no-explicit-any */
2
+
1
3
  type SsoType = 'saml' | 'openid';
2
4
 
3
5
  declare function nativeForm(
package/src/index.js CHANGED
@@ -1,4 +1,5 @@
1
1
  import { avWebQLApi } from '@availity/api-axios';
2
+
2
3
  import flattenObject from './flattenObject';
3
4
 
4
5
  const ssoTypeQuery = `