@oddin-gg/havik-player 1.6.2 → 1.7.0

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.js CHANGED
@@ -795,14 +795,10 @@ var Te = class {
795
795
  initData: t
796
796
  };
797
797
  let r = n.decryptdata?.uri;
798
- if (r?.startsWith("skd://")) {
799
- let e = r.slice(6).split(":")[0].toLowerCase(), t = e ? `skd://${e}` : r;
800
- return {
801
- initDataType: "skd",
802
- initData: new TextEncoder().encode(t).buffer
803
- };
804
- }
805
- return {
798
+ return r?.startsWith("skd://") ? {
799
+ initDataType: "skd",
800
+ initData: new TextEncoder().encode(r).buffer
801
+ } : {
806
802
  initDataType: e,
807
803
  initData: t
808
804
  };