@epilot/sdk 2.19.13 → 2.20.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.
Files changed (154) hide show
  1. package/definitions/app-runtime.json +1 -1
  2. package/definitions/app.json +251 -4
  3. package/definitions/journey-runtime.json +1 -1
  4. package/definitions/journey.json +346 -26
  5. package/definitions/validation-rules.json +104 -5
  6. package/dist/apis/access-token.cjs +6 -6
  7. package/dist/apis/access-token.js +1 -1
  8. package/dist/apis/address-suggestions.cjs +6 -6
  9. package/dist/apis/address-suggestions.js +1 -1
  10. package/dist/apis/address.cjs +6 -6
  11. package/dist/apis/address.js +1 -1
  12. package/dist/apis/ai-agents.cjs +6 -6
  13. package/dist/apis/ai-agents.js +1 -1
  14. package/dist/apis/app.cjs +8 -8
  15. package/dist/apis/app.d.cts +2 -2
  16. package/dist/apis/app.d.ts +2 -2
  17. package/dist/apis/app.js +2 -2
  18. package/dist/apis/audit-logs.cjs +6 -6
  19. package/dist/apis/audit-logs.js +1 -1
  20. package/dist/apis/automation.cjs +6 -6
  21. package/dist/apis/automation.js +1 -1
  22. package/dist/apis/billing.cjs +6 -6
  23. package/dist/apis/billing.js +1 -1
  24. package/dist/apis/blueprint-manifest.cjs +6 -6
  25. package/dist/apis/blueprint-manifest.js +1 -1
  26. package/dist/apis/calendar.cjs +6 -6
  27. package/dist/apis/calendar.js +1 -1
  28. package/dist/apis/configuration-hub.cjs +6 -6
  29. package/dist/apis/configuration-hub.js +1 -1
  30. package/dist/apis/consent.cjs +6 -6
  31. package/dist/apis/consent.js +1 -1
  32. package/dist/apis/customer-portal.cjs +6 -6
  33. package/dist/apis/customer-portal.js +1 -1
  34. package/dist/apis/dashboard.cjs +6 -6
  35. package/dist/apis/dashboard.js +1 -1
  36. package/dist/apis/data-governance.cjs +6 -6
  37. package/dist/apis/data-governance.js +1 -1
  38. package/dist/apis/deduplication.cjs +6 -6
  39. package/dist/apis/deduplication.js +1 -1
  40. package/dist/apis/design.cjs +6 -6
  41. package/dist/apis/design.js +1 -1
  42. package/dist/apis/document.cjs +6 -6
  43. package/dist/apis/document.js +1 -1
  44. package/dist/apis/email-settings.cjs +6 -6
  45. package/dist/apis/email-settings.js +1 -1
  46. package/dist/apis/email-template.cjs +6 -6
  47. package/dist/apis/email-template.js +1 -1
  48. package/dist/apis/entity-mapping.cjs +6 -6
  49. package/dist/apis/entity-mapping.js +1 -1
  50. package/dist/apis/entity.cjs +6 -6
  51. package/dist/apis/entity.js +1 -1
  52. package/dist/apis/environments.cjs +6 -6
  53. package/dist/apis/environments.js +1 -1
  54. package/dist/apis/event-catalog.cjs +6 -6
  55. package/dist/apis/event-catalog.js +1 -1
  56. package/dist/apis/file.cjs +6 -6
  57. package/dist/apis/file.js +1 -1
  58. package/dist/apis/iban.cjs +6 -6
  59. package/dist/apis/iban.js +1 -1
  60. package/dist/apis/integration-toolkit.cjs +6 -6
  61. package/dist/apis/integration-toolkit.js +1 -1
  62. package/dist/apis/journey.cjs +8 -8
  63. package/dist/apis/journey.d.cts +2 -2
  64. package/dist/apis/journey.d.ts +2 -2
  65. package/dist/apis/journey.js +2 -2
  66. package/dist/apis/kanban.cjs +6 -6
  67. package/dist/apis/kanban.js +1 -1
  68. package/dist/apis/message.cjs +6 -6
  69. package/dist/apis/message.js +1 -1
  70. package/dist/apis/metering.cjs +6 -6
  71. package/dist/apis/metering.js +1 -1
  72. package/dist/apis/notes.cjs +6 -6
  73. package/dist/apis/notes.js +1 -1
  74. package/dist/apis/notification.cjs +6 -6
  75. package/dist/apis/notification.js +1 -1
  76. package/dist/apis/organization.cjs +6 -6
  77. package/dist/apis/organization.js +1 -1
  78. package/dist/apis/partner-directory.cjs +6 -6
  79. package/dist/apis/partner-directory.js +1 -1
  80. package/dist/apis/permissions.cjs +6 -6
  81. package/dist/apis/permissions.js +1 -1
  82. package/dist/apis/pricing-tier.cjs +6 -6
  83. package/dist/apis/pricing-tier.js +1 -1
  84. package/dist/apis/pricing.cjs +6 -6
  85. package/dist/apis/pricing.js +1 -1
  86. package/dist/apis/purpose.cjs +6 -6
  87. package/dist/apis/purpose.js +1 -1
  88. package/dist/apis/query.cjs +6 -6
  89. package/dist/apis/query.js +1 -1
  90. package/dist/apis/sandbox.cjs +6 -6
  91. package/dist/apis/sandbox.js +1 -1
  92. package/dist/apis/sharing.cjs +6 -6
  93. package/dist/apis/sharing.js +1 -1
  94. package/dist/apis/snapshot.cjs +6 -6
  95. package/dist/apis/snapshot.js +1 -1
  96. package/dist/apis/submission.cjs +6 -6
  97. package/dist/apis/submission.js +1 -1
  98. package/dist/apis/target.cjs +6 -6
  99. package/dist/apis/target.js +1 -1
  100. package/dist/apis/targeting.cjs +6 -6
  101. package/dist/apis/targeting.js +1 -1
  102. package/dist/apis/template-variables.cjs +6 -6
  103. package/dist/apis/template-variables.js +1 -1
  104. package/dist/apis/user.cjs +6 -6
  105. package/dist/apis/user.js +1 -1
  106. package/dist/apis/validation-rules.cjs +6 -6
  107. package/dist/apis/validation-rules.d.cts +2 -2
  108. package/dist/apis/validation-rules.d.ts +2 -2
  109. package/dist/apis/validation-rules.js +1 -1
  110. package/dist/apis/webhooks.cjs +6 -6
  111. package/dist/apis/webhooks.js +1 -1
  112. package/dist/apis/workflow-definition.cjs +6 -6
  113. package/dist/apis/workflow-definition.js +1 -1
  114. package/dist/apis/workflow.cjs +6 -6
  115. package/dist/apis/workflow.js +1 -1
  116. package/dist/app-E75NP2YE.js +7 -0
  117. package/dist/app-EI2PFRBV.cjs +7 -0
  118. package/dist/{app-runtime-T63JMR4T.js → app-runtime-ISNZMZHF.js} +1 -1
  119. package/dist/app-runtime-VC7HGAX3.cjs +5 -0
  120. package/dist/{app.d-BiknhSJo.d.cts → app.d-BHpFAvPW.d.cts} +197 -17
  121. package/dist/{app.d-BiknhSJo.d.ts → app.d-BHpFAvPW.d.ts} +197 -17
  122. package/dist/chunk-HP7PHGTJ.js +14 -0
  123. package/dist/{chunk-YZ2YWRG7.cjs → chunk-L7RZB4SO.cjs} +5 -5
  124. package/dist/{chunk-HS4W3GY7.js → chunk-LWW6JFX2.js} +5 -5
  125. package/dist/{chunk-HPSTDQ62.cjs → chunk-N2P6RELZ.cjs} +1 -1
  126. package/dist/{chunk-4MILKZOO.js → chunk-QHWCHWQT.js} +1 -1
  127. package/dist/chunk-T5KE6FXF.cjs +14 -0
  128. package/dist/index.cjs +12 -12
  129. package/dist/index.d.cts +3 -3
  130. package/dist/index.d.ts +3 -3
  131. package/dist/index.js +3 -3
  132. package/dist/journey-JS7SZKNJ.js +7 -0
  133. package/dist/journey-N7HRM2JJ.cjs +7 -0
  134. package/dist/{journey-runtime-G2O5C3N2.cjs → journey-runtime-JICGEAMK.cjs} +2 -2
  135. package/dist/{journey-runtime-RI2LJO5S.js → journey-runtime-WGTU2NGN.js} +1 -1
  136. package/dist/{journey.d-B1sOeMHw.d.ts → journey.d-B0Ju_TOw.d.cts} +778 -37
  137. package/dist/{journey.d-B1sOeMHw.d.cts → journey.d-B0Ju_TOw.d.ts} +778 -37
  138. package/dist/validation-rules-ETOO45CW.js +7 -0
  139. package/dist/validation-rules-MZZ7YMJM.cjs +7 -0
  140. package/dist/{validation-rules.d-CvGvBnMX.d.ts → validation-rules.d-D8X9MYTc.d.cts} +171 -20
  141. package/dist/{validation-rules.d-CvGvBnMX.d.cts → validation-rules.d-D8X9MYTc.d.ts} +171 -20
  142. package/docs/app.md +188 -12
  143. package/docs/journey.md +296 -100
  144. package/docs/validation-rules.md +277 -20
  145. package/package.json +1 -1
  146. package/dist/app-SJ7ITIY6.cjs +0 -7
  147. package/dist/app-WUPPTHZA.js +0 -7
  148. package/dist/app-runtime-2MEGUF3G.cjs +0 -5
  149. package/dist/chunk-JOUTFBLN.js +0 -14
  150. package/dist/chunk-LAWKCWVU.cjs +0 -14
  151. package/dist/journey-LHVSSVTG.cjs +0 -7
  152. package/dist/journey-NXL264XW.js +0 -7
  153. package/dist/validation-rules-B2KQKMLO.js +0 -7
  154. package/dist/validation-rules-GR2IVLGJ.cjs +0 -7
