Add functionality to add client reference id in the useBits as option
It would be cool to have a option to add a client reference id when creating the transaction. This would allow me to link a transaction (before create the transaction flow) to a specific item by just using the method useBits() and the new webhook.
Currently I still have to use the onTransactionComplete. To link the item to the transaction. However, if the developer’s EBS experiences an outage, it is difficult to retroactively fulfill the benefits to viewers who have already spent Bits.
I have in an extension virtually "infinite" items which can be purchased with bits that shares the same sku. In order to assign a transaction and its SKU with an item it would be great to add a client reference when creating the transaction.
e.g:
twitch.ext.bits.useBits('virtual-item', {
clientreferenceid: 'virtual-item-id'
});
This would allow me to check the requested item with the SKU via the webhook.
