@effectstream/frontend-sdk 0.200.5 → 0.200.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.
Files changed (2) hide show
  1. package/dist/mod.js +9 -0
  2. package/package.json +2 -2
package/dist/mod.js CHANGED
@@ -21924,6 +21924,12 @@ var definitions = {
21924
21924
  defaultValue: 9999,
21925
21925
  description: "Main Paima API Port. Used by developers custom endpoints and RPC endpoints. Example: '9999'"
21926
21926
  },
21927
+ EFFECTSTREAM_TRUST_PROXY: {
21928
+ key: "EFFECTSTREAM_TRUST_PROXY",
21929
+ type: "string",
21930
+ defaultValue: "true",
21931
+ description: "Whether the HTTP server trusts X-Forwarded-For / X-Forwarded-Proto from a reverse proxy in front of it, so request.ip is the client and not the proxy. 'true' (default, trust every hop), 'false' (never), or a comma-separated list of proxy IPs/CIDRs such as '127.0.0.1,10.0.0.0/8'. Mirrors Fastify's trustProxy option."
21932
+ },
21927
21933
  EFFECTSTREAM_EXPLORER_PORT: {
21928
21934
  key: "EFFECTSTREAM_EXPLORER_PORT",
21929
21935
  type: "number",
@@ -22115,6 +22121,9 @@ class ENV {
22115
22121
  static get EFFECTSTREAM_API_PORT() {
22116
22122
  return ENV.getConfig(definitions.EFFECTSTREAM_API_PORT);
22117
22123
  }
22124
+ static get EFFECTSTREAM_TRUST_PROXY() {
22125
+ return ENV.getConfig(definitions.EFFECTSTREAM_TRUST_PROXY);
22126
+ }
22118
22127
  static get RECAPTCHA_V3_FRONTEND() {
22119
22128
  return ENV.getConfig(definitions.RECAPTCHA_V3_FRONTEND);
22120
22129
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@effectstream/frontend-sdk",
3
- "version": "0.200.5",
3
+ "version": "0.200.6",
4
4
  "license": "(MIT OR Apache-2.0)",
5
5
  "homepage": "https://effectstream.github.io/docs/",
6
6
  "repository": {
@@ -29,7 +29,7 @@
29
29
  "build": "bun run build.ts"
30
30
  },
31
31
  "dependencies": {
32
- "@effectstream/wallets": "0.200.5"
32
+ "@effectstream/wallets": "0.200.6"
33
33
  },
34
34
  "description": "React frontend SDK for EffectStream"
35
35
  }