@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 CHANGED
@@ -1,6 +1,6 @@
1
- # @meddleware/nft-gate-gateway-workers
1
+ # @meddleware/nft-gate-gateway
2
2
 
3
- [![npm](https://img.shields.io/npm/v/%40meddleware%2Fnft-gate-gateway-workers)](https://www.npmjs.com/package/@meddleware/nft-gate-gateway-workers)
3
+ [![npm](https://img.shields.io/npm/v/%40meddleware%2Fnft-gate-gateway-workers)](https://www.npmjs.com/package/@meddleware/nft-gate-gateway)
4
4
  [![License: 0BSD](https://img.shields.io/badge/license-0BSD-blue)](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-workers
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.1",
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.1",
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 = "" # operator: set to the access_gate registry object ID (single-registry mode)
49
- SINGLE_USE = "false"
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"