Skip to content

Commit

Permalink
1.3.1 Release
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-w committed Sep 15, 2021
1 parent 0ab4593 commit fb99aec
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 16 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ _Note: This SDK is supported on Node JS, AWS Lambda, React Native, and modern br

Simply copy this line into your HTML:
```html
<script src="https://unpkg.com/[email protected].0/build/index-web.js"></script>
<script src="https://unpkg.com/[email protected].1/build/index-web.js"></script>
```

## Install using yarn / npm
Expand Down Expand Up @@ -129,6 +129,9 @@ This SDK is released under the [BSD 3-Clause License](LICENSE).

## CHANGELOG

### v1.3.1
* CHANGE: `getDocument` updated to support v2 of the Document API

### v1.3.0
* FEATURE: Add support for managing scoped access tokens

Expand Down
12 changes: 2 additions & 10 deletions build/index-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -6930,15 +6930,7 @@ var TrueVaultClient = function () {
return _context48.abrupt('return', []);

case 5:
if (documentIds.length === 1) {
// Sending a single ID to the API will only return the document's contents. In order to
// retrieve a proper multiget response with `id` and `owner_id`, we need to send a
// request with two instances of the same document ID. We will then only return the
// first result from the response.
requestDocumentIds = [documentIds[0], documentIds[0]];
} else {
requestDocumentIds = documentIds;
}
requestDocumentIds = documentIds;

case 6:
_context48.next = 8;
Expand Down Expand Up @@ -27395,7 +27387,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
module.exports = {
"name": "truevault",
"description": "The official TrueVault JavaScript SDK",
"version": "1.3.0",
"version": "1.3.1",
"repository": {
"type": "git",
"url": "https://github.com/truevault/truevault-js-sdk"
Expand Down
4 changes: 2 additions & 2 deletions build/index-web.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<meta charset='utf-8' />
<title>truevault 1.3.0 | Documentation</title>
<title>truevault 1.3.1 | Documentation</title>
<meta name='viewport' content='width=device-width,initial-scale=1'>
<link href='assets/bass.css' type='text/css' rel='stylesheet' />
<link href='assets/style.css' type='text/css' rel='stylesheet' />
Expand All @@ -14,7 +14,7 @@
<div class='fixed xs-hide fix-3 overflow-auto max-height-100'>
<div class='py1 px2'>
<h3 class='mb0 no-anchor'>truevault</h3>
<div class='mb1'><code>1.3.0</code></div>
<div class='mb1'><code>1.3.1</code></div>
<input
placeholder='Filter'
id='filter-input'
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "truevault",
"description": "The official TrueVault JavaScript SDK",
"version": "1.3.0",
"version": "1.3.1",
"repository": {
"type": "git",
"url": "https://github.com/truevault/truevault-js-sdk"
Expand Down

0 comments on commit fb99aec

Please sign in to comment.