No Cherokee (or any Jeep, IIRC, I know no XJs or MJs for sure) came with a D30 rear. It should probably be a Chrysler 8.25. That would be a good axle combo, but I’d only pick them up if they are 4.10s.
It would have come from the factory with 4.10s if it’s a 4cyl 5 speed rig. 4cyl autos had 4.56s, 4cyl 4 speeds has 3.55, 4.0 autos had 3.55s, and 4.0 5 speeds had 3.07s. Some XJs with the towing package had 3.73s, I’ve heard.
You will have to weld new spring perches on the XJ axle, but that will be the case with most axles.