The following changes are important to keep in mind when upgrading from
@mapcreator/maps4news
to @mapcreator/api
.
JobMonitor
,JobMonitorRow
andJobMonitorFilter
classes have been removedPaginatedResourceWrapper
andResourceCache
classes have been removed- This also removes the
PaginatedResourceListing::wrap
andSimpleResourceProxy::listAndWrap
methods
- This also removes the
Maps4News
class has been renamed toMapcreator
- Most methods that return Promises can now be canceled using the
CancelablePromise
type axios
has been deprecated in favor ofky
. This means that calls likeapi.axios.get()
need to be rewritten