Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@arc-publishing/sdk-amp

Package Overview
Dependencies
Maintainers
0
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arc-publishing/sdk-amp

Arc AMP SDK to work with Google AMP Pages

  • 1.89.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
216
increased by111.76%
Maintainers
0
Weekly downloads
 
Created
Source

AMP

This SDK is responsible for interacting with Google's AMP pages. The purpose of the SDK is to offer a solution for paywall issues related to Apple’s Intelligent Tracking Prevention’s update that blocks 3rd party resources from accessing script writable storage. The Arc AMP paywall uses either cookies or localStorage for managing user tokens and logged in state, which has resulted in some subscribed users unnecessarily being paywalled.

Using the checkAMPReaderID method available via this SDK, the AMP-provided READER_ID will be used to fetch entitlements in the absence of a jwt. This method should be called following all login, heartbeat and options calls in order to ensure the subscriber retains access to the right content.

Joining a Group Package

  • Methods
    • [[checkAMPReaderID]]

Keywords

FAQs

Package last updated on 23 Aug 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc