op-js
op-js copied to clipboard
A JS library powered by the 1Password CLI
### Summary With [1Password Service Accounts](https://developer.1password.com/docs/service-accounts/) launched we should add support for configuring a service account with op-js. ### Use cases - Any use case of the CLI via op-js...
### Your environment op-js version: 0.1.11 CLI version: N/A OS: Docker image `node:18` ## What happened? Error occurs when starting the app: `[CLIError]: could not read the input file /dev/stdin:...
### Your environment op-js version: 0.1.11 CLI version: 2.21.0 OS: Windows / Linux (WSL) ## What happened? It is impossible to to create or edit a field or section with...
### Summary Currently all calls to the op-cli are using `spawnSync` to block until op-cli has a result. This causes issues when you don't want to block the event loop....
### Your environment op-js version: 0.1.9 CLI version: 2.14.0 OS: MacOS ## What happened? The published package for op-js 0.1.9 includes its own bundled `node_modules` folder, and this contains semver...
### Your environment op-js version: 0.1.8 CLI version: 2.17.0 OS: Ubuntu 22.04.2 LTS ## What happened? Trying to get an item from 1pass using `item.get(id)` I get ``` [ERROR] 2023/05/09...
### Summary Currently `op-js` uses a singleton approach, where every family of commands is exported. This is nice and handy for quick importing, but we've had requests to make the...
### Problems 1. Some suites, for example `eventsApi.test.ts`, require that the active account selected in the CLI is a Teams or Business account 1. We may want to test behaviour...
### Problem It is currently difficult to figure out how to run the `yarn test:integration` suite because there are some undocumented hoops to jump through before this will work as...
Fixes #168 I'm not sure if this is the best way to do it, but it _a_ way to do it. 😄