@cocreate/api 1.3.2 → 1.3.5

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,25 @@
1
+ ## [1.3.5](https://github.com/CoCreate-app/CoCreate-api/compare/v1.3.4...v1.3.5) (2022-08-31)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * getValue and setValue using HTMLElement.prototype ([70ad0f9](https://github.com/CoCreate-app/CoCreate-api/commit/70ad0f9ecec17c5cb30373f33d80430b2103d093))
7
+
8
+ ## [1.3.4](https://github.com/CoCreate-app/CoCreate-api/compare/v1.3.3...v1.3.4) (2022-06-18)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * bump dependencies ([384f8ac](https://github.com/CoCreate-app/CoCreate-api/commit/384f8ac6cdfdfdf6acbdfc5e9a1326874b624a1a))
14
+
15
+ ## [1.3.3](https://github.com/CoCreate-app/CoCreate-api/compare/v1.3.2...v1.3.3) (2022-06-12)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * update dependencies ([cdbbbb3](https://github.com/CoCreate-app/CoCreate-api/commit/cdbbbb377e16f64686417a6d8ada2d71a8a5825c))
21
+ * update docs css document_id ([0f29e6c](https://github.com/CoCreate-app/CoCreate-api/commit/0f29e6c3b0fe911a941b3973af7088e12675b15b))
22
+
1
23
  ## [1.3.2](https://github.com/CoCreate-app/CoCreate-api/compare/v1.3.1...v1.3.2) (2022-05-23)
2
24
 
3
25
 
package/docs/form.html CHANGED
@@ -14,7 +14,7 @@
14
14
  <!-- CoCreate CSS -->
15
15
  <!-- CoCreate CSS -->
16
16
  <link rel="stylesheet" href="https://cdn.cocreate.app/latest/CoCreate.min.css" type="text/css" />
17
- <link rel="stylesheet" href="/docs/index.css" collection="files" document_id="62827d7e8082ce05b081430b" name="src" type="text/css" save="true" />
17
+ <link rel="stylesheet" href="/docs/index.css" collection="files" document_id="60888216117c640e7596303f" name="src" type="text/css" save="true" />
18
18
  </head>
19
19
 
20
20
  <body>
package/docs/index.html CHANGED
@@ -14,7 +14,7 @@
14
14
 
15
15
  <!-- CoCreate CSS -->
16
16
  <link rel="stylesheet" href="https://cdn.cocreate.app/latest/CoCreate.min.css" type="text/css" />
17
- <link rel="stylesheet" href="/docs/index.css" collection="files" document_id="62827d7e8082ce05b081430b" name="src" type="text/css" save="true" />
17
+ <link rel="stylesheet" href="/docs/index.css" collection="files" document_id="60888216117c640e7596303f" name="src" type="text/css" save="true" />
18
18
 
19
19
  </head>
20
20
 
package/docs/module.html CHANGED
@@ -14,7 +14,7 @@
14
14
 
15
15
  <!-- CoCreate CSS -->
16
16
  <link rel="stylesheet" href="https://cdn.cocreate.app/latest/CoCreate.min.css" type="text/css" />
17
- <link rel="stylesheet" href="/docs/index.css" collection="files" document_id="62827d7e8082ce05b081430b" name="src" type="text/css" save="true" />
17
+ <link rel="stylesheet" href="/docs/index.css" collection="files" document_id="60888216117c640e7596303f" name="src" type="text/css" save="true" />
18
18
  </head>
19
19
 
20
20
  <body>
package/docs/server.html CHANGED
@@ -14,7 +14,7 @@
14
14
 
15
15
  <!-- CoCreate CSS -->
16
16
  <link rel="stylesheet" href="https://cdn.cocreate.app/latest/CoCreate.min.css" type="text/css" />
17
- <link rel="stylesheet" href="/docs/index.css" collection="files" document_id="62827d7e8082ce05b081430b" name="src" type="text/css" save="true" />
17
+ <link rel="stylesheet" href="/docs/index.css" collection="files" document_id="60888216117c640e7596303f" name="src" type="text/css" save="true" />
18
18
  </head>
19
19
 
20
20
  <body>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/api",
3
- "version": "1.3.2",
3
+ "version": "1.3.5",
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",
@@ -62,12 +62,12 @@
62
62
  "webpack-log": "^3.0.1"
63
63
  },
64
64
  "dependencies": {
65
- "@cocreate/actions": "^1.4.1",
66
- "@cocreate/crud-client": "^1.6.2",
67
- "@cocreate/docs": "^1.3.1",
68
- "@cocreate/elements": "^1.7.3",
69
- "@cocreate/hosting": "^1.3.1",
70
- "@cocreate/render": "^1.8.0",
71
- "@cocreate/socket-client": "^1.5.1"
65
+ "@cocreate/actions": "^1.4.3",
66
+ "@cocreate/crud-client": "^1.7.1",
67
+ "@cocreate/docs": "^1.3.3",
68
+ "@cocreate/elements": "^1.8.3",
69
+ "@cocreate/hosting": "^1.3.3",
70
+ "@cocreate/render": "^1.8.2",
71
+ "@cocreate/socket-client": "^1.5.4"
72
72
  }
73
73
  }
package/src/client.js CHANGED
@@ -76,9 +76,7 @@ const CoCreateApi = {
76
76
 
77
77
  let value;
78
78
  if(element.getValue)
79
- value = element.getValue(element);
80
- else
81
- value = CoCreateElements.getValue(element);
79
+ value = element.getValue();
82
80
 
83
81
  if (action) {
84
82
  let re = new RegExp(`^${action}.`, 'i');