Skip to content

Commit

Permalink
Fix auto-refresh flow #97
Browse files Browse the repository at this point in the history
  • Loading branch information
vlad-ignatov committed Sep 25, 2020
1 parent b834a8d commit 1dddd29
Show file tree
Hide file tree
Showing 15 changed files with 115 additions and 83 deletions.
4 changes: 2 additions & 2 deletions dist/build/bundle.dev.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/build/bundle.pure.dev.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>fhirclient [24 Sep 2020 at 11:57]</title>
<title>fhirclient [25 Sep 2020 at 09:27]</title>
<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAABrVBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////+O1foceMD///+J0/qK1Pr7/v8Xdr/9///W8P4UdL7L7P0Scr2r4Pyj3vwad8D5/f/2/f+55f3E6f34+/2H0/ojfMKpzOd0rNgQcb3F3O/j9f7c8v6g3Pz0/P/w+v/q+P7n9v6T1/uQ1vuE0vqLut/y+v+Z2fvt+f+15Pzv9fuc2/vR7v2V2Pvd6/bg9P7I6/285/2y4/yp3/zp8vk8i8kqgMT7/P31+fyv4vxGkcz6/P6/6P3j7vfS5PNnpNUxhcbO7f7F6v3O4vHK3/DA2u631Ouy0eqXweKJud5wqthfoNMMbLvY8f73+v2dxeR8sNtTmdDx9/zX6PSjyeaCtd1YnNGX2PuQveCGt95Nls42h8dLlM3F4vBtAAAAM3RSTlMAAyOx0/sKBvik8opWGBMOAe3l1snDm2E9LSb06eHcu5JpHbarfHZCN9CBb08zzkdNS0kYaptYAAAFV0lEQVRYw92X51/aYBDHHS2O2qqttVbrqNq9m+TJIAYIShBkWwqIiCgoWvfeq7Z2/s29hyQNyUcR7LveGwVyXy6XH8/9rqxglLfUPLxVduUor3h0rfp2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CMLNFsGQhkkz/gQNEBbPCbWsxGUpYVu3z8IyNAknwJkfPMEhLyrdi5RTyUVACkw4GSFRNWJNEW+fgPGwHD8/JxnRuLabN4CGNRkAE23na2+VmEAUmrYymSGjMAYqH84YUIyzgzs3XC7gNgH36Vcc4zKY9o9fgPBXUAiHHwVboBHGLiX6Zcjp1f2wu4tvzZKo0ecPnDtQYDQvJXaBeNzce45Fp28ZQLrEZVuFqgBwOalArKXnW1UzlnSusQKJqKYNuz4tOnI6sZG4zanpemv+7ySU2jbA9h6uhcgpfy6G2PahirDZ6zvq6zDduMVFTKvzw8wgyEdelwY9in3XkEPs3osJuwRQ4qTkfzifndg9Gfc4pdsu82+tTnHZTBa2EAMrqr2t43pguc8tNm7JQVQ2S0ukj2d22dhXYP0/veWtwKrCkNoNimAN5+Xr/oLrxswKbVJjteWrX7eR63o4j9q0GxnaBdWgGA5VStpanIjQmEhV0/nVt5VOFUvix6awJhPcAaTEShgrG+iGyvb5a0Ndb1YGHFPEwoqAinoaykaID1o1pdPNu7XsnCKQ3R+hwWIIhGvORcJUBYXe3Xa3vq/mF/N9V13ugufMkfXn+KHsRD0B8AAAAASUVORK5CYII=" type="image/x-icon" />

