By Monday, Kyrie Irving’s No. 11 Celtics’ gear was being sold on NBA.com.

That same day, Jae Crowder was photographed at Georgia Tech working out in a Cavaliers jersey with Josh Okogie, a Yellow Jackets freshman last season.

But it took until Wednesday night for the Cavaliers and Celtics to finalize terms of their Aug. 22 trade. Boston sweetened the deal with a second-round pick from the Miami Heat in 2020, a league source confirmed to the Beacon Journal.

The completion of the trade was initially reported by Adrian Wojnarowski of ESPN.

Four-time All-Star Irving was sent to the Celtics for two-time All-Star point guard Isaiah Thomas, small forward Crowder, center Ante Zizic and Brooklyn’s unprotected first-round pick in 2018.

Wojnarowski suggested the Cavs could void the trade after Thomas flew to Cleveland Friday for his medical workup. The Cavs were concerned about the torn labrum in Thomas’ right hip after seeing the results of his physical, believing the Celtics didn’t fully disclose how much time Thomas would miss.

According to Wojnarowski, the Cavs wanted more compensation, likely a late first-round or second round pick from the Celtics’ stockpile, but the two sides didn’t begin discussions until Tuesday.

With the deadline to pass physicals at 10 a.m. Thursday, new Cavs General Manager Koby Altman manage to wrangle a little more out of Celtics president of basketball operations Danny Ainge. But the centerpiece of the deal remains Brooklyn’s first-rounder, which could be No. 1 overall, protection in case LeBron James opts out of his contract next summer and leaves Cleveland in free agency.

Thomas, 28, is in the final year of his contract and wants a max deal next summer. He told Wojnarowski on Tuesday that his injury would not have a long-term effect on his career.

“I am not damaged. I’ll be back, and I’ll be the same player,” Thomas told ESPN. “Maybe I am not going to be back as soon this season as everyone wants me to be, but I’m going to be back, and I’m going to be the same player again. No doctor has told me anything different than that.”

Thomas averaged a career-high 28.9 points last season and was a second-team All-NBA selection.

Ainge told Boston media that Thomas could miss the start of the season and admitted the injury played “some” part in the decision to trade him.

“There’s going to be probably a little bit of a delay for Isaiah as he starts the season this year,” Ainge said of Thomas’ injury during an Aug. 22 conference call. “But I think Isaiah should be fine and healthy as the season goes along.”

While the Cavs considered their options after Thomas’ physical, there were no welcoming tweets to Thomas, Crowder and Zizic from James or his teammates, although James ranted on Twitter about a few Celtics fans who had burned Thomas’ jersey.

The Cavs will hold media day on Sept. 25 and practice the next day, with the season opening against the Celtics at Quicken Loans Arena on Oct. 17.