@xyo-network/react-error 2.81.8 → 2.81.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. package/dist/browser/components/ErrorBoundary/ThrownErrorBoundary.d.cts +1 -0
  2. package/dist/browser/components/ErrorBoundary/ThrownErrorBoundary.d.cts.map +1 -1
  3. package/dist/browser/components/ErrorBoundary/ThrownErrorBoundary.d.mts +1 -0
  4. package/dist/browser/components/ErrorBoundary/ThrownErrorBoundary.d.mts.map +1 -1
  5. package/dist/browser/components/ErrorBoundary/ThrownErrorBoundary.d.ts +1 -0
  6. package/dist/browser/components/ErrorBoundary/ThrownErrorBoundary.d.ts.map +1 -1
  7. package/dist/browser/components/ErrorRender/ErrorAlert.d.cts +1 -0
  8. package/dist/browser/components/ErrorRender/ErrorAlert.d.cts.map +1 -1
  9. package/dist/browser/components/ErrorRender/ErrorAlert.d.mts +1 -0
  10. package/dist/browser/components/ErrorRender/ErrorAlert.d.mts.map +1 -1
  11. package/dist/browser/components/ErrorRender/ErrorAlert.d.ts +1 -0
  12. package/dist/browser/components/ErrorRender/ErrorAlert.d.ts.map +1 -1
  13. package/dist/browser/components/ErrorRender/Props.d.cts +1 -0
  14. package/dist/browser/components/ErrorRender/Props.d.cts.map +1 -1
  15. package/dist/browser/components/ErrorRender/Props.d.mts +1 -0
  16. package/dist/browser/components/ErrorRender/Props.d.mts.map +1 -1
  17. package/dist/browser/components/ErrorRender/Props.d.ts +1 -0
  18. package/dist/browser/components/ErrorRender/Props.d.ts.map +1 -1
  19. package/dist/browser/components/ErrorRender/Render.d.cts.map +1 -1
  20. package/dist/browser/components/ErrorRender/Render.d.mts.map +1 -1
  21. package/dist/browser/components/ErrorRender/Render.d.ts.map +1 -1
  22. package/dist/browser/index.cjs +9 -4
  23. package/dist/browser/index.cjs.map +1 -1
  24. package/dist/browser/index.js +11 -6
  25. package/dist/browser/index.js.map +1 -1
  26. package/dist/neutral/components/ErrorBoundary/ThrownErrorBoundary.d.cts +1 -0
  27. package/dist/neutral/components/ErrorBoundary/ThrownErrorBoundary.d.cts.map +1 -1
  28. package/dist/neutral/components/ErrorBoundary/ThrownErrorBoundary.d.mts +1 -0
  29. package/dist/neutral/components/ErrorBoundary/ThrownErrorBoundary.d.mts.map +1 -1
  30. package/dist/neutral/components/ErrorBoundary/ThrownErrorBoundary.d.ts +1 -0
  31. package/dist/neutral/components/ErrorBoundary/ThrownErrorBoundary.d.ts.map +1 -1
  32. package/dist/neutral/components/ErrorRender/ErrorAlert.d.cts +1 -0
  33. package/dist/neutral/components/ErrorRender/ErrorAlert.d.cts.map +1 -1
  34. package/dist/neutral/components/ErrorRender/ErrorAlert.d.mts +1 -0
  35. package/dist/neutral/components/ErrorRender/ErrorAlert.d.mts.map +1 -1
  36. package/dist/neutral/components/ErrorRender/ErrorAlert.d.ts +1 -0
  37. package/dist/neutral/components/ErrorRender/ErrorAlert.d.ts.map +1 -1
  38. package/dist/neutral/components/ErrorRender/Props.d.cts +1 -0
  39. package/dist/neutral/components/ErrorRender/Props.d.cts.map +1 -1
  40. package/dist/neutral/components/ErrorRender/Props.d.mts +1 -0
  41. package/dist/neutral/components/ErrorRender/Props.d.mts.map +1 -1
  42. package/dist/neutral/components/ErrorRender/Props.d.ts +1 -0
  43. package/dist/neutral/components/ErrorRender/Props.d.ts.map +1 -1
  44. package/dist/neutral/components/ErrorRender/Render.d.cts.map +1 -1
  45. package/dist/neutral/components/ErrorRender/Render.d.mts.map +1 -1
  46. package/dist/neutral/components/ErrorRender/Render.d.ts.map +1 -1
  47. package/dist/neutral/index.cjs +9 -4
  48. package/dist/neutral/index.cjs.map +1 -1
  49. package/dist/neutral/index.js +11 -6
  50. package/dist/neutral/index.js.map +1 -1
  51. package/dist/node/components/ErrorBoundary/ThrownErrorBoundary.d.cts +1 -0
  52. package/dist/node/components/ErrorBoundary/ThrownErrorBoundary.d.cts.map +1 -1
  53. package/dist/node/components/ErrorBoundary/ThrownErrorBoundary.d.mts +1 -0
  54. package/dist/node/components/ErrorBoundary/ThrownErrorBoundary.d.mts.map +1 -1
  55. package/dist/node/components/ErrorBoundary/ThrownErrorBoundary.d.ts +1 -0
  56. package/dist/node/components/ErrorBoundary/ThrownErrorBoundary.d.ts.map +1 -1
  57. package/dist/node/components/ErrorRender/ErrorAlert.d.cts +1 -0
  58. package/dist/node/components/ErrorRender/ErrorAlert.d.cts.map +1 -1
  59. package/dist/node/components/ErrorRender/ErrorAlert.d.mts +1 -0
  60. package/dist/node/components/ErrorRender/ErrorAlert.d.mts.map +1 -1
  61. package/dist/node/components/ErrorRender/ErrorAlert.d.ts +1 -0
  62. package/dist/node/components/ErrorRender/ErrorAlert.d.ts.map +1 -1
  63. package/dist/node/components/ErrorRender/Props.d.cts +1 -0
  64. package/dist/node/components/ErrorRender/Props.d.cts.map +1 -1
  65. package/dist/node/components/ErrorRender/Props.d.mts +1 -0
  66. package/dist/node/components/ErrorRender/Props.d.mts.map +1 -1
  67. package/dist/node/components/ErrorRender/Props.d.ts +1 -0
  68. package/dist/node/components/ErrorRender/Props.d.ts.map +1 -1
  69. package/dist/node/components/ErrorRender/Render.d.cts.map +1 -1
  70. package/dist/node/components/ErrorRender/Render.d.mts.map +1 -1
  71. package/dist/node/components/ErrorRender/Render.d.ts.map +1 -1
  72. package/dist/node/index.cjs +9 -4
  73. package/dist/node/index.cjs.map +1 -1
  74. package/dist/node/index.js +11 -6
  75. package/dist/node/index.js.map +1 -1
  76. package/package.json +1 -1
  77. package/src/components/ErrorBoundary/ThrownErrorBoundary.tsx +3 -2
  78. package/src/components/ErrorRender/ErrorAlert.tsx +10 -1
  79. package/src/components/ErrorRender/Props.ts +1 -0
  80. package/src/components/ErrorRender/Render.tsx +2 -1
@@ -11,6 +11,7 @@ export const ErrorRender: React.FC<ErrorRenderProps> = ({
11
11
  customError = null,
12
12
  children,
13
13
  errorContext,
14
+ scope,
14
15
  useLocation,
15
16
  ...props
16
17
  }) => {
@@ -31,7 +32,7 @@ export const ErrorRender: React.FC<ErrorRenderProps> = ({
31
32
  {noErrorDisplay ?
32
33
  customError
33
34
  : <FlexCol alignItems="center" {...props}>
34
- <ErrorAlert error={error} errorContext={errorContext} onCancel={onCancel} />
35
+ <ErrorAlert error={error} errorContext={errorContext} onCancel={onCancel} scope={scope} />
35
36
  </FlexCol>
36
37
  }
37
38
  </FlexCol>