@eka-care/medassist-widget-embed 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/src/medassist-widget.js +2 -2
- package/dist/src/medassist-widget.js.map +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
- package/src/medassist-widget.js +2 -2
- package/src/medassist-widget.js.map +1 -1
- package/test.html +6 -5
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const getCurrentScript: () => HTMLScriptElement | null;
|
|
2
|
-
declare const DEFAULT_WIDGET_ASSET_BASE = "https://
|
|
2
|
+
declare const DEFAULT_WIDGET_ASSET_BASE = "https://unpkg.com/@eka-care/medassist-widget@latest/dist/";
|
|
3
3
|
declare const scriptEl: HTMLScriptElement | null;
|
|
4
4
|
declare const scriptBaseUrl: string;
|
|
5
5
|
declare const widgetAssetBaseUrl: string;
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,gBAAgB,QAAO,iBAAiB,GAAG,IAchD,CAAC;AAEF,QAAA,MAAM,yBAAyB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,gBAAgB,QAAO,iBAAiB,GAAG,IAchD,CAAC;AAEF,QAAA,MAAM,yBAAyB,8DAC8B,CAAC;AAE9D,QAAA,MAAM,QAAQ,0BAAqB,CAAC;AACpC,QAAA,MAAM,aAAa,QASf,CAAC;AAEL,QAAA,MAAM,kBAAkB,QAmBpB,CAAC;AAEL,QAAA,MAAM,aAAa,QAA6C,CAAC;AACjE,QAAA,MAAM,cAAc,QAA8C,CAAC;AAGnE,QAAA,IAAI,mBAAmB,EAAE,OAAO,CAAC,IAAI,CAAC,GAAG,IAAW,CAAC;AACrD,QAAA,IAAI,oBAAoB,EAAE,OAAO,CAAC,MAAM,CAAC,GAAG,IAAW,CAAC;AAExD,cAAM,qBAAsB,SAAQ,WAAW;IAC7C,OAAO,CAAC,cAAc,CAAS;IAC/B,OAAO,CAAC,YAAY,CAAU;;IAU9B,MAAM,KAAK,kBAAkB,IAAI,MAAM,EAAE,CAExC;IAED,iBAAiB,IAAI,IAAI;IAIzB,wBAAwB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAM5C,YAAY,IAAI,IAAI;IA+Dd,aAAa,IAAI,OAAO,CAAC,IAAI,CAAC;IA8C9B,aAAa,IAAI,OAAO,CAAC,IAAI,CAAC;IA4BpC,gBAAgB,IAAI,OAAO,CAAC,IAAI,CAAC;CA0ClC"}
|
package/dist/index.js
CHANGED
|
@@ -17,7 +17,7 @@ const getCurrentScript = () => {
|
|
|
17
17
|
const scripts = document.getElementsByTagName("script");
|
|
18
18
|
return scripts.length ? scripts[scripts.length - 1] : null;
|
|
19
19
|
};
|
|
20
|
-
const DEFAULT_WIDGET_ASSET_BASE = "https://
|
|
20
|
+
const DEFAULT_WIDGET_ASSET_BASE = "https://unpkg.com/@eka-care/medassist-widget@latest/dist/";
|
|
21
21
|
const scriptEl = getCurrentScript();
|
|
22
22
|
const scriptBaseUrl = (() => {
|
|
23
23
|
if (!scriptEl) {
|