1.0.3 • Published 3 months ago

@dopplerhq/universal-import-core v1.0.3

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
3 months ago

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" });
1.0.3

3 months ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

0.0.10

2 years ago

0.0.11

2 years ago

0.0.12

1 year ago

0.0.13

1 year ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago

0.0.1-rc

2 years ago