diff --git a/flow-typed/npm/keytar_vx.x.x.js b/flow-typed/npm/keytar_vx.x.x.js new file mode 100644 index 000000000..bba3bf0f7 --- /dev/null +++ b/flow-typed/npm/keytar_vx.x.x.js @@ -0,0 +1,22 @@ +/** + * Copyright 2018-present Facebook. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + * @format + */ + +declare module 'keytar' { + declare module.exports: { + getPassword: (service: string, account: string) => Promise, + setPassword: ( + service: string, + account: string, + password: string, + ) => Promise, + deletePassword: (service: string, account: string) => Promise, + findPassword: (service: string) => Promise, + findCredentials: ( + service: string, + ) => Promise>, + }; +} diff --git a/static/native-modules/keytar-darwin.node b/static/native-modules/keytar-darwin.node new file mode 100755 index 000000000..e3d4e4a21 Binary files /dev/null and b/static/native-modules/keytar-darwin.node differ diff --git a/static/native-modules/keytar-linux.node b/static/native-modules/keytar-linux.node new file mode 100755 index 000000000..014f9e080 Binary files /dev/null and b/static/native-modules/keytar-linux.node differ diff --git a/static/native-modules/keytar-win.node b/static/native-modules/keytar-win.node new file mode 100644 index 000000000..7c9b08633 Binary files /dev/null and b/static/native-modules/keytar-win.node differ