@shipengine/react-api 4.11.0 → 4.11.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.
Files changed (3) hide show
  1. package/index.js +1 -1
  2. package/index.mjs +1 -1
  3. package/package.json +1 -1
package/index.js CHANGED
@@ -304,7 +304,7 @@ const useListAccountAddons = (params) => {
304
304
  onError,
305
305
  queryFn: () => client.accountAddons.list(),
306
306
  queryKey: ["useListAccountAddons"],
307
- select: (result) => result.data
307
+ select: (result) => result.data.addons
308
308
  }));
309
309
  };
310
310
 
package/index.mjs CHANGED
@@ -301,7 +301,7 @@ const useListAccountAddons = (params) => {
301
301
  onError,
302
302
  queryFn: () => client.accountAddons.list(),
303
303
  queryKey: ["useListAccountAddons"],
304
- select: (result) => result.data
304
+ select: (result) => result.data.addons
305
305
  }));
306
306
  };
307
307
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipengine/react-api",
3
- "version": "4.11.0",
3
+ "version": "4.11.2",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {