Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: DePayFi/web3-wallets
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v17.4.7
Choose a base ref
...
head repository: DePayFi/web3-wallets
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 5 commits
  • 15 files changed
  • 1 contributor

Commits on Oct 8, 2024

  1. v17.4.8: add failed callback to World App

    0xNe0x1 committed Oct 8, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    0xNe0x1 0xNe0x1
    Copy the full SHA
    27b73b9 View commit details

Commits on Oct 10, 2024

  1. v17.5.0: add accepted to World App

    0xNe0x1 committed Oct 10, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    0xNe0x1 0xNe0x1
    Copy the full SHA
    8317ce3 View commit details

Commits on Oct 11, 2024

  1. updated v3 router

    0xNe0x1 committed Oct 11, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    0xNe0x1 0xNe0x1
    Copy the full SHA
    691b5d5 View commit details

Commits on Dec 4, 2024

  1. v17.6.1: return World App connect rejection reason

    0xNe0x1 committed Dec 4, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    0xNe0x1 0xNe0x1
    Copy the full SHA
    cc218f1 View commit details
  2. v17.6.2: add async wallet auth too

    0xNe0x1 committed Dec 4, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    0xNe0x1 0xNe0x1
    Copy the full SHA
    9200c6d View commit details
Showing with 125 additions and 59 deletions.
  1. +5 −3 README.md
  2. +5 −5 demo.html
  3. +1 −1 dev.html
  4. +20 −8 dist/esm/index.evm.js
  5. +20 −8 dist/esm/index.js
  6. +3 −1 dist/esm/index.solana.js
  7. +20 −8 dist/umd/index.evm.js
  8. +20 −8 dist/umd/index.js
  9. +3 −1 dist/umd/index.solana.js
  10. +2 −2 package.evm.json
  11. +3 −3 package.json
  12. +1 −1 package.solana.json
  13. +3 −1 src/Transaction.js
  14. +15 −5 src/wallets/WorldApp.js
  15. +4 −4 yarn.lock
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -222,11 +222,13 @@ await wallet.switchTo('bsc')

### Data Structure

`accepted: Function ()=>{}`: Callback that will be executed once the transaction has been accepted by the wallet but not sent to the network yet (e.g. relayer, World App). Has no transaction yet, as only sent can contain the transaction.

`api: Array`: Api of the contract (e.g. abi for Ethereum, Layout/Struct for Solana).

`blockchain: String`: Name of the blockchain e.g. 'ethereum'.

`failed: Function (transaction, error)=>{}`: Callback to be executed if transaction failed (e.g. reverted).
`failed: Function (transaction, error)=>{}`: Callback that will be executed once the transaction failed onchain (reverted).

`from: String`: Address of the transaction sender.

@@ -242,9 +244,9 @@ await wallet.switchTo('bsc')

`params: Object or Array`: Parameters passed to the method (EVM).

`sent: Function (transaction)=>{}`: Callback to be executed if transaction has been sent to the network.
`sent: Function (transaction)=>{}`: Callback that will be executed executed once the transaction has been sent to the network.

`succeeded: Function (transaction)=>{}`: Callback to be executed if transaction was successful and has been confirmed once by the network.
`succeeded: Function (transaction)=>{}`: Callback that will be executed once the transaction was successful and has been confirmed at least once by the network.

`to String`: Address of the contract to be transacted with (EVM).

Loading