@abyss-project/commons-front-core 21.2.0 → 21.2.1

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,5 +1,13 @@
1
1
  # Changelog — @abyss-project/commons-front-core
2
2
 
3
+ ## 21.2.1
4
+
5
+ - `getAbyssLinkWording` returns `AbyssLinkWordingKey` (its two literal keys) instead of the whole translation-key union, so a front whose own `@abyss-project/main` is older than the one commons pins still accepts the label (#701).
6
+
7
+ ## 21.2.0
8
+
9
+ - `buildAbyssRumProviderConfig` turns `propagateTraceContext` on by default: a browser call to an instrumented Abyss API carries the session's `traceparent` (#701). Peer `@abyss-project/monitor-browser` `^2.4.0`.
10
+
3
11
  ## 21.0.1
4
12
 
5
13
  - Dependencies: `@abyss-project/banking`, `@abyss-project/crypt`, `@abyss-project/form`, `@abyss-project/memories`, `@abyss-project/spotlight` and `@abyss-project/monitor` are dropped. The package imports none of them; they brought a second, older `@abyss-project/main` (1.12.0, through banking) and the server monitor SDK into every front's graph. An application that imports one of them declares it itself.
@@ -1,3 +1,5 @@
1
1
  import { ProjectLinkMode } from './project-link-mode';
2
- import { ExistingTranslationKey } from '../hooks/use-rich-intl.hook';
3
- export declare const getAbyssLinkWording: (link: ProjectLinkMode) => ExistingTranslationKey;
2
+ /** The two literal keys, not the whole key union: a front whose own `@abyss-project/main` is older
3
+ * than the one commons pins must still accept them in its `formatRichMessage`. */
4
+ export type AbyssLinkWordingKey = 'project.link.none.label' | 'project.link.project.label';
5
+ export declare const getAbyssLinkWording: (link: ProjectLinkMode) => AbyssLinkWordingKey;
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abyss-project/commons-front-core",
3
- "version": "21.2.0",
3
+ "version": "21.2.1",
4
4
  "description": "Front Core package of AbyssProject",
5
5
  "main": "dist/index.js",
6
6
  "module": "./dist/index.js",