@fiction/sdk 1.0.18 → 1.0.20

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.
@@ -0,0 +1,30 @@
1
+ // Re-export media types from @fiction/types (single source of truth)
2
+ export {
3
+ AudioFormatSchema,
4
+ AudioMediaSchema,
5
+ AudioPropertiesSchema,
6
+ ImageFormatSchema,
7
+ ImageMediaSchema,
8
+ MediaContextSchema,
9
+ MediaFormatSchema,
10
+ MediaSchema,
11
+ MediaStatusSchema,
12
+ MediaUnionSchema,
13
+ VideoFormatSchema,
14
+ VideoMediaSchema,
15
+ VideoPropertiesSchema,
16
+ } from '@fiction/types'
17
+
18
+ export type {
19
+ AudioFormat,
20
+ AudioMedia,
21
+ ImageFormat,
22
+ ImageMedia,
23
+ MediaContext,
24
+ MediaFormat,
25
+ MediaObject,
26
+ MediaStatus,
27
+ MediaUnion,
28
+ VideoFormat,
29
+ VideoMedia,
30
+ } from '@fiction/types'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiction/sdk",
3
- "version": "1.0.18",
3
+ "version": "1.0.20",
4
4
  "description": "SDK for Fiction app authentication and user management",
5
5
  "type": "module",
6
6
  "main": "./dist/sdk.js",
@@ -33,7 +33,7 @@
33
33
  "repository": {
34
34
  "type": "git",
35
35
  "url": "https://github.com/fictionco/fiction-app.git",
36
- "directory": "src/sdk"
36
+ "directory": "packages/sdk"
37
37
  },
38
38
  "homepage": "https://fiction.com",
39
39
  "bugs": {
@@ -44,6 +44,7 @@
44
44
  "registry": "https://registry.npmjs.org/"
45
45
  },
46
46
  "peerDependencies": {
47
+ "@fiction/types": "^1.0.0",
47
48
  "vue": "^3.5.0"
48
49
  },
49
50
  "dependencies": {
@@ -54,7 +55,7 @@
54
55
  "nanoid": "^5.1.6",
55
56
  "nanostores": "^1.0.1",
56
57
  "zod": "^4.1.11",
57
- "@fiction/sdk": "1.0.18"
58
+ "@fiction/types": "1.0.1"
58
59
  },
59
60
  "devDependencies": {
60
61
  "@antfu/eslint-config": "^5.4.1",
@@ -1,6 +0,0 @@
1
- import { Hono } from 'hono';
2
- /**
3
- * Minimal type stub for Hono RPC client
4
- * Satisfies hc<T> requirements without actual route parsing
5
- */
6
- export type SDKAppType = Hono<any, any, any>;