@agroyaar/sdk 2.0.0 → 2.0.1

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/dist/index.cjs CHANGED
@@ -280,7 +280,9 @@ var createMechanizationServices = (client) => ({
280
280
  }
281
281
  );
282
282
  return import_ts_belt2.R.Ok(
283
- mappers.getQuestions(data.result.data.mechanizationsQuestions)
283
+ mappers.getQuestions(
284
+ data.content["application/json"].result.data.mechanizationsQuestions
285
+ )
284
286
  );
285
287
  } catch (error) {
286
288
  return wrapError(error);
package/dist/index.mjs CHANGED
@@ -244,7 +244,9 @@ var createMechanizationServices = (client) => ({
244
244
  }
245
245
  );
246
246
  return R2.Ok(
247
- mappers.getQuestions(data.result.data.mechanizationsQuestions)
247
+ mappers.getQuestions(
248
+ data.content["application/json"].result.data.mechanizationsQuestions
249
+ )
248
250
  );
249
251
  } catch (error) {
250
252
  return wrapError(error);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agroyaar/sdk",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",