Skip to content

Commit

Permalink
Merge pull request #497 from churkin/v8.0.0
Browse files Browse the repository at this point in the history
Update to v8.0.0, add 'createNativeXHR' API method
  • Loading branch information
AlexanderMoskovkin committed Mar 24, 2016
2 parents 9b4e6cf + e6a1d16 commit 15d241a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "testcafe-hammerhead",
"description": "A powerful web-proxy used as a core for the TestCafe testing framework (https://github.com/DevExpress/testcafe).",
"version": "7.1.3",
"version": "8.0.0",
"homepage": "https://github.com/DevExpress/testcafe-hammerhead",
"bugs": "https://github.com/DevExpress/testcafe-hammerhead/issues",
"license": "https://github.com/DevExpress/testcafe-hammerhead/blob/master/LICENSE",
Expand Down
2 changes: 2 additions & 0 deletions src/client/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import Promise from 'pinkie';
import Sandbox from './sandbox';
import CodeInstrumentation from './sandbox/code-instrumentation';
import EventEmitter from './utils/event-emitter';
import XhrSandbox from './sandbox/xhr';
import settings from './settings';
import transport from './transport';
/*eslint-disable no-native-reassign*/
Expand Down Expand Up @@ -43,6 +44,7 @@ class Hammerhead {
// Methods
this.getOriginElementAttributes = CodeInstrumentation.getAttributesProperty;
this.doUpload = (input, filePaths) => this.sandbox.upload.doUpload(input, filePaths);
this.createNativeXHR = XhrSandbox.createNativeXHR;

// NOTE: We should provide a function to retrieve modules, because hammerhead will be bundled into a single
// file and we will not have access to the internal modules by default.
Expand Down

0 comments on commit 15d241a

Please sign in to comment.