Library used
https://www.paypal.com/sdk/js
paypal_js_sdk_v5
🐞 Describe the Bug
Adding the CSP 'require-trusted-types-for: 'script'" to a site triggers the following error when the SDK attempts to inject the PayPal button.
🤔 Expected Behavior
SDK should contain the trustedTypes.createPolicy declaration, so it can be added to the site "trusted-types" CSP declaration.
🌍 Environment
- Node.js/npm: unknown
- OS: Windows 11
- Browser: Chrome (last version)