@agroyaar/sdk 1.1.4-1 → 1.1.4-2

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
@@ -118,7 +118,7 @@ var createMechanizationServices = (client) => ({
118
118
  deviceCode
119
119
  }) => {
120
120
  try {
121
- const { data } = await client.post(
121
+ const { data } = await client.put(
122
122
  `/farmers/${farmerId}/mechanizations/${mechanizationId}/submit-device-code`,
123
123
  { deviceCode }
124
124
  );
package/dist/index.mjs CHANGED
@@ -82,7 +82,7 @@ var createMechanizationServices = (client) => ({
82
82
  deviceCode
83
83
  }) => {
84
84
  try {
85
- const { data } = await client.post(
85
+ const { data } = await client.put(
86
86
  `/farmers/${farmerId}/mechanizations/${mechanizationId}/submit-device-code`,
87
87
  { deviceCode }
88
88
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agroyaar/sdk",
3
- "version": "1.1.4-1",
3
+ "version": "1.1.4-2",
4
4
  "description": "",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",