Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add TypeScript interface for SafeStorage #155

Merged
merged 1 commit into from
Jul 3, 2023

Conversation

pnelego
Copy link
Contributor

@pnelego pnelego commented Jul 2, 2023

Allows TypeScript to easily access SafeStorage.

e.g

 import { app, safeStorage } from "@electron/remote";

afterwards it is accessible by

if (safeStorage.isEncryptionAvailable()) {
    console.log("Encryption is available");
}

Allows typescript to easily access SafeStorage.
@pnelego pnelego requested review from a team as code owners July 2, 2023 16:38
@dsanders11 dsanders11 changed the title Adds TypeScript interface for SafeStorage fix: add TypeScript interface for SafeStorage Jul 2, 2023
@codebytere codebytere merged commit 2f79ed6 into electron:main Jul 3, 2023
1 check passed
dsanders11 added a commit that referenced this pull request Aug 29, 2023
jkleinsc pushed a commit that referenced this pull request Aug 30, 2023
Revert "Adds TypeScript interface for SafeStorage (#155)"

This reverts commit 2f79ed6.
@continuous-auth
Copy link

🎉 This PR is included in version 2.0.11 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants