@seatlayer/core 0.37.0 → 0.38.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/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -4
- package/dist/index.d.ts +10 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1868,8 +1868,12 @@ declare function generateSeatThumb(seat: ExpandedSeat, focalPoint: Point, _neigh
|
|
|
1868
1868
|
|
|
1869
1869
|
/**
|
|
1870
1870
|
* i18n core — deliberately tiny and framework-free so the embed SDK can share
|
|
1871
|
-
* it without dragging in a runtime library
|
|
1872
|
-
*
|
|
1871
|
+
* it without dragging in a runtime library — every KB here lands in the complete
|
|
1872
|
+
* CDN bundle every buyer downloads, which is ~207 KB gzipped as of 0.37.0+.
|
|
1873
|
+
* (This used to cite a "150 KB product contract". That number was never true of
|
|
1874
|
+
* any shipped bundle — the dashboard advertised it while the artifact measured
|
|
1875
|
+
* 215 KB — so it is stated as the measured figure now, not as a budget nobody
|
|
1876
|
+
* was holding. See docs/hosted-checkout-programme-2026-08-03.md §W4.)
|
|
1873
1877
|
*
|
|
1874
1878
|
* Scope: the buyer surface (picker, public event
|
|
1875
1879
|
* page, SDK) ships fully translated in en/es/de/fr; dashboard pages route
|
|
@@ -1899,8 +1903,10 @@ declare function formatDate(value: number | Date, opts?: Intl.DateTimeFormatOpti
|
|
|
1899
1903
|
|
|
1900
1904
|
/**
|
|
1901
1905
|
* Locale bundle loader — keeps non-English translations OUT of the initial
|
|
1902
|
-
* bundle
|
|
1903
|
-
* locale so a page/SDK only downloads the language it actually
|
|
1906
|
+
* bundle — they are ~2.5 KB gzipped of the complete CDN artifact — and
|
|
1907
|
+
* code-splits each locale so a page/SDK only downloads the language it actually
|
|
1908
|
+
* uses. (The "150 KB product contract" this used to cite was never true of a
|
|
1909
|
+
* shipped bundle; see docs/hosted-checkout-programme-2026-08-03.md §W4.)
|
|
1904
1910
|
*
|
|
1905
1911
|
* `loadLocale('de')` dynamic-imports the German dictionary, registers it via
|
|
1906
1912
|
* setLocale(), and resolves once it's active. English is built in, so
|
package/dist/index.d.ts
CHANGED
|
@@ -1868,8 +1868,12 @@ declare function generateSeatThumb(seat: ExpandedSeat, focalPoint: Point, _neigh
|
|
|
1868
1868
|
|
|
1869
1869
|
/**
|
|
1870
1870
|
* i18n core — deliberately tiny and framework-free so the embed SDK can share
|
|
1871
|
-
* it without dragging in a runtime library
|
|
1872
|
-
*
|
|
1871
|
+
* it without dragging in a runtime library — every KB here lands in the complete
|
|
1872
|
+
* CDN bundle every buyer downloads, which is ~207 KB gzipped as of 0.37.0+.
|
|
1873
|
+
* (This used to cite a "150 KB product contract". That number was never true of
|
|
1874
|
+
* any shipped bundle — the dashboard advertised it while the artifact measured
|
|
1875
|
+
* 215 KB — so it is stated as the measured figure now, not as a budget nobody
|
|
1876
|
+
* was holding. See docs/hosted-checkout-programme-2026-08-03.md §W4.)
|
|
1873
1877
|
*
|
|
1874
1878
|
* Scope: the buyer surface (picker, public event
|
|
1875
1879
|
* page, SDK) ships fully translated in en/es/de/fr; dashboard pages route
|
|
@@ -1899,8 +1903,10 @@ declare function formatDate(value: number | Date, opts?: Intl.DateTimeFormatOpti
|
|
|
1899
1903
|
|
|
1900
1904
|
/**
|
|
1901
1905
|
* Locale bundle loader — keeps non-English translations OUT of the initial
|
|
1902
|
-
* bundle
|
|
1903
|
-
* locale so a page/SDK only downloads the language it actually
|
|
1906
|
+
* bundle — they are ~2.5 KB gzipped of the complete CDN artifact — and
|
|
1907
|
+
* code-splits each locale so a page/SDK only downloads the language it actually
|
|
1908
|
+
* uses. (The "150 KB product contract" this used to cite was never true of a
|
|
1909
|
+
* shipped bundle; see docs/hosted-checkout-programme-2026-08-03.md §W4.)
|
|
1904
1910
|
*
|
|
1905
1911
|
* `loadLocale('de')` dynamic-imports the German dictionary, registers it via
|
|
1906
1912
|
* setLocale(), and resolves once it's active. English is built in, so
|