@tscircuit/cli 0.1.717 → 0.1.718

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/main.js +4 -4
  2. package/package.json +2 -2
package/dist/main.js CHANGED
@@ -74117,7 +74117,7 @@ var getGlobalDepsInstallCommand = (packageManager, deps) => {
74117
74117
  import { execSync as execSync2 } from "node:child_process";
74118
74118
  var import_semver2 = __toESM2(require_semver2(), 1);
74119
74119
  // package.json
74120
- var version = "0.1.716";
74120
+ var version = "0.1.717";
74121
74121
  var package_default = {
74122
74122
  name: "@tscircuit/cli",
74123
74123
  version,
@@ -74126,7 +74126,7 @@ var package_default = {
74126
74126
  "@babel/standalone": "^7.26.9",
74127
74127
  "@biomejs/biome": "^1.9.4",
74128
74128
  "@tscircuit/circuit-json-util": "0.0.72",
74129
- "@tscircuit/fake-snippets": "^0.0.128",
74129
+ "@tscircuit/fake-snippets": "^0.0.182",
74130
74130
  "@tscircuit/file-server": "^0.0.32",
74131
74131
  "@tscircuit/math-utils": "0.0.29",
74132
74132
  "@tscircuit/props": "^0.0.423",
@@ -78411,10 +78411,10 @@ var getPackageFilePaths = (projectDir, ignored = []) => {
78411
78411
  };
78412
78412
 
78413
78413
  // lib/utils/check-org-access.ts
78414
- var checkOrgAccess = async (ky2, accountName) => {
78414
+ var checkOrgAccess = async (ky2, orgTscircuitHandle) => {
78415
78415
  try {
78416
78416
  const { org } = await ky2.post("orgs/get", {
78417
- json: { org_name: accountName }
78417
+ json: { tscircuit_handle: orgTscircuitHandle }
78418
78418
  }).json();
78419
78419
  return org.user_permissions?.can_manage_org ?? false;
78420
78420
  } catch {
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@tscircuit/cli",
3
- "version": "0.1.717",
3
+ "version": "0.1.718",
4
4
  "main": "dist/main.js",
5
5
  "devDependencies": {
6
6
  "@babel/standalone": "^7.26.9",
7
7
  "@biomejs/biome": "^1.9.4",
8
8
  "@tscircuit/circuit-json-util": "0.0.72",
9
- "@tscircuit/fake-snippets": "^0.0.128",
9
+ "@tscircuit/fake-snippets": "^0.0.182",
10
10
  "@tscircuit/file-server": "^0.0.32",
11
11
  "@tscircuit/math-utils": "0.0.29",
12
12
  "@tscircuit/props": "^0.0.423",