Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@arcjet/protocol

Package Overview
Dependencies
Maintainers
2
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arcjet/protocol - npm Package Compare versions

Comparing version 1.0.0-alpha.31 to 1.0.0-alpha.32

4

convert.js

@@ -160,2 +160,4 @@ import { Timestamp } from '@bufbuild/protobuf';

denied: reason.denied,
verified: reason.verified,
spoofed: reason.spoofed,
});

@@ -225,2 +227,4 @@ }

denied: reason.denied,
verified: reason.verified,
spoofed: reason.spoofed,
}),

@@ -227,0 +231,0 @@ },

@@ -66,6 +66,12 @@ export type * from "./well-known-bots.js";

denied: Array<string>;
verified: boolean;
spoofed: boolean;
constructor(init: {
allowed: Array<string>;
denied: Array<string>;
verified: boolean;
spoofed: boolean;
});
isVerified(): boolean;
isSpoofed(): boolean;
}

@@ -72,0 +78,0 @@ export declare class ArcjetEdgeRuleReason extends ArcjetReason {

@@ -106,2 +106,4 @@ import { typeid } from 'typeid-js';

denied;
verified;
spoofed;
constructor(init) {

@@ -111,3 +113,11 @@ super();

this.denied = init.denied;
this.verified = init.verified;
this.spoofed = init.spoofed;
}
isVerified() {
return this.verified;
}
isSpoofed() {
return this.spoofed;
}
}

@@ -114,0 +124,0 @@ class ArcjetEdgeRuleReason extends ArcjetReason {

13

package.json
{
"name": "@arcjet/protocol",
"version": "1.0.0-alpha.31",
"version": "1.0.0-alpha.32",
"description": "The TypeScript & JavaScript interface into the Arcjet protocol",

@@ -33,3 +33,2 @@ "license": "Apache-2.0",

"*.d.ts",
"*.ts",
"!*.config.js"

@@ -50,10 +49,10 @@ ],

"devDependencies": {
"@arcjet/eslint-config": "1.0.0-alpha.31",
"@arcjet/rollup-config": "1.0.0-alpha.31",
"@arcjet/tsconfig": "1.0.0-alpha.31",
"@arcjet/eslint-config": "1.0.0-alpha.32",
"@arcjet/rollup-config": "1.0.0-alpha.32",
"@arcjet/tsconfig": "1.0.0-alpha.32",
"@jest/globals": "29.7.0",
"@rollup/wasm-node": "4.27.3",
"@rollup/wasm-node": "4.27.4",
"@types/node": "18.18.0",
"jest": "29.7.0",
"typescript": "5.6.3"
"typescript": "5.7.2"
},

@@ -60,0 +59,0 @@ "publishConfig": {

@@ -814,2 +814,12 @@ // @generated by protoc-gen-es v1.10.0

/**
* @generated from field: bool verified = 3;
*/
verified: boolean;
/**
* @generated from field: bool spoofed = 4;
*/
spoofed: boolean;
constructor(data?: PartialMessage<BotV2Reason>);

@@ -1022,6 +1032,6 @@

/**
* Defines how Arcjet will track the rate limit. If not specified, it will
* default to the client IP address ip.src. If more than one option is
* provided, they will be combined. See
* https://docs.arcjet.com/rate-limiting/configuration
* Defines how Arcjet will track rate limits. If none are specified, it will
* default to using the client IP address. If more than one characteristic
* is provided, they will be combined. For further details, see
* https://docs.arcjet.com/architecture/#fingerprinting
*

@@ -1335,2 +1345,12 @@ * @generated from field: repeated string characteristics = 3;

/**
* Defines how Arcjet will track suspicious requests. If none are specified,
* it will default to using the client IP address. If more than one
* characteristic is provided, they will be combined. For further details,
* see https://docs.arcjet.com/architecture/#fingerprinting
*
* @generated from field: repeated string characteristics = 3;
*/
characteristics: string[];
constructor(data?: PartialMessage<ShieldRule>);

@@ -1337,0 +1357,0 @@

@@ -240,2 +240,4 @@ // @generated by protoc-gen-es v1.10.0

{ no: 2, name: "denied", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
{ no: 3, name: "verified", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
{ no: 4, name: "spoofed", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
],

@@ -407,2 +409,3 @@ );

{ no: 2, name: "auto_added", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
{ no: 3, name: "characteristics", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
],

@@ -409,0 +412,0 @@ );

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc