Rob-
I think most of the old shellbacks would agree that a "shanty" is a "chantey" if and only if it were used to help do work aboard ship. The issue of the composer for the verses is not relevant, be he tinker, tailer, candlestick-maker or whatever.
Cheerily,
Charley Noble