@vayapin/pin-data-delivery
TypeScript icon, indicating that this package has built-in type declarations

0.14.2 • Public • Published

VayaPin

VayaPin PinDataDelivery

This package provides utilities to handle PinDataDelivery results from the public GraphQL API.

Mainly, you might want to pass the result from the API into the {@link processQueryData} method to get parsed results. Additionally, you can pass password information to decrypt protected fields.

API

method summary
{@link processQueryData} Convert and decrypt information from the GraphQL public API. Mainly, it'll handle the pinDataDelivery information.
{@link passwordCheck} Test a given password if it's possible to decrypt information with it.
{@link processBaseField} When manually handling delivery fields, you might want to use this method to process a single base field
{@link processFieldValue} When manually handling delivery fields, you might want to use this method to process the value only

Usage:

import { processQueryData } from '@vayapin/pin-data-delivery'

Typing

Types are found at https://www.npmjs.com/package/@vayapin/cs-types-public

Package related types can be found at Types.d.ts as well as inside the html docs.

Readme

Keywords

none

Package Sidebar

Install

npm i @vayapin/pin-data-delivery

Weekly Downloads

19

Version

0.14.2

License

UNLICENSED

Unpacked Size

490 kB

Total Files

126

Last publish

Collaborators

  • shvayapin
  • civayapin