Socket
Book a DemoInstallSign in
Socket

@dopplerhq/universal-import-core

Package Overview
Dependencies
Maintainers
4
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dopplerhq/universal-import-core

![npm bundle size](https://img.shields.io/bundlephobia/minzip/@dopplerhq/universal-import-core)

1.0.4
latest
npmnpm
Version published
Weekly downloads
1
-87.5%
Maintainers
4
Weekly downloads
 
Created
Source

npm bundle size

@dopplerhq/universal-import-core

This package contains the core logic that is leveraged by the @dopplerhq/universal-import-react package. It is responsible for:

  • Fetching the latest public encryption key
  • Encrypting the payload with the public key via sealed boxes
  • Triggering the Universal Import flow so that the user can import the secret
  • Exposing the trigger function to trigger the Universal Import flow without leveraging one of our frontend packages

Installation

npm install @dopplerhq/universal-import-core

Usage

Add the following to your code to leverage this package via the trigger(...) function:

import { trigger } from "@dopplerhq/universal-import-core";
//...
await trigger({ secretName: "STRIPE_KEY", secretValue: "sk_test_12345" });

FAQs

Package last updated on 24 Sep 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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.