Skip to content

Commit

Permalink
Merge from internal 5/29/2020 (#257)
Browse files Browse the repository at this point in the history
* merge from internal 5/29/2020
  • Loading branch information
ctwomblyamzn authored Jun 2, 2020
1 parent 20341a6 commit 996705f
Show file tree
Hide file tree
Showing 13 changed files with 265 additions and 791 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ node_modules
.env.development.local
.env.test.local
.env.production.local
build

npm-debug.log*
yarn-debug.log*
Expand Down
2 changes: 2 additions & 0 deletions Documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -648,6 +648,8 @@ Get the unique contactId of this contact.
### `contact.getOriginalContactId()` / `contact.getInitialContactId()`
```js
var originalContactId = contact.getOriginalContactId();
//OR
var initialContactId = contact.getInitialContactId();
```
Get the original (initial) contact id from which this contact was transferred, or none if this is not an internal Connect transfer.
This is typically a contact owned by another agent, thus this agent will not be able to
Expand Down
4 changes: 3 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ var istanbul = require('gulp-istanbul'),
rename = require('gulp-rename'),
watch = require('gulp-watch'),
jshint = require('gulp-jshint'),
replace = require('gulp-replace'),
pump = require('pump');

var source = [ "src/aws-client.js",
Expand Down Expand Up @@ -50,6 +51,7 @@ gulp.task('script', function (cb) {
pump([
gulp.src(source),
jshint(),
replace("STREAMS_VERSION", process.env.npm_package_version),
concat('connect-streams.js'),
gulp.dest('./release/'),
rename('connect-streams-min.js'),
Expand All @@ -58,4 +60,4 @@ gulp.task('script', function (cb) {
], cb);
});

gulp.task('default',gulp.series('test','script'));
gulp.task('default', gulp.series('test','script'));
Loading

0 comments on commit 996705f

Please sign in to comment.