@monetize.software/sdk-extension 3.0.0-alpha.10 → 3.0.0-alpha.12
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/chunks/{chrome-port-DptrBLez.js → chrome-port-BXK5myXz.js} +2 -2
- package/dist/chunks/chrome-port-BXK5myXz.js.map +1 -0
- package/dist/chunks/{chrome-port-CB1NEZOC.js → chrome-port-KYVwww_u.js} +10 -1
- package/dist/chunks/chrome-port-KYVwww_u.js.map +1 -0
- package/dist/content/RemoteAuthClient.d.ts +1 -1
- package/dist/content/RemoteBillingClient.d.ts +7 -3
- package/dist/content/RemoteBillingClient.d.ts.map +1 -1
- package/dist/content/RemoteTrialStore.d.ts +2 -2
- package/dist/content.cjs +3 -3
- package/dist/content.cjs.map +1 -1
- package/dist/content.js +735 -666
- package/dist/content.js.map +1 -1
- package/dist/offscreen/server.d.ts +3 -3
- package/dist/offscreen.cjs +1 -1
- package/dist/offscreen.js +1 -1
- package/dist/shared/messages.d.ts +2 -2
- package/package.json +3 -3
- package/dist/chunks/chrome-port-CB1NEZOC.js.map +0 -1
- package/dist/chunks/chrome-port-DptrBLez.js.map +0 -1
|
@@ -1352,6 +1352,15 @@ class It {
|
|
|
1352
1352
|
getCachedPrices() {
|
|
1353
1353
|
return this.cachedBootstrap?.prices ?? null;
|
|
1354
1354
|
}
|
|
1355
|
+
/** Sync-снимок офферов из последнего bootstrap'а. null = bootstrap ещё не
|
|
1356
|
+
* загружали, пустой массив = бэк отдал пейвол без офферов. Бэк уже
|
|
1357
|
+
* применил серверный таргетинг (target_countries / target_emails /
|
|
1358
|
+
* targeting_mode из offer_settings) — наружу выезжает только то, что
|
|
1359
|
+
* применимо к текущему юзеру. Клиентская сторона остаётся ответственной
|
|
1360
|
+
* за price_id-matching и countdown (см. core/offer.ts → resolveOffer). */
|
|
1361
|
+
getCachedOffers() {
|
|
1362
|
+
return this.cachedBootstrap?.offers ?? null;
|
|
1363
|
+
}
|
|
1355
1364
|
/**
|
|
1356
1365
|
* Снимок того, какой язык SDK сейчас считает «языком юзера». Полезно для
|
|
1357
1366
|
* синхронизации i18n хоста с тем, что фактически показывает пейвол — чтобы
|
|
@@ -2162,4 +2171,4 @@ export {
|
|
|
2162
2171
|
_t as s,
|
|
2163
2172
|
Z as w
|
|
2164
2173
|
};
|
|
2165
|
-
//# sourceMappingURL=chrome-port-
|
|
2174
|
+
//# sourceMappingURL=chrome-port-KYVwww_u.js.map
|