tuain-form-manager 1.2.3 → 1.2.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/lib/form.js +1 -1
- package/package.json +1 -1
package/lib/form.js
CHANGED
|
@@ -119,7 +119,7 @@ class Form {
|
|
|
119
119
|
const signatureKey = this._requestContext.signatureKey ?? this._requestContext.deviceKey ?? '1234567890';
|
|
120
120
|
signature = crypto.createHmac('sha256', signatureKey).update(content).digest('hex');
|
|
121
121
|
}
|
|
122
|
-
this._responseData.immutableData[name] = { value, signature };
|
|
122
|
+
this._responseData.immutableData[name] = JSON.parse(JSON.stringify({ value, signature }));
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
getImmutableElement(name) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tuain-form-manager",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.4",
|
|
4
4
|
"description": "Component library to perform operations on Tuain Development Framework forms to interchange information on web or mobile applications based on the data interchange of abstract forms making trnasformation on the data upon actions required on both sides (front and back)",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|