@myop/sdk 0.3.27 → 0.3.28

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.
Files changed (38) hide show
  1. package/dist/bundled-declarations.d.ts +2 -0
  2. package/dist/cjs/{_IframeSDK.c817b148.js → _IframeSDK.7c201b5c.js} +4 -1
  3. package/dist/cjs/_IframeSDK.7c201b5c.js.map +7 -0
  4. package/dist/cjs/{_IframeSDK.dd678e0d.min.js → _IframeSDK.7cd7468c.min.js} +1 -1
  5. package/dist/cjs/{_MyopHelpers.859b9bc8.js → _MyopHelpers.3eeac406.js} +3 -0
  6. package/dist/cjs/{_MyopHelpers.859b9bc8.js.map → _MyopHelpers.3eeac406.js.map} +2 -2
  7. package/dist/cjs/{_MyopHelpers.6fb8c382.min.js → _MyopHelpers.e8e1216b.min.js} +1 -1
  8. package/dist/cjs/{_WebComponentSDK.4cff169e.js → _WebComponentSDK.952f7c87.js} +4 -1
  9. package/dist/cjs/_WebComponentSDK.952f7c87.js.map +7 -0
  10. package/dist/cjs/{_WebComponentSDK.c0523c9e.min.js → _WebComponentSDK.ead0b8a6.min.js} +1 -1
  11. package/dist/cjs/{_hostSDK.0100402a.js → _hostSDK.a73e7b24.js} +4 -1
  12. package/dist/cjs/_hostSDK.a73e7b24.js.map +7 -0
  13. package/dist/cjs/{_hostSDK.54316b46.min.js → _hostSDK.a882a5c1.min.js} +1 -1
  14. package/dist/cjs/myop_sdk.js +14 -14
  15. package/dist/cjs/myop_sdk.js.map +1 -1
  16. package/dist/cjs/myop_sdk.min.js +1 -1
  17. package/dist/cjs-bundled/myop_sdk.bundled.js +5 -2
  18. package/dist/cjs-bundled/myop_sdk.bundled.js.map +2 -2
  19. package/dist/cjs-bundled/myop_sdk.bundled.min.js +1 -1
  20. package/dist/module/Iframe/index.js +5 -2
  21. package/dist/module/Iframe/index.js.map +2 -2
  22. package/dist/module/SDK.js +5 -2
  23. package/dist/module/SDK.js.map +2 -2
  24. package/dist/module/common/index.d.ts +2 -0
  25. package/dist/module/common/index.js +1 -1
  26. package/dist/module/common/index.js.map +2 -2
  27. package/dist/module/embeddedSDK.js +1 -1
  28. package/dist/module/helpers/index.js +4 -1
  29. package/dist/module/helpers/index.js.map +2 -2
  30. package/dist/module/host/embeddedSDK.js +1 -1
  31. package/dist/module/host/index.js +5 -2
  32. package/dist/module/host/index.js.map +2 -2
  33. package/dist/module/webcomponent/index.js +5 -2
  34. package/dist/module/webcomponent/index.js.map +2 -2
  35. package/package.json +1 -1
  36. package/dist/cjs/_IframeSDK.c817b148.js.map +0 -7
  37. package/dist/cjs/_WebComponentSDK.4cff169e.js.map +0 -7
  38. package/dist/cjs/_hostSDK.0100402a.js.map +0 -7
