openrtc-tauri 1.0.0 → 1.0.2
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
|
@@ -26,7 +26,7 @@ In your Tauri Rust crate:
|
|
|
26
26
|
[dependencies]
|
|
27
27
|
# Use the published crate after the native release path is cut.
|
|
28
28
|
# Until then, workspace consumers may use a path dependency.
|
|
29
|
-
openrtc-tauri-plugin = "0.
|
|
29
|
+
openrtc-tauri-plugin = "1.0.3"
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
```rust
|
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": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -21,10 +21,11 @@
|
|
|
21
21
|
},
|
|
22
22
|
"scripts": {
|
|
23
23
|
"build": "rm -rf dist && pnpm --dir ../openrtc run build && tsc",
|
|
24
|
-
"
|
|
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": "^1.0.
|
|
28
|
+
"openrtc": "^1.0.4"
|
|
28
29
|
},
|
|
29
30
|
"peerDependencies": {
|
|
30
31
|
"@tauri-apps/api": "^2.0.0"
|