Your H1b visa application that is pending would allow an American employer to employee you in this country as a foreign national that performs specialty work. Assuming you are outside the United States now payment to you while outside this country as a foreign contractor should not affect you H1B application process from what you have written.