@cuemath/leap 3.5.30-link.0 → 3.5.30-link.1

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,94 +1,94 @@
1
- import { jsx as f } from "react/jsx-runtime";
2
- import { memo as h, useState as p, useCallback as n, useEffect as N } from "react";
3
- import { getTimezone as L } from "../../helpers/date-time.js";
4
- import z from "../communication/hooks/use-trial-session-message-broker/use-trial-session-message-broker.js";
5
- import { useGetMileStoneConfig as F } from "../milestone/create/api/milestone-config.js";
6
- import y from "../ui/error/error.js";
7
- import w from "../ui/loader/app-loader/app-loader.js";
8
- import { useGetTrialHome as k } from "./api/trial-home.js";
9
- import { filterAndUpdateSlideNavigation as x } from "./helper.js";
10
- import G from "./trial-session-view.js";
11
- const V = h(function(d) {
12
- const { userType: e, teacherId: g, studentId: S, teacherClassroomId: A, height: E = "100vh" } = d, [m, D] = p(null), [_, v] = p(), {
13
- data: T,
1
+ import { jsx as c } from "react/jsx-runtime";
2
+ import { memo as L, useState as I, useCallback as n, useEffect as N } from "react";
3
+ import { getTimezone as z } from "../../helpers/date-time.js";
4
+ import F from "../communication/hooks/use-trial-session-message-broker/use-trial-session-message-broker.js";
5
+ import { useGetMileStoneConfig as y } from "../milestone/create/api/milestone-config.js";
6
+ import w from "../ui/error/error.js";
7
+ import k from "../ui/loader/app-loader/app-loader.js";
8
+ import { useGetTrialHome as x } from "./api/trial-home.js";
9
+ import { filterAndUpdateSlideNavigation as G } from "./helper.js";
10
+ import V from "./trial-session-view.js";
11
+ import { USER_TYPE as s } from "../timeline/daily-timeline-types.js";
12
+ const Z = L(function(d) {
13
+ const { userType: e, teacherId: E, studentId: g, teacherClassroomId: A, height: S = "100vh" } = d, [l, _] = I(null), [D, R] = I(), {
14
+ data: m,
14
15
  get: u,
15
16
  isProcessing: H,
16
17
  isProcessingFailed: P
17
- } = k(), {
18
- get: I,
19
- data: a,
20
- isProcessing: R,
18
+ } = x(), {
19
+ get: p,
20
+ data: r,
21
+ isProcessing: v,
21
22
  isProcessingFailed: C
22
- } = F(), t = n(() => {
23
+ } = y(), t = n(() => {
23
24
  u("trial-v3", {
24
- student_id: S,
25
- teacher_id: g,
25
+ student_id: g,
26
+ teacher_id: E,
26
27
  viewer: e.toLocaleLowerCase()
27
28
  });
28
- }, [u, S, g, e]), l = n(() => {
29
- t(), I("", {
29
+ }, [u, g, E, e]), f = n(() => {
30
+ t(), p("", {
30
31
  demo_type: "TRIAL_V3"
31
32
  });
32
- }, [t, I]), M = n(
33
- (s) => {
34
- e === "STUDENT" && s.forEach((i) => {
33
+ }, [t, p]), U = n(
34
+ (T) => {
35
+ e === s.STUDENT && T.forEach((i) => {
35
36
  i.eventName === "TRIAL_INFORMATION_UPDATED" && t();
36
- }), e === "TEACHER" && s.forEach((i) => {
37
+ }), e === s.TEACHER && T.forEach((i) => {
37
38
  if (i.eventName === "TRIAL_SESSION_STUDENT_TIMEZONE") {
38
39
  const {
39
- eventPayload: { timezone: c }
40
+ eventPayload: { timezone: h }
40
41
  } = i;
41
- v(c);
42
+ R(h);
42
43
  }
43
44
  });
44
45
  },
45
46
  [t, e]
46
- ), { publish: o } = z({
47
+ ), { publish: o } = F({
47
48
  teacherClassroomId: A,
48
- onMessageReceive: M
49
- }), U = n(() => {
50
- t(), e === "TEACHER" && (o == null || o({
49
+ onMessageReceive: U
50
+ }), M = n(() => {
51
+ t(), e === s.TEACHER && (o == null || o({
51
52
  eventName: "TRIAL_INFORMATION_UPDATED"
52
53
  }));
53
54
  }, [t, o, e]), O = n(() => {
54
- e === "STUDENT" && (o == null || o({
55
+ e === s.STUDENT && (o == null || o({
55
56
  eventName: "TRIAL_SESSION_STUDENT_TIMEZONE",
56
- eventPayload: { timezone: L() }
57
+ eventPayload: { timezone: z() }
57
58
  }));
58
59
  }, [o, e]);
59
60
  N(() => {
60
- l();
61
- }, [l]);
62
- const r = n(
63
- (s, i) => {
64
- if (T && a) {
65
- const c = x({
66
- milestoneConfigData: a,
67
- trialHomeData: T,
68
- goal: i,
69
- grade: s
70
- });
71
- D(c);
61
+ f();
62
+ }, [f]);
63
+ const a = n(
64
+ (T) => {
65
+ if (m && r) {
66
+ const i = e === s.TEACHER ? G({
67
+ milestoneConfigData: r,
68
+ trialHomeData: m,
69
+ grade: T
70
+ }) : m;
71
+ _(i);
72
72
  }
73
73
  },
74
- [a, T]
74
+ [r, m, e]
75
75
  );
76
76
  return N(() => {
77
- r == null || r();
78
- }, [r]), H && !m || R ? /* @__PURE__ */ f(w, { height: E }) : P || C ? /* @__PURE__ */ f(y, { height: E, onTryAgain: l }) : m && a ? /* @__PURE__ */ f(
79
- G,
77
+ a == null || a();
78
+ }, [a]), H && !l || v ? /* @__PURE__ */ c(k, { height: S }) : P || C ? /* @__PURE__ */ c(w, { height: S, onTryAgain: f }) : l && r ? /* @__PURE__ */ c(
79
+ V,
80
80
  {
81
81
  ...d,
82
- onTrialInformationUpdate: U,
82
+ onTrialInformationUpdate: M,
83
83
  onStudentTimezoneUpdate: O,
84
- trialHomeData: m,
85
- milestoneConfig: a,
86
- onRemoveOptionalSlides: r,
87
- studentTimezone: _
84
+ trialHomeData: l,
85
+ milestoneConfig: r,
86
+ onRemoveOptionalSlides: a,
87
+ studentTimezone: D
88
88
  }
89
89
  ) : null;
90
- }), b = V;
90
+ }), oe = Z;
91
91
  export {
92
- b as default
92
+ oe as default
93
93
  };
94
94
  //# sourceMappingURL=trial-session.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"trial-session.js","sources":["../../../src/features/trial-session/trial-session.tsx"],"sourcesContent":["import { memo, useCallback, useEffect, useState, type FC } from 'react';\n\nimport { getTimezone } from '../../helpers/date-time';\nimport useTrialSessionMessageBroker from '../communication/hooks/use-trial-session-message-broker/use-trial-session-message-broker';\nimport type { TTrialSessionMessage } from '../communication/hooks/use-trial-session-message-broker/use-trial-session-message-broker-types';\nimport { useGetMileStoneConfig } from '../milestone/create/api/milestone-config';\nimport Error from '../ui/error/error';\nimport AppLoader from '../ui/loader/app-loader/app-loader';\nimport { useGetTrialHome } from './api/trial-home';\nimport { filterAndUpdateSlideNavigation } from './helper';\nimport type { ITrialHomeData, ITrialSessionProps } from './trial-session-types';\nimport TrialSessionView from './trial-session-view';\n\nconst TrialSession: FC<ITrialSessionProps> = memo(function TrialSession(props) {\n const { userType, teacherId, studentId, teacherClassroomId, height = '100vh' } = props;\n const [trialHomeData, setTrialHomeData] = useState<ITrialHomeData | null>(null);\n const [studentTimezone, setStudentTimezone] = useState<string>();\n\n const {\n data: trialHomeResponse,\n get: getTrialHome,\n isProcessing: isProcessingTrialHome,\n isProcessingFailed: isProcessingFailedTrialHome,\n } = useGetTrialHome();\n const {\n get: getMilestoneConfig,\n data: milestoneConfigData,\n isProcessing: isProcessingMilestoneConfig,\n isProcessingFailed: isProcessingFailedMilestoneConfig,\n } = useGetMileStoneConfig();\n\n const fetchTrialHome = useCallback(() => {\n getTrialHome('trial-v3', {\n student_id: studentId,\n teacher_id: teacherId,\n viewer: userType.toLocaleLowerCase(),\n });\n }, [getTrialHome, studentId, teacherId, userType]);\n\n const fetchData = useCallback(() => {\n fetchTrialHome();\n getMilestoneConfig('', {\n demo_type: 'TRIAL_V3',\n });\n }, [fetchTrialHome, getMilestoneConfig]);\n\n const handleMessageReceive = useCallback(\n (messages: TTrialSessionMessage[]) => {\n if (userType === 'STUDENT') {\n messages.forEach(message => {\n if (message.eventName === 'TRIAL_INFORMATION_UPDATED') {\n fetchTrialHome();\n }\n });\n }\n\n if (userType === 'TEACHER') {\n messages.forEach(message => {\n if (message.eventName === 'TRIAL_SESSION_STUDENT_TIMEZONE') {\n const {\n eventPayload: { timezone },\n } = message;\n\n setStudentTimezone(timezone);\n }\n });\n }\n },\n [fetchTrialHome, userType],\n );\n\n const { publish } = useTrialSessionMessageBroker({\n teacherClassroomId,\n onMessageReceive: handleMessageReceive,\n });\n\n const handleOnTrialInformationUpdate = useCallback(() => {\n fetchTrialHome();\n\n if (userType === 'TEACHER') {\n publish?.({\n eventName: 'TRIAL_INFORMATION_UPDATED',\n });\n }\n }, [fetchTrialHome, publish, userType]);\n\n const handleOnTrialStudentTimezoneUpdate = useCallback(() => {\n if (userType === 'STUDENT') {\n publish?.({\n eventName: 'TRIAL_SESSION_STUDENT_TIMEZONE',\n eventPayload: { timezone: getTimezone() },\n });\n }\n }, [publish, userType]);\n\n useEffect(() => {\n fetchData();\n }, [fetchData]);\n\n const handleRemoveOptionalSlides = useCallback(\n (grade?: string, goal?: string) => {\n if (trialHomeResponse && milestoneConfigData) {\n const updatedTrialHomeData = filterAndUpdateSlideNavigation({\n milestoneConfigData,\n trialHomeData: trialHomeResponse,\n goal,\n grade,\n });\n\n setTrialHomeData(updatedTrialHomeData);\n }\n },\n [milestoneConfigData, trialHomeResponse],\n );\n\n useEffect(() => {\n handleRemoveOptionalSlides?.();\n }, [handleRemoveOptionalSlides]);\n\n if ((isProcessingTrialHome && !trialHomeData) || isProcessingMilestoneConfig) {\n return <AppLoader height={height} />;\n }\n\n if (isProcessingFailedTrialHome || isProcessingFailedMilestoneConfig) {\n return <Error height={height} onTryAgain={fetchData} />;\n }\n\n if (trialHomeData && milestoneConfigData) {\n return (\n <TrialSessionView\n {...props}\n onTrialInformationUpdate={handleOnTrialInformationUpdate}\n onStudentTimezoneUpdate={handleOnTrialStudentTimezoneUpdate}\n trialHomeData={trialHomeData}\n milestoneConfig={milestoneConfigData}\n onRemoveOptionalSlides={handleRemoveOptionalSlides}\n studentTimezone={studentTimezone}\n />\n );\n }\n\n return null;\n});\n\nexport default TrialSession;\n"],"names":["TrialSession","memo","props","userType","teacherId","studentId","teacherClassroomId","height","trialHomeData","setTrialHomeData","useState","studentTimezone","setStudentTimezone","trialHomeResponse","getTrialHome","isProcessingTrialHome","isProcessingFailedTrialHome","useGetTrialHome","getMilestoneConfig","milestoneConfigData","isProcessingMilestoneConfig","isProcessingFailedMilestoneConfig","useGetMileStoneConfig","fetchTrialHome","useCallback","fetchData","handleMessageReceive","messages","message","timezone","publish","useTrialSessionMessageBroker","handleOnTrialInformationUpdate","handleOnTrialStudentTimezoneUpdate","getTimezone","useEffect","handleRemoveOptionalSlides","grade","goal","updatedTrialHomeData","filterAndUpdateSlideNavigation","jsx","AppLoader","Error","TrialSessionView","TrialSession$1"],"mappings":";;;;;;;;;;AAaA,MAAMA,IAAuCC,EAAK,SAAsBC,GAAO;AAC7E,QAAM,EAAE,UAAAC,GAAU,WAAAC,GAAW,WAAAC,GAAW,oBAAAC,GAAoB,QAAAC,IAAS,QAAY,IAAAL,GAC3E,CAACM,GAAeC,CAAgB,IAAIC,EAAgC,IAAI,GACxE,CAACC,GAAiBC,CAAkB,IAAIF,EAAiB,GAEzD;AAAA,IACJ,MAAMG;AAAA,IACN,KAAKC;AAAA,IACL,cAAcC;AAAA,IACd,oBAAoBC;AAAA,MAClBC,EAAgB,GACd;AAAA,IACJ,KAAKC;AAAA,IACL,MAAMC;AAAA,IACN,cAAcC;AAAA,IACd,oBAAoBC;AAAA,MAClBC,EAAsB,GAEpBC,IAAiBC,EAAY,MAAM;AACvC,IAAAV,EAAa,YAAY;AAAA,MACvB,YAAYT;AAAA,MACZ,YAAYD;AAAA,MACZ,QAAQD,EAAS,kBAAkB;AAAA,IAAA,CACpC;AAAA,KACA,CAACW,GAAcT,GAAWD,GAAWD,CAAQ,CAAC,GAE3CsB,IAAYD,EAAY,MAAM;AACnB,IAAAD,KACfL,EAAmB,IAAI;AAAA,MACrB,WAAW;AAAA,IAAA,CACZ;AAAA,EAAA,GACA,CAACK,GAAgBL,CAAkB,CAAC,GAEjCQ,IAAuBF;AAAA,IAC3B,CAACG,MAAqC;AACpC,MAAIxB,MAAa,aACfwB,EAAS,QAAQ,CAAWC,MAAA;AACtB,QAAAA,EAAQ,cAAc,+BACTL;MACjB,CACD,GAGCpB,MAAa,aACfwB,EAAS,QAAQ,CAAWC,MAAA;AACtB,YAAAA,EAAQ,cAAc,kCAAkC;AACpD,gBAAA;AAAA,YACJ,cAAc,EAAE,UAAAC,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,EAAW,CAAA,IAGnDjB,KAAiBW,IAEjB,gBAAAsB;AAAA,IAACG;AAAA,IAAA;AAAA,MACE,GAAG1C;AAAA,MACJ,0BAA0B8B;AAAA,MAC1B,yBAAyBC;AAAA,MACzB,eAAAzB;AAAA,MACA,iBAAiBW;AAAA,MACjB,wBAAwBiB;AAAA,MACxB,iBAAAzB;AAAA,IAAA;AAAA,EAAA,IAKC;AACT,CAAC,GAEDkC,IAAe7C;"}
1
+ {"version":3,"file":"trial-session.js","sources":["../../../src/features/trial-session/trial-session.tsx"],"sourcesContent":["import { memo, useCallback, useEffect, useState, type FC } from 'react';\n\nimport { getTimezone } from '../../helpers/date-time';\nimport useTrialSessionMessageBroker from '../communication/hooks/use-trial-session-message-broker/use-trial-session-message-broker';\nimport type { TTrialSessionMessage } from '../communication/hooks/use-trial-session-message-broker/use-trial-session-message-broker-types';\nimport { useGetMileStoneConfig } from '../milestone/create/api/milestone-config';\nimport Error from '../ui/error/error';\nimport AppLoader from '../ui/loader/app-loader/app-loader';\nimport { useGetTrialHome } from './api/trial-home';\nimport { filterAndUpdateSlideNavigation } from './helper';\nimport type { ITrialHomeData, ITrialSessionProps } from './trial-session-types';\nimport TrialSessionView from './trial-session-view';\nimport { USER_TYPE } from '../timeline/daily-timeline-types';\n\nconst TrialSession: FC<ITrialSessionProps> = memo(function TrialSession(props) {\n const { userType, teacherId, studentId, teacherClassroomId, height = '100vh' } = props;\n const [trialHomeData, setTrialHomeData] = useState<ITrialHomeData | null>(null);\n const [studentTimezone, setStudentTimezone] = useState<string>();\n\n const {\n data: trialHomeResponse,\n get: getTrialHome,\n isProcessing: isProcessingTrialHome,\n isProcessingFailed: isProcessingFailedTrialHome,\n } = useGetTrialHome();\n const {\n get: getMilestoneConfig,\n data: milestoneConfigData,\n isProcessing: isProcessingMilestoneConfig,\n isProcessingFailed: isProcessingFailedMilestoneConfig,\n } = useGetMileStoneConfig();\n\n const fetchTrialHome = useCallback(() => {\n getTrialHome('trial-v3', {\n student_id: studentId,\n teacher_id: teacherId,\n viewer: userType.toLocaleLowerCase(),\n });\n }, [getTrialHome, studentId, teacherId, userType]);\n\n const fetchData = useCallback(() => {\n fetchTrialHome();\n getMilestoneConfig('', {\n demo_type: 'TRIAL_V3',\n });\n }, [fetchTrialHome, getMilestoneConfig]);\n\n const handleMessageReceive = useCallback(\n (messages: TTrialSessionMessage[]) => {\n if (userType === USER_TYPE.STUDENT) {\n messages.forEach(message => {\n if (message.eventName === 'TRIAL_INFORMATION_UPDATED') {\n fetchTrialHome();\n }\n });\n }\n\n if (userType === USER_TYPE.TEACHER) {\n messages.forEach(message => {\n if (message.eventName === 'TRIAL_SESSION_STUDENT_TIMEZONE') {\n const {\n eventPayload: { timezone },\n } = message;\n\n setStudentTimezone(timezone);\n }\n });\n }\n },\n [fetchTrialHome, userType],\n );\n\n const { publish } = useTrialSessionMessageBroker({\n teacherClassroomId,\n onMessageReceive: handleMessageReceive,\n });\n\n const handleOnTrialInformationUpdate = useCallback(() => {\n fetchTrialHome();\n\n if (userType === USER_TYPE.TEACHER) {\n publish?.({\n eventName: 'TRIAL_INFORMATION_UPDATED',\n });\n }\n }, [fetchTrialHome, publish, userType]);\n\n const handleOnTrialStudentTimezoneUpdate = useCallback(() => {\n if (userType === USER_TYPE.STUDENT) {\n publish?.({\n eventName: 'TRIAL_SESSION_STUDENT_TIMEZONE',\n eventPayload: { timezone: getTimezone() },\n });\n }\n }, [publish, userType]);\n\n useEffect(() => {\n fetchData();\n }, [fetchData]);\n\n const handleRemoveOptionalSlides = useCallback(\n (grade?: string) => {\n if (trialHomeResponse && milestoneConfigData) {\n const updatedTrialHomeData =\n userType === USER_TYPE.TEACHER\n ? filterAndUpdateSlideNavigation({\n milestoneConfigData,\n trialHomeData: trialHomeResponse,\n grade,\n })\n : trialHomeResponse;\n\n setTrialHomeData(updatedTrialHomeData);\n }\n },\n [milestoneConfigData, trialHomeResponse, userType],\n );\n\n useEffect(() => {\n handleRemoveOptionalSlides?.();\n }, [handleRemoveOptionalSlides]);\n\n if ((isProcessingTrialHome && !trialHomeData) || isProcessingMilestoneConfig) {\n return <AppLoader height={height} />;\n }\n\n if (isProcessingFailedTrialHome || isProcessingFailedMilestoneConfig) {\n return <Error height={height} onTryAgain={fetchData} />;\n }\n\n if (trialHomeData && milestoneConfigData) {\n return (\n <TrialSessionView\n {...props}\n onTrialInformationUpdate={handleOnTrialInformationUpdate}\n onStudentTimezoneUpdate={handleOnTrialStudentTimezoneUpdate}\n trialHomeData={trialHomeData}\n milestoneConfig={milestoneConfigData}\n onRemoveOptionalSlides={handleRemoveOptionalSlides}\n studentTimezone={studentTimezone}\n />\n );\n }\n\n return null;\n});\n\nexport default TrialSession;\n"],"names":["TrialSession","memo","props","userType","teacherId","studentId","teacherClassroomId","height","trialHomeData","setTrialHomeData","useState","studentTimezone","setStudentTimezone","trialHomeResponse","getTrialHome","isProcessingTrialHome","isProcessingFailedTrialHome","useGetTrialHome","getMilestoneConfig","milestoneConfigData","isProcessingMilestoneConfig","isProcessingFailedMilestoneConfig","useGetMileStoneConfig","fetchTrialHome","useCallback","fetchData","handleMessageReceive","messages","USER_TYPE","message","timezone","publish","useTrialSessionMessageBroker","handleOnTrialInformationUpdate","handleOnTrialStudentTimezoneUpdate","getTimezone","useEffect","handleRemoveOptionalSlides","grade","updatedTrialHomeData","filterAndUpdateSlideNavigation","jsx","AppLoader","Error","TrialSessionView","TrialSession$1"],"mappings":";;;;;;;;;;;AAcA,MAAMA,IAAuCC,EAAK,SAAsBC,GAAO;AAC7E,QAAM,EAAE,UAAAC,GAAU,WAAAC,GAAW,WAAAC,GAAW,oBAAAC,GAAoB,QAAAC,IAAS,QAAY,IAAAL,GAC3E,CAACM,GAAeC,CAAgB,IAAIC,EAAgC,IAAI,GACxE,CAACC,GAAiBC,CAAkB,IAAIF,EAAiB,GAEzD;AAAA,IACJ,MAAMG;AAAA,IACN,KAAKC;AAAA,IACL,cAAcC;AAAA,IACd,oBAAoBC;AAAA,MAClBC,EAAgB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AAA,MACR,WAAW;AAAA,MACX,cAAc,EAAE,UAAUI,IAAc;AAAA,IAAA;AAAA,EAE5C,GACC,CAACJ,GAAS5B,CAAQ,CAAC;AAEtB,EAAAiC,EAAU,MAAM;AACJ,IAAAX;EAAA,GACT,CAACA,CAAS,CAAC;AAEd,QAAMY,IAA6Bb;AAAA,IACjC,CAACc,MAAmB;AAClB,UAAIzB,KAAqBM,GAAqB;AAC5C,cAAMoB,IACJpC,MAAayB,EAAU,UACnBY,EAA+B;AAAA,UAC7B,qBAAArB;AAAA,UACA,eAAeN;AAAA,UACf,OAAAyB;AAAA,QACD,CAAA,IACDzB;AAEN,QAAAJ,EAAiB8B,CAAoB;AAAA,MACvC;AAAA,IACF;AAAA,IACA,CAACpB,GAAqBN,GAAmBV,CAAQ;AAAA,EAAA;AAO9C,SAJLiC,EAAU,MAAM;AACe,IAAAC,KAAA,QAAAA;AAAA,EAAA,GAC5B,CAACA,CAA0B,CAAC,GAE1BtB,KAAyB,CAACP,KAAkBY,IACxC,gBAAAqB,EAACC,KAAU,QAAAnC,EAAgB,CAAA,IAGhCS,KAA+BK,IACzB,gBAAAoB,EAAAE,GAAA,EAAM,QAAApC,GAAgB,YAAYkB,EAAW,CAAA,IAGnDjB,KAAiBW,IAEjB,gBAAAsB;AAAA,IAACG;AAAA,IAAA;AAAA,MACE,GAAG1C;AAAA,MACJ,0BAA0B+B;AAAA,MAC1B,yBAAyBC;AAAA,MACzB,eAAA1B;AAAA,MACA,iBAAiBW;AAAA,MACjB,wBAAwBkB;AAAA,MACxB,iBAAA1B;AAAA,IAAA;AAAA,EAAA,IAKC;AACT,CAAC,GAEDkC,KAAe7C;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cuemath/leap",
3
- "version": "3.5.30-link.0",
3
+ "version": "3.5.30-link.1",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"