File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
All changes to this project will be documented in this file.
3
3
4
+ ## [ 2.6.5] - 2024-10-17
5
+ - Fix postinstall script
6
+
4
7
## [ 2.6.4] - 2024-10-08
5
8
- Add transcript feature
6
9
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @api.video/nodejs-client" ,
3
- "version" : " 2.6.4 " ,
3
+ "version" : " 2.6.5 " ,
4
4
"description" : " api.video nodejs API client" ,
5
5
"keywords" : [
6
6
" api.video" ,
34
34
"test" : " jest" ,
35
35
"eslint" : " eslint 'src/**/*.ts' 'test/**/*.ts'" ,
36
36
"prettier" : " prettier --ignore-path .gitignore --write \" **/*.ts\" && npx eslint src/ test/ --fix" ,
37
- "postinstall" : " if [ ! -d \" lib \" ]; then npm run build; fi "
37
+ "postinstall" : " node -e \" const { execSync } = require('child_process'); const { existsSync } = require('fs'); if (!existsSync('lib')) execSync(' npm run build', { stdio: 'inherit' }); \" "
38
38
},
39
39
"dependencies" : {
40
40
"axios" : " ^1.4.0" ,
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ export default class HttpClient {
59
59
this . chunkSize = params . chunkSize ;
60
60
this . headers = new AxiosHeaders ( {
61
61
Accept : 'application/json, */*;q=0.8' ,
62
- 'AV-Origin-Client' : 'nodejs:2.6.4 ' ,
62
+ 'AV-Origin-Client' : 'nodejs:2.6.5 ' ,
63
63
Authorization : this . apiKey ? `Basic ${ encode ( `${ this . apiKey } :` ) } ` : '' ,
64
64
...( params . applicationName && params . applicationVersion
65
65
? {
You can’t perform that action at this time.
0 commit comments