That seems to be true. Dumping the result of history
gives me:
getAllPropertyNames(obj) = rawItem,constructor,averageBetween,averageSince,changedBetween,changedSince,countBetween,countSince,countStateChangesBetween,countStateChangesSince,deltaBetween,deltaSince,deviationBetween,deviationSince,evolutionRate,evolutionRateBetween,evolutionRateSince,getAllStatesBetween,getAllStatesSince,historicState,lastUpdate,latestState,maximumBetween,maximumSince,minimumBetween,minimumSince,persist,previousState,sumBetween,sumSince,updatedBetween,updatedSince,varianceBetween,varianceSince,__proto__,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf,__defineGetter__,__defineSetter__,__lookupGetter__,__lookupSetter__
So on my system the js-library version doesn’t have persistedState
either. There is definitely something up with the current state of the docs.
Ah. Looking at the repo:
The docs have been updated in the last few days to document the new breaking changes to exactly the system you are trying to work with. Looks like a bunch of the new persistence features will be available soon, (under the persistence
object), but I’m not sure what the plan or timeline is for the release of those features.
I don’t know if there is a way for you to view an older version of the docs page.