The same active handler map registers send, accept, decline and cancel operations. The send path constructs an offer from the payload’s recipient and items, adds the local Steam session ID and recipient trade-link token, and POSTs to Steam with credentials included. The server receives the resulting trade ID. Actual execution remains subject to the active session, agent state and Steam’s checks; final mobile confirmation was not tested.
sih / bundle/js/background.jsOriginal line 1 · byte 531,972 · formatted 22,939–22,947
Find: dv="tradesend"
SHA-256 dffbdddffe00b8d3cbc77fd1963ce25a4513af535e92b951c9df0a5333c69c36
sih / bundle/js/background.jsOriginal line 1 · byte 1,199,292 · formatted 56,297–56,329
Find: https://steamcommunity.com/tradeoffer/new/send
SHA-256 dffbdddffe00b8d3cbc77fd1963ce25a4513af535e92b951c9df0a5333c69c36
sih / bundle/js/background.jsOriginal line 1 · byte 1,201,080 · formatted 56,397–56,408
Find: partner:s.data.recipient.steamId
SHA-256 dffbdddffe00b8d3cbc77fd1963ce25a4513af535e92b951c9df0a5333c69c36
sih / bundle/js/background.jsOriginal line 1 · byte 1,209,217 · formatted 56,806–56,825
Find: Trade send: called
SHA-256 dffbdddffe00b8d3cbc77fd1963ce25a4513af535e92b951c9df0a5333c69c36