@topolo/sdk 0.11.5 → 0.11.7

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.
@@ -402,7 +402,7 @@ function originMatchesEnvironment(url, environment) {
402
402
  }
403
403
  if (url.protocol !== "https:") return false;
404
404
  if (environment === "production") {
405
- return hostnameHasSuffix(hostname, "topolo.app") || hostnameHasSuffix(hostname, "topolo.io") || workersDevAccountMatches(hostname, "topolo");
405
+ return hostnameHasSuffix(hostname, "topolo.app") || hostnameHasSuffix(hostname, "topolo.io") || hostname === "api.ol0.me" || workersDevAccountMatches(hostname, "topolo");
406
406
  }
407
407
  if (environment === "staging") {
408
408
  return hostnameHasSuffix(hostname, "stg.topolo.us") || workersDevAccountMatches(hostname, "topolo-staging");
@@ -355,7 +355,7 @@ function originMatchesEnvironment(url, environment) {
355
355
  }
356
356
  if (url.protocol !== "https:") return false;
357
357
  if (environment === "production") {
358
- return hostnameHasSuffix(hostname, "topolo.app") || hostnameHasSuffix(hostname, "topolo.io") || workersDevAccountMatches(hostname, "topolo");
358
+ return hostnameHasSuffix(hostname, "topolo.app") || hostnameHasSuffix(hostname, "topolo.io") || hostname === "api.ol0.me" || workersDevAccountMatches(hostname, "topolo");
359
359
  }
360
360
  if (environment === "staging") {
361
361
  return hostnameHasSuffix(hostname, "stg.topolo.us") || workersDevAccountMatches(hostname, "topolo-staging");
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@topolo/sdk",
3
- "version": "0.11.5",
4
- "topoloPublishedVersion": "0.11.5",
3
+ "version": "0.11.7",
4
+ "topoloPublishedVersion": "0.11.7",
5
5
  "description": "Typed client SDK for the Topolo platform. Used by TopoloCli, TopoloMCP, and third-party agents.",
6
6
  "license": "UNLICENSED",
7
7
  "author": "Topolo",
@@ -26,7 +26,7 @@
26
26
  "dist"
27
27
  ],
28
28
  "scripts": {
29
- "build": "tsup src/index.ts --format esm,cjs --dts --clean && tsup src/node/credential-store.ts --format esm,cjs --dts --out-dir dist/node",
29
+ "build": "python3 scripts/build.py",
30
30
  "dev": "tsup src/index.ts --format esm,cjs --dts --watch",
31
31
  "typecheck": "tsc --noEmit",
32
32
  "test": "vitest run",
@@ -35,6 +35,26 @@
35
35
  "verify:package": "node ../../tooling/verify-npm-package.mjs .",
36
36
  "coverage": "vitest run --coverage"
37
37
  },
38
+ "topolo_quality": {
39
+ "schema_version": 1,
40
+ "check_supersets": [
41
+ {
42
+ "check": "coverage",
43
+ "supersedes": [
44
+ "test"
45
+ ],
46
+ "proof": {
47
+ "inputs": [
48
+ "src/**/*.test.mjs",
49
+ "src/**/*.test.ts",
50
+ "tsconfig.json",
51
+ "vitest.config.ts"
52
+ ],
53
+ "digest": "4ecfb08c915533c17b3a4e0831241e1e223fd4ead89b60e5be40b749f5f624ee"
54
+ }
55
+ }
56
+ ]
57
+ },
38
58
  "devDependencies": {
39
59
  "@types/node": "^20.19.39",
40
60
  "@vitest/coverage-v8": "^2.1.0",