@sesamy/sesamy-components 2.30.1 → 2.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/README.md +8 -0
- package/dist/lib/sesamy-components.d.ts +2 -1
- package/dist/lib/sesamy-components.es.js +4871 -4745
- package/dist/lib/sesamy-components.umd.js +24 -24
- package/package.json +12 -4
package/README.md
CHANGED
|
@@ -762,3 +762,11 @@ These are the files needed to create a new component:
|
|
|
762
762
|
## License
|
|
763
763
|
|
|
764
764
|
This project is proprietary software by Sesamy.
|
|
765
|
+
|
|
766
|
+
## Unified content access by default
|
|
767
|
+
|
|
768
|
+
With the corresponding sesamy-js release, content containers and paywalls use the unified content API by default. Non-public embed content waits for a consuming `content.unlock()` decision before its existing DOM is revealed; applicable successful reads now count toward strategy limits. Paywalls use `content.hasAccess()` and the same selected server policy for visibility and rendering, rather than a second entitlement decision.
|
|
769
|
+
|
|
770
|
+
Set `legacyContentAccess: true` at the top of the sesamy-js initialization configuration to retain legacy checks and display without new embed registration. Older sesamy-js versions without the metadata marker retain the legacy component flow too. Explicit article policies take priority over automatic discovery, and ambiguous paywall matches are ignored. A fixed paywall remains fixed; configuring the strategy is still required for strategy-based free reads.
|
|
771
|
+
|
|
772
|
+
Deploy the API and SDK/sesamy-js changes before the component release. This is a minor behavior release: opt out affected integrations before rollout if their embedded reads must retain previous counting behavior. The opt-out is supplied by sesamy-js configuration, not a component HTML attribute.
|