@shipengine/react-api 0.15.0 → 0.15.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.
@@ -2,4 +2,4 @@
2
2
  * @category ShipEngine API Hooks
3
3
  *
4
4
  */
5
- export declare const useDownloadRateCard: (rateCardId: string) => import("react-query").UseQueryResult<Blob, import("@shipengine/js-api").CodedError[]>;
5
+ export declare const useDownloadRateCard: (rateCardId: string) => import("react-query").UseQueryResult<import("axios").AxiosResponse<Blob, any>, import("@shipengine/js-api").CodedError[]>;
package/index.js CHANGED
@@ -511,8 +511,7 @@ const useDownloadRateCard = (rateCardId) => {
511
511
  queryFn: () => {
512
512
  return client.rateCards.download(rateCardId);
513
513
  },
514
- queryKey: ["useDownloadRateCard", rateCardId],
515
- select: (result) => result.data
514
+ queryKey: ["useDownloadRateCard", rateCardId]
516
515
  });
517
516
  };
518
517
 
package/index.mjs CHANGED
@@ -508,8 +508,7 @@ const useDownloadRateCard = (rateCardId) => {
508
508
  queryFn: () => {
509
509
  return client.rateCards.download(rateCardId);
510
510
  },
511
- queryKey: ["useDownloadRateCard", rateCardId],
512
- select: (result) => result.data
511
+ queryKey: ["useDownloadRateCard", rateCardId]
513
512
  });
514
513
  };
515
514
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipengine/react-api",
3
- "version": "0.15.0",
3
+ "version": "0.15.1",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {