@ryuhq/sdk-native 0.1.0 → 0.1.4

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/index.d.ts CHANGED
@@ -6,12 +6,12 @@
6
6
  /** Validate a plugin id (reverse-domain, path-traversal-safe). Throws on invalid. */
7
7
  export declare function validatePluginId(id: string): void
8
8
  /**
9
- * Parse and fully validate a `plugin.json` string (id, semver, per-kind
9
+ * Parse and fully validate a `manifest.json` string (id, semver, per-kind
10
10
  * runnable contracts). Returns the normalized manifest JSON, or throws.
11
11
  */
12
12
  export declare function parseAndValidateManifest(json: string): string
13
13
  /**
14
- * The JSON Schema for a `plugin.json`, as a JSON string. Derived from the Rust
14
+ * The JSON Schema for a `manifest.json`, as a JSON string. Derived from the Rust
15
15
  * types, so it never drifts from what the core validates.
16
16
  */
17
17
  export declare function pluginManifestJsonSchema(): string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ryuhq/sdk-native",
3
- "version": "0.1.0",
3
+ "version": "0.1.4",
4
4
  "description": "Native (napi-rs) Node addon backed by the ryu-sdk Rust core.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
Binary file
Binary file
Binary file
Binary file