diff --git a/package.json b/package.json index 572c0acffb4..6f292177941 100644 --- a/package.json +++ b/package.json @@ -125,7 +125,7 @@ "deep-freeze": "^0.0.1", "dotenv": "2.0.0", "dotenv-expand": "^0.1.0", - "draft-js": "^0.10.1", + "draft-js": "https://github.com/mattkrick/draft-js/tarball/710c3ea2367953a70d71ac3d8cdf11bcf18f2f9e", "draft-js-export-html": "^0.5.4", "draft-js-export-markdown": "^0.3.0", "email-addresses": "^3.0.1", diff --git a/src/universal/mutations/SendClientSegmentEventMutation.js b/src/universal/mutations/SendClientSegmentEventMutation.js index e09a634a80f..b1de0f5f7d5 100644 --- a/src/universal/mutations/SendClientSegmentEventMutation.js +++ b/src/universal/mutations/SendClientSegmentEventMutation.js @@ -7,7 +7,7 @@ const mutation = graphql` const SendClientSegmentEventMutation = (atmosphere, event, options) => { const {_network: network} = atmosphere; - network.request(mutation(), {event, options}); + network.observe(mutation(), {event, options}, {force: true}); }; export default SendClientSegmentEventMutation; diff --git a/yarn.lock b/yarn.lock index be99c858dd9..1b4661497d2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2678,11 +2678,11 @@ draft-js-utils@^0.1.5: version "0.1.7" resolved "https://registry.yarnpkg.com/draft-js-utils/-/draft-js-utils-0.1.7.tgz#e2b6927ca620edf1855a4bfc1cf1d21080a70f16" -draft-js@^0.10.1: +"draft-js@https://github.com/mattkrick/draft-js/tarball/safari-fix-built": version "0.10.1" - resolved "https://registry.yarnpkg.com/draft-js/-/draft-js-0.10.1.tgz#6f1219d8095729691429ca6fd7a58d2a8be5cb67" + resolved "https://github.com/mattkrick/draft-js/tarball/safari-fix-built#428cdfe79dea4b52015e679b5021c3fc2c92a3fd" dependencies: - fbjs "^0.8.7" + fbjs "^0.8.12" immutable "~3.7.4" object-assign "^4.1.0" @@ -3357,7 +3357,7 @@ fb-watchman@^2.0.0: dependencies: bser "^2.0.0" -fbjs@^0.8.1, fbjs@^0.8.14, fbjs@^0.8.7, fbjs@^0.8.9: +fbjs@^0.8.1, fbjs@^0.8.12, fbjs@^0.8.14, fbjs@^0.8.9: version "0.8.14" resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-0.8.14.tgz#d1dbe2be254c35a91e09f31f9cd50a40b2a0ed1c" dependencies: