@extenshi/pay 0.11.0 → 0.12.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/README.md +11 -1
- package/dist/core/extenshi-pay.d.ts +1 -1
- package/dist/core/extenshi-pay.d.ts.map +1 -1
- package/dist/core.d.mts +6 -3
- package/dist/core.d.ts +6 -3
- package/dist/core.js +26 -8
- package/dist/core.js.map +1 -1
- package/dist/core.mjs +26 -9
- package/dist/core.mjs.map +1 -1
- package/dist/extenshi-pay-lite.js +25 -8
- package/dist/extenshi-pay-lite.js.map +1 -1
- package/dist/extenshi-pay-lite.min.js +3 -3
- package/dist/extenshi-pay-lite.min.js.map +1 -1
- package/dist/extenshi-pay-lite.mjs +25 -8
- package/dist/extenshi-pay-lite.mjs.map +1 -1
- package/dist/extenshi-pay.cjs.js +28 -8
- package/dist/extenshi-pay.cjs.js.map +1 -1
- package/dist/extenshi-pay.d.ts.map +1 -1
- package/dist/extenshi-pay.js +28 -8
- package/dist/extenshi-pay.js.map +1 -1
- package/dist/extenshi-pay.min.js +3 -3
- package/dist/extenshi-pay.min.js.map +1 -1
- package/dist/extenshi-pay.min.mjs +3 -3
- package/dist/extenshi-pay.min.mjs.map +1 -1
- package/dist/extenshi-pay.mjs +28 -9
- package/dist/extenshi-pay.mjs.map +1 -1
- package/dist/index.d.mts +6 -3
- package/dist/index.d.ts +6 -3
- package/dist/lite.d.mts +4 -2
- package/dist/lite.d.ts +4 -2
- package/dist/payment/entitlement.d.ts.map +1 -1
- package/dist/paywall.js +2 -2
- package/dist/paywall.js.map +1 -1
- package/dist/paywall.mjs +2 -2
- package/dist/paywall.mjs.map +1 -1
- package/dist/types/contract.d.ts +1 -0
- package/dist/types/contract.d.ts.map +1 -1
- package/dist/types/entitlement.d.ts +2 -0
- package/dist/types/entitlement.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -49,6 +49,7 @@ interface PayOfferDto {
|
|
|
49
49
|
description: string | null;
|
|
50
50
|
features: string[];
|
|
51
51
|
}
|
|
52
|
+
declare const PAY_REGIONAL_ACCESS_SKU = "@regional-free";
|
|
52
53
|
interface PayOfferResponse {
|
|
53
54
|
/** Optional during rolling upgrades; never infer this from the project name. */
|
|
54
55
|
seller?: PaySellerPublic | null;
|
|
@@ -428,6 +429,8 @@ interface Entitlement {
|
|
|
428
429
|
items: PayEntitlementItem[];
|
|
429
430
|
/** Union of `features[]` over active/grace items. */
|
|
430
431
|
features: string[];
|
|
432
|
+
/** Signed expiry of regional free access, independent of any purchase. */
|
|
433
|
+
regionalFreeUntil?: number;
|
|
431
434
|
/** True only when the Ed25519 signature was checked against the project's key. */
|
|
432
435
|
verified: boolean;
|
|
433
436
|
issuedAt: string | null;
|
|
@@ -983,7 +986,7 @@ declare class Logger {
|
|
|
983
986
|
declare const logger: Logger;
|
|
984
987
|
|
|
985
988
|
/** Kept in sync with package.json by tests/unit/version.test.ts. */
|
|
986
|
-
declare const VERSION = "0.
|
|
989
|
+
declare const VERSION = "0.12.0";
|
|
987
990
|
|
|
988
991
|
/** Same shape the BFF accepts (`en`, `de-DE`, `zh-Hant`). */
|
|
989
992
|
declare const LOCALE_RE: RegExp;
|
|
@@ -1024,7 +1027,7 @@ interface ExtenshiPayDeps {
|
|
|
1024
1027
|
now?: () => number;
|
|
1025
1028
|
}
|
|
1026
1029
|
declare class ExtenshiPayLite {
|
|
1027
|
-
static readonly version = "0.
|
|
1030
|
+
static readonly version = "0.12.0";
|
|
1028
1031
|
protected readonly config: ResolvedConfig;
|
|
1029
1032
|
protected readonly emitter: EventEmitter<ExtenshiPayEvents>;
|
|
1030
1033
|
protected readonly storage: StorageAdapter;
|
|
@@ -1362,5 +1365,5 @@ declare const PAYWALL_SHARED_CSS: string;
|
|
|
1362
1365
|
declare const PAYWALL_TEMPLATES: Record<PaywallMode, PaywallTemplate>;
|
|
1363
1366
|
declare const PAYWALL_MODES: PaywallMode[];
|
|
1364
1367
|
|
|
1365
|
-
export { CHECKOUT_POLL_INTERVAL_MS, CHECKOUT_TIMEOUT_MS, CheckoutManager, CloudBackup, DEFAULT_API_URL, DEFAULT_CACHE_TTL_MS, DEFAULT_STRINGS, DEFAULT_TRIAL_ENDING_DAYS, EMPTY_ENTITLEMENT, END_USER_REF_STORAGE_KEY, ERROR_CODES, EntitlementManager, EventEmitter, ExtenshiPay, ExtenshiPayError, ExtenshiPayLite, ExtensionStorage, HttpTransport, LOCALE_RE, LocalStorageAdapter, Logger, MAX_CACHE_TTL_MS, MAX_REFRESH_BACKOFF_MS, MIN_REFRESH_INTERVAL_MS, MemoryStorage, MockTransport, PAYWALL_HOST_CLASS, PAYWALL_MODES, PAYWALL_SHARED_CSS, PAYWALL_TEMPLATES, PAY_CONTRACT_VERSION, PAY_CURRENCIES, PAY_END_USER_REF_RE, PAY_ENTITLEMENT_STATUSES, PAY_ERRORS, PAY_GATEWAYS, PAY_OFFER_INTERVALS, PAY_OFFER_KINDS, PAY_PUBLISHABLE_KEY_HEX_LENGTH, PAY_PUBLISHABLE_KEY_PREFIX, PAY_RESTORE_PURPOSES, PAY_SKU_RE, PAY_WITHDRAWAL_WAIVER_VERSION, PayApi, PaywallRenderer, RecoveryManager, STORAGE_TOKEN_RE, TRPC_PATH, VERSION, WITHDRAWAL_WAIVER_CLASS, WITHDRAWAL_WAIVER_TEXTS, applyLocalExpiry, base64ToBytes, buildContent, canonicalJson, checkFeatures, collectFeatures, createRecoveryStorage, createStorage, createSyncStorage, ExtenshiPay as default, escapeHtml, formatPrice, getOrCreateEndUserRef, hasFeature, isEntitled, isLive, isPayPublishableKey, logger, mintEndUserRef, openInNewTab, periodLabel, resolveConfig, resolveThemeMode, substitute, themeCss, trpcErrorToPayError, verifyEntitlementSignature, withdrawalWaiverText };
|
|
1368
|
+
export { CHECKOUT_POLL_INTERVAL_MS, CHECKOUT_TIMEOUT_MS, CheckoutManager, CloudBackup, DEFAULT_API_URL, DEFAULT_CACHE_TTL_MS, DEFAULT_STRINGS, DEFAULT_TRIAL_ENDING_DAYS, EMPTY_ENTITLEMENT, END_USER_REF_STORAGE_KEY, ERROR_CODES, EntitlementManager, EventEmitter, ExtenshiPay, ExtenshiPayError, ExtenshiPayLite, ExtensionStorage, HttpTransport, LOCALE_RE, LocalStorageAdapter, Logger, MAX_CACHE_TTL_MS, MAX_REFRESH_BACKOFF_MS, MIN_REFRESH_INTERVAL_MS, MemoryStorage, MockTransport, PAYWALL_HOST_CLASS, PAYWALL_MODES, PAYWALL_SHARED_CSS, PAYWALL_TEMPLATES, PAY_CONTRACT_VERSION, PAY_CURRENCIES, PAY_END_USER_REF_RE, PAY_ENTITLEMENT_STATUSES, PAY_ERRORS, PAY_GATEWAYS, PAY_OFFER_INTERVALS, PAY_OFFER_KINDS, PAY_PUBLISHABLE_KEY_HEX_LENGTH, PAY_PUBLISHABLE_KEY_PREFIX, PAY_REGIONAL_ACCESS_SKU, PAY_RESTORE_PURPOSES, PAY_SKU_RE, PAY_WITHDRAWAL_WAIVER_VERSION, PayApi, PaywallRenderer, RecoveryManager, STORAGE_TOKEN_RE, TRPC_PATH, VERSION, WITHDRAWAL_WAIVER_CLASS, WITHDRAWAL_WAIVER_TEXTS, applyLocalExpiry, base64ToBytes, buildContent, canonicalJson, checkFeatures, collectFeatures, createRecoveryStorage, createStorage, createSyncStorage, ExtenshiPay as default, escapeHtml, formatPrice, getOrCreateEndUserRef, hasFeature, isEntitled, isLive, isPayPublishableKey, logger, mintEndUserRef, openInNewTab, periodLabel, resolveConfig, resolveThemeMode, substitute, themeCss, trpcErrorToPayError, verifyEntitlementSignature, withdrawalWaiverText };
|
|
1366
1369
|
export type { CheckoutManagerOptions, CheckoutOptions, CheckoutResult, CheckoutState, ClockSkew, CloudBackupOptions, CloudBackupState, CustomerPortalOptions, Entitlement, EntitlementManagerOptions, EntitlementSource, Environment, ErrorCode, ExtenshiPayConfig, ExtenshiPayDeps, ExtenshiPayErrorOptions, ExtenshiPayEventName, ExtenshiPayEvents, FormattedPrice, GetEntitlementOptions, HttpTransportOptions, LicenseSummary, Listener, LogLevel, MockData, PayCheckoutClaim, PayCheckoutSession, PayCurrency, PayEntitlementItem, PayEntitlementPayload, PayEntitlementStatus, PayErrorCode, PayGatewayId, PayOfferDto, PayOfferInterval, PayOfferKind, PayOfferResponse, PayPortalAccount, PayPortalResponse, PayRestoreClaimResponse, PayRestorePurpose, PayRestoreSessionResponse, PaySellerPublic, PayStorageGrant, PayTrial, PayWithdrawalWaiver, PaywallMode, PaywallOptions, PaywallRendererCallbacks, PaywallStrings, PaywallTemplate, PaywallView, ProcedureKind, RecoveryManagerOptions, RequireFeatureOptions, ResolvedConfig, RestoreOptions, RestoreResult, SignatureVerdict, SignedEntitlement, StorageAdapter, ThemeConfig, Transport, TrialEndedOptions, TrialState, UpgradeConsent, WithdrawalWaiverConsent };
|
package/dist/index.d.ts
CHANGED
|
@@ -49,6 +49,7 @@ interface PayOfferDto {
|
|
|
49
49
|
description: string | null;
|
|
50
50
|
features: string[];
|
|
51
51
|
}
|
|
52
|
+
declare const PAY_REGIONAL_ACCESS_SKU = "@regional-free";
|
|
52
53
|
interface PayOfferResponse {
|
|
53
54
|
/** Optional during rolling upgrades; never infer this from the project name. */
|
|
54
55
|
seller?: PaySellerPublic | null;
|
|
@@ -428,6 +429,8 @@ interface Entitlement {
|
|
|
428
429
|
items: PayEntitlementItem[];
|
|
429
430
|
/** Union of `features[]` over active/grace items. */
|
|
430
431
|
features: string[];
|
|
432
|
+
/** Signed expiry of regional free access, independent of any purchase. */
|
|
433
|
+
regionalFreeUntil?: number;
|
|
431
434
|
/** True only when the Ed25519 signature was checked against the project's key. */
|
|
432
435
|
verified: boolean;
|
|
433
436
|
issuedAt: string | null;
|
|
@@ -983,7 +986,7 @@ declare class Logger {
|
|
|
983
986
|
declare const logger: Logger;
|
|
984
987
|
|
|
985
988
|
/** Kept in sync with package.json by tests/unit/version.test.ts. */
|
|
986
|
-
declare const VERSION = "0.
|
|
989
|
+
declare const VERSION = "0.12.0";
|
|
987
990
|
|
|
988
991
|
/** Same shape the BFF accepts (`en`, `de-DE`, `zh-Hant`). */
|
|
989
992
|
declare const LOCALE_RE: RegExp;
|
|
@@ -1024,7 +1027,7 @@ interface ExtenshiPayDeps {
|
|
|
1024
1027
|
now?: () => number;
|
|
1025
1028
|
}
|
|
1026
1029
|
declare class ExtenshiPayLite {
|
|
1027
|
-
static readonly version = "0.
|
|
1030
|
+
static readonly version = "0.12.0";
|
|
1028
1031
|
protected readonly config: ResolvedConfig;
|
|
1029
1032
|
protected readonly emitter: EventEmitter<ExtenshiPayEvents>;
|
|
1030
1033
|
protected readonly storage: StorageAdapter;
|
|
@@ -1362,5 +1365,5 @@ declare const PAYWALL_SHARED_CSS: string;
|
|
|
1362
1365
|
declare const PAYWALL_TEMPLATES: Record<PaywallMode, PaywallTemplate>;
|
|
1363
1366
|
declare const PAYWALL_MODES: PaywallMode[];
|
|
1364
1367
|
|
|
1365
|
-
export { CHECKOUT_POLL_INTERVAL_MS, CHECKOUT_TIMEOUT_MS, CheckoutManager, CloudBackup, DEFAULT_API_URL, DEFAULT_CACHE_TTL_MS, DEFAULT_STRINGS, DEFAULT_TRIAL_ENDING_DAYS, EMPTY_ENTITLEMENT, END_USER_REF_STORAGE_KEY, ERROR_CODES, EntitlementManager, EventEmitter, ExtenshiPay, ExtenshiPayError, ExtenshiPayLite, ExtensionStorage, HttpTransport, LOCALE_RE, LocalStorageAdapter, Logger, MAX_CACHE_TTL_MS, MAX_REFRESH_BACKOFF_MS, MIN_REFRESH_INTERVAL_MS, MemoryStorage, MockTransport, PAYWALL_HOST_CLASS, PAYWALL_MODES, PAYWALL_SHARED_CSS, PAYWALL_TEMPLATES, PAY_CONTRACT_VERSION, PAY_CURRENCIES, PAY_END_USER_REF_RE, PAY_ENTITLEMENT_STATUSES, PAY_ERRORS, PAY_GATEWAYS, PAY_OFFER_INTERVALS, PAY_OFFER_KINDS, PAY_PUBLISHABLE_KEY_HEX_LENGTH, PAY_PUBLISHABLE_KEY_PREFIX, PAY_RESTORE_PURPOSES, PAY_SKU_RE, PAY_WITHDRAWAL_WAIVER_VERSION, PayApi, PaywallRenderer, RecoveryManager, STORAGE_TOKEN_RE, TRPC_PATH, VERSION, WITHDRAWAL_WAIVER_CLASS, WITHDRAWAL_WAIVER_TEXTS, applyLocalExpiry, base64ToBytes, buildContent, canonicalJson, checkFeatures, collectFeatures, createRecoveryStorage, createStorage, createSyncStorage, ExtenshiPay as default, escapeHtml, formatPrice, getOrCreateEndUserRef, hasFeature, isEntitled, isLive, isPayPublishableKey, logger, mintEndUserRef, openInNewTab, periodLabel, resolveConfig, resolveThemeMode, substitute, themeCss, trpcErrorToPayError, verifyEntitlementSignature, withdrawalWaiverText };
|
|
1368
|
+
export { CHECKOUT_POLL_INTERVAL_MS, CHECKOUT_TIMEOUT_MS, CheckoutManager, CloudBackup, DEFAULT_API_URL, DEFAULT_CACHE_TTL_MS, DEFAULT_STRINGS, DEFAULT_TRIAL_ENDING_DAYS, EMPTY_ENTITLEMENT, END_USER_REF_STORAGE_KEY, ERROR_CODES, EntitlementManager, EventEmitter, ExtenshiPay, ExtenshiPayError, ExtenshiPayLite, ExtensionStorage, HttpTransport, LOCALE_RE, LocalStorageAdapter, Logger, MAX_CACHE_TTL_MS, MAX_REFRESH_BACKOFF_MS, MIN_REFRESH_INTERVAL_MS, MemoryStorage, MockTransport, PAYWALL_HOST_CLASS, PAYWALL_MODES, PAYWALL_SHARED_CSS, PAYWALL_TEMPLATES, PAY_CONTRACT_VERSION, PAY_CURRENCIES, PAY_END_USER_REF_RE, PAY_ENTITLEMENT_STATUSES, PAY_ERRORS, PAY_GATEWAYS, PAY_OFFER_INTERVALS, PAY_OFFER_KINDS, PAY_PUBLISHABLE_KEY_HEX_LENGTH, PAY_PUBLISHABLE_KEY_PREFIX, PAY_REGIONAL_ACCESS_SKU, PAY_RESTORE_PURPOSES, PAY_SKU_RE, PAY_WITHDRAWAL_WAIVER_VERSION, PayApi, PaywallRenderer, RecoveryManager, STORAGE_TOKEN_RE, TRPC_PATH, VERSION, WITHDRAWAL_WAIVER_CLASS, WITHDRAWAL_WAIVER_TEXTS, applyLocalExpiry, base64ToBytes, buildContent, canonicalJson, checkFeatures, collectFeatures, createRecoveryStorage, createStorage, createSyncStorage, ExtenshiPay as default, escapeHtml, formatPrice, getOrCreateEndUserRef, hasFeature, isEntitled, isLive, isPayPublishableKey, logger, mintEndUserRef, openInNewTab, periodLabel, resolveConfig, resolveThemeMode, substitute, themeCss, trpcErrorToPayError, verifyEntitlementSignature, withdrawalWaiverText };
|
|
1366
1369
|
export type { CheckoutManagerOptions, CheckoutOptions, CheckoutResult, CheckoutState, ClockSkew, CloudBackupOptions, CloudBackupState, CustomerPortalOptions, Entitlement, EntitlementManagerOptions, EntitlementSource, Environment, ErrorCode, ExtenshiPayConfig, ExtenshiPayDeps, ExtenshiPayErrorOptions, ExtenshiPayEventName, ExtenshiPayEvents, FormattedPrice, GetEntitlementOptions, HttpTransportOptions, LicenseSummary, Listener, LogLevel, MockData, PayCheckoutClaim, PayCheckoutSession, PayCurrency, PayEntitlementItem, PayEntitlementPayload, PayEntitlementStatus, PayErrorCode, PayGatewayId, PayOfferDto, PayOfferInterval, PayOfferKind, PayOfferResponse, PayPortalAccount, PayPortalResponse, PayRestoreClaimResponse, PayRestorePurpose, PayRestoreSessionResponse, PaySellerPublic, PayStorageGrant, PayTrial, PayWithdrawalWaiver, PaywallMode, PaywallOptions, PaywallRendererCallbacks, PaywallStrings, PaywallTemplate, PaywallView, ProcedureKind, RecoveryManagerOptions, RequireFeatureOptions, ResolvedConfig, RestoreOptions, RestoreResult, SignatureVerdict, SignedEntitlement, StorageAdapter, ThemeConfig, Transport, TrialEndedOptions, TrialState, UpgradeConsent, WithdrawalWaiverConsent };
|
package/dist/lite.d.mts
CHANGED
|
@@ -377,6 +377,8 @@ interface Entitlement {
|
|
|
377
377
|
items: PayEntitlementItem[];
|
|
378
378
|
/** Union of `features[]` over active/grace items. */
|
|
379
379
|
features: string[];
|
|
380
|
+
/** Signed expiry of regional free access, independent of any purchase. */
|
|
381
|
+
regionalFreeUntil?: number;
|
|
380
382
|
/** True only when the Ed25519 signature was checked against the project's key. */
|
|
381
383
|
verified: boolean;
|
|
382
384
|
issuedAt: string | null;
|
|
@@ -828,7 +830,7 @@ interface ExtenshiPayDeps {
|
|
|
828
830
|
now?: () => number;
|
|
829
831
|
}
|
|
830
832
|
declare class ExtenshiPayLite {
|
|
831
|
-
static readonly version = "0.
|
|
833
|
+
static readonly version = "0.12.0";
|
|
832
834
|
protected readonly config: ResolvedConfig;
|
|
833
835
|
protected readonly emitter: EventEmitter<ExtenshiPayEvents>;
|
|
834
836
|
protected readonly storage: StorageAdapter;
|
|
@@ -957,7 +959,7 @@ declare class ExtenshiPayLite {
|
|
|
957
959
|
}
|
|
958
960
|
|
|
959
961
|
/** Kept in sync with package.json by tests/unit/version.test.ts. */
|
|
960
|
-
declare const VERSION = "0.
|
|
962
|
+
declare const VERSION = "0.12.0";
|
|
961
963
|
|
|
962
964
|
export { ERROR_CODES, ExtenshiPayLite as ExtenshiPay, ExtenshiPayError, ExtenshiPayLite, MockTransport, PAY_WITHDRAWAL_WAIVER_VERSION, VERSION, ExtenshiPayLite as default };
|
|
963
965
|
export type { CheckoutOptions, CheckoutResult, CheckoutState, ClockSkew, CloudBackupState, CustomerPortalOptions, Entitlement, EntitlementSource, ErrorCode, ExtenshiPayConfig, ExtenshiPayDeps, ExtenshiPayEventName, ExtenshiPayEvents, GetEntitlementOptions, LicenseSummary, MockData, PayEntitlementItem, PayEntitlementStatus, PayOfferDto, PayPortalAccount, PayPortalResponse, PayRestorePurpose, PaySellerPublic, PayStorageGrant, PayWithdrawalWaiver, RequireFeatureOptions, RestoreOptions, RestoreResult, StorageAdapter, ThemeConfig, Transport, TrialState, WithdrawalWaiverConsent };
|
package/dist/lite.d.ts
CHANGED
|
@@ -377,6 +377,8 @@ interface Entitlement {
|
|
|
377
377
|
items: PayEntitlementItem[];
|
|
378
378
|
/** Union of `features[]` over active/grace items. */
|
|
379
379
|
features: string[];
|
|
380
|
+
/** Signed expiry of regional free access, independent of any purchase. */
|
|
381
|
+
regionalFreeUntil?: number;
|
|
380
382
|
/** True only when the Ed25519 signature was checked against the project's key. */
|
|
381
383
|
verified: boolean;
|
|
382
384
|
issuedAt: string | null;
|
|
@@ -828,7 +830,7 @@ interface ExtenshiPayDeps {
|
|
|
828
830
|
now?: () => number;
|
|
829
831
|
}
|
|
830
832
|
declare class ExtenshiPayLite {
|
|
831
|
-
static readonly version = "0.
|
|
833
|
+
static readonly version = "0.12.0";
|
|
832
834
|
protected readonly config: ResolvedConfig;
|
|
833
835
|
protected readonly emitter: EventEmitter<ExtenshiPayEvents>;
|
|
834
836
|
protected readonly storage: StorageAdapter;
|
|
@@ -957,7 +959,7 @@ declare class ExtenshiPayLite {
|
|
|
957
959
|
}
|
|
958
960
|
|
|
959
961
|
/** Kept in sync with package.json by tests/unit/version.test.ts. */
|
|
960
|
-
declare const VERSION = "0.
|
|
962
|
+
declare const VERSION = "0.12.0";
|
|
961
963
|
|
|
962
964
|
export { ERROR_CODES, ExtenshiPayLite as ExtenshiPay, ExtenshiPayError, ExtenshiPayLite, MockTransport, PAY_WITHDRAWAL_WAIVER_VERSION, VERSION, ExtenshiPayLite as default };
|
|
963
965
|
export type { CheckoutOptions, CheckoutResult, CheckoutState, ClockSkew, CloudBackupState, CustomerPortalOptions, Entitlement, EntitlementSource, ErrorCode, ExtenshiPayConfig, ExtenshiPayDeps, ExtenshiPayEventName, ExtenshiPayEvents, GetEntitlementOptions, LicenseSummary, MockData, PayEntitlementItem, PayEntitlementStatus, PayOfferDto, PayPortalAccount, PayPortalResponse, PayRestorePurpose, PaySellerPublic, PayStorageGrant, PayWithdrawalWaiver, RequireFeatureOptions, RestoreOptions, RestoreResult, StorageAdapter, ThemeConfig, Transport, TrialState, WithdrawalWaiverConsent };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entitlement.d.ts","sourceRoot":"","sources":["../../src/payment/entitlement.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAC/C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AACxD,OAAO,
|
|
1
|
+
{"version":3,"file":"entitlement.d.ts","sourceRoot":"","sources":["../../src/payment/entitlement.ts"],"names":[],"mappings":"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"}
|
package/dist/paywall.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* ExtenshiPay SDK v0.
|
|
2
|
+
* ExtenshiPay SDK v0.12.0
|
|
3
3
|
* (c) 2026 Extenshi.io
|
|
4
4
|
* Released under the MIT License.
|
|
5
|
-
* commit
|
|
5
|
+
* commit 7f4b4e98165b3c8eb11e100b3855fee1ade7aaab · built by `rollup -c`
|
|
6
6
|
*/
|
|
7
7
|
(function (global, factory) {
|
|
8
8
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|