Skip to content

Commit

Permalink
Merge pull request #472 from paypal/add-dataJsSdkLibrary
Browse files Browse the repository at this point in the history
Add dataJsSdkLibrary to PayPalScriptDataAttributes
  • Loading branch information
nbierdeman authored Mar 20, 2024
2 parents 3084ae4 + 076881a commit 16e4f0e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/sweet-ants-fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@paypal/paypal-js": patch
---

Add dataJsSdkLibrary to PayPalScriptDataAttributes
1 change: 1 addition & 0 deletions packages/paypal-js/types/script-options.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ interface PayPalScriptDataAttributes {
dataClientToken?: string;
dataCspNonce?: string;
dataClientMetadataId?: string;
dataJsSdkLibrary?: string;
// loadScript() supports an array and will convert it
// to the correct dataMerchantId string values
dataMerchantId?: string[] | string;
Expand Down

0 comments on commit 16e4f0e

Please sign in to comment.