@monetize.software/sdk 3.0.0-alpha.20 → 3.0.0-alpha.22
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/{PaywallUI-BXEOgPTK.js → PaywallUI-DL_njLCG.js} +385 -382
- package/dist/chunks/PaywallUI-DL_njLCG.js.map +1 -0
- package/dist/chunks/PaywallUI-dx0GSfTf.js +26 -0
- package/dist/chunks/PaywallUI-dx0GSfTf.js.map +1 -0
- package/dist/chunks/index-CLB1AgLg.js +2074 -0
- package/dist/chunks/index-CLB1AgLg.js.map +1 -0
- package/dist/chunks/index-CzDSBl4d.js +2 -0
- package/dist/chunks/index-CzDSBl4d.js.map +1 -0
- package/dist/core.cjs +1 -1
- package/dist/core.cjs.map +1 -1
- package/dist/core.js +17 -2066
- package/dist/core.js.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +6 -0
- package/dist/index.js +17 -17
- package/dist/ui.cjs +1 -1
- package/dist/ui.d.ts +6 -0
- package/dist/ui.js +1 -1
- package/package.json +1 -1
- package/dist/chunks/PaywallUI-BXEOgPTK.js.map +0 -1
- package/dist/chunks/PaywallUI-Cybo6wdO.js +0 -26
- package/dist/chunks/PaywallUI-Cybo6wdO.js.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/index-CzDSBl4d.js"),r=require("./chunks/PaywallUI-dx0GSfTf.js");exports.ApiClient=e.ApiClient;exports.ApiGatewayClient=e.ApiGatewayClient;exports.AuthClient=e.AuthClient;exports.BillingClient=e.BillingClient;exports.EventTracker=e.EventTracker;exports.PaywallError=e.PaywallError;exports.QuotaExceededError=e.QuotaExceededError;exports.SDK_VERSION=e.SDK_VERSION;exports.STORAGE_KEYS=e.STORAGE_KEYS;exports.createStorage=e.createStorage;exports.ensureVisitorId=e.ensureVisitorId;exports.findApplicableOffer=e.findApplicableOffer;exports.generateVisitorId=e.generateVisitorId;exports.offerStartStorageKey=e.offerStartStorageKey;exports.readBrowserOfferStart=e.readBrowserOfferStart;exports.resolveOffer=e.resolveOffer;exports.PaywallUI=r.PaywallUI;exports.blockRegistry=r.blockRegistry;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1530,6 +1530,12 @@ export declare class PaywallUI {
|
|
|
1530
1530
|
private watcher;
|
|
1531
1531
|
private tracker;
|
|
1532
1532
|
private purchased;
|
|
1533
|
+
/** View, с которым последний раз монтировалась модалка. Гейтит аналитику
|
|
1534
|
+
* `paywall_opened`/`paywall_viewed` на реальный пейвол (`'layout'`): открытие
|
|
1535
|
+
* support / standalone-auth / awaiting_payment эмитит публичный `'open'` и
|
|
1536
|
+
* `'ready'`, но это не «пейвол открыт/просмотрен» — иначе саппорт-клик шлёт
|
|
1537
|
+
* ложный `paywall_opened`. */
|
|
1538
|
+
private lastMountedView;
|
|
1533
1539
|
/** Lazy-инстанс TrialStore. Резолвится при первом open(), когда уже знаем
|
|
1534
1540
|
* `bootstrap.settings.trial`. null — триал отключён в конфиге пейвола. */
|
|
1535
1541
|
private trialStore;
|
package/dist/index.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { P as
|
|
1
|
+
import { A as r, a as s, b as t, B as i, E as o, P as l, Q as f, S as n, c as S, d as E, e as d, f as c, h as p, o as A, r as g, i as y } from "./chunks/index-CLB1AgLg.js";
|
|
2
|
+
import { P as b, b as w } from "./chunks/PaywallUI-DL_njLCG.js";
|
|
3
3
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
4
|
+
r as ApiClient,
|
|
5
|
+
s as ApiGatewayClient,
|
|
6
|
+
t as AuthClient,
|
|
7
|
+
i as BillingClient,
|
|
8
|
+
o as EventTracker,
|
|
9
|
+
l as PaywallError,
|
|
10
|
+
b as PaywallUI,
|
|
11
|
+
f as QuotaExceededError,
|
|
12
|
+
n as SDK_VERSION,
|
|
13
13
|
S as STORAGE_KEYS,
|
|
14
|
-
|
|
14
|
+
w as blockRegistry,
|
|
15
15
|
E as createStorage,
|
|
16
16
|
d as ensureVisitorId,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
c as findApplicableOffer,
|
|
18
|
+
p as generateVisitorId,
|
|
19
|
+
A as offerStartStorageKey,
|
|
20
|
+
g as readBrowserOfferStart,
|
|
21
|
+
y as resolveOffer
|
|
22
22
|
};
|
|
23
23
|
//# sourceMappingURL=index.js.map
|
package/dist/ui.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/PaywallUI-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/PaywallUI-dx0GSfTf.js");exports.PaywallUI=e.PaywallUI;exports.blockRegistry=e.blockRegistry;
|
|
2
2
|
//# sourceMappingURL=ui.cjs.map
|
package/dist/ui.d.ts
CHANGED
|
@@ -1459,6 +1459,12 @@ export declare class PaywallUI {
|
|
|
1459
1459
|
private watcher;
|
|
1460
1460
|
private tracker;
|
|
1461
1461
|
private purchased;
|
|
1462
|
+
/** View, с которым последний раз монтировалась модалка. Гейтит аналитику
|
|
1463
|
+
* `paywall_opened`/`paywall_viewed` на реальный пейвол (`'layout'`): открытие
|
|
1464
|
+
* support / standalone-auth / awaiting_payment эмитит публичный `'open'` и
|
|
1465
|
+
* `'ready'`, но это не «пейвол открыт/просмотрен» — иначе саппорт-клик шлёт
|
|
1466
|
+
* ложный `paywall_opened`. */
|
|
1467
|
+
private lastMountedView;
|
|
1462
1468
|
/** Lazy-инстанс TrialStore. Резолвится при первом open(), когда уже знаем
|
|
1463
1469
|
* `bootstrap.settings.trial`. null — триал отключён в конфиге пейвола. */
|
|
1464
1470
|
private trialStore;
|
package/dist/ui.js
CHANGED
package/package.json
CHANGED