@squadbase/vantage-sdk 0.1.0-dev.75d4482 → 0.1.1-dev1.14a25ec

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/server.js +2 -1
  2. package/package.json +10 -8
package/dist/server.js CHANGED
@@ -29,7 +29,8 @@ async function connection(ctx, connectionId) {
29
29
  headers: {
30
30
  Authorization: `Bearer ${credential}`,
31
31
  // コネクション単位で同じ worker へ振り分けさせ、接続プールを使い回す。
32
- "x-tenant": connectionId
32
+ // `x-squadbase-` 名前空間なので、gateway が上流へ転送する経路では確実に落ちる (SQPD-1985)。
33
+ "x-squadbase-tenant": connectionId
33
34
  }
34
35
  };
35
36
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@squadbase/vantage-sdk",
3
- "version": "0.1.0-dev.75d4482",
3
+ "version": "0.1.1-dev1.14a25ec",
4
4
  "description": "Server-side SDK for Squadbase Vantage apps",
5
5
  "type": "module",
6
6
  "exports": {
@@ -16,17 +16,19 @@
16
16
  "access": "public",
17
17
  "registry": "https://registry.npmjs.org"
18
18
  },
19
- "scripts": {
20
- "build": "tsup",
21
- "type-check": "tsc",
22
- "test": "vitest run"
23
- },
24
19
  "author": "Squadbase",
25
20
  "license": "MIT",
26
21
  "devDependencies": {
27
22
  "@types/node": "^22.15.0",
28
23
  "tsup": "^8.4.0",
29
24
  "typescript": "~5.7.0",
30
- "vitest": "^4.1.6"
25
+ "vite": "^8.3.4",
26
+ "vitest": "^5.0.5"
27
+ },
28
+ "gitHead": "14a25ec02ec3eac96cffbee617507ce6da26575c",
29
+ "scripts": {
30
+ "build": "tsup",
31
+ "type-check": "tsc",
32
+ "test": "vitest run"
31
33
  }
32
- }
34
+ }