@arcjet/node 1.0.0-beta.7 → 1.0.0-beta.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/index.js +1 -1
- package/package.json +30 -23
package/README.md
CHANGED
|
@@ -25,6 +25,9 @@ This is the [Arcjet][arcjet] SDK for [Node.js][node-js].
|
|
|
25
25
|
**Looking for our Next.js framework SDK?** Check out the
|
|
26
26
|
[`@arcjet/next`][alt-sdk] package.
|
|
27
27
|
|
|
28
|
+
- [npm package (`@arcjet/node`)](https://www.npmjs.com/package/@arcjet/node)
|
|
29
|
+
- [GitHub source code (`arcjet-node/` in `arcjet/arcjet-js`)](https://github.com/arcjet/arcjet-js/tree/main/arcjet-node)
|
|
30
|
+
|
|
28
31
|
## Getting started
|
|
29
32
|
|
|
30
33
|
Visit the [quick start guide][quick-start] to get started.
|
package/index.js
CHANGED
|
@@ -64,7 +64,7 @@ function createRemoteClient(options) {
|
|
|
64
64
|
// Transport is the HTTP client that the client uses to make requests.
|
|
65
65
|
const transport = createTransport(url);
|
|
66
66
|
const sdkStack = "NODEJS";
|
|
67
|
-
const sdkVersion = "1.0.0-beta.
|
|
67
|
+
const sdkVersion = "1.0.0-beta.9";
|
|
68
68
|
return createClient({
|
|
69
69
|
transport,
|
|
70
70
|
baseUrl: url,
|
package/package.json
CHANGED
|
@@ -1,7 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcjet/node",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.9",
|
|
4
4
|
"description": "Arcjet SDK for Node.js",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"analyze",
|
|
7
|
+
"arcjet",
|
|
8
|
+
"attack",
|
|
9
|
+
"limit",
|
|
10
|
+
"nodejs",
|
|
11
|
+
"node",
|
|
12
|
+
"protect",
|
|
13
|
+
"secure",
|
|
14
|
+
"security",
|
|
15
|
+
"verify"
|
|
16
|
+
],
|
|
5
17
|
"license": "Apache-2.0",
|
|
6
18
|
"homepage": "https://arcjet.com",
|
|
7
19
|
"repository": {
|
|
@@ -25,37 +37,32 @@
|
|
|
25
37
|
"main": "./index.js",
|
|
26
38
|
"types": "./index.d.ts",
|
|
27
39
|
"files": [
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"*.js",
|
|
31
|
-
"*.d.ts",
|
|
32
|
-
"!*.config.js"
|
|
40
|
+
"index.d.ts",
|
|
41
|
+
"index.js"
|
|
33
42
|
],
|
|
34
43
|
"scripts": {
|
|
35
|
-
"prepublishOnly": "npm run build",
|
|
36
44
|
"build": "rollup --config rollup.config.js",
|
|
37
45
|
"lint": "eslint .",
|
|
38
|
-
"
|
|
39
|
-
"test": "
|
|
46
|
+
"prepublishOnly": "npm run build",
|
|
47
|
+
"test": "npm run build && npm run lint"
|
|
40
48
|
},
|
|
41
49
|
"dependencies": {
|
|
42
|
-
"@arcjet/env": "1.0.0-beta.
|
|
43
|
-
"@arcjet/headers": "1.0.0-beta.
|
|
44
|
-
"@arcjet/ip": "1.0.0-beta.
|
|
45
|
-
"@arcjet/logger": "1.0.0-beta.
|
|
46
|
-
"@arcjet/protocol": "1.0.0-beta.
|
|
47
|
-
"@arcjet/transport": "1.0.0-beta.
|
|
48
|
-
"@arcjet/body": "1.0.0-beta.
|
|
49
|
-
"arcjet": "1.0.0-beta.
|
|
50
|
+
"@arcjet/env": "1.0.0-beta.9",
|
|
51
|
+
"@arcjet/headers": "1.0.0-beta.9",
|
|
52
|
+
"@arcjet/ip": "1.0.0-beta.9",
|
|
53
|
+
"@arcjet/logger": "1.0.0-beta.9",
|
|
54
|
+
"@arcjet/protocol": "1.0.0-beta.9",
|
|
55
|
+
"@arcjet/transport": "1.0.0-beta.9",
|
|
56
|
+
"@arcjet/body": "1.0.0-beta.9",
|
|
57
|
+
"arcjet": "1.0.0-beta.9"
|
|
50
58
|
},
|
|
51
59
|
"devDependencies": {
|
|
52
|
-
"@arcjet/eslint-config": "1.0.0-beta.
|
|
53
|
-
"@arcjet/rollup-config": "1.0.0-beta.
|
|
54
|
-
"@arcjet/tsconfig": "1.0.0-beta.
|
|
60
|
+
"@arcjet/eslint-config": "1.0.0-beta.9",
|
|
61
|
+
"@arcjet/rollup-config": "1.0.0-beta.9",
|
|
62
|
+
"@arcjet/tsconfig": "1.0.0-beta.9",
|
|
55
63
|
"@types/node": "18.18.0",
|
|
56
|
-
"@rollup/wasm-node": "4.
|
|
57
|
-
"eslint": "9.
|
|
58
|
-
"expect": "29.7.0",
|
|
64
|
+
"@rollup/wasm-node": "4.44.2",
|
|
65
|
+
"eslint": "9.30.1",
|
|
59
66
|
"typescript": "5.8.3"
|
|
60
67
|
},
|
|
61
68
|
"publishConfig": {
|