@retailcrm/embed-ui 0.5.23-alpha.4 → 0.5.23-alpha.6

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/CHANGELOG.md CHANGED
@@ -1,6 +1,20 @@
1
1
  # Changelog
2
2
 
3
3
 
4
+ ## [0.5.23-alpha.6](https://github.com/retailcrm/embed-ui/compare/v0.5.23-alpha.5...v0.5.23-alpha.6) (2025-07-22)
5
+
6
+ ### Features
7
+
8
+ * **v1-contexts:** Added method for changing order items' manual discounts ([ff23336](https://github.com/retailcrm/embed-ui/commit/ff23336c314607c075ee1ea03c1902df92bfac34))
9
+
10
+ ### Bug Fixes
11
+
12
+ * Arguments names of changeItemQuantity action ([520a575](https://github.com/retailcrm/embed-ui/commit/520a575ef091689b5489cce1546a22a934bdfcdd))
13
+ ## [0.5.23-alpha.5](https://github.com/retailcrm/embed-ui/compare/v0.5.23-alpha.4...v0.5.23-alpha.5) (2025-07-21)
14
+
15
+ ### Bug Fixes
16
+
17
+ * **v1-contexts:** Returning undefined instead of throwing error if unknown method was requested ([9f0296e](https://github.com/retailcrm/embed-ui/commit/9f0296e5e2cdb9c1b46ae0555c81823c8372a6ef))
4
18
  ## [0.5.23-alpha.4](https://github.com/retailcrm/embed-ui/compare/v0.5.23-alpha.3...v0.5.23-alpha.4) (2025-07-20)
5
19
 
6
20
  ### ⚠ BREAKING CHANGES
package/dist/meta.json CHANGED
@@ -632,6 +632,25 @@
632
632
  "ru-RU": "Изменяет значение типа цены товарной позиции, изменяет цену, если новый тип цены не пуст"
633
633
  }
634
634
  },
635
+ {
636
+ "name": "changeItemDiscount",
637
+ "arguments": [
638
+ {
639
+ "name": "index",
640
+ "type": "number"
641
+ },
642
+ {
643
+ "name": "discount",
644
+ "type": "{ amount: number|undefined, percent: number|undefined }"
645
+ }
646
+ ],
647
+ "returns": "Promise<void>",
648
+ "description": {
649
+ "en-GB": "Changes the discount value of an item",
650
+ "es-ES": "Cambia el valor del descuento de un artículo",
651
+ "ru-RU": "Изменяет значение скидки товарной позиции"
652
+ }
653
+ },
635
654
  {
636
655
  "name": "changeItemQuantity",
637
656
  "arguments": [
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@retailcrm/embed-ui",
3
3
  "type": "module",
4
- "version": "0.5.23-alpha.4",
4
+ "version": "0.5.23-alpha.6",
5
5
  "description": "API and components for creating RetailCRM UI extensions",
6
6
  "repository": "git@github.com:retailcrm/embed-ui.git",
7
7
  "author": "RetailDriverLLC <integration@retailcrm.ru>",
@@ -40,15 +40,15 @@
40
40
  "@omnicajs/symfony-router": "^1.0.0",
41
41
  "@omnicajs/vue-remote": "^0.2.5",
42
42
  "@remote-ui/rpc": "^1.4.5",
43
- "@retailcrm/embed-ui-v1-contexts": "^0.5.23-alpha.4",
44
- "@retailcrm/embed-ui-v1-types": "^0.5.23-alpha.4"
43
+ "@retailcrm/embed-ui-v1-contexts": "^0.5.23-alpha.6",
44
+ "@retailcrm/embed-ui-v1-types": "^0.5.23-alpha.6"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@eslint/eslintrc": "^3.0.2",
48
48
  "@eslint/js": "^9.13.0",
49
49
  "@modulify/git-toolkit": "^0.0.2",
50
50
  "@modulify/pkg": "^1.0.1",
51
- "@retailcrm/embed-ui-v1-testing": "^0.5.23-alpha.4",
51
+ "@retailcrm/embed-ui-v1-testing": "^0.5.23-alpha.6",
52
52
  "@types/git-semver-tags": "^7.0.0",
53
53
  "@types/node": "^22.7.9",
54
54
  "@types/semver": "^7.5.8",