@henry.dowling the update guide says
We are adding two new utility methods on Bubble Things:
id(): returns the Thing’s ID (synchronously – not as a promise).
and the typescript definition of BubbleThing
says
export interface BubbleThing {
//...
// NEW
/** Returns the unique ID of this Thing. */
id(): string
//...
}
But when trying actual code in a plugin id
is not a function, but just a property that has the value of the id as string.
properties.thing.id()
throws TypeError: properties.thing.id is not a function
properties.thing.id
correctly get the id of the thing.
Is this intended behavior?