zestyxyz / ads-sdk

Monetize your spatial app with Zesty
https://zesty.xyz
Other
6 stars 3 forks source link

Update URL to point at prod relay #242

Closed msub2 closed 1 month ago

msub2 commented 1 month ago

Updates networking.js to point at the prod version of the relay. Opening as draft for now because I discovered that the automatic canvas screenshotting doesn't work as expected with WebGL-context canvases (the image it grabs with .toDataURL() is empty due to how WebGL rendering works) and I still need to find a good workaround for it. Once that's figured out everything else should be in place to bump the beacon version and make the switch.

msub2 commented 1 month ago

Alright, this updates the beacon to the latest version, which adds a fallback for A-Frame scenes specifically using the default screenshot component. This should be good enough for us to get started with image previews, I've left a TODO in the else branch to look into other potential workarounds for getting a canvas preview.

msub2 commented 1 month ago

Version bump to include https://github.com/zestyxyz/dsig-beacon/commit/e321a58c159dc3a35d7aef3f35e27862e5cd07d0