{"_id":"@byteark/video-upload-sdk","_rev":"25-eea995b6962d2b6d10657d9dadeb4770","name":"@byteark/video-upload-sdk","dist-tags":{"beta":"1.3.1-beta.1","latest":"1.3.5"},"versions":{"1.0.0":{"name":"@byteark/video-upload-sdk","version":"1.0.0","keywords":[],"license":"MIT","_id":"@byteark/video-upload-sdk@1.0.0","maintainers":[{"name":"hayatoz","email":"hokiz.1999@gmail.com"},{"name":"champjss","email":"champjss@gmail.com"},{"name":"inoxth","email":"dev@inox.co.th"},{"name":"elvinxcs","email":"elvin@bstudio.click"},{"name":"nonth","email":"nonthz@gmail.com"}],"homepage":"https://github.com/byteark/video-upload-sdk-js#readme","bugs":{"url":"https://github.com/byteark/video-upload-sdk-js/issues"},"ava":{"files":["!build/module/**"],"timeout":"60s","failFast":true,"typescript":{"rewritePaths":{"src/":"build/main/"}}},"nyc":{"exclude":["**/*.spec.js"],"extends":"@istanbuljs/nyc-config-typescript"},"dist":{"shasum":"331eda1c37961840e03db4d983378fff6559f915","tarball":"https://registry.npmjs.org/@byteark/video-upload-sdk/-/video-upload-sdk-1.0.0.tgz","fileCount":31,"integrity":"sha512-fHaFv4ZxAMPBgPIO6JPP2j358A7JXOIEdi58RaybsvWDaSTuHcxlOyMoOALZ2Sezu9kqf2tytCG+mjJOY35IOA==","signatures":[{"sig":"MEUCIB2aGIgWFA4p6Dn060a0Mmyzzn1WTvgntuyTGhY5LWvFAiEA1BVZhKZX1Dhfs1hnsluC4LaUzuZPgKLx+kNksxlm56U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55839,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiaPz0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrQfQ/9GkNP5cDCrfUXez8XHARm6aNNo06TskJza4estClo/N9LFQng\r\nS2y4hvhLycM8mDDCgCxPEQwySPop9RlpmGHt58+qbM608Lf28Fn8qq/R30zB\r\ngxXeghAv2KVxypT9FWUTudAfWf1p7vi1L5hL/kSFxbztFCDDj4AAMGCktK1F\r\nwKNmC3eDlKY+kb6fZX6gwsKQSlH5+qF8jmZDbnAj1CKy2IXKrMBNNNOtryHB\r\nCu97inZeWm7b7YQ8dUgom31otgoCwdqT5j9eyzdl1OLqgSj3LmlH41r7G7tn\r\noUmySeIbJxbvLgsaLSqDbTI/jUxHn5OdVGe7b3UEWNJSVp1cPPauv2UrvE3p\r\nwNwr9/vY3Fs1aCP9Yiw4EJM0svITHj8IS/P7eYGCUvkt39GPHxLgvhE+782I\r\nh7GbAAncZWXc+QtQFY39ZSZodKK9PxghJJszXrMum8CM+dvmiX3CfYVjh36X\r\nqZT7GtChP62JcbomIMGHo2WlXilny4tPoTNGfWbDoz1egEScLAsmZI3jeyCa\r\nOhL/Spf523iEkiuZYuv7ek939E0xYGbCcH2ef1v2kcTgyVoMyR6nckFc0QpI\r\neJnei3FJchUd6V9p0zjBaV1vFZiZ9GvQOdFU5HsOVgIBaW6VomCNbTWdOFJd\r\nzFzb+ckUFOIDYllnKk9qfioljc+qLtwku14=\r\n=WQ5E\r\n-----END PGP SIGNATURE-----\r\n"},"main":"build/main/index.js","config":{"commitizen":{"path":"cz-conventional-changelog"}},"module":"build/module/index.js","engines":{"node":">=10"},"gitHead":"28fbc8920b5dc303fd336d1a86e1e7050ea6a3ed","scripts":{"cov":"run-s build test:unit cov:html cov:lcov && open-cli coverage/index.html","doc":"run-s doc:html && open-cli build/docs/index.html","fix":"run-s fix:*","test":"run-s build test:*","build":"run-p build:*","version":"standard-version","cov:html":"nyc report --reporter=html","cov:lcov":"nyc report --reporter=lcov","cov:send":"run-s cov:lcov && codecov","doc:html":"typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --out build/docs","doc:json":"typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --json build/docs/typedoc.json","fix:lint":"eslint src --ext .ts --fix","check-cli":"run-s test diff-integration-tests check-integration-tests","cov:check":"nyc report && nyc check-coverage --lines 100 --functions 100 --branches 100","test:lint":"eslint src --ext .ts","test:unit":"nyc --silent ava","build:main":"tsc -p tsconfig.json","reset-hard":"git clean -dfx && git reset --hard && yarn","test:mocha":"ts-mocha -p ./tsconfig.json src/**/*.spec.ts","watch:test":"nyc --silent ava --watch","doc:publish":"gh-pages -m \"[ci skip] Updates\" -d build/docs","watch:build":"tsc -p tsconfig.json -w","build:module":"tsc -p tsconfig.module.json","fix:prettier":"prettier \"src/**/*.ts\" --write","test:prettier":"prettier \"src/**/*.ts\" --list-different","test:spelling":"cspell \"{README.md,.github/*.md,src/**/*.ts}\"","prepare-release":"run-s reset-hard test cov:check doc:html version doc:publish","diff-integration-tests":"mkdir -p diff && rm -rf diff/test && cp -r test diff/test && rm -rf diff/test/test-*/.git && cd diff && git init --quiet && git add -A && git commit --quiet --no-verify --allow-empty -m 'WIP' && echo '\\n\\nCommitted most recent integration test output in the \"diff\" directory. Review the changes with \"cd diff && git diff HEAD\" or your preferred git diff viewer.'","check-integration-tests":"run-s check-integration-test:*"},"typings":"build/main/index.d.ts","_npmUser":{"name":"champjss","email":"champjss@gmail.com"},"prettier":{"singleQuote":true},"repository":{"url":"git+https://github.com/byteark/video-upload-sdk-js.git","type":"git"},"_npmVersion":"8.1.2","description":"Uploading video files directly from user's browser to ByteArk Stream and Qoder","directories":{},"_nodeVersion":"16.13.1","dependencies":{"tus-js-client":"^2.3.1","@bitauth/libauth":"^1.17.1"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^3.12.1","nyc":"^15.1.0","cspell":"^4.1.0","eslint":"^7.8.0","codecov":"^3.5.0","cypress":"^9.6.0","ts-node":"^9.0.0","typedoc":"^0.19.0","gh-pages":"^3.1.0","open-cli":"^6.0.1","prettier":"^2.1.1","ts-mocha":"^9.0.2","typescript":"^4.0.2","npm-run-all":"^4.1.5","@types/expect":"^24.3.0","@ava/typescript":"^1.1.1","standard-version":"^9.0.0","web-file-polyfill":"^1.0.4","eslint-plugin-import":"^2.22.0","eslint-config-prettier":"^6.11.0","@typescript-eslint/parser":"^4.0.1","cz-conventional-changelog":"^3.3.0","eslint-plugin-eslint-comments":"^3.2.0","@typescript-eslint/eslint-plugin":"^4.0.1","@istanbuljs/nyc-config-typescript":"^1.0.1"},"_npmOperationalInternal":{"tmp":"tmp/video-upload-sdk_1.0.0_1651047668484_0.9818640813205055","host":"s3://npm-registry-packages"}},"1.2.1":{"name":"@byteark/video-upload-sdk","version":"1.2.1","keywords":[],"license":"MIT","_id":"@byteark/video-upload-sdk@1.2.1","maintainers":[{"name":"kongtapp","email":"Kongtapp.V@ku.th"},{"name":"magmagcup","email":"sirawich.d@gmail.com"},{"name":"hayatoz","email":"hokiz.1999@gmail.com"},{"name":"champjss","email":"champjss@gmail.com"},{"name":"elvinxcs","email":"elvin@bstudio.click"},{"name":"nonth","email":"nonthz@gmail.com"}],"homepage":"https://github.com/byteark/video-upload-sdk-js#readme","bugs":{"url":"https://github.com/byteark/video-upload-sdk-js/issues"},"ava":{"files":["!build/module/**"],"timeout":"60s","failFast":true,"typescript":{"rewritePaths":{"src/":"build/main/"}}},"nyc":{"exclude":["**/*.spec.js"],"extends":"@istanbuljs/nyc-config-typescript"},"dist":{"shasum":"db5e492f32a74e63793d19e7f9f66ca955890943","tarball":"https://registry.npmjs.org/@byteark/video-upload-sdk/-/video-upload-sdk-1.2.1.tgz","fileCount":32,"integrity":"sha512-SkDNvfvl1+fFtvhou6y6vpViNnwNQa4UtkCuaYEV5Oi0d+u3ebCtYzEmV31f2m09G0MIQG03CPyzIYM+VhjyNw==","signatures":[{"sig":"MEUCIQD59pQDlq4XXJNbFFrPTDJOuelulMGwsEpj5Ze+hEPpgAIgbMsnTq5tnoIP9UznSwC12z5KH5+LTyva0ZyjFRTIEUI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72714},"main":"build/main/index.js","module":"build/module/index.js","engines":{"node":">=16"},"gitHead":"515f22a9dc51e8e829de49c274c22dbc8e451dea","scripts":{"cov":"run-s build test:unit cov:html cov:lcov && open-cli coverage/index.html","doc":"run-s doc:html && open-cli build/docs/index.html","fix":"run-s fix:*","test":"run-s build test:*","build":"run-p build:*","version":"standard-version","cov:html":"nyc report --reporter=html","cov:lcov":"nyc report --reporter=lcov","cov:send":"run-s cov:lcov && codecov","doc:html":"typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --out build/docs","doc:json":"typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --json build/docs/typedoc.json","fix:lint":"eslint src --ext .ts --fix","check-cli":"run-s test diff-integration-tests check-integration-tests","cov:check":"nyc report && nyc check-coverage --lines 100 --functions 100 --branches 100","test:lint":"eslint src --ext .ts","test:unit":"jest","build:main":"tsc -p tsconfig.json","reset-hard":"git clean -dfx && git reset --hard && yarn","watch:test":"nyc --silent ava --watch","doc:publish":"gh-pages -m \"[ci skip] Updates\" -d build/docs","watch:build":"tsc -p tsconfig.json -w","build:module":"tsc -p tsconfig.module.json","fix:prettier":"prettier \"src/**/*.ts\" --write","test:prettier":"prettier \"src/**/*.ts\" --list-different","test:spelling":"cspell \"{README.md,.github/*.md,src/**/*.ts}\"","prepare-release":"run-s reset-hard test cov:check doc:html version doc:publish","diff-integration-tests":"mkdir -p diff && rm -rf diff/test && cp -r test diff/test && rm -rf diff/test/test-*/.git && cd diff && git init --quiet && git add -A && git commit --quiet --no-verify --allow-empty -m 'WIP' && echo '\\n\\nCommitted most recent integration test output in the \"diff\" directory. Review the changes with \"cd diff && git diff HEAD\" or your preferred git diff viewer.'","check-integration-tests":"run-s check-integration-test:*"},"typings":"build/main/index.d.ts","_npmUser":{"name":"elvinxcs","email":"elvin@bstudio.click"},"prettier":{"singleQuote":true},"repository":{"url":"git+https://github.com/byteark/video-upload-sdk-js.git","type":"git"},"_npmVersion":"10.4.0","description":"Uploading video files directly from user's browser to ByteArk Stream and Qoder","directories":{},"resolutions":{"minimist":"^1.2.8","handlebars":"^4.7.8","conventional-changelog-writer":"^7.0.1"},"_nodeVersion":"21.6.1","dependencies":{"tus-js-client":"^4.0.1","@bitauth/libauth":"^2.1.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^6.1.2","msw":"^2.2.2","nyc":"^15.1.0","jest":"^29.7.0","cspell":"^4.2.8","eslint":"^8.57.0","codecov":"^3.8.3","cypress":"^13.6.6","ts-jest":"^29.1.2","ts-node":"^10.9.2","typedoc":"^0.25.9","gh-pages":"^6.1.1","open-cli":"^8.0.0","prettier":"^3.2.5","typescript":"^5.3.3","@types/jest":"^29.5.12","@types/node":"^20.11.24","npm-run-all":"^4.1.5","@types/expect":"^24.3.0","@ava/typescript":"^4.1.0","standard-version":"^9.5.0","web-file-polyfill":"^1.0.4","eslint-plugin-import":"^2.29.1","eslint-config-prettier":"^8.10.0","jest-environment-jsdom":"^29.7.0","@typescript-eslint/parser":"^7.1.0","eslint-plugin-eslint-comments":"^3.2.0","@typescript-eslint/eslint-plugin":"^7.1.0","@istanbuljs/nyc-config-typescript":"^1.0.2"},"_npmOperationalInternal":{"tmp":"tmp/video-upload-sdk_1.2.1_1709886937245_0.4811173591544957","host":"s3://npm-registry-packages"}},"1.2.2":{"name":"@byteark/video-upload-sdk","version":"1.2.2","keywords":[],"license":"MIT","_id":"@byteark/video-upload-sdk@1.2.2","maintainers":[{"name":"kongtapp","email":"Kongtapp.V@ku.th"},{"name":"magmagcup","email":"sirawich.d@gmail.com"},{"name":"hayatoz","email":"hokiz.1999@gmail.com"},{"name":"champjss","email":"champjss@gmail.com"},{"name":"elvinxcs","email":"elvin@bstudio.click"},{"name":"nonth","email":"nonthz@gmail.com"}],"homepage":"https://github.com/byteark/video-upload-sdk-js#readme","bugs":{"url":"https://github.com/byteark/video-upload-sdk-js/issues"},"ava":{"files":["!build/module/**"],"timeout":"60s","failFast":true,"typescript":{"rewritePaths":{"src/":"build/main/"}}},"nyc":{"exclude":["**/*.spec.js"],"extends":"@istanbuljs/nyc-config-typescript"},"dist":{"shasum":"a7dd53c6a5f2067c9a7df63280f1ab3ad6910348","tarball":"https://registry.npmjs.org/@byteark/video-upload-sdk/-/video-upload-sdk-1.2.2.tgz","fileCount":36,"integrity":"sha512-idzUH/AnMeKm4V49TupB0EYiIPEJMXmSBqwleWPgeYs5tbQWMemUiTF8yexCdf1arQK0ICbWeZdleOvKi3/bNg==","signatures":[{"sig":"MEUCIGM6DX0eOG29LLXD9CGF8GCYokd1yQDx9nqTNEGi3GluAiEA5yU410eKzeSbmrJ1igp9mzkkCeZzU7NlgGIN1Juw/8E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":105751},"main":"build/main/index.js","module":"build/module/index.js","engines":{"node":">=16"},"gitHead":"515f22a9dc51e8e829de49c274c22dbc8e451dea","scripts":{"cov":"run-s build test:unit cov:html cov:lcov && open-cli coverage/index.html","doc":"run-s doc:html && open-cli build/docs/index.html","fix":"run-s fix:*","test":"run-s build test:*","build":"run-p build:*","version":"standard-version","cov:html":"nyc report --reporter=html","cov:lcov":"nyc report --reporter=lcov","cov:send":"run-s cov:lcov && codecov","doc:html":"typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --out build/docs","doc:json":"typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --json build/docs/typedoc.json","fix:lint":"eslint src --ext .ts --fix","check-cli":"run-s test diff-integration-tests check-integration-tests","cov:check":"nyc report && nyc check-coverage --lines 100 --functions 100 --branches 100","test:lint":"eslint src --ext .ts","test:unit":"jest","build:main":"tsc -p tsconfig.json","reset-hard":"git clean -dfx && git reset --hard && yarn","watch:test":"nyc --silent ava --watch","doc:publish":"gh-pages -m \"[ci skip] Updates\" -d build/docs","watch:build":"tsc -p tsconfig.json -w","build:module":"tsc -p tsconfig.module.json","fix:prettier":"prettier \"src/**/*.ts\" --write","test:prettier":"prettier \"src/**/*.ts\" --list-different","test:spelling":"cspell \"{README.md,.github/*.md,src/**/*.ts}\"","prepare-release":"run-s reset-hard test cov:check doc:html version doc:publish","diff-integration-tests":"mkdir -p diff && rm -rf diff/test && cp -r test diff/test && rm -rf diff/test/test-*/.git && cd diff && git init --quiet && git add -A && git commit --quiet --no-verify --allow-empty -m 'WIP' && echo '\\n\\nCommitted most recent integration test output in the \"diff\" directory. Review the changes with \"cd diff && git diff HEAD\" or your preferred git diff viewer.'","check-integration-tests":"run-s check-integration-test:*"},"typings":"build/main/index.d.ts","_npmUser":{"name":"elvinxcs","email":"elvin@bstudio.click"},"prettier":{"singleQuote":true},"repository":{"url":"git+https://github.com/byteark/video-upload-sdk-js.git","type":"git"},"_npmVersion":"10.4.0","description":"Uploading video files directly from user's browser to ByteArk Stream and Qoder","directories":{},"resolutions":{"minimist":"^1.2.8","handlebars":"^4.7.8","conventional-changelog-writer":"^7.0.1"},"_nodeVersion":"21.6.1","dependencies":{"tus-js-client":"^4.0.1","@bitauth/libauth":"^2.1.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^6.1.2","msw":"^2.2.2","nyc":"^15.1.0","jest":"^29.7.0","cspell":"^4.2.8","eslint":"^8.57.0","codecov":"^3.8.3","ts-jest":"^29.1.2","ts-node":"^10.9.2","typedoc":"^0.25.9","gh-pages":"^6.1.1","open-cli":"^8.0.0","prettier":"^3.2.5","typescript":"^5.3.3","@types/jest":"^29.5.12","@types/node":"^20.11.24","npm-run-all":"^4.1.5","@types/expect":"^24.3.0","@ava/typescript":"^4.1.0","standard-version":"^9.5.0","web-file-polyfill":"^1.0.4","eslint-plugin-import":"^2.29.1","eslint-config-prettier":"^8.10.0","jest-environment-jsdom":"^29.7.0","@typescript-eslint/parser":"^7.1.0","eslint-plugin-eslint-comments":"^3.2.0","@typescript-eslint/eslint-plugin":"^7.1.0","@istanbuljs/nyc-config-typescript":"^1.0.2"},"_npmOperationalInternal":{"tmp":"tmp/video-upload-sdk_1.2.2_1709889449259_0.6886936433668278","host":"s3://npm-registry-packages"}},"1.3.0-beta.1":{"name":"@byteark/video-upload-sdk","version":"1.3.0-beta.1","keywords":[],"license":"MIT","_id":"@byteark/video-upload-sdk@1.3.0-beta.1","maintainers":[{"name":"kongtapp","email":"Kongtapp.V@ku.th"},{"name":"magmagcup","email":"sirawich.d@gmail.com"},{"name":"hayatoz","email":"hokiz.1999@gmail.com"},{"name":"champjss","email":"champjss@gmail.com"},{"name":"elvinxcs","email":"elvin@bstudio.click"},{"name":"nonth","email":"nonthz@gmail.com"}],"homepage":"https://github.com/byteark/video-upload-sdk-js#readme","bugs":{"url":"https://github.com/byteark/video-upload-sdk-js/issues"},"ava":{"files":["!build/module/**"],"timeout":"60s","failFast":true,"typescript":{"rewritePaths":{"src/":"build/main/"}}},"nyc":{"exclude":["**/*.spec.js"],"extends":"@istanbuljs/nyc-config-typescript"},"dist":{"shasum":"ac21e40a59b866557ba4da1f7566ef7a366e64a7","tarball":"https://registry.npmjs.org/@byteark/video-upload-sdk/-/video-upload-sdk-1.3.0-beta.1.tgz","fileCount":40,"integrity":"sha512-n+IJOZuOburuAZoD7rkLlsm5Z5848L6lfAT41VVhSbPcvn0LK/JcPpqzs6DDKyR/YFCJbRS3s6zMutGO1zlUFA==","signatures":[{"sig":"MEYCIQD1ecf+MYkjC3KJXZ82G32yWo2IO78263wcoXEktXFfaQIhAPjOQqRcjCk4E/69VGnR7QD2565Pvy/nyJBDpLolK4bg","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":139744},"main":"build/main/index.js","module":"build/module/index.js","engines":{"node":">=16"},"gitHead":"99edb281c618b75ac2a6d859e9d9baa7f56d525a","scripts":{"cov":"run-s build test:unit cov:html cov:lcov && open-cli coverage/index.html","doc":"run-s doc:html && open-cli build/docs/index.html","fix":"run-s fix:*","test":"run-s build test:*","build":"run-p build:*","publish":"run-s test build publish","version":"standard-version","cov:html":"nyc report --reporter=html","cov:lcov":"nyc report --reporter=lcov","cov:send":"run-s cov:lcov && codecov","doc:html":"typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --out build/docs","doc:json":"typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --json build/docs/typedoc.json","fix:lint":"eslint src --ext .ts --fix","check-cli":"run-s test diff-integration-tests check-integration-tests","cov:check":"nyc report && nyc check-coverage --lines 100 --functions 100 --branches 100","test:lint":"eslint src --ext .ts","test:unit":"jest","build:main":"tsc -p tsconfig.json","reset-hard":"git clean -dfx && git reset --hard && yarn","watch:test":"nyc --silent ava --watch","doc:publish":"gh-pages -m \"[ci skip] Updates\" -d build/docs","watch:build":"tsc -p tsconfig.json -w","build:module":"tsc -p tsconfig.module.json","fix:prettier":"prettier \"src/**/*.ts\" --write","test:prettier":"prettier \"src/**/*.ts\" --list-different","test:spelling":"cspell \"{README.md,.github/*.md,src/**/*.ts}\"","prepare-release":"run-s reset-hard test cov:check doc:html version doc:publish","diff-integration-tests":"mkdir -p diff && rm -rf diff/test && cp -r test diff/test && rm -rf diff/test/test-*/.git && cd diff && git init --quiet && git add -A && git commit --quiet --no-verify --allow-empty -m 'WIP' && echo '\\n\\nCommitted most recent integration test output in the \"diff\" directory. Review the changes with \"cd diff && git diff HEAD\" or your preferred git diff viewer.'","check-integration-tests":"run-s check-integration-test:*"},"typings":"build/main/index.d.ts","_npmUser":{"name":"elvinxcs","email":"elvin@bstudio.click"},"prettier":{"singleQuote":true},"repository":{"url":"git+https://github.com/byteark/video-upload-sdk-js.git","type":"git"},"_npmVersion":"10.4.0","description":"Uploading video files directly from user's browser to ByteArk Stream and Qoder","directories":{},"resolutions":{"minimist":"^1.2.8","handlebars":"^4.7.8","conventional-changelog-writer":"^7.0.1"},"_nodeVersion":"21.6.1","dependencies":{"jose":"^5.2.3","tus-js-client":"^4.0.1","@bitauth/libauth":"^2.1.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^6.1.2","nyc":"^15.1.0","jest":"^29.7.0","cspell":"^4.2.8","eslint":"^8.57.0","codecov":"^3.8.3","ts-jest":"^29.1.2","ts-node":"^10.9.2","typedoc":"^0.25.9","gh-pages":"^6.1.1","open-cli":"^8.0.0","prettier":"^3.2.5","typescript":"^5.3.3","@types/jest":"^29.5.12","@types/node":"^20.11.30","npm-run-all":"^4.1.5","@types/expect":"^24.3.0","@ava/typescript":"^4.1.0","standard-version":"^9.5.0","web-file-polyfill":"^1.0.4","eslint-plugin-import":"^2.29.1","eslint-config-prettier":"^8.10.0","jest-environment-jsdom":"^29.7.0","@typescript-eslint/parser":"^7.1.0","eslint-plugin-eslint-comments":"^3.2.0","@typescript-eslint/eslint-plugin":"^7.1.0","@istanbuljs/nyc-config-typescript":"^1.0.2"},"_npmOperationalInternal":{"tmp":"tmp/video-upload-sdk_1.3.0-beta.1_1710922513562_0.8632419198552181","host":"s3://npm-registry-packages"}},"1.3.0-beta.2":{"name":"@byteark/video-upload-sdk","version":"1.3.0-beta.2","keywords":[],"license":"MIT","_id":"@byteark/video-upload-sdk@1.3.0-beta.2","maintainers":[{"name":"kongtapp","email":"Kongtapp.V@ku.th"},{"name":"magmagcup","email":"sirawich.d@gmail.com"},{"name":"hayatoz","email":"hokiz.1999@gmail.com"},{"name":"champjss","email":"champjss@gmail.com"},{"name":"elvinxcs","email":"elvin@bstudio.click"},{"name":"nonth","email":"nonthz@gmail.com"}],"homepage":"https://github.com/byteark/video-upload-sdk-js#readme","bugs":{"url":"https://github.com/byteark/video-upload-sdk-js/issues"},"ava":{"files":["!build/module/**"],"timeout":"60s","failFast":true,"typescript":{"rewritePaths":{"src/":"build/main/"}}},"nyc":{"exclude":["**/*.spec.js"],"extends":"@istanbuljs/nyc-config-typescript"},"dist":{"shasum":"d2403714b126417e271c4a4f61bfffef21e2b09a","tarball":"https://registry.npmjs.org/@byteark/video-upload-sdk/-/video-upload-sdk-1.3.0-beta.2.tgz","fileCount":40,"integrity":"sha512-GlC8DMMUGE+INJX7qSoNw8XwMTU3yZALVK480rDADc/wyWuU9cZV5M50HacIPPCnI7CtoeqKa/qx01FhG+nxfg==","signatures":[{"sig":"MEUCIQDVfB2o6t3/DhqjwFWa61HPwnkrDv+GXz4QjqaRMb0QFAIgNKqjilNJFU1Ys1EklbsRqJdWTi9BX48tlNAVQ2CKBwM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":139743},"main":"build/main/index.js","module":"build/module/index.js","engines":{"node":">=16"},"gitHead":"aaf1dd61558364cd2a8eb7d0bd7fa3ae02098a63","scripts":{"cov":"run-s build test:unit cov:html cov:lcov && open-cli coverage/index.html","doc":"run-s doc:html && open-cli build/docs/index.html","fix":"run-s fix:*","test":"run-s build test:*","build":"run-p build:*","version":"standard-version","cov:html":"nyc report --reporter=html","cov:lcov":"nyc report --reporter=lcov","cov:send":"run-s cov:lcov && codecov","doc:html":"typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --out build/docs","doc:json":"typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --json build/docs/typedoc.json","fix:lint":"eslint src --ext .ts --fix","check-cli":"run-s test diff-integration-tests check-integration-tests","cov:check":"nyc report && nyc check-coverage --lines 100 --functions 100 --branches 100","test:lint":"eslint src --ext .ts","test:unit":"jest","build:main":"tsc -p tsconfig.json","reset-hard":"git clean -dfx && git reset --hard && yarn","watch:test":"nyc --silent ava --watch","doc:publish":"gh-pages -m \"[ci skip] Updates\" -d build/docs","watch:build":"tsc -p tsconfig.json -w","build:module":"tsc -p tsconfig.module.json","fix:prettier":"prettier \"src/**/*.ts\" --write","test:prettier":"prettier \"src/**/*.ts\" --list-different","prepare-release":"run-s reset-hard test cov:check doc:html version doc:publish","diff-integration-tests":"mkdir -p diff && rm -rf diff/test && cp -r test diff/test && rm -rf diff/test/test-*/.git && cd diff && git init --quiet && git add -A && git commit --quiet --no-verify --allow-empty -m 'WIP' && echo '\\n\\nCommitted most recent integration test output in the \"diff\" directory. Review the changes with \"cd diff && git diff HEAD\" or your preferred git diff viewer.'","check-integration-tests":"run-s check-integration-test:*"},"typings":"build/main/index.d.ts","_npmUser":{"name":"elvinxcs","email":"elvin@bstudio.click"},"prettier":{"singleQuote":true},"repository":{"url":"git+https://github.com/byteark/video-upload-sdk-js.git","type":"git"},"_npmVersion":"10.4.0","description":"Uploading video files directly from user's browser to ByteArk Stream and Qoder","directories":{},"resolutions":{"minimist":"^1.2.8","handlebars":"^4.7.8","conventional-changelog-writer":"^7.0.1"},"_nodeVersion":"21.6.1","dependencies":{"jose":"^5.2.3","tus-js-client":"^4.0.1","@bitauth/libauth":"^2.1.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^6.1.2","nyc":"^15.1.0","jest":"^29.7.0","eslint":"^8.57.0","codecov":"^3.8.3","ts-jest":"^29.1.2","ts-node":"^10.9.2","typedoc":"^0.25.9","gh-pages":"^6.1.1","open-cli":"^8.0.0","prettier":"^3.2.5","typescript":"^5.3.3","@types/jest":"^29.5.12","@types/node":"^20.11.30","npm-run-all":"^4.1.5","@types/expect":"^24.3.0","@ava/typescript":"^4.1.0","standard-version":"^9.5.0","web-file-polyfill":"^1.0.4","eslint-plugin-import":"^2.29.1","eslint-config-prettier":"^8.10.0","jest-environment-jsdom":"^29.7.0","@typescript-eslint/parser":"^7.1.0","eslint-plugin-eslint-comments":"^3.2.0","@typescript-eslint/eslint-plugin":"^7.1.0","@istanbuljs/nyc-config-typescript":"^1.0.2"},"_npmOperationalInternal":{"tmp":"tmp/video-upload-sdk_1.3.0-beta.2_1710923705638_0.1660355781426266","host":"s3://npm-registry-packages"}},"1.3.0-beta.3":{"name":"@byteark/video-upload-sdk","version":"1.3.0-beta.3","keywords":[],"license":"MIT","_id":"@byteark/video-upload-sdk@1.3.0-beta.3","maintainers":[{"name":"kongtapp","email":"Kongtapp.V@ku.th"},{"name":"magmagcup","email":"sirawich.d@gmail.com"},{"name":"hayatoz","email":"hokiz.1999@gmail.com"},{"name":"champjss","email":"champjss@gmail.com"},{"name":"elvinxcs","email":"elvin@bstudio.click"},{"name":"nonth","email":"nonthz@gmail.com"}],"homepage":"https://github.com/byteark/video-upload-sdk-js#readme","bugs":{"url":"https://github.com/byteark/video-upload-sdk-js/issues"},"ava":{"files":["!build/module/**"],"timeout":"60s","failFast":true,"typescript":{"rewritePaths":{"src/":"build/main/"}}},"dist":{"shasum":"2c2a642b501ed5efa579156103ab4ba068d213d3","tarball":"https://registry.npmjs.org/@byteark/video-upload-sdk/-/video-upload-sdk-1.3.0-beta.3.tgz","fileCount":40,"integrity":"sha512-GxXxD3V9rcPsDD8USeTfEhUoehJBY8HA0hB2z7XfIfXnf8qJk/7/KSVu8ryMQ8m8kThl2EjMWLeIWEwRnh3NTg==","signatures":[{"sig":"MEUCIQDbFQy6kmcsAjkTE3hpeFJFoxsJlD1Z4XSWK1STb6m2awIgfNnm4BT67d6VEzAe2mcmnXmZRz+9NfoSPB+zlCfi2dY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":149183},"main":"build/main/index.js","types":"build/main/index.d.ts","module":"build/module/index.js","engines":{"node":">=16"},"gitHead":"abb24998dd4f1639375a3730de44e4cd56b7455e","scripts":{"fix":"run-s fix:*","test":"run-s build test:*","build":"run-p build:*","publish":"run-s test build publish","version":"release-please","fix:lint":"eslint src --ext .ts --fix","check-cli":"run-s test diff-integration-tests check-integration-tests","test:lint":"eslint src --ext .ts","test:unit":"jest","build:main":"tsc -p tsconfig.json","watch:test":"jest --watchAll","watch:build":"tsc -p tsconfig.json -w","build:module":"tsc -p tsconfig.module.json","fix:prettier":"prettier \"src/**/*.ts\" --write","test:prettier":"prettier \"src/**/*.ts\" --list-different","diff-integration-tests":"mkdir -p diff && rm -rf diff/test && cp -r test diff/test && rm -rf diff/test/test-*/.git && cd diff && git init --quiet && git add -A && git commit --quiet --no-verify --allow-empty -m 'WIP' && echo '\\n\\nCommitted most recent integration test output in the \"diff\" directory. Review the changes with \"cd diff && git diff HEAD\" or your preferred git diff viewer.'","check-integration-tests":"run-s check-integration-test:*"},"_npmUser":{"name":"elvinxcs","email":"elvin@bstudio.click"},"prettier":{"singleQuote":true},"repository":{"url":"git+https://github.com/byteark/video-upload-sdk-js.git","type":"git"},"_npmVersion":"10.4.0","description":"Uploading video files directly from user's browser to ByteArk Stream and Qoder","directories":{},"resolutions":{"minimist":"^1.2.8","handlebars":"^4.7.8","conventional-changelog-writer":"^7.0.1"},"_nodeVersion":"21.6.1","dependencies":{"jose":"^5.2.3","tus-js-client":"^4.0.1","@bitauth/libauth":"^2.1.0"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.1.0","jest":"^29.7.0","eslint":"^8.57.0","ts-jest":"^29.1.2","ts-node":"^10.9.2","typedoc":"^0.25.9","open-cli":"^8.0.0","prettier":"^3.2.5","typescript":"^5.3.3","@types/jest":"^29.5.12","@types/node":"^20.11.30","npm-run-all":"^4.1.5","@types/expect":"^24.3.0","release-please":"^16.10.1","@ava/typescript":"^4.1.0","jest-fetch-mock":"^3.0.3","web-file-polyfill":"^1.0.4","eslint-plugin-import":"^2.29.1","eslint-config-prettier":"^8.10.0","jest-environment-jsdom":"^29.7.0","@typescript-eslint/parser":"^7.1.0","eslint-plugin-eslint-comments":"^3.2.0","@typescript-eslint/eslint-plugin":"^7.1.0","@istanbuljs/nyc-config-typescript":"^1.0.2"},"_npmOperationalInternal":{"tmp":"tmp/video-upload-sdk_1.3.0-beta.3_1711282285437_0.12441285202345465","host":"s3://npm-registry-packages"}},"1.3.0-beta.4":{"name":"@byteark/video-upload-sdk","version":"1.3.0-beta.4","keywords":[],"license":"MIT","_id":"@byteark/video-upload-sdk@1.3.0-beta.4","maintainers":[{"name":"kongtapp","email":"Kongtapp.V@ku.th"},{"name":"magmagcup","email":"sirawich.d@gmail.com"},{"name":"hayatoz","email":"hokiz.1999@gmail.com"},{"name":"champjss","email":"champjss@gmail.com"},{"name":"elvinxcs","email":"elvin@bstudio.click"},{"name":"nonth","email":"nonthz@gmail.com"}],"homepage":"https://github.com/byteark/video-upload-sdk-js#readme","bugs":{"url":"https://github.com/byteark/video-upload-sdk-js/issues"},"ava":{"files":["!build/module/**"],"timeout":"60s","failFast":true,"typescript":{"rewritePaths":{"src/":"build/main/"}}},"dist":{"shasum":"e1e224f2868e63f0c2dc08556f1e6edf46485b62","tarball":"https://registry.npmjs.org/@byteark/video-upload-sdk/-/video-upload-sdk-1.3.0-beta.4.tgz","fileCount":40,"integrity":"sha512-MmA4+NwLd8kMG0bNXmFg+o+YcTRLXSrtAXZMe2hFnRxCatRB/li7XlXqVwFXGdPvXBPi9EdkCPJv0B7/ugPvHg==","signatures":[{"sig":"MEYCIQDc2chTZVZH0csBgCAwWJEj6SURRvBzNa40uxgnixG1lAIhAMsHYyZKuxRy2ii7/Wy1sVyfsEGcxWdrv2lqT+vV73ir","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":149183},"main":"build/main/index.js","types":"build/main/index.d.ts","module":"build/module/index.js","engines":{"node":">=16"},"gitHead":"2ab1cd8127c6e4f4f497f973333189d120e5f20a","scripts":{"fix":"run-s fix:*","test":"run-s build test:*","build":"run-p build:*","publish":"run-s test build publish","version":"release-please","fix:lint":"eslint src --ext .ts --fix","check-cli":"run-s test diff-integration-tests check-integration-tests","test:lint":"eslint src --ext .ts","test:unit":"jest","build:main":"tsc -p tsconfig.json","watch:test":"jest --watchAll","watch:build":"tsc -p tsconfig.json -w","build:module":"tsc -p tsconfig.module.json","fix:prettier":"prettier \"src/**/*.ts\" --write","test:prettier":"prettier \"src/**/*.ts\" --list-different","diff-integration-tests":"mkdir -p diff && rm -rf diff/test && cp -r test diff/test && rm -rf diff/test/test-*/.git && cd diff && git init --quiet && git add -A && git commit --quiet --no-verify --allow-empty -m 'WIP' && echo '\\n\\nCommitted most recent integration test output in the \"diff\" directory. Review the changes with \"cd diff && git diff HEAD\" or your preferred git diff viewer.'","check-integration-tests":"run-s check-integration-test:*"},"_npmUser":{"name":"elvinxcs","email":"elvin@bstudio.click"},"prettier":{"singleQuote":true},"repository":{"url":"git+https://github.com/byteark/video-upload-sdk-js.git","type":"git"},"_npmVersion":"10.4.0","description":"Uploading video files directly from user's browser to ByteArk Stream and Qoder","directories":{},"resolutions":{"minimist":"^1.2.8","handlebars":"^4.7.8","conventional-changelog-writer":"^7.0.1"},"_nodeVersion":"21.6.1","dependencies":{"jose":"^5.2.3","tus-js-client":"^4.0.1","@bitauth/libauth":"^2.1.0"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.1.0","jest":"^29.7.0","eslint":"^8.57.0","ts-jest":"^29.1.2","ts-node":"^10.9.2","typedoc":"^0.25.9","open-cli":"^8.0.0","prettier":"^3.2.5","typescript":"^5.3.3","@types/jest":"^29.5.12","@types/node":"^20.11.30","npm-run-all":"^4.1.5","@types/expect":"^24.3.0","release-please":"^16.10.1","@ava/typescript":"^4.1.0","jest-fetch-mock":"^3.0.3","web-file-polyfill":"^1.0.4","eslint-plugin-import":"^2.29.1","eslint-config-prettier":"^8.10.0","jest-environment-jsdom":"^29.7.0","@typescript-eslint/parser":"^7.1.0","eslint-plugin-eslint-comments":"^3.2.0","@typescript-eslint/eslint-plugin":"^7.1.0","@istanbuljs/nyc-config-typescript":"^1.0.2"},"_npmOperationalInternal":{"tmp":"tmp/video-upload-sdk_1.3.0-beta.4_1711282506954_0.3391090630351363","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"@byteark/video-upload-sdk","version":"1.3.0","keywords":[],"license":"MIT","_id":"@byteark/video-upload-sdk@1.3.0","maintainers":[{"name":"kongtapp","email":"Kongtapp.V@ku.th"},{"name":"magmagcup","email":"sirawich.d@gmail.com"},{"name":"hayatoz","email":"hokiz.1999@gmail.com"},{"name":"champjss","email":"champjss@gmail.com"},{"name":"elvinxcs","email":"elvin@bstudio.click"},{"name":"nonth","email":"nonthz@gmail.com"}],"homepage":"https://github.com/byteark/video-upload-sdk-js#readme","bugs":{"url":"https://github.com/byteark/video-upload-sdk-js/issues"},"ava":{"files":["!build/module/**"],"timeout":"60s","failFast":true,"typescript":{"rewritePaths":{"src/":"build/main/"}}},"dist":{"shasum":"d4657744ba93d07b2571a77e85759a180982ad57","tarball":"https://registry.npmjs.org/@byteark/video-upload-sdk/-/video-upload-sdk-1.3.0.tgz","fileCount":40,"integrity":"sha512-8i77Zb5XxC4aNE/5LnZPdc9BI9Dy9sm/6cJxwLtdz6nHSuPxJTmJvGyR4HCBNM7q8QBWaGC0JAlQzU/Un6nBvw==","signatures":[{"sig":"MEUCIQCP7tpPGkvG5AiN0km1tU84HMZ3N+L6R7S+2z+NkNsxDAIgboMHeHGQMBPr66e7KPZI3WC3jhCzLOKB+1HY4slLB5Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":149176},"main":"build/main/index.js","types":"build/main/index.d.ts","module":"build/module/index.js","engines":{"node":">=16"},"gitHead":"363d5b620e8fc5d65b02e1cd873f7dd8c15b1675","scripts":{"fix":"run-s fix:*","test":"run-s build test:*","build":"run-p build:*","publish":"run-s test build publish","version":"release-please","fix:lint":"eslint src --ext .ts --fix","check-cli":"run-s test diff-integration-tests check-integration-tests","test:lint":"eslint src --ext .ts","test:unit":"jest","build:main":"tsc -p tsconfig.json","watch:test":"jest --watchAll","watch:build":"tsc -p tsconfig.json -w","build:module":"tsc -p tsconfig.module.json","fix:prettier":"prettier \"src/**/*.ts\" --write","test:prettier":"prettier \"src/**/*.ts\" --list-different","diff-integration-tests":"mkdir -p diff && rm -rf diff/test && cp -r test diff/test && rm -rf diff/test/test-*/.git && cd diff && git init --quiet && git add -A && git commit --quiet --no-verify --allow-empty -m 'WIP' && echo '\\n\\nCommitted most recent integration test output in the \"diff\" directory. Review the changes with \"cd diff && git diff HEAD\" or your preferred git diff viewer.'","check-integration-tests":"run-s check-integration-test:*"},"_npmUser":{"name":"elvinxcs","email":"elvin@bstudio.click"},"prettier":{"singleQuote":true},"repository":{"url":"git+https://github.com/byteark/video-upload-sdk-js.git","type":"git"},"_npmVersion":"10.4.0","description":"Uploading video files directly from user's browser to ByteArk Stream and Qoder","directories":{},"resolutions":{"minimist":"^1.2.8","handlebars":"^4.7.8","conventional-changelog-writer":"^7.0.1"},"_nodeVersion":"21.6.1","dependencies":{"jose":"^5.2.3","tus-js-client":"^4.0.1","@bitauth/libauth":"^2.1.0"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.1.0","jest":"^29.7.0","eslint":"^8.57.0","ts-jest":"^29.1.2","ts-node":"^10.9.2","typedoc":"^0.25.9","open-cli":"^8.0.0","prettier":"^3.2.5","typescript":"^5.3.3","@types/jest":"^29.5.12","@types/node":"^20.11.30","npm-run-all":"^4.1.5","@types/expect":"^24.3.0","release-please":"^16.10.1","@ava/typescript":"^4.1.0","jest-fetch-mock":"^3.0.3","web-file-polyfill":"^1.0.4","eslint-plugin-import":"^2.29.1","eslint-config-prettier":"^8.10.0","jest-environment-jsdom":"^29.7.0","@typescript-eslint/parser":"^7.1.0","eslint-plugin-eslint-comments":"^3.2.0","@typescript-eslint/eslint-plugin":"^7.1.0","@istanbuljs/nyc-config-typescript":"^1.0.2"},"_npmOperationalInternal":{"tmp":"tmp/video-upload-sdk_1.3.0_1711335666767_0.8294808899425152","host":"s3://npm-registry-packages"}},"1.3.1-beta.1":{"name":"@byteark/video-upload-sdk","version":"1.3.1-beta.1","keywords":[],"license":"MIT","_id":"@byteark/video-upload-sdk@1.3.1-beta.1","maintainers":[{"name":"kongtapp","email":"Kongtapp.V@ku.th"},{"name":"magmagcup","email":"sirawich.d@gmail.com"},{"name":"hayatoz","email":"hokiz.1999@gmail.com"},{"name":"champjss","email":"champjss@gmail.com"},{"name":"elvinxcs","email":"elvin@bstudio.click"},{"name":"nonth","email":"nonthz@gmail.com"}],"homepage":"https://github.com/byteark/video-upload-sdk-js#readme","bugs":{"url":"https://github.com/byteark/video-upload-sdk-js/issues"},"dist":{"shasum":"f9d74ea69001ea0e50a130fb4e0ea545d7bf4f93","tarball":"https://registry.npmjs.org/@byteark/video-upload-sdk/-/video-upload-sdk-1.3.1-beta.1.tgz","fileCount":44,"integrity":"sha512-XGHs2LfhDHC3C3hv0zX6cvACeDXPToaMuewp0aC7++uRxoPUDcC/s6IiiOkKAQ738Er1clKpBjKnK8KkqhFMqw==","signatures":[{"sig":"MEUCIQDr3M4vvqfuZwLly38M7MW8ubJxUsWujd4kxq/MVq6PkAIgfyuIPqk+P8MYl+QEwPAoU9FDqxUE1CtB6OxudYsHVfk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":160961},"main":"build/main/index.js","types":"build/main/index.d.ts","module":"build/module/index.js","engines":{"node":">=16"},"gitHead":"fe33b430460afa1b915fccf2fb4c3fb351f20af6","scripts":{"fix":"run-s fix:*","test":"run-s build test:*","build":"run-p build:*","version":"release-please","fix:lint":"eslint src --ext .ts --fix","check-cli":"run-s test diff-integration-tests check-integration-tests","test:lint":"eslint src --ext .ts","test:unit":"jest","build:main":"tsc -p tsconfig.json","prepublish":"run-s test build","watch:test":"jest --watchAll","watch:build":"tsc -p tsconfig.json -w","build:module":"tsc -p tsconfig.module.json","fix:prettier":"prettier \"src/**/*.ts\" --write","test:prettier":"prettier \"src/**/*.ts\" --list-different","diff-integration-tests":"mkdir -p diff && rm -rf diff/test && cp -r test diff/test && rm -rf diff/test/test-*/.git && cd diff && git init --quiet && git add -A && git commit --quiet --no-verify --allow-empty -m 'WIP' && echo '\\n\\nCommitted most recent integration test output in the \"diff\" directory. Review the changes with \"cd diff && git diff HEAD\" or your preferred git diff viewer.'","check-integration-tests":"run-s check-integration-test:*"},"_npmUser":{"name":"elvinxcs","email":"elvin@bstudio.click"},"prettier":{"singleQuote":true},"repository":{"url":"git+https://github.com/byteark/video-upload-sdk-js.git","type":"git"},"_npmVersion":"10.4.0","description":"Uploading video files directly from user's browser to ByteArk Stream and Qoder","directories":{},"resolutions":{"minimist":"^1.2.8","handlebars":"^4.7.8","conventional-changelog-writer":"^7.0.1"},"_nodeVersion":"21.6.1","dependencies":{"jose":"^5.2.3","tus-js-client":"^4.0.1","@bitauth/libauth":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","eslint":"^8.57.0","ts-jest":"^29.1.2","ts-node":"^10.9.2","typedoc":"^0.25.9","open-cli":"^8.0.0","prettier":"^3.2.5","typescript":"^5.4.3","@types/jest":"^29.5.12","@types/node":"^20.11.30","npm-run-all":"^4.1.5","@types/expect":"^24.3.0","release-please":"^16.10.1","jest-fetch-mock":"^3.0.3","eslint-plugin-import":"^2.29.1","eslint-config-prettier":"^8.10.0","jest-environment-jsdom":"^29.7.0","@typescript-eslint/parser":"^7.1.0","eslint-plugin-eslint-comments":"^3.2.0","@typescript-eslint/eslint-plugin":"^7.1.0"},"_npmOperationalInternal":{"tmp":"tmp/video-upload-sdk_1.3.1-beta.1_1711530907466_0.845094181652581","host":"s3://npm-registry-packages"}},"1.3.1":{"name":"@byteark/video-upload-sdk","version":"1.3.1","keywords":[],"license":"MIT","_id":"@byteark/video-upload-sdk@1.3.1","maintainers":[{"name":"kongtapp","email":"Kongtapp.V@ku.th"},{"name":"magmagcup","email":"sirawich.d@gmail.com"},{"name":"hayatoz","email":"hokiz.1999@gmail.com"},{"name":"champjss","email":"champjss@gmail.com"},{"name":"elvinxcs","email":"elvin@bstudio.click"},{"name":"nonth","email":"nonthz@gmail.com"}],"homepage":"https://github.com/byteark/video-upload-sdk-js#readme","bugs":{"url":"https://github.com/byteark/video-upload-sdk-js/issues"},"dist":{"shasum":"6cb6c48e93c4760cc74118d67b6c844660c63d12","tarball":"https://registry.npmjs.org/@byteark/video-upload-sdk/-/video-upload-sdk-1.3.1.tgz","fileCount":44,"integrity":"sha512-lv4B2ysgEZs6JUe5CVbtOkBemoM/XB3+Su7LjpbLgtlot1c0lfE+MLb28Uaiv8uR29jSWa2fO59gIYvGyIGLXg==","signatures":[{"sig":"MEYCIQCsvEDQmO8mw2jNlSeEwCR218/mqs0d+TsZYIG3bfIrSAIhAP2Mj0bQDJZDe0xWwuEFb6jmu8Te6oaukOvUrWpOQlZg","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":161860},"main":"build/main/index.js","types":"build/main/index.d.ts","module":"build/module/index.js","engines":{"node":">=16"},"gitHead":"66d3e3a714afe744c39726a746375aaef8fee9e6","scripts":{"fix":"run-s fix:*","test":"run-s build test:*","build":"run-p build:*","version":"release-please","fix:lint":"eslint src --ext .ts --fix","check-cli":"run-s test diff-integration-tests check-integration-tests","test:lint":"eslint src --ext .ts","test:unit":"jest","build:main":"tsc -p tsconfig.json","prepublish":"run-s test build","watch:test":"jest --watchAll","watch:build":"tsc -p tsconfig.json -w","build:module":"tsc -p tsconfig.module.json","fix:prettier":"prettier \"src/**/*.ts\" --write","test:prettier":"prettier \"src/**/*.ts\" --list-different","diff-integration-tests":"mkdir -p diff && rm -rf diff/test && cp -r test diff/test && rm -rf diff/test/test-*/.git && cd diff && git init --quiet && git add -A && git commit --quiet --no-verify --allow-empty -m 'WIP' && echo '\\n\\nCommitted most recent integration test output in the \"diff\" directory. Review the changes with \"cd diff && git diff HEAD\" or your preferred git diff viewer.'","check-integration-tests":"run-s check-integration-test:*"},"_npmUser":{"name":"elvinxcs","email":"elvin@bstudio.click"},"prettier":{"singleQuote":true},"repository":{"url":"git+https://github.com/byteark/video-upload-sdk-js.git","type":"git"},"_npmVersion":"10.4.0","description":"Uploading video files directly from user's browser to ByteArk Stream and Qoder","directories":{},"resolutions":{"minimist":"^1.2.8","handlebars":"^4.7.8","conventional-changelog-writer":"^7.0.1"},"_nodeVersion":"21.6.1","dependencies":{"jose":"^5.2.3","tus-js-client":"^4.0.1","@bitauth/libauth":"^2.1.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^8.57.0","ts-jest":"^29.1.2","ts-node":"^10.9.2","typedoc":"^0.25.9","open-cli":"^8.0.0","prettier":"^3.2.5","typescript":"^5.4.3","@types/jest":"^29.5.12","@types/node":"^20.11.30","npm-run-all":"^4.1.5","@types/expect":"^24.3.0","release-please":"^16.10.1","jest-fetch-mock":"^3.0.3","eslint-plugin-import":"^2.29.1","eslint-config-prettier":"^8.10.0","jest-environment-jsdom":"^29.7.0","@typescript-eslint/parser":"^7.1.0","eslint-plugin-eslint-comments":"^3.2.0","@typescript-eslint/eslint-plugin":"^7.1.0"},"_npmOperationalInternal":{"tmp":"tmp/video-upload-sdk_1.3.1_1711694418541_0.6238814246034874","host":"s3://npm-registry-packages"}},"1.3.2":{"name":"@byteark/video-upload-sdk","version":"1.3.2","keywords":[],"license":"MIT","_id":"@byteark/video-upload-sdk@1.3.2","maintainers":[{"name":"champjss","email":"champjss@gmail.com"},{"name":"elvinxcs","email":"elvin@bstudio.click"},{"name":"nonth","email":"nonthz@gmail.com"},{"name":"hayatoz","email":"hokiz.1999@gmail.com"},{"name":"magmagcup","email":"sirawich.d@gmail.com"},{"name":"maxmurr","email":"maxmurr.m@gmail.com"}],"homepage":"https://github.com/byteark/video-upload-sdk-js#readme","bugs":{"url":"https://github.com/byteark/video-upload-sdk-js/issues"},"dist":{"shasum":"32192e1a32fc4981fb1ddf17680c1978a101760d","tarball":"https://registry.npmjs.org/@byteark/video-upload-sdk/-/video-upload-sdk-1.3.2.tgz","fileCount":44,"integrity":"sha512-fjfUQqm0cZMEwogjOkLSoIXsVjKHv80PhhnGaxCJfRWXgFElGUkp3n8T7LXAANKDKwoEcCKPeXxQXYTQPHkrYg==","signatures":[{"sig":"MEUCIQCG4HyJsH9qQVsoJjdJ0Bbe/hYc9dY3FTGF7Cd+mn02SQIgeY5iFxB9aegFfS10+Uba3zABIgI0wGmS9Nceu8qXl3o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":161860},"main":"build/main/index.js","types":"build/main/index.d.ts","module":"build/module/index.js","engines":{"node":">=16"},"gitHead":"5867b77531f9aa7d7930a8625c423de32e9dd2a1","scripts":{"fix":"run-s fix:*","test":"run-s build test:*","build":"run-p build:*","version":"release-please","fix:lint":"eslint src --ext .ts --fix","check-cli":"run-s test diff-integration-tests check-integration-tests","test:lint":"eslint src --ext .ts","test:unit":"jest","build:main":"tsc -p tsconfig.json","prepublish":"run-s test build","watch:test":"jest --watchAll","watch:build":"tsc -p tsconfig.json -w","build:module":"tsc -p tsconfig.module.json","fix:prettier":"prettier \"src/**/*.ts\" --write","test:prettier":"prettier \"src/**/*.ts\" --list-different","diff-integration-tests":"mkdir -p diff && rm -rf diff/test && cp -r test diff/test && rm -rf diff/test/test-*/.git && cd diff && git init --quiet && git add -A && git commit --quiet --no-verify --allow-empty -m 'WIP' && echo '\\n\\nCommitted most recent integration test output in the \"diff\" directory. Review the changes with \"cd diff && git diff HEAD\" or your preferred git diff viewer.'","check-integration-tests":"run-s check-integration-test:*"},"_npmUser":{"name":"champjss","email":"champjss@gmail.com"},"prettier":{"singleQuote":true},"repository":{"url":"git+https://github.com/byteark/video-upload-sdk-js.git","type":"git"},"_npmVersion":"11.6.0","description":"Uploading video files directly from user's browser to ByteArk Stream and Qoder","directories":{},"resolutions":{"minimist":"^1.2.8","handlebars":"^4.7.8","conventional-changelog-writer":"^7.0.1"},"_nodeVersion":"24.8.0","dependencies":{"jose":"^5.2.3","tus-js-client":"^4.0.1","@bitauth/libauth":"^2.1.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^8.57.0","ts-jest":"^29.1.2","ts-node":"^10.9.2","typedoc":"^0.25.9","open-cli":"^8.0.0","prettier":"^3.2.5","typescript":"^5.4.3","@types/jest":"^29.5.12","@types/node":"^20.11.30","npm-run-all":"^4.1.5","@types/expect":"^24.3.0","release-please":"^16.10.1","jest-fetch-mock":"^3.0.3","eslint-plugin-import":"^2.29.1","eslint-config-prettier":"^8.10.0","jest-environment-jsdom":"^29.7.0","@typescript-eslint/parser":"^7.1.0","eslint-plugin-eslint-comments":"^3.2.0","@typescript-eslint/eslint-plugin":"^7.1.0"},"_npmOperationalInternal":{"tmp":"tmp/video-upload-sdk_1.3.2_1758944561402_0.7497068155824838","host":"s3://npm-registry-packages-npm-production"}},"1.3.4":{"name":"@byteark/video-upload-sdk","version":"1.3.4","keywords":[],"license":"MIT","_id":"@byteark/video-upload-sdk@1.3.4","maintainers":[{"name":"champjss","email":"champjss@gmail.com"},{"name":"elvinxcs","email":"elvin@bstudio.click"},{"name":"nonth","email":"nonthz@gmail.com"},{"name":"hayatoz","email":"hokiz.1999@gmail.com"},{"name":"magmagcup","email":"sirawich.d@gmail.com"},{"name":"maxmurr","email":"maxmurr.m@gmail.com"}],"homepage":"https://github.com/byteark/video-upload-sdk-js#readme","bugs":{"url":"https://github.com/byteark/video-upload-sdk-js/issues"},"dist":{"shasum":"af45ba1083e85d89f198184ffaecd0c3fcf3b599","tarball":"https://registry.npmjs.org/@byteark/video-upload-sdk/-/video-upload-sdk-1.3.4.tgz","fileCount":44,"integrity":"sha512-lnK5Emi24JN2JWPYKPoco9BZE2gYXTkMhjrUrHDQTYQiO9SoF50QP972j9pvIq7y3Xc2/ICU4PPfTbyTwDja5g==","signatures":[{"sig":"MEUCIQCmgTarFB8Gm+ElGvWRUKimRgZOn9XDdOe5TGzil91pqAIgLVhTrRh8CsZ3fDcYRBg8qqSJWBQlV77l3Z6J+laB0KM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":162329},"main":"build/main/index.js","types":"build/main/index.d.ts","module":"build/module/index.js","engines":{"node":">=16"},"gitHead":"47bbe44006ecd791b4b7b5c6df76cdfcfb0cd2f5","scripts":{"fix":"run-s fix:*","test":"run-s build test:*","build":"run-p build:*","version":"release-please","fix:lint":"eslint src --ext .ts --fix","check-cli":"run-s test diff-integration-tests check-integration-tests","test:lint":"eslint src --ext .ts","test:unit":"jest","build:main":"tsc -p tsconfig.json","prepublish":"run-s test build","watch:test":"jest --watchAll","watch:build":"tsc -p tsconfig.json -w","build:module":"tsc -p tsconfig.module.json","fix:prettier":"prettier \"src/**/*.ts\" --write","test:prettier":"prettier \"src/**/*.ts\" --list-different","diff-integration-tests":"mkdir -p diff && rm -rf diff/test && cp -r test diff/test && rm -rf diff/test/test-*/.git && cd diff && git init --quiet && git add -A && git commit --quiet --no-verify --allow-empty -m 'WIP' && echo '\\n\\nCommitted most recent integration test output in the \"diff\" directory. Review the changes with \"cd diff && git diff HEAD\" or your preferred git diff viewer.'","check-integration-tests":"run-s check-integration-test:*"},"_npmUser":{"name":"champjss","email":"champjss@gmail.com"},"prettier":{"singleQuote":true},"repository":{"url":"git+https://github.com/byteark/video-upload-sdk-js.git","type":"git"},"_npmVersion":"11.6.0","description":"Uploading video files directly from user's browser to ByteArk Stream and Qoder","directories":{},"resolutions":{"minimist":"^1.2.8","handlebars":"^4.7.8","conventional-changelog-writer":"^7.0.1"},"_nodeVersion":"24.8.0","dependencies":{"jose":"^5.2.3","tus-js-client":"^4.0.1","@bitauth/libauth":"^2.1.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^8.57.0","ts-jest":"^29.1.2","ts-node":"^10.9.2","typedoc":"^0.25.9","open-cli":"^8.0.0","prettier":"^3.2.5","typescript":"^5.4.3","@types/jest":"^29.5.12","@types/node":"^20.11.30","npm-run-all":"^4.1.5","@types/expect":"^24.3.0","release-please":"^16.10.1","jest-fetch-mock":"^3.0.3","eslint-plugin-import":"^2.29.1","eslint-config-prettier":"^8.10.0","jest-environment-jsdom":"^29.7.0","@typescript-eslint/parser":"^7.1.0","eslint-plugin-eslint-comments":"^3.2.0","@typescript-eslint/eslint-plugin":"^7.1.0"},"_npmOperationalInternal":{"tmp":"tmp/video-upload-sdk_1.3.4_1758949287865_0.7938473224884282","host":"s3://npm-registry-packages-npm-production"}},"1.3.5":{"name":"@byteark/video-upload-sdk","version":"1.3.5","keywords":[],"license":"MIT","_id":"@byteark/video-upload-sdk@1.3.5","maintainers":[{"name":"champjss","email":"champjss@gmail.com"},{"name":"tawanchai","email":"tawanchai_champ@hotmail.com"},{"name":"elvinxcs","email":"elvin@bstudio.click"},{"name":"nonth","email":"nonthz@gmail.com"},{"name":"magmagcup","email":"sirawich.d@gmail.com"},{"name":"maxmurr","email":"maxmurr.m@gmail.com"}],"homepage":"https://github.com/byteark/video-upload-sdk-js#readme","bugs":{"url":"https://github.com/byteark/video-upload-sdk-js/issues"},"dist":{"shasum":"80af07b184d365e1152c5c975ab03426eb77fa6d","tarball":"https://registry.npmjs.org/@byteark/video-upload-sdk/-/video-upload-sdk-1.3.5.tgz","fileCount":44,"integrity":"sha512-kOS1JYNFoQmSjo2lQV40ywJ5G1LnNaUGqjhVw/6cxMnqo6iHR9/D6evKFEDLbU1lfvMePY89iLCud/9Mn4v/0g==","signatures":[{"sig":"MEYCIQCsxGb1aU9ZB9fyM+wOEbvD2I/JucbAjPxxItvOC1iS5QIhAI+Z8gGWCAatDQhs4BMlz8x3dIcje+bIc+Hzv+h0PGrh","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":168211},"main":"build/main/index.js","types":"build/main/index.d.ts","module":"build/module/index.js","engines":{"node":">=16"},"gitHead":"c9559a82eca9ecf5caecd9b003180fdbe36aa058","scripts":{"fix":"run-s fix:*","test":"run-s build test:*","build":"run-p build:*","version":"release-please","fix:lint":"eslint src --ext .ts --fix","check-cli":"run-s test diff-integration-tests check-integration-tests","test:lint":"eslint src --ext .ts","test:unit":"jest","build:main":"tsc -p tsconfig.json","prepublish":"run-s test build","watch:test":"jest --watchAll","watch:build":"tsc -p tsconfig.json -w","build:module":"tsc -p tsconfig.module.json","fix:prettier":"prettier \"src/**/*.ts\" --write","test:prettier":"prettier \"src/**/*.ts\" --list-different","diff-integration-tests":"mkdir -p diff && rm -rf diff/test && cp -r test diff/test && rm -rf diff/test/test-*/.git && cd diff && git init --quiet && git add -A && git commit --quiet --no-verify --allow-empty -m 'WIP' && echo '\\n\\nCommitted most recent integration test output in the \"diff\" directory. Review the changes with \"cd diff && git diff HEAD\" or your preferred git diff viewer.'","check-integration-tests":"run-s check-integration-test:*"},"_npmUser":{"name":"tawanchai","email":"tawanchai_champ@hotmail.com"},"prettier":{"singleQuote":true},"repository":{"url":"git+https://github.com/byteark/video-upload-sdk-js.git","type":"git"},"_npmVersion":"10.1.0","description":"Uploading video files directly from user's browser to ByteArk Stream and Qoder","directories":{},"resolutions":{"minimist":"^1.2.8","handlebars":"^4.7.8","conventional-changelog-writer":"^7.0.1"},"_nodeVersion":"20.8.0","dependencies":{"jose":"^5.2.3","tus-js-client":"^4.0.1","@bitauth/libauth":"^2.1.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^8.57.0","ts-jest":"^29.1.2","ts-node":"^10.9.2","typedoc":"^0.25.9","open-cli":"^8.0.0","prettier":"^3.2.5","typescript":"^5.4.3","@types/jest":"^29.5.12","@types/node":"^20.11.30","npm-run-all":"^4.1.5","@types/expect":"^24.3.0","release-please":"^16.10.1","jest-fetch-mock":"^3.0.3","eslint-plugin-import":"^2.29.1","eslint-config-prettier":"^8.10.0","jest-environment-jsdom":"^29.7.0","@typescript-eslint/parser":"^7.1.0","eslint-plugin-eslint-comments":"^3.2.0","@typescript-eslint/eslint-plugin":"^7.1.0"},"_npmOperationalInternal":{"tmp":"tmp/video-upload-sdk_1.3.5_1761716019371_0.8843045741929236","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2022-04-27T08:21:08.427Z","modified":"2026-02-23T03:16:37.869Z","1.0.0":"2022-04-27T08:21:08.650Z","1.2.1":"2024-03-08T08:35:37.443Z","1.2.2":"2024-03-08T09:17:29.401Z","1.3.0-beta.1":"2024-03-20T08:15:13.718Z","1.3.0-beta.2":"2024-03-20T08:35:05.782Z","1.3.0-beta.3":"2024-03-24T12:11:25.608Z","1.3.0-beta.4":"2024-03-24T12:15:07.121Z","1.3.0":"2024-03-25T03:01:06.946Z","1.3.1-beta.1":"2024-03-27T09:15:07.610Z","1.3.1":"2024-03-29T06:40:18.680Z","1.3.2":"2025-09-27T03:42:41.606Z","1.3.3":"2025-09-27T04:02:16.870Z","1.3.34":"2025-09-27T04:55:19.288Z","1.3.4":"2025-09-27T05:01:28.067Z","1.3.5":"2025-10-29T05:33:39.571Z"},"bugs":{"url":"https://github.com/byteark/video-upload-sdk-js/issues"},"license":"MIT","homepage":"https://github.com/byteark/video-upload-sdk-js#readme","keywords":[],"repository":{"url":"git+https://github.com/byteark/video-upload-sdk-js.git","type":"git"},"description":"Uploading video files directly from user's browser to ByteArk Stream and Qoder","maintainers":[{"email":"champjss@gmail.com","name":"champjss"},{"email":"tawanchai_champ@hotmail.com","name":"tawanchai"},{"email":"elvin@bstudio.click","name":"elvinxcs"},{"email":"nonthz@gmail.com","name":"nonth"},{"email":"sirawich.d@gmail.com","name":"magmagcup"},{"email":"sprintf.null@gmail.com","name":"cheemsdoge"},{"email":"maxmurr.m@gmail.com","name":"maxmurray"}],"readme":"# ByteArk Stream Video Upload SDK\n\nUploading video files directly from user's browser to ByteArk Stream\nand ByteArk Qoder service.\n\n⚠️ For users who are using Video Upload SDK v1.2.3 and earlier, please refer the [Migration Guide](#v13-migration-guide) for migrating to v1.3.0 and newer. ⚠️\n\n## Installation\n\nFor Yarn:\n\n```\nyarn add @byteark/video-upload-sdk\n```\n\nFor npm:\n\n```\nnpm install --save @byteark/video-upload-sdk\n```\n\n## Usage\n\n### Example Code\n\n```ts\nimport { VideoUploadManager } from '@byteark/video-upload-sdk';\n\nasync function main() {\n  // Initialize the SDK\n  const uploadManager = new VideoUploadManager({\n    // SDK Options\n    serviceName: 'byteark.stream' | 'byteark.qoder',\n    serviceEndpoint:\n      'https://stream.byteark.com' | 'https://qoder.byteark.com/apps/<appId>/ajax',\n    formId: '<formId(Stream)>' | '<appId(Qoder)>',\n    formSecret: '<formSecret>',\n    projectKey: '<projectKey(Stream)>' | '<projectId(Qoder)>',\n    overlayPresetId: 'overlayPresetId(Stream)',\n\n    // Callback Functions\n    onUploadProgress: (job: UploadJob, progress: UploadProgress) => {\n      // Called when video uploading has a progress.\n    },\n    onUploadCompleted: (job: UploadJob) => {\n      // Called when a video has uploaded.\n    },\n    onUploadFailed: (job: UploadJob, error: Error | DetailedError) => {\n      // Called when video uploading failed (cannot retry).\n    },\n    onVideosCreated: (videoKeys: string[]) => {\n      // Called after all videos are created on our service.\n    },\n  });\n\n  // An example use case\n  uploadManager.addUploadJobs(fileList);\n  await uploadManager.start();\n}\n\nmain();\n```\n\n## SDK Options\n\n### For ByteArk Stream\n\nYou are required to [create a form upload](https://docs.byteark.com/th/stream/developer-forms.html#%E0%B8%82%E0%B8%B1%E0%B9%89%E0%B8%99%E0%B8%95%E0%B8%AD%E0%B8%99%E0%B8%97%E0%B8%B5%E0%B9%88-1-%E0%B8%AA%E0%B8%A3%E0%B9%89%E0%B8%B2%E0%B8%87%E0%B9%81%E0%B8%9A%E0%B8%9A%E0%B8%9F%E0%B8%AD%E0%B8%A3%E0%B9%8C%E0%B8%A1%E0%B8%AD%E0%B8%B1%E0%B8%9B%E0%B9%82%E0%B8%AB%E0%B8%A5%E0%B8%94%E0%B8%82%E0%B8%AD%E0%B8%87%E0%B8%84%E0%B8%B8%E0%B8%93%E0%B9%83%E0%B8%99-byteark-stream) to use this SDK. You will obtain `formId` and `formSecret` after creating the form.\n\n- **serviceName**: Please use `byteark.stream`\n- **serviceEndpoint**: An optional field, you can customize an endpoint here. A default value is `https://stream.byteark.com`\n- **formId**: Please use your form upload's `formId`\n- **formSecret**: Please use your form upload's `formSecret`\n- **projectKey**: Please use the `projectKey` that you want to upload videos into. Please refer to this [documentation](https://docs.byteark.com/th/stream/project-management-overview.html#%E0%B8%A7%E0%B8%B4%E0%B8%98%E0%B8%B5%E0%B8%99%E0%B9%8D%E0%B8%B2%E0%B8%84%E0%B8%B5%E0%B8%A2%E0%B9%8C%E0%B8%82%E0%B8%AD%E0%B8%87%E0%B9%82%E0%B8%9B%E0%B8%A3%E0%B9%80%E0%B8%88%E0%B8%81%E0%B8%95%E0%B9%8C%E0%B9%84%E0%B8%9B%E0%B9%83%E0%B8%8A%E0%B9%89%E0%B8%87%E0%B8%B2%E0%B8%99) to get your project key.\n- **overlayPresetId**: Please use the `overlayPresetId` if you want to add an overlay to all videos uploaded through this form.\n\n### For ByteArk Qoder (Legacy)\n\nByteArk Qoder is our legacy service. Please contact ByteArk admin for Qoder's `appId` and `appSecret`.\n\n- **serviceName**: Please use `byteark.qoder`\n- **serviceEndpoint**: An optional field, you can customize an endpoint here. A default value is `https://qoder.byteark.com/apps/<appId>/ajax`\n- **formId**: Please use `appId`\n- **formSecret**: Please use `appSecret`\n- **projectKey**: Please use the project's ID that you want to upload videos into.\n\n## Getters\n\n| Name                    | Returns                | Description                                              |\n| ----------------------- | ---------------------- | -------------------------------------------------------- |\n| getJobQueue             | UploadJob[]            | Returns a job queue array.                               |\n| getJobByUploadId        | UploadJob \\| undefined | Returns a job that matches the provided uploadId.        |\n| getIsUploadStarted      | boolean                | Returns true if any upload job has started.              |\n| getIsAllUploadCancelled | boolean                | Returns true if all jobs in a queue have been cancelled. |\n\n## Methods\n\n### addUploadJobs(files: FileList | File[] | VideoFileObject[]): `Promise<void>`\n\nAdd videos that you want to upload. The SDK will create videos from the inputted files, trigger \"onVideosCreated\" callback, and add them to a job queue.\n\n#### Parameters\n\n`files` can be `FileList`, `File[]`,  or `VideoFileObject[]` type.\n- You can simply use an array of `File` or `FileList` to upload videos. Your video titles will be a name of the uploaded file.\n- You can use `VideoFileObject` if you want to specify more details to your video. `VideoFileObject` is an object containing the following fields:\n  - `file`: Your video file.\n  - `videoMetadata`: An object containing any pair of string value, with no required fields. Example object fields are:\n    - `title` A title of your video.\n    - `tags` Tags of your video.\n  - `useOverlayPreset`: If you set `overlayPresetId`, you can send `useOverlayPreset: true` to mark that this video will use the overlay preset. \n\n### setOptions(newOptions: UploadManagerOptions): `void`\n\nSet a new options to VideoUploadManager. This operation cannot be done when any upload job has already started.\n\n### start(): `Promise<void>`\n\nStart uploading from a job queue.\n\n### pauseUploadById(uploadId: UploadId): `Promise<UploadJob>`\n\nPause a job by the provided uploadId.\n\nThis method throws an error when a job with the provided uploadId cannot be found.\n\n### resumeUploadById(uploadId: UploadId): `Promise<UploadJob>`\n\nResume a job by the provided uploadId.\n\nThis method throws an error when a job with the provided uploadId cannot be found.\n\n### cancelUploadById(uploadId: UploadId): `Promise<UploadJob>`\n\nCancel a job by the provided uploadId.\n\nThis method throws an error when a job with the provided uploadId cannot be found.\n\n### cancelAll(): `Promise<void>`\n\nCancel all jobs in a job queue.\n\n## Callbacks\n\n### onVideosCreated(videoKeys: string[])\n\nTriggers after all videos are created on our service, which will happen after calling `addUploadJobs(files)` method.\n\n### onUploadStarted(job: UploadJob)\n\nTriggers after the first upload job started uploading.\n\n### onUploadProgress(job: UploadJob, progress: UploadProgress)\n\nTriggers periodically when upload job(s) are being uploaded.\n\n### onUploadCompleted(job: UploadJob)\n\nTriggers after all upload jobs finished uploading.\n\n### onUploadFailed(job: UploadJob, error: Error | DetailedError)\n\nTriggers when something happened while uploading and halted the uploader.\n\n## Example Application\n\nWe have an example application in\n\n- React: [./examples/video-upload-react/src/App.js](/examples/video-upload-react).\n\n## v1.3 Migration Guide\n\nThis guide details the changes and how to change your code to migrate to Video Upload SDK version 1.3.\n\n### ByteArk Stream Service\nTo upload videos to ByteArk Stream, you are now required to [create a form upload](https://docs.byteark.com/th/stream/developer-forms.html#%E0%B8%82%E0%B8%B1%E0%B9%89%E0%B8%99%E0%B8%95%E0%B8%AD%E0%B8%99%E0%B8%97%E0%B8%B5%E0%B9%88-1-%E0%B8%AA%E0%B8%A3%E0%B9%89%E0%B8%B2%E0%B8%87%E0%B9%81%E0%B8%9A%E0%B8%9A%E0%B8%9F%E0%B8%AD%E0%B8%A3%E0%B9%8C%E0%B8%A1%E0%B8%AD%E0%B8%B1%E0%B8%9B%E0%B9%82%E0%B8%AB%E0%B8%A5%E0%B8%94%E0%B8%82%E0%B8%AD%E0%B8%87%E0%B8%84%E0%B8%B8%E0%B8%93%E0%B9%83%E0%B8%99-byteark-stream). You will obtain formId and formSecret after creating the form. And you are now required to initialize the SDK using these form ID and form secret. [Click here for an example code](#example-code).\n\n### Removal of authorizationToken\nauthorizationToken was removed from the SDK options. Please remove it from either ByteArk Qoder or ByteArk Stream service.\n\n### Method Changes\naddUploadJob method was removed. Please use [addUploadJobs](#methods) instead. You can now add multiple videos using this new method.\n\n### Built-in Video Object Creator\nThe SDK will now create videos when adding upload jobs. After videos are created, the SDK will also trigger [onVideosCreated](#callbacks) callback.\n","readmeFilename":"README.md"}