{"_id":"@appss/sdk-browser","_rev":"11-d14dfa4986ec2b34ecada909d20c2cd8","name":"@appss/sdk-browser","dist-tags":{"latest":"0.4.11"},"versions":{"0.1.0":{"name":"@appss/sdk-browser","version":"0.1.0","keywords":["analytics","sdk","tracking","telegram","tma","browser"],"license":"MIT","_id":"@appss/sdk-browser@0.1.0","maintainers":[{"name":"mzhers","email":"m.zhers@engagelabs.org"},{"name":"vapoltavecs_engagelabs","email":"vapoltavecs@gmail.com"}],"dist":{"shasum":"4d3a683b14ef5f1d8494b58eb68ef10d87adced2","tarball":"https://registry.npmjs.org/@appss/sdk-browser/-/sdk-browser-0.1.0.tgz","fileCount":8,"integrity":"sha512-o26sWfQUPT0lP32T9j+tprosv3j+eP2Ctam6cJvc/NWgEbra9dIM8Tnft4ztq7j3gj84W+RtuWODZcTcmC7BnQ==","signatures":[{"sig":"MEUCICm+gzJkV2Wng9TCl5h09+iN/u0UXstklcVoLMtBXYW3AiEArINr4b1DqTUyt0484g7URBNEFkpyEzwoxaaWBkN5nRE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":74352},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"265214bbb1ebf9446c23f0b9fc77a0e17073e9af","scripts":{"lint":"eslint src","test":"vitest run","build":"tsup","clean":"rm -rf dist .turbo coverage","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"vapoltavecs_engagelabs","email":"vapoltavecs@gmail.com"},"_npmVersion":"10.8.2","description":"APPSS analytics SDK for browser and Telegram Mini Apps","directories":{},"_nodeVersion":"20.19.4","dependencies":{"@appss/sdk-core":"0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/sdk-browser_0.1.0_1777009611409_0.6537095894276739","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@appss/sdk-browser","version":"0.2.0","keywords":["analytics","sdk","tracking","telegram","tma","browser"],"license":"MIT","_id":"@appss/sdk-browser@0.2.0","maintainers":[{"name":"mzhers","email":"m.zhers@engagelabs.org"},{"name":"vapoltavecs_engagelabs","email":"vapoltavecs@gmail.com"}],"dist":{"shasum":"8da364bc7971f96a0a1a4cd1eca7778bcf9454b8","tarball":"https://registry.npmjs.org/@appss/sdk-browser/-/sdk-browser-0.2.0.tgz","fileCount":8,"integrity":"sha512-7lFlAYVfC4rOU1p7dy3avt9ta56lEqeFetaMjf3vuu2cod7rzjKjMbIlS1ZTZ5sEZvOwdd0e8F42CmP/lbzx7g==","signatures":[{"sig":"MEUCIE9zx5ssuQ6fbAeFZHaK+KCaQtPkcM3FYenaDYac+14tAiEA6fYT5EywHm5srAy+kv03WPF9lck/RR4LVg8qlLH8Ck4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":82012},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"265214bbb1ebf9446c23f0b9fc77a0e17073e9af","scripts":{"lint":"eslint src","test":"vitest run","build":"tsup","clean":"rm -rf dist .turbo coverage","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"vapoltavecs_engagelabs","email":"vapoltavecs@gmail.com"},"_npmVersion":"10.8.2","description":"APPSS analytics SDK for browser and Telegram Mini Apps","directories":{},"_nodeVersion":"20.19.4","dependencies":{"@appss/sdk-core":"0.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/sdk-browser_0.2.0_1777033751906_0.42605709827959926","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@appss/sdk-browser","version":"0.3.0","keywords":["analytics","sdk","tracking","telegram","tma","browser"],"license":"MIT","_id":"@appss/sdk-browser@0.3.0","maintainers":[{"name":"mzhers","email":"m.zhers@engagelabs.org"},{"name":"vapoltavecs_engagelabs","email":"vapoltavecs@gmail.com"}],"dist":{"shasum":"4337c15306e2efca947474a0b31b0af5e904e1b4","tarball":"https://registry.npmjs.org/@appss/sdk-browser/-/sdk-browser-0.3.0.tgz","fileCount":8,"integrity":"sha512-WXcQtN/LigQkwtvBNgEbmS2klFOUtfs89JZAQu9FVRQYD4rM7hn1rPtRS94JXKdtLskvubDdGp2Icg9EaYD7dw==","signatures":[{"sig":"MEYCIQDMyg1G3kpM56Y2X1wrxuJwbiYNoAYczGZFFRJUW83s6wIhALzvJcXyVIJAFygkTR2/znK0YhR5cHe8sZHtB8PyVfXc","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":82012},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"34eb58f4722bd5accb79c1a71fcd81cfae1f5ac7","scripts":{"lint":"eslint src","test":"vitest run","build":"tsup","clean":"rm -rf dist .turbo coverage","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"vapoltavecs_engagelabs","email":"vapoltavecs@gmail.com"},"_npmVersion":"10.8.2","description":"APPSS analytics SDK for browser and Telegram Mini Apps","directories":{},"_nodeVersion":"20.19.4","dependencies":{"@appss/sdk-core":"0.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/sdk-browser_0.3.0_1777288404053_0.6284906586036147","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@appss/sdk-browser","version":"0.4.0","keywords":["analytics","sdk","tracking","telegram","tma","browser"],"license":"Apache-2.0","_id":"@appss/sdk-browser@0.4.0","maintainers":[{"name":"mzhers","email":"m.zhers@engagelabs.org"},{"name":"vapoltavecs_engagelabs","email":"vapoltavecs@gmail.com"}],"homepage":"https://github.com/engagementlabs/appss-sdk-js#readme","bugs":{"url":"https://github.com/engagementlabs/appss-sdk-js/issues"},"dist":{"shasum":"0ea7202ad3c781d45ddd9c7fb9c222d879490767","tarball":"https://registry.npmjs.org/@appss/sdk-browser/-/sdk-browser-0.4.0.tgz","fileCount":8,"integrity":"sha512-h+VF/Uv+8HfkDsdVGU8RDxxD6+kc/75fv79M/BMcBOdnO5+8+K5btTzkBkmATkhxcakrv0J0N0BhpyuKimsDtw==","signatures":[{"sig":"MEYCIQCXVhPHpwws5bMjV+XH3Zt3lii6EQF7sFGZA9WY+/SzxAIhANY0d77i66SSQfSBKDlGEs7WH5Q0S2TPmG+HZbmZRdZH","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":82158},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"38ef9baeb6d921b588e71d43dbe45f2460f49fb8","scripts":{"lint":"eslint src","test":"vitest run","build":"tsup","clean":"rm -rf dist .turbo coverage","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"vapoltavecs_engagelabs","email":"vapoltavecs@gmail.com"},"repository":{"url":"git+https://github.com/engagementlabs/appss-sdk-js.git","type":"git","directory":"packages/browser"},"_npmVersion":"10.8.2","description":"APPSS analytics SDK for browser and Telegram Mini Apps","directories":{},"_nodeVersion":"20.19.4","dependencies":{"@appss/sdk-core":"0.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/sdk-browser_0.4.0_1777357226176_0.7021680321555215","host":"s3://npm-registry-packages-npm-production"}},"0.4.1":{"name":"@appss/sdk-browser","version":"0.4.1","keywords":["analytics","sdk","tracking","telegram","tma","browser"],"license":"Apache-2.0","_id":"@appss/sdk-browser@0.4.1","maintainers":[{"name":"mzhers","email":"m.zhers@engagelabs.org"},{"name":"vapoltavecs_engagelabs","email":"vapoltavecs@gmail.com"}],"homepage":"https://github.com/engagementlabs/appss-sdk-js#readme","bugs":{"url":"https://github.com/engagementlabs/appss-sdk-js/issues"},"dist":{"shasum":"79f6443337671eeb687662a2970ccd5aa1256b88","tarball":"https://registry.npmjs.org/@appss/sdk-browser/-/sdk-browser-0.4.1.tgz","fileCount":8,"integrity":"sha512-taLLNEzYWGn8GZdIaYRNiC2nfpbWXoeWB3UD/Dk721ygCTC69pcHanygGt4OCGX/JIrYS0ZWHyD6JgJWB8gyKA==","signatures":[{"sig":"MEUCICdZ/2NfmtHQIH7qGno6fxVq7mGggeXlyv9V3ekyl4xNAiEAzaDnmYjqIP6MVVmpcZZl+FhO9N21M9q1jaHqLSOCXbE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":82158},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"38ef9baeb6d921b588e71d43dbe45f2460f49fb8","scripts":{"lint":"eslint src","test":"vitest run","build":"tsup","clean":"rm -rf dist .turbo coverage","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"vapoltavecs_engagelabs","email":"vapoltavecs@gmail.com"},"repository":{"url":"git+https://github.com/engagementlabs/appss-sdk-js.git","type":"git","directory":"packages/browser"},"_npmVersion":"10.8.2","description":"APPSS analytics SDK for browser and Telegram Mini Apps","directories":{},"_nodeVersion":"20.19.4","dependencies":{"@appss/sdk-core":"0.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/sdk-browser_0.4.1_1777362200556_0.8957337196440092","host":"s3://npm-registry-packages-npm-production"}},"0.4.6":{"name":"@appss/sdk-browser","version":"0.4.6","keywords":["analytics","sdk","tracking","telegram","tma","browser"],"license":"Apache-2.0","_id":"@appss/sdk-browser@0.4.6","maintainers":[{"name":"mzhers","email":"m.zhers@engagelabs.org"},{"name":"vapoltavecs_engagelabs","email":"vapoltavecs@gmail.com"}],"homepage":"https://github.com/engagementlabs/appss-sdk-js#readme","bugs":{"url":"https://github.com/engagementlabs/appss-sdk-js/issues"},"dist":{"shasum":"aeaedf33b155dbc3bc09566800f22417bf4869dc","tarball":"https://registry.npmjs.org/@appss/sdk-browser/-/sdk-browser-0.4.6.tgz","fileCount":8,"integrity":"sha512-3iLhiBw+1R8R/UgqN1U8MxTJrLfplbzPdaSsdU9qHudZfNG7ytqvZH3b4XmfJcTTcdlX7i2KHVG4PS33rkyEoQ==","signatures":[{"sig":"MEQCIADVCB26aK+B5gENkmkN12gQOlAkQDfhMvf9WHMtEv3xAiAJ/8dxty9gdfwsjo2CjSJ/YF/amHIaan+SZOKBjWbO5A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@appss%2fsdk-browser@0.4.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":84128},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"70ccb34d720bc93787104fbd958dd02654fa5bbf","scripts":{"lint":"eslint src","test":"vitest run","build":"tsup","clean":"rm -rf dist .turbo coverage","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2168b560-d1d9-4df4-b6e1-9674a3c6dee1"}},"repository":{"url":"git+https://github.com/engagementlabs/appss-sdk-js.git","type":"git","directory":"packages/browser"},"_npmVersion":"11.13.0","description":"APPSS analytics SDK for browser and Telegram Mini Apps","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@appss/sdk-core":"0.4.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/sdk-browser_0.4.6_1777374825468_0.3363599839611373","host":"s3://npm-registry-packages-npm-production"}},"0.4.7":{"name":"@appss/sdk-browser","version":"0.4.7","keywords":["analytics","sdk","tracking","telegram","tma","browser"],"license":"Apache-2.0","_id":"@appss/sdk-browser@0.4.7","maintainers":[{"name":"mzhers","email":"m.zhers@engagelabs.org"},{"name":"vapoltavecs_engagelabs","email":"vapoltavecs@gmail.com"}],"homepage":"https://github.com/engagementlabs/appss-sdk-js#readme","bugs":{"url":"https://github.com/engagementlabs/appss-sdk-js/issues"},"dist":{"shasum":"602633a2475d0e8c7a298b483e206b8c7d3cfcdb","tarball":"https://registry.npmjs.org/@appss/sdk-browser/-/sdk-browser-0.4.7.tgz","fileCount":8,"integrity":"sha512-8fA6T3hArYreIBBKXDMnzgOum5cvpdIRgTAg5CjDlG5SJa+jIqvaP/I8mg61/dM0F0a5cp5Unru1teWSOJ0k2g==","signatures":[{"sig":"MEUCIQCQSUGiQYvS7tM/onrAc7IS3LRDyvx5w54Qd3BNR8fdrAIgatqLUX5OQfsR3utlwf3sY/vtb/8+1X/PwORntHLNatk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@appss%2fsdk-browser@0.4.7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":84128},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"246eb8c2263bd3464444361713cdbc25f45edb25","scripts":{"lint":"eslint src","test":"vitest run","build":"tsup","clean":"rm -rf dist .turbo coverage","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2168b560-d1d9-4df4-b6e1-9674a3c6dee1"}},"repository":{"url":"git+https://github.com/engagementlabs/appss-sdk-js.git","type":"git","directory":"packages/browser"},"_npmVersion":"11.13.0","description":"APPSS analytics SDK for browser and Telegram Mini Apps","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@appss/sdk-core":"0.4.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/sdk-browser_0.4.7_1777385074771_0.816917943896575","host":"s3://npm-registry-packages-npm-production"}},"0.4.8":{"name":"@appss/sdk-browser","version":"0.4.8","keywords":["analytics","sdk","tracking","telegram","tma","browser"],"license":"Apache-2.0","_id":"@appss/sdk-browser@0.4.8","maintainers":[{"name":"mzhers","email":"m.zhers@engagelabs.org"},{"name":"vapoltavecs_engagelabs","email":"vapoltavecs@gmail.com"}],"homepage":"https://github.com/engagementlabs/appss-sdk-js#readme","bugs":{"url":"https://github.com/engagementlabs/appss-sdk-js/issues"},"dist":{"shasum":"1668d8106bbdd29186a1694e6f25c5b9c32b8400","tarball":"https://registry.npmjs.org/@appss/sdk-browser/-/sdk-browser-0.4.8.tgz","fileCount":8,"integrity":"sha512-B0QBGx68VCR5t2Dy3fDIoV2eV2VnEuGBf+D5YFW5fSGp1nPItl9vUrOjQmTNAfWcud5nHgZVOuR5Vs2Vy8r2Vg==","signatures":[{"sig":"MEQCICjcMeTbffrHoetyZ/iEEU6mHX6snXhn97wTOg0Q+B7+AiAK3o+4NoaHSwXpKYAUze699GckSPkKmDZm+JydLtjGjg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@appss%2fsdk-browser@0.4.8","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":84858},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"a47099347ca151b16c33449941e5b13aeab97ef0","scripts":{"lint":"eslint src","test":"vitest run","build":"tsup","clean":"rm -rf dist .turbo coverage","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2168b560-d1d9-4df4-b6e1-9674a3c6dee1"}},"repository":{"url":"git+https://github.com/engagementlabs/appss-sdk-js.git","type":"git","directory":"packages/browser"},"_npmVersion":"11.13.0","description":"APPSS analytics SDK for browser and Telegram Mini Apps","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@appss/sdk-core":"0.4.7"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/sdk-browser_0.4.8_1777658511147_0.18341599567322775","host":"s3://npm-registry-packages-npm-production"}},"0.4.9":{"name":"@appss/sdk-browser","version":"0.4.9","keywords":["analytics","sdk","tracking","telegram","tma","browser"],"license":"Apache-2.0","_id":"@appss/sdk-browser@0.4.9","maintainers":[{"name":"mzhers","email":"m.zhers@engagelabs.org"},{"name":"vapoltavecs_engagelabs","email":"vapoltavecs@gmail.com"}],"homepage":"https://github.com/engagementlabs/appss-sdk-js#readme","bugs":{"url":"https://github.com/engagementlabs/appss-sdk-js/issues"},"dist":{"shasum":"1d818f8df1e30ac1d7dea750b1560186534c43e0","tarball":"https://registry.npmjs.org/@appss/sdk-browser/-/sdk-browser-0.4.9.tgz","fileCount":8,"integrity":"sha512-OWWfqZL4TcTP7OE9Dttpxx5kRa4f2n9bCiYZhAwul13NxHp04GaEOlCEvcaZh/mcbxaYjjDiOrPQdet/rNaMOg==","signatures":[{"sig":"MEUCIQCFGZZp/cSdGFdyNZpbwem08/MySgidkdD8+lpBSCXKWQIgS8IcujKzraxcjXYufWTTyuu8ZI8jus5ShHRQQ4YXCnw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@appss%2fsdk-browser@0.4.9","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":84858},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"3eacac5d3939b396c289335c2348dba9885d7e48","scripts":{"lint":"eslint src","test":"vitest run","build":"tsup","clean":"rm -rf dist .turbo coverage","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2168b560-d1d9-4df4-b6e1-9674a3c6dee1"}},"repository":{"url":"git+https://github.com/engagementlabs/appss-sdk-js.git","type":"git","directory":"packages/browser"},"_npmVersion":"11.18.0","description":"APPSS analytics SDK for browser and Telegram Mini Apps","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@appss/sdk-core":"0.4.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/sdk-browser_0.4.9_1783506391968_0.20988773139975936","host":"s3://npm-registry-packages-npm-production"}},"0.4.10":{"name":"@appss/sdk-browser","version":"0.4.10","keywords":["analytics","sdk","tracking","telegram","tma","browser"],"license":"Apache-2.0","_id":"@appss/sdk-browser@0.4.10","maintainers":[{"name":"mzhers","email":"m.zhers@engagelabs.org"},{"name":"vapoltavecs_engagelabs","email":"vapoltavecs@gmail.com"}],"homepage":"https://github.com/engagementlabs/appss-sdk-js#readme","bugs":{"url":"https://github.com/engagementlabs/appss-sdk-js/issues"},"dist":{"shasum":"e0a7c37454dd7bf17878747afb02d1b7bba379ea","tarball":"https://registry.npmjs.org/@appss/sdk-browser/-/sdk-browser-0.4.10.tgz","fileCount":8,"integrity":"sha512-ZkgUIQ1dHSZOTdXV5Ciu6F+nf/jtLZuAjkM2WZ4N0ABuqCU1dXPbwm8PqsJb6cHIrL3ZTJLmt7KZ00gW3mFsog==","signatures":[{"sig":"MEUCIBrPfn9q1PqDnw2UCy+xoCxFmPHe2k1Zn9XUShvddkOuAiEAv7nuAzbhJOIvtpjjqbJreaT1QvpuXphpeMXDZBiS9Ug=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@appss%2fsdk-browser@0.4.10","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":126511},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"5e131f2e0dbcf60ab57e8f7962f1682ba6143414","scripts":{"lint":"eslint src","test":"vitest run","build":"tsup","clean":"rm -rf dist .turbo coverage","typecheck":"tsc --noEmit","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2168b560-d1d9-4df4-b6e1-9674a3c6dee1"}},"repository":{"url":"git+https://github.com/engagementlabs/appss-sdk-js.git","type":"git","directory":"packages/browser"},"_npmVersion":"12.0.2","description":"APPSS analytics SDK for browser and Telegram Mini Apps","directories":{},"_nodeVersion":"24.19.0","dependencies":{"@appss/sdk-core":"0.4.9"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/sdk-browser_0.4.10_1786714982276_0.09275105868551359","host":"s3://npm-registry-packages-npm-production"}},"0.4.11":{"name":"@appss/sdk-browser","version":"0.4.11","description":"APPSS analytics SDK for browser and Telegram Mini Apps","keywords":["analytics","sdk","tracking","telegram","tma","browser"],"type":"module","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/engagementlabs/appss-sdk-js.git","directory":"packages/browser"},"publishConfig":{"access":"public"},"main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"scripts":{"build":"tsup","test":"vitest run","test:watch":"vitest","test:coverage":"vitest run --coverage","lint":"eslint src","typecheck":"tsc --noEmit","clean":"rm -rf dist .turbo coverage"},"dependencies":{"@appss/sdk-core":"0.4.10"},"gitHead":"bc85686d48fb6e499cc34cc677440ce04eb0addf","_id":"@appss/sdk-browser@0.4.11","bugs":{"url":"https://github.com/engagementlabs/appss-sdk-js/issues"},"homepage":"https://github.com/engagementlabs/appss-sdk-js#readme","_nodeVersion":"24.19.0","_npmVersion":"12.0.2","dist":{"integrity":"sha512-ilLE6QuSbsWDdFBa+gFVm6j6T6Lt0WHCvFZ2vLlUUoAfFwrrs1/RvUICQZfoS+kvUg69nmunuok8Wrc6C5oq0w==","shasum":"ac1448ef9763d1019c3ca7cff810247f020d84e0","tarball":"https://registry.npmjs.org/@appss/sdk-browser/-/sdk-browser-0.4.11.tgz","fileCount":8,"unpackedSize":129103,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@appss%2fsdk-browser@0.4.11","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIFjMGyzK5PeAy6JjUj9QAAF3ifMz4RUEbhqVggs0351KAiB+yj55J+D4Z0eOQtHigclJ/Bd55l40jRrWt7eHNee4eA=="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2168b560-d1d9-4df4-b6e1-9674a3c6dee1"}},"directories":{},"maintainers":[{"name":"mzhers","email":"m.zhers@engagelabs.org"},{"name":"vapoltavecs_engagelabs","email":"vapoltavecs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sdk-browser_0.4.11_1786723980721_0.34974477725125386"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-24T05:46:51.312Z","modified":"2026-08-14T16:13:01.276Z","0.1.0":"2026-04-24T05:46:51.545Z","0.2.0":"2026-04-24T12:29:12.057Z","0.3.0":"2026-04-27T11:13:24.241Z","0.4.0":"2026-04-28T06:20:26.309Z","0.4.1":"2026-04-28T07:43:20.686Z","0.4.6":"2026-04-28T11:13:45.607Z","0.4.7":"2026-04-28T14:04:35.008Z","0.4.8":"2026-05-01T18:01:51.408Z","0.4.9":"2026-07-08T10:26:32.145Z","0.4.10":"2026-08-14T13:43:02.428Z","0.4.11":"2026-08-14T16:13:00.883Z"},"bugs":{"url":"https://github.com/engagementlabs/appss-sdk-js/issues"},"license":"Apache-2.0","homepage":"https://github.com/engagementlabs/appss-sdk-js#readme","keywords":["analytics","sdk","tracking","telegram","tma","browser"],"repository":{"type":"git","url":"git+https://github.com/engagementlabs/appss-sdk-js.git","directory":"packages/browser"},"description":"APPSS analytics SDK for browser and Telegram Mini Apps","maintainers":[{"name":"mzhers","email":"m.zhers@engagelabs.org"},{"name":"vapoltavecs_engagelabs","email":"vapoltavecs@gmail.com"}],"readme":"# @appss/sdk-browser\n\nBrowser SDK for APPSS analytics. Works in any browser environment, with built-in support for Telegram Mini Apps.\n\n## Installation\n\n```bash\nnpm install @appss/sdk-browser\n```\n\n## Quick start\n\n```ts\nimport { init, track } from '@appss/sdk-browser';\n\ninit({ apiKey: 'your-api-key' });\n\ntrack('page_view', { page: '/home' });\n```\n\nThe SDK automatically identifies the user (Telegram user ID in TMA, or a persistent anonymous ID otherwise), collects the properties of the environment, queues events, and sends them in batches. Once `identify()` is called, the account ID is remembered across page loads until `reset()`.\n\n## Getting your API key\n\n1. Open Creator Hub at [appss.pro](https://appss.pro)\n2. Go to your app's detail page\n3. Navigate to the **Developer** tab\n4. Copy the API key\n\n## API\n\n### `init(config)`\n\nInitializes the SDK. Call once at app startup.\n\n```ts\ninit({\n  apiKey: 'your-api-key',\n  endpoint: 'https://your-ingest-server.com', // optional, has default\n  debug: true,                                 // optional, logs to console\n  batchSize: 50,                               // optional, events per batch\n  flushInterval: 10000,                        // optional, ms between auto-flushes\n  retry: {                                     // optional\n    maxRetries: 5,\n    baseBackoffMs: 1000,\n    maxBackoffMs: 16000,\n  },\n  onError: (error) => {                        // optional\n    console.error(error.code, error.message);\n  },\n});\n```\n\n### `track(event, properties?)`\n\nSends a custom event.\n\n```ts\ntrack('purchase', { amount: 9.99, currency: 'USD' });\ntrack('button_click', { button_id: 'cta-hero' });\ntrack('level_complete');\n```\n\n### `identify(distinctId)`\n\nOverrides the auto-detected user ID. Pass the same account ID your product sends to other analytics systems — otherwise the data cannot be cross-checked.\n\n```ts\nidentify('user-42');\n```\n\nCalling it is optional: until then the SDK uses the ID of the platform it runs on (the Telegram user ID inside TMA) or a random persistent ID stored in localStorage.\n\nWhenever `identify()` changes the current ID, the SDK sends one `$identify` event: its `distinct_id` is the new ID and the `$anon_distinct_id` property holds the ID used before — the server links the two into one person. The following events carry the new ID only. Calling `identify()` with the ID already in use sends nothing.\n\nThe account ID is remembered in localStorage, so the user stays identified across page loads and the link is not sent again. `reset()` drops it and goes back to the anonymous ID (or the Telegram ID inside TMA), so the next login links the freshly issued anonymous ID — one account can collect several anonymous IDs this way. Inside TMA the starting ID is the Telegram user ID, and `identify()` links it to the account in the same way.\n\n### `reset()`\n\nForgets the current user. Outside TMA a fresh anonymous ID is issued, the stored account ID is dropped and the collected super properties are cleared, so events of the next user in the same browser are not glued to the previous one. Call it on logout.\n\n```ts\nreset();\ntrack('page_viewed'); // sent under a new anonymous ID\n```\n\nInside TMA the distinct ID goes back to the Telegram user ID.\n\n### `setUserProperty(key, value)` / `setUserProperties(props)`\n\nSets user properties. Each call sends an immediate request to the server.\n\n```ts\nsetUserProperty('plan', 'pro');\n\nsetUserProperties({\n  company: 'Acme',\n  role: 'developer',\n  signup_date: '2024-01-15',\n});\n```\n\n### `setSuperProperties(props)` / `resetSuperProperties()`\n\nSets properties attached to every event the SDK sends afterwards — app version, tenant, plan, anything constant for the session.\n\n```ts\nsetSuperProperties({ app_version: '1.2.3', plan: 'free' });\n\ntrack('page_viewed');            // { app_version: '1.2.3', plan: 'free', ... }\ntrack('upgraded', { plan: 'pro' }); // properties of the call win: plan is 'pro'\n```\n\nThey live in memory only, so set them after every `init()` — a page reload starts with an empty set. `reset()` clears them together with the identity.\n\n### `flush()`\n\nForces immediate delivery of queued events. Normally not needed — the SDK flushes automatically by timer and on page hide.\n\n```ts\nawait flush();\n```\n\n### `optOut()` / `optIn()` / `isOptedOut()`\n\nGDPR consent controls. When opted out, all `track()` calls are silently dropped. Events already in the queue remain there but are not sent until the user opts back in.\n\n```ts\noptOut();\ntrack('ignored');      // silently dropped\noptIn();               // resumes tracking\nconsole.log(isOptedOut()); // false\n```\n\n### `destroy()`\n\nFlushes remaining data and tears down the SDK. After calling `destroy()`, all other methods will throw until `init()` is called again.\n\n```ts\nawait destroy();\n```\n\n## Platforms\n\nThe SDK detects the environment it runs in and asks it for three things: the ID of the current user, the user properties to send once at `init()`, and the properties to attach to every event.\n\n| | Telegram Mini App | Web page |\n|---|---|---|\n| Detected by | `window.Telegram.WebApp.initDataUnsafe.user` | fallback, always available |\n| User ID | Telegram user ID | random persistent anonymous ID |\n| User properties | the TMA table below | none |\n| Event properties | none | the web table below |\n\n## Auto-collected properties (TMA)\n\nWhen running inside a Telegram Mini App, the SDK sends the following user properties from `window.Telegram.WebApp` once at `init()`:\n\n| Property | Source |\n|----------|--------|\n| `first_name` | `initDataUnsafe.user.first_name` |\n| `last_name` | `initDataUnsafe.user.last_name` |\n| `username` | `initDataUnsafe.user.username` |\n| `language_code` | `initDataUnsafe.user.language_code` |\n| `is_premium` | `initDataUnsafe.user.is_premium` |\n| `platform` | `Telegram.WebApp.platform` |\n| `tg_webapp_version` | `Telegram.WebApp.version` |\n| `color_scheme` | `Telegram.WebApp.colorScheme` |\n| `$start_param` | `initDataUnsafe.start_param` |\n\n## Auto-collected properties (web)\n\nWhen `window.Telegram.WebApp` is not available, the SDK collects the following properties and attaches them to **every** event:\n\n| Property | Source |\n|----------|--------|\n| `$current_url` | `location.href` |\n| `$pathname` | `location.pathname` |\n| `$referrer` | `document.referrer`, `$direct` when empty |\n| `$referring_domain` | hostname of `document.referrer`, `$direct` when empty |\n| `utm_source`, `utm_medium`, `utm_campaign`, `utm_term`, `utm_content` | URL query, remembered in sessionStorage for the whole session |\n| `$screen_width`, `$screen_height` | `screen.width` / `screen.height` |\n| `$viewport_width`, `$viewport_height` | `innerWidth` / `innerHeight` |\n| `$device_type` | `Mobile` / `Tablet` / `Desktop`, from `navigator.userAgent` |\n| `$browser_language` | `navigator.language` |\n| `$timezone` | `Intl.DateTimeFormat().resolvedOptions().timeZone` |\n\nEverything except the campaign tags is collected anew for each event, so page and viewport changes are reflected. Campaign tags are read from the URL and remembered for the session — an event that happens after the user navigates away from the landing URL still carries the attribution. Properties passed to `track()` win over the collected ones.\n\nInside TMA these properties are **not** collected: the set of Telegram properties above is the only thing the SDK adds.\n\n## Storage\n\n| Key | Storage | Contents | Cleared by |\n|-----|---------|----------|------------|\n| `__appss_anonymous_id` | localStorage | anonymous ID | `reset()` |\n| `__appss_distinct_id` | localStorage | account ID passed to `identify()` | `reset()` |\n| `__appss_campaign` | sessionStorage | campaign tags of the session | closing the tab |\n| `__appss_consent_opted_out` | localStorage | opt-out flag | `optIn()` |\n| `__appss_queue` | localStorage | events waiting to be sent | successful delivery |\n\nIf storage is unavailable (private mode, blocked third-party cookies in an iframe), the SDK keeps working with in-memory values and reports the failure through the logger in `debug` mode. In that case the anonymous ID is regenerated on every page load.\n\n## Offline queue & persistence\n\n- Events are stored in a **localStorage-backed queue** that survives page reloads and browser restarts.\n- The queue is flushed by timer (default 10 seconds) or when it reaches `batchSize`.\n- On `visibilitychange: hidden` or `pagehide`, remaining events are sent via `navigator.sendBeacon` for reliable delivery during page unload. Payloads exceeding the ~64KB sendBeacon limit are automatically split into smaller batches.\n- Queue size is capped at ~4MB. On overflow, the oldest events are dropped and `onError` is called with a `QueueOverflowError`.\n- Duplicate delivery is safe — the server deduplicates by `$insert_id` (a UUID generated per event).\n\n## Error handling\n\nAll errors are routed through the `onError` callback if provided. In `debug: true` mode, lifecycle errors (`NotInitializedError`, `NotIdentifiedError`) are thrown as exceptions instead of being silently logged — this helps catch integration mistakes during development.\n\n```ts\nimport { AppssError, ErrorCode } from '@appss/sdk-browser';\n\ninit({\n  apiKey: 'key',\n  debug: true,\n  onError: (error: AppssError) => {\n    switch (error.code) {\n      case ErrorCode.API_KEY_REVOKED:\n        // API key was revoked, SDK stops sending\n        break;\n      case ErrorCode.NETWORK_ERROR:\n        // transient network issue, SDK will retry\n        break;\n      case ErrorCode.QUEUE_OVERFLOW:\n        // localStorage full, oldest events dropped\n        break;\n    }\n  },\n});\n```\n\n## Bundle size\n\nThe SDK targets **< 10 KB min+gzip** with **zero runtime dependencies**. The only dependency is `@appss/sdk-core`, which is a shared internal module.\n\n## What this SDK does NOT do\n\n- **No session tracking.** The SDK does not track sessions, session duration, or session IDs. Campaign tags are the only thing scoped to the browser session.\n- **No feature flags.** This is a pure analytics SDK.\n- **No client-side identity resolution.** The SDK reports the two IDs in a `$identify` event and leaves the merging to the server; it never rewrites already sent events.\n- **No fingerprinting.** The SDK does not collect device fingerprints, IP-based geolocation, or any PII beyond what is explicitly passed by the developer or available from the Telegram WebApp API.\n- **No automatic page view tracking.** The developer decides which events to track.\n- **No A/B testing or experimentation.**\n\n## License\n\nMIT\n","readmeFilename":"README.md"}