@lokalise/harmony 1.31.0 → 1.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/harmony.cjs +60 -58
- package/dist/harmony.cjs.map +1 -1
- package/dist/harmony.css +21 -0
- package/dist/harmony.mjs +60 -58
- package/dist/harmony.mjs.map +1 -1
- package/dist/harmony10.cjs +51 -8
- package/dist/harmony10.cjs.map +1 -1
- package/dist/harmony10.mjs +51 -8
- package/dist/harmony10.mjs.map +1 -1
- package/dist/harmony100.cjs +19 -7
- package/dist/harmony100.cjs.map +1 -1
- package/dist/harmony100.mjs +18 -6
- package/dist/harmony100.mjs.map +1 -1
- package/dist/harmony101.cjs +12 -130
- package/dist/harmony101.cjs.map +1 -1
- package/dist/harmony101.mjs +12 -130
- package/dist/harmony101.mjs.map +1 -1
- package/dist/harmony102.cjs +18 -9
- package/dist/harmony102.cjs.map +1 -1
- package/dist/harmony102.mjs +18 -9
- package/dist/harmony102.mjs.map +1 -1
- package/dist/harmony103.cjs +6 -5
- package/dist/harmony103.cjs.map +1 -1
- package/dist/harmony103.mjs +6 -5
- package/dist/harmony103.mjs.map +1 -1
- package/dist/harmony104.cjs +129 -37
- package/dist/harmony104.cjs.map +1 -1
- package/dist/harmony104.mjs +129 -37
- package/dist/harmony104.mjs.map +1 -1
- package/dist/harmony105.cjs +12 -60
- package/dist/harmony105.cjs.map +1 -1
- package/dist/harmony105.mjs +11 -59
- package/dist/harmony105.mjs.map +1 -1
- package/dist/harmony106.cjs +5 -7
- package/dist/harmony106.cjs.map +1 -1
- package/dist/harmony106.mjs +5 -7
- package/dist/harmony106.mjs.map +1 -1
- package/dist/harmony107.cjs +41 -6
- package/dist/harmony107.cjs.map +1 -1
- package/dist/harmony107.mjs +40 -5
- package/dist/harmony107.mjs.map +1 -1
- package/dist/harmony108.cjs +61 -6
- package/dist/harmony108.cjs.map +1 -1
- package/dist/harmony108.mjs +60 -5
- package/dist/harmony108.mjs.map +1 -1
- package/dist/harmony109.cjs +7 -96
- package/dist/harmony109.cjs.map +1 -1
- package/dist/harmony109.mjs +7 -96
- package/dist/harmony109.mjs.map +1 -1
- package/dist/harmony11.cjs +8 -4
- package/dist/harmony11.cjs.map +1 -1
- package/dist/harmony11.mjs +8 -4
- package/dist/harmony11.mjs.map +1 -1
- package/dist/harmony110.cjs +7 -14
- package/dist/harmony110.cjs.map +1 -1
- package/dist/harmony110.mjs +6 -13
- package/dist/harmony110.mjs.map +1 -1
- package/dist/harmony111.cjs +6 -15
- package/dist/harmony111.cjs.map +1 -1
- package/dist/harmony111.mjs +5 -14
- package/dist/harmony111.mjs.map +1 -1
- package/dist/harmony112.cjs +6 -37
- package/dist/harmony112.cjs.map +1 -1
- package/dist/harmony112.mjs +5 -36
- package/dist/harmony112.mjs.map +1 -1
- package/dist/harmony113.cjs +62 -28
- package/dist/harmony113.cjs.map +1 -1
- package/dist/harmony113.mjs +61 -27
- package/dist/harmony113.mjs.map +1 -1
- package/dist/harmony114.cjs +87 -61
- package/dist/harmony114.cjs.map +1 -1
- package/dist/harmony114.mjs +87 -61
- package/dist/harmony114.mjs.map +1 -1
- package/dist/harmony115.cjs +18 -88
- package/dist/harmony115.cjs.map +1 -1
- package/dist/harmony115.mjs +17 -87
- package/dist/harmony115.mjs.map +1 -1
- package/dist/harmony116.cjs +97 -19
- package/dist/harmony116.cjs.map +1 -1
- package/dist/harmony116.mjs +96 -18
- package/dist/harmony116.mjs.map +1 -1
- package/dist/harmony117.cjs +12 -12
- package/dist/harmony117.cjs.map +1 -1
- package/dist/harmony117.mjs +12 -12
- package/dist/harmony117.mjs.map +1 -1
- package/dist/harmony118.cjs +13 -14
- package/dist/harmony118.cjs.map +1 -1
- package/dist/harmony118.mjs +13 -14
- package/dist/harmony118.mjs.map +1 -1
- package/dist/harmony119.cjs +34 -14
- package/dist/harmony119.cjs.map +1 -1
- package/dist/harmony119.mjs +34 -14
- package/dist/harmony119.mjs.map +1 -1
- package/dist/harmony12.cjs +5 -25
- package/dist/harmony12.cjs.map +1 -1
- package/dist/harmony12.mjs +5 -25
- package/dist/harmony12.mjs.map +1 -1
- package/dist/harmony120.cjs +27 -10
- package/dist/harmony120.cjs.map +1 -1
- package/dist/harmony120.mjs +27 -10
- package/dist/harmony120.mjs.map +1 -1
- package/dist/harmony121.cjs +12 -15
- package/dist/harmony121.cjs.map +1 -1
- package/dist/harmony121.mjs +12 -15
- package/dist/harmony121.mjs.map +1 -1
- package/dist/harmony122.cjs +13 -19
- package/dist/harmony122.cjs.map +1 -1
- package/dist/harmony122.mjs +13 -19
- package/dist/harmony122.mjs.map +1 -1
- package/dist/harmony123.cjs +14 -10
- package/dist/harmony123.cjs.map +1 -1
- package/dist/harmony123.mjs +14 -10
- package/dist/harmony123.mjs.map +1 -1
- package/dist/harmony125.cjs +4 -4
- package/dist/harmony125.mjs +4 -4
- package/dist/harmony128.cjs +10 -5
- package/dist/harmony128.cjs.map +1 -1
- package/dist/harmony128.mjs +10 -5
- package/dist/harmony128.mjs.map +1 -1
- package/dist/harmony129.cjs +15 -11
- package/dist/harmony129.cjs.map +1 -1
- package/dist/harmony129.mjs +15 -11
- package/dist/harmony129.mjs.map +1 -1
- package/dist/harmony13.cjs +25 -5
- package/dist/harmony13.cjs.map +1 -1
- package/dist/harmony13.mjs +25 -5
- package/dist/harmony13.mjs.map +1 -1
- package/dist/harmony130.cjs +17 -28
- package/dist/harmony130.cjs.map +1 -1
- package/dist/harmony130.mjs +17 -28
- package/dist/harmony130.mjs.map +1 -1
- package/dist/harmony131.cjs +10 -12
- package/dist/harmony131.cjs.map +1 -1
- package/dist/harmony131.mjs +10 -12
- package/dist/harmony131.mjs.map +1 -1
- package/dist/harmony132.cjs +12 -46
- package/dist/harmony132.cjs.map +1 -1
- package/dist/harmony132.mjs +12 -46
- package/dist/harmony132.mjs.map +1 -1
- package/dist/harmony133.cjs +33 -13
- package/dist/harmony133.cjs.map +1 -1
- package/dist/harmony133.mjs +32 -12
- package/dist/harmony133.mjs.map +1 -1
- package/dist/harmony134.cjs +17 -0
- package/dist/harmony134.cjs.map +1 -0
- package/dist/harmony134.mjs +17 -0
- package/dist/harmony134.mjs.map +1 -0
- package/dist/harmony135.cjs +9 -0
- package/dist/harmony135.cjs.map +1 -0
- package/dist/harmony135.mjs +9 -0
- package/dist/harmony135.mjs.map +1 -0
- package/dist/harmony136.cjs +49 -0
- package/dist/harmony136.cjs.map +1 -0
- package/dist/harmony136.mjs +49 -0
- package/dist/harmony136.mjs.map +1 -0
- package/dist/harmony137.cjs +15 -0
- package/dist/harmony137.cjs.map +1 -0
- package/dist/harmony137.mjs +15 -0
- package/dist/harmony137.mjs.map +1 -0
- package/dist/harmony14.cjs +5 -11
- package/dist/harmony14.cjs.map +1 -1
- package/dist/harmony14.mjs +5 -11
- package/dist/harmony14.mjs.map +1 -1
- package/dist/harmony15.cjs +9 -9
- package/dist/harmony15.cjs.map +1 -1
- package/dist/harmony15.mjs +9 -9
- package/dist/harmony15.mjs.map +1 -1
- package/dist/harmony16.cjs +9 -16
- package/dist/harmony16.cjs.map +1 -1
- package/dist/harmony16.mjs +9 -16
- package/dist/harmony16.mjs.map +1 -1
- package/dist/harmony17.cjs +16 -14
- package/dist/harmony17.cjs.map +1 -1
- package/dist/harmony17.mjs +16 -14
- package/dist/harmony17.mjs.map +1 -1
- package/dist/harmony18.cjs +13 -139
- package/dist/harmony18.cjs.map +1 -1
- package/dist/harmony18.mjs +13 -139
- package/dist/harmony18.mjs.map +1 -1
- package/dist/harmony19.cjs +141 -13
- package/dist/harmony19.cjs.map +1 -1
- package/dist/harmony19.mjs +141 -13
- package/dist/harmony19.mjs.map +1 -1
- package/dist/harmony20.cjs +13 -16
- package/dist/harmony20.cjs.map +1 -1
- package/dist/harmony20.mjs +13 -16
- package/dist/harmony20.mjs.map +1 -1
- package/dist/harmony21.cjs +10 -11
- package/dist/harmony21.cjs.map +1 -1
- package/dist/harmony21.mjs +10 -11
- package/dist/harmony21.mjs.map +1 -1
- package/dist/harmony22.cjs +16 -18
- package/dist/harmony22.cjs.map +1 -1
- package/dist/harmony22.mjs +16 -18
- package/dist/harmony22.mjs.map +1 -1
- package/dist/harmony23.cjs +17 -17
- package/dist/harmony23.cjs.map +1 -1
- package/dist/harmony23.mjs +18 -18
- package/dist/harmony23.mjs.map +1 -1
- package/dist/harmony24.cjs +19 -9
- package/dist/harmony24.cjs.map +1 -1
- package/dist/harmony24.mjs +19 -9
- package/dist/harmony24.mjs.map +1 -1
- package/dist/harmony25.cjs +7 -8
- package/dist/harmony25.cjs.map +1 -1
- package/dist/harmony25.mjs +7 -8
- package/dist/harmony25.mjs.map +1 -1
- package/dist/harmony26.cjs +11 -27
- package/dist/harmony26.cjs.map +1 -1
- package/dist/harmony26.mjs +11 -27
- package/dist/harmony26.mjs.map +1 -1
- package/dist/harmony27.cjs +22 -26
- package/dist/harmony27.cjs.map +1 -1
- package/dist/harmony27.mjs +23 -27
- package/dist/harmony27.mjs.map +1 -1
- package/dist/harmony28.cjs +28 -8
- package/dist/harmony28.cjs.map +1 -1
- package/dist/harmony28.mjs +29 -9
- package/dist/harmony28.mjs.map +1 -1
- package/dist/harmony29.cjs +10 -54
- package/dist/harmony29.cjs.map +1 -1
- package/dist/harmony29.mjs +10 -54
- package/dist/harmony29.mjs.map +1 -1
- package/dist/harmony3.cjs +3 -3
- package/dist/harmony3.mjs +3 -3
- package/dist/harmony30.cjs +50 -25
- package/dist/harmony30.cjs.map +1 -1
- package/dist/harmony30.mjs +51 -26
- package/dist/harmony30.mjs.map +1 -1
- package/dist/harmony31.cjs +27 -15
- package/dist/harmony31.cjs.map +1 -1
- package/dist/harmony31.mjs +28 -16
- package/dist/harmony31.mjs.map +1 -1
- package/dist/harmony32.cjs +16 -8
- package/dist/harmony32.cjs.map +1 -1
- package/dist/harmony32.mjs +16 -8
- package/dist/harmony32.mjs.map +1 -1
- package/dist/harmony33.cjs +8 -12
- package/dist/harmony33.cjs.map +1 -1
- package/dist/harmony33.mjs +9 -13
- package/dist/harmony33.mjs.map +1 -1
- package/dist/harmony34.cjs +14 -14
- package/dist/harmony34.cjs.map +1 -1
- package/dist/harmony34.mjs +14 -14
- package/dist/harmony34.mjs.map +1 -1
- package/dist/harmony35.cjs +4 -4
- package/dist/harmony35.cjs.map +1 -1
- package/dist/harmony35.mjs +4 -4
- package/dist/harmony35.mjs.map +1 -1
- package/dist/harmony36.cjs +6 -6
- package/dist/harmony36.cjs.map +1 -1
- package/dist/harmony36.mjs +6 -6
- package/dist/harmony36.mjs.map +1 -1
- package/dist/harmony37.cjs +6 -5
- package/dist/harmony37.cjs.map +1 -1
- package/dist/harmony37.mjs +6 -5
- package/dist/harmony37.mjs.map +1 -1
- package/dist/harmony38.cjs +6 -14
- package/dist/harmony38.cjs.map +1 -1
- package/dist/harmony38.mjs +7 -15
- package/dist/harmony38.mjs.map +1 -1
- package/dist/harmony39.cjs +15 -7
- package/dist/harmony39.cjs.map +1 -1
- package/dist/harmony39.mjs +15 -7
- package/dist/harmony39.mjs.map +1 -1
- package/dist/harmony4.cjs +10 -10
- package/dist/harmony4.mjs +10 -10
- package/dist/harmony40.cjs +7 -11
- package/dist/harmony40.cjs.map +1 -1
- package/dist/harmony40.mjs +9 -13
- package/dist/harmony40.mjs.map +1 -1
- package/dist/harmony41.cjs +8 -8
- package/dist/harmony41.cjs.map +1 -1
- package/dist/harmony41.mjs +8 -8
- package/dist/harmony41.mjs.map +1 -1
- package/dist/harmony42.cjs +14 -12
- package/dist/harmony42.cjs.map +1 -1
- package/dist/harmony42.mjs +14 -12
- package/dist/harmony42.mjs.map +1 -1
- package/dist/harmony43.cjs +8 -8
- package/dist/harmony43.cjs.map +1 -1
- package/dist/harmony43.mjs +9 -9
- package/dist/harmony43.mjs.map +1 -1
- package/dist/harmony44.cjs +9 -9
- package/dist/harmony44.cjs.map +1 -1
- package/dist/harmony44.mjs +10 -10
- package/dist/harmony44.mjs.map +1 -1
- package/dist/harmony45.cjs +12 -14
- package/dist/harmony45.cjs.map +1 -1
- package/dist/harmony45.mjs +12 -14
- package/dist/harmony45.mjs.map +1 -1
- package/dist/harmony46.cjs +10 -10
- package/dist/harmony46.cjs.map +1 -1
- package/dist/harmony46.mjs +10 -10
- package/dist/harmony46.mjs.map +1 -1
- package/dist/harmony47.cjs +8 -8
- package/dist/harmony47.cjs.map +1 -1
- package/dist/harmony47.mjs +8 -8
- package/dist/harmony47.mjs.map +1 -1
- package/dist/harmony48.cjs +7 -7
- package/dist/harmony48.cjs.map +1 -1
- package/dist/harmony48.mjs +7 -7
- package/dist/harmony48.mjs.map +1 -1
- package/dist/harmony49.cjs +14 -12
- package/dist/harmony49.cjs.map +1 -1
- package/dist/harmony49.mjs +14 -12
- package/dist/harmony49.mjs.map +1 -1
- package/dist/harmony5.cjs +1 -1
- package/dist/harmony5.mjs +1 -1
- package/dist/harmony50.cjs +12 -14
- package/dist/harmony50.cjs.map +1 -1
- package/dist/harmony50.mjs +12 -14
- package/dist/harmony50.mjs.map +1 -1
- package/dist/harmony51.cjs +8 -8
- package/dist/harmony51.cjs.map +1 -1
- package/dist/harmony51.mjs +8 -8
- package/dist/harmony51.mjs.map +1 -1
- package/dist/harmony52.cjs +10 -7
- package/dist/harmony52.cjs.map +1 -1
- package/dist/harmony52.mjs +12 -9
- package/dist/harmony52.mjs.map +1 -1
- package/dist/harmony53.cjs +14 -56
- package/dist/harmony53.cjs.map +1 -1
- package/dist/harmony53.mjs +14 -56
- package/dist/harmony53.mjs.map +1 -1
- package/dist/harmony54.cjs +48 -74
- package/dist/harmony54.cjs.map +1 -1
- package/dist/harmony54.mjs +47 -73
- package/dist/harmony54.mjs.map +1 -1
- package/dist/harmony55.cjs +80 -4
- package/dist/harmony55.cjs.map +1 -1
- package/dist/harmony55.mjs +80 -4
- package/dist/harmony55.mjs.map +1 -1
- package/dist/harmony56.cjs +4 -21
- package/dist/harmony56.cjs.map +1 -1
- package/dist/harmony56.mjs +4 -21
- package/dist/harmony56.mjs.map +1 -1
- package/dist/harmony57.cjs +20 -34
- package/dist/harmony57.cjs.map +1 -1
- package/dist/harmony57.mjs +20 -34
- package/dist/harmony57.mjs.map +1 -1
- package/dist/harmony58.cjs +35 -120
- package/dist/harmony58.cjs.map +1 -1
- package/dist/harmony58.mjs +34 -119
- package/dist/harmony58.mjs.map +1 -1
- package/dist/harmony59.cjs +142 -46
- package/dist/harmony59.cjs.map +1 -1
- package/dist/harmony59.mjs +141 -45
- package/dist/harmony59.mjs.map +1 -1
- package/dist/harmony6.cjs +4 -4
- package/dist/harmony6.mjs +4 -4
- package/dist/harmony60.cjs +46 -25
- package/dist/harmony60.cjs.map +1 -1
- package/dist/harmony60.mjs +46 -25
- package/dist/harmony60.mjs.map +1 -1
- package/dist/harmony61.cjs +24 -6
- package/dist/harmony61.cjs.map +1 -1
- package/dist/harmony61.mjs +24 -6
- package/dist/harmony61.mjs.map +1 -1
- package/dist/harmony62.cjs +6 -82
- package/dist/harmony62.cjs.map +1 -1
- package/dist/harmony62.mjs +6 -82
- package/dist/harmony62.mjs.map +1 -1
- package/dist/harmony63.cjs +80 -20
- package/dist/harmony63.cjs.map +1 -1
- package/dist/harmony63.mjs +80 -20
- package/dist/harmony63.mjs.map +1 -1
- package/dist/harmony64.cjs +22 -16
- package/dist/harmony64.cjs.map +1 -1
- package/dist/harmony64.mjs +22 -16
- package/dist/harmony64.mjs.map +1 -1
- package/dist/harmony65.cjs +19 -16
- package/dist/harmony65.cjs.map +1 -1
- package/dist/harmony65.mjs +18 -15
- package/dist/harmony65.mjs.map +1 -1
- package/dist/harmony66.cjs +15 -18
- package/dist/harmony66.cjs.map +1 -1
- package/dist/harmony66.mjs +15 -18
- package/dist/harmony66.mjs.map +1 -1
- package/dist/harmony67.cjs +18 -61
- package/dist/harmony67.cjs.map +1 -1
- package/dist/harmony67.mjs +18 -61
- package/dist/harmony67.mjs.map +1 -1
- package/dist/harmony68.cjs +61 -6
- package/dist/harmony68.cjs.map +1 -1
- package/dist/harmony68.mjs +61 -6
- package/dist/harmony68.mjs.map +1 -1
- package/dist/harmony69.cjs +7 -10
- package/dist/harmony69.cjs.map +1 -1
- package/dist/harmony69.mjs +6 -9
- package/dist/harmony69.mjs.map +1 -1
- package/dist/harmony7.cjs +11 -30
- package/dist/harmony7.cjs.map +1 -1
- package/dist/harmony7.mjs +11 -30
- package/dist/harmony7.mjs.map +1 -1
- package/dist/harmony70.cjs +8 -17
- package/dist/harmony70.cjs.map +1 -1
- package/dist/harmony70.mjs +8 -17
- package/dist/harmony70.mjs.map +1 -1
- package/dist/harmony71.cjs +13 -18
- package/dist/harmony71.cjs.map +1 -1
- package/dist/harmony71.mjs +14 -19
- package/dist/harmony71.mjs.map +1 -1
- package/dist/harmony72.cjs +22 -4
- package/dist/harmony72.cjs.map +1 -1
- package/dist/harmony72.mjs +22 -4
- package/dist/harmony72.mjs.map +1 -1
- package/dist/harmony73.cjs +4 -31
- package/dist/harmony73.cjs.map +1 -1
- package/dist/harmony73.mjs +5 -32
- package/dist/harmony73.mjs.map +1 -1
- package/dist/harmony74.cjs +25 -25
- package/dist/harmony74.cjs.map +1 -1
- package/dist/harmony74.mjs +27 -27
- package/dist/harmony74.mjs.map +1 -1
- package/dist/harmony75.cjs +24 -11
- package/dist/harmony75.cjs.map +1 -1
- package/dist/harmony75.mjs +25 -12
- package/dist/harmony75.mjs.map +1 -1
- package/dist/harmony76.cjs +11 -23
- package/dist/harmony76.cjs.map +1 -1
- package/dist/harmony76.mjs +12 -24
- package/dist/harmony76.mjs.map +1 -1
- package/dist/harmony77.cjs +27 -55
- package/dist/harmony77.cjs.map +1 -1
- package/dist/harmony77.mjs +29 -57
- package/dist/harmony77.mjs.map +1 -1
- package/dist/harmony78.cjs +60 -10
- package/dist/harmony78.cjs.map +1 -1
- package/dist/harmony78.mjs +59 -9
- package/dist/harmony78.mjs.map +1 -1
- package/dist/harmony79.cjs +10 -9
- package/dist/harmony79.cjs.map +1 -1
- package/dist/harmony79.mjs +9 -8
- package/dist/harmony79.mjs.map +1 -1
- package/dist/harmony8.cjs +30 -23
- package/dist/harmony8.cjs.map +1 -1
- package/dist/harmony8.mjs +30 -23
- package/dist/harmony8.mjs.map +1 -1
- package/dist/harmony80.cjs +5 -26
- package/dist/harmony80.cjs.map +1 -1
- package/dist/harmony80.mjs +8 -29
- package/dist/harmony80.mjs.map +1 -1
- package/dist/harmony81.cjs +29 -3
- package/dist/harmony81.cjs.map +1 -1
- package/dist/harmony81.mjs +29 -3
- package/dist/harmony81.mjs.map +1 -1
- package/dist/harmony82.cjs +3 -11
- package/dist/harmony82.cjs.map +1 -1
- package/dist/harmony82.mjs +3 -11
- package/dist/harmony82.mjs.map +1 -1
- package/dist/harmony83.cjs +40 -21
- package/dist/harmony83.cjs.map +1 -1
- package/dist/harmony83.mjs +39 -20
- package/dist/harmony83.mjs.map +1 -1
- package/dist/harmony87.cjs +2 -2
- package/dist/harmony87.mjs +2 -2
- package/dist/harmony88.cjs +2 -2
- package/dist/harmony88.mjs +2 -2
- package/dist/harmony9.cjs +16 -45
- package/dist/harmony9.cjs.map +1 -1
- package/dist/harmony9.mjs +16 -45
- package/dist/harmony9.mjs.map +1 -1
- package/dist/harmony93.cjs +2 -2
- package/dist/harmony93.mjs +2 -2
- package/dist/harmony95.cjs +9 -96
- package/dist/harmony95.cjs.map +1 -1
- package/dist/harmony95.mjs +9 -79
- package/dist/harmony95.mjs.map +1 -1
- package/dist/harmony96.cjs +13 -19
- package/dist/harmony96.cjs.map +1 -1
- package/dist/harmony96.mjs +12 -18
- package/dist/harmony96.mjs.map +1 -1
- package/dist/harmony97.cjs +11 -14
- package/dist/harmony97.cjs.map +1 -1
- package/dist/harmony97.mjs +11 -14
- package/dist/harmony97.mjs.map +1 -1
- package/dist/harmony98.cjs +20 -20
- package/dist/harmony98.mjs +20 -20
- package/dist/harmony99.cjs +98 -5
- package/dist/harmony99.cjs.map +1 -1
- package/dist/harmony99.mjs +81 -5
- package/dist/harmony99.mjs.map +1 -1
- package/dist/types/src/features/publicApi/hooks/useGetProjectPermissionMetaQuery.d.ts +4 -3
- package/dist/types/src/features/publicApi/projects.d.ts +20 -15
- package/dist/types/src/features/publicApi/types/projectTypes.d.ts +20 -15
- package/dist/types/src/node.d.ts +1 -0
- package/package.json +1 -1
package/dist/harmony122.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony122.mjs","sources":["../node_modules/lodash/
|
1
|
+
{"version":3,"file":"harmony122.mjs","sources":["../node_modules/lodash/_baseTrim.js"],"sourcesContent":["var trimmedEndIndex = require('./_trimmedEndIndex');\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n}\n\nmodule.exports = baseTrim;\n"],"names":["require$$0"],"mappings":";;;;;;AAAA,MAAI,kBAAkBA,wBAA6B;AAGnD,MAAI,cAAc;AASlB,WAAS,SAAS,QAAQ;AACxB,WAAO,SACH,OAAO,MAAM,GAAG,gBAAgB,MAAM,IAAI,CAAC,EAAE,QAAQ,aAAa,EAAE,IACpE;AAAA,EACN;AAEA,cAAiB;;;","x_google_ignoreList":[0]}
|
package/dist/harmony123.cjs
CHANGED
@@ -1,15 +1,19 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
3
|
+
const _baseGetTag = require("./harmony130.cjs");
|
4
|
+
const isObjectLike = require("./harmony131.cjs");
|
5
|
+
var isSymbol_1;
|
6
|
+
var hasRequiredIsSymbol;
|
7
|
+
function requireIsSymbol() {
|
8
|
+
if (hasRequiredIsSymbol) return isSymbol_1;
|
9
|
+
hasRequiredIsSymbol = 1;
|
10
|
+
var baseGetTag = _baseGetTag.__require(), isObjectLike$1 = isObjectLike.__require();
|
11
|
+
var symbolTag = "[object Symbol]";
|
12
|
+
function isSymbol(value) {
|
13
|
+
return typeof value == "symbol" || isObjectLike$1(value) && baseGetTag(value) == symbolTag;
|
10
14
|
}
|
11
|
-
|
12
|
-
return
|
15
|
+
isSymbol_1 = isSymbol;
|
16
|
+
return isSymbol_1;
|
13
17
|
}
|
14
|
-
exports.__require =
|
18
|
+
exports.__require = requireIsSymbol;
|
15
19
|
//# sourceMappingURL=harmony123.cjs.map
|
package/dist/harmony123.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony123.cjs","sources":["../node_modules/lodash/
|
1
|
+
{"version":3,"file":"harmony123.cjs","sources":["../node_modules/lodash/isSymbol.js"],"sourcesContent":["var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n"],"names":["require$$0","isObjectLike","require$$1"],"mappings":";;;;;;;;;AAAA,MAAI,aAAaA,YAAAA,UAAwB,GACrCC,iBAAeC,aAAAA,UAAyB;AAG5C,MAAI,YAAY;AAmBhB,WAAS,SAAS,OAAO;AACvB,WAAO,OAAO,SAAS,YACpBD,eAAa,KAAK,KAAK,WAAW,KAAK,KAAK;AAAA,EACjD;AAEA,eAAiB;;;;","x_google_ignoreList":[0]}
|
package/dist/harmony123.mjs
CHANGED
@@ -1,15 +1,19 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
1
|
+
import { __require as require_baseGetTag } from "./harmony130.mjs";
|
2
|
+
import { __require as requireIsObjectLike } from "./harmony131.mjs";
|
3
|
+
var isSymbol_1;
|
4
|
+
var hasRequiredIsSymbol;
|
5
|
+
function requireIsSymbol() {
|
6
|
+
if (hasRequiredIsSymbol) return isSymbol_1;
|
7
|
+
hasRequiredIsSymbol = 1;
|
8
|
+
var baseGetTag = require_baseGetTag(), isObjectLike = requireIsObjectLike();
|
9
|
+
var symbolTag = "[object Symbol]";
|
10
|
+
function isSymbol(value) {
|
11
|
+
return typeof value == "symbol" || isObjectLike(value) && baseGetTag(value) == symbolTag;
|
8
12
|
}
|
9
|
-
|
10
|
-
return
|
13
|
+
isSymbol_1 = isSymbol;
|
14
|
+
return isSymbol_1;
|
11
15
|
}
|
12
16
|
export {
|
13
|
-
|
17
|
+
requireIsSymbol as __require
|
14
18
|
};
|
15
19
|
//# sourceMappingURL=harmony123.mjs.map
|
package/dist/harmony123.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony123.mjs","sources":["../node_modules/lodash/
|
1
|
+
{"version":3,"file":"harmony123.mjs","sources":["../node_modules/lodash/isSymbol.js"],"sourcesContent":["var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n"],"names":["require$$0","require$$1"],"mappings":";;;;;;;AAAA,MAAI,aAAaA,mBAAwB,GACrC,eAAeC,oBAAyB;AAG5C,MAAI,YAAY;AAmBhB,WAAS,SAAS,OAAO;AACvB,WAAO,OAAO,SAAS,YACpB,aAAa,KAAK,KAAK,WAAW,KAAK,KAAK;AAAA,EACjD;AAEA,eAAiB;;;","x_google_ignoreList":[0]}
|
package/dist/harmony125.cjs
CHANGED
@@ -4,10 +4,10 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const louis = require("@lokalise/louis");
|
5
5
|
const content = require("./harmony126.cjs");
|
6
6
|
const types = require("./harmony2.cjs");
|
7
|
-
const clsx = require("./
|
8
|
-
const TaskLanguageCompleted = require("./
|
9
|
-
const TasksContext = require("./
|
10
|
-
const TaskLanguage_module = require("./
|
7
|
+
const clsx = require("./harmony66.cjs");
|
8
|
+
const TaskLanguageCompleted = require("./harmony136.cjs");
|
9
|
+
const TasksContext = require("./harmony106.cjs");
|
10
|
+
const TaskLanguage_module = require("./harmony137.cjs");
|
11
11
|
const TaskLanguage = ({ language, task }) => {
|
12
12
|
const { getProjectUrl, langNameOnClick, langProgressOnClick } = TasksContext.useTasks();
|
13
13
|
const progressValue = language.progress ?? 0;
|
package/dist/harmony125.mjs
CHANGED
@@ -2,10 +2,10 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Tooltip, Link } from "@lokalise/louis";
|
3
3
|
import { isLanguageProgressCompleted, getStatusText } from "./harmony126.mjs";
|
4
4
|
import { SidebarTaskLanguageStatuses } from "./harmony2.mjs";
|
5
|
-
import { clsx } from "./
|
6
|
-
import { TaskLanguageCompleted } from "./
|
7
|
-
import { useTasks } from "./
|
8
|
-
import styles from "./
|
5
|
+
import { clsx } from "./harmony66.mjs";
|
6
|
+
import { TaskLanguageCompleted } from "./harmony136.mjs";
|
7
|
+
import { useTasks } from "./harmony106.mjs";
|
8
|
+
import styles from "./harmony137.mjs";
|
9
9
|
const TaskLanguage = ({ language, task }) => {
|
10
10
|
const { getProjectUrl, langNameOnClick, langProgressOnClick } = useTasks();
|
11
11
|
const progressValue = language.progress ?? 0;
|
package/dist/harmony128.cjs
CHANGED
@@ -1,9 +1,14 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
|
-
|
4
|
-
|
5
|
-
|
3
|
+
const _commonjsHelpers = require("./harmony135.cjs");
|
4
|
+
var _freeGlobal;
|
5
|
+
var hasRequired_freeGlobal;
|
6
|
+
function require_freeGlobal() {
|
7
|
+
if (hasRequired_freeGlobal) return _freeGlobal;
|
8
|
+
hasRequired_freeGlobal = 1;
|
9
|
+
var freeGlobal = typeof _commonjsHelpers.commonjsGlobal == "object" && _commonjsHelpers.commonjsGlobal && _commonjsHelpers.commonjsGlobal.Object === Object && _commonjsHelpers.commonjsGlobal;
|
10
|
+
_freeGlobal = freeGlobal;
|
11
|
+
return _freeGlobal;
|
6
12
|
}
|
7
|
-
exports.
|
8
|
-
exports.getDefaultExportFromCjs = getDefaultExportFromCjs;
|
13
|
+
exports.__require = require_freeGlobal;
|
9
14
|
//# sourceMappingURL=harmony128.cjs.map
|
package/dist/harmony128.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony128.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
1
|
+
{"version":3,"file":"harmony128.cjs","sources":["../node_modules/lodash/_freeGlobal.js"],"sourcesContent":["/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n"],"names":["global"],"mappings":";;;;;;;;AACA,MAAI,aAAa,OAAOA,iBAAAA,kBAAU,YAAYA,iBAAM,kBAAIA,gCAAO,WAAW,UAAUA,iBAAM;AAE1F,gBAAiB;;;;","x_google_ignoreList":[0]}
|
package/dist/harmony128.mjs
CHANGED
@@ -1,9 +1,14 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
import { commonjsGlobal } from "./harmony135.mjs";
|
2
|
+
var _freeGlobal;
|
3
|
+
var hasRequired_freeGlobal;
|
4
|
+
function require_freeGlobal() {
|
5
|
+
if (hasRequired_freeGlobal) return _freeGlobal;
|
6
|
+
hasRequired_freeGlobal = 1;
|
7
|
+
var freeGlobal = typeof commonjsGlobal == "object" && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
|
8
|
+
_freeGlobal = freeGlobal;
|
9
|
+
return _freeGlobal;
|
4
10
|
}
|
5
11
|
export {
|
6
|
-
|
7
|
-
getDefaultExportFromCjs
|
12
|
+
require_freeGlobal as __require
|
8
13
|
};
|
9
14
|
//# sourceMappingURL=harmony128.mjs.map
|
package/dist/harmony128.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony128.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"harmony128.mjs","sources":["../node_modules/lodash/_freeGlobal.js"],"sourcesContent":["/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n"],"names":["global"],"mappings":";;;;;;AACA,MAAI,aAAa,OAAOA,kBAAU,YAAYA,kBAAUA,eAAO,WAAW,UAAUA;AAEpF,gBAAiB;;;","x_google_ignoreList":[0]}
|
package/dist/harmony129.cjs
CHANGED
@@ -1,15 +1,19 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
|
-
|
4
|
-
var
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
3
|
+
var _trimmedEndIndex;
|
4
|
+
var hasRequired_trimmedEndIndex;
|
5
|
+
function require_trimmedEndIndex() {
|
6
|
+
if (hasRequired_trimmedEndIndex) return _trimmedEndIndex;
|
7
|
+
hasRequired_trimmedEndIndex = 1;
|
8
|
+
var reWhitespace = /\s/;
|
9
|
+
function trimmedEndIndex(string) {
|
10
|
+
var index = string.length;
|
11
|
+
while (index-- && reWhitespace.test(string.charAt(index))) {
|
12
|
+
}
|
13
|
+
return index;
|
14
|
+
}
|
15
|
+
_trimmedEndIndex = trimmedEndIndex;
|
16
|
+
return _trimmedEndIndex;
|
13
17
|
}
|
14
|
-
exports.__require =
|
18
|
+
exports.__require = require_trimmedEndIndex;
|
15
19
|
//# sourceMappingURL=harmony129.cjs.map
|
package/dist/harmony129.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony129.cjs","sources":["../node_modules/lodash/
|
1
|
+
{"version":3,"file":"harmony129.cjs","sources":["../node_modules/lodash/_trimmedEndIndex.js"],"sourcesContent":["/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nmodule.exports = trimmedEndIndex;\n"],"names":[],"mappings":";;;;;;;AACA,MAAI,eAAe;AAUnB,WAAS,gBAAgB,QAAQ;AAC/B,QAAI,QAAQ,OAAO;AAEnB,WAAO,WAAW,aAAa,KAAK,OAAO,OAAO,KAAK,CAAC,GAAG;AAAA,IAAA;AAC3D,WAAO;AAAA,EACT;AAEA,qBAAiB;;;;","x_google_ignoreList":[0]}
|
package/dist/harmony129.mjs
CHANGED
@@ -1,15 +1,19 @@
|
|
1
|
-
|
2
|
-
var
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
1
|
+
var _trimmedEndIndex;
|
2
|
+
var hasRequired_trimmedEndIndex;
|
3
|
+
function require_trimmedEndIndex() {
|
4
|
+
if (hasRequired_trimmedEndIndex) return _trimmedEndIndex;
|
5
|
+
hasRequired_trimmedEndIndex = 1;
|
6
|
+
var reWhitespace = /\s/;
|
7
|
+
function trimmedEndIndex(string) {
|
8
|
+
var index = string.length;
|
9
|
+
while (index-- && reWhitespace.test(string.charAt(index))) {
|
10
|
+
}
|
11
|
+
return index;
|
12
|
+
}
|
13
|
+
_trimmedEndIndex = trimmedEndIndex;
|
14
|
+
return _trimmedEndIndex;
|
11
15
|
}
|
12
16
|
export {
|
13
|
-
|
17
|
+
require_trimmedEndIndex as __require
|
14
18
|
};
|
15
19
|
//# sourceMappingURL=harmony129.mjs.map
|
package/dist/harmony129.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony129.mjs","sources":["../node_modules/lodash/
|
1
|
+
{"version":3,"file":"harmony129.mjs","sources":["../node_modules/lodash/_trimmedEndIndex.js"],"sourcesContent":["/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nmodule.exports = trimmedEndIndex;\n"],"names":[],"mappings":";;;;;AACA,MAAI,eAAe;AAUnB,WAAS,gBAAgB,QAAQ;AAC/B,QAAI,QAAQ,OAAO;AAEnB,WAAO,WAAW,aAAa,KAAK,OAAO,OAAO,KAAK,CAAC,GAAG;AAAA,IAAA;AAC3D,WAAO;AAAA,EACT;AAEA,qBAAiB;;;","x_google_ignoreList":[0]}
|
package/dist/harmony13.cjs
CHANGED
@@ -1,8 +1,28 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
|
-
const createHeaderBuilderMiddleware = require("./
|
4
|
-
const
|
5
|
-
|
6
|
-
)
|
7
|
-
|
3
|
+
const createHeaderBuilderMiddleware = require("./harmony18.cjs");
|
4
|
+
const jwtTokenPayload = require("./harmony16.cjs");
|
5
|
+
const UnauthorizedError = require("./harmony15.cjs");
|
6
|
+
function JwtAuthHeaderBuilderMiddleware(props) {
|
7
|
+
return createHeaderBuilderMiddleware.createHeaderBuilderMiddleware(async (builder) => {
|
8
|
+
var _a, _b;
|
9
|
+
const token = props.getCurrentToken() ?? await ((_a = props.generateNewToken) == null ? void 0 : _a.call(props));
|
10
|
+
if (!token) {
|
11
|
+
throw new UnauthorizedError.UnauthorizedError();
|
12
|
+
}
|
13
|
+
const { exp } = jwtTokenPayload.parseJwtTokenPayload(token.accessToken) ?? { exp: 0 };
|
14
|
+
const tokenExpirationInMilliseconds = exp * 1e3;
|
15
|
+
const tokenExpirationSafetyMargin = 5 * 60 * 1e3;
|
16
|
+
if (Date.now() < tokenExpirationInMilliseconds - tokenExpirationSafetyMargin) {
|
17
|
+
return builder.add("authorization", `Bearer ${token.accessToken}`);
|
18
|
+
}
|
19
|
+
const newToken = await props.refreshToken(token);
|
20
|
+
if (!newToken) {
|
21
|
+
throw new UnauthorizedError.UnauthorizedError();
|
22
|
+
}
|
23
|
+
(_b = props.onNewTokenIssued) == null ? void 0 : _b.call(props, newToken);
|
24
|
+
return builder.add("authorization", `Bearer ${newToken.accessToken}`);
|
25
|
+
});
|
26
|
+
}
|
27
|
+
exports.JwtAuthHeaderBuilderMiddleware = JwtAuthHeaderBuilderMiddleware;
|
8
28
|
//# sourceMappingURL=harmony13.cjs.map
|
package/dist/harmony13.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony13.cjs","sources":["../src/features/auth/core/middleware/
|
1
|
+
{"version":3,"file":"harmony13.cjs","sources":["../src/features/auth/core/middleware/jwtAuthHeaderBuilderMiddleware.ts"],"sourcesContent":["import { createHeaderBuilderMiddleware } from '@features/auth/core/headers/createHeaderBuilderMiddleware'\nimport { parseJwtTokenPayload } from '@features/auth/core/utils/jwtTokenPayload'\nimport { UnauthorizedError } from '@features/auth/errors/UnauthorizedError'\nimport type { JwtToken } from '@features/publicApi/types/userTokenTypes'\n\nexport type JwtAuthHeaderBuilderMiddlewareProps = {\n\trefreshToken: (current: JwtToken) => Promise<JwtToken | null>\n\tgetCurrentToken: () => JwtToken | null\n\tgenerateNewToken?: () => Promise<JwtToken | null>\n\tonNewTokenIssued?: (token: JwtToken) => void\n}\n\nexport function JwtAuthHeaderBuilderMiddleware(props: JwtAuthHeaderBuilderMiddlewareProps) {\n\treturn createHeaderBuilderMiddleware(async (builder) => {\n\t\tconst token = props.getCurrentToken() ?? (await props.generateNewToken?.())\n\n\t\tif (!token) {\n\t\t\tthrow new UnauthorizedError()\n\t\t}\n\n\t\t// Check if the token is expired or will expire in less than 5 minutes\n\t\tconst { exp } = parseJwtTokenPayload(token.accessToken) ?? { exp: 0 }\n\t\tconst tokenExpirationInMilliseconds = exp * 1000\n\t\tconst tokenExpirationSafetyMargin = 5 * 60 * 1000 // 5 minutes in milliseconds\n\t\tif (Date.now() < tokenExpirationInMilliseconds - tokenExpirationSafetyMargin) {\n\t\t\treturn builder.add('authorization', `Bearer ${token.accessToken}`)\n\t\t}\n\n\t\tconst newToken = await props.refreshToken(token)\n\n\t\tif (!newToken) {\n\t\t\tthrow new UnauthorizedError()\n\t\t}\n\n\t\tprops.onNewTokenIssued?.(newToken)\n\n\t\treturn builder.add('authorization', `Bearer ${newToken.accessToken}`)\n\t})\n}\n"],"names":["createHeaderBuilderMiddleware","UnauthorizedError","parseJwtTokenPayload"],"mappings":";;;;;AAYO,SAAS,+BAA+B,OAA4C;AACnF,SAAAA,8BAAAA,8BAA8B,OAAO,YAAY;;AACvD,UAAM,QAAQ,MAAM,gBAAsB,KAAA,QAAM,WAAM,qBAAN;AAEhD,QAAI,CAAC,OAAO;AACX,YAAM,IAAIC,kBAAAA,kBAAkB;AAAA,IAAA;AAIvB,UAAA,EAAE,IAAQ,IAAAC,qCAAqB,MAAM,WAAW,KAAK,EAAE,KAAK,EAAE;AACpE,UAAM,gCAAgC,MAAM;AACtC,UAAA,8BAA8B,IAAI,KAAK;AAC7C,QAAI,KAAK,QAAQ,gCAAgC,6BAA6B;AAC7E,aAAO,QAAQ,IAAI,iBAAiB,UAAU,MAAM,WAAW,EAAE;AAAA,IAAA;AAGlE,UAAM,WAAW,MAAM,MAAM,aAAa,KAAK;AAE/C,QAAI,CAAC,UAAU;AACd,YAAM,IAAID,kBAAAA,kBAAkB;AAAA,IAAA;AAG7B,gBAAM,qBAAN,+BAAyB;AAEzB,WAAO,QAAQ,IAAI,iBAAiB,UAAU,SAAS,WAAW,EAAE;AAAA,EAAA,CACpE;AACF;;"}
|
package/dist/harmony13.mjs
CHANGED
@@ -1,8 +1,28 @@
|
|
1
|
-
import { createHeaderBuilderMiddleware } from "./
|
2
|
-
|
3
|
-
|
4
|
-
)
|
1
|
+
import { createHeaderBuilderMiddleware } from "./harmony18.mjs";
|
2
|
+
import { parseJwtTokenPayload } from "./harmony16.mjs";
|
3
|
+
import { UnauthorizedError } from "./harmony15.mjs";
|
4
|
+
function JwtAuthHeaderBuilderMiddleware(props) {
|
5
|
+
return createHeaderBuilderMiddleware(async (builder) => {
|
6
|
+
var _a, _b;
|
7
|
+
const token = props.getCurrentToken() ?? await ((_a = props.generateNewToken) == null ? void 0 : _a.call(props));
|
8
|
+
if (!token) {
|
9
|
+
throw new UnauthorizedError();
|
10
|
+
}
|
11
|
+
const { exp } = parseJwtTokenPayload(token.accessToken) ?? { exp: 0 };
|
12
|
+
const tokenExpirationInMilliseconds = exp * 1e3;
|
13
|
+
const tokenExpirationSafetyMargin = 5 * 60 * 1e3;
|
14
|
+
if (Date.now() < tokenExpirationInMilliseconds - tokenExpirationSafetyMargin) {
|
15
|
+
return builder.add("authorization", `Bearer ${token.accessToken}`);
|
16
|
+
}
|
17
|
+
const newToken = await props.refreshToken(token);
|
18
|
+
if (!newToken) {
|
19
|
+
throw new UnauthorizedError();
|
20
|
+
}
|
21
|
+
(_b = props.onNewTokenIssued) == null ? void 0 : _b.call(props, newToken);
|
22
|
+
return builder.add("authorization", `Bearer ${newToken.accessToken}`);
|
23
|
+
});
|
24
|
+
}
|
5
25
|
export {
|
6
|
-
|
26
|
+
JwtAuthHeaderBuilderMiddleware
|
7
27
|
};
|
8
28
|
//# sourceMappingURL=harmony13.mjs.map
|
package/dist/harmony13.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony13.mjs","sources":["../src/features/auth/core/middleware/
|
1
|
+
{"version":3,"file":"harmony13.mjs","sources":["../src/features/auth/core/middleware/jwtAuthHeaderBuilderMiddleware.ts"],"sourcesContent":["import { createHeaderBuilderMiddleware } from '@features/auth/core/headers/createHeaderBuilderMiddleware'\nimport { parseJwtTokenPayload } from '@features/auth/core/utils/jwtTokenPayload'\nimport { UnauthorizedError } from '@features/auth/errors/UnauthorizedError'\nimport type { JwtToken } from '@features/publicApi/types/userTokenTypes'\n\nexport type JwtAuthHeaderBuilderMiddlewareProps = {\n\trefreshToken: (current: JwtToken) => Promise<JwtToken | null>\n\tgetCurrentToken: () => JwtToken | null\n\tgenerateNewToken?: () => Promise<JwtToken | null>\n\tonNewTokenIssued?: (token: JwtToken) => void\n}\n\nexport function JwtAuthHeaderBuilderMiddleware(props: JwtAuthHeaderBuilderMiddlewareProps) {\n\treturn createHeaderBuilderMiddleware(async (builder) => {\n\t\tconst token = props.getCurrentToken() ?? (await props.generateNewToken?.())\n\n\t\tif (!token) {\n\t\t\tthrow new UnauthorizedError()\n\t\t}\n\n\t\t// Check if the token is expired or will expire in less than 5 minutes\n\t\tconst { exp } = parseJwtTokenPayload(token.accessToken) ?? { exp: 0 }\n\t\tconst tokenExpirationInMilliseconds = exp * 1000\n\t\tconst tokenExpirationSafetyMargin = 5 * 60 * 1000 // 5 minutes in milliseconds\n\t\tif (Date.now() < tokenExpirationInMilliseconds - tokenExpirationSafetyMargin) {\n\t\t\treturn builder.add('authorization', `Bearer ${token.accessToken}`)\n\t\t}\n\n\t\tconst newToken = await props.refreshToken(token)\n\n\t\tif (!newToken) {\n\t\t\tthrow new UnauthorizedError()\n\t\t}\n\n\t\tprops.onNewTokenIssued?.(newToken)\n\n\t\treturn builder.add('authorization', `Bearer ${newToken.accessToken}`)\n\t})\n}\n"],"names":[],"mappings":";;;AAYO,SAAS,+BAA+B,OAA4C;AACnF,SAAA,8BAA8B,OAAO,YAAY;;AACvD,UAAM,QAAQ,MAAM,gBAAsB,KAAA,QAAM,WAAM,qBAAN;AAEhD,QAAI,CAAC,OAAO;AACX,YAAM,IAAI,kBAAkB;AAAA,IAAA;AAIvB,UAAA,EAAE,IAAQ,IAAA,qBAAqB,MAAM,WAAW,KAAK,EAAE,KAAK,EAAE;AACpE,UAAM,gCAAgC,MAAM;AACtC,UAAA,8BAA8B,IAAI,KAAK;AAC7C,QAAI,KAAK,QAAQ,gCAAgC,6BAA6B;AAC7E,aAAO,QAAQ,IAAI,iBAAiB,UAAU,MAAM,WAAW,EAAE;AAAA,IAAA;AAGlE,UAAM,WAAW,MAAM,MAAM,aAAa,KAAK;AAE/C,QAAI,CAAC,UAAU;AACd,YAAM,IAAI,kBAAkB;AAAA,IAAA;AAG7B,gBAAM,qBAAN,+BAAyB;AAEzB,WAAO,QAAQ,IAAI,iBAAiB,UAAU,SAAS,WAAW,EAAE;AAAA,EAAA,CACpE;AACF;"}
|
package/dist/harmony130.cjs
CHANGED
@@ -1,35 +1,24 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
|
-
const _Symbol = require("./
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
var
|
12
|
-
var
|
3
|
+
const _Symbol = require("./harmony132.cjs");
|
4
|
+
const _getRawTag = require("./harmony133.cjs");
|
5
|
+
const _objectToString = require("./harmony134.cjs");
|
6
|
+
var _baseGetTag;
|
7
|
+
var hasRequired_baseGetTag;
|
8
|
+
function require_baseGetTag() {
|
9
|
+
if (hasRequired_baseGetTag) return _baseGetTag;
|
10
|
+
hasRequired_baseGetTag = 1;
|
11
|
+
var Symbol2 = _Symbol.__require(), getRawTag = _getRawTag.__require(), objectToString = _objectToString.__require();
|
12
|
+
var nullTag = "[object Null]", undefinedTag = "[object Undefined]";
|
13
13
|
var symToStringTag = Symbol2 ? Symbol2.toStringTag : void 0;
|
14
|
-
function
|
15
|
-
|
16
|
-
|
17
|
-
value[symToStringTag] = void 0;
|
18
|
-
var unmasked = true;
|
19
|
-
} catch (e) {
|
14
|
+
function baseGetTag(value) {
|
15
|
+
if (value == null) {
|
16
|
+
return value === void 0 ? undefinedTag : nullTag;
|
20
17
|
}
|
21
|
-
|
22
|
-
if (unmasked) {
|
23
|
-
if (isOwn) {
|
24
|
-
value[symToStringTag] = tag;
|
25
|
-
} else {
|
26
|
-
delete value[symToStringTag];
|
27
|
-
}
|
28
|
-
}
|
29
|
-
return result;
|
18
|
+
return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
|
30
19
|
}
|
31
|
-
|
32
|
-
return
|
20
|
+
_baseGetTag = baseGetTag;
|
21
|
+
return _baseGetTag;
|
33
22
|
}
|
34
|
-
exports.__require =
|
23
|
+
exports.__require = require_baseGetTag;
|
35
24
|
//# sourceMappingURL=harmony130.cjs.map
|
package/dist/harmony130.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony130.cjs","sources":["../node_modules/lodash/
|
1
|
+
{"version":3,"file":"harmony130.cjs","sources":["../node_modules/lodash/_baseGetTag.js"],"sourcesContent":["var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n"],"names":["Symbol","require$$0","require$$1","require$$2"],"mappings":";;;;;;;;;;AAAA,MAAIA,UAASC,QAAAA,UAAoB,GAC7B,YAAYC,WAAAA,UAAuB,GACnC,iBAAiBC,gBAAAA,UAA4B;AAGjD,MAAI,UAAU,iBACV,eAAe;AAGnB,MAAI,iBAAiBH,UAASA,QAAO,cAAc;AASnD,WAAS,WAAW,OAAO;AACzB,QAAI,SAAS,MAAM;AACjB,aAAO,UAAU,SAAY,eAAe;AAAA,IAChD;AACE,WAAQ,kBAAkB,kBAAkB,OAAO,KAAK,IACpD,UAAU,KAAK,IACf,eAAe,KAAK;AAAA,EAC1B;AAEA,gBAAiB;;;;","x_google_ignoreList":[0]}
|
package/dist/harmony130.mjs
CHANGED
@@ -1,35 +1,24 @@
|
|
1
|
-
import { __require as require_Symbol } from "./
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
var
|
10
|
-
var
|
1
|
+
import { __require as require_Symbol } from "./harmony132.mjs";
|
2
|
+
import { __require as require_getRawTag } from "./harmony133.mjs";
|
3
|
+
import { __require as require_objectToString } from "./harmony134.mjs";
|
4
|
+
var _baseGetTag;
|
5
|
+
var hasRequired_baseGetTag;
|
6
|
+
function require_baseGetTag() {
|
7
|
+
if (hasRequired_baseGetTag) return _baseGetTag;
|
8
|
+
hasRequired_baseGetTag = 1;
|
9
|
+
var Symbol = require_Symbol(), getRawTag = require_getRawTag(), objectToString = require_objectToString();
|
10
|
+
var nullTag = "[object Null]", undefinedTag = "[object Undefined]";
|
11
11
|
var symToStringTag = Symbol ? Symbol.toStringTag : void 0;
|
12
|
-
function
|
13
|
-
|
14
|
-
|
15
|
-
value[symToStringTag] = void 0;
|
16
|
-
var unmasked = true;
|
17
|
-
} catch (e) {
|
12
|
+
function baseGetTag(value) {
|
13
|
+
if (value == null) {
|
14
|
+
return value === void 0 ? undefinedTag : nullTag;
|
18
15
|
}
|
19
|
-
|
20
|
-
if (unmasked) {
|
21
|
-
if (isOwn) {
|
22
|
-
value[symToStringTag] = tag;
|
23
|
-
} else {
|
24
|
-
delete value[symToStringTag];
|
25
|
-
}
|
26
|
-
}
|
27
|
-
return result;
|
16
|
+
return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
|
28
17
|
}
|
29
|
-
|
30
|
-
return
|
18
|
+
_baseGetTag = baseGetTag;
|
19
|
+
return _baseGetTag;
|
31
20
|
}
|
32
21
|
export {
|
33
|
-
|
22
|
+
require_baseGetTag as __require
|
34
23
|
};
|
35
24
|
//# sourceMappingURL=harmony130.mjs.map
|
package/dist/harmony130.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony130.mjs","sources":["../node_modules/lodash/
|
1
|
+
{"version":3,"file":"harmony130.mjs","sources":["../node_modules/lodash/_baseGetTag.js"],"sourcesContent":["var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n"],"names":["require$$0","require$$1","require$$2"],"mappings":";;;;;;;;AAAA,MAAI,SAASA,eAAoB,GAC7B,YAAYC,kBAAuB,GACnC,iBAAiBC,uBAA4B;AAGjD,MAAI,UAAU,iBACV,eAAe;AAGnB,MAAI,iBAAiB,SAAS,OAAO,cAAc;AASnD,WAAS,WAAW,OAAO;AACzB,QAAI,SAAS,MAAM;AACjB,aAAO,UAAU,SAAY,eAAe;AAAA,IAChD;AACE,WAAQ,kBAAkB,kBAAkB,OAAO,KAAK,IACpD,UAAU,KAAK,IACf,eAAe,KAAK;AAAA,EAC1B;AAEA,gBAAiB;;;","x_google_ignoreList":[0]}
|
package/dist/harmony131.cjs
CHANGED
@@ -1,17 +1,15 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
3
|
-
var
|
4
|
-
var
|
5
|
-
function
|
6
|
-
if (
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
function objectToString(value) {
|
11
|
-
return nativeObjectToString.call(value);
|
3
|
+
var isObjectLike_1;
|
4
|
+
var hasRequiredIsObjectLike;
|
5
|
+
function requireIsObjectLike() {
|
6
|
+
if (hasRequiredIsObjectLike) return isObjectLike_1;
|
7
|
+
hasRequiredIsObjectLike = 1;
|
8
|
+
function isObjectLike(value) {
|
9
|
+
return value != null && typeof value == "object";
|
12
10
|
}
|
13
|
-
|
14
|
-
return
|
11
|
+
isObjectLike_1 = isObjectLike;
|
12
|
+
return isObjectLike_1;
|
15
13
|
}
|
16
|
-
exports.__require =
|
14
|
+
exports.__require = requireIsObjectLike;
|
17
15
|
//# sourceMappingURL=harmony131.cjs.map
|
package/dist/harmony131.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony131.cjs","sources":["../node_modules/lodash/
|
1
|
+
{"version":3,"file":"harmony131.cjs","sources":["../node_modules/lodash/isObjectLike.js"],"sourcesContent":["/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n"],"names":[],"mappings":";;;;;;;AAwBA,WAAS,aAAa,OAAO;AAC3B,WAAO,SAAS,QAAQ,OAAO,SAAS;AAAA,EAC1C;AAEA,mBAAiB;;;;","x_google_ignoreList":[0]}
|
package/dist/harmony131.mjs
CHANGED
@@ -1,17 +1,15 @@
|
|
1
|
-
var
|
2
|
-
var
|
3
|
-
function
|
4
|
-
if (
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
function objectToString(value) {
|
9
|
-
return nativeObjectToString.call(value);
|
1
|
+
var isObjectLike_1;
|
2
|
+
var hasRequiredIsObjectLike;
|
3
|
+
function requireIsObjectLike() {
|
4
|
+
if (hasRequiredIsObjectLike) return isObjectLike_1;
|
5
|
+
hasRequiredIsObjectLike = 1;
|
6
|
+
function isObjectLike(value) {
|
7
|
+
return value != null && typeof value == "object";
|
10
8
|
}
|
11
|
-
|
12
|
-
return
|
9
|
+
isObjectLike_1 = isObjectLike;
|
10
|
+
return isObjectLike_1;
|
13
11
|
}
|
14
12
|
export {
|
15
|
-
|
13
|
+
requireIsObjectLike as __require
|
16
14
|
};
|
17
15
|
//# sourceMappingURL=harmony131.mjs.map
|
package/dist/harmony131.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"harmony131.mjs","sources":["../node_modules/lodash/
|
1
|
+
{"version":3,"file":"harmony131.mjs","sources":["../node_modules/lodash/isObjectLike.js"],"sourcesContent":["/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n"],"names":[],"mappings":";;;;;AAwBA,WAAS,aAAa,OAAO;AAC3B,WAAO,SAAS,QAAQ,OAAO,SAAS;AAAA,EAC1C;AAEA,mBAAiB;;;","x_google_ignoreList":[0]}
|