@@ -57,6 +57,8 @@ const { data } = await validationRulesClient.getValidationRules(...)
57
57
  - [`Operator`](#operator)
58
58
  - [`ConditionValue`](#conditionvalue)
59
59
  - [`ScalarValue`](#scalarvalue)
60
+ - [`EnvironmentValue`](#environmentvalue)
61
+ - [`ExternalValue`](#externalvalue)
60
62
  - [`StaticValue`](#staticvalue)
61
63
  - [`ContextValue`](#contextvalue)
62
64
  - [`ValueAdjustment`](#valueadjustment)
@@ -1670,8 +1672,8 @@ type NumericFactCondition = {
1670
1672
  ### `ComparisonRuleType`
1671
1673
 
1672
1674
  Declarative validation rule (schema version v2). Supports predefined comparison operators
1673
- over number, date and text inputs, with static, dynamic (context path) and relative-date
1674
- comparison values.
1675
+ over number, date and text inputs, with static, dynamic (context path), relative-date and
1676
+ external (app-provided) comparison values.
1675
1677
 
1676
1678
 
1677
1679
  ```ts
@@ -1692,6 +1694,16 @@ type ComparisonRuleType = {
1692
1694
  offset: { ... }
1693
1695
  unit: { ... }
1694
1696
  anchor?: { ... }
1697
+ } | {
1698
+ source: { ... }
1699
+ key: { ... }
1700
+ adjust?: { ... }
1701
+ } | {
1702
+ source: { ... }
1703
+ app_id: { ... }
1704
+ hook_id: { ... }
1705
+ result_id: { ... }
1706
+ adjust?: { ... }
1695
1707
  } | {
1696
1708
  source: { ... }
1697
1709
  min: { ... }
@@ -1735,6 +1747,26 @@ type Condition = {
1735
1747
  offset: number
1736
1748
  unit: "days" | "months" | "years"
1737
1749
  anchor?: "today"
1750
+ } | {
1751
+ source: "environment"
1752
+ key: string
1753
+ adjust?: {
1754
+ type: { ... }
1755
+ value: { ... }
1756
+ direction: { ... }
1757
+ rounding?: { ... }
1758
+ }
1759
+ } | {
1760
+ source: "external"
1761
+ app_id: string
1762
+ hook_id: string
1763
+ result_id: string
1764
+ adjust?: {
1765
+ type: { ... }
1766
+ value: { ... }
1767
+ direction: { ... }
1768
+ rounding?: { ... }
1769
+ }
1738
1770
  } | {
1739
1771
  source: "range"
1740
1772
  min: {
@@ -1749,6 +1781,16 @@ type Condition = {
1749
1781
  offset: { ... }
1750
1782
  unit: { ... }
1751
1783
  anchor?: { ... }
1784
+ } | {
1785
+ source: { ... }
1786
+ key: { ... }
1787
+ adjust?: { ... }
1788
+ } | {
1789
+ source: { ... }
1790
+ app_id: { ... }
1791
+ hook_id: { ... }
1792
+ result_id: { ... }
1793
+ adjust?: { ... }
1752
1794
  }
1753
1795
  max: {
1754
1796
  source: { ... }
@@ -1762,6 +1804,16 @@ type Condition = {
1762
1804
  offset: { ... }
1763
1805
  unit: { ... }
1764
1806
  anchor?: { ... }
1807
+ } | {
1808
+ source: { ... }
1809
+ key: { ... }
1810
+ adjust?: { ... }
1811
+ } | {
1812
+ source: { ... }
1813
+ app_id: { ... }
1814
+ hook_id: { ... }
1815
+ result_id: { ... }
1816
+ adjust?: { ... }
1765
1817
  }
1766
1818
  } | {
1767
1819
  source: "none"
@@ -1770,9 +1822,12 @@ type Condition = {
1770
1822
  applies_when?: {
1771
1823
  path: string
1772
1824
  operator: "equal" | "notEqual" | "greaterThan" | "greaterThanInclusive" | "lessThan" | "lessThanInclusive" | "isEmpty" | "isNotEmpty"
1773
- value?: number | string | boolean
1774
- }
1775
- allow_failure?: boolean
1825
+ value?: number | string | boolean | {
1826
+ source: { ... }
1827
+ key: { ... }
1828
+ adjust?: { ... }
1829
+ }
1830
+ // ...
1776
1831
  }
1777
1832
  ```
1778
1833
 
@@ -1804,6 +1859,10 @@ type ConditionValue = {
1804
1859
  source: { ... }
1805
1860
  path: { ... }
1806
1861
  adjust?: { ... }
1862
+ } | {
1863
+ source: { ... }
1864
+ key: { ... }
1865
+ adjust?: { ... }
1807
1866
  }
1808
1867
  direction: "increase" | "decrease"
1809
1868
  rounding?: "up" | "down"
@@ -1813,6 +1872,42 @@ type ConditionValue = {
1813
1872
  offset: number
1814
1873
  unit: "days" | "months" | "years"
1815
1874
  anchor?: "today"
1875
+ } | {
1876
+ source: "environment"
1877
+ key: string
1878
+ adjust?: {
1879
+ type: "percent" | "absolute"
1880
+ value: number | {
1881
+ source: { ... }
1882
+ path: { ... }
1883
+ adjust?: { ... }
1884
+ } | {
1885
+ source: { ... }
1886
+ key: { ... }
1887
+ adjust?: { ... }
1888
+ }
1889
+ direction: "increase" | "decrease"
1890
+ rounding?: "up" | "down"
1891
+ }
1892
+ } | {
1893
+ source: "external"
1894
+ app_id: string
1895
+ hook_id: string
1896
+ result_id: string
1897
+ adjust?: {
1898
+ type: "percent" | "absolute"
1899
+ value: number | {
1900
+ source: { ... }
1901
+ path: { ... }
1902
+ adjust?: { ... }
1903
+ } | {
1904
+ source: { ... }
1905
+ key: { ... }
1906
+ adjust?: { ... }
1907
+ }
1908
+ direction: "increase" | "decrease"
1909
+ rounding?: "up" | "down"
1910
+ }
1816
1911
  } | {
1817
1912
  source: "range"
1818
1913
  min: {
@@ -1832,13 +1927,9 @@ type ConditionValue = {
1832
1927
  offset: number
1833
1928
  unit: "days" | "months" | "years"
1834
1929
  anchor?: "today"
1835
- }
1836
- max: {
1837
- source: "static"
1838
- data: number | string | boolean
1839
1930
  } | {
1840
- source: "context"
1841
- path: string
1931
+ source: "environment"
1932
+ key: string
1842
1933
  adjust?: {
1843
1934
  type: { ... }
1844
1935
  value: { ... }
@@ -1846,19 +1937,23 @@ type ConditionValue = {
1846
1937
  rounding?: { ... }
1847
1938
  }
1848
1939
  } | {
1849
- source: "relative_date"
1850
- offset: number
1851
- unit: "days" | "months" | "years"
1852
- anchor?: "today"
1853
- }
1854
- } | {
1855
- source: "none"
1940
+ source: "external"
1941
+ app_id: string
1942
+ hook_id: string
1943
+ result_id: string
1944
+ adjust?: {
1945
+ type: { ... }
1946
+ value: { ... }
1947
+ direction: { ... }
1948
+ rounding?: { ... }
1949
+ }
1950
+ // ...
1856
1951
  }
1857
1952
  ```
1858
1953
 
1859
1954
  ### `ScalarValue`
1860
1955
 
1861
- A single comparison value - static, resolved from context, or a relative date.
1956
+ A single comparison value - static, resolved from context, a relative date, an organisation environment variable, or an external value.
1862
1957
 
1863
1958
  ```ts
1864
1959
  type ScalarValue = {
@@ -1873,6 +1968,10 @@ type ScalarValue = {
1873
1968
  source: { ... }
1874
1969
  path: { ... }
1875
1970
  adjust?: { ... }
1971
+ } | {
1972
+ source: { ... }
1973
+ key: { ... }
1974
+ adjust?: { ... }
1876
1975
  }
1877
1976
  direction: "increase" | "decrease"
1878
1977
  rounding?: "up" | "down"
@@ -1882,6 +1981,102 @@ type ScalarValue = {
1882
1981
  offset: number
1883
1982
  unit: "days" | "months" | "years"
1884
1983
  anchor?: "today"
1984
+ } | {
1985
+ source: "environment"
1986
+ key: string
1987
+ adjust?: {
1988
+ type: "percent" | "absolute"
1989
+ value: number | {
1990
+ source: { ... }
1991
+ path: { ... }
1992
+ adjust?: { ... }
1993
+ } | {
1994
+ source: { ... }
1995
+ key: { ... }
1996
+ adjust?: { ... }
1997
+ }
1998
+ direction: "increase" | "decrease"
1999
+ rounding?: "up" | "down"
2000
+ }
2001
+ } | {
2002
+ source: "external"
2003
+ app_id: string
2004
+ hook_id: string
2005
+ result_id: string
2006
+ adjust?: {
2007
+ type: "percent" | "absolute"
2008
+ value: number | {
2009
+ source: { ... }
2010
+ path: { ... }
2011
+ adjust?: { ... }
2012
+ } | {
2013
+ source: { ... }
2014
+ key: { ... }
2015
+ adjust?: { ... }
2016
+ }
2017
+ direction: "increase" | "decrease"
2018
+ rounding?: "up" | "down"
2019
+ }
2020
+ }
2021
+ ```
2022
+
2023
+ ### `EnvironmentValue`
2024
+
2025
+ A comparison value resolved at evaluation time from an organisation environment variable
2026
+ (environments-api). The rule stores the key, never the value, so one change to the variable
2027
+ reaches every rule that references it and a blueprint install never overwrites the
2028
+ organisation's own value.
2029
+
2030
+ Only brow
2031
+
2032
+ ```ts
2033
+ type EnvironmentValue = {
2034
+ source: "environment"
2035
+ key: string
2036
+ adjust?: {
2037
+ type: "percent" | "absolute"
2038
+ value: number | {
2039
+ source: { ... }
2040
+ path: { ... }
2041
+ adjust?: { ... }
2042
+ } | {
2043
+ source: { ... }
2044
+ key: { ... }
2045
+ adjust?: { ... }
2046
+ }
2047
+ direction: "increase" | "decrease"
2048
+ rounding?: "up" | "down"
2049
+ }
2050
+ }
2051
+ ```
2052
+
2053
+ ### `ExternalValue`
2054
+
2055
+ A comparison value produced at evaluation time by an External Values hook of an installed
2056
+ app (component type `EXTERNAL_VALUES`). The rule stores the reference only; the value is
2057
+ resolved server-side by the external-values-api, which executes the hook's HTTP call with
2058
+ the app's credentials and retur
2059
+
2060
+ ```ts
2061
+ type ExternalValue = {
2062
+ source: "external"
2063
+ app_id: string
2064
+ hook_id: string
2065
+ result_id: string
2066
+ adjust?: {
2067
+ type: "percent" | "absolute"
2068
+ value: number | {
2069
+ source: { ... }
2070
+ path: { ... }
2071
+ adjust?: { ... }
2072
+ } | {
2073
+ source: { ... }
2074
+ key: { ... }
2075
+ adjust?: { ... }
2076
+ }
2077
+ direction: "increase" | "decrease"
2078
+ rounding?: "up" | "down"
2079
+ }
1885
2080
  }
1886
2081
  ```
1887
2082
 
@@ -1913,6 +2108,10 @@ type ContextValue = {
1913
2108
  source: { ... }
1914
2109
  path: { ... }
1915
2110
  adjust?: { ... }
2111
+ } | {
2112
+ source: { ... }
2113
+ key: { ... }
2114
+ adjust?: { ... }
1916
2115
  }
1917
2116
  direction: "increase" | "decrease"
1918
2117
  rounding?: "up" | "down"
@@ -1938,6 +2137,15 @@ type ValueAdjustment = {
1938
2137
  direction: { ... }
1939
2138
  rounding?: { ... }
1940
2139
  }
2140
+ } | {
2141
+ source: "environment"
2142
+ key: string
2143
+ adjust?: {
2144
+ type: { ... }
2145
+ value: { ... }
2146
+ direction: { ... }
2147
+ rounding?: { ... }
2148
+ }
1941
2149
  }
1942
2150
  direction: "increase" | "decrease"
1943
2151
  rounding?: "up" | "down"
@@ -1981,6 +2189,26 @@ type RangeValue = {
1981
2189
  offset: number
1982
2190
  unit: "days" | "months" | "years"
1983
2191
  anchor?: "today"
2192
+ } | {
2193
+ source: "environment"
2194
+ key: string
2195
+ adjust?: {
2196
+ type: { ... }
2197
+ value: { ... }
2198
+ direction: { ... }
2199
+ rounding?: { ... }
2200
+ }
2201
+ } | {
2202
+ source: "external"
2203
+ app_id: string
2204
+ hook_id: string
2205
+ result_id: string
2206
+ adjust?: {
2207
+ type: { ... }
2208
+ value: { ... }
2209
+ direction: { ... }
2210
+ rounding?: { ... }
2211
+ }
1984
2212
  }
1985
2213
  max: {
1986
2214
  source: "static"
@@ -1999,6 +2227,26 @@ type RangeValue = {
1999
2227
  offset: number
2000
2228
  unit: "days" | "months" | "years"
2001
2229
  anchor?: "today"
2230
+ } | {
2231
+ source: "environment"
2232
+ key: string
2233
+ adjust?: {
2234
+ type: { ... }
2235
+ value: { ... }
2236
+ direction: { ... }
2237
+ rounding?: { ... }
2238
+ }
2239
+ } | {
2240
+ source: "external"
2241
+ app_id: string
2242
+ hook_id: string
2243
+ result_id: string
2244
+ adjust?: {
2245
+ type: { ... }
2246
+ value: { ... }
2247
+ direction: { ... }
2248
+ rounding?: { ... }
2249
+ }
2002
2250
  }
2003
2251
  }
2004
2252
  ```
@@ -2025,7 +2273,16 @@ plausibility check only when a context value reaches a threshold.
2025
2273
  type AppliesWhen = {
2026
2274
  path: string
2027
2275
  operator: "equal" | "notEqual" | "greaterThan" | "greaterThanInclusive" | "lessThan" | "lessThanInclusive" | "isEmpty" | "isNotEmpty"
2028
- value?: number | string | boolean
2276
+ value?: number | string | boolean | {
2277
+ source: "environment"
2278
+ key: string
2279
+ adjust?: {
2280
+ type: { ... }
2281
+ value: { ... }
2282
+ direction: { ... }
2283
+ rounding?: { ... }
2284
+ }
2285
+ }
2029
2286
  }
2030
2287
  ```
2031
2288
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/sdk",
3
- "version": "2.19.13",
3
+ "version": "2.20.1",
4
4
  "description": "JavaScript/TypeScript SDK for epilot APIs",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",