{"_id":"@gethamla/sdk","_rev":"34-84e65b7b7fb031165180d17809ad6769","name":"@gethamla/sdk","dist-tags":{"latest":"2.21.0"},"versions":{"1.0.0":{"name":"@gethamla/sdk","version":"1.0.0","keywords":["hamla","marketing-sdk","ecommerce","popup","push-notifications","email-marketing","cart-recovery","behavioral-targeting","salla","zid","arabic","rtl","marketing-automation","conversion-optimization"],"author":{"url":"https://hamla.io","name":"Alienzhouse LTD","email":"hello@alienzhouse.com"},"license":"MIT","_id":"@gethamla/sdk@1.0.0","maintainers":[{"name":"hamala","email":"yassin.hamla.io@gmail.com"}],"homepage":"https://hamla.io","bugs":{"url":"https://github.com/TheYass1n/hamla-monorepo/issues","email":"support@hamla.io"},"dist":{"shasum":"f509308393c8d93d7b09eedb8d369d078598c21b","tarball":"https://registry.npmjs.org/@gethamla/sdk/-/sdk-1.0.0.tgz","fileCount":8,"integrity":"sha512-egwGEYHzQ/Ro3B+Zq+ktvejyhyCQyepiYTYLBUNVNPPkAUZikfAzzvESHRsr/OCC163MfzspVwGIcN0QBwfEkw==","signatures":[{"sig":"MEYCIQDKYmjc2QXyPDQJYwd7FRsdOdAky0s6RK4qDzDI0hipaQIhALSwytv/ICBwpDZlnVX32RU1HJrAF/o7sv5TdnjC+b2p","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3972387},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","browser":"./dist/browser.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./browser":{"import":"./dist/browser.mjs"}},"gitHead":"b151e305ebe99f4331c8f30f001ce5fbc5c59d56","scripts":{"dev":"node dev-server.js","lint":"eslint src --ext .ts","test":"vitest","build":"tsup","clean":"rm -rf dist","serve":"node dev-server.js","test:ui":"vitest --ui","dev:serve":"node dev-server.js --watch","serve:sdk":"./serve-sdk.sh","build:prod":"tsup --minify","test:watch":"vitest --watch","type-check":"tsc --noEmit"},"_npmUser":{"name":"hamala","email":"yassin.hamla.io@gmail.com"},"repository":{"url":"git+https://github.com/TheYass1n/hamla-monorepo.git","type":"git","directory":"packages/hamla-sdk-v5"},"_npmVersion":"11.3.0","description":"Lightweight marketing SDK for e-commerce — popups, push notifications, email campaigns, and behavioral targeting. Works with Salla, Zid, and custom platforms.","directories":{},"_nodeVersion":"23.11.0","dependencies":{"zod":"^3.22.4","@hamla/shared":"workspace:*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","vitest":"^1.0.4","@vitest/ui":"^1.0.4","typescript":"^5.3.3","@types/node":"^20.10.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.0.0_1774554328650_0.007609891822340176","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@gethamla/sdk","version":"1.0.1","keywords":["hamla","marketing-sdk","ecommerce","popup","push-notifications","email-marketing","cart-recovery","behavioral-targeting","salla","zid","arabic","rtl","marketing-automation","conversion-optimization"],"author":{"url":"https://hamla.io","name":"Alienzhouse LTD","email":"hello@alienzhouse.com"},"license":"MIT","_id":"@gethamla/sdk@1.0.1","maintainers":[{"name":"hamala","email":"yassin.hamla.io@gmail.com"}],"homepage":"https://hamla.io","bugs":{"url":"https://github.com/TheYass1n/hamla-monorepo/issues","email":"support@hamla.io"},"dist":{"shasum":"1204de49f0e9256c62e66f754575662a83419438","tarball":"https://registry.npmjs.org/@gethamla/sdk/-/sdk-1.0.1.tgz","fileCount":8,"integrity":"sha512-XCXxNd8dl6SdnLXmGDRXXbLnQN6NLpa83jYHSr1dhlyG1p5XVmfcSbUSLCs9CnXElFZV2I3apYTrB+pOoNg9cQ==","signatures":[{"sig":"MEUCIAVAIIsSgHXV7+nGq9yIdvoah3Vrg8jcfwnOZiAAULRyAiEA6BJ/GnDU/mMdyNavUvg3MVhwVtuA8/LZStISC4pcOLQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3972386},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","browser":"./dist/browser.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./browser":{"import":"./dist/browser.mjs"}},"gitHead":"b151e305ebe99f4331c8f30f001ce5fbc5c59d56","scripts":{"dev":"node dev-server.js","lint":"eslint src --ext .ts","test":"vitest","build":"tsup","clean":"rm -rf dist","serve":"node dev-server.js","test:ui":"vitest --ui","dev:serve":"node dev-server.js --watch","serve:sdk":"./serve-sdk.sh","build:prod":"tsup --minify","test:watch":"vitest --watch","type-check":"tsc --noEmit"},"_npmUser":{"name":"hamala","email":"yassin.hamla.io@gmail.com"},"repository":{"url":"git+https://github.com/TheYass1n/hamla-monorepo.git","type":"git","directory":"packages/hamla-sdk-v5"},"_npmVersion":"11.3.0","description":"Lightweight marketing SDK for e-commerce — popups, push notifications, email campaigns, and behavioral targeting. Works with Salla, Zid, and custom platforms.","directories":{},"_nodeVersion":"23.11.0","dependencies":{"zod":"^3.22.4","@hamla/shared":"workspace:*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","vitest":"^1.0.4","@vitest/ui":"^1.0.4","typescript":"^5.3.3","@types/node":"^20.10.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.0.1_1774554567765_0.06809451826101554","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@gethamla/sdk","version":"1.0.2","keywords":["hamla","marketing-sdk","ecommerce","popup","push-notifications","email-marketing","cart-recovery","behavioral-targeting","salla","zid","arabic","rtl","marketing-automation","conversion-optimization"],"author":{"url":"https://hamla.io","name":"Alienzhouse LTD","email":"hello@alienzhouse.com"},"license":"MIT","_id":"@gethamla/sdk@1.0.2","maintainers":[{"name":"hamala","email":"yassin.hamla.io@gmail.com"}],"homepage":"https://hamla.io","bugs":{"url":"https://github.com/TheYass1n/hamla-monorepo/issues","email":"support@hamla.io"},"dist":{"shasum":"6f661ae7af3e63fa1d23a440a28f883f7610673a","tarball":"https://registry.npmjs.org/@gethamla/sdk/-/sdk-1.0.2.tgz","fileCount":8,"integrity":"sha512-bckXbOftPZ76wjLvLI85HNTPGxdEENvoo3sILAuk/dgnkyPH8RjqL3ldM0Ho+/rbXQA4rW+Xj7zfebFZeoPx+g==","signatures":[{"sig":"MEYCIQCgpIrWq+Vs/Y8OkW1DElCiQ5XRGxYspB67i5T34mtqqwIhAPkkqJgWafVNxN7oMaOK+fgvTnJMOFtkrAqItK9XOaBt","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3973944},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","browser":"./dist/browser.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./browser":{"import":"./dist/browser.mjs"}},"gitHead":"bab0c957a0a4545113ca62163c9552732e7f26c6","scripts":{"dev":"node dev-server.js","lint":"eslint src --ext .ts","test":"vitest","build":"tsup","clean":"rm -rf dist","serve":"node dev-server.js","test:ui":"vitest --ui","dev:serve":"node dev-server.js --watch","serve:sdk":"./serve-sdk.sh","build:prod":"tsup --minify","test:watch":"vitest --watch","type-check":"tsc --noEmit"},"_npmUser":{"name":"hamala","email":"yassin.hamla.io@gmail.com"},"repository":{"url":"git+https://github.com/TheYass1n/hamla-monorepo.git","type":"git","directory":"packages/hamla-sdk-v5"},"_npmVersion":"11.3.0","description":"Lightweight marketing SDK for e-commerce — popups, push notifications, email campaigns, and behavioral targeting. Works with Salla, Zid, and custom platforms.","directories":{},"_nodeVersion":"23.11.0","dependencies":{"zod":"^3.22.4","@hamla/shared":"workspace:*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","vitest":"^1.0.4","@vitest/ui":"^1.0.4","typescript":"^5.3.3","@types/node":"^20.10.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.0.2_1774612430246_0.49917540106726555","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@gethamla/sdk","version":"1.0.3","keywords":["hamla","marketing-sdk","ecommerce","popup","push-notifications","email-marketing","cart-recovery","behavioral-targeting","salla","zid","arabic","rtl","marketing-automation","conversion-optimization"],"author":{"url":"https://hamla.io","name":"Alienzhouse LTD","email":"hello@alienzhouse.com"},"license":"MIT","_id":"@gethamla/sdk@1.0.3","maintainers":[{"name":"hamala","email":"yassin.hamla.io@gmail.com"}],"homepage":"https://hamla.io","bugs":{"url":"https://github.com/TheYass1n/hamla-monorepo/issues","email":"support@hamla.io"},"dist":{"shasum":"b5b336a89ed5d53bc88d235d5f91dce11ac3e55c","tarball":"https://registry.npmjs.org/@gethamla/sdk/-/sdk-1.0.3.tgz","fileCount":8,"integrity":"sha512-NGlrZOHt7hLk0jj4ddQLvok22tt8Tj0K1S73Llc0OHBxlzGZoClbLx2JcXYhvraoUo1Hzj+zYjyePEzdZNNi8w==","signatures":[{"sig":"MEYCIQC53+wVbOf8hSZcVxCl2kUlLVtOhf90PVPwRQOG937kIwIhAJt0bWrhEKMCt9NJNI3PAm3GGmb4ad/GGvmUUIXLPRwZ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3973944},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","browser":"./dist/browser.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./browser":{"import":"./dist/browser.mjs"}},"gitHead":"b62cff8c1becf3cf2bba17dde66a1bb96ec482e4","scripts":{"dev":"node dev-server.js","lint":"eslint src --ext .ts","test":"vitest","build":"tsup","clean":"rm -rf dist","serve":"node dev-server.js","test:ui":"vitest --ui","dev:serve":"node dev-server.js --watch","serve:sdk":"./serve-sdk.sh","build:prod":"tsup --minify","test:watch":"vitest --watch","type-check":"tsc --noEmit"},"_npmUser":{"name":"hamala","email":"yassin.hamla.io@gmail.com"},"repository":{"url":"git+https://github.com/TheYass1n/hamla-monorepo.git","type":"git","directory":"packages/hamla-sdk-v5"},"_npmVersion":"11.3.0","description":"Lightweight marketing SDK for e-commerce — popups, push notifications, email campaigns, and behavioral targeting. Works with Salla, Zid, and custom platforms.","directories":{},"_nodeVersion":"23.11.0","dependencies":{"zod":"^3.22.4","@hamla/shared":"workspace:*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","vitest":"^1.0.4","@vitest/ui":"^1.0.4","typescript":"^5.3.3","@types/node":"^20.10.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.0.3_1774627775184_0.46406913983011955","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@gethamla/sdk","version":"2.0.0","keywords":["hamla","marketing-sdk","ecommerce","popup","push-notifications","email-marketing","cart-recovery","behavioral-targeting","salla","zid","arabic","rtl","marketing-automation","conversion-optimization"],"author":{"url":"https://hamla.io","name":"Alienzhouse LTD","email":"hello@alienzhouse.com"},"license":"MIT","_id":"@gethamla/sdk@2.0.0","maintainers":[{"name":"hamala","email":"yassin.hamla.io@gmail.com"}],"homepage":"https://hamla.io","bugs":{"url":"https://github.com/TheYass1n/hamla-monorepo/issues","email":"support@hamla.io"},"dist":{"shasum":"7d9d718db246c78042a441a68c2b38970709336a","tarball":"https://registry.npmjs.org/@gethamla/sdk/-/sdk-2.0.0.tgz","fileCount":13,"integrity":"sha512-7b7QP6QznfUU7RRYPYn5qJ7OhnNmtnxPLsg/eioqt3G1evOhO1+blL/Cksf+80uiXLHoxiEwoEvbXWr1XOK17A==","signatures":[{"sig":"MEQCIEjBtV+lO5WLN0rW4Qr/cioASnZGsvhTAnBmDq6HgRsFAiAQ6DgQ7Yp1x6DBpGXHEXBcDMUMtftreueBb+nUy9z6JA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1654697},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","browser":"./dist/browser.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./loader":{"import":"./dist/sdk.js"},"./render":{"import":"./dist/sdk-render.js"},"./browser":{"import":"./dist/browser.mjs"}},"gitHead":"7fdfa4cae4b4e49e9fcdae54284e4d790149625e","scripts":{"dev":"node dev-server.js","lint":"eslint src --ext .ts","test":"vitest","build":"tsup","clean":"rm -rf dist","serve":"node dev-server.js","test:ui":"vitest --ui","dev:serve":"node dev-server.js --watch","serve:sdk":"./serve-sdk.sh","build:prod":"tsup --minify","test:watch":"vitest --watch","type-check":"tsc --noEmit"},"_npmUser":{"name":"hamala","email":"yassin.hamla.io@gmail.com"},"repository":{"url":"git+https://github.com/TheYass1n/hamla-monorepo.git","type":"git","directory":"packages/hamla-sdk-v5"},"_npmVersion":"11.3.0","description":"Lightweight marketing SDK for e-commerce — popups, push notifications, email campaigns, and behavioral targeting. Works with Salla, Zid, and custom platforms.","directories":{},"_nodeVersion":"23.11.0","dependencies":{"zod":"^3.22.4","@hamla/shared":"workspace:*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","vitest":"^1.0.4","@vitest/ui":"^1.0.4","typescript":"^5.3.3","@types/node":"^20.10.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_2.0.0_1775039924838_0.3552302962563556","host":"s3://npm-registry-packages-npm-production"}},"2.1.0":{"name":"@gethamla/sdk","version":"2.1.0","keywords":["hamla","marketing-sdk","ecommerce","popup","push-notifications","email-marketing","cart-recovery","behavioral-targeting","salla","zid","arabic","rtl","marketing-automation","conversion-optimization"],"author":{"url":"https://hamla.io","name":"Alienzhouse LTD","email":"hello@alienzhouse.com"},"license":"MIT","_id":"@gethamla/sdk@2.1.0","maintainers":[{"name":"hamala","email":"yassin.hamla.io@gmail.com"}],"homepage":"https://hamla.io","bugs":{"url":"https://github.com/TheYass1n/hamla-monorepo/issues","email":"support@hamla.io"},"dist":{"shasum":"e70ae9c9f3ceacbf02bed365131ab57054c0610b","tarball":"https://registry.npmjs.org/@gethamla/sdk/-/sdk-2.1.0.tgz","fileCount":13,"integrity":"sha512-Qjtj7+DNphhqBPywmppy1Qhro5BCbFNQg0+QjSI4vXO1ta0BaWV73qzx93s2xz/pOLz/RtFFOa4MfvlXhpBtGg==","signatures":[{"sig":"MEUCIQDyh+bh1eObfi5rpi3SEn+PPj0G6xoctN4mEOFo095LQwIgYLlA9Zb9ScpIr+kOWADnFQJCYY5tnH/WX/iyczUYXlI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1654733},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","browser":"./dist/browser.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./loader":{"import":"./dist/sdk.js"},"./render":{"import":"./dist/sdk-render.js"},"./browser":{"import":"./dist/browser.mjs"}},"gitHead":"d936fa2053dceb2d4ecc2b716777b3a714f5b034","scripts":{"dev":"node dev-server.js","lint":"eslint src --ext .ts","test":"vitest","build":"tsup","clean":"rm -rf dist","serve":"node dev-server.js","test:ui":"vitest --ui","dev:serve":"node dev-server.js --watch","serve:sdk":"./serve-sdk.sh","build:prod":"tsup --minify","test:watch":"vitest --watch","type-check":"tsc --noEmit"},"_npmUser":{"name":"hamala","email":"yassin.hamla.io@gmail.com"},"repository":{"url":"git+https://github.com/TheYass1n/hamla-monorepo.git","type":"git","directory":"packages/hamla-sdk-v5"},"_npmVersion":"11.3.0","description":"Lightweight marketing SDK for e-commerce — popups, push notifications, email campaigns, and behavioral targeting. Works with Salla, Zid, and custom platforms.","directories":{},"_nodeVersion":"23.11.0","dependencies":{"zod":"^3.22.4","@hamla/shared":"workspace:*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","vitest":"^1.0.4","@vitest/ui":"^1.0.4","typescript":"^5.3.3","@types/node":"^20.10.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_2.1.0_1775043276569_0.40718226304984606","host":"s3://npm-registry-packages-npm-production"}},"2.2.0":{"name":"@gethamla/sdk","version":"2.2.0","keywords":["hamla","marketing-sdk","ecommerce","popup","push-notifications","email-marketing","cart-recovery","behavioral-targeting","salla","zid","arabic","rtl","marketing-automation","conversion-optimization"],"author":{"url":"https://hamla.io","name":"Alienzhouse LTD","email":"hello@alienzhouse.com"},"license":"MIT","_id":"@gethamla/sdk@2.2.0","maintainers":[{"name":"hamala","email":"yassin.hamla.io@gmail.com"}],"homepage":"https://hamla.io","bugs":{"url":"https://github.com/TheYass1n/hamla-monorepo/issues","email":"support@hamla.io"},"dist":{"shasum":"b7b040bd0c9208c886555d34203c78062b33cfa2","tarball":"https://registry.npmjs.org/@gethamla/sdk/-/sdk-2.2.0.tgz","fileCount":13,"integrity":"sha512-qIDHKPQkj+Zq/EDBoGk5hPXinBwZR8Z9rRyzm1eD6Vu/FTzhOtlJ5Xn6j/Gvo6mB6ccx1LJNNtT7ncEfGhfHgA==","signatures":[{"sig":"MEUCICwFuUGi+GOXqsrvpK/YU0cnzhvirDSg54CLIgJXiUtFAiEAgmzLWjaxI+xEBlgy1VBzGiFU68el0HD9HOZt4pLniJU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1654547},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","browser":"./dist/browser.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./loader":{"import":"./dist/sdk.js"},"./render":{"import":"./dist/sdk-render.js"},"./browser":{"import":"./dist/browser.mjs"}},"gitHead":"7086005a3363be0f9a1f86866194bfe851f1dbc7","scripts":{"dev":"node dev-server.js","lint":"eslint src --ext .ts","test":"vitest","build":"tsup","clean":"rm -rf dist","serve":"node dev-server.js","test:ui":"vitest --ui","dev:serve":"node dev-server.js --watch","serve:sdk":"./serve-sdk.sh","build:prod":"tsup --minify","test:watch":"vitest --watch","type-check":"tsc --noEmit"},"_npmUser":{"name":"hamala","email":"yassin.hamla.io@gmail.com"},"repository":{"url":"git+https://github.com/TheYass1n/hamla-monorepo.git","type":"git","directory":"packages/hamla-sdk-v5"},"_npmVersion":"11.3.0","description":"Lightweight marketing SDK for e-commerce — popups, push notifications, email campaigns, and behavioral targeting. Works with Salla, Zid, and custom platforms.","directories":{},"_nodeVersion":"23.11.0","dependencies":{"zod":"^3.22.4","@hamla/shared":"workspace:*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","vitest":"^1.0.4","@vitest/ui":"^1.0.4","typescript":"^5.3.3","@types/node":"^20.10.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_2.2.0_1775044823635_0.05007148307217202","host":"s3://npm-registry-packages-npm-production"}},"2.3.0":{"name":"@gethamla/sdk","version":"2.3.0","keywords":["hamla","marketing-sdk","ecommerce","popup","push-notifications","email-marketing","cart-recovery","behavioral-targeting","salla","zid","arabic","rtl","marketing-automation","conversion-optimization"],"author":{"url":"https://hamla.io","name":"Alienzhouse LTD","email":"hello@alienzhouse.com"},"license":"MIT","_id":"@gethamla/sdk@2.3.0","maintainers":[{"name":"hamala","email":"yassin.hamla.io@gmail.com"}],"homepage":"https://hamla.io","bugs":{"url":"https://github.com/TheYass1n/hamla-monorepo/issues","email":"support@hamla.io"},"dist":{"shasum":"c9ec906092556b2efaf10e61dd48098980e42e11","tarball":"https://registry.npmjs.org/@gethamla/sdk/-/sdk-2.3.0.tgz","fileCount":13,"integrity":"sha512-9f88pbinGu/LvZoRBpfehxzBK2fdXViAfuj5Lzv7Vy3hhMmeZleVg4JVtlzGOmZ0yS94AHZVc3xBqfe+J0Py/Q==","signatures":[{"sig":"MEUCIQDPsMAciOI7mo6/ECizcdwt0Pt5sUbAg+EV1+tTd23n8gIgLDi8284NRUXc2JR7c5goiYMOD0hmep00v7ZCjRIgPx8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1654724},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","browser":"./dist/browser.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./loader":{"import":"./dist/sdk.js"},"./render":{"import":"./dist/sdk-render.js"},"./browser":{"import":"./dist/browser.mjs"}},"gitHead":"604dbb76127a9f656590c889b68ba85e3605f70f","scripts":{"dev":"node dev-server.js","lint":"eslint src --ext .ts","test":"vitest","build":"tsup","clean":"rm -rf dist","serve":"node dev-server.js","test:ui":"vitest --ui","dev:serve":"node dev-server.js --watch","serve:sdk":"./serve-sdk.sh","build:prod":"tsup --minify","test:watch":"vitest --watch","type-check":"tsc --noEmit"},"_npmUser":{"name":"hamala","email":"yassin.hamla.io@gmail.com"},"repository":{"url":"git+https://github.com/TheYass1n/hamla-monorepo.git","type":"git","directory":"packages/hamla-sdk-v5"},"_npmVersion":"11.3.0","description":"Lightweight marketing SDK for e-commerce — popups, push notifications, email campaigns, and behavioral targeting. Works with Salla, Zid, and custom platforms.","directories":{},"_nodeVersion":"23.11.0","dependencies":{"zod":"^3.22.4","@hamla/shared":"workspace:*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","vitest":"^1.0.4","@vitest/ui":"^1.0.4","typescript":"^5.3.3","@types/node":"^20.10.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_2.3.0_1775045354462_0.839676009956499","host":"s3://npm-registry-packages-npm-production"}},"2.4.0":{"name":"@gethamla/sdk","version":"2.4.0","keywords":["hamla","marketing-sdk","ecommerce","popup","push-notifications","email-marketing","cart-recovery","behavioral-targeting","salla","zid","arabic","rtl","marketing-automation","conversion-optimization"],"author":{"url":"https://hamla.io","name":"Alienzhouse LTD","email":"hello@alienzhouse.com"},"license":"MIT","_id":"@gethamla/sdk@2.4.0","maintainers":[{"name":"hamala","email":"yassin.hamla.io@gmail.com"}],"homepage":"https://hamla.io","bugs":{"url":"https://github.com/TheYass1n/hamla-monorepo/issues","email":"support@hamla.io"},"dist":{"shasum":"16f36b40e66b204e35de7366067251ba87069e05","tarball":"https://registry.npmjs.org/@gethamla/sdk/-/sdk-2.4.0.tgz","fileCount":13,"integrity":"sha512-rA1UJw8vFP/jJWbWfKWIQfknSDxALCiQm9Yo8X76mJ1htRKFuhvruUOhi97kgRAyFV9h7oHUoPActPfEB+vJaQ==","signatures":[{"sig":"MEQCIDZBmFJuh5ICi5QFHgI3tiWsSfM1Bt9vpvb5ZpmqgfW7AiAF3ecQWXzohpIp5U2k4LUKb1roJuG5qoIyWtzkMtLWlA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1654532},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","browser":"./dist/browser.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./loader":{"import":"./dist/sdk.js"},"./render":{"import":"./dist/sdk-render.js"},"./browser":{"import":"./dist/browser.mjs"}},"gitHead":"5305c6b781782f785b2277df14a1ab3ec8311f01","scripts":{"dev":"node dev-server.js","lint":"eslint src --ext .ts","test":"vitest","build":"tsup","clean":"rm -rf dist","serve":"node dev-server.js","test:ui":"vitest --ui","dev:serve":"node dev-server.js --watch","serve:sdk":"./serve-sdk.sh","build:prod":"tsup --minify","test:watch":"vitest --watch","type-check":"tsc --noEmit"},"_npmUser":{"name":"hamala","email":"yassin.hamla.io@gmail.com"},"repository":{"url":"git+https://github.com/TheYass1n/hamla-monorepo.git","type":"git","directory":"packages/hamla-sdk-v5"},"_npmVersion":"11.3.0","description":"Lightweight marketing SDK for e-commerce — popups, push notifications, email campaigns, and behavioral targeting. Works with Salla, Zid, and custom platforms.","directories":{},"_nodeVersion":"23.11.0","dependencies":{"zod":"^3.22.4","@hamla/shared":"workspace:*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","vitest":"^1.0.4","@vitest/ui":"^1.0.4","typescript":"^5.3.3","@types/node":"^20.10.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_2.4.0_1775045847226_0.1904397069969883","host":"s3://npm-registry-packages-npm-production"}},"2.4.1":{"name":"@gethamla/sdk","version":"2.4.1","keywords":["hamla","marketing-sdk","ecommerce","popup","push-notifications","email-marketing","cart-recovery","behavioral-targeting","salla","zid","arabic","rtl","marketing-automation","conversion-optimization"],"author":{"url":"https://hamla.io","name":"Alienzhouse LTD","email":"hello@alienzhouse.com"},"license":"MIT","_id":"@gethamla/sdk@2.4.1","maintainers":[{"name":"hamala","email":"yassin.hamla.io@gmail.com"}],"homepage":"https://hamla.io","bugs":{"url":"https://github.com/TheYass1n/hamla-monorepo/issues","email":"support@hamla.io"},"dist":{"shasum":"569d3a18dc9ed4ff8e7dfa19dc0c1d6a4eb007a7","tarball":"https://registry.npmjs.org/@gethamla/sdk/-/sdk-2.4.1.tgz","fileCount":13,"integrity":"sha512-eBuzzH/8ZaDmtoHQ30oSU4HZA6JpUuXTA28DMFvjixd5vNNUkUEUnO9BP/qVsAfBS5mE1azugtfhJSc1112ACQ==","signatures":[{"sig":"MEUCIQDCJCm9/NNtGuaO79HVjt4V6GLLf9jPTQ2FNSt79i52SAIgDFn3eY0rV3FRC5S5kmWivE1MGyxe2qJ+uYwEinEx5hE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1654601},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","browser":"./dist/browser.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./loader":{"import":"./dist/sdk.js"},"./render":{"import":"./dist/sdk-render.js"},"./browser":{"import":"./dist/browser.mjs"}},"gitHead":"cb4b614a3f00ec6eef424acfcb5ea8aa9220fe0f","scripts":{"dev":"node dev-server.js","lint":"eslint src --ext .ts","test":"vitest","build":"tsup","clean":"rm -rf dist","serve":"node dev-server.js","test:ui":"vitest --ui","dev:serve":"node dev-server.js --watch","serve:sdk":"./serve-sdk.sh","build:prod":"tsup --minify","test:watch":"vitest --watch","type-check":"tsc --noEmit"},"_npmUser":{"name":"hamala","email":"yassin.hamla.io@gmail.com"},"repository":{"url":"git+https://github.com/TheYass1n/hamla-monorepo.git","type":"git","directory":"packages/hamla-sdk-v5"},"_npmVersion":"11.3.0","description":"Lightweight marketing SDK for e-commerce — popups, push notifications, email campaigns, and behavioral targeting. Works with Salla, Zid, and custom platforms.","directories":{},"_nodeVersion":"23.11.0","dependencies":{"zod":"^3.22.4","@hamla/shared":"workspace:*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","vitest":"^1.0.4","@vitest/ui":"^1.0.4","typescript":"^5.3.3","@types/node":"^20.10.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_2.4.1_1775046472918_0.42160900476247565","host":"s3://npm-registry-packages-npm-production"}},"2.5.0":{"name":"@gethamla/sdk","version":"2.5.0","keywords":["hamla","marketing-sdk","ecommerce","popup","push-notifications","email-marketing","cart-recovery","behavioral-targeting","salla","zid","arabic","rtl","marketing-automation","conversion-optimization"],"author":{"url":"https://hamla.io","name":"Alienzhouse LTD","email":"hello@alienzhouse.com"},"license":"MIT","_id":"@gethamla/sdk@2.5.0","maintainers":[{"name":"hamala","email":"yassin.hamla.io@gmail.com"}],"homepage":"https://hamla.io","bugs":{"url":"https://github.com/TheYass1n/hamla-monorepo/issues","email":"support@hamla.io"},"dist":{"shasum":"bfaf054fbe19163c587e31a52e32edd8cd07f9d1","tarball":"https://registry.npmjs.org/@gethamla/sdk/-/sdk-2.5.0.tgz","fileCount":13,"integrity":"sha512-RZPCp5TbIr0/5AQZo/tmr5XoUr8L/nXMY+UKPOpYrA1aN0l7qnavzo4iiOjyXy7kJFHu62FhZ8J0giS3Pb4ViQ==","signatures":[{"sig":"MEYCIQDoJfKmHGstR/B652FeaRjMdDZaFny4Z2ACB6kaHAOQBAIhALj3+BLv/gmbGjIIxym/mUx9FPdUiZu505zJF2Pc1d3X","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1656823},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","browser":"./dist/browser.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./loader":{"import":"./dist/sdk.js"},"./render":{"import":"./dist/sdk-render.js"},"./browser":{"import":"./dist/browser.mjs"}},"gitHead":"86a021c366e2aaea5b4719a1535ccad3e6e5cac3","scripts":{"dev":"node dev-server.js","lint":"eslint src --ext .ts","test":"vitest","build":"tsup","clean":"rm -rf dist","serve":"node dev-server.js","test:ui":"vitest --ui","dev:serve":"node dev-server.js --watch","serve:sdk":"./serve-sdk.sh","build:prod":"tsup --minify","test:watch":"vitest --watch","type-check":"tsc --noEmit"},"_npmUser":{"name":"hamala","email":"yassin.hamla.io@gmail.com"},"repository":{"url":"git+https://github.com/TheYass1n/hamla-monorepo.git","type":"git","directory":"packages/hamla-sdk-v5"},"_npmVersion":"11.3.0","description":"Lightweight marketing SDK for e-commerce — popups, push notifications, email campaigns, and behavioral targeting. Works with Salla, Zid, and custom platforms.","directories":{},"_nodeVersion":"23.11.0","dependencies":{"zod":"^3.22.4","@hamla/shared":"workspace:*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","vitest":"^1.0.4","@vitest/ui":"^1.0.4","typescript":"^5.3.3","@types/node":"^20.10.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_2.5.0_1775047732387_0.7535425529918649","host":"s3://npm-registry-packages-npm-production"}},"2.5.1":{"name":"@gethamla/sdk","version":"2.5.1","keywords":["hamla","marketing-sdk","ecommerce","popup","push-notifications","email-marketing","cart-recovery","behavioral-targeting","salla","zid","arabic","rtl","marketing-automation","conversion-optimization"],"author":{"url":"https://hamla.io","name":"Alienzhouse LTD","email":"hello@alienzhouse.com"},"license":"MIT","_id":"@gethamla/sdk@2.5.1","maintainers":[{"name":"hamala","email":"yassin.hamla.io@gmail.com"}],"homepage":"https://hamla.io","bugs":{"url":"https://github.com/TheYass1n/hamla-monorepo/issues","email":"support@hamla.io"},"dist":{"shasum":"3b9842dfc04c77a3d1c07ab4d1a6f062e4792163","tarball":"https://registry.npmjs.org/@gethamla/sdk/-/sdk-2.5.1.tgz","fileCount":13,"integrity":"sha512-W5YLyNWgnuC0FIY6SxFAVFmI2cyfCWV7fQQS2mRjTAHxkvO1T3Zx7HZolIi8gQBZkNbsFPcv3w315ZQEiBgH/Q==","signatures":[{"sig":"MEUCIQCYgvvbwRnbgRxgaMiXfkvTtddO11JZh/tMUdNGnJRe7gIgVJYQxXp8G3R/73ojd5ejRjpt3yAsZJeqZD+psbeVubU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1656811},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","browser":"./dist/browser.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./loader":{"import":"./dist/sdk.js"},"./render":{"import":"./dist/sdk-render.js"},"./browser":{"import":"./dist/browser.mjs"}},"gitHead":"974ee753335af0f4d22582e10cfee7c1d69677e9","scripts":{"dev":"node dev-server.js","lint":"eslint src --ext .ts","test":"vitest","build":"tsup","clean":"rm -rf dist","serve":"node dev-server.js","test:ui":"vitest --ui","dev:serve":"node dev-server.js --watch","serve:sdk":"./serve-sdk.sh","build:prod":"tsup --minify","test:watch":"vitest --watch","type-check":"tsc --noEmit"},"_npmUser":{"name":"hamala","email":"yassin.hamla.io@gmail.com"},"repository":{"url":"git+https://github.com/TheYass1n/hamla-monorepo.git","type":"git","directory":"packages/hamla-sdk-v5"},"_npmVersion":"11.3.0","description":"Lightweight marketing SDK for e-commerce — popups, push notifications, email campaigns, and behavioral targeting. Works with Salla, Zid, and custom platforms.","directories":{},"_nodeVersion":"23.11.0","dependencies":{"zod":"^3.22.4","@hamla/shared":"workspace:*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","vitest":"^1.0.4","@vitest/ui":"^1.0.4","typescript":"^5.3.3","@types/node":"^20.10.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_2.5.1_1775048173771_0.020475674835480406","host":"s3://npm-registry-packages-npm-production"}},"2.5.2":{"name":"@gethamla/sdk","version":"2.5.2","keywords":["hamla","marketing-sdk","ecommerce","popup","push-notifications","email-marketing","cart-recovery","behavioral-targeting","salla","zid","arabic","rtl","marketing-automation","conversion-optimization"],"author":{"url":"https://hamla.io","name":"Alienzhouse LTD","email":"hello@alienzhouse.com"},"license":"MIT","_id":"@gethamla/sdk@2.5.2","maintainers":[{"name":"hamala","email":"yassin.hamla.io@gmail.com"}],"homepage":"https://hamla.io","bugs":{"url":"https://github.com/TheYass1n/hamla-monorepo/issues","email":"support@hamla.io"},"dist":{"shasum":"22de2d64c8b7f4ad7c0c099d09fcde011b482dc4","tarball":"https://registry.npmjs.org/@gethamla/sdk/-/sdk-2.5.2.tgz","fileCount":13,"integrity":"sha512-o5Uy8yCTcwixHMoKW7OLrrZi3ayHZK0a7SNYwN72gQzEvJ/MaIoA8fOly/0ksDwKg6yv7eKhFRY7ZbomT8NFiQ==","signatures":[{"sig":"MEUCIQC39BSYk5BkW7+SQlkHtpsdo5WOjXyk4IsfPERIvXCXxwIgX2xuVPGfDD9yRf5pbt7aJwID253+05MKOlTMasC60fc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1870595},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","browser":"./dist/browser.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./loader":{"import":"./dist/sdk.js"},"./render":{"import":"./dist/sdk-render.js"},"./browser":{"import":"./dist/browser.mjs"}},"gitHead":"c729f46a1186490d8487c6b6cc1d1feb7ea2181d","scripts":{"dev":"node dev-server.js","lint":"eslint src --ext .ts","test":"vitest","build":"tsup","clean":"rm -rf dist","serve":"node dev-server.js","test:ui":"vitest --ui","dev:serve":"node dev-server.js --watch","serve:sdk":"./serve-sdk.sh","build:prod":"tsup --minify","test:watch":"vitest --watch","type-check":"tsc --noEmit"},"_npmUser":{"name":"hamala","email":"yassin.hamla.io@gmail.com"},"repository":{"url":"git+https://github.com/TheYass1n/hamla-monorepo.git","type":"git","directory":"packages/hamla-sdk"},"_npmVersion":"11.11.0","description":"Lightweight marketing SDK for e-commerce — popups, push notifications, email campaigns, and behavioral targeting. Works with Salla, Zid, and custom platforms.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"zod":"^3.22.4","@hamla/shared":"workspace:*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","vitest":"^1.0.4","@vitest/ui":"^1.0.4","typescript":"^5.3.3","@types/node":"^20.10.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_2.5.2_1776685918969_0.3548365355116352","host":"s3://npm-registry-packages-npm-production"}},"2.5.3":{"name":"@gethamla/sdk","version":"2.5.3","keywords":["hamla","marketing-sdk","ecommerce","popup","push-notifications","email-marketing","cart-recovery","behavioral-targeting","salla","zid","arabic","rtl","marketing-automation","conversion-optimization"],"author":{"url":"https://hamla.io","name":"Alienzhouse LTD","email":"hello@alienzhouse.com"},"license":"MIT","_id":"@gethamla/sdk@2.5.3","maintainers":[{"name":"hamala","email":"yassin.hamla.io@gmail.com"}],"homepage":"https://hamla.io","bugs":{"url":"https://github.com/TheYass1n/hamla-monorepo/issues","email":"support@hamla.io"},"dist":{"shasum":"e2addb19112a175612e71ecb00ca0134325d821c","tarball":"https://registry.npmjs.org/@gethamla/sdk/-/sdk-2.5.3.tgz","fileCount":13,"integrity":"sha512-VVYQKgC2ddpruIg8uAgGtFennZ/IdsdVzkP5AEvJB3LvhPO1gvmoPpDGAlA9uN4f2HKRwfq3dQcfW6TIf2c0mg==","signatures":[{"sig":"MEYCIQC0yq7//QhdkhAPVyoBUgYX9FK7AitU1yWbg+m6UOav/QIhAOGvXh72e/ysGW3LGJMdF1vWNjY1HNwlqeYLWQpP9DNh","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2085392},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","browser":"./dist/browser.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./loader":{"import":"./dist/sdk.js"},"./render":{"import":"./dist/sdk-render.js"},"./browser":{"import":"./dist/browser.mjs"}},"gitHead":"1012ba8b7a1039cfbf68081469a91b7a1edc3de3","scripts":{"dev":"node dev-server.js","lint":"eslint src --ext .ts","test":"vitest","build":"tsup","clean":"rm -rf dist","serve":"node dev-server.js","test:ui":"vitest --ui","dev:serve":"node dev-server.js --watch","serve:sdk":"./serve-sdk.sh","build:prod":"tsup --minify","test:watch":"vitest --watch","type-check":"tsc --noEmit"},"_npmUser":{"name":"hamala","email":"yassin.hamla.io@gmail.com"},"repository":{"url":"git+https://github.com/TheYass1n/hamla-monorepo.git","type":"git","directory":"packages/hamla-sdk"},"_npmVersion":"11.12.1","description":"Lightweight marketing SDK for e-commerce — popups, push notifications, email campaigns, and behavioral targeting. Works with Salla, Zid, and custom platforms.","directories":{},"_nodeVersion":"25.9.0","dependencies":{"zod":"^3.22.4","@hamla/shared":"workspace:*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","vitest":"^1.0.4","@vitest/ui":"^1.0.4","typescript":"^5.3.3","@types/node":"^20.10.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_2.5.3_1779576835126_0.3611071747074077","host":"s3://npm-registry-packages-npm-production"}},"2.5.4":{"name":"@gethamla/sdk","version":"2.5.4","keywords":["hamla","marketing-sdk","ecommerce","popup","push-notifications","email-marketing","cart-recovery","behavioral-targeting","salla","zid","arabic","rtl","marketing-automation","conversion-optimization"],"author":{"url":"https://hamla.io","name":"Alienzhouse LTD","email":"hello@alienzhouse.com"},"license":"MIT","_id":"@gethamla/sdk@2.5.4","maintainers":[{"name":"hamala","email":"yassin.hamla.io@gmail.com"}],"homepage":"https://hamla.io","bugs":{"url":"https://github.com/TheYass1n/hamla-monorepo/issues","email":"support@hamla.io"},"dist":{"shasum":"82ab9d38f0be80ee4a728e3fa35cc42e92985a93","tarball":"https://registry.npmjs.org/@gethamla/sdk/-/sdk-2.5.4.tgz","fileCount":13,"integrity":"sha512-bIHtv+p2Yjy95l/uEUtlM+zEzq5hnbl1AqrO8+BdZe8MQYd4vN/2MLhdyUj0hxdHgtMFXNZG5KrAvZo12fIraw==","signatures":[{"sig":"MEUCIQCCpdKaBFVsXkZNxRrv54piJuPYYYPxb3J6SwccIMTOCAIgIPPWYxDxbg2hCmdn9r+nZac3VZxapjDB4hCrpL5NhnQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2088976},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","browser":"./dist/browser.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./loader":{"import":"./dist/sdk.js"},"./render":{"import":"./dist/sdk-render.js"},"./browser":{"import":"./dist/browser.mjs"}},"gitHead":"80d0a2e17008402f1bd563704a56ee3aa269d34b","scripts":{"dev":"node dev-server.js","lint":"eslint src --ext .ts","test":"vitest","build":"tsup","clean":"rm -rf dist","serve":"node dev-server.js","test:ui":"vitest --ui","dev:serve":"node dev-server.js --watch","serve:sdk":"./serve-sdk.sh","build:prod":"tsup --minify","test:watch":"vitest --watch","type-check":"tsc --noEmit"},"_npmUser":{"name":"hamala","email":"yassin.hamla.io@gmail.com"},"repository":{"url":"git+https://github.com/TheYass1n/hamla-monorepo.git","type":"git","directory":"packages/hamla-sdk"},"_npmVersion":"11.12.1","description":"Lightweight marketing SDK for e-commerce — popups, push notifications, email campaigns, and behavioral targeting. Works with Salla, Zid, and custom platforms.","directories":{},"_nodeVersion":"25.9.0","dependencies":{"zod":"^3.22.4","@hamla/shared":"workspace:*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","vitest":"^1.0.4","@vitest/ui":"^1.0.4","typescript":"^5.3.3","@types/node":"^20.10.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_2.5.4_1782067580992_0.11714333999104998","host":"s3://npm-registry-packages-npm-production"}},"2.5.5":{"name":"@gethamla/sdk","version":"2.5.5","keywords":["hamla","marketing-sdk","ecommerce","popup","push-notifications","email-marketing","cart-recovery","behavioral-targeting","salla","zid","arabic","rtl","marketing-automation","conversion-optimization"],"author":{"url":"https://hamla.io","name":"Alienzhouse LTD","email":"hello@alienzhouse.com"},"license":"MIT","_id":"@gethamla/sdk@2.5.5","maintainers":[{"name":"hamala","email":"yassin.hamla.io@gmail.com"}],"homepage":"https://hamla.io","bugs":{"url":"https://github.com/TheYass1n/hamla-monorepo/issues","email":"support@hamla.io"},"dist":{"shasum":"c83b8af9f2efe431b357deb8a0a55ae14114d41b","tarball":"https://registry.npmjs.org/@gethamla/sdk/-/sdk-2.5.5.tgz","fileCount":13,"integrity":"sha512-3MNx+byQ20MMpSnCykKLoZjb2voXQkLNugxipZRhIw0tRv9p1blHT8Vald0YvGj989IBA8DKOzo/UIeJGeyQVg==","signatures":[{"sig":"MEYCIQDDkJolqpwuRuf1SYfdOrZsQ7Na/XxVLa8ZqhPZNUI2lgIhAN/B3vFQX/StvKTjRBOGjM1puzlZ6EY704WyNDLr7yH7","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2174862},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","browser":"./dist/browser.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./loader":{"import":"./dist/sdk.js"},"./render":{"import":"./dist/sdk-render.js"},"./browser":{"import":"./dist/browser.mjs"}},"gitHead":"40bc2d9f5ecdcb200f06c0fded435cb113432494","scripts":{"dev":"node dev-server.js","lint":"eslint src --ext .ts","test":"vitest","build":"tsup","clean":"rm -rf dist","serve":"node dev-server.js","test:ui":"vitest --ui","dev:serve":"node dev-server.js --watch","serve:sdk":"./serve-sdk.sh","build:prod":"tsup --minify","test:watch":"vitest --watch","type-check":"tsc --noEmit"},"_npmUser":{"name":"hamala","email":"yassin.hamla.io@gmail.com"},"repository":{"url":"git+https://github.com/TheYass1n/hamla-monorepo.git","type":"git","directory":"packages/hamla-sdk"},"_npmVersion":"11.11.0","description":"Lightweight marketing SDK for e-commerce — popups, push notifications, email campaigns, and behavioral targeting. Works with Salla, Zid, and custom platforms.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"zod":"^3.22.4","@hamla/shared":"workspace:*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","vitest":"^1.0.4","@vitest/ui":"^1.0.4","typescript":"^5.3.3","@types/node":"^20.10.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_2.5.5_1782311967825_0.8990046723575347","host":"s3://npm-registry-packages-npm-production"}},"2.5.6":{"name":"@gethamla/sdk","version":"2.5.6","keywords":["hamla","marketing-sdk","ecommerce","popup","push-notifications","email-marketing","cart-recovery","behavioral-targeting","salla","zid","arabic","rtl","marketing-automation","conversion-optimization"],"author":{"url":"https://hamla.io","name":"Alienzhouse LTD","email":"hello@alienzhouse.com"},"license":"MIT","_id":"@gethamla/sdk@2.5.6","maintainers":[{"name":"hamala","email":"yassin.hamla.io@gmail.com"}],"homepage":"https://hamla.io","bugs":{"url":"https://github.com/TheYass1n/hamla-monorepo/issues","email":"support@hamla.io"},"dist":{"shasum":"3048b1a6266adee95e78c44f8fde2b2ed37a1cd6","tarball":"https://registry.npmjs.org/@gethamla/sdk/-/sdk-2.5.6.tgz","fileCount":13,"integrity":"sha512-i9jYzOdXaR5+UqHrK6UJVED/o6pxB+ptwc+Vg+TbXkoTgMGXkObaa2g1rPXXOgRZzZnylrdx0/5vVWIp9PlIVA==","signatures":[{"sig":"MEQCIDLDGfwyAAca+QkBWCJSwjbCVDC8FhfG5z64pPzXmM8bAiAP/aq16qB23pAi6W09UDN3dHW6HrDBexLZsDijNfau+g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2175960},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","browser":"./dist/browser.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./loader":{"import":"./dist/sdk.js"},"./render":{"import":"./dist/sdk-render.js"},"./browser":{"import":"./dist/browser.mjs"}},"gitHead":"19d94c627bd27981723f8bf2b5f83f24ab004861","scripts":{"dev":"node dev-server.js","lint":"eslint src --ext .ts","test":"vitest","build":"tsup","clean":"rm -rf dist","serve":"node dev-server.js","test:ui":"vitest --ui","dev:serve":"node dev-server.js --watch","serve:sdk":"./serve-sdk.sh","build:prod":"tsup --minify","test:watch":"vitest --watch","type-check":"tsc --noEmit"},"_npmUser":{"name":"hamala","email":"yassin.hamla.io@gmail.com"},"repository":{"url":"git+https://github.com/TheYass1n/hamla-monorepo.git","type":"git","directory":"packages/hamla-sdk"},"_npmVersion":"11.11.0","description":"Lightweight marketing SDK for e-commerce — popups, push notifications, email campaigns, and behavioral targeting. Works with Salla, Zid, and custom platforms.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"zod":"^3.22.4","@hamla/shared":"workspace:*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","vitest":"^1.0.4","@vitest/ui":"^1.0.4","typescript":"^5.3.3","@types/node":"^20.10.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_2.5.6_1782316419343_0.4864818964456403","host":"s3://npm-registry-packages-npm-production"}},"2.5.7":{"name":"@gethamla/sdk","version":"2.5.7","keywords":["hamla","marketing-sdk","ecommerce","popup","push-notifications","email-marketing","cart-recovery","behavioral-targeting","salla","zid","arabic","rtl","marketing-automation","conversion-optimization"],"author":{"url":"https://hamla.io","name":"Alienzhouse LTD","email":"hello@alienzhouse.com"},"license":"MIT","_id":"@gethamla/sdk@2.5.7","maintainers":[{"name":"hamala","email":"yassin.hamla.io@gmail.com"}],"homepage":"https://hamla.io","bugs":{"url":"https://github.com/TheYass1n/hamla-monorepo/issues","email":"support@hamla.io"},"dist":{"shasum":"d2f2f1b9441aeb26d132354b263e56658e02a2db","tarball":"https://registry.npmjs.org/@gethamla/sdk/-/sdk-2.5.7.tgz","fileCount":13,"integrity":"sha512-GPjQ4wZYzwaS0tfJpzlK79PQkNLdmNZ4TRC4TrvzllULf1UN2y+dzGlxwVQBAw+HglZoR3412aL/eKDlz8BoRA==","signatures":[{"sig":"MEYCIQDH4b0ApIuLLkI4otNVGa3QKM5W6vp6E2ddNK/NKkWeWQIhAKAGzxHV5Hvwdf68/J5kiM4ZWIKNg8oObNxvxxltrTkx","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2184052},"main":"./dist/index.js","_from":"file:gethamla-sdk-2.5.7.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","browser":"./dist/browser.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./loader":{"import":"./dist/sdk.js"},"./render":{"import":"./dist/sdk-render.js"},"./browser":{"import":"./dist/browser.mjs"}},"scripts":{"dev":"node dev-server.js","lint":"eslint src --ext .ts","test":"vitest","build":"tsup","clean":"rm -rf dist","serve":"node dev-server.js","test:ui":"vitest --ui","dev:serve":"node dev-server.js --watch","serve:sdk":"./serve-sdk.sh","build:prod":"tsup --minify","test:watch":"vitest --watch","type-check":"tsc --noEmit"},"_npmUser":{"name":"hamala","email":"yassin.hamla.io@gmail.com"},"_resolved":"/tmp/708980d2c6b7119a97f9dbfe26ea910b/gethamla-sdk-2.5.7.tgz","_integrity":"sha512-GPjQ4wZYzwaS0tfJpzlK79PQkNLdmNZ4TRC4TrvzllULf1UN2y+dzGlxwVQBAw+HglZoR3412aL/eKDlz8BoRA==","repository":{"url":"git+https://github.com/TheYass1n/hamla-monorepo.git","type":"git","directory":"packages/hamla-sdk"},"_npmVersion":"10.9.7","description":"Lightweight marketing SDK for e-commerce — popups, push notifications, email campaigns, and behavioral targeting. Works with Salla, Zid, and custom platforms.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"zod":"^3.22.4","@hamla/shared":"1.0.0","@gethamla/forms":"0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","vitest":"^1.0.4","@vitest/ui":"^1.0.4","typescript":"^5.3.3","@types/node":"^20.10.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_2.5.7_1783819650141_0.4990662320745314","host":"s3://npm-registry-packages-npm-production"}},"2.6.0":{"name":"@gethamla/sdk","version":"2.6.0","keywords":["hamla","marketing-sdk","ecommerce","popup","push-notifications","email-marketing","cart-recovery","behavioral-targeting","salla","zid","arabic","rtl","marketing-automation","conversion-optimization"],"author":{"url":"https://hamla.io","name":"Alienzhouse LTD","email":"hello@alienzhouse.com"},"license":"MIT","_id":"@gethamla/sdk@2.6.0","maintainers":[{"name":"hamala","email":"yassin.hamla.io@gmail.com"}],"homepage":"https://hamla.io","bugs":{"url":"https://github.com/TheYass1n/hamla-monorepo/issues","email":"support@hamla.io"},"dist":{"shasum":"313834c2799e1a694ac01517fdbd82ba7579f40f","tarball":"https://registry.npmjs.org/@gethamla/sdk/-/sdk-2.6.0.tgz","fileCount":13,"integrity":"sha512-dNjAbEIwssF0Vd+c7X1iTtrOJVlakANIxZ5ucfqbqifOAiabfQPnuZu3fN5dF3FOgLuhoJOKrVAY1XXkeswGjA==","signatures":[{"sig":"MEUCIGxTwWPqsOxuze7HfDvd9OwTtlF78I59TIW82mJuaCUhAiEApEhxkf+eI+X9HNsHBKQJX4bjvgJJw/ZH/OYULLiRV/4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1957175},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","browser":"./dist/browser.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./loader":{"import":"./dist/sdk.js"},"./render":{"import":"./dist/sdk-render.js"},"./browser":{"import":"./dist/browser.mjs"}},"gitHead":"f3f12685a194a28e67a62a36c5e11dbcee0ced0b","scripts":{"dev":"node dev-server.js","lint":"eslint src --ext .ts","test":"vitest","build":"tsup","clean":"rm -rf dist","serve":"node dev-server.js","test:ui":"vitest --ui","dev:serve":"node dev-server.js --watch","serve:sdk":"./serve-sdk.sh","build:prod":"tsup --minify","test:watch":"vitest --watch","type-check":"tsc --noEmit"},"_npmUser":{"name":"hamala","email":"yassin.hamla.io@gmail.com"},"repository":{"url":"git+https://github.com/TheYass1n/hamla-monorepo.git","type":"git","directory":"packages/hamla-sdk"},"_npmVersion":"10.9.7","description":"Lightweight marketing SDK for e-commerce — popups, push notifications, email campaigns, and behavioral targeting. Works with Salla, Zid, and custom platforms.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"zod":"^3.22.4","@hamla/shared":"workspace:*","@gethamla/forms":"workspace:*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","vitest":"^1.0.4","@vitest/ui":"^1.0.4","typescript":"^5.3.3","@types/node":"^20.10.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_2.6.0_1785093709853_0.930265755975751","host":"s3://npm-registry-packages-npm-production"}},"2.7.0":{"name":"@gethamla/sdk","version":"2.7.0","keywords":["hamla","marketing-sdk","ecommerce","popup","push-notifications","email-marketing","cart-recovery","behavioral-targeting","salla","zid","arabic","rtl","marketing-automation","conversion-optimization"],"author":{"url":"https://hamla.io","name":"Alienzhouse LTD","email":"hello@alienzhouse.com"},"license":"MIT","_id":"@gethamla/sdk@2.7.0","maintainers":[{"name":"hamala","email":"yassin.hamla.io@gmail.com"}],"homepage":"https://hamla.io","bugs":{"url":"https://github.com/TheYass1n/hamla-monorepo/issues","email":"support@hamla.io"},"dist":{"shasum":"fdacb03529d3f931c5aae2b395959e7a3d10dfbd","tarball":"https://registry.npmjs.org/@gethamla/sdk/-/sdk-2.7.0.tgz","fileCount":13,"integrity":"sha512-SQHcly9JLZDFYqbF+MjyBRnFD0YERZkSkEg+O/nVsxzHzMHMKEkHIAi6uKV0dfB/PAa729HE0d7yhN945l1yxg==","signatures":[{"sig":"MEUCICUzggzOA+v22QjcglmJm5EkKDy4ObDy1a9V/0H3yE3aAiEAuYblsgxX6trB39vtsx+MCmDs2wf1WehPqWMIs+Vthew=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2166263},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","browser":"./dist/browser.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./loader":{"import":"./dist/sdk.js"},"./render":{"import":"./dist/sdk-render.js"},"./browser":{"import":"./dist/browser.mjs"}},"gitHead":"30cebee89fbf39e7cc228112c4a97b87dc26ca1d","scripts":{"dev":"node dev-server.js","lint":"eslint src --ext .ts","test":"vitest","build":"tsup","clean":"rm -rf dist","serve":"node dev-server.js","test:ui":"vitest --ui","dev:serve":"node dev-server.js --watch","serve:sdk":"./serve-sdk.sh","build:prod":"tsup --minify","test:watch":"vitest --watch","type-check":"tsc --noEmit"},"_npmUser":{"name":"hamala","email":"yassin.hamla.io@gmail.com"},"repository":{"url":"git+https://github.com/TheYass1n/hamla-monorepo.git","type":"git","directory":"packages/hamla-sdk"},"_npmVersion":"10.9.7","description":"Lightweight marketing SDK for e-commerce — popups, push notifications, email campaigns, and behavioral targeting. Works with Salla, Zid, and custom platforms.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"zod":"^3.22.4","@hamla/shared":"workspace:*","@gethamla/forms":"workspace:*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","vitest":"^1.0.4","@vitest/ui":"^1.0.4","typescript":"^5.3.3","@types/node":"^20.10.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_2.7.0_1785330867042_0.7219620897326637","host":"s3://npm-registry-packages-npm-production"}},"2.8.0":{"name":"@gethamla/sdk","version":"2.8.0","keywords":["hamla","marketing-sdk","ecommerce","popup","push-notifications","email-marketing","cart-recovery","behavioral-targeting","salla","zid","arabic","rtl","marketing-automation","conversion-optimization"],"author":{"url":"https://hamla.io","name":"Alienzhouse LTD","email":"hello@alienzhouse.com"},"license":"MIT","_id":"@gethamla/sdk@2.8.0","maintainers":[{"name":"hamala","email":"yassin.hamla.io@gmail.com"}],"homepage":"https://hamla.io","bugs":{"url":"https://github.com/TheYass1n/hamla-monorepo/issues","email":"support@hamla.io"},"dist":{"shasum":"75b282dc6b3b6732e3a348788472bc0b11b22d5c","tarball":"https://registry.npmjs.org/@gethamla/sdk/-/sdk-2.8.0.tgz","fileCount":13,"integrity":"sha512-Hz1Hdpp+nzuFoFrK9m8KwvZ18bpH0mvhTrmiQKACgLaQ/kVJVPi7BlxvihR7M49LPSbSOYCuvw6Y+6NcMeLB0Q==","signatures":[{"sig":"MEYCIQCzWwUiyk9USL1aCJVFBM6bPGJURgeWcQXNFF3XwacwGwIhAM0DPF9lMd0/WxuQO/fwXXHt1faxLsHlBFeLO9C2aBpm","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2470195},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","browser":"./dist/browser.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./loader":{"import":"./dist/sdk.js"},"./render":{"import":"./dist/sdk-render.js"},"./browser":{"import":"./dist/browser.mjs"}},"gitHead":"c969eafba0cd6a22c4972f5e9082f2785a547de4","scripts":{"dev":"node dev-server.js","lint":"eslint src --ext .ts","test":"vitest","build":"tsup","clean":"rm -rf dist","serve":"node dev-server.js","test:ui":"vitest --ui","dev:serve":"node dev-server.js --watch","serve:sdk":"./serve-sdk.sh","build:prod":"tsup --minify","test:watch":"vitest --watch","type-check":"tsc --noEmit"},"_npmUser":{"name":"hamala","email":"yassin.hamla.io@gmail.com"},"repository":{"url":"git+https://github.com/TheYass1n/hamla-monorepo.git","type":"git","directory":"packages/hamla-sdk"},"_npmVersion":"10.9.8","description":"Lightweight marketing SDK for e-commerce — popups, push notifications, email campaigns, and behavioral targeting. Works with Salla, Zid, and custom platforms.","directories":{},"_nodeVersion":"22.23.1","dependencies":{"zod":"^3.22.4","@hamla/shared":"workspace:*","@gethamla/forms":"workspace:*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","vitest":"^1.0.4","@vitest/ui":"^1.0.4","typescript":"^5.3.3","@types/node":"^20.10.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_2.8.0_1786100152801_0.038037729257312636","host":"s3://npm-registry-packages-npm-production"}},"2.9.0":{"name":"@gethamla/sdk","version":"2.9.0","keywords":["hamla","marketing-sdk","ecommerce","popup","push-notifications","email-marketing","cart-recovery","behavioral-targeting","salla","zid","arabic","rtl","marketing-automation","conversion-optimization"],"author":{"url":"https://hamla.io","name":"Alienzhouse LTD","email":"hello@alienzhouse.com"},"license":"MIT","_id":"@gethamla/sdk@2.9.0","maintainers":[{"name":"hamala","email":"yassin.hamla.io@gmail.com"}],"homepage":"https://hamla.io","bugs":{"url":"https://github.com/TheYass1n/hamla-monorepo/issues","email":"support@hamla.io"},"dist":{"shasum":"00f87d007235057dee638dcc21c00b56e6c9cdbc","tarball":"https://registry.npmjs.org/@gethamla/sdk/-/sdk-2.9.0.tgz","fileCount":13,"integrity":"sha512-jXmGdGwTOBxDPQBf51sy4kqfKDK+rQdcVtQF1prO8T1aHyXQV05jNXaWTqceMWhnoJKi0OHn10sS2rc6S1bxwg==","signatures":[{"sig":"MEYCIQDheQXB7yKPBw5xq4FygJ+Jis+vbdf9Pge1E8try0Du3gIhAO7b+iVqShgbTkgDcGiJrT++4jDVkHMd++iHEDEHVg9V","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2507627},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","browser":"./dist/browser.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./loader":{"import":"./dist/sdk.js"},"./render":{"import":"./dist/sdk-render.js"},"./browser":{"import":"./dist/browser.mjs"}},"gitHead":"2eaa02e62fd64dd8b1e99c488ec7b5d7f93b3731","scripts":{"dev":"node dev-server.js","lint":"eslint src --ext .ts","test":"vitest","build":"tsup","clean":"rm -rf dist","serve":"node dev-server.js","test:ui":"vitest --ui","dev:serve":"node dev-server.js --watch","serve:sdk":"./serve-sdk.sh","build:prod":"tsup --minify","test:watch":"vitest --watch","type-check":"tsc --noEmit"},"_npmUser":{"name":"hamala","email":"yassin.hamla.io@gmail.com"},"repository":{"url":"git+https://github.com/TheYass1n/hamla-monorepo.git","type":"git","directory":"packages/hamla-sdk"},"_npmVersion":"10.9.8","description":"Lightweight marketing SDK for any business website — popups, push notifications, email campaigns, and behavioral targeting. Works with Salla, Zid, and custom platforms.","directories":{},"_nodeVersion":"22.23.2","dependencies":{"zod":"^3.22.4","@hamla/shared":"workspace:*","@gethamla/forms":"workspace:*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","vitest":"^1.0.4","@vitest/ui":"^1.0.4","typescript":"^5.3.3","@types/node":"^20.10.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_2.9.0_1787270601658_0.41735601786568854","host":"s3://npm-registry-packages-npm-production"}},"2.10.0":{"name":"@gethamla/sdk","version":"2.10.0","keywords":["hamla","marketing-sdk","ecommerce","popup","push-notifications","email-marketing","cart-recovery","behavioral-targeting","salla","zid","arabic","rtl","marketing-automation","conversion-optimization"],"author":{"url":"https://hamla.io","name":"Alienzhouse LTD","email":"hello@alienzhouse.com"},"license":"MIT","_id":"@gethamla/sdk@2.10.0","maintainers":[{"name":"hamala","email":"yassin.hamla.io@gmail.com"}],"homepage":"https://hamla.io","bugs":{"url":"https://github.com/TheYass1n/hamla-monorepo/issues","email":"support@hamla.io"},"dist":{"shasum":"c47f5142d54b53b52083b2d59af40ff0c22e356f","tarball":"https://registry.npmjs.org/@gethamla/sdk/-/sdk-2.10.0.tgz","fileCount":13,"integrity":"sha512-2skJebR7+AgCw29lnofuZBMUB7fXbN+G3Sp6sdyAO2jcmWcukiH31fGlS+GxN/A7nMA0adPpZFUZyqZi5HAu5A==","signatures":[{"sig":"MEUCIQDcXpFQTt3QA5lnzlKV5HVECfuSzKvYJbCD0t3F81dt+AIgPg91Cfvr63vo8/4SP0J2qJIgzhB2Oc0vbNmBZKl2gH8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2537103},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","browser":"./dist/browser.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./loader":{"import":"./dist/sdk.js"},"./render":{"import":"./dist/sdk-render.js"},"./browser":{"import":"./dist/browser.mjs"}},"gitHead":"abb7777b4c06afadaf2c6f3e08bf9d5ed5e5c3b0","scripts":{"dev":"node dev-server.js","lint":"eslint src --ext .ts","test":"vitest","build":"tsup","clean":"rm -rf dist","serve":"node dev-server.js","test:ui":"vitest --ui","dev:serve":"node dev-server.js --watch","serve:sdk":"./serve-sdk.sh","build:prod":"tsup --minify","test:watch":"vitest --watch","type-check":"tsc --noEmit"},"_npmUser":{"name":"hamala","email":"yassin.hamla.io@gmail.com"},"repository":{"url":"git+https://github.com/TheYass1n/hamla-monorepo.git","type":"git","directory":"packages/hamla-sdk"},"_npmVersion":"10.9.8","description":"Lightweight marketing SDK for any business website — popups, push notifications, email campaigns, and behavioral targeting. Works with Salla, Zid, and custom platforms.","directories":{},"_nodeVersion":"22.23.2","dependencies":{"zod":"^3.22.4","@hamla/shared":"workspace:*","@gethamla/forms":"workspace:*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","vitest":"^1.0.4","@vitest/ui":"^1.0.4","typescript":"^5.3.3","@types/node":"^20.10.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_2.10.0_1787319503980_0.2286937380358427","host":"s3://npm-registry-packages-npm-production"}},"2.11.0":{"name":"@gethamla/sdk","version":"2.11.0","keywords":["hamla","marketing-sdk","ecommerce","popup","push-notifications","email-marketing","cart-recovery","behavioral-targeting","salla","zid","arabic","rtl","marketing-automation","conversion-optimization"],"author":{"url":"https://hamla.io","name":"Alienzhouse LTD","email":"hello@alienzhouse.com"},"license":"MIT","_id":"@gethamla/sdk@2.11.0","maintainers":[{"name":"hamala","email":"yassin.hamla.io@gmail.com"}],"homepage":"https://hamla.io","bugs":{"url":"https://github.com/TheYass1n/hamla-monorepo/issues","email":"support@hamla.io"},"dist":{"shasum":"d7a14cb32d8d0f8cb0eed114e7b1821826390a87","tarball":"https://registry.npmjs.org/@gethamla/sdk/-/sdk-2.11.0.tgz","fileCount":13,"integrity":"sha512-IPfwICp/CFn/2vtBOK9E71R5eDSlMVbdV6zCxyFM3TqEtnh8v2pcLfB8Jw4nprqio2PJfnvCGVY1DxRkjyWRJg==","signatures":[{"sig":"MEQCICXsB2+PsJc/8ZVpfW6jQAoO0MiWGMCWf4fHLUX8Moh6AiBqPxRg1mmnQWoZdmhZpqkPwb9Koe9ZOA6/EyjcLj6sPA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2544923},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","browser":"./dist/browser.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./loader":{"import":"./dist/sdk.js"},"./render":{"import":"./dist/sdk-render.js"},"./browser":{"import":"./dist/browser.mjs"}},"gitHead":"91bcfd4be130b2b634db5c9123f92acc912063ef","scripts":{"dev":"node dev-server.js","lint":"eslint src --ext .ts","test":"vitest","build":"tsup","clean":"rm -rf dist","serve":"node dev-server.js","test:ui":"vitest --ui","dev:serve":"node dev-server.js --watch","serve:sdk":"./serve-sdk.sh","build:prod":"tsup --minify","test:watch":"vitest --watch","type-check":"tsc --noEmit"},"_npmUser":{"name":"hamala","email":"yassin.hamla.io@gmail.com"},"repository":{"url":"git+https://github.com/TheYass1n/hamla-monorepo.git","type":"git","directory":"packages/hamla-sdk"},"_npmVersion":"10.9.8","description":"Lightweight marketing SDK for any business website — popups, push notifications, email campaigns, and behavioral targeting. Works with Salla, Zid, and custom platforms.","directories":{},"_nodeVersion":"22.23.2","dependencies":{"zod":"^3.22.4","@hamla/shared":"workspace:*","@gethamla/forms":"workspace:*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","vitest":"^1.0.4","@vitest/ui":"^1.0.4","typescript":"^5.3.3","@types/node":"^20.10.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_2.11.0_1787325532204_0.7103594081630169","host":"s3://npm-registry-packages-npm-production"}},"2.12.0":{"name":"@gethamla/sdk","version":"2.12.0","keywords":["hamla","marketing-sdk","ecommerce","popup","push-notifications","email-marketing","cart-recovery","behavioral-targeting","salla","zid","arabic","rtl","marketing-automation","conversion-optimization"],"author":{"url":"https://hamla.io","name":"Alienzhouse LTD","email":"hello@alienzhouse.com"},"license":"MIT","_id":"@gethamla/sdk@2.12.0","maintainers":[{"name":"hamala","email":"yassin.hamla.io@gmail.com"}],"homepage":"https://hamla.io","bugs":{"url":"https://github.com/TheYass1n/hamla-monorepo/issues","email":"support@hamla.io"},"dist":{"shasum":"46d68a7ce206294da5b6354c14b297e18eb3fcde","tarball":"https://registry.npmjs.org/@gethamla/sdk/-/sdk-2.12.0.tgz","fileCount":13,"integrity":"sha512-i7f6w2ZpwiGm9D2dA+Gdl+rb917O6c3WeuLCylNkwaVbVyYGyQbM0Iy5rfrHILt050R/QCxu5ksmVO0y807ddQ==","signatures":[{"sig":"MEYCIQD+i5RIO+npZY+YcBoMnmAO9EaKj+bqgTFBw7OsRvYCogIhAOHdD/sK7C2Z9yidEBgxPNVTCEe7dXUYeCP2s/FTCzRC","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4225003},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","browser":"./dist/browser.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./loader":{"import":"./dist/sdk.js"},"./render":{"import":"./dist/sdk-render.js"},"./browser":{"import":"./dist/browser.mjs"}},"gitHead":"918fe5bb4b618e9872b96a14b9850946af9cb22b","scripts":{"dev":"node dev-server.js","lint":"eslint src --ext .ts","test":"vitest","build":"tsup","clean":"rm -rf dist","serve":"node dev-server.js","test:ui":"vitest --ui","dev:serve":"node dev-server.js --watch","serve:sdk":"./serve-sdk.sh","build:prod":"tsup --minify","test:watch":"vitest --watch","type-check":"tsc --noEmit"},"_npmUser":{"name":"hamala","email":"yassin.hamla.io@gmail.com"},"repository":{"url":"git+https://github.com/TheYass1n/hamla-monorepo.git","type":"git","directory":"packages/hamla-sdk"},"_npmVersion":"10.9.8","description":"Lightweight marketing SDK for any business website — popups, push notifications, email campaigns, and behavioral targeting. Works with Salla, Zid, and custom platforms.","directories":{},"_nodeVersion":"22.23.2","dependencies":{"zod":"^3.22.4","@hamla/shared":"workspace:*","@gethamla/forms":"workspace:*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","vitest":"^1.0.4","@vitest/ui":"^1.0.4","typescript":"^5.3.3","@types/node":"^20.10.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_2.12.0_1787581098560_0.3217255615825063","host":"s3://npm-registry-packages-npm-production"}},"2.13.0":{"name":"@gethamla/sdk","version":"2.13.0","keywords":["hamla","marketing-sdk","ecommerce","popup","push-notifications","email-marketing","cart-recovery","behavioral-targeting","salla","zid","arabic","rtl","marketing-automation","conversion-optimization"],"author":{"url":"https://hamla.io","name":"Alienzhouse LTD","email":"hello@alienzhouse.com"},"license":"MIT","_id":"@gethamla/sdk@2.13.0","maintainers":[{"name":"hamala","email":"yassin.hamla.io@gmail.com"}],"homepage":"https://hamla.io","bugs":{"url":"https://github.com/TheYass1n/hamla-monorepo/issues","email":"support@hamla.io"},"dist":{"shasum":"e564989c688fe556a3464f1614e411884385f205","tarball":"https://registry.npmjs.org/@gethamla/sdk/-/sdk-2.13.0.tgz","fileCount":13,"integrity":"sha512-rMBLsyK87HGsB4ElQgfRUq2D6jAkBBvoiKoIhTYOaD5/b2VcNNsmNIz+ks2L1cF4u70H4d3h1XI5CVBc9wc31g==","signatures":[{"sig":"MEUCICJ21scv4jSEtGhhEGgniiUrkmW5GHXFeYzuuurqMlXwAiEAxP+NeNrwg2Z/viP9BFgGRd904wYmCEKbFM10gQxMruo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4233874},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","browser":"./dist/browser.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./loader":{"import":"./dist/sdk.js"},"./render":{"import":"./dist/sdk-render.js"},"./browser":{"import":"./dist/browser.mjs"}},"gitHead":"12bd3df5d7ada381b853fe708cc3a5f5e880ee75","scripts":{"dev":"node dev-server.js","lint":"eslint src --ext .ts","test":"vitest","build":"tsup","clean":"rm -rf dist","serve":"node dev-server.js","test:ui":"vitest --ui","dev:serve":"node dev-server.js --watch","serve:sdk":"./serve-sdk.sh","build:prod":"tsup --minify","test:watch":"vitest --watch","type-check":"tsc --noEmit"},"_npmUser":{"name":"hamala","email":"yassin.hamla.io@gmail.com"},"repository":{"url":"git+https://github.com/TheYass1n/hamla-monorepo.git","type":"git","directory":"packages/hamla-sdk"},"_npmVersion":"10.9.8","description":"Lightweight marketing SDK for any business website — popups, push notifications, email campaigns, and behavioral targeting. Works with Salla, Zid, and custom platforms.","directories":{},"_nodeVersion":"22.23.2","dependencies":{"zod":"^3.22.4","@hamla/shared":"workspace:*","@gethamla/forms":"workspace:*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","vitest":"^1.0.4","@vitest/ui":"^1.0.4","typescript":"^5.3.3","@types/node":"^20.10.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_2.13.0_1787594291808_0.3907772494641275","host":"s3://npm-registry-packages-npm-production"}},"2.14.0":{"name":"@gethamla/sdk","version":"2.14.0","keywords":["hamla","marketing-sdk","ecommerce","popup","push-notifications","email-marketing","cart-recovery","behavioral-targeting","salla","zid","arabic","rtl","marketing-automation","conversion-optimization"],"author":{"url":"https://hamla.io","name":"Alienzhouse LTD","email":"hello@alienzhouse.com"},"license":"MIT","_id":"@gethamla/sdk@2.14.0","maintainers":[{"name":"hamala","email":"yassin.hamla.io@gmail.com"}],"homepage":"https://hamla.io","bugs":{"url":"https://github.com/TheYass1n/hamla-monorepo/issues","email":"support@hamla.io"},"dist":{"shasum":"c784cf55d5e6b5e99f1c88063da9a217597ac286","tarball":"https://registry.npmjs.org/@gethamla/sdk/-/sdk-2.14.0.tgz","fileCount":13,"integrity":"sha512-GSds5oLBjN0Ion03wjMD1snjsgBV2a7bCFd4ea7tIXzoROK3Cz2B04Fr4/GuxXIytPNiy2rJflJoeqw+9sH8HA==","signatures":[{"sig":"MEYCIQDQnPmAqXEKnruKnJfV+ZygldTahHw8KOFrWTV5kBnYawIhAPdAJrxOrrX2L8AMM4bQRFKTI/7xVgszjaM+fLn6e5zK","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4242294},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","browser":"./dist/browser.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./loader":{"import":"./dist/sdk.js"},"./render":{"import":"./dist/sdk-render.js"},"./browser":{"import":"./dist/browser.mjs"}},"gitHead":"ab9656a15827d6f184cacd2e51bd5ac45881a8c0","scripts":{"dev":"node dev-server.js","lint":"eslint src --ext .ts","test":"vitest","build":"tsup","clean":"rm -rf dist","serve":"node dev-server.js","test:ui":"vitest --ui","dev:serve":"node dev-server.js --watch","serve:sdk":"./serve-sdk.sh","build:prod":"tsup --minify","test:watch":"vitest --watch","type-check":"tsc --noEmit"},"_npmUser":{"name":"hamala","email":"yassin.hamla.io@gmail.com"},"repository":{"url":"git+https://github.com/TheYass1n/hamla-monorepo.git","type":"git","directory":"packages/hamla-sdk"},"_npmVersion":"10.9.8","description":"Lightweight marketing SDK for any business website — popups, push notifications, email campaigns, and behavioral targeting. Works with Salla, Zid, and custom platforms.","directories":{},"_nodeVersion":"22.23.2","dependencies":{"zod":"^3.22.4","@hamla/shared":"workspace:*","@gethamla/forms":"workspace:*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","vitest":"^1.0.4","@vitest/ui":"^1.0.4","typescript":"^5.3.3","@types/node":"^20.10.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_2.14.0_1787597751235_0.4419363651804451","host":"s3://npm-registry-packages-npm-production"}},"2.15.0":{"name":"@gethamla/sdk","version":"2.15.0","keywords":["hamla","marketing-sdk","ecommerce","popup","push-notifications","email-marketing","cart-recovery","behavioral-targeting","salla","zid","arabic","rtl","marketing-automation","conversion-optimization"],"author":{"url":"https://hamla.io","name":"Alienzhouse LTD","email":"hello@alienzhouse.com"},"license":"MIT","_id":"@gethamla/sdk@2.15.0","maintainers":[{"name":"hamala","email":"yassin.hamla.io@gmail.com"}],"homepage":"https://hamla.io","bugs":{"url":"https://github.com/TheYass1n/hamla-monorepo/issues","email":"support@hamla.io"},"dist":{"shasum":"0593eb9ecded9d67a2d2167aea627d9baa9a7bc1","tarball":"https://registry.npmjs.org/@gethamla/sdk/-/sdk-2.15.0.tgz","fileCount":13,"integrity":"sha512-UAqiZupwbMamutZ4Sq0vHBbxMxZa4mGHbWfs64a6j0iAp0bor5f7p4uPC6m7fGHnADzciHss4Ytt2WYnXLgrNA==","signatures":[{"sig":"MEQCIFVTWatYZwKzLMVixr8EFrL4DXpc9JTkRL4wn6F0Dx7HAiBwniPwU1Xs8+hTDmTxofSHK5YbdaiDRcsFsEFvuCMudg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4311906},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","browser":"./dist/browser.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./loader":{"import":"./dist/sdk.js"},"./render":{"import":"./dist/sdk-render.js"},"./browser":{"import":"./dist/browser.mjs"}},"gitHead":"9d36655daa9974c98da2092094dfd2c83d05072a","scripts":{"dev":"node dev-server.js","lint":"eslint src","test":"vitest","build":"tsup","clean":"rm -rf dist","serve":"node dev-server.js","test:ui":"vitest --ui","dev:serve":"node dev-server.js --watch","serve:sdk":"./serve-sdk.sh","build:prod":"tsup --minify","test:watch":"vitest --watch","type-check":"tsc --noEmit"},"_npmUser":{"name":"hamala","email":"yassin.hamla.io@gmail.com"},"repository":{"url":"git+https://github.com/TheYass1n/hamla-monorepo.git","type":"git","directory":"packages/hamla-sdk"},"_npmVersion":"10.9.8","description":"Lightweight marketing SDK for any business website — popups, push notifications, email campaigns, and behavioral targeting. Works with Salla, Zid, and custom platforms.","directories":{},"_nodeVersion":"22.23.2","dependencies":{"zod":"^3.22.4","@hamla/shared":"workspace:*","@gethamla/forms":"workspace:*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","eslint":"^9.20.1","vitest":"^1.0.4","@vitest/ui":"^1.0.4","typescript":"^5.3.3","@types/node":"^20.10.0","@workspace/eslint-config":"workspace:^"},"_npmOperationalInternal":{"tmp":"tmp/sdk_2.15.0_1788126514954_0.8650402711493925","host":"s3://npm-registry-packages-npm-production"}},"2.16.0":{"name":"@gethamla/sdk","version":"2.16.0","keywords":["hamla","marketing-sdk","ecommerce","popup","push-notifications","email-marketing","cart-recovery","behavioral-targeting","salla","zid","arabic","rtl","marketing-automation","conversion-optimization"],"author":{"url":"https://hamla.io","name":"Alienzhouse LTD","email":"hello@alienzhouse.com"},"license":"MIT","_id":"@gethamla/sdk@2.16.0","maintainers":[{"name":"hamala","email":"yassin.hamla.io@gmail.com"}],"homepage":"https://hamla.io","bugs":{"url":"https://github.com/TheYass1n/hamla-monorepo/issues","email":"support@hamla.io"},"dist":{"shasum":"1ad483d21a20ce250aae1e3def8ad27072043d99","tarball":"https://registry.npmjs.org/@gethamla/sdk/-/sdk-2.16.0.tgz","fileCount":13,"integrity":"sha512-+DQqb/2mFbYfU6hmHitJVFsi8rG4Aa9jZZ6zfLWqOdrUSXH1YUC/PbM3cVkgmPI/OQgBUJHiHqduL4OJiEqJgg==","signatures":[{"sig":"MEUCIQDeDvIHQvZpQEwjTKWHyQvzSBK9cu1FgVplCQs2vxAwkQIgC4/F/rO6zwblKbbmzkwPmQK9XoWfRYp1DAUTAGGzMxw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4372984},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","browser":"./dist/browser.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./loader":{"import":"./dist/sdk.js"},"./render":{"import":"./dist/sdk-render.js"},"./browser":{"import":"./dist/browser.mjs"}},"gitHead":"93774d2c93c95f21a108f98cdfb954d723f74a82","scripts":{"dev":"node dev-server.js","lint":"eslint src","test":"vitest","build":"tsup","clean":"rm -rf dist","serve":"node dev-server.js","test:ui":"vitest --ui","dev:serve":"node dev-server.js --watch","serve:sdk":"./serve-sdk.sh","build:prod":"tsup --minify","test:watch":"vitest --watch","type-check":"tsc --noEmit"},"_npmUser":{"name":"hamala","email":"yassin.hamla.io@gmail.com"},"repository":{"url":"git+https://github.com/TheYass1n/hamla-monorepo.git","type":"git","directory":"packages/hamla-sdk"},"_npmVersion":"10.9.8","description":"Lightweight marketing SDK for any business website — popups, push notifications, email campaigns, and behavioral targeting. Works with Salla, Zid, and custom platforms.","directories":{},"_nodeVersion":"22.23.2","dependencies":{"zod":"^3.22.4","@hamla/shared":"workspace:*","@gethamla/forms":"workspace:*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","eslint":"^9.20.1","vitest":"^1.0.4","@vitest/ui":"^1.0.4","typescript":"^5.3.3","@types/node":"^20.10.0","@workspace/eslint-config":"workspace:^"},"_npmOperationalInternal":{"tmp":"tmp/sdk_2.16.0_1788286225254_0.017423303092412468","host":"s3://npm-registry-packages-npm-production"}},"2.17.0":{"name":"@gethamla/sdk","version":"2.17.0","keywords":["hamla","marketing-sdk","ecommerce","popup","push-notifications","email-marketing","cart-recovery","behavioral-targeting","salla","zid","arabic","rtl","marketing-automation","conversion-optimization"],"author":{"url":"https://hamla.io","name":"Alienzhouse LTD","email":"hello@alienzhouse.com"},"license":"MIT","_id":"@gethamla/sdk@2.17.0","maintainers":[{"name":"hamala","email":"yassin.hamla.io@gmail.com"}],"homepage":"https://hamla.io","bugs":{"url":"https://github.com/TheYass1n/hamla-monorepo/issues","email":"support@hamla.io"},"dist":{"shasum":"8ba7bf2ce530f47d5e76a487558c040222273f04","tarball":"https://registry.npmjs.org/@gethamla/sdk/-/sdk-2.17.0.tgz","fileCount":13,"integrity":"sha512-q9cPDUqzrWKFpU4qwdLjKoz7yd0AAZNeEBHcxyZWwI8LsngRWq8QVDG0x57sRwgR0erpHAg3Pr3GdrsW+GOpNA==","signatures":[{"sig":"MEYCIQC3mBkFpSpUAzivOswIvO8IuYSZd58o91Y4d4sQwrtR3wIhAIY+MHtjMrH32JNO2Qh5k7HJ103rrEaJ/i+kz8Ryhn+8","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4385646},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","browser":"./dist/browser.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./loader":{"import":"./dist/sdk.js"},"./render":{"import":"./dist/sdk-render.js"},"./browser":{"import":"./dist/browser.mjs"}},"gitHead":"8e30d6d6130c36ae6dbda15d756d4760eda42aa3","scripts":{"dev":"node dev-server.js","lint":"eslint src","test":"vitest","build":"tsup","clean":"rm -rf dist","serve":"node dev-server.js","test:ui":"vitest --ui","dev:serve":"node dev-server.js --watch","serve:sdk":"./serve-sdk.sh","build:prod":"tsup --minify","test:watch":"vitest --watch","type-check":"tsc --noEmit"},"_npmUser":{"name":"hamala","email":"yassin.hamla.io@gmail.com"},"repository":{"url":"git+https://github.com/TheYass1n/hamla-monorepo.git","type":"git","directory":"packages/hamla-sdk"},"_npmVersion":"10.9.8","description":"Lightweight marketing SDK for any business website — popups, push notifications, email campaigns, and behavioral targeting. Works with Salla, Zid, and custom platforms.","directories":{},"_nodeVersion":"22.23.2","dependencies":{"zod":"^3.22.4","@hamla/shared":"workspace:*","@gethamla/forms":"workspace:*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","eslint":"^9.20.1","vitest":"^1.0.4","@vitest/ui":"^1.0.4","typescript":"^5.3.3","@types/node":"^20.10.0","@workspace/eslint-config":"workspace:^"},"_npmOperationalInternal":{"tmp":"tmp/sdk_2.17.0_1788290279664_0.823907471163442","host":"s3://npm-registry-packages-npm-production"}},"2.18.0":{"name":"@gethamla/sdk","version":"2.18.0","keywords":["hamla","marketing-sdk","ecommerce","popup","push-notifications","email-marketing","cart-recovery","behavioral-targeting","salla","zid","arabic","rtl","marketing-automation","conversion-optimization"],"author":{"url":"https://hamla.io","name":"Alienzhouse LTD","email":"hello@alienzhouse.com"},"license":"MIT","_id":"@gethamla/sdk@2.18.0","maintainers":[{"name":"hamala","email":"yassin.hamla.io@gmail.com"}],"homepage":"https://hamla.io","bugs":{"url":"https://github.com/TheYass1n/hamla-monorepo/issues","email":"support@hamla.io"},"dist":{"shasum":"f1b02c973505be739b6a787553aafe4f9ffc3a23","tarball":"https://registry.npmjs.org/@gethamla/sdk/-/sdk-2.18.0.tgz","fileCount":13,"integrity":"sha512-GFFJyaqDeRif42dAsChFfUoJOUUv3mMVzWU0uy/gM+S56pEZ5ERxtEzJOmyDWo9/Z52gFyZa/uG45DSuFefjZQ==","signatures":[{"sig":"MEUCIGQQ7myBktN7nJEj/NcRFt72T1H4u1Lz8Fi3bHI39ph6AiEA6lOOoEzPw+1SLt9xB3Y8lZgSFFQzWHdZvryMBzj6gAE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4417968},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","browser":"./dist/browser.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./loader":{"import":"./dist/sdk.js"},"./render":{"import":"./dist/sdk-render.js"},"./browser":{"import":"./dist/browser.mjs"}},"gitHead":"2591f5ed5d50b9613847fef9790358fcef8deb92","scripts":{"dev":"node dev-server.js","lint":"eslint src","test":"vitest","build":"tsup","clean":"rm -rf dist","serve":"node dev-server.js","test:ui":"vitest --ui","dev:serve":"node dev-server.js --watch","serve:sdk":"./serve-sdk.sh","build:prod":"tsup --minify","test:watch":"vitest --watch","type-check":"tsc --noEmit"},"_npmUser":{"name":"hamala","email":"yassin.hamla.io@gmail.com"},"repository":{"url":"git+https://github.com/TheYass1n/hamla-monorepo.git","type":"git","directory":"packages/hamla-sdk"},"_npmVersion":"10.9.8","description":"Lightweight marketing SDK for any business website — popups, push notifications, email campaigns, and behavioral targeting. Works with Salla, Zid, and custom platforms.","directories":{},"_nodeVersion":"22.23.2","dependencies":{"zod":"^3.22.4","@hamla/shared":"workspace:*","@gethamla/forms":"workspace:*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","eslint":"^9.20.1","vitest":"^1.0.4","@vitest/ui":"^1.0.4","typescript":"^5.3.3","@types/node":"^20.10.0","@workspace/eslint-config":"workspace:^"},"_npmOperationalInternal":{"tmp":"tmp/sdk_2.18.0_1788304554659_0.3684384876687803","host":"s3://npm-registry-packages-npm-production"}},"2.19.0":{"name":"@gethamla/sdk","version":"2.19.0","keywords":["hamla","marketing-sdk","ecommerce","popup","push-notifications","email-marketing","cart-recovery","behavioral-targeting","salla","zid","arabic","rtl","marketing-automation","conversion-optimization"],"author":{"url":"https://hamla.io","name":"Alienzhouse LTD","email":"hello@alienzhouse.com"},"license":"MIT","_id":"@gethamla/sdk@2.19.0","maintainers":[{"name":"hamala","email":"yassin.hamla.io@gmail.com"}],"homepage":"https://hamla.io","bugs":{"url":"https://github.com/TheYass1n/hamla-monorepo/issues","email":"support@hamla.io"},"dist":{"shasum":"bdc58bf0721a1bed09999a2c039a6a5e2e100d5a","tarball":"https://registry.npmjs.org/@gethamla/sdk/-/sdk-2.19.0.tgz","fileCount":13,"integrity":"sha512-iXCDQVC3GpuI6mpLMHYI0urMKXTHMVBD3YOBsJx7j+QhHXw+XmcxGVbKgDLULsmd51TYclPDTRc/lXDdW4qLEQ==","signatures":[{"sig":"MEQCIB5HoFBLH2vCvWlL2IeD0Yt5lL6yQ+yI0WSEGKU6rL2mAiB5dqZiq6dEUWttDy2nWnsw5iFPdDbijeCZDY71JhPWUQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4421855},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","browser":"./dist/browser.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./loader":{"import":"./dist/sdk.js"},"./render":{"import":"./dist/sdk-render.js"},"./browser":{"import":"./dist/browser.mjs"}},"gitHead":"50995408e00e72810443eb72524358067b2565a7","scripts":{"dev":"node dev-server.js","lint":"eslint src","test":"vitest","build":"tsup","clean":"rm -rf dist","serve":"node dev-server.js","test:ui":"vitest --ui","dev:serve":"node dev-server.js --watch","serve:sdk":"./serve-sdk.sh","build:prod":"tsup --minify","test:watch":"vitest --watch","type-check":"tsc --noEmit"},"_npmUser":{"name":"hamala","email":"yassin.hamla.io@gmail.com"},"repository":{"url":"git+https://github.com/TheYass1n/hamla-monorepo.git","type":"git","directory":"packages/hamla-sdk"},"_npmVersion":"10.9.8","description":"Lightweight marketing SDK for any business website — popups, push notifications, email campaigns, and behavioral targeting. Works with Salla, Zid, and custom platforms.","directories":{},"_nodeVersion":"22.23.2","dependencies":{"zod":"^3.22.4","@hamla/shared":"workspace:*","@gethamla/forms":"workspace:*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","eslint":"^9.20.1","vitest":"^1.0.4","@vitest/ui":"^1.0.4","typescript":"^5.3.3","@types/node":"^20.10.0","@workspace/eslint-config":"workspace:^"},"_npmOperationalInternal":{"tmp":"tmp/sdk_2.19.0_1788306478326_0.20866066322238042","host":"s3://npm-registry-packages-npm-production"}},"2.20.0":{"name":"@gethamla/sdk","version":"2.20.0","keywords":["hamla","marketing-sdk","ecommerce","popup","push-notifications","email-marketing","cart-recovery","behavioral-targeting","salla","zid","arabic","rtl","marketing-automation","conversion-optimization"],"author":{"url":"https://hamla.io","name":"Alienzhouse LTD","email":"hello@alienzhouse.com"},"license":"MIT","_id":"@gethamla/sdk@2.20.0","maintainers":[{"name":"hamala","email":"yassin.hamla.io@gmail.com"}],"homepage":"https://hamla.io","bugs":{"url":"https://github.com/TheYass1n/hamla-monorepo/issues","email":"support@hamla.io"},"dist":{"shasum":"930f47bc4115412ee9a03c0c0971f0f9513437de","tarball":"https://registry.npmjs.org/@gethamla/sdk/-/sdk-2.20.0.tgz","fileCount":13,"integrity":"sha512-EqoD68aZ3WJowL853clfTIZmqsc3WLKjhcJN3zFD3kZiKiXOPKFcfHSCvtfy/Cm/6I6YnfOCJ0IjAjE1sgCt/Q==","signatures":[{"sig":"MEYCIQCPZ361siBzmWI4xYwqrKY84hDz9Ry3YzJ5sTsjB/LIsAIhAIcUBPG2ikCRpMWJ08yn2LGflEbhsJ99OkfEJsSayFdY","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4426050},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","browser":"./dist/browser.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./loader":{"import":"./dist/sdk.js"},"./render":{"import":"./dist/sdk-render.js"},"./browser":{"import":"./dist/browser.mjs"}},"gitHead":"b00c7bfaeb1ce58160631286ec9b63030522645d","scripts":{"dev":"node dev-server.js","lint":"eslint src","test":"vitest","build":"tsup","clean":"rm -rf dist","serve":"node dev-server.js","test:ui":"vitest --ui","dev:serve":"node dev-server.js --watch","serve:sdk":"./serve-sdk.sh","build:prod":"tsup --minify","test:watch":"vitest --watch","type-check":"tsc --noEmit"},"_npmUser":{"name":"hamala","email":"yassin.hamla.io@gmail.com"},"repository":{"url":"git+https://github.com/TheYass1n/hamla-monorepo.git","type":"git","directory":"packages/hamla-sdk"},"_npmVersion":"10.9.8","description":"Lightweight marketing SDK for any business website — popups, push notifications, email campaigns, and behavioral targeting. Works with Salla, Zid, and custom platforms.","directories":{},"_nodeVersion":"22.23.2","dependencies":{"zod":"^3.22.4","@hamla/shared":"workspace:*","@gethamla/forms":"workspace:*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","eslint":"^9.20.1","vitest":"^1.0.4","@vitest/ui":"^1.0.4","typescript":"^5.3.3","@types/node":"^20.10.0","@workspace/eslint-config":"workspace:^"},"_npmOperationalInternal":{"tmp":"tmp/sdk_2.20.0_1788314579545_0.8691721178102942","host":"s3://npm-registry-packages-npm-production"}},"2.21.0":{"name":"@gethamla/sdk","version":"2.21.0","description":"Lightweight marketing SDK for any business website — popups, push notifications, email campaigns, and behavioral targeting. Works with Salla, Zid, and custom platforms.","main":"./dist/index.js","module":"./dist/index.mjs","browser":"./dist/browser.mjs","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./browser":{"import":"./dist/browser.mjs"},"./loader":{"import":"./dist/sdk.js"},"./render":{"import":"./dist/sdk-render.js"}},"publishConfig":{"access":"public"},"scripts":{"build":"tsup","dev":"node dev-server.js","test":"vitest","test:watch":"vitest --watch","test:ui":"vitest --ui","type-check":"tsc --noEmit","lint":"eslint src","clean":"rm -rf dist","build:prod":"tsup --minify","dev:serve":"node dev-server.js --watch","serve":"node dev-server.js","serve:sdk":"./serve-sdk.sh"},"keywords":["hamla","marketing-sdk","ecommerce","popup","push-notifications","email-marketing","cart-recovery","behavioral-targeting","salla","zid","arabic","rtl","marketing-automation","conversion-optimization"],"author":{"name":"Alienzhouse LTD","email":"hello@alienzhouse.com","url":"https://hamla.io"},"license":"MIT","homepage":"https://hamla.io","repository":{"type":"git","url":"git+https://github.com/TheYass1n/hamla-monorepo.git","directory":"packages/hamla-sdk"},"bugs":{"url":"https://github.com/TheYass1n/hamla-monorepo/issues","email":"support@hamla.io"},"dependencies":{"@gethamla/forms":"workspace:*","@hamla/shared":"workspace:*","zod":"^3.22.4"},"devDependencies":{"@types/node":"^20.10.0","@vitest/ui":"^1.0.4","@workspace/eslint-config":"workspace:^","eslint":"^9.20.1","tsup":"^8.0.1","typescript":"^5.3.3","vitest":"^1.0.4"},"_id":"@gethamla/sdk@2.21.0","gitHead":"4424c5b9264c9ffe527a94a1c38ed7e5ee52f705","_nodeVersion":"22.23.2","_npmVersion":"10.9.8","dist":{"integrity":"sha512-aN+YffC+tHXoPixY4ofkV+rh4r7LquwKqBxUGYFylw29AzaQ9TUydhwmEQztlftbuA29ocjAH83sV5ecWKojGA==","shasum":"3db5ce842af9944668a6accbe37799a9cb9d851b","tarball":"https://registry.npmjs.org/@gethamla/sdk/-/sdk-2.21.0.tgz","fileCount":13,"unpackedSize":4437949,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIGh8MEtthChVumBbPX7YOHVu+XNzaPpnSPeiDCXpq1nIAiBqE/iMCQ02S3NYJOH06Pfqe+43i475ftCKpZ3vyapQQw=="}]},"_npmUser":{"name":"hamala","email":"yassin.hamla.io@gmail.com"},"directories":{},"maintainers":[{"name":"hamala","email":"yassin.hamla.io@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sdk_2.21.0_1788383188799_0.5752124438626374"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-26T19:45:28.570Z","modified":"2026-09-02T21:06:29.169Z","1.0.0":"2026-03-26T19:45:28.837Z","1.0.1":"2026-03-26T19:49:28.009Z","1.0.2":"2026-03-27T11:53:50.446Z","1.0.3":"2026-03-27T16:09:35.441Z","2.0.0":"2026-04-01T10:38:44.997Z","2.1.0":"2026-04-01T11:34:36.746Z","2.2.0":"2026-04-01T12:00:23.846Z","2.3.0":"2026-04-01T12:09:14.646Z","2.4.0":"2026-04-01T12:17:27.448Z","2.4.1":"2026-04-01T12:27:53.145Z","2.5.0":"2026-04-01T12:48:52.574Z","2.5.1":"2026-04-01T12:56:13.952Z","2.5.2":"2026-04-20T11:51:59.146Z","2.5.3":"2026-05-23T22:53:55.308Z","2.5.4":"2026-06-21T18:46:21.179Z","2.5.5":"2026-06-24T14:39:28.133Z","2.5.6":"2026-06-24T15:53:39.557Z","2.5.7":"2026-07-12T01:27:30.301Z","2.6.0":"2026-07-26T19:21:50.040Z","2.7.0":"2026-07-29T13:14:27.214Z","2.8.0":"2026-08-07T10:55:52.972Z","2.9.0":"2026-08-21T00:03:21.840Z","2.10.0":"2026-08-21T13:38:24.160Z","2.11.0":"2026-08-21T15:18:52.416Z","2.12.0":"2026-08-24T14:18:18.773Z","2.13.0":"2026-08-24T17:58:12.032Z","2.14.0":"2026-08-24T18:55:51.403Z","2.15.0":"2026-08-30T21:48:35.112Z","2.16.0":"2026-09-01T18:10:25.514Z","2.17.0":"2026-09-01T19:17:59.910Z","2.18.0":"2026-09-01T23:15:54.921Z","2.19.0":"2026-09-01T23:47:58.540Z","2.20.0":"2026-09-02T02:02:59.724Z","2.21.0":"2026-09-02T21:06:28.972Z"},"bugs":{"url":"https://github.com/TheYass1n/hamla-monorepo/issues","email":"support@hamla.io"},"author":{"name":"Alienzhouse LTD","email":"hello@alienzhouse.com","url":"https://hamla.io"},"license":"MIT","homepage":"https://hamla.io","keywords":["hamla","marketing-sdk","ecommerce","popup","push-notifications","email-marketing","cart-recovery","behavioral-targeting","salla","zid","arabic","rtl","marketing-automation","conversion-optimization"],"repository":{"type":"git","url":"git+https://github.com/TheYass1n/hamla-monorepo.git","directory":"packages/hamla-sdk"},"description":"Lightweight marketing SDK for any business website — popups, push notifications, email campaigns, and behavioral targeting. Works with Salla, Zid, and custom platforms.","maintainers":[{"name":"hamala","email":"yassin.hamla.io@gmail.com"}],"readme":"# @gethamla/sdk\n\n> **The thin client for Hamla — an AI marketing team that plugs into whatever a business already uses.**\n\nThis package is the browser-side runtime. It loads on a merchant's website, fires triggers, tracks events, and renders on-site content (popups, toasts, banners). **The server is the brain** — campaign selection, channel/step picking, frequency, fatigue, variable resolution, off-site channel scheduling, and intelligence (intent / journey / fatigue) all happen server-side. The SDK is a lookup-and-render shell.\n\nFor agent context and the full architectural rationale, see [`CLAUDE.md`](./CLAUDE.md).\n\n---\n\n## 🚀 Quick Start\n\n### Installation\n\n```bash\npnpm add @gethamla/sdk\n# or npm install @gethamla/sdk\n```\n\n### Drop-in script (recommended for merchants)\n\n```html\n<script>\n  !function(w,d){\n    w.Hamla=w.Hamla||{};\n    w.Hamla.config={businessId:\"your-business-id\"};\n    var s=d.createElement(\"script\");\n    s.async=1;\n    s.src=\"https://cdn.hamla.io/sdk/v5/hamla.min.js\";\n    d.head.appendChild(s);\n  }(window,document);\n</script>\n```\n\n### ES module\n\n```typescript\nimport { HamlaSDK } from '@gethamla/sdk';\n\nconst hamla = new HamlaSDK({\n  businessId: 'your-business-id',\n  debug: process.env.NODE_ENV === 'development',\n});\n\nawait hamla.init();\n```\n\nAfter `init()`, the SDK calls `/api/sdk/init`, receives a per-page set of resolved render instructions keyed by trigger, prefetches the render chunk in the background, and arms the trigger engine. There's nothing else for the merchant to wire up.\n\n---\n\n## 🏗️ Architecture (v6 thin client)\n\nTwo-phase loader keeps the always-loaded payload small.\n\n| Phase | File | Loaded | Purpose |\n|-------|------|--------|---------|\n| **Loader** | `sdk.js` (~15-18 KB gzipped) | Immediately on page load | init, triggers, event tracking, MicroAdapters, LiveSlots, ChunkLoader |\n| **Render chunk** | `sdk-render.js` (~20-25 KB) | Async via script injection (prefetched after init) | Popups, toasts, banners |\n\n```\nPage loads → sdk.js (loader) loads\n           → MicroAdapter detects platform + collects pageContext + cart\n           → POST /api/sdk/init with pageContext + cart\n           → Server returns fully resolved instructions + liveSlots config\n           → ChunkLoader prefetches sdk-render.js in background\n           → TriggerEngine arms triggers\n\nTrigger fires → LiveSlots resolves 4 cart vars client-side\n              → ChunkLoader.getRender() (chunk already prefetched, 0ms)\n              → Show popup/notification instantly\n              → EventTracker reports event async to /api/sdk/events\n```\n\n### Components\n\n| Component | File | Purpose |\n|-----------|------|---------|\n| `HamlaSDK` | `src/HamlaSDK.ts` | Entry point — owns init, trigger handling, event reporting |\n| `TriggerEngine` | `src/triggers/TriggerEngine.ts` | Detects DOM events (exit intent, scroll, time, idle, click) using PageContext |\n| `InstructionExecutor` | `src/orchestration/InstructionExecutor.ts` | Trigger key → render instruction lookup (pure lookup, no scoring) |\n| `RenderEngine` | `src/rendering/RenderEngine.ts` | Lives in the render chunk; renders popups and notifications |\n| `EventTracker` | `src/analytics/EventTracker.ts` | Batched, async reporting to `/api/sdk/events` |\n| `MicroAdapter` (Salla / Zid) | `src/adapters/SallaMicroAdapter.ts`, `src/adapters/ZidMicroAdapter.ts` | Slim platform adapters (~150 lines each) for events, CTAs, cart, page context |\n| `LiveSlots` | `src/slots/LiveSlots.ts` | Resolves the 4 real-time cart variables client-side at render time |\n| `ChunkLoader` | `src/chunks/ChunkLoader.ts` | Async render chunk loading + prefetch |\n\n### What the SDK does NOT do\n\nThe server owns all of this:\n\n- Campaign selection (highest priority per trigger)\n- Channel / step selection (flow position from event history)\n- Frequency enforcement (`once_per_session`, `once_per_day`, etc.)\n- Conversion suppression (`stopOnConversion`)\n- Session fatigue limits (`maxOnSiteMessages`)\n- Intelligence scoring (intent, journey, fatigue)\n- Off-site channel delivery (email, browser push) and scheduling\n- Variable resolution — the server resolves 28 of 35 template variables; LiveSlots only handles the 4 real-time cart vars\n\n---\n\n## 📡 Channels\n\n| Channel | Status |\n|---------|--------|\n| On-site popup | ✅ Shipped (render chunk) |\n| On-site notification / toast / banner | ✅ Shipped (render chunk) |\n| Email | ✅ Shipped (server-side, scheduled via `ScheduledJob`) |\n| Browser push | ✅ Shipped (`apps/push-frame` + server) |\n| SMS | ⏳ Coming — server-side stub, not yet implemented |\n| WhatsApp messaging | ⏳ Coming — server-side stub, not yet implemented |\n\nThe SDK exposes the same trigger / event surface for all of them — the server decides whether to render an on-site channel inline or schedule an off-site one.\n\n---\n\n## 🔌 SDK API\n\n### Initialization\n\n```typescript\nimport { HamlaSDK } from '@gethamla/sdk';\n\nconst hamla = new HamlaSDK({\n  businessId: 'business_123',\n  apiUrl: 'https://api.hamla.io', // optional\n  debug: true,                    // enable console logging\n});\n\nawait hamla.init();\n```\n\n### Identify a visitor\n\n```typescript\nhamla.identify({\n  userId: 'user_456',\n  email: 'customer@example.com',\n  phone: '+966501234567',\n  attributes: { firstName: 'Sarah', segment: 'vip', lifetimeValue: 5000 },\n});\n```\n\n### Update cart\n\n```typescript\nhamla.updateCart({\n  items: [{ productId: 'prod_1', name: 'iPhone 15', price: 3999, quantity: 1 }],\n  total: 3999,\n  currency: 'SAR',\n});\n```\n\n### Track events\n\n```typescript\nhamla.track('page_view', { pageType: 'product', productId: 'prod_1' });\nhamla.track('video_watched', { videoId: 'intro_video', duration: 120 });\n```\n\n### Manual trigger\n\n```typescript\nhamla.trigger('custom_event', { customData: 'value' });\n```\n\n### Test rendering (development only)\n\n```typescript\nhamla.showNotification({\n  type: 'toast', // or 'banner', 'popup'\n  message: { type: 'simple', text: 'Test notification' },\n  position: 'bottom-right',\n  dismissAfter: 5000,\n});\n```\n\n### Listen to SDK events\n\n```typescript\nhamla.on('notification:shown',     (e) => console.log('shown', e));\nhamla.on('notification:dismissed', (e) => console.log('dismissed after', e.durationShown));\nhamla.on('cta:clicked',            (e) => console.log('cta clicked', e.ctaLabel));\nhamla.on('conversion:tracked',     (e) => console.log('conversion', e.value));\n```\n\n---\n\n## 🔑 Trigger keys\n\nThe SDK and server agree on one canonical key format.\n\n| Trigger | Key | Example |\n|---------|-----|---------|\n| exit_intent | `exit_intent` | `exit_intent` |\n| time_on_page | `time_on_page:{seconds}` | `time_on_page:5` |\n| scroll_depth | `scroll_depth:{percent}` | `scroll_depth:75` |\n| idle | `idle:{seconds}` | `idle:10` |\n| click | `click:{encodedSelector}` | `click:%23buy-btn` |\n| view_product | `view_product` | `view_product` |\n| add_to_cart | `add_to_cart` | `add_to_cart` |\n| cart_abandoned | `cart_abandoned:{seconds}` | `cart_abandoned:300` |\n\n---\n\n## ⚡ Performance\n\n| Metric | Target |\n|--------|--------|\n| Loader bundle (gzipped) | ~15-18 KB |\n| Render chunk (gzipped) | ~20-25 KB (lazy) |\n| Decision time at trigger | < 5 ms (pure lookup) |\n| Layout shift (CLS) | 0 |\n| Render isolation | Shadow DOM |\n\n---\n\n## 🌍 Browser support\n\n- Chrome / Edge: last 2 versions\n- Firefox: last 2 versions\n- Safari: 14+\n- Mobile Safari: iOS 14+\n- Android WebView: Android 8+\n\n---\n\n## 🔒 Privacy & security\n\n- First-party storage only — no third-party cookies\n- All API calls over HTTPS\n- Content rendered through Shadow DOM with sanitization\n- Compatible with strict CSP\n- **Consent / privacy is not the SDK's job** — merchant CMPs block the script at load time; off-site consent is enforced server-side per contact\n\n---\n\n## 📚 Algorithm references\n\nFor the math behind orchestration, attribution, and analytics, see [`./docs/algorithms/`](./docs/algorithms/).\n\n---\n\n## 🤝 Contributing\n\nSee [CONTRIBUTING.md](./CONTRIBUTING.md). Before changing SDK behavior, re-read [`CLAUDE.md`](./CLAUDE.md) — there's a hard list of \"never add this to the client\" rules that have already cost us thousands of lines of deleted code (orchestration engine, message selector, variable resolver, consent manager).\n\n## 📄 License\n\nMIT — see [LICENSE](./LICENSE).\n","readmeFilename":"README.md"}