marker-io / browser-sdk

Marker.io browser SDK
MIT License
8 stars 8 forks source link

Type error with setCustomData #21

Closed eyezick closed 11 months ago

eyezick commented 1 year ago

Version 0.16.0

The error is : TS2339: Property 'setCustomData' does not exist on type 'MarkerSdk'.

Code sample below:

const widget = await markerSDK.loadWidget({
    project: 'xxxxxxxxxxxxxxxxxxxx',
  });
  widget.setCustomData({
    userName,
  });
Yuripetusko commented 1 year ago

Getting the same too