Skip to content

Conversation

@IDubuque
Copy link
Contributor

@IDubuque IDubuque commented Nov 9, 2023

Problem solved

Merging @paperxyz/react-client-sdk into @thirdweb-dev/react

Changes made

  • Migrate files from @paperxyz/react-client-sdk to @thirdweb-dev/react
  • Update @paperxyz/react-client-sdk files to use @thirdweb-dev/payments

How to test

  • Checkout component in paper-web sdk/2022-08-12/examples/checkout-with-card
    transactionId: be48be00-868d-4973-abe3-9851f3e8d136
    iframe: data-thirdweb-sdk-version="@thirdweb-dev/[email protected]
    transaction hash
  • Checkout with react component on staging
    • confirmed react package used: data-thirdweb-sdk-version="@thirdweb-dev/[email protected]"
    • confirmed payments package used: data-thirdweb-sdk-version="@thirdweb-dev/[email protected]"
    • confirmed successful transaction (transactionId: 9d3884b4-7416-484e-b232-3220e915f078)
  • Checkout with react sdk on local react web app
    • confirmed react package used: data-thirdweb-sdk-version="@thirdweb-dev/[email protected]"
    • confirmed payments package used: data-thirdweb-sdk-version="@thirdweb-dev/[email protected]"
    • confirmed successful transaction (transactionId: 79bbf524-a2da-47c8-af5b-3caa094e982a)
  • Checkout with react component on local next ts app
    • confirmed react package used: data-thirdweb-sdk-version="@thirdweb-dev/[email protected]"
    • confirmed payments package used: data-thirdweb-sdk-version="@thirdweb-dev/[email protected]"
    • confirmed successful transaction: (transactionId 6820fe03-1709-4ec0-a5ff-69c8da280c85)
    • confirmed customization options are same on @paperxyz/react-client-sdk and @thirdweb-dev/react
    • confirmed onError with PaperSDKError type works
  • Checkout with js-sdk createCheckout on local react web app
    • Confirmed react package used: data-thirdweb-sdk-version="@thirdweb-dev/[email protected]"
    • confirmed successful transaction (transactionId: a95b44bd-09e1-4e04-8c7e-49fe66ca03f7)
  • Checkout with js-sdk createCheckout on local next ts app
    • Confirmed react package used: data-thirdweb-sdk-version="@thirdweb-dev/[email protected]"
    • confirmed successful transaction (transactionId: d308d13e-10ce-41d6-b3f1-7b982d812a6f)

@codecov
Copy link

codecov bot commented Dec 15, 2023

Codecov Report

Attention: 9 lines in your changes are missing coverage. Please review.

Comparison is base (ae2fcf7) 67.49% compared to head (93593ed) 67.47%.
Report is 6 commits behind head on main.

Files Patch % Lines
packages/sdk/src/evm/common/verification.ts 18.18% 9 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1913      +/-   ##
==========================================
- Coverage   67.49%   67.47%   -0.02%     
==========================================
  Files         292      292              
  Lines       11010    11017       +7     
  Branches     1510     1512       +2     
==========================================
+ Hits         7431     7434       +3     
- Misses       2957     2961       +4     
  Partials      622      622              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@jnsdls jnsdls left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

initial review, I'm sure there's more but there's so much to read through here

Copy link
Member

@jnsdls jnsdls left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also add separate minor changeset for react with the changelog of the new features

@IDubuque IDubuque enabled auto-merge January 3, 2024 00:49
@IDubuque IDubuque added this pull request to the merge queue Jan 3, 2024
Merged via the queue into main with commit ed3afd4 Jan 3, 2024
@IDubuque IDubuque deleted the isaac/react_sdk_migration branch January 3, 2024 01:01
@github-actions github-actions bot mentioned this pull request Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants