{"_id":"@ad-execute-manager/ad","_rev":"14-054e7db5807d1478fb7d6d0b7422d421","name":"@ad-execute-manager/ad","dist-tags":{"latest":"2.3.3"},"versions":{"2.0.0-alpha.1":{"name":"@ad-execute-manager/ad","version":"2.0.0-alpha.1","author":{"name":"singcl"},"license":"MIT","_id":"@ad-execute-manager/ad@2.0.0-alpha.1","maintainers":[{"name":"singcl","email":"24661881@qq.com"}],"homepage":"https://npmjs.com/package/@ad-execute-manager/ad","dist":{"shasum":"5e89b3c1f79c97afe7d737469ee2dddc3afe7807","tarball":"https://registry.npmjs.org/@ad-execute-manager/ad/-/ad-2.0.0-alpha.1.tgz","fileCount":27,"integrity":"sha512-D1brtXeY3ObCsldsr86pqs9FwJI8fKGTRsaCTfotnX0ASuHad246CjxnJ+kRsLbQOVCbojXX39ei8M+0dFV0Dg==","signatures":[{"sig":"MEYCIQDvvVnmXD7AcM0f+RUC4ivIpXKEeHuj3QW/HdPKR1K7VwIhAMZX00N7GfZXv1ON7jwJVwJwOyPnkuE+z0RnNwdP0YuT","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":103132},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"08112b282577e567796cf4c1fe1eb123dbabca11","_npmUser":{"name":"singcl","email":"24661881@qq.com"},"_npmVersion":"10.9.3","directories":{},"_nodeVersion":"22.20.0","_hasShrinkwrap":false,"peerDependencies":{"@singcl/ad-execute-manager":">=2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ad_2.0.0-alpha.1_1766906989274_0.6959568340673576","host":"s3://npm-registry-packages-npm-production"}},"2.0.0-alpha.4":{"name":"@ad-execute-manager/ad","version":"2.0.0-alpha.4","keywords":["ad","advertisement","interstitial-ad","reward-ad","ad-manager","javascript","nodejs"],"author":{"url":"https://github.com/singcl","name":"singcl","email":"iambabyer@gmail.com"},"license":"MIT","_id":"@ad-execute-manager/ad@2.0.0-alpha.4","maintainers":[{"name":"singcl","email":"24661881@qq.com"}],"homepage":"https://npmjs.com/package/@singcl/ad","bugs":{"url":"https://github.com/singcl/ad-execute-manager/issues"},"dist":{"shasum":"8e9036f53d74901e396103026f4ceb8f8fa64f0b","tarball":"https://registry.npmjs.org/@ad-execute-manager/ad/-/ad-2.0.0-alpha.4.tgz","fileCount":17,"integrity":"sha512-cqaDSNRiW7B3VHnH8JYE4xoS5qqYZtsI3o7zpgYWzFrTu3MabVsLSLBFAEUqh+ChZ82sJHjePKI4KNVu/umz/Q==","signatures":[{"sig":"MEUCIQCvkpQpWgrDFYhPyr60tnLjXuze0UEsasOzWg/QLdzotQIgezQXfhm1EnjUvPRcIjnba4ac4uMft4kwPgQuxfO1TUQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":118575},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","engines":{"node":">=14.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"47a65bdc483d56e67eb8d5d267886e6d0f9a54b1","scripts":{"dev":"rslib build --watch","lint":"eslint .","test":"rstest","build":"rslib build && tsc","format":"prettier --write .","prepublishOnly":"npm run build"},"_npmUser":{"name":"singcl","email":"24661881@qq.com"},"repository":{"url":"git+https://github.com/singcl/ad-execute-manager.git","type":"git"},"_npmVersion":"8.5.0","description":"Ad-related classes including InterstitialAdFather, InterstitialAdNovel, RewardAdFather, and RewardAdNovel for ad management.","directories":{},"_nodeVersion":"16.14.2","dependencies":{"@ad-execute-manager/core":"^2.0.0-alpha.4","@ad-execute-manager/helper":"^2.0.0-alpha.2"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.39.2","globals":"^16.5.0","prettier":"^3.7.3","@eslint/js":"^9.39.1","typescript":"^5.9.3","@rslib/core":"^0.18.5","@rstest/core":"^0.7.2","@babel/preset-env":"^7.28.5","@babel/eslint-parser":"^7.28.5","eslint-plugin-import":"^2.32.0"},"_npmOperationalInternal":{"tmp":"tmp/ad_2.0.0-alpha.4_1770710805246_0.8287433783073466","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"@ad-execute-manager/ad","version":"2.0.1","keywords":["ad","advertisement","interstitial-ad","reward-ad","ad-manager","javascript","nodejs"],"author":{"url":"https://github.com/singcl","name":"singcl","email":"iambabyer@gmail.com"},"license":"MIT","_id":"@ad-execute-manager/ad@2.0.1","maintainers":[{"name":"singcl","email":"24661881@qq.com"}],"homepage":"https://npmjs.com/package/@ad-execute-manager/ad","bugs":{"url":"https://github.com/singcl/ad-execute-manager/issues"},"dist":{"shasum":"cbc7ca85841d11644d1341283471bd8e5897e07e","tarball":"https://registry.npmjs.org/@ad-execute-manager/ad/-/ad-2.0.1.tgz","fileCount":17,"integrity":"sha512-jWD1WCgtMLPQIyzz8u/kxADUDagikB//34GGjIrTOjK8kdSwl/eZetDy2toX67K24MTf7uGwZ/rUGJWyebHkEw==","signatures":[{"sig":"MEQCIGtMd5XjiWp1kVvMhTATb4tcrmRyAxxxEYfDE+fK4JVmAiBKFVrpveeh9aSoYyvcd4i6O4P6wzMWAgn+wJVv4gg5pQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":124994},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","engines":{"node":">=14.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"f830cbb143dfdc13013bcbf0edc655802248cf2c","scripts":{"dev":"rslib build --watch","lint":"eslint .","test":"rstest","build":"rslib build && tsc","format":"prettier --write .","prepublishOnly":"npm run build"},"_npmUser":{"name":"singcl","email":"24661881@qq.com"},"repository":{"url":"git+https://github.com/singcl/ad-execute-manager.git","type":"git"},"_npmVersion":"10.9.3","description":"Ad-related classes including InterstitialAdFather, InterstitialAdNovel, RewardAdFather, and RewardAdNovel for ad management.","directories":{},"_nodeVersion":"22.20.0","dependencies":{"@ad-execute-manager/core":"^2.0.1","@ad-execute-manager/helper":"^2.0.1"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.39.2","globals":"^16.5.0","prettier":"^3.7.3","@eslint/js":"^9.39.1","typescript":"^5.9.3","@rslib/core":"^0.18.5","@rstest/core":"^0.7.2","@babel/preset-env":"^7.28.5","@babel/eslint-parser":"^7.28.5","eslint-plugin-import":"^2.32.0"},"_npmOperationalInternal":{"tmp":"tmp/ad_2.0.1_1770730935323_0.8634406630436815","host":"s3://npm-registry-packages-npm-production"}},"2.0.2":{"name":"@ad-execute-manager/ad","version":"2.0.2","keywords":["ad","advertisement","interstitial-ad","reward-ad","ad-manager","javascript","nodejs"],"author":{"url":"https://github.com/singcl","name":"singcl","email":"iambabyer@gmail.com"},"license":"MIT","_id":"@ad-execute-manager/ad@2.0.2","maintainers":[{"name":"singcl","email":"24661881@qq.com"}],"homepage":"https://npmjs.com/package/@ad-execute-manager/ad","bugs":{"url":"https://github.com/singcl/ad-execute-manager/issues"},"dist":{"shasum":"a9583537a5d431f960e20938ac1e9672334ecc51","tarball":"https://registry.npmjs.org/@ad-execute-manager/ad/-/ad-2.0.2.tgz","fileCount":6,"integrity":"sha512-iIsZiSRqclq3E+7hajjnzmwT4NEOiBu9Uu9o//gUKQI6SdSgR8GntnjH7dpuNkDvL78aOKqLzDKVXMjy1MdsNw==","signatures":[{"sig":"MEYCIQDIEVAEqRfYEYjAFnq9n3mu382J5brdopq4oVt4fh0ozgIhAPK4EV24g4iknALyMPegRzbgPemUw8FOm17lXz5yAfxj","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15089},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","engines":{"node":">=14.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"125db4b0802b729880f057231b20f8a8c8596663","scripts":{"dev":"rslib build --watch","lint":"eslint .","test":"rstest","build":"rslib build && tsc","format":"prettier --write .","prepublishOnly":"npm run build"},"_npmUser":{"name":"singcl","email":"24661881@qq.com"},"repository":{"url":"git+https://github.com/singcl/ad-execute-manager.git","type":"git"},"_npmVersion":"8.5.0","description":"Ad-related classes including InterstitialAdFather, InterstitialAdNovel, RewardAdFather, and RewardAdNovel for ad management.","directories":{},"_nodeVersion":"16.14.2","dependencies":{"@ad-execute-manager/ad-reward":"^2.0.2","@ad-execute-manager/ad-interstitial":"^2.0.2"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.39.2","globals":"^16.5.0","prettier":"^3.7.3","@eslint/js":"^9.39.1","typescript":"^5.9.3","@rslib/core":"^0.18.5","@rstest/core":"^0.7.2","@babel/preset-env":"^7.28.5","@babel/eslint-parser":"^7.28.5","eslint-plugin-import":"^2.32.0"},"peerDependencies":{"@ad-execute-manager/core":"^2.0.2","@ad-execute-manager/logger":"^2.0.2"},"_npmOperationalInternal":{"tmp":"tmp/ad_2.0.2_1770781644218_0.9928039054333198","host":"s3://npm-registry-packages-npm-production"}},"2.0.3":{"name":"@ad-execute-manager/ad","version":"2.0.3","keywords":["ad","advertisement","interstitial-ad","reward-ad","ad-manager","javascript","nodejs"],"author":{"url":"https://github.com/singcl","name":"singcl","email":"iambabyer@gmail.com"},"license":"MIT","_id":"@ad-execute-manager/ad@2.0.3","maintainers":[{"name":"singcl","email":"24661881@qq.com"}],"homepage":"https://npmjs.com/package/@ad-execute-manager/ad","bugs":{"url":"https://github.com/singcl/ad-execute-manager/issues"},"dist":{"shasum":"aaae5e92a4c11f1ae1337c3b6d7baef0d6f40cf4","tarball":"https://registry.npmjs.org/@ad-execute-manager/ad/-/ad-2.0.3.tgz","fileCount":6,"integrity":"sha512-q5kqT74Kt8zyOR8XRczlD7/cdUcqeCpg0zsNq5ds0NfBUUpSlviLct5nxKRiFhTFXww0NXw4aDlMZ2Hl3i5/tA==","signatures":[{"sig":"MEQCIC99GaNI/YOiavmimLCUAyE33w+jfDoYlT14Plt5u8ZCAiAgTpKCWz+wT02F1CdEWhsoLSY8hkW24E8jy6ZBxwtuMA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15089},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","engines":{"node":">=14.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"179a524f3f5f100f5dd4ff8d64346c5d58d2f815","scripts":{"dev":"rslib build --watch","lint":"eslint .","test":"rstest","build":"rslib build && tsc","format":"prettier --write .","prepublishOnly":"npm run build"},"_npmUser":{"name":"singcl","email":"24661881@qq.com"},"repository":{"url":"git+https://github.com/singcl/ad-execute-manager.git","type":"git"},"_npmVersion":"8.5.0","description":"Ad-related classes including InterstitialAdFather, InterstitialAdNovel, RewardAdFather, and RewardAdNovel for ad management.","directories":{},"_nodeVersion":"16.14.2","dependencies":{"@ad-execute-manager/ad-reward":"^2.0.3","@ad-execute-manager/ad-interstitial":"^2.0.3"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.39.2","globals":"^16.5.0","prettier":"^3.7.3","@eslint/js":"^9.39.1","typescript":"^5.9.3","@rslib/core":"^0.18.5","@rstest/core":"^0.7.2","@babel/preset-env":"^7.28.5","@babel/eslint-parser":"^7.28.5","eslint-plugin-import":"^2.32.0"},"peerDependencies":{"@ad-execute-manager/core":"^2.0.3","@ad-execute-manager/logger":"^2.0.3"},"_npmOperationalInternal":{"tmp":"tmp/ad_2.0.3_1770798486170_0.22081797269102243","host":"s3://npm-registry-packages-npm-production"}},"2.0.5":{"name":"@ad-execute-manager/ad","version":"2.0.5","keywords":["ad","advertisement","interstitial-ad","reward-ad","ad-manager","javascript","nodejs"],"author":{"url":"https://github.com/singcl","name":"singcl","email":"iambabyer@gmail.com"},"license":"MIT","_id":"@ad-execute-manager/ad@2.0.5","maintainers":[{"name":"singcl","email":"24661881@qq.com"}],"homepage":"https://npmjs.com/package/@ad-execute-manager/ad","bugs":{"url":"https://github.com/singcl/ad-execute-manager/issues"},"dist":{"shasum":"5b5133cd373b456516d9038f9630b8a02d213cc5","tarball":"https://registry.npmjs.org/@ad-execute-manager/ad/-/ad-2.0.5.tgz","fileCount":6,"integrity":"sha512-6T63jIBP72Ovz5CrxmtuPzREbZyQL0klsDRfh1XaLG9er7bKesj0ZdIFKr851jYadviZfIRC/XB05NEiE2DuIg==","signatures":[{"sig":"MEUCICG9bfLkJCVSUkuUhYXTiJ1x+PBS2Pj8PgioSvCDaibpAiEAw33cRcqoaA7PBOgqkLpuT3mqCfvY2PrkV8Wi9ur8kFM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15089},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","engines":{"node":">=14.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"e94775219dc85a2833c6d92aa45b41f9628fa08a","scripts":{"dev":"rslib build --watch","lint":"eslint .","test":"rstest","build":"rslib build && tsc","format":"prettier --write .","prepublishOnly":"npm run build"},"_npmUser":{"name":"singcl","email":"24661881@qq.com"},"repository":{"url":"git+https://github.com/singcl/ad-execute-manager.git","type":"git"},"_npmVersion":"8.5.0","description":"Ad-related classes including InterstitialAdFather, InterstitialAdNovel, RewardAdFather, and RewardAdNovel for ad management.","directories":{},"_nodeVersion":"16.14.2","dependencies":{"@ad-execute-manager/ad-reward":"^2.0.5","@ad-execute-manager/ad-interstitial":"^2.0.5"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.39.2","globals":"^16.5.0","prettier":"^3.7.3","@eslint/js":"^9.39.1","typescript":"^5.9.3","@rslib/core":"^0.18.5","@rstest/core":"^0.7.2","@babel/preset-env":"^7.28.5","@babel/eslint-parser":"^7.28.5","eslint-plugin-import":"^2.32.0"},"peerDependencies":{"@ad-execute-manager/core":"^2.0.5","@ad-execute-manager/logger":"^2.0.5"},"_npmOperationalInternal":{"tmp":"tmp/ad_2.0.5_1770802513906_0.6456990509438303","host":"s3://npm-registry-packages-npm-production"}},"2.0.6":{"name":"@ad-execute-manager/ad","version":"2.0.6","keywords":["ad","advertisement","interstitial-ad","reward-ad","ad-manager","javascript","nodejs"],"author":{"url":"https://github.com/singcl","name":"singcl","email":"iambabyer@gmail.com"},"license":"MIT","_id":"@ad-execute-manager/ad@2.0.6","maintainers":[{"name":"singcl","email":"24661881@qq.com"}],"homepage":"https://npmjs.com/package/@ad-execute-manager/ad","bugs":{"url":"https://github.com/singcl/ad-execute-manager/issues"},"dist":{"shasum":"d32b1f2221f827d39397c07521d19d6b0d79f8f6","tarball":"https://registry.npmjs.org/@ad-execute-manager/ad/-/ad-2.0.6.tgz","fileCount":6,"integrity":"sha512-iUDdgIM7CNSs92LZBSuY+hYxdzj0u9q5OTlTQQnkt1PfKOVC7ZxPy/AHp4AHrQefCGocfFQXZmIpD7Vo/DSlIA==","signatures":[{"sig":"MEYCIQCNFhWgEXpwRxEMWj+MXpoZPbzisBsduCTzlOpLMCRNrQIhANYgwFucga2zhBEbT6f0yDwf8+/g0EKqJDETZnCTBFZr","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15098},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","engines":{"node":">=14.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"91fa074ccb7f2f0934937c2530330939ca36bf15","scripts":{"dev":"rslib build --watch","lint":"eslint .","test":"rstest","build":"rslib build && tsc","format":"prettier --write .","prepublishOnly":"npm i && npm run build"},"_npmUser":{"name":"singcl","email":"24661881@qq.com"},"repository":{"url":"git+https://github.com/singcl/ad-execute-manager.git","type":"git"},"_npmVersion":"8.5.0","description":"Ad-related classes including InterstitialAdFather, InterstitialAdNovel, RewardAdFather, and RewardAdNovel for ad management.","directories":{},"_nodeVersion":"16.14.2","dependencies":{"@ad-execute-manager/ad-reward":"^2.0.6","@ad-execute-manager/ad-interstitial":"^2.0.6"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.39.2","globals":"^16.5.0","prettier":"^3.7.3","@eslint/js":"^9.39.1","typescript":"^5.9.3","@rslib/core":"^0.18.5","@rstest/core":"^0.7.2","@babel/preset-env":"^7.28.5","@babel/eslint-parser":"^7.28.5","eslint-plugin-import":"^2.32.0"},"peerDependencies":{"@ad-execute-manager/core":"^2.0.6","@ad-execute-manager/logger":"^2.0.5"},"_npmOperationalInternal":{"tmp":"tmp/ad_2.0.6_1770890645689_0.06479762560431612","host":"s3://npm-registry-packages-npm-production"}},"2.1.0":{"name":"@ad-execute-manager/ad","version":"2.1.0","keywords":["ad","advertisement","interstitial-ad","reward-ad","ad-manager","javascript","nodejs"],"author":{"url":"https://github.com/singcl","name":"singcl","email":"iambabyer@gmail.com"},"license":"MIT","_id":"@ad-execute-manager/ad@2.1.0","maintainers":[{"name":"singcl","email":"24661881@qq.com"}],"homepage":"https://npmjs.com/package/@ad-execute-manager/ad","bugs":{"url":"https://github.com/singcl/ad-execute-manager/issues"},"dist":{"shasum":"f1d8cda4eadd15fa406abc3a57d511fa09ea73ae","tarball":"https://registry.npmjs.org/@ad-execute-manager/ad/-/ad-2.1.0.tgz","fileCount":6,"integrity":"sha512-Sjw0hZN0iHlyUoCX99Vwam4PXlf8UMplc6baCzmSRug9jyQz4KwxrAca96oCemEq8BTUgcpmUwBCwjtBMqjPAw==","signatures":[{"sig":"MEUCIQC6SkSO1o3Eivaeim05sJzD3PDzg6Ul8bmbuGApipK4VgIgchgpOqaboxcPdtBK38dW6xHNThxOzcXpGC6OwY/TxBA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15098},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","engines":{"node":">=14.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"b48ff4ff36e6f99e4746888a871704f5e8b45b08","scripts":{"dev":"rslib build --watch","lint":"eslint .","test":"rstest","build":"rslib build && tsc","format":"prettier --write .","prepublishOnly":"npm i && npm run build"},"_npmUser":{"name":"singcl","email":"24661881@qq.com"},"repository":{"url":"git+https://github.com/singcl/ad-execute-manager.git","type":"git"},"_npmVersion":"8.5.0","description":"Ad-related classes including InterstitialAdFather, InterstitialAdNovel, RewardAdFather, and RewardAdNovel for ad management.","directories":{},"_nodeVersion":"16.14.2","dependencies":{"@ad-execute-manager/ad-reward":"^2.1.0","@ad-execute-manager/ad-interstitial":"^2.0.6"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.39.2","globals":"^16.5.0","prettier":"^3.7.3","@eslint/js":"^9.39.1","typescript":"^5.9.3","@rslib/core":"^0.18.5","@rstest/core":"^0.7.2","@babel/preset-env":"^7.28.5","@babel/eslint-parser":"^7.28.5","eslint-plugin-import":"^2.32.0"},"peerDependencies":{"@ad-execute-manager/core":"^2.0.6","@ad-execute-manager/logger":"^2.0.5"},"_npmOperationalInternal":{"tmp":"tmp/ad_2.1.0_1770954089841_0.9167610592677515","host":"s3://npm-registry-packages-npm-production"}},"2.1.1":{"name":"@ad-execute-manager/ad","version":"2.1.1","keywords":["ad","advertisement","interstitial-ad","reward-ad","ad-manager","javascript","nodejs"],"author":{"url":"https://github.com/singcl","name":"singcl","email":"iambabyer@gmail.com"},"license":"MIT","_id":"@ad-execute-manager/ad@2.1.1","maintainers":[{"name":"singcl","email":"24661881@qq.com"}],"homepage":"https://npmjs.com/package/@ad-execute-manager/ad","bugs":{"url":"https://github.com/singcl/ad-execute-manager/issues"},"dist":{"shasum":"0081c7cfa11eaf97a56da72a6c7fe224a17fb311","tarball":"https://registry.npmjs.org/@ad-execute-manager/ad/-/ad-2.1.1.tgz","fileCount":6,"integrity":"sha512-4jsu8tOCg4KLT4N4wApHQz1PKk//hZX5DPI1NZatPR+Pn4g021+HnOv2bxIvhzA2/gX4+6Sik6Bx5Cg8VLuMpQ==","signatures":[{"sig":"MEUCIQD7DFMoe3BB8aTa1MGsHt/z+5bCNKwxCZVTEJXcvVYfrgIgHe5XPCiGF4fbMHdarr/PlgMdJIXbk+y37M414NgumBk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15098},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","engines":{"node":">=14.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"13556bc342710ebf31aab2e2a12fc74238e5b79a","scripts":{"dev":"rslib build --watch","lint":"eslint .","test":"rstest","build":"rslib build && tsc","format":"prettier --write .","prepublishOnly":"npm i && npm run build"},"_npmUser":{"name":"singcl","email":"24661881@qq.com"},"repository":{"url":"git+https://github.com/singcl/ad-execute-manager.git","type":"git"},"_npmVersion":"8.5.0","description":"Ad-related classes including InterstitialAdFather, InterstitialAdNovel, RewardAdFather, and RewardAdNovel for ad management.","directories":{},"_nodeVersion":"16.14.2","dependencies":{"@ad-execute-manager/ad-reward":"^2.1.1","@ad-execute-manager/ad-interstitial":"^2.0.6"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.39.2","globals":"^16.5.0","prettier":"^3.7.3","@eslint/js":"^9.39.1","typescript":"^5.9.3","@rslib/core":"^0.18.5","@rstest/core":"^0.7.2","@babel/preset-env":"^7.28.5","@babel/eslint-parser":"^7.28.5","eslint-plugin-import":"^2.32.0"},"peerDependencies":{"@ad-execute-manager/core":"^2.0.6","@ad-execute-manager/logger":"^2.0.5"},"_npmOperationalInternal":{"tmp":"tmp/ad_2.1.1_1770966114507_0.2561412075040932","host":"s3://npm-registry-packages-npm-production"}},"2.2.0":{"name":"@ad-execute-manager/ad","version":"2.2.0","keywords":["ad","advertisement","interstitial-ad","reward-ad","ad-manager","javascript","nodejs"],"author":{"url":"https://github.com/singcl","name":"singcl","email":"iambabyer@gmail.com"},"license":"MIT","_id":"@ad-execute-manager/ad@2.2.0","maintainers":[{"name":"singcl","email":"24661881@qq.com"}],"homepage":"https://npmjs.com/package/@ad-execute-manager/ad","bugs":{"url":"https://github.com/singcl/ad-execute-manager/issues"},"dist":{"shasum":"18afdfb09a7c0ffe4b4e9dade08e67b1eb6db327","tarball":"https://registry.npmjs.org/@ad-execute-manager/ad/-/ad-2.2.0.tgz","fileCount":6,"integrity":"sha512-FlLUbTmDqm5w2Fyz9NwyXDd8HWfOShVeSov6FBq2lVormSngx6WE5X2Fxe9GHCXUcDyKbCsU4/tTaTyKXIyDJg==","signatures":[{"sig":"MEUCICHYQXVedwLGA1TRZADSf2UpltK8krhfU+uyni35AMvcAiEAmNr502GS/DqisgnkQ1p4ko4bpbVHF1w7IwwoITsk4RE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15098},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","engines":{"node":">=14.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"e89f9614dc4caad4474c45d692bf7ed6f4fad9d1","scripts":{"dev":"rslib build --watch","lint":"eslint .","test":"rstest","build":"rslib build && tsc","format":"prettier --write .","prepublishOnly":"npm i && npm run build"},"_npmUser":{"name":"singcl","email":"24661881@qq.com"},"repository":{"url":"git+https://github.com/singcl/ad-execute-manager.git","type":"git"},"_npmVersion":"10.9.4","description":"Ad-related classes including InterstitialAdFather, InterstitialAdNovel, RewardAdFather, and RewardAdNovel for ad management.","directories":{},"_nodeVersion":"22.21.1","dependencies":{"@ad-execute-manager/ad-reward":"^2.2.0","@ad-execute-manager/ad-interstitial":"^2.0.6"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.39.2","globals":"^16.5.0","prettier":"^3.7.3","@eslint/js":"^9.39.1","typescript":"^5.9.3","@rslib/core":"^0.18.5","@rstest/core":"^0.7.2","@babel/preset-env":"^7.28.5","@babel/eslint-parser":"^7.28.5","eslint-plugin-import":"^2.32.0"},"peerDependencies":{"@ad-execute-manager/core":"^2.0.6","@ad-execute-manager/logger":"^2.0.5"},"_npmOperationalInternal":{"tmp":"tmp/ad_2.2.0_1772164834781_0.8594738562014028","host":"s3://npm-registry-packages-npm-production"}},"2.3.0":{"name":"@ad-execute-manager/ad","version":"2.3.0","keywords":["ad","advertisement","interstitial-ad","reward-ad","ad-manager","javascript","nodejs"],"author":{"url":"https://github.com/singcl","name":"singcl","email":"iambabyer@gmail.com"},"license":"MIT","_id":"@ad-execute-manager/ad@2.3.0","maintainers":[{"name":"singcl","email":"24661881@qq.com"}],"homepage":"https://npmjs.com/package/@ad-execute-manager/ad","bugs":{"url":"https://github.com/singcl/ad-execute-manager/issues"},"dist":{"shasum":"ce0826b74340d49f2b9d93ab5583ac485a78abab","tarball":"https://registry.npmjs.org/@ad-execute-manager/ad/-/ad-2.3.0.tgz","fileCount":6,"integrity":"sha512-+wCNj4KuY2kyLssszDxLDgVwWfaHyS37MSWioEHaR961JXuxQ0y/UwMtlvbXqwWCNDtKyC4rThozOS2VMf7oeA==","signatures":[{"sig":"MEYCIQCeheMQ0IN95ElQs0nZzrmrpgxxRlbKXBVgqrC/dztEKAIhAIymJCih9BTvKPZ2CTgkGKtFWjHT9ZmPhB0TLEck6qVl","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15098},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","engines":{"node":">=14.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"0e13ce6a90d14bad709a50deeb1495de56c86038","scripts":{"dev":"rslib build --watch","lint":"eslint .","test":"rstest","build":"rslib build && tsc","format":"prettier --write .","prepublishOnly":"npm i && npm run build"},"_npmUser":{"name":"singcl","email":"24661881@qq.com"},"repository":{"url":"git+https://github.com/singcl/ad-execute-manager.git","type":"git"},"_npmVersion":"10.9.4","description":"Ad-related classes including InterstitialAdFather, InterstitialAdNovel, RewardAdFather, and RewardAdNovel for ad management.","directories":{},"_nodeVersion":"22.21.1","dependencies":{"@ad-execute-manager/ad-reward":"^2.3.0","@ad-execute-manager/ad-interstitial":"^2.0.6"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.39.2","globals":"^16.5.0","prettier":"^3.7.3","@eslint/js":"^9.39.1","typescript":"^5.9.3","@rslib/core":"^0.18.5","@rstest/core":"^0.7.2","@babel/preset-env":"^7.28.5","@babel/eslint-parser":"^7.28.5","eslint-plugin-import":"^2.32.0"},"peerDependencies":{"@ad-execute-manager/core":"^2.0.6","@ad-execute-manager/logger":"^2.0.5"},"_npmOperationalInternal":{"tmp":"tmp/ad_2.3.0_1772433754324_0.3631740770327485","host":"s3://npm-registry-packages-npm-production"}},"2.3.1":{"name":"@ad-execute-manager/ad","version":"2.3.1","keywords":["ad","advertisement","interstitial-ad","reward-ad","ad-manager","javascript","nodejs"],"author":{"url":"https://github.com/singcl","name":"singcl","email":"iambabyer@gmail.com"},"license":"MIT","_id":"@ad-execute-manager/ad@2.3.1","maintainers":[{"name":"singcl","email":"24661881@qq.com"}],"homepage":"https://npmjs.com/package/@ad-execute-manager/ad","bugs":{"url":"https://github.com/singcl/ad-execute-manager/issues"},"dist":{"shasum":"0f0c64cd82e6c9864c9a919f50828776edcca84c","tarball":"https://registry.npmjs.org/@ad-execute-manager/ad/-/ad-2.3.1.tgz","fileCount":6,"integrity":"sha512-j2Rybq6HP5AkIWAoI2wnB9XJOA27+YwblhxW96Wu2VikOWrHKjZR2E+0j1WkKk+MbQdloAsQj7ah8n2+pBLUnw==","signatures":[{"sig":"MEUCIQCXvWok6Gh5CiqPgLPG/SuHR0V46/WAW0u4bhjixyrjGQIgTBBvpvhMo3OBMXyzaC7lPM6rCalKT351gBGjvYpmSkk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15098},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","engines":{"node":">=14.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"a9fe97c3bf5b886b3683f6cef91a947538e242bd","scripts":{"dev":"rslib build --watch","lint":"eslint .","test":"rstest","build":"rslib build && tsc","format":"prettier --write .","prepublishOnly":"npm i && npm run build"},"_npmUser":{"name":"singcl","email":"24661881@qq.com"},"repository":{"url":"git+https://github.com/singcl/ad-execute-manager.git","type":"git"},"_npmVersion":"10.9.4","description":"Ad-related classes including InterstitialAdFather, InterstitialAdNovel, RewardAdFather, and RewardAdNovel for ad management.","directories":{},"_nodeVersion":"22.21.1","dependencies":{"@ad-execute-manager/ad-reward":"^2.3.1","@ad-execute-manager/ad-interstitial":"^2.0.6"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.39.2","globals":"^16.5.0","prettier":"^3.7.3","@eslint/js":"^9.39.1","typescript":"^5.9.3","@rslib/core":"^0.18.5","@rstest/core":"^0.7.2","@babel/preset-env":"^7.28.5","@babel/eslint-parser":"^7.28.5","eslint-plugin-import":"^2.32.0"},"peerDependencies":{"@ad-execute-manager/core":"^2.0.6","@ad-execute-manager/logger":"^2.0.5"},"_npmOperationalInternal":{"tmp":"tmp/ad_2.3.1_1772442000842_0.2860179489359165","host":"s3://npm-registry-packages-npm-production"}},"2.3.2":{"name":"@ad-execute-manager/ad","version":"2.3.2","keywords":["ad","advertisement","interstitial-ad","reward-ad","ad-manager","javascript","nodejs"],"author":{"url":"https://github.com/singcl","name":"singcl","email":"iambabyer@gmail.com"},"license":"MIT","_id":"@ad-execute-manager/ad@2.3.2","maintainers":[{"name":"singcl","email":"24661881@qq.com"}],"homepage":"https://npmjs.com/package/@ad-execute-manager/ad","bugs":{"url":"https://github.com/singcl/ad-execute-manager/issues"},"dist":{"shasum":"648565e57b8426aa5ca278ae93b2290621a28648","tarball":"https://registry.npmjs.org/@ad-execute-manager/ad/-/ad-2.3.2.tgz","fileCount":6,"integrity":"sha512-e/QAmeAW/Ib+j/qWUCqN5rhRmsQrT5Se8be8OlBZHaWEzD8GS00o8QTg+1ZriGKoKUx8UhssPEsBJBL2+Bqn5Q==","signatures":[{"sig":"MEYCIQCppQuM/xtK/VfUY1CdP43dLJtd0C1hKFeBjHnsPGyEbAIhAJi4EXG2IOwQ+ig3MHqQS4at+8+LSOT9qVh5VuTAjJ9E","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15019},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","engines":{"node":">=14.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"72d1287f1659a8244affa6cd9f4f38ca3cc0ea3d","scripts":{"dev":"rslib build --watch","lint":"eslint .","test":"rstest","build":"rslib build && tsc","format":"prettier --write .","prepublishOnly":"npm i && npm run build"},"_npmUser":{"name":"singcl","email":"24661881@qq.com"},"repository":{"url":"git+https://github.com/singcl/ad-execute-manager.git","type":"git"},"_npmVersion":"10.9.4","description":"Ad-related classes including InterstitialAdFather, InterstitialAdNovel, RewardAdFather, and RewardAdNovel for ad management.","directories":{},"_nodeVersion":"22.21.1","dependencies":{"@ad-execute-manager/ad-reward":"^2.3.2","@ad-execute-manager/ad-interstitial":"^2.0.6"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.39.2","globals":"^16.5.0","prettier":"^3.7.3","@eslint/js":"^9.39.1","typescript":"^5.9.3","@rslib/core":"^0.18.5","@rstest/core":"^0.7.2","@babel/preset-env":"^7.28.5","@babel/eslint-parser":"^7.28.5","eslint-plugin-import":"^2.32.0"},"peerDependencies":{"@ad-execute-manager/core":"^2.0.6","@ad-execute-manager/logger":"^2.0.5"},"_npmOperationalInternal":{"tmp":"tmp/ad_2.3.2_1772518476423_0.16643824979570043","host":"s3://npm-registry-packages-npm-production"}},"2.3.3":{"name":"@ad-execute-manager/ad","version":"2.3.3","description":"Ad-related classes including InterstitialAdFather, InterstitialAdNovel, RewardAdFather, and RewardAdNovel for ad management.","type":"module","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs","types":"./dist/index.d.ts"}},"main":"./dist/index.cjs","types":"./dist/index.d.ts","author":{"name":"singcl","email":"iambabyer@gmail.com","url":"https://github.com/singcl"},"license":"MIT","homepage":"https://npmjs.com/package/@ad-execute-manager/ad","repository":{"type":"git","url":"git+https://github.com/singcl/ad-execute-manager.git"},"bugs":{"url":"https://github.com/singcl/ad-execute-manager/issues"},"engines":{"node":">=14.0.0"},"keywords":["ad","advertisement","interstitial-ad","reward-ad","ad-manager","javascript","nodejs"],"scripts":{"build":"rslib build && tsc","dev":"rslib build --watch","format":"prettier --write .","lint":"eslint .","test":"rstest","prepublishOnly":"npm i && npm run build"},"dependencies":{"@ad-execute-manager/ad-interstitial":"^2.0.6","@ad-execute-manager/ad-reward":"^2.3.3"},"peerDependencies":{"@ad-execute-manager/core":"^2.0.6","@ad-execute-manager/logger":"^2.0.5"},"devDependencies":{"@babel/eslint-parser":"^7.28.5","@babel/preset-env":"^7.28.5","@eslint/js":"^9.39.1","@rslib/core":"^0.18.5","@rstest/core":"^0.7.2","eslint":"^9.39.2","eslint-plugin-import":"^2.32.0","globals":"^16.5.0","prettier":"^3.7.3","typescript":"^5.9.3"},"_id":"@ad-execute-manager/ad@2.3.3","gitHead":"c1354d35b6bbdf8cf8c04dc8dd1e2a105abd12e1","_nodeVersion":"22.21.1","_npmVersion":"10.9.4","dist":{"integrity":"sha512-POM551JvJxqGrqdURdtLyFKIyq+u23A015SgDIZe4DmrGb9fv285+hysvfK/5cDFjdBlXndORC7f0+WP+1g6zQ==","shasum":"dbc173fb75dbf99645c65d6cbcb0733d11f6436b","tarball":"https://registry.npmjs.org/@ad-execute-manager/ad/-/ad-2.3.3.tgz","fileCount":6,"unpackedSize":15098,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIFj0hK80bhufISaExzoaXRbVeg545Nqfgx7mwd9mIcggAiAoQKuV5CB9bhA1cRm9mD5ZnZ8d71DJhYySXPFT1VTN5g=="}]},"_npmUser":{"name":"singcl","email":"24661881@qq.com"},"directories":{},"maintainers":[{"name":"singcl","email":"24661881@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ad_2.3.3_1772525302277_0.146748729355493"},"_hasShrinkwrap":false}},"time":{"created":"2025-12-28T07:29:49.175Z","modified":"2026-03-03T08:08:22.549Z","2.0.0-alpha.1":"2025-12-28T07:29:49.450Z","2.0.0-alpha.4":"2026-02-10T08:06:45.402Z","2.0.1":"2026-02-10T13:42:15.455Z","2.0.2":"2026-02-11T03:47:24.369Z","2.0.3":"2026-02-11T08:28:06.321Z","2.0.5":"2026-02-11T09:35:14.055Z","2.0.6":"2026-02-12T10:04:05.836Z","2.1.0":"2026-02-13T03:41:29.967Z","2.1.1":"2026-02-13T07:01:54.666Z","2.2.0":"2026-02-27T04:00:34.920Z","2.3.0":"2026-03-02T06:42:34.471Z","2.3.1":"2026-03-02T09:00:00.984Z","2.3.2":"2026-03-03T06:14:36.564Z","2.3.3":"2026-03-03T08:08:22.418Z"},"bugs":{"url":"https://github.com/singcl/ad-execute-manager/issues"},"author":{"name":"singcl","email":"iambabyer@gmail.com","url":"https://github.com/singcl"},"license":"MIT","homepage":"https://npmjs.com/package/@ad-execute-manager/ad","keywords":["ad","advertisement","interstitial-ad","reward-ad","ad-manager","javascript","nodejs"],"repository":{"type":"git","url":"git+https://github.com/singcl/ad-execute-manager.git"},"description":"Ad-related classes including InterstitialAdFather, InterstitialAdNovel, RewardAdFather, and RewardAdNovel for ad management.","maintainers":[{"name":"singcl","email":"24661881@qq.com"}],"readme":"# @ad-execute-manager/ad\r\n\r\nAd-related classes including InterstitialAdFather, InterstitialAdNovel, RewardAdFather, and RewardAdNovel for ad management.\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm install @ad-execute-manager/ad\r\n```\r\n\r\n## Features\r\n\r\n- **InterstitialAdFather**: Base class for interstitial ads with common functionality\r\n- **InterstitialAdNovel**: Novel-specific interstitial ad implementation with enhanced features\r\n- **RewardAdFather**: Base class for reward ads with common functionality\r\n- **RewardAdNovel**: Novel-specific reward ad implementation with enhanced features\r\n\r\n## Usage\r\n\r\n### InterstitialAdNovel\r\n\r\n```javascript\r\nimport { InterstitialAdNovel } from '@ad-execute-manager/ad';\r\n\r\nconst interstitialAd = InterstitialAdNovel.new({\r\n  sign: 'novel_interstitial',\r\n  preserveOnEnd: false,\r\n  needEndOnTimeout: true,\r\n  collection: {\r\n    onHalfway: (args) => {\r\n      console.log('Ad halfway:', args);\r\n    },\r\n    onShow: (args) => {\r\n      console.log('Ad shown:', args);\r\n    },\r\n    onFinish: (args) => {\r\n      console.log('Ad finished:', args);\r\n    },\r\n    onAlways: (args) => {\r\n      console.log('Ad always:', args);\r\n    },\r\n    onError: (error) => {\r\n      console.error('Ad error:', error);\r\n    }\r\n  }\r\n});\r\n\r\n// Initialize ad\r\ninterstitialAd.initialize({\r\n  adUnitId: 'your-ad-unit-id',\r\n  retry: 3\r\n});\r\n\r\n// Show ad\r\nconst result = await interstitialAd.addExecuteManager({\r\n  options: {\r\n    scene: 1\r\n  }\r\n});\r\n\r\nconsole.log('Ad result:', result);\r\n```\r\n\r\n### RewardAdNovel\r\n\r\n```javascript\r\nimport { RewardAdNovel } from '@ad-execute-manager/ad';\r\n\r\nconst rewardAd = RewardAdNovel.new({\r\n  sign: 'novel_reward',\r\n  preserveOnEnd: false,\r\n  needEndOnTimeout: true,\r\n  collection: {\r\n    onHalfway: (args) => {\r\n      console.log('Ad halfway:', args);\r\n    },\r\n    onShow: (args) => {\r\n      console.log('Ad shown:', args);\r\n    },\r\n    onFinish: (args) => {\r\n      console.log('Ad finished:', args);\r\n    },\r\n    onAlways: (args) => {\r\n      console.log('Ad always:', args);\r\n    },\r\n    onError: (error) => {\r\n      console.error('Ad error:', error);\r\n    }\r\n  }\r\n});\r\n\r\n// Initialize ad\r\nrewardAd.initialize({\r\n  adUnitId: 'your-ad-unit-id',\r\n  retry: 3\r\n});\r\n\r\n// Show ad\r\nconst result = await rewardAd.addExecuteManager({\r\n  options: {\r\n    scene: 2,\r\n    timeout: 10000\r\n  }\r\n});\r\n\r\nconsole.log('Ad result:', result);\r\n```\r\n\r\n## API\r\n\r\n### InterstitialAdFather\r\n\r\nBase class for interstitial ads with common functionality.\r\n\r\n### InterstitialAdNovel\r\n\r\n```typescript\r\nclass InterstitialAdNovel extends InterstitialAdFather {\r\n  /**\r\n   * Builds and returns an instance of InterstitialAdNovel\r\n   * @param args Construction arguments\r\n   * @returns Instance of InterstitialAdNovel\r\n   */\r\n  static build(args: IConstructArgs): InterstitialAdNovel;\r\n  \r\n  /**\r\n   * Gets the singleton instance of InterstitialAdNovel\r\n   * @returns Singleton instance of InterstitialAdNovel\r\n   */\r\n  static getInstance(): InterstitialAdNovel;\r\n  \r\n  /**\r\n   * Creates a new instance of InterstitialAdNovel\r\n   * @param args Construction arguments\r\n   * @returns New instance of InterstitialAdNovel\r\n   */\r\n  static new(args: IConstructArgs): InterstitialAdNovel;\r\n  \r\n  /**\r\n   * Initializes the ad with configuration\r\n   * @param params Ad configuration parameters\r\n   * @param callback Optional callback function\r\n   * @returns Current instance for method chaining\r\n   */\r\n  initialize(params: IRewordAdConfig, callback?: (v: IRewardedVideoAd) => void): this;\r\n  \r\n  /**\r\n   * Adds execute manager and runs the ad\r\n   * @param ctx Context object with options\r\n   * @returns Promise with ad execution result\r\n   */\r\n  addExecuteManager(ctx: any): Promise<any>;\r\n  \r\n  /**\r\n   * Clears the ad instance\r\n   */\r\n  clear(): void;\r\n  \r\n  /**\r\n   * Shifts the ad instance\r\n   */\r\n  shift(): void;\r\n}\r\n```\r\n\r\n### RewardAdFather\r\n\r\nBase class for reward ads with common functionality.\r\n\r\n### RewardAdNovel\r\n\r\n```typescript\r\nclass RewardAdNovel extends RewardAdFather {\r\n  /**\r\n   * Builds and returns an instance of RewardAdNovel\r\n   * @param args Construction arguments\r\n   * @returns Instance of RewardAdNovel\r\n   */\r\n  static build(args: IConstructArgs): RewardAdNovel;\r\n  \r\n  /**\r\n   * Gets the singleton instance of RewardAdNovel\r\n   * @returns Singleton instance of RewardAdNovel\r\n   */\r\n  static getInstance(): RewardAdNovel;\r\n  \r\n  /**\r\n   * Creates a new instance of RewardAdNovel\r\n   * @param args Construction arguments\r\n   * @returns New instance of RewardAdNovel\r\n   */\r\n  static new(args: IConstructArgs): RewardAdNovel;\r\n  \r\n  /**\r\n   * Initializes the ad with configuration\r\n   * @param params Ad configuration parameters\r\n   * @param callback Optional callback function\r\n   * @returns Current instance for method chaining\r\n   */\r\n  initialize(params: IRewordAdConfig, callback?: (v: IRewardedVideoAd) => void): this;\r\n  \r\n  /**\r\n   * Adds execute manager and runs the ad\r\n   * @param ctx Context object with options\r\n   * @returns Promise with ad execution result\r\n   */\r\n  addExecuteManager(ctx: any): Promise<any>;\r\n  \r\n  /**\r\n   * Clears the ad instance\r\n   */\r\n  clear(): void;\r\n  \r\n  /**\r\n   * Shifts the ad instance\r\n   */\r\n  shift(): void;\r\n}\r\n```\r\n\r\n## Configuration\r\n\r\n### Construction Arguments\r\n\r\nWhen creating an ad instance, you can pass the following configuration options:\r\n\r\n- **sign**: Unique identifier for the ad instance\r\n- **preserveOnEnd**: Whether to preserve the instance after ad ends\r\n- **needEndOnTimeout**: Whether to end the ad on timeout\r\n- **collection**: Event collection object with callback functions\r\n  - **onHalfway**: Called when ad reaches halfway point\r\n  - **onShow**: Called when ad is shown\r\n  - **onFinish**: Called when ad finishes\r\n  - **onAlways**: Called always after ad operation\r\n  - **onError**: Called when ad encounters error\r\n\r\n### Initialize Parameters\r\n\r\nWhen initializing an ad, you can pass the following parameters:\r\n\r\n- **adUnitId**: Unique identifier for the ad unit\r\n- **retry**: Number of retry attempts on ad error\r\n\r\n## Examples\r\n\r\n### Example 1: Basic Interstitial Ad Usage\r\n\r\n```javascript\r\nimport { InterstitialAdNovel } from '@ad-execute-manager/ad';\r\n\r\n// Create ad instance\r\nconst interstitialAd = InterstitialAdNovel.new({\r\n  sign: 'chapter_end_interstitial',\r\n  preserveOnEnd: false,\r\n  needEndOnTimeout: true,\r\n  collection: {\r\n    onFinish: () => {\r\n      console.log('Interstitial ad finished, proceeding to next chapter');\r\n      // Proceed to next chapter logic here\r\n    },\r\n    onError: (error) => {\r\n      console.error('Interstitial ad error:', error);\r\n      // Handle error gracefully, maybe skip ad\r\n    }\r\n  }\r\n});\r\n\r\n// Initialize and show ad\r\ninterstitialAd.initialize({ adUnitId: 'ca-app-pub-xxx/xxx', retry: 2 });\r\n\r\n// Show ad at chapter end\r\nasync function showAdAtChapterEnd() {\r\n  try {\r\n    const result = await interstitialAd.addExecuteManager({ options: { scene: 1 } });\r\n    console.log('Ad result:', result);\r\n  } catch (error) {\r\n    console.error('Ad execution error:', error);\r\n  }\r\n}\r\n\r\n// Usage\r\n// showAdAtChapterEnd();\r\n```\r\n\r\n### Example 2: Reward Ad for Premium Content\r\n\r\n```javascript\r\nimport { RewardAdNovel } from '@ad-execute-manager/ad';\r\n\r\n// Create reward ad instance\r\nconst rewardAd = RewardAdNovel.new({\r\n  sign: 'premium_content_reward',\r\n  preserveOnEnd: true,\r\n  needEndOnTimeout: true,\r\n  collection: {\r\n    onFinish: (args) => {\r\n      console.log('Reward ad finished, unlocking premium content');\r\n      // Unlock premium content logic here\r\n      unlockPremiumContent();\r\n    },\r\n    onError: (error) => {\r\n      console.error('Reward ad error:', error);\r\n      // Show error message to user\r\n      showErrorMessage('Failed to load ad. Please try again later.');\r\n    }\r\n  }\r\n});\r\n\r\n// Initialize ad\r\nrewardAd.initialize({ adUnitId: 'ca-app-pub-xxx/xxx', retry: 3 });\r\n\r\n// Function to unlock premium content\r\nfunction unlockPremiumContent() {\r\n  // Logic to unlock premium content\r\n  console.log('Premium content unlocked!');\r\n}\r\n\r\n// Function to show error message\r\nfunction showErrorMessage(message) {\r\n  // Logic to show error message\r\n  console.log('Error:', message);\r\n}\r\n\r\n// Show reward ad to unlock premium content\r\nasync function showRewardAdForPremium() {\r\n  try {\r\n    const result = await rewardAd.addExecuteManager({ \r\n      options: { \r\n        scene: 2, \r\n        timeout: 15000 \r\n      } \r\n    });\r\n    console.log('Reward ad result:', result);\r\n  } catch (error) {\r\n    console.error('Reward ad execution error:', error);\r\n  }\r\n}\r\n\r\n// Usage\r\n// showRewardAdForPremium();\r\n```\r\n\r\n### Example 3: Ad Instance Management\r\n\r\n```javascript\r\nimport { InterstitialAdNovel, RewardAdNovel } from '@ad-execute-manager/ad';\r\n\r\n// Create ad instances\r\nconst interstitialAd = InterstitialAdNovel.new({ sign: 'interstitial' });\r\nconst rewardAd = RewardAdNovel.new({ sign: 'reward' });\r\n\r\n// Initialize ads\r\ninterstitialAd.initialize({ adUnitId: 'ca-app-pub-xxx/xxx', retry: 2 });\r\nrewardAd.initialize({ adUnitId: 'ca-app-pub-xxx/xxx', retry: 3 });\r\n\r\n// Function to show appropriate ad based on user action\r\nasync function showAdBasedOnAction(action) {\r\n  try {\r\n    switch (action) {\r\n      case 'chapter_end':\r\n        return await interstitialAd.addExecuteManager({ options: { scene: 1 } });\r\n      case 'unlock_premium':\r\n        return await rewardAd.addExecuteManager({ options: { scene: 2 } });\r\n      default:\r\n        throw new Error('Invalid ad action');\r\n    }\r\n  } catch (error) {\r\n    console.error('Ad error:', error);\r\n    return { success: false, error: error.message };\r\n  }\r\n}\r\n\r\n// Usage examples\r\n// showAdBasedOnAction('chapter_end');\r\n// showAdBasedOnAction('unlock_premium');\r\n```\r\n\r\n## License\r\n\r\nMIT\r\n","readmeFilename":"README.md"}