paste-dat icon indicating copy to clipboard operation
paste-dat copied to clipboard

Remove archive.commit() depreciated method?

Open halas opened this issue 7 years ago • 1 comments

There is a console warning: The DatArchive commit() API has been deprecated. as indeed it is listed as depreciated method here dat://beakerbrowser.com/docs/apis/dat#commit Although it is not clear to me what this method did. When I removed this line: https://github.com/taravancil/paste-dat/blob/49ca096edeca3e4ec9c0c4b70738f6d200581878/index.js#L43 All seemed to work fine.

halas avatar Nov 06 '18 00:11 halas

On irc @pfrazeee clarified this can be probably safely removed. I made a PR: https://github.com/taravancil/paste-dat/pull/21

halas avatar Nov 07 '18 10:11 halas