| Component | Description | Model/Datasheet |
| F1 | 250V 200mA fast-blow | Bel Fuse MRF 200 (https://www.mouser.com/datasheet/2/643/ds-CP-mrf-series-1313120.pdf) |
| C1 | 305V .33uF X2 capacitor | TDK B32932A3334K000 (https://product.tdk.com/info/en/documents/data_sheet/20/20/ds/MKT_B32932_936.pdf) |
| R1 | 500V 68R 1W Wirewound | TE EP1WS68RJ |
| R2, R3 | 250V 470k 1/4W | Yageo MFR-25FTE52-470K |
| DB1 | 800V 2A rectifier | Vishay 2W08G (https://www.mouser.com/datasheet/2/427/2w005g-1767893.pdf) |
| D2 | 39V 600W TVS | Littelfuse TP6KE39CA (https://www.mouser.com/datasheet/2/240/Littelfuse_TVS_Diode_TP6KE_Datasheet.pdf-587274.pdf) |
| C2 | 63V 47uF Electrolytic | Wurth 860020773013 (https://www.mouser.com/datasheet/2/445/860020773013-1725411.pdf) |
| COB | 34.2V 80mA LED module | Luminus CXM-3-30-90-36-AC40-F5-3 (https://www.mouser.com/datasheet/2/245/Luminus_CXM-3_GEN4_Datasheet-1666986.pdf) |
Both TVS and Zener regulators can be used as voltage regulators, but the TVS tube Zener breakdown current is smaller. The voltage regulation greater than 10V is only 1mA. Relatively, the Zener diode breakdown current is much larger, but Zener Diode voltage regulation accuracy can be done relatively high.
D2 Not needed
C2 use only if LED must have pure DC, normally LED is fine for illumination with unfiltered DC.
In addition to smoothing out the flicker, it also limits the current surge through the LED. Even with R1, the peak current through the LED will be over 2A, if the power were to be applied, during the peak mains voltage, which could destroy it. C2 will bypass the LED, when the power is first applied, so no current will flow through the LED, until it charges up.C2 use only if LED must have pure DC, normally LED is fine for illumination with unfiltered DC.
Omit C2 if you enjoy flicker, otherwise keep it.
I think usually there's a resistor in series with the LEDs and one in parallel with C2, e.g.:The additional series resistor, reduces flicker slightly, at the expense of slightly higher losses. The parallel resistor ensures the LED doesn't glow dimly, due to the tiny current flowing through the stray capacitance in the wiring and should also help the capacitor to protect the LED from current surges, if the LED is turned on and off fairly quickly.
https://www.techliminals.com/electronics/5-5w-led-light-bulb-schematic.php (https://www.techliminals.com/electronics/5-5w-led-light-bulb-schematic.php)