@rebuy/rebuy 1.3.7 → 1.3.8

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/utilities.js +1 -0
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rebuy/rebuy",
3
3
  "description": "This is the default library for Rebuy",
4
- "version": "1.3.7",
4
+ "version": "1.3.8",
5
5
  "license": "MIT",
6
6
  "author": "Rebuy, Inc.",
7
7
  "type": "module",
package/utilities.js CHANGED
@@ -15,6 +15,7 @@ export function stringToData(data, decode) {
15
15
  response = JSON.parse(response);
16
16
  } catch (e) {
17
17
  // failure to parse cookie
18
+ response = data;
18
19
  }
19
20
 
20
21
  return response;