@meddleware/nft-gate-gateway 0.0.1 → 0.0.2
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 -3
- package/package.json +2 -2
- package/wrangler.toml +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# @meddleware/nft-gate-gateway
|
|
1
|
+
# @meddleware/nft-gate-gateway
|
|
2
2
|
|
|
3
|
-
[](https://www.npmjs.com/package/@meddleware/nft-gate-gateway
|
|
3
|
+
[](https://www.npmjs.com/package/@meddleware/nft-gate-gateway)
|
|
4
4
|
[](LICENSE)
|
|
5
5
|
|
|
6
6
|
Cloudflare Workers implementation of the [nft-gate](../README.md) NFT-gated reverse proxy.
|
|
@@ -32,7 +32,7 @@ npm install
|
|
|
32
32
|
Alternatively, the package is published to npm for reference:
|
|
33
33
|
|
|
34
34
|
```bash
|
|
35
|
-
npm install @meddleware/nft-gate-gateway
|
|
35
|
+
npm install @meddleware/nft-gate-gateway
|
|
36
36
|
```
|
|
37
37
|
|
|
38
38
|
### 2. Configure `wrangler.toml`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meddleware/nft-gate-gateway",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Cloudflare Workers implementation of the nft-gate gateway: a wire-identical, drop-in sibling of the Rust gateway that gates any HTTP upstream behind an access_gate NFT.",
|
|
6
6
|
"license": "0BSD",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"generate:vectors": "node scripts/gen-vectors.mjs > ../conformance/vectors.json"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@meddleware/nft-gate-client": "^0.0.
|
|
24
|
+
"@meddleware/nft-gate-client": "^0.0.2",
|
|
25
25
|
"@noble/curves": "~2.4.0",
|
|
26
26
|
"@noble/hashes": "~2.4.0"
|
|
27
27
|
},
|
package/wrangler.toml
CHANGED
|
@@ -45,8 +45,8 @@ compatibility_flags = ["nodejs_compat"]
|
|
|
45
45
|
# Public fullnode — safe to keep as a plain var (no sensitive information).
|
|
46
46
|
SUI_RPC_URL = "https://fullnode.testnet.sui.io:443"
|
|
47
47
|
|
|
48
|
-
GATE_ID = ""
|
|
49
|
-
SINGLE_USE = "
|
|
48
|
+
GATE_ID = "0x0485c1fa80e4c355c85ab99c0281a328d8fb5c60ac50ab64f10be0f8be792aba"
|
|
49
|
+
SINGLE_USE = "true"
|
|
50
50
|
PUBLIC_PATHS = "/v1/tip-config"
|
|
51
51
|
RATE_LIMIT_PER_MIN = "30"
|
|
52
52
|
MAX_BODY_BYTES = "262144"
|