New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

apple-iap-validator

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apple-iap-validator

Simple Validator through the apple webinterface

  • 0.1.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
Maintainers
1
Weekly downloads
 
Created
Source

apple-iap-validator

Simple Validator through the apple webinterface

Getting started

Install this library through:

npm i apple-iap-validator # or yarn add apple-iap-validator

Usage

Options:

const options = {
	appShared : "AppShared password"
}

Create the verifier object:

import Verifier from 'apple-iap-validator';
const verify = new Verifier(options);

Validate receipt:

const result = await verify.verifiy(encodedReceipt);
//result encoded like the Apple Doc : https://developer.apple.com/documentation/appstorereceipts/responsebody
//or throws error if no Http 200 status code is returnd

Changelog

0.1.1 : Change input receipt to require base64 encoded string

FAQs

Package last updated on 23 Jul 2021

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