@rws-framework/client 2.10.2 → 2.10.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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rws-framework/client",
3
3
  "private": false,
4
- "version": "2.10.2",
4
+ "version": "2.10.3",
5
5
  "main": "src/index.ts",
6
6
  "scripts": {
7
7
  "docs": "typedoc --tsconfig ./tsconfig.json"
@@ -5,7 +5,7 @@ import htmlSanitizer, { Transformer, IOptions } from 'sanitize-html';
5
5
  type TagsProcessorType = { [tagName: string]: string | Transformer };
6
6
  type DOMOutputType<T extends Element> = NodeListOf<T> | T | null;
7
7
 
8
- //@ts-expect-error tsconfig.json problem
8
+ //@ts-ignore
9
9
  declare let trustedTypes: TrustedTypePolicyFactory;
10
10
 
11
11
 
@@ -46,7 +46,7 @@ class DOMService extends RWSService {
46
46
  }
47
47
  });
48
48
 
49
- DOM.setHTMLPolicy(myPolicy);
49
+ DOM.setHTMLPolicy(myPolicy as any);
50
50
  }
51
51
 
52
52
  private enforceAllowedTags(htmlText: string, allowedHTMLTags: string[]): string