This is a comprehensive list of the breaking changes introduced in the minor version releases while the package is on 0.x.
setAttributes() takes one options object with the attributes under attributes, like every other method:
- await HotCodePush.setAttributes({ plan: 'enterprise', userId: '42' });
+ await HotCodePush.setAttributes({ attributes: { plan: 'enterprise', userId: '42' } });