@zeroad.network/token 0.13.4 → 0.13.6
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 +5 -3
- package/package.json +28 -4
package/README.md
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
# Introduction
|
|
2
2
|
|
|
3
|
-
This NPM module is meant to be used by sites participating in [Zero Ad Network](https://zeroad.network) program, that are running in either Node.js, Bun or Deno runtimes.
|
|
3
|
+
This NPM module is meant to be used by sites participating in [Zero Ad Network](https://zeroad.network) program, that are running in either Node.js, Bun or Deno runtimes.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
The `@zeroad.network/token` module acts as an HTTP‑header‑based "access / entitlement token" library. It is a lightweight, TypeScript ready, fully open source, well tested and has no production dependencies.
|
|
6
|
+
|
|
7
|
+
Up-to-date and in depth guides, how-to's and platform implementation details can be found at [the official Zero Ad Network documentation portal](https://docs.zeroad.network).
|
|
6
8
|
|
|
7
9
|
## Runtime compatibility
|
|
8
10
|
|
|
9
11
|
| Runtime | Compatibility | ESM | CJS |
|
|
10
12
|
| :------ | :------------ | :-: | :-: |
|
|
11
|
-
| Node.js |
|
|
13
|
+
| Node.js | 16+ | ✅ | ✅ |
|
|
12
14
|
| Bun | 1.1.0+ | ✅ | ✅ |
|
|
13
15
|
| Deno | 2.0.0+ | ✅ | ✅ |
|
|
14
16
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeroad.network/token",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.6",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": "github:laurynas-karvelis/zeroad-token-typescript",
|
|
6
6
|
"homepage": "https://zeroad.network",
|
|
@@ -14,10 +14,34 @@
|
|
|
14
14
|
"./dist/**/*"
|
|
15
15
|
],
|
|
16
16
|
"keywords": [
|
|
17
|
-
"better web",
|
|
18
17
|
"zero ad network",
|
|
19
|
-
"
|
|
20
|
-
"
|
|
18
|
+
"zeroad",
|
|
19
|
+
"zero-ad",
|
|
20
|
+
"token",
|
|
21
|
+
"access-token",
|
|
22
|
+
"http-header",
|
|
23
|
+
"welcome-header",
|
|
24
|
+
"auth",
|
|
25
|
+
"authorization",
|
|
26
|
+
"subscription",
|
|
27
|
+
"feature-flags",
|
|
28
|
+
"entitlement",
|
|
29
|
+
"ad-free",
|
|
30
|
+
"ads-free",
|
|
31
|
+
"paywall",
|
|
32
|
+
"content-access",
|
|
33
|
+
"middleware",
|
|
34
|
+
"typescript",
|
|
35
|
+
"javascript",
|
|
36
|
+
"nodejs",
|
|
37
|
+
"deno",
|
|
38
|
+
"bun",
|
|
39
|
+
"esm",
|
|
40
|
+
"cjs",
|
|
41
|
+
"web-server",
|
|
42
|
+
"express",
|
|
43
|
+
"fastify",
|
|
44
|
+
"hono"
|
|
21
45
|
],
|
|
22
46
|
"engines": {
|
|
23
47
|
"node": ">= 18.0.0",
|