mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-04 21:04:37 +08:00
updated svix
This commit is contained in:
parent
703e6ea01d
commit
f4d14bd042
@ -53,7 +53,8 @@
|
||||
"remark-heading-id": "^1.0.1",
|
||||
"remark-math": "^6",
|
||||
"server-only": "^0.0.1",
|
||||
"svix-react": "^1.11.0",
|
||||
"svix": "^1.32.0",
|
||||
"svix-react": "^1.13.0",
|
||||
"tailwind-merge": "^2.3.0",
|
||||
"tailwindcss-animate": "^1.0.7",
|
||||
"yup": "^1.4.0"
|
||||
|
||||
@ -4,8 +4,8 @@ import { SettingCard, SettingSwitch } from "@/components/settings";
|
||||
import { runAsynchronously } from "@stackframe/stack-shared/dist/utils/promises";
|
||||
import { Alert, Badge, Button, Checkbox, CopyButton, Label, Table, TableBody, TableCell, TableHead, TableHeader, TableRow, Typography } from "@stackframe/stack-ui";
|
||||
import { ChevronLeft, ChevronRight } from "lucide-react";
|
||||
import { useMemo, useState } from "react";
|
||||
import { SvixProvider, useEndpoint, useEndpointFunctions, useEndpointMessageAttempts, useEndpointSecret } from "svix-react";
|
||||
import { useEffect, useMemo, useState } from "react";
|
||||
import { SvixProvider, useEndpoint, useEndpointFunctions, useEndpointMessageAttempts, useEndpointSecret, useSvix } from "svix-react";
|
||||
import { PageLayout } from "../../page-layout";
|
||||
import { useAdminApp } from "../../use-admin-app";
|
||||
import { getSvixResult } from "../utils";
|
||||
@ -26,10 +26,6 @@ function PageInner(props: { endpointId: string }) {
|
||||
<EndpointDetails endpointId={props.endpointId} />
|
||||
</SettingCard>
|
||||
|
||||
{/* <SettingCard title="Filters" description="Filter the events that are sent to this endpoint">
|
||||
<FilterEvents endpointId={props.endpointId} />
|
||||
</SettingCard> */}
|
||||
|
||||
<SettingCard title="Events History" description="The log of events sent to this endpoint">
|
||||
<MessageTable endpointId={props.endpointId} />
|
||||
</SettingCard>
|
||||
@ -132,7 +128,7 @@ function FilterEvents(props: { endpointId: string }) {
|
||||
|
||||
|
||||
function MessageTable(props: { endpointId: string }) {
|
||||
const messages = getSvixResult(useEndpointMessageAttempts(props.endpointId, { limit: 10 }));
|
||||
const messages = getSvixResult(useEndpointMessageAttempts(props.endpointId, { limit: 10, withMsg: true }));
|
||||
|
||||
if (!messages.loaded) return messages.rendered;
|
||||
|
||||
|
||||
@ -282,9 +282,12 @@ importers:
|
||||
server-only:
|
||||
specifier: ^0.0.1
|
||||
version: 0.0.1
|
||||
svix:
|
||||
specifier: ^1.32.0
|
||||
version: 1.32.0
|
||||
svix-react:
|
||||
specifier: ^1.11.0
|
||||
version: 1.11.0(@babel/core@7.24.7)(prop-types@15.8.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(svix@1.25.0)
|
||||
specifier: ^1.13.0
|
||||
version: 1.13.0(@babel/core@7.24.7)(prop-types@15.8.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(svix@1.32.0)
|
||||
tailwind-merge:
|
||||
specifier: ^2.3.0
|
||||
version: 2.3.0
|
||||
@ -7939,16 +7942,19 @@ packages:
|
||||
svix-fetch@3.0.0:
|
||||
resolution: {integrity: sha512-rcADxEFhSqHbraZIsjyZNh4TF6V+koloX1OzZ+AQuObX9mZ2LIMhm1buZeuc5BIZPftZpJCMBsSiBaeszo9tRw==}
|
||||
|
||||
svix-react@1.11.0:
|
||||
resolution: {integrity: sha512-d3ak4Jp8TdoZUSfKVHnYq/tV5NdvzuO8VAtmR0/b65N+DWlbuV4p1QWOBfV+q2M9l5yTju7d8q8zkS/vTnd+mQ==}
|
||||
svix-react@1.13.0:
|
||||
resolution: {integrity: sha512-dSgosV47M67MdDHSaUIj9WULFZWVCKAfJ7OqaqSVQSpS47UInlOpLfmRAw+T2o+An6KHTQazX1rvdTiAGAZlBA==}
|
||||
peerDependencies:
|
||||
react: '>=17'
|
||||
react-dom: '>=17'
|
||||
svix: '>=0.70.0'
|
||||
svix: '>=1.26.0'
|
||||
|
||||
svix@1.25.0:
|
||||
resolution: {integrity: sha512-uW9xnwLqxfiUGwoWphKfthnymp7m14D4tdl1S+7MrH6A++ov/E3ONqLKS/6okOarMre64twxMbsg/QlT0PpnLA==}
|
||||
|
||||
svix@1.32.0:
|
||||
resolution: {integrity: sha512-jVGsyQlqXoypkQRp+4Qsp/WSDB6liSa45I03EGIhbEQrqsnVMb2I1Pu9ujFRUJ4rhwTUfpfnNKtwd6eM/YmFaw==}
|
||||
|
||||
symbol-tree@3.2.4:
|
||||
resolution: {integrity: sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==}
|
||||
|
||||
@ -8772,7 +8778,7 @@ snapshots:
|
||||
|
||||
'@babel/helper-annotate-as-pure@7.24.7':
|
||||
dependencies:
|
||||
'@babel/types': 7.24.7
|
||||
'@babel/types': 7.25.0
|
||||
|
||||
'@babel/helper-compilation-targets@7.24.7':
|
||||
dependencies:
|
||||
@ -8846,7 +8852,7 @@ snapshots:
|
||||
|
||||
'@babel/helper-optimise-call-expression@7.24.7':
|
||||
dependencies:
|
||||
'@babel/types': 7.24.7
|
||||
'@babel/types': 7.25.0
|
||||
|
||||
'@babel/helper-plugin-utils@7.24.7': {}
|
||||
|
||||
@ -8871,7 +8877,7 @@ snapshots:
|
||||
'@babel/helper-skip-transparent-expression-wrappers@7.24.7':
|
||||
dependencies:
|
||||
'@babel/traverse': 7.25.0
|
||||
'@babel/types': 7.24.7
|
||||
'@babel/types': 7.25.0
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
@ -8912,7 +8918,7 @@ snapshots:
|
||||
'@babel/core': 7.24.7
|
||||
'@babel/helper-annotate-as-pure': 7.24.7
|
||||
'@babel/helper-create-class-features-plugin': 7.25.0(@babel/core@7.24.7)
|
||||
'@babel/helper-plugin-utils': 7.24.7
|
||||
'@babel/helper-plugin-utils': 7.24.8
|
||||
'@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.24.7)
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
@ -8920,7 +8926,7 @@ snapshots:
|
||||
'@babel/plugin-syntax-private-property-in-object@7.14.5(@babel/core@7.24.7)':
|
||||
dependencies:
|
||||
'@babel/core': 7.24.7
|
||||
'@babel/helper-plugin-utils': 7.24.7
|
||||
'@babel/helper-plugin-utils': 7.24.8
|
||||
|
||||
'@babel/plugin-transform-react-jsx-self@7.24.7(@babel/core@7.24.7)':
|
||||
dependencies:
|
||||
@ -16937,12 +16943,12 @@ snapshots:
|
||||
transitivePeerDependencies:
|
||||
- encoding
|
||||
|
||||
svix-react@1.11.0(@babel/core@7.24.7)(prop-types@15.8.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(svix@1.25.0):
|
||||
svix-react@1.13.0(@babel/core@7.24.7)(prop-types@15.8.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(svix@1.32.0):
|
||||
dependencies:
|
||||
iframe-resizer-react: 1.1.1(@babel/core@7.24.7)(prop-types@15.8.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
|
||||
react: 18.3.1
|
||||
react-dom: 18.3.1(react@18.3.1)
|
||||
svix: 1.25.0
|
||||
svix: 1.32.0
|
||||
transitivePeerDependencies:
|
||||
- '@babel/core'
|
||||
- prop-types
|
||||
@ -16958,6 +16964,16 @@ snapshots:
|
||||
transitivePeerDependencies:
|
||||
- encoding
|
||||
|
||||
svix@1.32.0:
|
||||
dependencies:
|
||||
'@stablelib/base64': 1.0.1
|
||||
es6-promise: 4.2.8
|
||||
fast-sha256: 1.3.0
|
||||
svix-fetch: 3.0.0
|
||||
url-parse: 1.5.10
|
||||
transitivePeerDependencies:
|
||||
- encoding
|
||||
|
||||
symbol-tree@3.2.4: {}
|
||||
|
||||
tailwind-merge@2.2.0:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user