openrtc-tauri 0.1.0 → 1.0.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
CHANGED
|
@@ -84,6 +84,11 @@ new TauriRuntimeAdapter({
|
|
|
84
84
|
Product apps should install the plugin instead of copying `rtc_commands.rs` from
|
|
85
85
|
another application. App-specific commands can live beside it, but OpenRTC
|
|
86
86
|
connection lifecycle and device discovery should remain in the plugin/runtime.
|
|
87
|
+
File paths, transfer queues/history, bucket sharing, drive grants, and other
|
|
88
|
+
product commands must remain beside the plugin in the consumer host. Route
|
|
89
|
+
reusable file bytes through named peer channels or the optional
|
|
90
|
+
`openrtc-file-transfer` package; do not add product `send_file` commands to this
|
|
91
|
+
plugin's permission surface.
|
|
87
92
|
|
|
88
93
|
The TypeScript package is publish-ready and depends on the public `openrtc` npm
|
|
89
94
|
package. The Rust plugin still depends on the OpenRTC Rust crate release path:
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { createTauriIpcBridge, type TauriIpcBridgeOptions } from './runtime/ipc';
|
|
2
|
-
export { TauriRuntimeAdapter, type TauriRuntimeAdapterOptions } from './runtime/TauriRuntimeAdapter';
|
|
1
|
+
export { createTauriIpcBridge, type TauriIpcBridgeOptions } from './runtime/ipc.js';
|
|
2
|
+
export { TauriRuntimeAdapter, type TauriRuntimeAdapterOptions } from './runtime/TauriRuntimeAdapter.js';
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { createTauriIpcBridge } from './runtime/ipc';
|
|
2
|
-
export { TauriRuntimeAdapter } from './runtime/TauriRuntimeAdapter';
|
|
1
|
+
export { createTauriIpcBridge } from './runtime/ipc.js';
|
|
2
|
+
export { TauriRuntimeAdapter } from './runtime/TauriRuntimeAdapter.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IpcRuntimeAdapter, type RuntimeClientOptions } from 'openrtc/runtime';
|
|
2
|
-
import { type TauriIpcBridgeOptions } from './ipc';
|
|
2
|
+
import { type TauriIpcBridgeOptions } from './ipc.js';
|
|
3
3
|
export interface TauriRuntimeAdapterOptions extends RuntimeClientOptions {
|
|
4
4
|
allowWasmFallback?: boolean;
|
|
5
5
|
ipc?: TauriIpcBridgeOptions;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openrtc-tauri",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -20,11 +20,12 @@
|
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
22
|
"scripts": {
|
|
23
|
-
"build": "pnpm --dir ../openrtc run build && tsc",
|
|
24
|
-
"
|
|
23
|
+
"build": "rm -rf dist && pnpm --dir ../openrtc run build && tsc",
|
|
24
|
+
"test:import": "node --input-type=module -e \"await import('./dist/index.js')\"",
|
|
25
|
+
"prepublishOnly": "pnpm run build && pnpm run test:import"
|
|
25
26
|
},
|
|
26
27
|
"dependencies": {
|
|
27
|
-
"openrtc": "^0.
|
|
28
|
+
"openrtc": "^1.0.3"
|
|
28
29
|
},
|
|
29
30
|
"peerDependencies": {
|
|
30
31
|
"@tauri-apps/api": "^2.0.0"
|