The methods triggering the error are new in Mappedin JS v6. It is still in a beta version. If you’ve added the latest version of Mappedin JS, version 5 would be used and doesn’t have those methods. To fix, add Mappedin JS using the beta tag like:
yarn add @mappedin/mappedin-js@beta
Note that while the library is still versioned as beta it can be used in production and is recommended for new apps. Its features are production ready, however there are are a couple of features that exist in v5 (mainly Dynamic Focus) that are not yet available in v6. Overall v6 is more feature rich (it has many new features). Once we have released a version with the intended feature parity we will remove the beta tag.