@availity/native-form 6.0.8 → 6.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 +14 -0
- package/dist/index.js +6 -7
- package/dist/index.mjs +3 -4
- package/package.json +11 -3
- package/project.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [6.0.10](https://github.com/Availity/sdk-js/compare/@availity/native-form@6.0.9...@availity/native-form@6.0.10) (2025-03-14)
|
|
6
|
+
|
|
7
|
+
### Dependency Updates
|
|
8
|
+
|
|
9
|
+
* `api-axios` updated to version `6.0.9`
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
## [6.0.9](https://github.com/Availity/sdk-js/compare/@availity/native-form@6.0.8...@availity/native-form@6.0.9) (2025-03-10)
|
|
13
|
+
|
|
14
|
+
### Dependency Updates
|
|
15
|
+
|
|
16
|
+
* `@availity/api-axios` updated to version `6.0.8`
|
|
17
|
+
|
|
18
|
+
|
|
5
19
|
## [6.0.8](https://github.com/Availity/sdk-js/compare/@availity/native-form@6.0.7...@availity/native-form@6.0.8) (2025-02-10)
|
|
6
20
|
|
|
7
21
|
### Dependency Updates
|
package/dist/index.js
CHANGED
|
@@ -52,11 +52,11 @@ var __async = (__this, __arguments, generator) => {
|
|
|
52
52
|
};
|
|
53
53
|
|
|
54
54
|
// src/index.js
|
|
55
|
-
var
|
|
56
|
-
__export(
|
|
57
|
-
default: () =>
|
|
55
|
+
var index_exports = {};
|
|
56
|
+
__export(index_exports, {
|
|
57
|
+
default: () => index_default
|
|
58
58
|
});
|
|
59
|
-
module.exports = __toCommonJS(
|
|
59
|
+
module.exports = __toCommonJS(index_exports);
|
|
60
60
|
var import_api_axios = require("@availity/api-axios");
|
|
61
61
|
|
|
62
62
|
// src/flattenObject.js
|
|
@@ -92,8 +92,7 @@ query ssoTypeFindById($id: ID!){
|
|
|
92
92
|
`;
|
|
93
93
|
var nativeForm = (_0, ..._1) => __async(void 0, [_0, ..._1], function* (spaceId, params = {}, formAttributes = {}, type, clientId = "clientId") {
|
|
94
94
|
var _a, _b, _c;
|
|
95
|
-
if (!spaceId)
|
|
96
|
-
throw new Error("spaceId is required and was not provided");
|
|
95
|
+
if (!spaceId) throw new Error("spaceId is required and was not provided");
|
|
97
96
|
let typeLower = type == null ? void 0 : type.toLowerCase();
|
|
98
97
|
if (typeLower !== "saml" && typeLower !== "openid") {
|
|
99
98
|
try {
|
|
@@ -135,4 +134,4 @@ var nativeForm = (_0, ..._1) => __async(void 0, [_0, ..._1], function* (spaceId,
|
|
|
135
134
|
document.body.appendChild(form);
|
|
136
135
|
form.submit();
|
|
137
136
|
});
|
|
138
|
-
var
|
|
137
|
+
var index_default = nativeForm;
|
package/dist/index.mjs
CHANGED
|
@@ -71,8 +71,7 @@ query ssoTypeFindById($id: ID!){
|
|
|
71
71
|
`;
|
|
72
72
|
var nativeForm = (_0, ..._1) => __async(void 0, [_0, ..._1], function* (spaceId, params = {}, formAttributes = {}, type, clientId = "clientId") {
|
|
73
73
|
var _a, _b, _c;
|
|
74
|
-
if (!spaceId)
|
|
75
|
-
throw new Error("spaceId is required and was not provided");
|
|
74
|
+
if (!spaceId) throw new Error("spaceId is required and was not provided");
|
|
76
75
|
let typeLower = type == null ? void 0 : type.toLowerCase();
|
|
77
76
|
if (typeLower !== "saml" && typeLower !== "openid") {
|
|
78
77
|
try {
|
|
@@ -114,7 +113,7 @@ var nativeForm = (_0, ..._1) => __async(void 0, [_0, ..._1], function* (spaceId,
|
|
|
114
113
|
document.body.appendChild(form);
|
|
115
114
|
form.submit();
|
|
116
115
|
});
|
|
117
|
-
var
|
|
116
|
+
var index_default = nativeForm;
|
|
118
117
|
export {
|
|
119
|
-
|
|
118
|
+
index_default as default
|
|
120
119
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@availity/native-form",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.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
5
|
"keywords": [
|
|
6
6
|
"availity",
|
|
@@ -23,6 +23,14 @@
|
|
|
23
23
|
"main": "./dist/index.js",
|
|
24
24
|
"module": "./dist/index.mjs",
|
|
25
25
|
"types": "./dist/index.d.ts",
|
|
26
|
+
"exports": {
|
|
27
|
+
"./package.json": "./package.json",
|
|
28
|
+
".": {
|
|
29
|
+
"types": "./dist/index.d.ts",
|
|
30
|
+
"import": "./dist/index.mjs",
|
|
31
|
+
"require": "./dist/index.js"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
26
34
|
"engines": {
|
|
27
35
|
"node": "^18.0.0 || ^20.0.0"
|
|
28
36
|
},
|
|
@@ -35,10 +43,10 @@
|
|
|
35
43
|
"publish": "yarn npm publish --tolerate-republish --access public"
|
|
36
44
|
},
|
|
37
45
|
"dependencies": {
|
|
38
|
-
"@availity/api-axios": "10.0.
|
|
46
|
+
"@availity/api-axios": "10.0.2"
|
|
39
47
|
},
|
|
40
48
|
"devDependencies": {
|
|
41
|
-
"tsup": "^
|
|
49
|
+
"tsup": "^8.4.0",
|
|
42
50
|
"typescript": "^5.5.4"
|
|
43
51
|
},
|
|
44
52
|
"publishConfig": {
|
package/project.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "
|
|
2
|
+
"name": "native-form",
|
|
3
3
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
4
4
|
"projectType": "library",
|
|
5
5
|
"targets": {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"options": {
|
|
16
16
|
"preset": "angular",
|
|
17
17
|
"commitMessageFormat": "chore({projectName}): release version ${version} [skip ci]",
|
|
18
|
-
"tagPrefix": "{projectName}@",
|
|
18
|
+
"tagPrefix": "@availity/{projectName}@",
|
|
19
19
|
"baseBranch": "master",
|
|
20
20
|
"trackDeps": true
|
|
21
21
|
}
|