@cobrastyle/adapter-dummy-data 1.0.1 → 1.1.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.
package/LICENSE CHANGED
@@ -1,6 +1,5 @@
1
1
  MIT License
2
-
3
- Copyright (c) 2026 Cobrastyle
2
+ Copyright (c) 2026 Ecomero Management AB - Cobra Style Express
4
3
 
5
4
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
5
  of this software and associated documentation files (the "Software"), to deal
package/dist/adapter.js CHANGED
@@ -214,6 +214,7 @@ export const dummyDataAdapter = {
214
214
  price: product.price.final,
215
215
  rowTotal: product.price.final * input.quantity,
216
216
  rowTotalIncludingTax: product.price.final * input.quantity * 1.08,
217
+ rowTotalWithDiscount: product.price.final * input.quantity,
217
218
  currency: 'USD',
218
219
  },
219
220
  };
@@ -239,6 +240,7 @@ export const dummyDataAdapter = {
239
240
  ...item.prices,
240
241
  rowTotal: item.prices.price * input.quantity,
241
242
  rowTotalIncludingTax: item.prices.price * input.quantity * 1.08,
243
+ rowTotalWithDiscount: item.prices.price * input.quantity,
242
244
  },
243
245
  };
244
246
  }
@@ -458,6 +460,8 @@ export const dummyDataAdapter = {
458
460
  pageSize,
459
461
  totalPages: Math.ceil(filtered.length / pageSize),
460
462
  },
463
+ filters: [],
464
+ sortOptions: [],
461
465
  suggestions: [],
462
466
  };
463
467
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cobrastyle/adapter-dummy-data",
3
- "version": "1.0.1",
3
+ "version": "1.1.0",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "exports": {
@@ -13,11 +13,11 @@
13
13
  "dist"
14
14
  ],
15
15
  "dependencies": {
16
- "@cobrastyle/shared-types": "1.0.1"
16
+ "@cobrastyle/shared-types": "1.1.0"
17
17
  },
18
18
  "devDependencies": {
19
19
  "typescript": "^5.3.0",
20
- "@cobrastyle/adapter-conformance": "1.0.1"
20
+ "@cobrastyle/adapter-conformance": "1.0.2"
21
21
  },
22
22
  "license": "MIT",
23
23
  "repository": {