New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@divviup/prio3

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@divviup/prio3

[![Coverage Status](https://coveralls.io/repos/github/divviup/divviup-ts/badge.svg?branch=main)](https://coveralls.io/github/divviup/divviup-ts?branch=main) [![CI](https://github.com/divviup/divviup-ts/actions/workflows/ci.yaml/badge.svg)](https://github.

latest
npmnpm
Version
0.8.0
Version published
Weekly downloads
6
100%
Maintainers
1
Weekly downloads
 
Created
Source

DivviUp Typescript Client

Coverage Status CI

docs for main

Protocol Versions and Release Branches

The main branch is under continuous development and will usually be partway between DAP and VDAF drafts. divviup-ts uses stable release branches to maintain implementations of different draft versions. Artifacts for some draft version are published from a corresponding release/dap-draft-xy branch. Only supported release branches receive dependency updates and backports.

DAP

Package versionGit branchProtocol versionConforms to specification?Status
N/Arelease-dap-draft-02draft-ietf-ppm-dap-02YesUnmaintained
N/Arelease-dap-draft-03draft-ietf-ppm-dap-03YesUnmaintained as of May 22, 2023
@divviup/dap@0.1release-dap-draft-04draft-ietf-ppm-dap-04YesSupported
@divviup/dap@0.7release-dap-draft-07draft-ietf-ppm-dap-07YesSupported
@divviup/dap@0.9maindraft-ietf-ppm-dap-09YesSupported

VDAF and Prio3

VDAF PackagePrio3 PackageGit branchProtocol versionConforms to specification?Status
N/AN/Arelease/dap-draft-03draft-irtf-cfrg-vdaf-03YesUnmaintained as of May 22, 2023
@divviup/vdaf@0.1@divviup/prio3@0.1release/dap-draft-04draft-irtf-cfrg-vdaf-05YesSupported
@divviup/vdaf@0.7@divviup/prio3@0.7release/dap-draft-07draft-irtf-cfrg-vdaf-07YesSupported
@divviup/vdaf@0.8@divviup/prio3@0.8maindraft-irtf-cfrg-vdaf-08YesSupported

Bundling into an npm application

$ npm add @divviup/dap
import Task from "@divviup/dap";

const task = new Task({
  type: "sum",
  bits: 8,
  id: "3XTBHxTtUAtI516GeXZsVIKjBPYVNIYmF94vEBb4jcY",
  leader: "https://dap.api.divviup.org",
  helper: "https://dap.example.com",
  timePrecisionSeconds: 3600,
});

await task.sendMeasurement(42);

CDN URLs

DivviUp publishes bundled and minified builds suitable for use from a script tag. Task will be available on globalThis as divviup.dap.Task.

JsDelivr

<script
    src="https://cdn.jsdelivr.net/npm/@divviup/dap@0.7.0/dist/browser.js"
    crossorigin="anonymous"
    integrity="sha384-vDbUcIcXsbrWLhKwkF/wwM0cnW+5y9fiPA695EnPd58okNZwWuLsR0NF98zzyNkT">
</script>

UNPKG

<script
    src="https://unpkg.com/@divviup/dap@0.7.0/dist/browser.js"
    crossorigin="anonymous"
    integrity="sha384-vDbUcIcXsbrWLhKwkF/wwM0cnW+5y9fiPA695EnPd58okNZwWuLsR0NF98zzyNkT">
</script>

FAQs

Package last updated on 02 May 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