@mosaicast/plugin-sdk 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.
- package/README.md +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +9 -1
package/README.md
CHANGED
|
@@ -33,8 +33,8 @@ npm ci && npm run build # TypeScript: src → dist (.js + .d.ts)
|
|
|
33
33
|
- Released: from **GitHub Packages** (see below).
|
|
34
34
|
```kotlin
|
|
35
35
|
dependencies {
|
|
36
|
-
compileOnly("dev.mosaicast:plugin-api:0.1.
|
|
37
|
-
testImplementation("dev.mosaicast:plugin-testkit:0.1.
|
|
36
|
+
compileOnly("dev.mosaicast:plugin-api:0.1.1") // contract, provided by the host
|
|
37
|
+
testImplementation("dev.mosaicast:plugin-testkit:0.1.1") // test doubles only
|
|
38
38
|
}
|
|
39
39
|
```
|
|
40
40
|
Sources + Javadoc JARs give IDE hover docs automatically.
|
package/dist/index.d.ts
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* version. The host rejects a plugin whose manifest `platformApi` is incompatible with this value
|
|
15
15
|
* (ARCHITECTURE §7.2). **These move together — a breaking change is a major bump.**
|
|
16
16
|
*/
|
|
17
|
-
export declare const PLATFORM_API_VERSION: "0.1.
|
|
17
|
+
export declare const PLATFORM_API_VERSION: "0.1.1";
|
|
18
18
|
/** A user's role (ARCHITECTURE §8.5). Anonymous visitors have no role (`user` is `null`). */
|
|
19
19
|
export type Role = 'admin' | 'podcaster' | 'fan';
|
|
20
20
|
/** The level plus concrete entity a view is scoped to (ARCHITECTURE §6.1). */
|
package/dist/index.js
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
* version. The host rejects a plugin whose manifest `platformApi` is incompatible with this value
|
|
17
17
|
* (ARCHITECTURE §7.2). **These move together — a breaking change is a major bump.**
|
|
18
18
|
*/
|
|
19
|
-
export const PLATFORM_API_VERSION = '0.1.
|
|
19
|
+
export const PLATFORM_API_VERSION = '0.1.1';
|
|
20
20
|
const THEME_TOKEN_VARS = [
|
|
21
21
|
['bg', '--mc-bg'],
|
|
22
22
|
['surface', '--mc-surface'],
|
package/package.json
CHANGED
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mosaicast/plugin-sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Versioned plugin contract for Mosaicast: the frontend PluginContext types, a Web Component base helper, an i18n helper, plus a test kit under the /testing subpath.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/Mosaicast/mosaicast-plugin-sdk.git"
|
|
9
|
+
},
|
|
10
|
+
"bugs": {
|
|
11
|
+
"url": "https://github.com/Mosaicast/mosaicast-plugin-sdk/issues"
|
|
12
|
+
},
|
|
13
|
+
"homepage": "https://github.com/Mosaicast/mosaicast-plugin-sdk#readme",
|
|
6
14
|
"type": "module",
|
|
7
15
|
"sideEffects": false,
|
|
8
16
|
"files": [
|