@howells/motif-sdk 0.6.0 → 0.8.0

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.
package/dist/index.cjs CHANGED
@@ -18,8 +18,8 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
 
20
20
  // src/index.ts
21
- var index_exports = {};
22
- __export(index_exports, {
21
+ var src_exports = {};
22
+ __export(src_exports, {
23
23
  ASPECT_RATIOS: () => ASPECT_RATIOS,
24
24
  CREATIVE_FIELDS: () => CREATIVE_FIELDS,
25
25
  CREATIVE_TAXONOMY: () => CREATIVE_TAXONOMY,
@@ -57,7 +57,7 @@ __export(index_exports, {
57
57
  parseMotifEnv: () => parseMotifEnv,
58
58
  sanitizePrompt: () => sanitizePrompt
59
59
  });
60
- module.exports = __toCommonJS(index_exports);
60
+ module.exports = __toCommonJS(src_exports);
61
61
  var import_neverthrow2 = require("neverthrow");
62
62
 
63
63
  // src/aspects.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@howells/motif-sdk",
3
- "version": "0.6.0",
3
+ "version": "0.8.0",
4
4
  "description": "Public Node SDK for Motif fal.ai generation, editing, utility tools, and model metadata.",
5
5
  "keywords": [
6
6
  "fal",
@@ -32,13 +32,22 @@
32
32
  "types": "./dist/index.d.ts",
33
33
  "import": "./dist/index.js",
34
34
  "require": "./dist/index.cjs"
35
+ },
36
+ "./image": {
37
+ "types": "./dist/image.d.ts",
38
+ "import": "./dist/image.js"
35
39
  }
36
40
  },
37
41
  "publishConfig": {
38
42
  "access": "public"
39
43
  },
40
44
  "dependencies": {
45
+ "@ai-sdk/fal": "^3.0.8",
46
+ "@ai-sdk/google": "^4.0.12",
47
+ "@ai-sdk/openai": "^4.0.11",
48
+ "@ai-sdk/replicate": "^3.0.8",
41
49
  "@howells/envy": "^0.3.7",
50
+ "ai": "^7.0.22",
42
51
  "neverthrow": "^8.2.0",
43
52
  "zod": "^4.4.3"
44
53
  },
@@ -52,8 +61,8 @@
52
61
  "vitest": "^4.1.10"
53
62
  },
54
63
  "scripts": {
55
- "build": "tsup src/index.ts --format cjs,esm --dts",
56
- "dev": "tsup src/index.ts --format cjs,esm --dts --watch",
64
+ "build": "tsup",
65
+ "dev": "tsup --watch",
57
66
  "lint": "howells-check .",
58
67
  "lint:fix": "howells-fix .",
59
68
  "typecheck": "tsc --noEmit",