@wix/sdk 1.7.3 → 1.7.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.
@@ -137,7 +137,7 @@ export function createClient(config) {
137
137
  if (!valid) {
138
138
  throw new Error('JWT is not valid');
139
139
  }
140
- return JSON.parse(decoded.data);
140
+ return decoded.data;
141
141
  },
142
142
  async processRequest(request) {
143
143
  const body = await request.text();
@@ -140,7 +140,7 @@ function createClient(config) {
140
140
  if (!valid) {
141
141
  throw new Error('JWT is not valid');
142
142
  }
143
- return JSON.parse(decoded.data);
143
+ return decoded.data;
144
144
  },
145
145
  async processRequest(request) {
146
146
  const body = await request.text();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/sdk",
3
- "version": "1.7.3",
3
+ "version": "1.7.4",
4
4
  "license": "UNLICENSED",
5
5
  "author": {
6
6
  "name": "Ronny Ringel",
@@ -116,5 +116,5 @@
116
116
  "wallaby": {
117
117
  "autoDetect": true
118
118
  },
119
- "falconPackageHash": "1ab723e4b75dc05738d9710385e9cfbe6d32deae3902e5809011288c"
119
+ "falconPackageHash": "93a9673030401f9f114208015d7df832e9f3e9b1189763fcd4380c61"
120
120
  }