@cocreate/api 1.7.2 → 1.7.3

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.7.3](https://github.com/CoCreate-app/CoCreate-api/compare/v1.7.2...v1.7.3) (2023-02-12)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * getValueFromObject ([d326bb6](https://github.com/CoCreate-app/CoCreate-api/commit/d326bb6baa49c170ac70a9b15b2d57a501aaf2cc))
7
+
1
8
  ## [1.7.2](https://github.com/CoCreate-app/CoCreate-api/compare/v1.7.1...v1.7.2) (2023-02-12)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/api",
3
- "version": "1.7.2",
3
+ "version": "1.7.3",
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/client.js CHANGED
@@ -121,7 +121,7 @@ const CoCreateApi = {
121
121
 
122
122
  if (el.hasAttribute('actions')) continue;
123
123
 
124
- let value = getValueFromObject({[action]: data}, name);
124
+ let value = getValueFromObject({[action]: {[name]: data}}, name);
125
125
  el.setValue(value);
126
126
  }
127
127