@retailcrm/embed-ui 0.4.1-beta.4 → 0.4.2
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 +10 -0
- package/package.json +1 -1
- package/types/scaffolding.d.ts +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
## [0.4.2](https://github.com/retailcrm/embed-ui/compare/v0.4.1...v0.4.2) (2024-12-02)
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* Exporting types from scaffolding.d.ts ([504500f](https://github.com/retailcrm/embed-ui/commit/504500f1ed978bf965ef29e6379f5a1031e4f11b))
|
|
9
|
+
## [0.4.1](https://github.com/retailcrm/embed-ui/compare/v0.4.1-beta.4...v0.4.1) (2024-11-29)
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **v1-components:** Fallback i18n injection to null ([2c9250f](https://github.com/retailcrm/embed-ui/commit/2c9250fc2e9639404455af0be5fbc00390e586ba))
|
|
4
14
|
## [0.4.1-beta.4](https://github.com/retailcrm/embed-ui/compare/v0.4.1-beta.3...v0.4.1-beta.4) (2024-11-29)
|
|
5
15
|
|
|
6
16
|
### Bug Fixes
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@retailcrm/embed-ui",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.2",
|
|
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>",
|
package/types/scaffolding.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
export type AnyFunction = (...payload: any[]) => unknown
|
|
3
3
|
export type None = Record<string, never>
|
|
4
4
|
|
|
5
|
-
type IsExact<A, B> = A extends B ? (B extends A ? true : false) : false;
|
|
6
|
-
type IsTilda<A> = IsExact<A, '~'>;
|
|
5
|
+
export type IsExact<A, B> = A extends B ? (B extends A ? true : false) : false;
|
|
6
|
+
export type IsTilda<A> = IsExact<A, '~'>;
|
|
7
7
|
|
|
8
|
-
type If<Condition, Then, Else> = Condition extends true ? Then : Else;
|
|
8
|
+
export type If<Condition, Then, Else> = Condition extends true ? Then : Else;
|