openrtc-tauri 1.0.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/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;
@@ -1,5 +1,5 @@
1
1
  import { IpcRuntimeAdapter } from 'openrtc/runtime';
2
- import { createTauriIpcBridge } from './ipc';
2
+ import { createTauriIpcBridge } from './ipc.js';
3
3
  export class TauriRuntimeAdapter extends IpcRuntimeAdapter {
4
4
  constructor(options) {
5
5
  super({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openrtc-tauri",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
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
- "prepublishOnly": "pnpm run build"
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.0"
28
+ "openrtc": "^1.0.3"
28
29
  },
29
30
  "peerDependencies": {
30
31
  "@tauri-apps/api": "^2.0.0"