@cocreate/api 1.20.3 → 1.20.4

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,10 @@
1
+ ## [1.20.4](https://github.com/CoCreate-app/CoCreate-api/compare/v1.20.3...v1.20.4) (2024-02-18)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * -request=false ([dc43f0e](https://github.com/CoCreate-app/CoCreate-api/commit/dc43f0e81b2bcd7bef73ab959ddb2da8c173b1f4))
7
+
1
8
  ## [1.20.3](https://github.com/CoCreate-app/CoCreate-api/compare/v1.20.2...v1.20.3) (2024-02-18)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/api",
3
- "version": "1.20.3",
3
+ "version": "1.20.4",
4
4
  "description": "A simple api helper component in vanilla javascript used by JavaScript developers to create thirdparty api intergrations. CoCreate-api includes the client component and server side for api processing. Thirdparty apis can be accessible using HTML5 attributes and/or JavaScript API. ",
5
5
  "keywords": [
6
6
  "thirdparty-api-intergration",
package/src/index.js CHANGED
@@ -133,7 +133,7 @@ const CoCreateApi = {
133
133
 
134
134
  let elements
135
135
  if (form)
136
- elements = form.querySelectorAll(`[${name}="${method}"]`);
136
+ elements = form.querySelectorAll(`[${name}="${method}"]:not([${name}-request="false"])`);
137
137
  if (!elements || elements.length == 0)
138
138
  elements = [element]
139
139