Skip to content

Releases: defold/extension-webmonetization

Updated to support Defold 1.8.0

15 Apr 07:58
2abe1f7
Compare
Choose a tag to compare

CHANGE: This version works on Defold 1.8.0 and above

Updated to support Defold 1.4.0

02 Nov 14:11
44c6944
Compare
Choose a tag to compare

CHANGE: This version works on Defold 1.4.0 and above

Updated string allocation code

13 May 09:27
1317575
Compare
Choose a tag to compare

FIX: Updated string allocation function

Updated to support latest version of Emscripten

28 Dec 22:52
Compare
Choose a tag to compare

BREAKING CHANGE: Updated to support latest version of Emscripten. Requires Defold 1.2.178

Fixed crash if document.monetization is undefined

21 Oct 06:16
Compare
Choose a tag to compare
1.0.2

Early exit from event listener if webmonetization is undefined

Fixed crash when listener was unloaded

20 Oct 23:09
Compare
Choose a tag to compare
1.0.1

Improved example. Fixed invalid callback error.

Include event details in listener response

14 Oct 14:47
Compare
Choose a tag to compare

NEW: The event listener now also returns the event details. Example:

webmonetization.set_listener(function(self, event, details)
    pprint(details)
end)

Details table:

{
  paymentPointer = "$ilp.uphold.com/QkG86UgXzKq8",
  assetScale = 9,
  amount = "26009",
  requestId = "a1f728aa-21e0-4376-ae99-0ccb22642956",
  assetCode = "XRP"
}