react-covideo-embed 1.0.87 → 1.0.90

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.
@@ -1,3 +1,4 @@
1
+ (function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('@import"https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600;1,700;1,800&display=swap";@import"https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600;1,700;1,800&display=swap";#covideo-embeddable-recorder{background:#f6f7f9;color:#272a32;font-style:normal;font-weight:400;font-size:15px;line-height:24px;box-sizing:border-box;text-align:left;max-width:100%}#covideo-embeddable-recorder *,#covideo-embeddable-recorder *:before,#covideo-embeddable-recorder *:after{box-sizing:border-box}#covideo-embeddable-recorder input,#covideo-embeddable-recorder button,#covideo-embeddable-recorder textarea,#covideo-embeddable-recorder select{font-family:inherit}#covideo-embeddable-recorder .ai-assist>button{width:32px;height:32px}#covideo-embeddable-recorder .ai-assist>button:hover{opacity:1!important}.ReactModal__Body--open .ai-assist img{width:100%;max-width:400px}.ReactModal__Body--open .ai-assist svg{box-sizing:content-box!important}@media(max-width:768px){.ReactModal__Body--open .ai-assist img{width:100%;height:auto}}@media(max-width:1240px){.ReactModal__Content{padding:0 15px!important;height:100%;display:block;inset:auto!important;position:initial!important;transform:none!important;margin-right:0!important;min-width:auto!important;width:auto!important}}.ai-assist *{font-family:Work Sans,sans-serif}.ai-assist img{width:100%;max-width:400px}@media(max-width:1240px){.ReactModal__Content{padding:0 15px!important;height:100%;display:block;inset:auto;position:initial!important;transform:none!important;margin-right:0!important;min-width:auto!important;width:auto!important}}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
1
2
  import { jsxs as x, jsx as r, Fragment as pe } from "react/jsx-runtime";
2
3
  import { useMutation as l0, useQuery as Vt, QueryClient as G3, QueryClientProvider as Y3, useQueryClient as j1, useQueries as z7 } from "react-query";
3
4
  import Kr from "axios";
@@ -69,7 +70,7 @@ let oc = {
69
70
  headers: {
70
71
  Authorization: `Bearer ${s0}`,
71
72
  ...wo !== void 0 ? { ApiKey: wo } : {},
72
- [x2]: "1.0.87"
73
+ [x2]: "1.0.90"
73
74
  }
74
75
  };
75
76
  const Le = Kr.create({
@@ -78,7 +79,7 @@ const Le = Kr.create({
78
79
  "Content-Type": "application/json",
79
80
  Authorization: `Bearer ${s0}`,
80
81
  ...wo !== void 0 ? { ApiKey: wo } : {},
81
- [x2]: "1.0.87"
82
+ [x2]: "1.0.90"
82
83
  }
83
84
  });
84
85
  g0.extend(W7);
@@ -8458,7 +8459,8 @@ const wv = async (e, i) => (await Le.get(`/share/quickshare/${e}`, {
8458
8459
  thumbnail: h.thumbnail,
8459
8460
  image: (h == null ? void 0 : h.image) || "",
8460
8461
  html: h.html,
8461
- token: s0
8462
+ token: s0,
8463
+ videoId: g.videoId.toString()
8462
8464
  })), e();
8463
8465
  },
8464
8466
  onError: (h) => {
@@ -10265,7 +10267,8 @@ const Cb = p.div`
10265
10267
  thumbnail: We || "",
10266
10268
  image: e.thumbnail || "",
10267
10269
  html: we,
10268
- token: s0
10270
+ token: s0,
10271
+ videoId: e.id.toString()
10269
10272
  };
10270
10273
  C == null || C(Ke), setTimeout(() => {
10271
10274
  qe || E === G0.ALWAYS.value && K({ message: c("Video marked as Sent") });