webdriver-bidi-protocol 0.3.3 → 0.3.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.
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "0.3.3"
2
+ ".": "0.3.4"
3
3
  }
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.3.4](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/compare/webdriver-bidi-protocol-v0.3.3...webdriver-bidi-protocol-v0.3.4) (2025-09-25)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * generation should not emit ts imports ([#262](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/issues/262)) ([74bf1ad](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/commit/74bf1adb89582b073fa8741ddf3680549dada469))
9
+
3
10
  ## [0.3.3](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/compare/webdriver-bidi-protocol-v0.3.2...webdriver-bidi-protocol-v0.3.3) (2025-09-25)
4
11
 
5
12
 
@@ -1,6 +1,6 @@
1
- import type * as Bidi from './main.ts';
2
- import type * as BidiPermissions from './permissions.ts';
3
- import type * as BidiBluetooth from './web-bluetooth.ts';
1
+ import type * as Bidi from './main.js';
2
+ import type * as BidiPermissions from './permissions.js';
3
+ import type * as BidiBluetooth from './web-bluetooth.js';
4
4
  export interface CommandMapping {
5
5
  'bluetooth.disableSimulation': {
6
6
  params: BidiBluetooth.Bluetooth.DisableSimulationParameters;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "webdriver-bidi-protocol",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "description": "",
5
5
  "main": "out/index.js",
6
6
  "types": "out/index.d.ts",
@@ -1,6 +1,6 @@
1
- import type * as Bidi from './main.ts';
2
- import type * as BidiPermissions from './permissions.ts';
3
- import type * as BidiBluetooth from './web-bluetooth.ts';
1
+ import type * as Bidi from './main.js';
2
+ import type * as BidiPermissions from './permissions.js';
3
+ import type * as BidiBluetooth from './web-bluetooth.js';
4
4
 
5
5
  export interface CommandMapping {
6
6
  'bluetooth.disableSimulation': {
@@ -122,7 +122,7 @@ const generatedFile = project.createSourceFile(outputPath, '', {
122
122
 
123
123
  for (const spec of specs) {
124
124
  generatedFile.addImportDeclaration({
125
- moduleSpecifier: spec.inputFile,
125
+ moduleSpecifier: spec.inputFile.replace('.ts', '.js'),
126
126
  isTypeOnly: true,
127
127
  namespaceImport: spec.modulePrefix,
128
128
  });