You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
1Password JavaScript SDK v0.6.0
NEW
1Password Environments management: You can now create, get, list, edit and delete 1Password Environments and their secrets using the SDK.
FIXED
Desktop app errors from createClient(): When the SDK can't find or load the 1Password desktop app, createClient() now rejects with the real cause, for example "1Password desktop application not found", and doesn't print anything to the console. Before, the SDK logged the error itself and then failed with "Native library is not available.", so apps that caught the error to fall back still showed the SDK's error output.
DEPRECATED
getVariables():getVariables() and its GetVariablesResponse and EnvironmentVariable types are deprecated. Use listSecrets() instead, which accepts an Environment name or ID and returns secrets directly. To include concealed secret values, set reveal to true. Clients that authenticate with workload identity can't call listSecrets() yet, so keep using getVariables() with workload identity.