@effectstream/frontend-sdk 0.104.1 → 0.104.3

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
@@ -21910,6 +21910,12 @@ var definitions = {
21910
21910
  defaultValue: 9999,
21911
21911
  description: "Main Paima API Port. Used by developers custom endpoints and RPC endpoints. Example: '9999'"
21912
21912
  },
21913
+ EFFECTSTREAM_TRUST_PROXY: {
21914
+ key: "EFFECTSTREAM_TRUST_PROXY",
21915
+ type: "string",
21916
+ defaultValue: "true",
21917
+ 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."
21918
+ },
21913
21919
  EFFECTSTREAM_EXPLORER_PORT: {
21914
21920
  key: "EFFECTSTREAM_EXPLORER_PORT",
21915
21921
  type: "number",
@@ -22101,6 +22107,9 @@ class ENV {
22101
22107
  static get EFFECTSTREAM_API_PORT() {
22102
22108
  return ENV.getConfig(definitions.EFFECTSTREAM_API_PORT);
22103
22109
  }
22110
+ static get EFFECTSTREAM_TRUST_PROXY() {
22111
+ return ENV.getConfig(definitions.EFFECTSTREAM_TRUST_PROXY);
22112
+ }
22104
22113
  static get RECAPTCHA_V3_FRONTEND() {
22105
22114
  return ENV.getConfig(definitions.RECAPTCHA_V3_FRONTEND);
22106
22115
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@effectstream/frontend-sdk",
3
- "version": "0.104.1",
3
+ "version": "0.104.3",
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.104.1"
32
+ "@effectstream/wallets": "0.104.3"
33
33
  },
34
34
  "description": "React frontend SDK for EffectStream"
35
35
  }