<script>
Expand Down Expand Up @@ -46,7 +46,7 @@
<body>
<div id="app"></div>
<script>
window.chartData = [{"label":"fhir-client.pure.js","isAsset":true,"statSize":100348,"parsedSize":107577,"gzipSize":29462,"groups":[{"label":"node_modules","path":"./node_modules","statSize":20213,"groups":[{"label":"debug","path":"./node_modules/debug","statSize":14795,"groups":[{"label":"node_modules/ms","path":"./node_modules/debug/node_modules/ms","statSize":3034,"groups":[{"id":"./node_modules/debug/node_modules/ms/index.js","label":"index.js","path":"./node_modules/debug/node_modules/ms/index.js","statSize":3034}],"parsedSize":0,"gzipSize":0},{"label":"src","path":"./node_modules/debug/src","statSize":11761,"groups":[{"id":"./node_modules/debug/src/browser.js","label":"browser.js","path":"./node_modules/debug/src/browser.js","statSize":5831},{"id":"./node_modules/debug/src/common.js","label":"common.js","path":"./node_modules/debug/src/common.js","statSize":5930}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"process","path":"./node_modules/process","statSize":5418,"groups":[{"id":"./node_modules/process/browser.js","label":"browser.js","path":"./node_modules/process/browser.js","statSize":5418}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"src","path":"./src","statSize":80135,"groups":[{"id":"./src/Client.ts","label":"Client.ts","path":"./src/Client.ts","statSize":30379},{"id":"./src/HttpError.ts","label":"HttpError.ts","path":"./src/HttpError.ts","statSize":1249},{"label":"adapters","path":"./src/adapters","statSize":4277,"groups":[{"id":"./src/adapters/BrowserAdapter.ts","label":"BrowserAdapter.ts","path":"./src/adapters/BrowserAdapter.ts","statSize":4277}],"parsedSize":0,"gzipSize":0},{"label":"entry","path":"./src/entry","statSize":1196,"groups":[{"id":"./src/entry/browser.ts","label":"browser.ts","path":"./src/entry/browser.ts","statSize":1196}],"parsedSize":0,"gzipSize":0},{"id":"./src/lib.ts","label":"lib.ts","path":"./src/lib.ts","statSize":15740},{"id":"./src/settings.ts","label":"settings.ts","path":"./src/settings.ts","statSize":2247},{"id":"./src/smart.ts","label":"smart.ts","path":"./src/smart.ts","statSize":23548},{"label":"storage","path":"./src/storage","statSize":937,"groups":[{"id":"./src/storage/BrowserStorage.ts","label":"BrowserStorage.ts","path":"./src/storage/BrowserStorage.ts","statSize":937}],"parsedSize":0,"gzipSize":0},{"id":"./src/strings.ts","label":"strings.ts","path":"./src/strings.ts","statSize":562}],"parsedSize":0,"gzipSize":0}]}];
window.chartData = [{"label":"fhir-client.pure.js","isAsset":true,"statSize":100482,"parsedSize":107711,"gzipSize":29511,"groups":[{"label":"node_modules","path":"./node_modules","statSize":20213,"groups":[{"label":"debug","path":"./node_modules/debug","statSize":14795,"groups":[{"label":"node_modules/ms","path":"./node_modules/debug/node_modules/ms","statSize":3034,"groups":[{"id":"./node_modules/debug/node_modules/ms/index.js","label":"index.js","path":"./node_modules/debug/node_modules/ms/index.js","statSize":3034}],"parsedSize":0,"gzipSize":0},{"label":"src","path":"./node_modules/debug/src","statSize":11761,"groups":[{"id":"./node_modules/debug/src/browser.js","label":"browser.js","path":"./node_modules/debug/src/browser.js","statSize":5831},{"id":"./node_modules/debug/src/common.js","label":"common.js","path":"./node_modules/debug/src/common.js","statSize":5930}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"process","path":"./node_modules/process","statSize":5418,"groups":[{"id":"./node_modules/process/browser.js","label":"browser.js","path":"./node_modules/process/browser.js","statSize":5418}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"src","path":"./src","statSize":80269,"groups":[{"id":"./src/Client.ts","label":"Client.ts","path":"./src/Client.ts","statSize":30605},{"id":"./src/HttpError.ts","label":"HttpError.ts","path":"./src/HttpError.ts","statSize":1249},{"label":"adapters","path":"./src/adapters","statSize":4277,"groups":[{"id":"./src/adapters/BrowserAdapter.ts","label":"BrowserAdapter.ts","path":"./src/adapters/BrowserAdapter.ts","statSize":4277}],"parsedSize":0,"gzipSize":0},{"label":"entry","path":"./src/entry","statSize":1196,"groups":[{"id":"./src/entry/browser.ts","label":"browser.ts","path":"./src/entry/browser.ts","statSize":1196}],"parsedSize":0,"gzipSize":0},{"id":"./src/lib.ts","label":"lib.ts","path":"./src/lib.ts","statSize":15740},{"id":"./src/settings.ts","label":"settings.ts","path":"./src/settings.ts","statSize":2247},{"id":"./src/smart.ts","label":"smart.ts","path":"./src/smart.ts","statSize":23456},{"label":"storage","path":"./src/storage","statSize":937,"groups":[{"id":"./src/storage/BrowserStorage.ts","label":"BrowserStorage.ts","path":"./src/storage/BrowserStorage.ts","statSize":937}],"parsedSize":0,"gzipSize":0},{"id":"./src/strings.ts","label":"strings.ts","path":"./src/strings.ts","statSize":562}],"parsedSize":0,"gzipSize":0}]}];
window.defaultSizes = "parsed";
</script>
</body>
Expand Down
4 changes: 2 additions & 2 deletions dist/build/bundle.pure.prod.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>fhirclient [24 Sep 2020 at 11:57]</title>
<title>fhirclient [25 Sep 2020 at 09:27]</title>
<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAABrVBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////+O1foceMD///+J0/qK1Pr7/v8Xdr/9///W8P4UdL7L7P0Scr2r4Pyj3vwad8D5/f/2/f+55f3E6f34+/2H0/ojfMKpzOd0rNgQcb3F3O/j9f7c8v6g3Pz0/P/w+v/q+P7n9v6T1/uQ1vuE0vqLut/y+v+Z2fvt+f+15Pzv9fuc2/vR7v2V2Pvd6/bg9P7I6/285/2y4/yp3/zp8vk8i8kqgMT7/P31+fyv4vxGkcz6/P6/6P3j7vfS5PNnpNUxhcbO7f7F6v3O4vHK3/DA2u631Ouy0eqXweKJud5wqthfoNMMbLvY8f73+v2dxeR8sNtTmdDx9/zX6PSjyeaCtd1YnNGX2PuQveCGt95Nls42h8dLlM3F4vBtAAAAM3RSTlMAAyOx0/sKBvik8opWGBMOAe3l1snDm2E9LSb06eHcu5JpHbarfHZCN9CBb08zzkdNS0kYaptYAAAFV0lEQVRYw92X51/aYBDHHS2O2qqttVbrqNq9m+TJIAYIShBkWwqIiCgoWvfeq7Z2/s29hyQNyUcR7LveGwVyXy6XH8/9rqxglLfUPLxVduUor3h0rfp2TYvpivk37929TkG037hffoX0+peVtZQc1589rigVUdXS/ABSAyEmGIO/1XfvldSK8vs3OqB6u3m0nxmIrvgB0dj7rr7Y9IbuF68hnfFaiHA/sxqm0wciIG43P60qKv9WXWc1RXGh/mFESFABTSBi0sNAKzqet17eCtOb3kZIDwxEEU0oAIJGYxNBDhBND29e0rtXXbcpuPmED9IhEAAQ/AXEaF8EPmn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Nzce45Fp28ZQLrEZVuFqgBwOalArKXnW1UzlnSusQKJqKYNuz4tOnI6sZG4zanpemv+7ySU2jbA9h6uhcgpfy6G2PahirDZ6zvq6zDduMVFTKvzw8wgyEdelwY9in3XkEPs3osJuwRQ4qTkfzifndg9Gfc4pdsu82+tTnHZTBa2EAMrqr2t43pguc8tNm7JQVQ2S0ukj2d22dhXYP0/veWtwKrCkNoNimAN5+Xr/oLrxswKbVJjteWrX7eR63o4j9q0GxnaBdWgGA5VStpanIjQmEhV0/nVt5VOFUvix6awJhPcAaTEShgrG+iGyvb5a0Ndb1YGHFPEwoqAinoaykaID1o1pdPNu7XsnCKQ3R+hwWIIhGvORcJUBYXe3Xa3vq/mF/N9V13ugufMkfXn+KHsRD0B8AAAAASUVORK5CYII=" type="image/x-icon" />

<script>
Expand Down Expand Up @@ -46,7 +46,7 @@
<body>
<div id="app"></div>
<script>
window.chartData = [{"label":"fhir-client.pure.min.js","isAsset":true,"statSize":100348,"parsedSize":35209,"gzipSize":12036,"groups":[{"label":"src","path":"./src","statSize":80135,"groups":[{"id":0,"label":"settings.ts","path":"./src/settings.ts","statSize":2247},{"id":1,"label":"lib.ts","path":"./src/lib.ts","statSize":15740},{"id":2,"label":"Client.ts","path":"./src/Client.ts","statSize":30379},{"label":"entry","path":"./src/entry","statSize":1196,"groups":[{"id":3,"label":"browser.ts","path":"./src/entry/browser.ts","statSize":1196}],"parsedSize":0,"gzipSize":0},{"label":"adapters","path":"./src/adapters","statSize":4277,"groups":[{"id":4,"label":"BrowserAdapter.ts","path":"./src/adapters/BrowserAdapter.ts","statSize":4277}],"parsedSize":0,"gzipSize":0},{"id":5,"label":"smart.ts","path":"./src/smart.ts","statSize":23548},{"id":6,"label":"HttpError.ts","path":"./src/HttpError.ts","statSize":1249},{"id":11,"label":"strings.ts","path":"./src/strings.ts","statSize":562},{"label":"storage","path":"./src/storage","statSize":937,"groups":[{"id":12,"label":"BrowserStorage.ts","path":"./src/storage/BrowserStorage.ts","statSize":937}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"node_modules","path":"./node_modules","statSize":20213,"groups":[{"label":"debug","path":"./node_modules/debug","statSize":14795,"groups":[{"label":"src","path":"./node_modules/debug/src","statSize":11761,"groups":[{"id":7,"label":"browser.js","path":"./node_modules/debug/src/browser.js","statSize":5831},{"id":9,"label":"common.js","path":"./node_modules/debug/src/common.js","statSize":5930}],"parsedSize":0,"gzipSize":0},{"label":"node_modules/ms","path":"./node_modules/debug/node_modules/ms","statSize":3034,"groups":[{"id":10,"label":"index.js","path":"./node_modules/debug/node_modules/ms/index.js","statSize":3034}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"process","path":"./node_modules/process","statSize":5418,"groups":[{"id":8,"label":"browser.js","path":"./node_modules/process/browser.js","statSize":5418}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0}]}];
window.chartData = [{"label":"fhir-client.pure.min.js","isAsset":true,"statSize":100482,"parsedSize":35197,"gzipSize":12031,"groups":[{"label":"src","path":"./src","statSize":80269,"groups":[{"id":0,"label":"settings.ts","path":"./src/settings.ts","statSize":2247},{"id":1,"label":"lib.ts","path":"./src/lib.ts","statSize":15740},{"id":2,"label":"Client.ts","path":"./src/Client.ts","statSize":30605},{"label":"entry","path":"./src/entry","statSize":1196,"groups":[{"id":3,"label":"browser.ts","path":"./src/entry/browser.ts","statSize":1196}],"parsedSize":0,"gzipSize":0},{"label":"adapters","path":"./src/adapters","statSize":4277,"groups":[{"id":4,"label":"BrowserAdapter.ts","path":"./src/adapters/BrowserAdapter.ts","statSize":4277}],"parsedSize":0,"gzipSize":0},{"id":5,"label":"smart.ts","path":"./src/smart.ts","statSize":23456},{"id":6,"label":"HttpError.ts","path":"./src/HttpError.ts","statSize":1249},{"id":11,"label":"strings.ts","path":"./src/strings.ts","statSize":562},{"label":"storage","path":"./src/storage","statSize":937,"groups":[{"id":12,"label":"BrowserStorage.ts","path":"./src/storage/BrowserStorage.ts","statSize":937}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"node_modules","path":"./node_modules","statSize":20213,"groups":[{"label":"debug","path":"./node_modules/debug","statSize":14795,"groups":[{"label":"src","path":"./node_modules/debug/src","statSize":11761,"groups":[{"id":7,"label":"browser.js","path":"./node_modules/debug/src/browser.js","statSize":5831},{"id":9,"label":"common.js","path":"./node_modules/debug/src/common.js","statSize":5930}],"parsedSize":0,"gzipSize":0},{"label":"node_modules/ms","path":"./node_modules/debug/node_modules/ms","statSize":3034,"groups":[{"id":10,"label":"index.js","path":"./node_modules/debug/node_modules/ms/index.js","statSize":3034}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0},{"label":"process","path":"./node_modules/process","statSize":5418,"groups":[{"id":8,"label":"browser.js","path":"./node_modules/process/browser.js","statSize":5418}],"parsedSize":0,"gzipSize":0}],"parsedSize":0,"gzipSize":0}]}];
window.defaultSizes = "parsed";
</script>
</body>
Expand Down
43 changes: 25 additions & 18 deletions dist/build/fhir-client.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/build/fhir-client.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/build/fhir-client.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/build/fhir-client.min.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 1dddd29

Please sign in to comment.