@afterpack/astro 0.1.0 → 0.2.0-rc.20260930T1421

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 (2) hide show
  1. package/README.md +6 -4
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -53,17 +53,19 @@ the file.
53
53
 
54
54
  ## Pro
55
55
 
56
- Without a key, AfterPack runs on your machine and applies basic protection. Set
56
+ Without a key, AfterPack runs on your machine with the full pipeline at any preset. Set
57
57
  [`AFTERPACK_KEY`](https://www.afterpack.dev/docs/config#key) in your environment and the same
58
- integration sends the build to AfterPack's cloud, which applies much stronger protection. Keep the
59
- key out of `astro.config.mjs`. See [AfterPack Pro](https://www.afterpack.dev/docs/pro).
58
+ integration builds in AfterPack's cloud instead, which adds per-region
59
+ [directives](https://www.afterpack.dev/docs/directives) and two hardening transforms you can turn
60
+ on: self-integrity (anti-tamper) and comparison hardening. Keep the key out of `astro.config.mjs`.
61
+ See [AfterPack Pro](https://www.afterpack.dev/docs/pro).
60
62
 
61
63
  ## Links
62
64
 
63
65
  - [Astro setup guide](https://www.afterpack.dev/docs/frameworks/astro)
64
66
  - [Presets and protection levels](https://www.afterpack.dev/docs/presets)
65
67
  - [How AfterPack compares to other obfuscators](https://www.afterpack.dev/docs/comparison)
66
- - [Keeping API keys shipped in a bundle out of plain sight](https://www.afterpack.dev/docs/use-cases/shipped-api-keys)
68
+ - [JavaScript obfuscation best practices](https://www.afterpack.dev/docs/best-practices)
67
69
 
68
70
  ## License
69
71
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@afterpack/astro",
3
- "version": "0.1.0",
3
+ "version": "0.2.0-rc.20260930T1421",
4
4
  "description": "Astro integration for AfterPack: obfuscate the client and server JavaScript of an Astro build",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -28,8 +28,8 @@
28
28
  "astro": "^4.0.0 || ^5.0.0 || ^6.0.0"
29
29
  },
30
30
  "dependencies": {
31
- "@afterpack/integration-utils": "0.1.0",
32
- "@afterpack/vite": "0.1.0"
31
+ "@afterpack/integration-utils": "0.2.0-rc.20260930T1421",
32
+ "@afterpack/vite": "0.2.0-rc.20260930T1421"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@biomejs/biome": "2.4.4",