@unchainedshop/api 2.7.1 → 2.7.3

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.
@@ -52,7 +52,7 @@ export default [
52
52
  code: String
53
53
  order: Order!
54
54
  interface: DiscountInterface
55
- total: Price!
55
+ total(useNetPrice: Boolean = false): Price!
56
56
  discounted: [OrderDiscountable!]
57
57
  }
58
58
  `,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unchainedshop/api",
3
- "version": "2.7.1",
3
+ "version": "2.7.3",
4
4
  "main": "lib/api-index.js",
5
5
  "exports": {
6
6
  ".": "./lib/api-index.js",
@@ -48,11 +48,11 @@
48
48
  },
49
49
  "dependencies": {
50
50
  "@metamask/eth-sig-util": "^7.0.1",
51
- "@unchainedshop/core": "^2.7.1",
52
- "@unchainedshop/events": "^2.7.1",
53
- "@unchainedshop/logger": "^2.7.1",
54
- "@unchainedshop/roles": "^2.7.1",
55
- "@unchainedshop/utils": "^2.7.1",
51
+ "@unchainedshop/core": "^2.7.3",
52
+ "@unchainedshop/events": "^2.7.3",
53
+ "@unchainedshop/logger": "^2.7.3",
54
+ "@unchainedshop/roles": "^2.7.3",
55
+ "@unchainedshop/utils": "^2.7.3",
56
56
  "accounting": "0.4.1",
57
57
  "dataloader": "^2.2.2",
58
58
  "graphql-scalars": "^1.22.4",
@@ -65,7 +65,7 @@
65
65
  "@types/graphql-upload": "^16.0.7",
66
66
  "@types/locale": "^0.1.4",
67
67
  "@types/node": "^20.11.17",
68
- "@unchainedshop/types": "^2.7.1",
68
+ "@unchainedshop/types": "^2.7.3",
69
69
  "express": "^4.18.2",
70
70
  "jest": "^29.7.0",
71
71
  "ts-jest": "^29.1.2",
@@ -52,7 +52,7 @@ export default [
52
52
  code: String
53
53
  order: Order!
54
54
  interface: DiscountInterface
55
- total: Price!
55
+ total(useNetPrice: Boolean = false): Price!
56
56
  discounted: [OrderDiscountable!]
57
57
  }
58
58
  `,