@@ -1 +1 @@
1
- "use strict";(()=>{var b=Object.defineProperty;var y=Object.getOwnPropertySymbols;var N=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable;var g=(e,_,o)=>_ in e?b(e,_,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[_]=o,M=(e,_)=>{for(var o in _||(_={}))N.call(_,o)&&g(e,o,_[o]);if(y)for(var o of y(_))O.call(_,o)&&g(e,o,_[o]);return e};var i=(e,_)=>()=>(e&&(_=e(e=0)),_);var d=(e,_)=>{for(var o in _)b(e,o,{get:_[o],enumerable:!0})};var D={};d(D,{get:()=>$});var R,s,U,$,P=i(()=>{R="hostSDK";window.__federation__.__public_path__?s=window.__federation__.__public_path__:window.__federation__.__use_public_auto_path__?s=window.__federation__.__public_auto_path__:s="https://cdn.myop.dev/sdk/next";U=s+"/_hostSDK.54316b46.min.js",$=()=>new Promise((e,_)=>{window.__federation__.load__federation__(U,R,e),setTimeout(()=>{_("__federation__ timeout")},window.__federation__.__loading_timeout__)})});var k={};d(k,{get:()=>F});var B,r,E,F,v=i(()=>{B="IframeSDK";window.__federation__.__public_path__?r=window.__federation__.__public_path__:window.__federation__.__use_public_auto_path__?r=window.__federation__.__public_auto_path__:r="https://cdn.myop.dev/sdk/next";E=r+"/_IframeSDK.dd678e0d.min.js",F=()=>new Promise((e,_)=>{window.__federation__.load__federation__(E,B,e),setTimeout(()=>{_("__federation__ timeout")},window.__federation__.__loading_timeout__)})});var I={};d(I,{get:()=>z});var G,p,q,z,T=i(()=>{G="WebComponentSDK";window.__federation__.__public_path__?p=window.__federation__.__public_path__:window.__federation__.__use_public_auto_path__?p=window.__federation__.__public_auto_path__:p="https://cdn.myop.dev/sdk/next";q=p+"/_WebComponentSDK.c0523c9e.min.js",z=()=>new Promise((e,_)=>{window.__federation__.load__federation__(q,G,e),setTimeout(()=>{_("__federation__ timeout")},window.__federation__.__loading_timeout__)})});var j={};d(j,{get:()=>Q});var A,l,J,Q,C=i(()=>{A="MyopMessages";window.__federation__.__public_path__?l=window.__federation__.__public_path__:window.__federation__.__use_public_auto_path__?l=window.__federation__.__public_auto_path__:l="https://cdn.myop.dev/sdk/next";J=l+"/_MyopMessages.71dc535d.min.js",Q=()=>new Promise((e,_)=>{window.__federation__.load__federation__(J,A,e),setTimeout(()=>{_("__federation__ timeout")},window.__federation__.__loading_timeout__)})});var H={};d(H,{get:()=>Y});var V,w,X,Y,L=i(()=>{V="MyopHelpers";window.__federation__.__public_path__?w=window.__federation__.__public_path__:window.__federation__.__use_public_auto_path__?w=window.__federation__.__public_auto_path__:w="https://cdn.myop.dev/sdk/next";X=w+"/_MyopHelpers.6fb8c382.min.js",Y=()=>new Promise((e,_)=>{window.__federation__.load__federation__(X,V,e),setTimeout(()=>{_("__federation__ timeout")},window.__federation__.__loading_timeout__)})});var x="onLoad",u="moduleInstance";var K;if(window.__federation__)console.log("__federation__ loaded more than once.");else{let e=(K=document.currentScript)==null?void 0:K.src,_=e?e.split("/").slice(0,-1).join("/"):"";window.__federation__={__public_auto_path__:_,__use_public_auto_path__:!0,__public_path__:void 0,__loading_timeout__:5*1e3}}window.__federation__.load__federation__=(e,_,o)=>{if(window.__federation__[_])console.log("__federation__ module ".concat(_," already loaded.")),o(window.__federation__[_][u]);else{let t;window.__federation__[_]={},window.__federation__[_][x]=n=>{t&&(document.head.removeChild(t),t=null),window.__federation__[_][u]=n,o(n)};let f=n=>{t=document.createElement("script"),t.type="module",t.src=n,t.async=!0,t.onerror=()=>{var m,h;let c=(h=(m=window.myop)==null?void 0:m.__ROOT_SDK_PUBLIC_URL__)==null?void 0:h.split("/").slice(0,-1).join("/"),W=n.split("/").pop();c&&!n.startsWith(c)&&(console.warn("[myop] chunk load failed from ".concat(n,", retrying from CDN")),document.head.removeChild(t),f("".concat(c,"/").concat(W)))},document.head.appendChild(t)};f(e)}};var S="0.3.27";console.log("myop root sdk - loaded",document.location.origin);var Z="https://cdn.myop.dev/sdk/next/myop_sdk.min.js",__=()=>Promise.resolve().then(()=>(P(),D)),e_=()=>Promise.resolve().then(()=>(v(),k)),o_=()=>Promise.resolve().then(()=>(T(),I)),t_=()=>Promise.resolve().then(()=>(C(),j)),n_=()=>Promise.resolve().then(()=>(L(),H)),a=e=>async()=>(await e()).get(),i_={version:S,getHostModule:a(__),getIframeModule:a(e_),getWebcomponentModule:a(o_),getMyopMessages:a(t_),getMyopHelpers:a(n_)};window.myop||(window.myop={__ROOT_SDK_PUBLIC_URL__:Z});window.myop.rootSDK?console.log("myop root host loaded more than once."):window.myop=M({rootSDK:i_},window.myop);})();
1
+ "use strict";(()=>{var b=Object.defineProperty;var y=Object.getOwnPropertySymbols;var N=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable;var g=(e,_,o)=>_ in e?b(e,_,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[_]=o,M=(e,_)=>{for(var o in _||(_={}))N.call(_,o)&&g(e,o,_[o]);if(y)for(var o of y(_))O.call(_,o)&&g(e,o,_[o]);return e};var i=(e,_)=>()=>(e&&(_=e(e=0)),_);var d=(e,_)=>{for(var o in _)b(e,o,{get:_[o],enumerable:!0})};var D={};d(D,{get:()=>$});var R,s,U,$,P=i(()=>{R="hostSDK";window.__federation__.__public_path__?s=window.__federation__.__public_path__:window.__federation__.__use_public_auto_path__?s=window.__federation__.__public_auto_path__:s="https://cdn.myop.dev/sdk/next";U=s+"/_hostSDK.a882a5c1.min.js",$=()=>new Promise((e,_)=>{window.__federation__.load__federation__(U,R,e),setTimeout(()=>{_("__federation__ timeout")},window.__federation__.__loading_timeout__)})});var k={};d(k,{get:()=>F});var B,r,E,F,v=i(()=>{B="IframeSDK";window.__federation__.__public_path__?r=window.__federation__.__public_path__:window.__federation__.__use_public_auto_path__?r=window.__federation__.__public_auto_path__:r="https://cdn.myop.dev/sdk/next";E=r+"/_IframeSDK.7cd7468c.min.js",F=()=>new Promise((e,_)=>{window.__federation__.load__federation__(E,B,e),setTimeout(()=>{_("__federation__ timeout")},window.__federation__.__loading_timeout__)})});var I={};d(I,{get:()=>z});var G,p,q,z,T=i(()=>{G="WebComponentSDK";window.__federation__.__public_path__?p=window.__federation__.__public_path__:window.__federation__.__use_public_auto_path__?p=window.__federation__.__public_auto_path__:p="https://cdn.myop.dev/sdk/next";q=p+"/_WebComponentSDK.ead0b8a6.min.js",z=()=>new Promise((e,_)=>{window.__federation__.load__federation__(q,G,e),setTimeout(()=>{_("__federation__ timeout")},window.__federation__.__loading_timeout__)})});var j={};d(j,{get:()=>Q});var A,l,J,Q,C=i(()=>{A="MyopMessages";window.__federation__.__public_path__?l=window.__federation__.__public_path__:window.__federation__.__use_public_auto_path__?l=window.__federation__.__public_auto_path__:l="https://cdn.myop.dev/sdk/next";J=l+"/_MyopMessages.71dc535d.min.js",Q=()=>new Promise((e,_)=>{window.__federation__.load__federation__(J,A,e),setTimeout(()=>{_("__federation__ timeout")},window.__federation__.__loading_timeout__)})});var H={};d(H,{get:()=>Y});var V,w,X,Y,L=i(()=>{V="MyopHelpers";window.__federation__.__public_path__?w=window.__federation__.__public_path__:window.__federation__.__use_public_auto_path__?w=window.__federation__.__public_auto_path__:w="https://cdn.myop.dev/sdk/next";X=w+"/_MyopHelpers.e8e1216b.min.js",Y=()=>new Promise((e,_)=>{window.__federation__.load__federation__(X,V,e),setTimeout(()=>{_("__federation__ timeout")},window.__federation__.__loading_timeout__)})});var x="onLoad",u="moduleInstance";var K;if(window.__federation__)console.log("__federation__ loaded more than once.");else{let e=(K=document.currentScript)==null?void 0:K.src,_=e?e.split("/").slice(0,-1).join("/"):"";window.__federation__={__public_auto_path__:_,__use_public_auto_path__:!0,__public_path__:void 0,__loading_timeout__:5*1e3}}window.__federation__.load__federation__=(e,_,o)=>{if(window.__federation__[_])console.log("__federation__ module ".concat(_," already loaded.")),o(window.__federation__[_][u]);else{let t;window.__federation__[_]={},window.__federation__[_][x]=n=>{t&&(document.head.removeChild(t),t=null),window.__federation__[_][u]=n,o(n)};let f=n=>{t=document.createElement("script"),t.type="module",t.src=n,t.async=!0,t.onerror=()=>{var m,h;let c=(h=(m=window.myop)==null?void 0:m.__ROOT_SDK_PUBLIC_URL__)==null?void 0:h.split("/").slice(0,-1).join("/"),W=n.split("/").pop();c&&!n.startsWith(c)&&(console.warn("[myop] chunk load failed from ".concat(n,", retrying from CDN")),document.head.removeChild(t),f("".concat(c,"/").concat(W)))},document.head.appendChild(t)};f(e)}};var S="0.3.28";console.log("myop root sdk - loaded",document.location.origin);var Z="https://cdn.myop.dev/sdk/next/myop_sdk.min.js",__=()=>Promise.resolve().then(()=>(P(),D)),e_=()=>Promise.resolve().then(()=>(v(),k)),o_=()=>Promise.resolve().then(()=>(T(),I)),t_=()=>Promise.resolve().then(()=>(C(),j)),n_=()=>Promise.resolve().then(()=>(L(),H)),a=e=>async()=>(await e()).get(),i_={version:S,getHostModule:a(__),getIframeModule:a(e_),getWebcomponentModule:a(o_),getMyopMessages:a(t_),getMyopHelpers:a(n_)};window.myop||(window.myop={__ROOT_SDK_PUBLIC_URL__:Z});window.myop.rootSDK?console.log("myop root host loaded more than once."):window.myop=M({rootSDK:i_},window.myop);})();