@apideck/vault-js
Advanced tools
Comparing version 1.3.0 to 1.3.1
{ | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"license": "MIT", | ||
@@ -4,0 +4,0 @@ "main": "dist/index.js", |
@@ -74,2 +74,4 @@ <img src="https://user-images.githubusercontent.com/8850410/208065819-716c6e02-98c9-4df5-b687-e5acd1e3c4e5.png" width="100%" /> | ||
You can also close the modal programmatically by calling `ApideckVault.close()`. | ||
If you want to show a logo on top of the modal, you can set the `logo` property on the `theme` object you can provide through the session. [View Vault API documentation](https://developers.apideck.com/apis/vault/reference#operation/sessionsCreate). | ||
@@ -80,5 +82,7 @@ | ||
| Property | Type | Required | Default | Description | | ||
| ------------------ | -------------------------------- | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------ | | ||
|--------------------|----------------------------------|----------|---------|--------------------------------------------------------------------------------------------------------------------------------------------------| | ||
| token | string | true | - | The JSON Web Token returned from the [Create Session API](https://docs.apideck.com/apis/vault/reference#operation/sessionsCreate) | | ||
| showAttribution | boolean | false | true | Show "Powered by Apideck" in the backdrop of the modal backdrop | | ||
| open | () => void | false | - | Function to open the Vault modal | | ||
| close | () => void | false | - | Function to close the Vault modal | | ||
| onReady | () => void | false | - | Function that gets called when the modal is opened | | ||
@@ -85,0 +89,0 @@ | onClose | () => void | false | - | Function that gets called when the modal is closed | |
54425
93