Skip to content

Commit 5749670

Browse files
author
Paul Korzhyk
committed
Update docs and deps
1 parent 3c6d8e3 commit 5749670

File tree

6 files changed

+1077
-1038
lines changed

6 files changed

+1077
-1038
lines changed

CHANGELOG.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

8-
## [Unreleased]
8+
## 20.3.0 - 2020-04-03
9+
10+
### Changed
11+
12+
- Switch to CalVer to reflect supported Dgraph version.
13+
- Tested and updated to work with Dgraph 20.03.0.
914

1015
## 1.0.0-rc1 - 2019-03-01
1116

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ use a different version of this client.
5959

6060
| Dgraph version | dgraph-js-http version |
6161
|:--------------------:|:------------------------------:|
62+
| >= 20.03.0 | >= *20.3.0* |
6263
| >= 1.1 | >= *1.1.0* |
6364

6465
## Quickstart

lib/client.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
"use strict";
22
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
34
return new (P || (P = Promise))(function (resolve, reject) {
45
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
56
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6-
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
7+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
78
step((generator = generator.apply(thisArg, _arguments || [])).next());
89
});
910
};

lib/clientStub.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
"use strict";
22
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
34
return new (P || (P = Promise))(function (resolve, reject) {
45
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
56
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6-
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
7+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
78
step((generator = generator.apply(thisArg, _arguments || [])).next());
89
});
910
};

lib/txn.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
"use strict";
22
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
34
return new (P || (P = Promise))(function (resolve, reject) {
45
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
56
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6-
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
7+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
78
step((generator = generator.apply(thisArg, _arguments || [])).next());
89
});
910
};

0 commit comments

Comments
 (0)