Comparing version 1.0.0-alpha.0 to 1.0.0-alpha.1
import { ArcjetBotType, ArcjetEmailType, ArcjetMode, ArcjetStack, ArcjetDecision, ArcjetRule, ArcjetRequestDetails } from "@arcjet/protocol"; | ||
import { Transport } from "@arcjet/protocol/proto"; | ||
import { Transport } from "@arcjet/protocol/proto.js"; | ||
import { Logger } from "@arcjet/logger"; | ||
@@ -4,0 +4,0 @@ export * from "@arcjet/protocol"; |
import { ArcjetErrorDecision, ArcjetErrorReason, ArcjetRuleResult, ArcjetReason, ArcjetDenyDecision, ArcjetEmailReason, ArcjetBotType, ArcjetBotReason } from '@arcjet/protocol'; | ||
export * from '@arcjet/protocol'; | ||
import { ArcjetStackToProtocol, ArcjetRuleToProtocol, ArcjetDecisionFromProtocol, ArcjetDecisionToProtocol, ArcjetBotTypeToProtocol, ArcjetBotTypeFromProtocol } from '@arcjet/protocol/convert'; | ||
import { createPromiseClient, DecideService, DecideRequest, ReportRequest, Timestamp, BotType } from '@arcjet/protocol/proto'; | ||
import { ArcjetStackToProtocol, ArcjetRuleToProtocol, ArcjetDecisionFromProtocol, ArcjetDecisionToProtocol, ArcjetBotTypeToProtocol, ArcjetBotTypeFromProtocol } from '@arcjet/protocol/convert.js'; | ||
import { createPromiseClient, DecideService, DecideRequest, ReportRequest, Timestamp, BotType } from '@arcjet/protocol/proto.js'; | ||
import * as analyze from '@arcjet/analyze'; | ||
@@ -70,3 +70,3 @@ import { Logger } from '@arcjet/logger'; | ||
const sdkStack = ArcjetStackToProtocol(options?.sdkStack ?? "NODEJS"); | ||
const sdkVersion = "1.0.0-alpha.0"; | ||
const sdkVersion = "1.0.0-alpha.1"; | ||
const client = createPromiseClient(DecideService, options.transport); | ||
@@ -73,0 +73,0 @@ return Object.freeze({ |
@@ -28,3 +28,3 @@ import { | ||
ArcjetRuleToProtocol, | ||
} from "@arcjet/protocol/convert"; | ||
} from "@arcjet/protocol/convert.js"; | ||
import { | ||
@@ -38,3 +38,3 @@ createPromiseClient, | ||
Timestamp, | ||
} from "@arcjet/protocol/proto"; | ||
} from "@arcjet/protocol/proto.js"; | ||
import * as analyze from "@arcjet/analyze"; | ||
@@ -41,0 +41,0 @@ import { Logger } from "@arcjet/logger"; |
{ | ||
"name": "arcjet", | ||
"version": "1.0.0-alpha.0", | ||
"version": "1.0.0-alpha.1", | ||
"description": "Arcjet TypeScript and JavaScript SDK core", | ||
@@ -33,10 +33,10 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@arcjet/analyze": "1.0.0-alpha.0", | ||
"@arcjet/logger": "1.0.0-alpha.0", | ||
"@arcjet/protocol": "1.0.0-alpha.0" | ||
"@arcjet/analyze": "1.0.0-alpha.1", | ||
"@arcjet/logger": "1.0.0-alpha.1", | ||
"@arcjet/protocol": "1.0.0-alpha.1" | ||
}, | ||
"devDependencies": { | ||
"@arcjet/eslint-config": "1.0.0-alpha.0", | ||
"@arcjet/rollup-config": "1.0.0-alpha.0", | ||
"@arcjet/tsconfig": "1.0.0-alpha.0", | ||
"@arcjet/eslint-config": "1.0.0-alpha.1", | ||
"@arcjet/rollup-config": "1.0.0-alpha.1", | ||
"@arcjet/tsconfig": "1.0.0-alpha.1", | ||
"@edge-runtime/jest-environment": "2.3.7", | ||
@@ -43,0 +43,0 @@ "@jest/globals": "29.7.0", |
@@ -12,4 +12,4 @@ <a href="https://arcjet.com" target="_arcjet-home"> | ||
<picture> | ||
<source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/badge/%E2%9C%A6Aj-1.0.0--alpha.0-5C5866?style=flat-square&labelColor=000000"> | ||
<img src="https://img.shields.io/badge/%E2%9C%A6Aj-1.0.0--alpha.0-ECE6F0?style=flat-square&labelColor=ECE6F0"> | ||
<source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/badge/%E2%9C%A6Aj-1.0.0--alpha.1-5C5866?style=flat-square&labelColor=000000"> | ||
<img src="https://img.shields.io/badge/%E2%9C%A6Aj-1.0.0--alpha.1-ECE6F0?style=flat-square&labelColor=ECE6F0"> | ||
</picture> | ||
@@ -16,0 +16,0 @@ </p> |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
76982
0
+ Added@arcjet/analyze@1.0.0-alpha.1(transitive)
+ Added@arcjet/logger@1.0.0-alpha.1(transitive)
+ Added@arcjet/protocol@1.0.0-alpha.1(transitive)
- Removed@arcjet/analyze@1.0.0-alpha.0(transitive)
- Removed@arcjet/logger@1.0.0-alpha.0(transitive)
- Removed@arcjet/protocol@1.0.0-alpha.0(transitive)
Updated@arcjet/logger@1.0.0-alpha.1