@tallyui/connector-vendure 5.2.0 → 5.3.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/dist/index.js CHANGED
@@ -1371,6 +1371,8 @@ var createVendureConnector = (options = {}) => {
1371
1371
  name: "Vendure",
1372
1372
  description: "Connect to Vendure backends via the Admin GraphQL API",
1373
1373
  icon: void 0,
1374
+ // ADR-048: Vendure taxes each discounted line as its own TALLY-DISCOUNT row and rounds each row once.
1375
+ discountsAreTaxedRows: true,
1374
1376
  auth: vendureAuth,
1375
1377
  schemas: {
1376
1378
  products: vendureProductSchema
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tallyui/connector-vendure",
3
- "version": "5.2.0",
3
+ "version": "5.3.0",
4
4
  "type": "module",
5
5
  "description": "Vendure connector for Tally UI",
6
6
  "main": "./dist/index.js",
@@ -27,11 +27,11 @@
27
27
  "directory": "connectors/vendure"
28
28
  },
29
29
  "peerDependencies": {
30
- "@tallyui/core": "^5.2.0"
30
+ "@tallyui/core": "^5.3.0"
31
31
  },
32
32
  "devDependencies": {
33
- "@tallyui/database": "5.2.0",
34
- "@tallyui/pos": "5.2.0",
33
+ "@tallyui/database": "5.3.0",
34
+ "@tallyui/pos": "5.3.0",
35
35
  "rxdb": "17.5.0"
36
36
  },
37
37
  "scripts": {
package/src/index.ts CHANGED
@@ -54,6 +54,8 @@ export const createVendureConnector = (options: {
54
54
  name: 'Vendure',
55
55
  description: 'Connect to Vendure backends via the Admin GraphQL API',
56
56
  icon: undefined,
57
+ // ADR-048: Vendure taxes each discounted line as its own TALLY-DISCOUNT row and rounds each row once.
58
+ discountsAreTaxedRows: true,
57
59
 
58
60
  auth: vendureAuth,
59
61