@articles-media/articles-dev-box 1.0.12 → 1.0.13

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 (42) hide show
  1. package/package.json +5 -1
  2. package/dist/Ad.cjs +0 -1
  3. package/dist/Ad.js +0 -600
  4. package/dist/AdConfirmExitModal-CKkMAvBK.js +0 -72
  5. package/dist/AdConfirmExitModal-CcSxmXKT.cjs +0 -1
  6. package/dist/AdDetailsModal-Bp5hZm9N.js +0 -83
  7. package/dist/AdDetailsModal-k840vrS2.cjs +0 -1
  8. package/dist/ArticlesAd.cjs +0 -1
  9. package/dist/ArticlesAd.js +0 -16
  10. package/dist/Button-0ZK0NKiK.cjs +0 -1
  11. package/dist/Button-_Quon8UV.js +0 -54
  12. package/dist/GameScoreboard.cjs +0 -1
  13. package/dist/GameScoreboard.js +0 -182
  14. package/dist/GlobalBody-BQ2qC81K.cjs +0 -33
  15. package/dist/GlobalBody-tmIC_GWn.js +0 -123
  16. package/dist/GlobalBody.cjs +0 -1
  17. package/dist/GlobalBody.js +0 -7
  18. package/dist/GlobalHead.cjs +0 -1
  19. package/dist/GlobalHead.js +0 -13
  20. package/dist/Modal-C9oYRgI1.js +0 -2073
  21. package/dist/Modal-Wmqy9fOm.cjs +0 -2
  22. package/dist/ReturnToLauncherButton.cjs +0 -1
  23. package/dist/ReturnToLauncherButton.js +0 -50
  24. package/dist/StatusModal-BlwaI-2B.cjs +0 -1
  25. package/dist/StatusModal-CAVxWCUq.js +0 -71
  26. package/dist/ViewUserModal.cjs +0 -1
  27. package/dist/ViewUserModal.js +0 -3189
  28. package/dist/articles-dev-box.css +0 -1
  29. package/dist/index-BlP2-uOi.cjs +0 -1
  30. package/dist/index-DLYx67wi.js +0 -2394
  31. package/dist/index-Ddv_TnxK.cjs +0 -6
  32. package/dist/index-YnD2EP-S.js +0 -43
  33. package/dist/index.cjs +0 -1
  34. package/dist/index.js +0 -20
  35. package/dist/jsx-runtime-nZSsnGb7.cjs +0 -6
  36. package/dist/jsx-runtime-tc70JA_2.js +0 -264
  37. package/dist/numberWithCommas-CRgrb58X.cjs +0 -1
  38. package/dist/numberWithCommas-DnAkiOFL.js +0 -1256
  39. package/dist/useUserDetails.cjs +0 -1
  40. package/dist/useUserDetails.js +0 -33
  41. package/dist/useUserToken.cjs +0 -1
  42. package/dist/useUserToken.js +0 -22
@@ -1 +0,0 @@
1
- "use strict";const s=require("./index-Ddv_TnxK.cjs"),a=e=>s.axios.get(e.url,{params:{token:e.token}}).then(t=>t.data),l=e=>{const{data:t,error:n,isLoading:o,mutate:r}=s.useSWR(e.token?{url:(process.env.NODE_ENV==="development"?"http://localhost:3012":"https://accounts.articles.media")+"/api/auth/session",token:e.token}:null,a,{revalidateOnFocus:!1,revalidateOnReconnect:!1,shouldRetryOnError:!1});return{data:t,error:n,isLoading:o,mutate:r}};module.exports=l;
@@ -1,33 +0,0 @@
1
- import { u as n, a as r } from "./index-DLYx67wi.js";
2
- const l = (e) => r.get(e.url, {
3
- // headers: {
4
- // Authorization: `Bearer ${params.token}`
5
- // },
6
- params: {
7
- token: e.token
8
- }
9
- }).then((t) => t.data), c = (e) => {
10
- const { data: t, error: s, isLoading: a, mutate: o } = n(
11
- e.token ? {
12
- // url: "/api/details",
13
- // url: "http://localhost:3012/api/auth/session",
14
- url: (process.env.NODE_ENV === "development" ? "http://localhost:3012" : "https://accounts.articles.media") + "/api/auth/session",
15
- token: e.token
16
- } : null,
17
- l,
18
- {
19
- revalidateOnFocus: !1,
20
- revalidateOnReconnect: !1,
21
- shouldRetryOnError: !1
22
- }
23
- );
24
- return {
25
- data: t,
26
- error: s,
27
- isLoading: a,
28
- mutate: o
29
- };
30
- };
31
- export {
32
- c as default
33
- };
@@ -1 +0,0 @@
1
- "use strict";const s=require("./index-Ddv_TnxK.cjs"),a=e=>s.axios.get(e).then(t=>t.data),c=e=>{const{data:t,error:o,isLoading:n,mutate:r}=s.useSWR(process.env.NODE_ENV==="development"?`http://localhost:${e}/api/token`:"/api/token",a,{revalidateOnFocus:!1,revalidateOnReconnect:!1,shouldRetryOnError:!1});return{data:t,error:o,isLoading:n,mutate:r}};module.exports=c;
@@ -1,22 +0,0 @@
1
- import { u as r, a as n } from "./index-DLYx67wi.js";
2
- const l = (e) => n.get(e).then((t) => t.data), d = (e) => {
3
- const { data: t, error: a, isLoading: o, mutate: s } = r(
4
- // "http://localhost:3012/api/auth/session",
5
- process.env.NODE_ENV === "development" ? `http://localhost:${e}/api/token` : "/api/token",
6
- l,
7
- {
8
- revalidateOnFocus: !1,
9
- revalidateOnReconnect: !1,
10
- shouldRetryOnError: !1
11
- }
12
- );
13
- return {
14
- data: t,
15
- error: a,
16
- isLoading: o,
17
- mutate: s
18
- };
19
- };
20
- export {
21
- d as default
22
- };