diff --git a/.changeset/breezy-fishes-act.md b/.changeset/breezy-fishes-act.md deleted file mode 100644 index 2b757f1e..00000000 --- a/.changeset/breezy-fishes-act.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@paypal/paypal-js": minor ---- - -Add new types for paypal-guest-payments component diff --git a/.changeset/calm-dodos-win.md b/.changeset/calm-dodos-win.md deleted file mode 100644 index d18d7f07..00000000 --- a/.changeset/calm-dodos-win.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@paypal/react-paypal-js": minor -"@paypal/paypal-js": minor ---- - -Upgrade react-paypal-js Typescript version to v5.3.3 and update build configuration. diff --git a/.changeset/deep-pumas-sip.md b/.changeset/deep-pumas-sip.md deleted file mode 100644 index cf0fe8d6..00000000 --- a/.changeset/deep-pumas-sip.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@paypal/react-paypal-js": patch -"@paypal/paypal-js": patch ---- - -Enhancing the Paypal and PayLater hooks to handle redirect and direct app switch presentation modes. diff --git a/.changeset/dirty-seas-clean.md b/.changeset/dirty-seas-clean.md deleted file mode 100644 index 0fcc2d81..00000000 --- a/.changeset/dirty-seas-clean.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@paypal/react-paypal-js": minor -"@paypal/paypal-js": minor ---- - -Add V6 instance provider and context hook diff --git a/.changeset/dry-bobcats-count.md b/.changeset/dry-bobcats-count.md deleted file mode 100644 index d7130eb3..00000000 --- a/.changeset/dry-bobcats-count.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@paypal/paypal-js": patch ---- - -Update v6 sdk presentation mode props types. diff --git a/.changeset/eleven-cats-battle.md b/.changeset/eleven-cats-battle.md deleted file mode 100644 index 57e18283..00000000 --- a/.changeset/eleven-cats-battle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@paypal/paypal-js": patch ---- - -chore: add build-and-deploy-docs github actions workflow diff --git a/.changeset/fair-yaks-impress.md b/.changeset/fair-yaks-impress.md deleted file mode 100644 index d5ec1989..00000000 --- a/.changeset/fair-yaks-impress.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@paypal/paypal-js": patch ---- - -feat: use typedoc for generating v6 public interface documentation diff --git a/.changeset/fuzzy-parrots-invent.md b/.changeset/fuzzy-parrots-invent.md deleted file mode 100644 index f7ded14b..00000000 --- a/.changeset/fuzzy-parrots-invent.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@paypal/paypal-js": patch ---- - -feat: use tsdoc for v6 public interface diff --git a/.changeset/heavy-badgers-care.md b/.changeset/heavy-badgers-care.md deleted file mode 100644 index e4f95b7e..00000000 --- a/.changeset/heavy-badgers-care.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@paypal/react-paypal-js": patch ---- - -Adds an early resolve to loadCoreSdkScript if a v6 core script already exists. diff --git a/.changeset/neat-doodles-dream.md b/.changeset/neat-doodles-dream.md deleted file mode 100644 index 43ac2517..00000000 --- a/.changeset/neat-doodles-dream.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@paypal/paypal-js": patch ---- - -Updated the properties on the find eligible methods options type. diff --git a/.changeset/polite-mirrors-applaud.md b/.changeset/polite-mirrors-applaud.md deleted file mode 100644 index 2647ec43..00000000 --- a/.changeset/polite-mirrors-applaud.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@paypal/paypal-js": patch ---- - -feat: optimize docs diff --git a/.changeset/pretty-penguins-doubt.md b/.changeset/pretty-penguins-doubt.md deleted file mode 100644 index 65619ffe..00000000 --- a/.changeset/pretty-penguins-doubt.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@paypal/paypal-js": patch ---- - -feat: add version to PayPalV6Namespace diff --git a/.changeset/quick-lizards-help.md b/.changeset/quick-lizards-help.md deleted file mode 100644 index c833c5f3..00000000 --- a/.changeset/quick-lizards-help.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@paypal/react-paypal-js": patch -"@paypal/paypal-js": patch ---- - -Refactor paypal provider test utils. diff --git a/.changeset/ripe-zoos-stick.md b/.changeset/ripe-zoos-stick.md deleted file mode 100644 index 80cdc06f..00000000 --- a/.changeset/ripe-zoos-stick.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@paypal/react-paypal-js": patch -"@paypal/paypal-js": patch ---- - -Update presentation mode options types and integration. diff --git a/.changeset/shiny-wasps-start.md b/.changeset/shiny-wasps-start.md deleted file mode 100644 index 2f0d03a5..00000000 --- a/.changeset/shiny-wasps-start.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@paypal/paypal-js": patch ---- - -Update loadCoreSdkScript function to handle data-namespace attribute. diff --git a/.changeset/shy-kids-juggle.md b/.changeset/shy-kids-juggle.md deleted file mode 100644 index d7d9315c..00000000 --- a/.changeset/shy-kids-juggle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@paypal/paypal-js": patch ---- - -Refactor loadCoreSdkScript namespace retrieval. diff --git a/.changeset/shy-nails-admire.md b/.changeset/shy-nails-admire.md deleted file mode 100644 index a845151c..00000000 --- a/.changeset/shy-nails-admire.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/.changeset/silver-turkeys-hug.md b/.changeset/silver-turkeys-hug.md deleted file mode 100644 index 698cb961..00000000 --- a/.changeset/silver-turkeys-hug.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@paypal/paypal-js": patch ---- - -feat: add paypal copyright to docs footers diff --git a/.changeset/smooth-dolphins-approve.md b/.changeset/smooth-dolphins-approve.md deleted file mode 100644 index 9106af37..00000000 --- a/.changeset/smooth-dolphins-approve.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@paypal/paypal-js": patch ---- - -feat: add jsdoc comments to v6 public interface types diff --git a/.changeset/tame-states-return.md b/.changeset/tame-states-return.md deleted file mode 100644 index f7f958c6..00000000 --- a/.changeset/tame-states-return.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@paypal/react-paypal-js": patch ---- - -Fix lint warnings. diff --git a/.changeset/thick-books-lie.md b/.changeset/thick-books-lie.md deleted file mode 100644 index 22ef6938..00000000 --- a/.changeset/thick-books-lie.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@paypal/paypal-js": minor ---- - -simplify createInstance generic type for v6 diff --git a/.changeset/true-groups-like.md b/.changeset/true-groups-like.md deleted file mode 100644 index b49419aa..00000000 --- a/.changeset/true-groups-like.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@paypal/react-paypal-js": major ---- - -Updated v6 SDK React error handling diff --git a/.changeset/two-spoons-shop.md b/.changeset/two-spoons-shop.md deleted file mode 100644 index c0def8ca..00000000 --- a/.changeset/two-spoons-shop.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@paypal/paypal-js": patch ---- - -chore: docs updates diff --git a/package-lock.json b/package-lock.json index 267d90e5..bb8e48bc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -40388,7 +40388,7 @@ }, "packages/paypal-js": { "name": "@paypal/paypal-js", - "version": "9.0.1", + "version": "9.1.0", "license": "Apache-2.0", "dependencies": { "promise-polyfill": "^8.3.0" @@ -40938,10 +40938,10 @@ }, "packages/react-paypal-js": { "name": "@paypal/react-paypal-js", - "version": "8.9.2", + "version": "9.0.0", "license": "Apache-2.0", "dependencies": { - "@paypal/paypal-js": "^9.0.0", + "@paypal/paypal-js": "^9.1.0", "@paypal/sdk-constants": "^1.0.122" }, "devDependencies": { diff --git a/packages/paypal-js/CHANGELOG.md b/packages/paypal-js/CHANGELOG.md index 4bb38394..1baf56b4 100644 --- a/packages/paypal-js/CHANGELOG.md +++ b/packages/paypal-js/CHANGELOG.md @@ -1,5 +1,32 @@ # Changelog +## 9.1.0 + +### Minor Changes + +- 16b2dfe: Add new types for paypal-guest-payments component +- a1c7246: Upgrade react-paypal-js Typescript version to v5.3.3 and update build configuration. +- a1c7246: Add V6 instance provider and context hook +- 6539e8e: simplify createInstance generic type for v6 + +### Patch Changes + +- bee5716: Enhancing the Paypal and PayLater hooks to handle redirect and direct app switch presentation modes. +- 45b78ce: Update v6 sdk presentation mode props types. +- b2cbae5: chore: add build-and-deploy-docs github actions workflow +- 036f31b: feat: use typedoc for generating v6 public interface documentation +- 6d5e590: feat: use tsdoc for v6 public interface +- 6a745d7: Updated the properties on the find eligible methods options type. +- acc3ba2: feat: optimize docs +- cfb9887: feat: add version to PayPalV6Namespace +- a1c7246: Refactor paypal provider test utils. +- eae3d6c: Update presentation mode options types and integration. +- 249f1e3: Update loadCoreSdkScript function to handle data-namespace attribute. +- 6d406fd: Refactor loadCoreSdkScript namespace retrieval. +- c41dab4: feat: add paypal copyright to docs footers +- 1599832: feat: add jsdoc comments to v6 public interface types +- 03b0069: chore: docs updates + ## 9.0.1 ### Patch Changes diff --git a/packages/paypal-js/package.json b/packages/paypal-js/package.json index f345fcd0..96e31be4 100644 --- a/packages/paypal-js/package.json +++ b/packages/paypal-js/package.json @@ -1,6 +1,6 @@ { "name": "@paypal/paypal-js", - "version": "9.0.1", + "version": "9.1.0", "description": "Loading wrapper and TypeScript types for the PayPal JS SDK", "main": "index.js", "module": "dist/esm/paypal-js.js", diff --git a/packages/react-paypal-js/CHANGELOG.md b/packages/react-paypal-js/CHANGELOG.md index e88ee118..9c97fe06 100644 --- a/packages/react-paypal-js/CHANGELOG.md +++ b/packages/react-paypal-js/CHANGELOG.md @@ -1,5 +1,44 @@ # Changelog +## 9.0.0 + +### Major Changes + +- 91b96c1: Updated v6 SDK React error handling + +### Minor Changes + +- a1c7246: Upgrade react-paypal-js Typescript version to v5.3.3 and update build configuration. +- a1c7246: Add V6 instance provider and context hook + +### Patch Changes + +- bee5716: Enhancing the Paypal and PayLater hooks to handle redirect and direct app switch presentation modes. +- a1c7246: Adds an early resolve to loadCoreSdkScript if a v6 core script already exists. +- a1c7246: Refactor paypal provider test utils. +- eae3d6c: Update presentation mode options types and integration. +- 22029d4: Fix lint warnings. +- Updated dependencies [16b2dfe] +- Updated dependencies [a1c7246] +- Updated dependencies [bee5716] +- Updated dependencies [a1c7246] +- Updated dependencies [45b78ce] +- Updated dependencies [b2cbae5] +- Updated dependencies [036f31b] +- Updated dependencies [6d5e590] +- Updated dependencies [6a745d7] +- Updated dependencies [acc3ba2] +- Updated dependencies [cfb9887] +- Updated dependencies [a1c7246] +- Updated dependencies [eae3d6c] +- Updated dependencies [249f1e3] +- Updated dependencies [6d406fd] +- Updated dependencies [c41dab4] +- Updated dependencies [1599832] +- Updated dependencies [6539e8e] +- Updated dependencies [03b0069] + - @paypal/paypal-js@9.1.0 + ## 8.9.2 ### Patch Changes diff --git a/packages/react-paypal-js/package.json b/packages/react-paypal-js/package.json index ee076684..e439d085 100644 --- a/packages/react-paypal-js/package.json +++ b/packages/react-paypal-js/package.json @@ -1,6 +1,6 @@ { "name": "@paypal/react-paypal-js", - "version": "8.9.2", + "version": "9.0.0", "description": "React components for the PayPal JS SDK", "keywords": [ "react", @@ -59,7 +59,7 @@ }, "homepage": "https://paypal.github.io/react-paypal-js/", "dependencies": { - "@paypal/paypal-js": "^9.0.0", + "@paypal/paypal-js": "^9.1.0", "@paypal/sdk-constants": "^1.0.122" }, "devDependencies": {