Skip to content

Commit 85da2e7

Browse files
committed
Fix binding.gyp to reference correct source file (binding.cpp, not addon.cpp)
- Fixed source file reference from addon.cpp to binding.cpp - Added missing util.cpp to sources - Bump version to 0.1.1
1 parent b7b7115 commit 85da2e7

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

binding.gyp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@
33
{
44
"target_name": "webcodecs_node",
55
"sources": [
6-
"native/addon.cpp",
6+
"native/binding.cpp",
77
"native/frame.cpp",
88
"native/audio.cpp",
99
"native/encoder.cpp",
10-
"native/decoder.cpp"
10+
"native/decoder.cpp",
11+
"native/util.cpp"
1112
],
1213
"include_dirs": [
1314
"<!@(node -p \"require('node-addon-api').include\")",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "node-webcodecs",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "Native WebCodecs API implementation for Node.js using FFmpeg",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

0 commit comments

Comments
 (0)