{"_id":"@hashcoop/loloyal-coupon-resolver","_rev":"27-04a25a0b8709916db23f9edabb67417c","name":"@hashcoop/loloyal-coupon-resolver","dist-tags":{"latest":"0.1.10"},"versions":{"0.1.0-alpha.5":{"name":"@hashcoop/loloyal-coupon-resolver","version":"0.1.0-alpha.5","_id":"@hashcoop/loloyal-coupon-resolver@0.1.0-alpha.5","maintainers":[{"name":"richmond_huang","email":"huangjiafua@gmail.com"},{"name":"fimars","email":"foru.fy@gmail.com"},{"name":"erjinhongshaorou","email":"erjinhongshaorou@gmail.com"}],"dist":{"shasum":"a12c05c7b2211386c68fa72176178833db4ed748","tarball":"https://registry.npmjs.org/@hashcoop/loloyal-coupon-resolver/-/loloyal-coupon-resolver-0.1.0-alpha.5.tgz","fileCount":13,"integrity":"sha512-Ad8riGhhdTb0/KGthzTyOve7b7kqQK1nByDlkoKc+n6YeFN9G+Yd7srAbC8hRSZXO/HficWbO0mYT2eYIHA/8w==","signatures":[{"sig":"MEUCIQCKqwJr99BHhJjwKKwW0QpVtx7bscikCsKHM/Zc4AE2mwIgQF7yYJTwAAljMIkOggOA5h9CvR2NE+x41KPCOHzP6qw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15964},"main":"./dist/counter.umd.cjs","type":"module","types":"./index.d.ts","module":"./dist/counter.js","exports":{"types":"./index.d.ts","import":"./dist/counter.js","require":"./dist/counter.umd.cjs"},"scripts":{"dev":"vite","build":"tsc && vite build"},"_npmUser":{"name":"richmond_huang","email":"huangjiafua@gmail.com"},"_npmVersion":"10.9.0","description":"Loloyal coupon name resolve","directories":{},"_nodeVersion":"23.3.0","_hasShrinkwrap":false,"devDependencies":{"vite":"^6.0.1","vitest":"^2.1.8","typescript":"~5.7.2"},"_npmOperationalInternal":{"tmp":"tmp/loloyal-coupon-resolver_0.1.0-alpha.5_1734830994511_0.44245046434993296","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-alpha.6":{"name":"@hashcoop/loloyal-coupon-resolver","version":"0.1.0-alpha.6","license":"ISC","_id":"@hashcoop/loloyal-coupon-resolver@0.1.0-alpha.6","maintainers":[{"name":"richmond_huang","email":"huangjiafua@gmail.com"},{"name":"fimars","email":"foru.fy@gmail.com"},{"name":"erjinhongshaorou","email":"erjinhongshaorou@gmail.com"},{"name":"richmond_huang_1","email":"huangjiafu@channelwill.cn"}],"dist":{"shasum":"90f38b92e0d1763dbb010b8cb5b713ab2b86b02c","tarball":"https://registry.npmjs.org/@hashcoop/loloyal-coupon-resolver/-/loloyal-coupon-resolver-0.1.0-alpha.6.tgz","fileCount":4,"integrity":"sha512-TbLT+dffJ6DKgJt5y0eewz2AXJRcMSjsP2DQ3YtzDdVWu1o+jLPFRseJeu1aQBif2YmE1Qotj8TMv1wb4oBcKg==","signatures":[{"sig":"MEYCIQDUZXYRs+ofSFP0kB+E6/ZSfUmK9YhbNU13lGXi9pjO7AIhAPB9fhRN4i5J6uEz/47CVYnJhlkV9eClnaPker1i6sbq","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5748},"main":"./dist/coupon-resolver.umd.cjs","type":"module","types":"./index.d.ts","module":"./dist/coupon-resolver.js","exports":{"types":"./index.d.ts","import":"./dist/coupon-resolver.js","require":"./dist/coupon-resolver.umd.cjs"},"gitHead":"2e3f9df7f7000a8bebbcf0ee87cf65fdba0a3416","scripts":{"dev":"vite","build":"vite build","release":"vite build && npm login && npm publish --access public"},"_npmUser":{"name":"richmond_huang_1","email":"huangjiafu@channelwill.cn"},"_npmVersion":"10.9.0","description":"Loloyal coupon name resolve","directories":{},"_nodeVersion":"23.3.0","_hasShrinkwrap":false,"devDependencies":{"vite":"^6.0.1","vitest":"^2.1.8","typescript":"~5.7.2"},"_npmOperationalInternal":{"tmp":"tmp/loloyal-coupon-resolver_0.1.0-alpha.6_1734935732626_0.29114668198639637","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-alpha.7":{"name":"@hashcoop/loloyal-coupon-resolver","version":"0.1.0-alpha.7","license":"ISC","_id":"@hashcoop/loloyal-coupon-resolver@0.1.0-alpha.7","maintainers":[{"name":"richmond_huang","email":"huangjiafua@gmail.com"},{"name":"fimars","email":"foru.fy@gmail.com"},{"name":"erjinhongshaorou","email":"erjinhongshaorou@gmail.com"},{"name":"richmond_huang_1","email":"huangjiafu@channelwill.cn"}],"dist":{"shasum":"a7b6bfe2a67b88e7f36f30e1657a10aba27800bd","tarball":"https://registry.npmjs.org/@hashcoop/loloyal-coupon-resolver/-/loloyal-coupon-resolver-0.1.0-alpha.7.tgz","fileCount":4,"integrity":"sha512-B+gZWtMMfscVGZNGhyU9ZcBhphg4Y+Dl6CzjPlZU2N6UHxKTR6mSIAjbR1H3Bn6Hpe3uNu+wF0/cFt43gWmdjw==","signatures":[{"sig":"MEYCIQDWURlHnaVcAMqZ7LKYYHXeaX0RZ/S3Bc5rYFho4sxMfAIhAIGWxnd9qTqKFchS8ewJGHTiUWlHzGhu+B9oxstjOQTe","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5728},"main":"./dist/coupon-resolver.umd.cjs","type":"module","types":"./index.d.ts","module":"./dist/coupon-resolver.js","exports":{"types":"./index.d.ts","import":"./dist/coupon-resolver.js","require":"./dist/coupon-resolver.umd.cjs"},"gitHead":"d25a7d14710925f6625d27ba6c1872e589f120ac","scripts":{"dev":"vite","build":"vite build","release":"vite build && npm login && npm publish --access public"},"_npmUser":{"name":"richmond_huang_1","email":"huangjiafu@channelwill.cn"},"_npmVersion":"10.9.0","description":"Loloyal coupon name resolve","directories":{},"_nodeVersion":"23.3.0","_hasShrinkwrap":false,"devDependencies":{"vite":"^6.0.1","vitest":"^2.1.8","typescript":"~5.7.2"},"_npmOperationalInternal":{"tmp":"tmp/loloyal-coupon-resolver_0.1.0-alpha.7_1734936273498_0.7422231471887419","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-alpha.8":{"name":"@hashcoop/loloyal-coupon-resolver","version":"0.1.0-alpha.8","license":"ISC","_id":"@hashcoop/loloyal-coupon-resolver@0.1.0-alpha.8","maintainers":[{"name":"richmond_huang","email":"huangjiafua@gmail.com"},{"name":"fimars","email":"foru.fy@gmail.com"},{"name":"erjinhongshaorou","email":"erjinhongshaorou@gmail.com"},{"name":"richmond_huang_1","email":"huangjiafu@channelwill.cn"}],"dist":{"shasum":"bb91abaa4789317e9ec9e9eb6abb3e59ad1d0cf3","tarball":"https://registry.npmjs.org/@hashcoop/loloyal-coupon-resolver/-/loloyal-coupon-resolver-0.1.0-alpha.8.tgz","fileCount":4,"integrity":"sha512-TQamFnKkray5y88nctSi3utZdp8FKcgREShX4K68PutHgUfcuBLKDGqi755Z60uv9Hg4QMKbYbEY7NYkwRfO4Q==","signatures":[{"sig":"MEUCIBKiTBGbzgHh9VDmiXE8kFnoqTy9iC+Bm2z7jKj9X6PSAiEAwN/HvTemTS0dpPRvc430DV+5jhBshiEkXx6iOQryR0g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5713},"main":"./dist/coupon-resolver.umd.js","type":"module","types":"./index.d.ts","module":"./dist/coupon-resolver.js","exports":{"types":"./index.d.ts","import":"./dist/coupon-resolver.js","require":"./dist/coupon-resolver.umd.js"},"gitHead":"c77ff17bc57bc7c0b787911b64e3f0cdccc6cd18","scripts":{"dev":"vite","build":"vite build","release":"vite build && npm publish --access public"},"_npmUser":{"name":"richmond_huang_1","email":"huangjiafu@channelwill.cn"},"_npmVersion":"10.9.0","description":"Loloyal coupon name resolve","directories":{},"_nodeVersion":"23.3.0","_hasShrinkwrap":false,"devDependencies":{"vite":"^6.0.1","vitest":"^2.1.8","typescript":"~5.7.2"},"_npmOperationalInternal":{"tmp":"tmp/loloyal-coupon-resolver_0.1.0-alpha.8_1734937003655_0.19921717209271783","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-alpha.9":{"name":"@hashcoop/loloyal-coupon-resolver","version":"0.1.0-alpha.9","license":"ISC","_id":"@hashcoop/loloyal-coupon-resolver@0.1.0-alpha.9","maintainers":[{"name":"richmond_huang","email":"huangjiafua@gmail.com"},{"name":"fimars","email":"foru.fy@gmail.com"},{"name":"erjinhongshaorou","email":"erjinhongshaorou@gmail.com"},{"name":"richmond_huang_1","email":"huangjiafu@channelwill.cn"}],"dist":{"shasum":"b6557a2f6dcebcea96b3d247ae01a5310addf5e3","tarball":"https://registry.npmjs.org/@hashcoop/loloyal-coupon-resolver/-/loloyal-coupon-resolver-0.1.0-alpha.9.tgz","fileCount":4,"integrity":"sha512-8jX8IFw8dRZrBtFoZQ5QFxCmRU/ZrhZ7SOAM2PPCBmulGuCtr9GIB5/vc/vzTEuY2FCE26MrJUsbbhBLAhvK+Q==","signatures":[{"sig":"MEYCIQCb7aKL2fBlWNO9n9sVqJdl2Di6LBt88dYYxepG4R/0rQIhAIimxKDubnwX41QHOGlhXyvwjRg7kEzZfirOeaT+/FmF","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5719},"main":"./dist/coupon-resolver.umd.js","type":"module","types":"./index.d.ts","module":"./dist/coupon-resolver.es.js","exports":{"types":"./index.d.ts","import":"./dist/coupon-resolver.es.js","require":"./dist/coupon-resolver.umd.js"},"gitHead":"c77ff17bc57bc7c0b787911b64e3f0cdccc6cd18","scripts":{"dev":"vite","build":"vite build","release":"vite build && npm publish --access public"},"_npmUser":{"name":"richmond_huang_1","email":"huangjiafu@channelwill.cn"},"_npmVersion":"10.9.0","description":"Loloyal coupon name resolve","directories":{},"_nodeVersion":"23.3.0","_hasShrinkwrap":false,"devDependencies":{"vite":"^6.0.1","vitest":"^2.1.8","typescript":"~5.7.2"},"_npmOperationalInternal":{"tmp":"tmp/loloyal-coupon-resolver_0.1.0-alpha.9_1734937179487_0.7993307624919546","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-alpha.10":{"name":"@hashcoop/loloyal-coupon-resolver","version":"0.1.0-alpha.10","license":"ISC","_id":"@hashcoop/loloyal-coupon-resolver@0.1.0-alpha.10","maintainers":[{"name":"richmond_huang","email":"huangjiafua@gmail.com"},{"name":"fimars","email":"foru.fy@gmail.com"},{"name":"erjinhongshaorou","email":"erjinhongshaorou@gmail.com"},{"name":"richmond_huang_1","email":"huangjiafu@channelwill.cn"}],"dist":{"shasum":"3b2a48cd0c0d83b01cf2bde268e5be0d5a22c23b","tarball":"https://registry.npmjs.org/@hashcoop/loloyal-coupon-resolver/-/loloyal-coupon-resolver-0.1.0-alpha.10.tgz","fileCount":12,"integrity":"sha512-Gy7eHTlpMOmtAtR4ZJS9gnOxywfnubwWc3f3qA86QKMqATlqx9g4vcU+3CagOg+70gE+/da18DOfLAXZzlW4pw==","signatures":[{"sig":"MEQCIA8UheM1NoByW8H7ZmDhbjz/h3EtY01l54Vi5PGcNQRDAiB4bUfkZROSRsuSV549V2MlTi1ps80OTMtETtjn/mpmtQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9313},"main":"./dist/coupon-resolver.umd.js","type":"module","types":"./dist/index.d.ts","module":"./dist/coupon-resolver.es.js","exports":{"types":"./dist/index.d.ts","import":"./dist/coupon-resolver.es.js","require":"./dist/coupon-resolver.umd.js"},"gitHead":"c77ff17bc57bc7c0b787911b64e3f0cdccc6cd18","scripts":{"dev":"vite","build":"vite build","release":"vite build && npm publish --access public"},"_npmUser":{"name":"richmond_huang_1","email":"huangjiafu@channelwill.cn"},"_npmVersion":"10.9.0","description":"Loloyal coupon name resolve","directories":{},"_nodeVersion":"23.3.0","_hasShrinkwrap":false,"devDependencies":{"vite":"^6.0.1","vitest":"^2.1.8","typescript":"~5.7.2","vite-plugin-dts":"^4.4.0"},"_npmOperationalInternal":{"tmp":"tmp/loloyal-coupon-resolver_0.1.0-alpha.10_1734938634184_0.2167267613603241","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-alpha.11":{"name":"@hashcoop/loloyal-coupon-resolver","version":"0.1.0-alpha.11","license":"ISC","_id":"@hashcoop/loloyal-coupon-resolver@0.1.0-alpha.11","maintainers":[{"name":"richmond_huang","email":"huangjiafua@gmail.com"},{"name":"fimars","email":"foru.fy@gmail.com"},{"name":"erjinhongshaorou","email":"erjinhongshaorou@gmail.com"},{"name":"richmond_huang_1","email":"huangjiafu@channelwill.cn"}],"dist":{"shasum":"c1dd2c6cc16607f943a29500614989a6dfac582e","tarball":"https://registry.npmjs.org/@hashcoop/loloyal-coupon-resolver/-/loloyal-coupon-resolver-0.1.0-alpha.11.tgz","fileCount":12,"integrity":"sha512-rgW0xLTk39TlRbY5Ybl50pUwdHU8nQBZf2TrJW+wCQEA76szuSNZyCiEjfycRQA4F6++pUQ2/KqKCUkqxhyagQ==","signatures":[{"sig":"MEUCIQD1FqBEGeQbPR9OVq5iF+ULIJm03Sp8ROpT4f6AGsJW+wIgDNEN2Z1z4DuMxhtyezEoZvinxllFBeeVxwIZf2B/Rp4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9333},"main":"./dist/coupon-resolver.umd.js","type":"module","types":"./dist/index.d.ts","module":"./dist/coupon-resolver.es.js","exports":{"types":"./dist/index.d.ts","import":"./dist/coupon-resolver.es.js","require":"./dist/coupon-resolver.umd.js"},"gitHead":"c77ff17bc57bc7c0b787911b64e3f0cdccc6cd18","scripts":{"dev":"vite","build":"vite build","release":"vite build && npm publish --access public"},"_npmUser":{"name":"richmond_huang_1","email":"huangjiafu@channelwill.cn"},"_npmVersion":"10.9.0","description":"Loloyal coupon name resolve","directories":{},"_nodeVersion":"23.3.0","_hasShrinkwrap":false,"devDependencies":{"vite":"^6.0.1","vitest":"^2.1.8","typescript":"~5.7.2","vite-plugin-dts":"^4.4.0"},"_npmOperationalInternal":{"tmp":"tmp/loloyal-coupon-resolver_0.1.0-alpha.11_1734939827147_0.6955630380234774","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@hashcoop/loloyal-coupon-resolver","version":"0.1.1","license":"ISC","_id":"@hashcoop/loloyal-coupon-resolver@0.1.1","maintainers":[{"name":"richmond_huang","email":"huangjiafua@gmail.com"},{"name":"fimars","email":"foru.fy@gmail.com"},{"name":"erjinhongshaorou","email":"erjinhongshaorou@gmail.com"},{"name":"richmond_huang_1","email":"huangjiafu@channelwill.cn"}],"dist":{"shasum":"abf0a10be63ea7dd2337fd1494e50d7bbfa49c53","tarball":"https://registry.npmjs.org/@hashcoop/loloyal-coupon-resolver/-/loloyal-coupon-resolver-0.1.1.tgz","fileCount":12,"integrity":"sha512-9DG1GNVzPF6d48Db957EXhjlD626IhjdHyLkV0YLf539QPqzOD6NCXKLP5M7t95OL962G+74bIL4UyDmONcByw==","signatures":[{"sig":"MEUCIEsTus24HfD07upe/Lf6oOtGovjLORm0sYyYLTbAwmXfAiEAoKutYcq/UK3k4fqtwnKNyzSPMFf3TQMHm2cAmjNefxk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9304},"main":"./dist/coupon-resolver.umd.js","types":"./dist/index.d.ts","module":"./dist/coupon-resolver.es.js","exports":{"types":"./dist/index.d.ts","import":"./dist/coupon-resolver.es.js","require":"./dist/coupon-resolver.umd.js"},"gitHead":"11060becb7f8f2e874ef69078ec538c788563361","scripts":{"dev":"vite","build":"vite build","release":"vite build && npm publish --access public"},"_npmUser":{"name":"richmond_huang_1","email":"huangjiafu@channelwill.cn"},"_npmVersion":"10.9.0","description":"Loloyal coupon name resolve","directories":{},"_nodeVersion":"23.3.0","_hasShrinkwrap":false,"devDependencies":{"vite":"^6.0.1","vitest":"^2.1.8","typescript":"~5.7.2","vite-plugin-dts":"^4.4.0"},"_npmOperationalInternal":{"tmp":"tmp/loloyal-coupon-resolver_0.1.1_1734942056922_0.4819700362865804","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@hashcoop/loloyal-coupon-resolver","version":"0.1.2","license":"ISC","_id":"@hashcoop/loloyal-coupon-resolver@0.1.2","maintainers":[{"name":"richmond_huang","email":"huangjiafua@gmail.com"},{"name":"fimars","email":"foru.fy@gmail.com"},{"name":"erjinhongshaorou","email":"erjinhongshaorou@gmail.com"},{"name":"richmond_huang_1","email":"huangjiafu@channelwill.cn"}],"dist":{"shasum":"547b0c36a0f93d4ca62fd16cbd2145699a48abbe","tarball":"https://registry.npmjs.org/@hashcoop/loloyal-coupon-resolver/-/loloyal-coupon-resolver-0.1.2.tgz","fileCount":13,"integrity":"sha512-pAyLs5/lMzRIeRMcO7T0GFyBROYBohd+XJh9bGCwm1yRSoyGdE5hqO92MNhbG48DM92BnLoviZLkTDGsyOODKg==","signatures":[{"sig":"MEUCIFY0XLK4iuZTN08oWg+yIdMW+AS7GKKSqgSCsgJ8AVn0AiEA3Y5I+yTjnJbrfYfHxD+7+et5GtfEsRQaHa+qrtZzxyk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11074},"main":"./dist/coupon-resolver.umd.js","_from":"file:hashcoop-loloyal-coupon-resolver-0.1.2.tgz","types":"./dist/index.d.ts","module":"./dist/coupon-resolver.es.js","exports":{"types":"./dist/index.d.ts","import":"./dist/coupon-resolver.es.js","require":"./dist/coupon-resolver.umd.js"},"scripts":{"dev":"vite","build":"vite build"},"_npmUser":{"name":"richmond_huang_1","email":"huangjiafu@channelwill.cn"},"_resolved":"/tmp/f53fac517c961cf6953d10cb37de6816/hashcoop-loloyal-coupon-resolver-0.1.2.tgz","_integrity":"sha512-pAyLs5/lMzRIeRMcO7T0GFyBROYBohd+XJh9bGCwm1yRSoyGdE5hqO92MNhbG48DM92BnLoviZLkTDGsyOODKg==","_npmVersion":"10.9.0","description":"Loloyal coupon name resolve","directories":{},"_nodeVersion":"23.3.0","_hasShrinkwrap":false,"devDependencies":{"vite":"^6.0.1","vitest":"^2.1.8","typescript":"~5.7.2","vite-plugin-dts":"^4.4.0"},"_npmOperationalInternal":{"tmp":"tmp/loloyal-coupon-resolver_0.1.2_1734948182521_0.1407541086102695","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@hashcoop/loloyal-coupon-resolver","version":"0.1.3","license":"ISC","_id":"@hashcoop/loloyal-coupon-resolver@0.1.3","maintainers":[{"name":"richmond_huang","email":"huangjiafua@gmail.com"},{"name":"fimars","email":"foru.fy@gmail.com"},{"name":"erjinhongshaorou","email":"erjinhongshaorou@gmail.com"},{"name":"richmond_huang_1","email":"huangjiafu@channelwill.cn"}],"dist":{"shasum":"aeb6f8baf52cd33f44f9203c26b6a3bc5d5fcff3","tarball":"https://registry.npmjs.org/@hashcoop/loloyal-coupon-resolver/-/loloyal-coupon-resolver-0.1.3.tgz","fileCount":13,"integrity":"sha512-4kL/30tKpPJ86EDPmZXHcxSGLUBQRENuIQJKJnCtRX3B/i0d8pjZay7Yk1TrQWEz9kYz3m+9j5R5VAXug4PaPg==","signatures":[{"sig":"MEQCIFUvI3USaXCLHgtQtWqDYfstQegu8iZkywSLNdOCOLfAAiBNQynsbc4aF20k/rk1GwQYL1/Icbd1ckLCTysx7vVnig==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11122},"main":"./dist/coupon-resolver.umd.js","_from":"file:hashcoop-loloyal-coupon-resolver-0.1.3.tgz","types":"./dist/index.d.ts","module":"./dist/coupon-resolver.es.js","exports":{"types":"./dist/index.d.ts","import":"./dist/coupon-resolver.es.js","require":"./dist/coupon-resolver.umd.js"},"scripts":{"dev":"vite","build":"vite build"},"_npmUser":{"name":"richmond_huang_1","email":"huangjiafu@channelwill.cn"},"_resolved":"/tmp/5cd64f442944b1aa8ec96a89474dcdf0/hashcoop-loloyal-coupon-resolver-0.1.3.tgz","_integrity":"sha512-4kL/30tKpPJ86EDPmZXHcxSGLUBQRENuIQJKJnCtRX3B/i0d8pjZay7Yk1TrQWEz9kYz3m+9j5R5VAXug4PaPg==","_npmVersion":"10.9.0","description":"Loloyal coupon name resolve","directories":{},"_nodeVersion":"23.3.0","_hasShrinkwrap":false,"devDependencies":{"vite":"^6.0.1","vitest":"^2.1.8","typescript":"~5.7.2","vite-plugin-dts":"^4.4.0"},"_npmOperationalInternal":{"tmp":"tmp/loloyal-coupon-resolver_0.1.3_1734949286644_0.6717564789304664","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@hashcoop/loloyal-coupon-resolver","version":"0.1.4","license":"ISC","_id":"@hashcoop/loloyal-coupon-resolver@0.1.4","maintainers":[{"name":"richmond_huang","email":"huangjiafua@gmail.com"},{"name":"fimars","email":"foru.fy@gmail.com"},{"name":"erjinhongshaorou","email":"erjinhongshaorou@gmail.com"},{"name":"richmond_huang_1","email":"huangjiafu@channelwill.cn"}],"dist":{"shasum":"e16a915d13a08757b1973e6119c7cd1cecae8f10","tarball":"https://registry.npmjs.org/@hashcoop/loloyal-coupon-resolver/-/loloyal-coupon-resolver-0.1.4.tgz","fileCount":13,"integrity":"sha512-VZGfBVtdsgxe+d9RGZSQaKqvgViKuLZPzmRqmEJp7d+BSKaV6e3NJjgHIn1lMgP/Oaf/kUDL29dWjZJuGq5rLA==","signatures":[{"sig":"MEUCIFC/DA+00n+hbelaKPLblTR6hw7u+HDCocEtdcukeMnZAiEA4YteFORGfaLXIdkCQLYsoIm3VZS71eVLYtIvMQqky+k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11139},"main":"./dist/coupon-resolver.umd.js","_from":"file:hashcoop-loloyal-coupon-resolver-0.1.4.tgz","types":"./dist/index.d.ts","module":"./dist/coupon-resolver.es.js","exports":{"types":"./dist/index.d.ts","import":"./dist/coupon-resolver.es.js","require":"./dist/coupon-resolver.umd.js"},"scripts":{"dev":"vite","build":"vite build"},"_npmUser":{"name":"richmond_huang_1","email":"huangjiafu@channelwill.cn"},"_resolved":"/tmp/7a07d0ee9bd60c32cf05354a631301f8/hashcoop-loloyal-coupon-resolver-0.1.4.tgz","_integrity":"sha512-VZGfBVtdsgxe+d9RGZSQaKqvgViKuLZPzmRqmEJp7d+BSKaV6e3NJjgHIn1lMgP/Oaf/kUDL29dWjZJuGq5rLA==","_npmVersion":"10.9.0","description":"Loloyal coupon name resolve","directories":{},"_nodeVersion":"23.3.0","_hasShrinkwrap":false,"devDependencies":{"vite":"^6.0.1","vitest":"^2.1.8","typescript":"~5.7.2","vite-plugin-dts":"^4.4.0"},"_npmOperationalInternal":{"tmp":"tmp/loloyal-coupon-resolver_0.1.4_1734950248980_0.8037561317271309","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@hashcoop/loloyal-coupon-resolver","version":"0.1.5","license":"ISC","_id":"@hashcoop/loloyal-coupon-resolver@0.1.5","maintainers":[{"name":"richmond_huang","email":"huangjiafua@gmail.com"},{"name":"fimars","email":"foru.fy@gmail.com"},{"name":"erjinhongshaorou","email":"erjinhongshaorou@gmail.com"},{"name":"richmond_huang_1","email":"huangjiafu@channelwill.cn"}],"dist":{"shasum":"7ec0cfabfc0d4497aa023cf0cae5663f5a2cdb5b","tarball":"https://registry.npmjs.org/@hashcoop/loloyal-coupon-resolver/-/loloyal-coupon-resolver-0.1.5.tgz","fileCount":13,"integrity":"sha512-4NSqNBuAspomw9OT3zrbTWMmp4m93uv1x7URjicGL/T8k0UofEPHvYfOIYZ+3tJJoeS38muWSRsS+oW/udvKmQ==","signatures":[{"sig":"MEUCIFhGm/9Eqjpe1Vq2TDbx75yVc2sptgjAsf/h9kiUJ4AUAiEA7EFk6fdiXeYQozD6hey5OUV1PsZp9IxiRzbZ+Z9hVD0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11139},"main":"./dist/coupon-resolver.umd.js","_from":"file:hashcoop-loloyal-coupon-resolver-0.1.5.tgz","types":"./dist/index.d.ts","module":"./dist/coupon-resolver.es.js","exports":{"types":"./dist/index.d.ts","import":"./dist/coupon-resolver.es.js","require":"./dist/coupon-resolver.umd.js"},"scripts":{"dev":"vite","build":"vite build"},"_npmUser":{"name":"richmond_huang_1","email":"huangjiafu@channelwill.cn"},"_resolved":"/tmp/e4d3ed661268ae1e74349dbcbabf9408/hashcoop-loloyal-coupon-resolver-0.1.5.tgz","_integrity":"sha512-4NSqNBuAspomw9OT3zrbTWMmp4m93uv1x7URjicGL/T8k0UofEPHvYfOIYZ+3tJJoeS38muWSRsS+oW/udvKmQ==","_npmVersion":"10.9.0","description":"Loloyal coupon name resolve","directories":{},"_nodeVersion":"23.3.0","_hasShrinkwrap":false,"devDependencies":{"vite":"^6.0.1","vitest":"^2.1.8","typescript":"~5.7.2","vite-plugin-dts":"^4.4.0"},"_npmOperationalInternal":{"tmp":"tmp/loloyal-coupon-resolver_0.1.5_1735124398508_0.3307188751639507","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"@hashcoop/loloyal-coupon-resolver","version":"0.1.6","license":"ISC","_id":"@hashcoop/loloyal-coupon-resolver@0.1.6","maintainers":[{"name":"richmond_huang","email":"huangjiafua@gmail.com"},{"name":"fimars","email":"foru.fy@gmail.com"},{"name":"erjinhongshaorou","email":"erjinhongshaorou@gmail.com"},{"name":"richmond_huang_1","email":"huangjiafu@channelwill.cn"}],"dist":{"shasum":"700a5532b0a61320981d52859b3c767e45af8358","tarball":"https://registry.npmjs.org/@hashcoop/loloyal-coupon-resolver/-/loloyal-coupon-resolver-0.1.6.tgz","fileCount":13,"integrity":"sha512-eNNUcRiCE5aCWPokzm6JbzAt+ao0MbB1HHHt0nHbD4/9WH/7Pul2Cc3XRaYJeh9jmbCosQ9jVnUIXW4w/pjR8g==","signatures":[{"sig":"MEQCIDhFNWX/B5TDmTcdZTdMZ1H09Io5MDz9ogvqrUGCm90iAiAwZ9c7sMxJrU3rtLCs+NS/m9u1cuWyKGlVLlEtr4y56A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11035},"main":"./dist/coupon-resolver.umd.js","_from":"file:hashcoop-loloyal-coupon-resolver-0.1.6.tgz","types":"./dist/index.d.ts","module":"./dist/coupon-resolver.es.js","exports":{"types":"./dist/index.d.ts","import":"./dist/coupon-resolver.es.js","require":"./dist/coupon-resolver.umd.js"},"scripts":{"dev":"vite","build":"vite build"},"_npmUser":{"name":"richmond_huang_1","email":"huangjiafu@channelwill.cn"},"_resolved":"/tmp/b4ffcc30b6af8948b1897c70ec27689a/hashcoop-loloyal-coupon-resolver-0.1.6.tgz","_integrity":"sha512-eNNUcRiCE5aCWPokzm6JbzAt+ao0MbB1HHHt0nHbD4/9WH/7Pul2Cc3XRaYJeh9jmbCosQ9jVnUIXW4w/pjR8g==","_npmVersion":"10.9.0","description":"Loloyal coupon name resolve","directories":{},"_nodeVersion":"23.3.0","_hasShrinkwrap":false,"devDependencies":{"vite":"^6.0.1","vitest":"^2.1.8","typescript":"~5.7.2","vite-plugin-dts":"^4.4.0"},"_npmOperationalInternal":{"tmp":"tmp/loloyal-coupon-resolver_0.1.6_1735125548410_0.7264793486383294","host":"s3://npm-registry-packages-npm-production"}},"0.1.7":{"name":"@hashcoop/loloyal-coupon-resolver","version":"0.1.7","license":"ISC","_id":"@hashcoop/loloyal-coupon-resolver@0.1.7","maintainers":[{"name":"richmond_huang","email":"huangjiafua@gmail.com"},{"name":"fimars","email":"foru.fy@gmail.com"},{"name":"erjinhongshaorou","email":"erjinhongshaorou@gmail.com"},{"name":"richmond_huang_1","email":"huangjiafu@channelwill.cn"}],"dist":{"shasum":"d79983c2b97257beb61427beba4210084f5d5ee4","tarball":"https://registry.npmjs.org/@hashcoop/loloyal-coupon-resolver/-/loloyal-coupon-resolver-0.1.7.tgz","fileCount":13,"integrity":"sha512-zbf5iQyKlsp/LV1v/37mPmx0HeGXfNFhP7dLuMH3MVh4Jt6njHLBrznhn2B8ixw6cD4Ui1epBXNV4cM9tueLWA==","signatures":[{"sig":"MEUCIG7fQn4NMV1CLO+Ped+cvdlcP7z+85Vq2crVfQ7KKCyiAiEAmr4wsbVnf5vRxLB/u1Ye/mqBqrVfBmfoHb/bgRKKFws=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11035},"main":"./dist/coupon-resolver.umd.js","_from":"file:hashcoop-loloyal-coupon-resolver-0.1.7.tgz","types":"./dist/index.d.ts","module":"./dist/coupon-resolver.es.js","exports":{"types":"./dist/index.d.ts","import":"./dist/coupon-resolver.es.js","require":"./dist/coupon-resolver.umd.js"},"scripts":{"dev":"vite","build":"vite build"},"_npmUser":{"name":"richmond_huang_1","email":"huangjiafu@channelwill.cn"},"_resolved":"/tmp/41591c5f59cb381f89d4569140cd8eac/hashcoop-loloyal-coupon-resolver-0.1.7.tgz","_integrity":"sha512-zbf5iQyKlsp/LV1v/37mPmx0HeGXfNFhP7dLuMH3MVh4Jt6njHLBrznhn2B8ixw6cD4Ui1epBXNV4cM9tueLWA==","_npmVersion":"10.9.0","description":"Loloyal coupon name resolve","directories":{},"_nodeVersion":"23.3.0","_hasShrinkwrap":false,"devDependencies":{"vite":"^6.0.1","vitest":"^2.1.8","typescript":"~5.7.2","vite-plugin-dts":"^4.4.0"},"_npmOperationalInternal":{"tmp":"tmp/loloyal-coupon-resolver_0.1.7_1735130462305_0.16873921411230586","host":"s3://npm-registry-packages-npm-production"}},"0.1.8":{"name":"@hashcoop/loloyal-coupon-resolver","version":"0.1.8","license":"ISC","_id":"@hashcoop/loloyal-coupon-resolver@0.1.8","maintainers":[{"name":"richmond_huang","email":"huangjiafua@gmail.com"},{"name":"fimars","email":"foru.fy@gmail.com"},{"name":"erjinhongshaorou","email":"erjinhongshaorou@gmail.com"},{"name":"richmond_huang_1","email":"huangjiafu@channelwill.cn"}],"dist":{"shasum":"30caad01fea4028b51ebe8e4872c1fcdf6fcb75f","tarball":"https://registry.npmjs.org/@hashcoop/loloyal-coupon-resolver/-/loloyal-coupon-resolver-0.1.8.tgz","fileCount":13,"integrity":"sha512-/3K2uh59PHdgm5lpX7ohxJzeWDP/I4ASMr06heNvQ9rhDiEwwZXPQaz01MkotS5pBXSenIIbMUvRfi8xgzJyZw==","signatures":[{"sig":"MEYCIQDuW7wX04mIKlJyNotL6eIsz4FLG4Ykm3apbvs/eHWC+wIhAPEvMnp3qd3EHb7QZeGD0oC/vu/1xvAIz4DIM6Icrcva","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10903},"main":"./dist/coupon-resolver.umd.js","_from":"file:hashcoop-loloyal-coupon-resolver-0.1.8.tgz","types":"./dist/index.d.ts","module":"./dist/coupon-resolver.es.js","exports":{"types":"./dist/index.d.ts","import":"./dist/coupon-resolver.es.js","require":"./dist/coupon-resolver.umd.js"},"scripts":{"dev":"vite","build":"vite build"},"_npmUser":{"name":"richmond_huang_1","email":"huangjiafu@channelwill.cn"},"_resolved":"/tmp/2b1feb40b78108e9b97a7ce4628c1df0/hashcoop-loloyal-coupon-resolver-0.1.8.tgz","_integrity":"sha512-/3K2uh59PHdgm5lpX7ohxJzeWDP/I4ASMr06heNvQ9rhDiEwwZXPQaz01MkotS5pBXSenIIbMUvRfi8xgzJyZw==","_npmVersion":"10.9.0","description":"Loloyal coupon name resolve","directories":{},"_nodeVersion":"23.3.0","_hasShrinkwrap":false,"devDependencies":{"vite":"^6.0.1","vitest":"^2.1.8","typescript":"~5.7.2","vite-plugin-dts":"^4.4.0"},"_npmOperationalInternal":{"tmp":"tmp/loloyal-coupon-resolver_0.1.8_1735186665509_0.8930616287107112","host":"s3://npm-registry-packages-npm-production"}},"0.1.9":{"name":"@hashcoop/loloyal-coupon-resolver","version":"0.1.9","license":"ISC","_id":"@hashcoop/loloyal-coupon-resolver@0.1.9","maintainers":[{"name":"richmond_huang","email":"huangjiafua@gmail.com"},{"name":"fimars","email":"foru.fy@gmail.com"},{"name":"erjinhongshaorou","email":"erjinhongshaorou@gmail.com"},{"name":"richmond_huang_1","email":"huangjiafu@channelwill.cn"}],"dist":{"shasum":"ff967186ddfd8efb1dea8fca1ad00bb522bfebcc","tarball":"https://registry.npmjs.org/@hashcoop/loloyal-coupon-resolver/-/loloyal-coupon-resolver-0.1.9.tgz","fileCount":13,"integrity":"sha512-wMgJznijAxpGFAtFgQ/BCx+6SCsUM4VKlzyuqk9ulRniLxkMOQBSl75jt5EpLl73WSvbiQNImA7jeKkm91qMHw==","signatures":[{"sig":"MEUCICufb9pruIaj2GTvukv8EGbazuT3qSfmTH+aGGDMzwnrAiEA2jldSf/7R9jjAir+KA8/urXo2bjnIiaZzBGl4rQ58dE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10903},"main":"./dist/coupon-resolver.umd.js","_from":"file:hashcoop-loloyal-coupon-resolver-0.1.9.tgz","types":"./dist/index.d.ts","module":"./dist/coupon-resolver.es.js","exports":{"types":"./dist/index.d.ts","import":"./dist/coupon-resolver.es.js","require":"./dist/coupon-resolver.umd.js"},"scripts":{"dev":"vite","build":"vite build"},"_npmUser":{"name":"richmond_huang_1","email":"huangjiafu@channelwill.cn"},"_resolved":"/tmp/dec92cad2f9b29662c0c06cd8223b5fb/hashcoop-loloyal-coupon-resolver-0.1.9.tgz","_integrity":"sha512-wMgJznijAxpGFAtFgQ/BCx+6SCsUM4VKlzyuqk9ulRniLxkMOQBSl75jt5EpLl73WSvbiQNImA7jeKkm91qMHw==","_npmVersion":"10.9.0","description":"Loloyal coupon name resolve","directories":{},"_nodeVersion":"23.3.0","_hasShrinkwrap":false,"devDependencies":{"vite":"^6.0.1","vitest":"^2.1.8","typescript":"~5.7.2","vite-plugin-dts":"^4.4.0"},"_npmOperationalInternal":{"tmp":"tmp/loloyal-coupon-resolver_0.1.9_1740131055308_0.2248915473242803","host":"s3://npm-registry-packages-npm-production"}},"0.1.10":{"name":"@hashcoop/loloyal-coupon-resolver","version":"0.1.10","license":"ISC","_id":"@hashcoop/loloyal-coupon-resolver@0.1.10","maintainers":[{"name":"richmond_huang","email":"huangjiafua@gmail.com"},{"name":"fimars","email":"foru.fy@gmail.com"},{"name":"erjinhongshaorou","email":"erjinhongshaorou@gmail.com"},{"name":"richmond_huang_1","email":"huangjiafu@channelwill.cn"}],"dist":{"shasum":"31275af1bd7164868ed1e5553da37b461c19ae4d","tarball":"https://registry.npmjs.org/@hashcoop/loloyal-coupon-resolver/-/loloyal-coupon-resolver-0.1.10.tgz","fileCount":13,"integrity":"sha512-iSVQw2ApvvRFY3vcYQiGteGWgeuy7wZxBFYc2FvUtX0Pk8+LTJaCZOUMB3ebH5yt1OWgQBMe4mKSxXrzFnQtfA==","signatures":[{"sig":"MEQCIBTy4tMswVzUuyb67/jjo1V+B+SgxASJmDfE2hVC3ihjAiBpJBVqyKcxOCsre0scbF2cLjPC8Me2cUd+vJVNCMnQZg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11082},"main":"./dist/coupon-resolver.umd.js","_from":"file:hashcoop-loloyal-coupon-resolver-0.1.10.tgz","types":"./dist/index.d.ts","module":"./dist/coupon-resolver.es.js","exports":{"types":"./dist/index.d.ts","import":"./dist/coupon-resolver.es.js","require":"./dist/coupon-resolver.umd.js"},"scripts":{"dev":"vite","build":"vite build"},"_npmUser":{"name":"richmond_huang_1","email":"huangjiafu@channelwill.cn"},"_resolved":"/tmp/7dc47730f80ae4f4fd8df69677145e5d/hashcoop-loloyal-coupon-resolver-0.1.10.tgz","_integrity":"sha512-iSVQw2ApvvRFY3vcYQiGteGWgeuy7wZxBFYc2FvUtX0Pk8+LTJaCZOUMB3ebH5yt1OWgQBMe4mKSxXrzFnQtfA==","_npmVersion":"10.9.0","description":"Loloyal coupon name resolve","directories":{},"_nodeVersion":"23.3.0","_hasShrinkwrap":false,"devDependencies":{"vite":"^6.0.1","vitest":"^2.1.8","typescript":"~5.7.2","vite-plugin-dts":"^4.4.0"},"_npmOperationalInternal":{"tmp":"tmp/loloyal-coupon-resolver_0.1.10_1740133549980_0.5975513467083635","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2024-12-22T01:29:54.403Z","modified":"2025-09-09T02:11:14.452Z","0.1.0":"2024-12-20T09:02:54.712Z","0.1.0-alpha.1":"2024-12-20T09:28:02.974Z","0.1.0-alpha.2":"2024-12-20T09:58:28.426Z","0.1.0-alpha.3":"2024-12-20T10:50:12.166Z","0.1.0-alpha.5":"2024-12-22T01:29:54.746Z","0.1.0-alpha.6":"2024-12-23T06:35:32.805Z","0.1.0-alpha.7":"2024-12-23T06:44:33.674Z","0.1.0-alpha.8":"2024-12-23T06:56:43.866Z","0.1.0-alpha.9":"2024-12-23T06:59:39.671Z","0.1.0-alpha.10":"2024-12-23T07:23:54.419Z","0.1.0-alpha.11":"2024-12-23T07:43:47.401Z","0.1.1":"2024-12-23T08:20:57.110Z","0.1.2":"2024-12-23T10:03:02.690Z","0.1.3":"2024-12-23T10:21:26.821Z","0.1.4":"2024-12-23T10:37:29.143Z","0.1.5":"2024-12-25T10:59:58.710Z","0.1.6":"2024-12-25T11:19:08.604Z","0.1.7":"2024-12-25T12:41:02.513Z","0.1.8":"2024-12-26T04:17:45.677Z","0.1.9":"2025-02-21T09:44:15.488Z","0.1.10":"2025-02-21T10:25:50.158Z"},"license":"ISC","description":"Loloyal coupon name resolve","maintainers":[{"email":"huangjiafua@gmail.com","name":"richmond_huang"},{"email":"foru.fy@gmail.com","name":"fimars"},{"email":"erjinhongshaorou@gmail.com","name":"erjinhongshaorou"},{"email":"huangjiafu@channelwill.cn","name":"richmond_huang_1"},{"email":"yuhao.lin@channelwill.net","name":"linyuhao"}],"readme":"# @hashcoop/loloyal-coupon-resolver\n\n## 开发\n\n### 本地调试\n\n```bash\npnpm dev\n```\n\n### 发布\n```bash\npnpm publish\n```\n\n## API\n\n```bash\nnpm install @hashcoop/loloyal-coupon-resolver\n```\n\n### 优惠券相关类型\n```ts\ntype CouponTemplateType = \"general\" | \"refer\" | \"vip\";\n\nenum COUPON_TYPES {\n  Fixed = 1,\n  Percentage = 2,\n  Shipping = 3,\n  Increments = 4,\n  Product = 5,\n  PosAmount = 6,\n  PosPercentage = 7,\n}\n\nenum REFERRAL_REWARD_TYPES {\n  Amount = 1,\n  Percentage = 2,\n  Points = 3,\n  Shipping = 4,\n  Product = 5,\n}\n```\n\n\n### CouponNameVariablesMap\n\n优惠券名称占位符变量\n\n```ts\nenum CouponNameVariablesMap {\n  points = \"points\",\n  discount_amount = \"discount_amount\",\n  fixed_discount = \"fixed_discount\",\n  percentage_discount = \"percentage_discount\",\n}\n```\n\n### getCouponMapByTemplateType\n\n获取优惠券占位符变量与字段映射对象\n\n```ts\nconst featureTypeFunctionMap = getCouponMapByTemplateType('general')\n```\n\n### getResolvedCouponName\n\n解析单个优惠券名称\n\n```ts\nconst name = getResolvedCouponName({\n  currencySymbol: '$';\n  couponTemplateType: 'general';\n  couponType: 1;\n  amount: '10000';\n  points: 100;\n  name: '花费{{points}}兑换{{fixed_discount}}优惠券';\n  localeCode: 'zh-CN';\n})\n\nconsole.log(name) // spending 100 points to get 00 off coupon\n```\n\n### getResolvedCouponName\n\n解析优惠券名称列表\n\n```ts\nconst originNames = [\n    '花费 {{points}} 兑换 {{fixed_discount}} 优惠券',\n    'spending {{points}} points to get {{fixed_discount}} off coupon'\n  ],\n\nconst discountFunction = featureTypeFunctionMap[COUPON_TYPES.Fixed]\nconst discountParams: GetVarMapParams = {\n  amount: '10000',\n  points: 100,\n}\nconst names = originNames.map((item) => item.value.value)\nconst resolvedNames = getResolvedCouponNameList(\n  names,\n  discountFunction(discountParams),\n)\n\n```\n","readmeFilename":"README.md"}