@miragari/providers 0.1.0 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +25 -0
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -1,3 +1,28 @@
1
+ # @miragari/providers
2
+
3
+ Built-in MediaRouter providers plus the `createMediaRouter()` convenience
4
+ factory.
5
+
6
+ ## Install
7
+
8
+ ```bash
9
+ npm install @miragari/providers
10
+ ```
11
+
12
+ ## Use this package when
13
+
14
+ - you want the quickest entrypoint for app integration
15
+ - you need built-in OpenAI, Google, Qwen, HappyHorse, or Volcengine adapters
16
+ - you also want provider authoring helpers such as `defineHttpProvider()`
17
+
18
+ ## Repository docs
19
+
20
+ - Root overview: <https://github.com/Zehight/mediaRouter>
21
+ - English docs: <https://github.com/Zehight/mediaRouter/blob/main/docs/en/getting-started.md>
22
+ - 中文文档: <https://github.com/Zehight/mediaRouter/blob/main/docs/zh-CN/getting-started.md>
23
+
24
+ ---
25
+
1
26
  # Adding a Provider
2
27
 
3
28
  MediaRouter providers are contributed as provider plugins. A provider plugin is
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@miragari/providers",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Built-in MediaRouter providers and createMediaRouter() factory.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",
8
- "license": "UNLICENSED",
8
+ "license": "MIT",
9
9
  "author": "Zehight",
10
10
  "homepage": "https://github.com/Zehight/mediaRouter#readme",
11
11
  "repository": {
@@ -39,8 +39,8 @@
39
39
  }
40
40
  },
41
41
  "dependencies": {
42
- "@miragari/client": "0.1.0",
43
- "@miragari/core": "0.1.0"
42
+ "@miragari/client": "0.1.1",
43
+ "@miragari/core": "0.1.1"
44
44
  },
45
45
  "scripts": {
46
46
  "build": "tsc -p tsconfig.json",