@trigger.dev/core
Advanced tools
Comparing version 0.0.0-isomorphic-sdk-20230918150523 to 0.0.0-isomorphic-sdk-20230918151405
@@ -173,2 +173,3 @@ "use strict"; | ||
// src/logger.ts | ||
var import_node_buffer = require("buffer"); | ||
var logLevels = [ | ||
@@ -307,3 +308,3 @@ "log", | ||
} | ||
const sizeInBytes = Buffer.byteLength(JSON.stringify(value), "utf8"); | ||
const sizeInBytes = import_node_buffer.Buffer.byteLength(JSON.stringify(value), "utf8"); | ||
if (sizeInBytes < 1024) { | ||
@@ -705,3 +706,3 @@ return `${sizeInBytes} bytes`; | ||
headers: import_zod9.z.record(import_zod9.z.string()), | ||
rawBody: import_zod9.z.instanceof(Buffer).optional().nullable() | ||
rawBody: import_zod9.z.instanceof(Uint8Array).optional().nullable() | ||
}); | ||
@@ -1573,2 +1574,128 @@ var HttpSourceRequestHeadersSchema = import_zod9.z.object({ | ||
__name(contentFilterMatches, "contentFilterMatches"); | ||
// Annotate the CommonJS export names for ESM import in node: | ||
0 && (module.exports = { | ||
ApiEventLogSchema, | ||
CachedTaskSchema, | ||
CommonMissingConnectionNotificationPayloadSchema, | ||
CommonMissingConnectionNotificationResolvedPayloadSchema, | ||
CompleteTaskBodyInputSchema, | ||
ConnectionAuthSchema, | ||
CreateExternalConnectionBodySchema, | ||
CreateRunResponseBodySchema, | ||
CronMetadataSchema, | ||
CronOptionsSchema, | ||
DeliverEventResponseSchema, | ||
DeserializedJsonSchema, | ||
DisplayPropertiesSchema, | ||
DisplayPropertySchema, | ||
DynamicTriggerEndpointMetadataSchema, | ||
DynamicTriggerMetadataSchema, | ||
ErrorWithStackSchema, | ||
EventExampleSchema, | ||
EventFilterSchema, | ||
EventRuleSchema, | ||
EventSpecificationSchema, | ||
FailTaskBodyInputSchema, | ||
FetchOperationSchema, | ||
FetchRequestInitSchema, | ||
FetchRetryBackoffStrategySchema, | ||
FetchRetryHeadersStrategySchema, | ||
FetchRetryOptionsSchema, | ||
FetchRetryStrategySchema, | ||
GetEventSchema, | ||
GetRunSchema, | ||
GetRunsSchema, | ||
HandleTriggerSourceSchema, | ||
HttpSourceRequestHeadersSchema, | ||
HttpSourceRequestSchema, | ||
HttpSourceResponseSchema, | ||
IndexEndpointResponseSchema, | ||
InitializeCronScheduleBodySchema, | ||
InitializeTriggerBodySchema, | ||
IntegrationConfigSchema, | ||
IntegrationMetadataSchema, | ||
IntervalMetadataSchema, | ||
IntervalOptionsSchema, | ||
JobMetadataSchema, | ||
LogMessageSchema, | ||
Logger, | ||
MISSING_CONNECTION_NOTIFICATION, | ||
MISSING_CONNECTION_RESOLVED_NOTIFICATION, | ||
MissingConnectionNotificationPayloadSchema, | ||
MissingConnectionResolvedNotificationPayloadSchema, | ||
MissingDeveloperConnectionNotificationPayloadSchema, | ||
MissingDeveloperConnectionResolvedNotificationPayloadSchema, | ||
MissingExternalConnectionNotificationPayloadSchema, | ||
MissingExternalConnectionResolvedNotificationPayloadSchema, | ||
NormalizedRequestSchema, | ||
NormalizedResponseSchema, | ||
PongErrorResponseSchema, | ||
PongResponseSchema, | ||
PongSuccessResponseSchema, | ||
PreprocessRunBodySchema, | ||
PreprocessRunResponseSchema, | ||
QueueOptionsSchema, | ||
REGISTER_SOURCE_EVENT_V1, | ||
REGISTER_SOURCE_EVENT_V2, | ||
RawEventSchema, | ||
RedactSchema, | ||
RedactStringSchema, | ||
RegisterDynamicSchedulePayloadSchema, | ||
RegisterHTTPTriggerSourceBodySchema, | ||
RegisterIntervalScheduleBodySchema, | ||
RegisterSMTPTriggerSourceBodySchema, | ||
RegisterSQSTriggerSourceBodySchema, | ||
RegisterScheduleBodySchema, | ||
RegisterScheduleResponseBodySchema, | ||
RegisterSourceChannelBodySchema, | ||
RegisterSourceEventSchemaV1, | ||
RegisterSourceEventSchemaV2, | ||
RegisterTriggerBodySchemaV1, | ||
RegisterTriggerBodySchemaV2, | ||
RegisterTriggerSourceSchema, | ||
RetryOptionsSchema, | ||
RunJobBodySchema, | ||
RunJobCanceledWithTaskSchema, | ||
RunJobErrorSchema, | ||
RunJobResponseSchema, | ||
RunJobResumeWithTaskSchema, | ||
RunJobRetryWithTaskSchema, | ||
RunJobSuccessSchema, | ||
RunSourceContextSchema, | ||
RunStatusSchema, | ||
RunTaskBodyInputSchema, | ||
RunTaskBodyOutputSchema, | ||
RunTaskOptionsSchema, | ||
RunTaskSchema, | ||
RuntimeEnvironmentTypeSchema, | ||
SCHEDULED_EVENT, | ||
ScheduleMetadataSchema, | ||
ScheduledPayloadSchema, | ||
ScheduledTriggerMetadataSchema, | ||
SendEventBodySchema, | ||
SendEventOptionsSchema, | ||
SerializableJsonSchema, | ||
ServerTaskSchema, | ||
SourceMetadataV2Schema, | ||
StaticTriggerMetadataSchema, | ||
StyleSchema, | ||
TaskSchema, | ||
TaskStatusSchema, | ||
TriggerMetadataSchema, | ||
TriggerSourceSchema, | ||
UpdateTriggerSourceBodyV1Schema, | ||
UpdateTriggerSourceBodyV2Schema, | ||
ValidateErrorResponseSchema, | ||
ValidateResponseSchema, | ||
ValidateSuccessResponseSchema, | ||
addMissingVersionField, | ||
calculateRetryAt, | ||
currentDate, | ||
currentTimestampMilliseconds, | ||
currentTimestampSeconds, | ||
deepMergeFilters, | ||
eventFilterMatches, | ||
replacements, | ||
urlWithSearchParams | ||
}); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@trigger.dev/core", | ||
"version": "0.0.0-isomorphic-sdk-20230918150523", | ||
"version": "0.0.0-isomorphic-sdk-20230918151405", | ||
"description": "Core code used across the Trigger.dev SDK and platform", | ||
@@ -33,3 +33,3 @@ "license": "MIT", | ||
"ts-jest": "^29.1.1", | ||
"tsup": "^7.1.0", | ||
"tsup": "^7.2.0", | ||
"typescript": "^4.9.4", | ||
@@ -36,0 +36,0 @@ "@trigger.dev/tsconfig": "0.0.0" |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
462901
10765