InteractiveAdvertisingBureau / Global-Privacy-Platform

IAB Tech Lab Global Privacy Platform specification
74 stars 38 forks source link

Update to example stub code to support passing command return values to iframes #49

Closed nealrosen closed 1 year ago

nealrosen commented 1 year ago

This is related to Issue 46

Currently, the example code assumes that all commands support and only respond via callback functions. This is not the case as all commands directly return values and most do not support callbacks.

This change in this PR is a proposed solution for exposing the return values from commands to requests originating within iframes. Also in this change are a couple syntax/typo fixes in the example stub code

nealrosen commented 1 year ago

Closing this issue. A new PR should be created once a solution to Issue #51 is determined