attio 0.0.1-experimental.20250227 → 0.0.1-experimental.20250227.1

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.
@@ -59,7 +59,7 @@ export async function loadDeveloperConfig() {
59
59
  const parsed = developerConfigSchema.safeParse(configFile.contents);
60
60
  if (parsed.success) {
61
61
  if (!isValidSlug(parsed.data.developer_slug)) {
62
- return "Invalid developer_slug: must be lower kebab case and contain only letters and hyphens. e.g. my-slug";
62
+ return "Invalid developer_slug: must be lower kebab case and contain only letters, numbers and hyphens. e.g. my-slug";
63
63
  }
64
64
  return parsed.data;
65
65
  }
@@ -68,7 +68,7 @@ export async function loadDeveloperConfig() {
68
68
  return initialDeveloperConfig;
69
69
  const { token, developer_slug: developerSlug } = initialDeveloperConfig;
70
70
  if (!isValidSlug(developerSlug)) {
71
- return "Invalid developer_slug: must be lower kebab case and contain only letters and hyphens. e.g. my-slug";
71
+ return "Invalid developer_slug: must be lower kebab case and contain only letters, numbers and hyphens. e.g. my-slug";
72
72
  }
73
73
  const devAccount = await createDeveloperAccount({ token, developerSlug });
74
74
  const config = developerConfigSchema.parse({
@@ -1,6 +1,6 @@
1
1
  import { accessSync, constants } from "fs";
2
2
  import { resolve } from "path";
3
- const slugRegex = /^(?!-)[a-z\-]*(?<!-)$/;
3
+ const slugRegex = /^(?!-)[a-z0-9\-]*(?<!-)$/;
4
4
  export const canWrite = (path) => {
5
5
  try {
6
6
  accessSync(resolve(path), constants.W_OK);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "attio",
3
- "version": "0.0.1-experimental.20250227",
3
+ "version": "0.0.1-experimental.20250227.1",
4
4
  "bin": "lib/attio.js",
5
5
  "type": "module",
6
6
  "files": [