@tolgee/core 5.19.0 → 5.19.1-prerelease.e51a5792.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.
@@ -79,7 +79,9 @@ export type WrapperMiddleware = {
79
79
  unwrap: WrapperUnwrapFunction;
80
80
  wrap: WrapperWrapFunction;
81
81
  getTextXPath: () => string;
82
+ testTextNode: (node: Text) => boolean;
82
83
  getAttributeXPath: WrapperAttributeXPathGetter;
84
+ testAttribute: (node: Attr) => boolean;
83
85
  };
84
86
  export type FormatterMiddlewareFormatParams = {
85
87
  translation: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tolgee/core",
3
- "version": "5.19.0",
3
+ "version": "5.19.1-prerelease.e51a5792.0",
4
4
  "description": "Library providing ability to translate messages directly in context of developed application.",
5
5
  "main": "./dist/tolgee.cjs.js",
6
6
  "module": "./dist/tolgee.esm.js",
@@ -69,5 +69,5 @@
69
69
  "access": "public"
70
70
  },
71
71
  "sideEffects": false,
72
- "gitHead": "752db381e10e1c8571d29133a296c89cddf93b60"
72
+ "gitHead": "7f2416f020b804ea011a6a2ee0225cffa0b9227c"
73
73
  }
@@ -119,7 +119,9 @@ export type WrapperMiddleware = {
119
119
  unwrap: WrapperUnwrapFunction;
120
120
  wrap: WrapperWrapFunction;
121
121
  getTextXPath: () => string;
122
+ testTextNode: (node: Text) => boolean;
122
123
  getAttributeXPath: WrapperAttributeXPathGetter;
124
+ testAttribute: (node: Attr) => boolean;
123
125
  };
124
126
 
125
127
  export type FormatterMiddlewareFormatParams = {