1Password / op-js

A JS library powered by the 1Password CLI
https://developer.1password.com/docs/cli
MIT License
91 stars 8 forks source link

Refactor item.get function to return an array of ValueField objects #161

Closed Mearman closed 9 months ago

Mearman commented 11 months ago

When fields param is passed, it appears the response is a ValueField[]

jodyheavener commented 9 months ago

Hey @Mearman, thanks for this patch! Looks great, and I've also added an additional case and tests.

Mearman commented 9 months ago

Hey @Mearman, thanks for this patch! Looks great, and I've also added an additional case and tests.

Haha I had forgotten about this

Mearman commented 6 months ago

@jodyheavener now this is merged, could you push a release please?