@nexusmutual/sdk 2.1.0-rc.0 → 2.1.1-rc.0

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.
@@ -1,3 +1,3 @@
1
1
  {
2
- "version": "2.0.1"
2
+ "version": "2.1.0"
3
3
  }
package/dist/index.js CHANGED
@@ -23279,7 +23279,7 @@ var coverMetadataRefSchema = import_zod.z.object({
23279
23279
  });
23280
23280
 
23281
23281
  // generated/version.json
23282
- var version27 = "2.0.1";
23282
+ var version27 = "2.1.0";
23283
23283
 
23284
23284
  // src/nexus-sdk-base.ts
23285
23285
  var ApiError = class extends Error {
@@ -23511,7 +23511,7 @@ var ProductAPI = class extends NexusSDKBase {
23511
23511
  * @returns Product type details
23512
23512
  */
23513
23513
  async getProductTypeById(productTypeId) {
23514
- const productTypeEndpoint = `/product-types/${productTypeId}?withAttributes=ipfsContentType`;
23514
+ const productTypeEndpoint = `/product-types/${productTypeId}`;
23515
23515
  return this.sendRequest(productTypeEndpoint);
23516
23516
  }
23517
23517
  /**
@@ -23519,7 +23519,7 @@ var ProductAPI = class extends NexusSDKBase {
23519
23519
  * @returns List of product types
23520
23520
  */
23521
23521
  async getAllProductTypes() {
23522
- const productTypesEndpoint = "/product-types?withAttributes=ipfsContentType";
23522
+ const productTypesEndpoint = "/product-types";
23523
23523
  return this.sendRequest(productTypesEndpoint);
23524
23524
  }
23525
23525
  /**