@arcjet/bun 1.0.0-beta.8 → 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.
Files changed (3) hide show
  1. package/README.md +3 -0
  2. package/index.js +1 -1
  3. package/package.json +31 -24
package/README.md CHANGED
@@ -22,6 +22,9 @@ against common attacks.
22
22
 
23
23
  This is the [Arcjet][arcjet] SDK for [Bun.sh][bun-sh].
24
24
 
25
+ - [npm package (`@arcjet/bun`)](https://www.npmjs.com/package/@arcjet/bun)
26
+ - [GitHub source code (`arcjet-bun/` in `arcjet/arcjet-js`)](https://github.com/arcjet/arcjet-js/tree/main/arcjet-bun)
27
+
25
28
  ## Getting started
26
29
 
27
30
  Visit the [quick start guide][quick-start] to get started.
package/index.js CHANGED
@@ -33,7 +33,7 @@ function createRemoteClient(options) {
33
33
  // Transport is the HTTP client that the client uses to make requests.
34
34
  const transport = createTransport(url);
35
35
  const sdkStack = "BUN";
36
- const sdkVersion = "1.0.0-beta.8";
36
+ const sdkVersion = "1.0.0-beta.9";
37
37
  return createClient({
38
38
  transport,
39
39
  baseUrl: url,
package/package.json CHANGED
@@ -1,7 +1,19 @@
1
1
  {
2
2
  "name": "@arcjet/bun",
3
- "version": "1.0.0-beta.8",
4
- "description": "Arcjet SDK for Bun.sh",
3
+ "version": "1.0.0-beta.9",
4
+ "description": "Arcjet SDK for Bun",
5
+ "keywords": [
6
+ "analyze",
7
+ "arcjet",
8
+ "attack",
9
+ "bun.sh",
10
+ "bun",
11
+ "limit",
12
+ "protect",
13
+ "secure",
14
+ "security",
15
+ "verify"
16
+ ],
5
17
  "license": "Apache-2.0",
6
18
  "homepage": "https://arcjet.com",
7
19
  "repository": {
@@ -23,37 +35,32 @@
23
35
  "main": "./index.js",
24
36
  "types": "./index.d.ts",
25
37
  "files": [
26
- "LICENSE",
27
- "README.md",
28
- "*.js",
29
- "*.d.ts",
30
- "!*.config.js"
38
+ "index.d.ts",
39
+ "index.js"
31
40
  ],
32
41
  "scripts": {
33
- "prepublishOnly": "npm run build",
34
42
  "build": "rollup --config rollup.config.js",
35
43
  "lint": "eslint .",
36
- "pretest": "npm run build",
37
- "test": "node --test --experimental-test-coverage"
44
+ "prepublishOnly": "npm run build",
45
+ "test": "npm run build && npm run lint"
38
46
  },
39
47
  "dependencies": {
40
- "@arcjet/env": "1.0.0-beta.8",
41
- "@arcjet/headers": "1.0.0-beta.8",
42
- "@arcjet/ip": "1.0.0-beta.8",
43
- "@arcjet/logger": "1.0.0-beta.8",
44
- "@arcjet/protocol": "1.0.0-beta.8",
45
- "@arcjet/transport": "1.0.0-beta.8",
46
- "arcjet": "1.0.0-beta.8"
48
+ "@arcjet/env": "1.0.0-beta.9",
49
+ "@arcjet/headers": "1.0.0-beta.9",
50
+ "@arcjet/ip": "1.0.0-beta.9",
51
+ "@arcjet/logger": "1.0.0-beta.9",
52
+ "@arcjet/protocol": "1.0.0-beta.9",
53
+ "@arcjet/transport": "1.0.0-beta.9",
54
+ "arcjet": "1.0.0-beta.9"
47
55
  },
48
56
  "devDependencies": {
49
- "@arcjet/eslint-config": "1.0.0-beta.8",
50
- "@arcjet/rollup-config": "1.0.0-beta.8",
51
- "@arcjet/tsconfig": "1.0.0-beta.8",
57
+ "@arcjet/eslint-config": "1.0.0-beta.9",
58
+ "@arcjet/rollup-config": "1.0.0-beta.9",
59
+ "@arcjet/tsconfig": "1.0.0-beta.9",
52
60
  "@types/node": "20.12.12",
53
- "@rollup/wasm-node": "4.41.1",
54
- "bun-types": "1.2.14",
55
- "eslint": "9.27.0",
56
- "expect": "29.7.0",
61
+ "@rollup/wasm-node": "4.44.2",
62
+ "bun-types": "1.2.18",
63
+ "eslint": "9.30.1",
57
64
  "typescript": "5.8.3"
58
65
  },
59
66
  "publishConfig": {