-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: setup new EdgeWorker SDK with cloud and local bucketing #566
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Current dependencies on/for this PR:
This comment was auto-generated by Graphite. |
db69e01
to
9c52d97
Compare
b17a73e
to
20f66d9
Compare
f024a01
to
235f361
Compare
cd30000
to
16d5c3b
Compare
export const EVENT_URL = 'https://events' | ||
export const EVENTS_PATH = '/v1/events/batch' | ||
|
||
export async function publishEvents( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
moving common event publishing route to the shared lib.
@@ -135,33 +135,6 @@ export interface DVCVariableInterface { | |||
readonly evalReason?: unknown | |||
} | |||
|
|||
export interface DevCycleEvent { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
move to request lib where it is used
import { publishEvents } from './request' | ||
import { DevCycleEvent, DVCPopulatedUser } from '@devcycle/js-cloud-server-sdk' | ||
|
||
export const AggregateEventTypes: Record<string, string> = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
move to common place in request lib.
export const EVENT_URL = 'https://events' | ||
export const EVENTS_PATH = '/v1/events/batch' | ||
|
||
export async function publishEvents( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
moved to request lib
e64838d
to
0bcc9be
Compare
360398a
to
edfe8fa
Compare
0bcc9be
to
d0a96cc
Compare
edfe8fa
to
436dcc7
Compare
d0a96cc
to
ecd39f0
Compare
No description provided.