1Password / onepassword-sdk-js

The official JavaScript SDK for 1Password
https://developer.1password.com/docs/sdks/
MIT License
41 stars 2 forks source link

Add SDK user facing code #1

Closed AndyTitu closed 7 months ago

AndyTitu commented 7 months ago

Summary

This MR introduces the developer facing code of the JS SDK. We are only aiming to support NodeJS for the beta.

Review Feedback Goals

How to test

Run tests with npm test or check the examples folder. For now please test via cloning this repo, as I didn't get the chance to publish this package to npm yet.

AndyTitu commented 7 months ago

For beta we are interested in supporting NodeJS, but how far away are we from supporting browsers as well, at this stage knowing that the Extism SDK that we'll use for interacting with the WASM core + the WASM core itself are browser compatible?

jodyheavener commented 7 months ago

While not absolutely critical, it might help for organization to have TS files like client, configuration, core, and secrets in a src or lib directory.

AndyTitu commented 7 months ago

While not absolutely critical, it might help for organization to have TS files like client, configuration, core, and secrets in a src or lib directory.

Done!

armstrongl commented 7 months ago

Some final notes: