You did not do any harm. This is in no way similar to shaking a baby. When you shake a baby their brain bounces back and forth. When you spin her,her brain goes along with her head. There is no jolt against the skull. So, please don't be frightened. If you're still anxious, call the advice nurse and ask her about it.
Gently bouncing on the knee is not dangerous, either. The brain stays with the skull. it's force that moves the brain faster than the skull that does the damage with back and forth force doing the most damage.
Tossing a baby into the air is also OK and does not result in injury unless you drop her.
Unfortunately, we seem to go from one extreme to the other. We didn't use to pay attention to shaking a baby and now we're frightened by everything that sounds like it might be similar. To really understand the whole movement thing we need to understand physics which most of us find complicated.
It might help to think about what happens to us when we move our head quickly in one direction. Spinning is moving in one direction only. So is tossing in the air. Yes, the baby comes back down but not with force. The brain stays with the skull as it moves up and then down; ie; it is not forced in the opposite direction.