Skip to content

Commit

Permalink
ensure removal is clean
Browse files Browse the repository at this point in the history
  • Loading branch information
blaine-arcjet committed Jan 14, 2025
1 parent 498d08c commit 45898bd
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions arcjet/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import type {
ArcjetBotRule,
ArcjetRule,
ArcjetLocalRule,
ArcjetMode,
ArcjetRequestDetails,
ArcjetTokenBucketRateLimitRule,
ArcjetFixedWindowRateLimitRule,
Expand All @@ -15,15 +16,14 @@ import type {
ArcjetWellKnownBot,
ArcjetBotCategory,
ArcjetEmailType,
ArcjetSensitiveInfoType,
} from "@arcjet/protocol";
import {
ArcjetBotReason,
ArcjetEmailReason,
ArcjetErrorReason,
ArcjetMode,
ArcjetReason,
ArcjetRuleResult,
ArcjetSensitiveInfoType,
ArcjetSensitiveInfoReason,
ArcjetDecision,
ArcjetDenyDecision,
Expand Down
3 changes: 2 additions & 1 deletion protocol/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ import type {
ArcjetContext,
ArcjetRequestDetails,
ArcjetRule,
ArcjetStack,
} from "./index.js";
import { ArcjetDecision, ArcjetStack } from "./index.js";
import { ArcjetDecision } from "./index.js";
import { DecideService } from "./proto/decide/v1alpha1/decide_connect.js";
import {
DecideRequest,
Expand Down
10 changes: 5 additions & 5 deletions protocol/convert.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@ import type {
ArcjetRule,
ArcjetRateLimitRule,
ArcjetBotRule,
ArcjetConclusion,
ArcjetEmailRule,
ArcjetEmailType,
ArcjetMode,
ArcjetRuleState,
ArcjetStack,
ArcjetTokenBucketRateLimitRule,
ArcjetFixedWindowRateLimitRule,
ArcjetSlidingWindowRateLimitRule,
Expand All @@ -22,13 +27,8 @@ import {
ArcjetRateLimitReason,
ArcjetRuleResult,
ArcjetShieldReason,
ArcjetConclusion,
ArcjetDecision,
ArcjetEmailType,
ArcjetMode,
ArcjetReason,
ArcjetRuleState,
ArcjetStack,
ArcjetIpDetails,
ArcjetSensitiveInfoReason,
} from "./index.js";
Expand Down
3 changes: 1 addition & 2 deletions protocol/test/client.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,10 @@ import {
RuleState,
SDKStack,
} from "../proto/decide/v1alpha1/decide_pb.js";
import type { ArcjetRule } from "../index.js";
import type { ArcjetConclusion, ArcjetRule } from "../index.js";
import {
ArcjetAllowDecision,
ArcjetChallengeDecision,
ArcjetConclusion,
ArcjetDecision,
ArcjetDenyDecision,
ArcjetErrorDecision,
Expand Down

0 comments on commit 45898bd

Please sign in to comment.