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

@nexeraprotocol/nexera-id-schemas

Package Overview
Dependencies
Maintainers
1
Versions
385
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nexeraprotocol/nexera-id-schemas

This is where we store Zod Schemas for our code base.

  • 1.8.25
  • npm
  • Socket score

Version published
Weekly downloads
76
decreased by-15.56%
Maintainers
1
Weekly downloads
 
Created
Source

Overview

This is where we store Zod Schemas for our code base.

Update Vc Schemas from vc-schemas repo

Important: When updating ID3, we need to manually update types in the /compliance/providers/gbg folder that are derived from those because we customized them to handle unexpected non-array results.

Id Scan

npm run download-schema:IDScan npm run generate-zod:IDScan

ID3

npm run download-schema:ID3 npm run generate-zod:ID3

ProofOfResidence

npm run download-schema:ProofOfResidence npm run generate-zod:ProofOfResidence

IDScanSelfie

npm run download-schema:IDScanSelfie npm run generate-zod:IDScanSelfie

IDScanPassport

npm run download-schema:IDScanPassport npm run generate-zod:IDScanPassport

OPA Client

Opa client is automatically generated client for interacting with open-policy-agent API. OPA api is very stable and not subject to many changes, so don't expect this to change often

Generate new API client

In case of changes, run pnpm run generate-typescript-client. It uses publicly stored latest version of OPA API schema

From mono-repo, run pnpm run generate-api-client.

Adding Entrypoints

If you need to add entrypoints to expose additional schemas in new files, use:

pnpm preconstruct dev

FAQs

Package last updated on 18 Sep 2023

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