{"_id":"@affiliateo/elements-react-native","_rev":"12-c9d4997fa828002b44f97287d59d1391","name":"@affiliateo/elements-react-native","dist-tags":{"latest":"1.2.1"},"versions":{"0.1.0":{"name":"@affiliateo/elements-react-native","version":"0.1.0","keywords":["affiliateo","affiliate","elements","embedded","react-native","payouts","referral"],"license":"MIT","_id":"@affiliateo/elements-react-native@0.1.0","maintainers":[{"name":"nicograjales","email":"Grajalesn17@gmail.com"}],"homepage":"https://affiliateo.com/docs/elements","bugs":{"url":"https://github.com/affiliateo/affiliateo/issues"},"dist":{"shasum":"c2a348a7148fad23a191daabd972e4062128078a","tarball":"https://registry.npmjs.org/@affiliateo/elements-react-native/-/elements-react-native-0.1.0.tgz","fileCount":4,"integrity":"sha512-TnoVv7i8WgzFhizy/8vdLHEQhyicXaRoECZPI1HXdEimT9UZROt6PGrf3zsr/KAKY3KLiDcS+W7j583NLz3qGw==","signatures":[{"sig":"MEUCIDsSVJS5g3sKOJgTPZkkaUIlG2dMEWPczhGS0q1tznxfAiEAxWgve/74A7ZnbsbLMKA40Dkx8UbNpXhH/PMOz5kksyQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8066},"main":"src/index.ts","types":"src/index.ts","scripts":{"typecheck":"tsc --noEmit"},"_npmUser":{"name":"nicograjales","email":"Grajalesn17@gmail.com"},"repository":{"url":"git+https://github.com/affiliateo/affiliateo.git","type":"git","directory":"packages/elements-react-native"},"_npmVersion":"10.9.2","description":"React Native components for embedding Affiliateo Elements — referral link, balance, payouts and identity — in your mobile app.","directories":{},"_nodeVersion":"22.17.0","_hasShrinkwrap":false,"peerDependencies":{"react":">=18.0.0","react-native":">=0.70.0","react-native-webview":">=13.0.0"},"_npmOperationalInternal":{"tmp":"tmp/elements-react-native_0.1.0_1784513571452_0.35438699844752386","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@affiliateo/elements-react-native","version":"0.2.0","keywords":["affiliateo","affiliate","elements","embedded","react-native","payouts","referral"],"license":"MIT","_id":"@affiliateo/elements-react-native@0.2.0","maintainers":[{"name":"nicograjales","email":"Grajalesn17@gmail.com"}],"homepage":"https://affiliateo.com/docs/elements","bugs":{"url":"https://github.com/affiliateo/affiliateo/issues"},"dist":{"shasum":"03ef8fee58e0c8244c6b4231fb9c4644da01bbaf","tarball":"https://registry.npmjs.org/@affiliateo/elements-react-native/-/elements-react-native-0.2.0.tgz","fileCount":4,"integrity":"sha512-CBSmCIH3gEKaG2O99bhOvLc+m7KuJqhceTwnNb+9PpKawb18ncThaZcYG1Q8XxDw2ZfMJXdVP2Ju1TJcwvA5Gg==","signatures":[{"sig":"MEUCICg//tEE0DBKKQZ0kI+njjPMhVl3i1fjz5Sqi/plMVP4AiEAsccXA64O2I6G6QGTEmsJhx8lg/6OIR9JcF23uDXBJCE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18634},"main":"src/index.ts","types":"src/index.ts","gitHead":"8b1f5878f75b2dec0f4445a43306623fa94139a3","scripts":{"typecheck":"tsc --noEmit"},"_npmUser":{"name":"nicograjales","email":"Grajalesn17@gmail.com"},"repository":{"url":"git+https://github.com/affiliateo/affiliateo.git","type":"git","directory":"packages/elements-react-native"},"_npmVersion":"11.8.0","description":"React Native components for embedding Affiliateo Elements — referral link, balance, payouts and identity — in your mobile app.","directories":{},"_nodeVersion":"24.8.0","_hasShrinkwrap":false,"peerDependencies":{"react":">=18.0.0","react-native":">=0.70.0","react-native-webview":">=13.3.0"},"_npmOperationalInternal":{"tmp":"tmp/elements-react-native_0.2.0_1784860726573_0.6279827385177836","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@affiliateo/elements-react-native","version":"0.2.1","keywords":["affiliateo","affiliate","elements","embedded","react-native","payouts","referral"],"license":"MIT","_id":"@affiliateo/elements-react-native@0.2.1","maintainers":[{"name":"nicograjales","email":"Grajalesn17@gmail.com"}],"homepage":"https://affiliateo.com/docs/elements","bugs":{"url":"https://github.com/affiliateo/affiliateo/issues"},"dist":{"shasum":"74b8dd733bf0ef34a64e73a7c0a3d2a34009ff72","tarball":"https://registry.npmjs.org/@affiliateo/elements-react-native/-/elements-react-native-0.2.1.tgz","fileCount":4,"integrity":"sha512-EmkMbH1sqyizkzwJeGsTPC6CT/MqHmnvG4Lkh1myka/hhS6CxaHOTjKmb9tAGrSl69n+QILqhe4+DUUHUM2L0g==","signatures":[{"sig":"MEYCIQD40D2vwq0pRxZ2nRl4+nFYnxmYxpbMHy0lJqOvTN0eHgIhAKLwiXt44d9AlPZgDFTybot67dbpcEB8bOSdDJddCXJ0","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19213},"main":"src/index.ts","types":"src/index.ts","gitHead":"78476d61c50b454c7a7a0b65df52a1d593bf39ba","scripts":{"typecheck":"tsc --noEmit"},"_npmUser":{"name":"nicograjales","email":"Grajalesn17@gmail.com"},"repository":{"url":"git+https://github.com/affiliateo/affiliateo.git","type":"git","directory":"packages/elements-react-native"},"_npmVersion":"11.8.0","description":"React Native components for embedding Affiliateo Elements — referral link, balance, payouts and identity — in your mobile app.","directories":{},"_nodeVersion":"24.8.0","_hasShrinkwrap":false,"peerDependencies":{"react":">=18.0.0","react-native":">=0.70.0","react-native-webview":">=13.3.0"},"_npmOperationalInternal":{"tmp":"tmp/elements-react-native_0.2.1_1784897372256_0.8433428399797778","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@affiliateo/elements-react-native","version":"0.2.2","keywords":["affiliateo","affiliate","elements","embedded","react-native","payouts","referral"],"license":"MIT","_id":"@affiliateo/elements-react-native@0.2.2","maintainers":[{"name":"nicograjales","email":"Grajalesn17@gmail.com"}],"homepage":"https://affiliateo.com/docs/elements","bugs":{"url":"https://github.com/affiliateo/affiliateo/issues"},"dist":{"shasum":"43de02af8d908df90a076c4aabf2e7d4ec8c41a0","tarball":"https://registry.npmjs.org/@affiliateo/elements-react-native/-/elements-react-native-0.2.2.tgz","fileCount":4,"integrity":"sha512-2h2yhW5sXA//t8EKspRsK5RxfSYvoewjJgmFCeg7flaANrMDSNXacs46ykQzR/UYYt5jTFPeOJo0Afmjc6tTJg==","signatures":[{"sig":"MEYCIQDMzVoJcrbzxrTNyxaZALLBOZJnk+/YnMgaFCXV6dOD+QIhAODlze6EultBgrf4zkpAo4FYyWZK/wneT8xJqSROxVPc","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19031},"main":"src/index.ts","types":"src/index.ts","gitHead":"a387214f6282ddc025e2bec08849ad46773000e0","scripts":{"typecheck":"tsc --noEmit"},"_npmUser":{"name":"nicograjales","email":"Grajalesn17@gmail.com"},"repository":{"url":"git+https://github.com/affiliateo/affiliateo.git","type":"git","directory":"packages/elements-react-native"},"_npmVersion":"11.8.0","description":"React Native components for embedding Affiliateo Elements — referral link, balance, payouts and identity — in your mobile app.","directories":{},"_nodeVersion":"24.8.0","_hasShrinkwrap":false,"peerDependencies":{"react":">=18.0.0","react-native":">=0.70.0","react-native-webview":">=13.3.0"},"_npmOperationalInternal":{"tmp":"tmp/elements-react-native_0.2.2_1784918444509_0.4176562908399708","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@affiliateo/elements-react-native","version":"0.3.0","keywords":["affiliateo","affiliate","elements","embedded","react-native","payouts","referral"],"license":"MIT","_id":"@affiliateo/elements-react-native@0.3.0","maintainers":[{"name":"nicograjales","email":"Grajalesn17@gmail.com"}],"homepage":"https://affiliateo.com/docs/elements","bugs":{"url":"https://github.com/affiliateo/affiliateo/issues"},"dist":{"shasum":"6aabc442fe79c5fa388dd7d36dbbfcf2a7381251","tarball":"https://registry.npmjs.org/@affiliateo/elements-react-native/-/elements-react-native-0.3.0.tgz","fileCount":4,"integrity":"sha512-cEvYTWzaPQ81d3CrJmH+xjAJEq3g3m5lvadBADjL1GKPZ8G99pKO4A1PCMuLRoDEhFXwG+bQQ7ahu5LjxSpzVw==","signatures":[{"sig":"MEYCIQDI6QJH0akRtot31FsbYSAMchbfkfs+NObJ45ZGJ+gY/QIhAJ+6eXfgqoywywJgHnj5flxQpLVob0EHkw7CuaZf877K","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37819},"main":"src/index.ts","types":"src/index.ts","gitHead":"d41d3249c2b3797c59ead1cdb53ffd64564fd1c7","scripts":{"typecheck":"tsc --noEmit"},"_npmUser":{"name":"nicograjales","email":"Grajalesn17@gmail.com"},"repository":{"url":"git+https://github.com/affiliateo/affiliateo.git","type":"git","directory":"packages/elements-react-native"},"_npmVersion":"11.8.0","description":"React Native components for embedding Affiliateo Elements (referral link, balance, payouts and identity) in your mobile app.","directories":{},"_nodeVersion":"24.8.0","_hasShrinkwrap":false,"peerDependencies":{"react":">=18.0.0","react-native":">=0.70.0","react-native-webview":">=13.3.0"},"_npmOperationalInternal":{"tmp":"tmp/elements-react-native_0.3.0_1785121349716_0.045786073003222016","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@affiliateo/elements-react-native","version":"0.4.0","keywords":["affiliateo","affiliate","elements","embedded","react-native","payouts","referral"],"license":"MIT","_id":"@affiliateo/elements-react-native@0.4.0","maintainers":[{"name":"nicograjales","email":"Grajalesn17@gmail.com"}],"homepage":"https://affiliateo.com/docs/elements","bugs":{"url":"https://github.com/affiliateo/affiliateo/issues"},"dist":{"shasum":"29072894d092cee4956645a3da6dcc1105cd1f9c","tarball":"https://registry.npmjs.org/@affiliateo/elements-react-native/-/elements-react-native-0.4.0.tgz","fileCount":4,"integrity":"sha512-YjvNR7e1GNE3CE/GbGTXPUy+np2SVG8maN5Sz43lBck/Mrvy67eiAt+YorfdNbp67EwGC2fWjZXL9JcxtJ3ung==","signatures":[{"sig":"MEUCIE3Mj7wWPv2W+/HoSJJhnU1MLkV9hoSZLDNtGdT+73ZjAiEAhJqLPSGomke+Yf6VeT9VEmy9+foFZaUj+57LJrrMnC4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":41505},"main":"src/index.ts","types":"src/index.ts","gitHead":"190348e9bcad95231a8cf6e176017f6a20fb0adf","scripts":{"typecheck":"tsc --noEmit"},"_npmUser":{"name":"nicograjales","email":"Grajalesn17@gmail.com"},"repository":{"url":"git+https://github.com/affiliateo/affiliateo.git","type":"git","directory":"packages/elements-react-native"},"_npmVersion":"10.9.2","description":"React Native components for embedding Affiliateo Elements (referral link, balance, payouts and identity) in your mobile app.","directories":{},"_nodeVersion":"22.17.0","_hasShrinkwrap":false,"peerDependencies":{"react":">=18.0.0","react-native":">=0.70.0","react-native-webview":">=13.3.0"},"_npmOperationalInternal":{"tmp":"tmp/elements-react-native_0.4.0_1785296887762_0.6015038905746073","host":"s3://npm-registry-packages-npm-production"}},"0.4.1":{"name":"@affiliateo/elements-react-native","version":"0.4.1","keywords":["affiliateo","affiliate","elements","embedded","react-native","payouts","referral"],"license":"MIT","_id":"@affiliateo/elements-react-native@0.4.1","maintainers":[{"name":"nicograjales","email":"Grajalesn17@gmail.com"}],"homepage":"https://affiliateo.com/docs/elements","bugs":{"email":"support@affiliateo.com"},"dist":{"shasum":"21d86a1278c6b798537aeebb60c7152addb5e321","tarball":"https://registry.npmjs.org/@affiliateo/elements-react-native/-/elements-react-native-0.4.1.tgz","fileCount":4,"integrity":"sha512-aurErZieueL3yD+E1Qt2xy+mKOhlGbNtzdRoOoKoHUoZnhC1zDoCagbaLGu9bEjuTP/ZOINF/I4mVGgp7nxNdg==","signatures":[{"sig":"MEUCIQCBbeEwK6e5vu6Wr+WjrTTT8MReYNy8GalxPe407ESNRAIgKsXsUwZv73trsGkw4pA9YDb/xI7taEsw5EL2dYnlz6U=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":41271},"main":"src/index.ts","types":"src/index.ts","gitHead":"eefeb1f7f88efdda71742206720d36a3d0b12d14","scripts":{"typecheck":"tsc --noEmit"},"_npmUser":{"name":"nicograjales","email":"Grajalesn17@gmail.com"},"_npmVersion":"10.9.2","description":"React Native components for embedding Affiliateo Elements (referral link, balance, payouts and identity) in your mobile app.","directories":{},"_nodeVersion":"22.17.0","_hasShrinkwrap":false,"peerDependencies":{"react":">=18.0.0","react-native":">=0.70.0","react-native-webview":">=13.3.0"},"_npmOperationalInternal":{"tmp":"tmp/elements-react-native_0.4.1_1785298384982_0.34870391369531517","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@affiliateo/elements-react-native","version":"0.5.0","keywords":["affiliateo","affiliate","elements","embedded","react-native","payouts","referral"],"license":"MIT","_id":"@affiliateo/elements-react-native@0.5.0","maintainers":[{"name":"nicograjales","email":"Grajalesn17@gmail.com"}],"homepage":"https://affiliateo.com/docs/elements","bugs":{"email":"support@affiliateo.com"},"dist":{"shasum":"9893d747d174b300666acf66f9a505c4aabaa6af","tarball":"https://registry.npmjs.org/@affiliateo/elements-react-native/-/elements-react-native-0.5.0.tgz","fileCount":4,"integrity":"sha512-VkTD6BurA12Bfh1OvEz2CvrYCi/xqqeixvbJyneqFxsg4LfrEOMb6hXZgYEaw9T65GC8zBGb3XFZbJMAQD9Q/Q==","signatures":[{"sig":"MEUCICLFjB/fj/DngD+A7Ulbb9q4kOJcmLskP8GaZ+b0AfAsAiEAu38y2kFRdt+wW2NOI2VipaH48F5/0g1gLu/2V26qIu0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":41478},"main":"src/index.ts","types":"src/index.ts","gitHead":"fd3068e48ab53a6da7b30e05828b0dfc59d00da4","scripts":{"typecheck":"tsc --noEmit"},"_npmUser":{"name":"nicograjales","email":"Grajalesn17@gmail.com"},"_npmVersion":"10.9.2","description":"React Native components for embedding Affiliateo Elements (referral link, balance, payouts and identity) in your mobile app.","directories":{},"_nodeVersion":"22.17.0","_hasShrinkwrap":false,"peerDependencies":{"react":">=18.0.0","react-native":">=0.70.0","react-native-webview":">=13.3.0"},"_npmOperationalInternal":{"tmp":"tmp/elements-react-native_0.5.0_1785378944795_0.08965316458450245","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@affiliateo/elements-react-native","version":"1.0.0","keywords":["affiliateo","affiliate","elements","embedded","react-native","payouts","referral"],"license":"MIT","_id":"@affiliateo/elements-react-native@1.0.0","maintainers":[{"name":"nicograjales","email":"Grajalesn17@gmail.com"}],"homepage":"https://affiliateo.com/docs/elements","bugs":{"email":"support@affiliateo.com"},"dist":{"shasum":"dd24a55fea380497905ed6dc0bb8ca663c89d765","tarball":"https://registry.npmjs.org/@affiliateo/elements-react-native/-/elements-react-native-1.0.0.tgz","fileCount":4,"integrity":"sha512-OGUx64B5hJRi33ZzSSWAU14SIrEQ3tgIhHepk6jMMUgBG/fPCMraKkuW6rAu5eanFwNaPUgCU93ASDOo+CeWOA==","signatures":[{"sig":"MEUCIATwju8jB1OrX+MgRDVLvdtU0xvA3e8JFSOfU8GOsSxnAiEAz/zZTEMsEgO7nRqXjJ7nDd269WJexRSJXYHFVMXHKTM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":42436},"main":"src/index.ts","types":"src/index.ts","gitHead":"d6d874f96fc76898974b8797f436577f9c6c471e","scripts":{"typecheck":"tsc --noEmit"},"_npmUser":{"name":"nicograjales","email":"Grajalesn17@gmail.com"},"_npmVersion":"11.8.0","description":"React Native components for embedding Affiliateo Elements (referral link, balance, payouts and identity) in your mobile app.","directories":{},"_nodeVersion":"24.8.0","_hasShrinkwrap":false,"peerDependencies":{"react":">=18.0.0","react-native":">=0.70.0","react-native-webview":">=13.3.0"},"_npmOperationalInternal":{"tmp":"tmp/elements-react-native_1.0.0_1786066583571_0.7148291893751528","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@affiliateo/elements-react-native","version":"1.1.0","keywords":["affiliateo","affiliate","elements","embedded","react-native","payouts","referral"],"license":"MIT","_id":"@affiliateo/elements-react-native@1.1.0","maintainers":[{"name":"nicograjales","email":"Grajalesn17@gmail.com"}],"homepage":"https://affiliateo.com/docs/elements","bugs":{"email":"support@affiliateo.com"},"dist":{"shasum":"8ceee6bcc04305af1782aec78e7dff1554da41eb","tarball":"https://registry.npmjs.org/@affiliateo/elements-react-native/-/elements-react-native-1.1.0.tgz","fileCount":6,"integrity":"sha512-UpEePOj8Ai0EMT3DZHjl2JYPKXyAfonM+wTGTnTVQlaC62VJpAlwnul3AWdr2L/h4oiayE+sp9S5hp3gDMNCPQ==","signatures":[{"sig":"MEUCIAFfXC7BN+MFGzb+0IKeSEclCF0+WV5LegQ85cAcsd3EAiEA0Y+aPUqywG65Ac3Ak/sjPLASKUmo9vwz37O9CxDqrG0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":52110},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"82ed144baa25e9295ba4d22d77c788ebdbfc8574","scripts":{"build":"tsc","prepack":"npm run build","typecheck":"tsc --noEmit"},"_npmUser":{"name":"nicograjales","email":"Grajalesn17@gmail.com"},"_npmVersion":"11.8.0","description":"React Native components for embedding Affiliateo Elements (referral link, balance, payouts and identity) in your mobile app.","directories":{},"sideEffects":false,"_nodeVersion":"24.8.0","_hasShrinkwrap":false,"devDependencies":{"react":"^18.3.1","typescript":"^5.0.0","@types/react":"^18.3.12","react-native":"^0.76.5","react-native-webview":"^13.3.0"},"peerDependencies":{"react":">=18.0.0","react-native":">=0.70.0","react-native-webview":">=13.3.0"},"_npmOperationalInternal":{"tmp":"tmp/elements-react-native_1.1.0_1786083349856_0.9315711678678311","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@affiliateo/elements-react-native","version":"1.2.0","keywords":["affiliateo","affiliate","elements","embedded","react-native","payouts","referral"],"license":"MIT","_id":"@affiliateo/elements-react-native@1.2.0","maintainers":[{"name":"nicograjales","email":"Grajalesn17@gmail.com"}],"homepage":"https://affiliateo.com/docs/elements","bugs":{"email":"support@affiliateo.com"},"dist":{"shasum":"07538aff4f82f6c439ac0ba113a0818a05af8186","tarball":"https://registry.npmjs.org/@affiliateo/elements-react-native/-/elements-react-native-1.2.0.tgz","fileCount":6,"integrity":"sha512-qXaCBsuA+apQ17DgYMrfBTTMkBATCewsHtYtdyhO6OsyJLX1kaJsBhswZ3fHgOTX1mzyl8TVcpAXaF4gjGNQjw==","signatures":[{"sig":"MEUCIQD13Ju7lmC0F7gJbZ+E2mm5GusRx6Fgnpd70BmkuEZYOwIgdA7u9ymD1GmID0qgKhn8aeJ74n41yDPWAMW0BZ3Vhqk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":55059},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"5219f86e7316243121db42c30734b95200626fd6","scripts":{"build":"tsc","prepack":"npm run build","typecheck":"tsc --noEmit"},"_npmUser":{"name":"nicograjales","email":"Grajalesn17@gmail.com"},"_npmVersion":"10.9.2","description":"React Native components for embedding Affiliateo Elements (referral link, balance, payouts and identity) in your mobile app.","directories":{},"sideEffects":false,"_nodeVersion":"22.17.0","_hasShrinkwrap":false,"devDependencies":{"react":"^18.3.1","typescript":"^5.0.0","@types/react":"^18.3.12","react-native":"^0.76.5","react-native-webview":"^13.3.0"},"peerDependencies":{"react":">=18.0.0","react-native":">=0.70.0","react-native-webview":">=13.3.0"},"_npmOperationalInternal":{"tmp":"tmp/elements-react-native_1.2.0_1787285357822_0.15945865434308581","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"@affiliateo/elements-react-native","version":"1.2.1","description":"React Native components for embedding Affiliateo Elements (referral link, balance, payouts and identity) in your mobile app.","main":"dist/index.js","module":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"sideEffects":false,"scripts":{"build":"tsc","typecheck":"tsc --noEmit","prepack":"npm run build"},"peerDependencies":{"react":">=18.0.0","react-native":">=0.70.0","react-native-webview":">=13.3.0"},"devDependencies":{"@types/react":"^18.3.12","react":"^18.3.1","react-native":"^0.76.5","react-native-webview":"^13.3.0","typescript":"^5.0.0"},"keywords":["affiliateo","affiliate","elements","embedded","react-native","payouts","referral"],"license":"MIT","homepage":"https://affiliateo.com/docs/elements","bugs":{"email":"support@affiliateo.com"},"_id":"@affiliateo/elements-react-native@1.2.1","gitHead":"5065aba97dd1b12caccec7af04d6d686ef8d9300","_nodeVersion":"22.17.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-gKwqKFtGKUaSy3ERJg1ujPMosm//GxD8NawCzwECcEui2k+OfK+4owdBp5UsAELQBVG9CJzreewVhy+muaDxXw==","shasum":"49bad744a94845cada0e63437375c17b08780d19","tarball":"https://registry.npmjs.org/@affiliateo/elements-react-native/-/elements-react-native-1.2.1.tgz","fileCount":6,"unpackedSize":55211,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIAh5jNVCLKUi6p8O6tTCH0/tmzElM/q7xm8m4BwcgUneAiBrIwi6a2ETPZpQFQFKQkha6QDKO+tLwg2KUsxGfqgoIg=="}]},"_npmUser":{"name":"nicograjales","email":"Grajalesn17@gmail.com"},"directories":{},"maintainers":[{"name":"nicograjales","email":"Grajalesn17@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/elements-react-native_1.2.1_1788273903865_0.9378130574517882"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-20T02:12:51.362Z","modified":"2026-09-01T14:45:04.166Z","0.1.0":"2026-07-20T02:12:51.583Z","0.2.0":"2026-07-24T02:38:46.702Z","0.2.1":"2026-07-24T12:49:32.388Z","0.2.2":"2026-07-24T18:40:44.651Z","0.3.0":"2026-07-27T03:02:29.891Z","0.4.0":"2026-07-29T03:48:07.906Z","0.4.1":"2026-07-29T04:13:05.174Z","0.5.0":"2026-07-30T02:35:44.975Z","1.0.0":"2026-08-07T01:36:23.735Z","1.1.0":"2026-08-07T06:15:50.004Z","1.2.0":"2026-08-21T04:09:18.000Z","1.2.1":"2026-09-01T14:45:03.977Z"},"bugs":{"email":"support@affiliateo.com"},"license":"MIT","homepage":"https://affiliateo.com/docs/elements","keywords":["affiliateo","affiliate","elements","embedded","react-native","payouts","referral"],"description":"React Native components for embedding Affiliateo Elements (referral link, balance, payouts and identity) in your mobile app.","maintainers":[{"name":"nicograjales","email":"Grajalesn17@gmail.com"}],"readme":"# @affiliateo/elements-react-native\r\n\r\nEmbed [Affiliateo Elements](https://affiliateo.com/docs/elements) in a React Native app. Each element renders in a `react-native-webview`; there is no native-UI rewrite, because withdraw and identity are money and camera surfaces safest run once, on Affiliateo's side, and reused everywhere.\r\n\r\n> Not to be confused with `@affiliateo/react-native`, which is the affiliate **tracking** SDK. This package renders the embedded **UI** elements.\r\n\r\n## Install\r\n\r\n```bash\r\nnpm install @affiliateo/elements-react-native react-native-webview\r\n```\r\n\r\nOn **Expo**, install the WebView through Expo so you get the build matched to\r\nyour SDK version:\r\n\r\n```bash\r\nnpx expo install react-native-webview\r\n```\r\n\r\n`react`, `react-native`, and `react-native-webview` (13.3+) are peer\r\ndependencies. There is no separate Expo package: this is the one, and it works\r\nin Expo Go, in development builds and on EAS, because `react-native-webview` is\r\none of the native modules Expo Go already bundles.\r\n\r\n## Use it\r\n\r\nMint the session on your **backend** with your `afk_` secret key and\r\n`\"platform\": \"native\"` (omit `allowed_origins`, since nothing frames a\r\nWebView), return the `client_secret`, then:\r\n\r\n```tsx\r\nimport { ScrollView } from 'react-native'\r\nimport { QrElement, BalanceElement } from '@affiliateo/elements-react-native'\r\n\r\nconst theme = { colorPrimary: '#16A34A', contentPadding: '16px' }\r\n\r\nexport function Earnings() {\r\n  return (\r\n    <ScrollView>\r\n      <QrElement fetchClientSecret={mintOnMyBackend} appearance={theme} />\r\n      <BalanceElement\r\n        fetchClientSecret={mintOnMyBackend}\r\n        appearance={theme}\r\n        onComplete={(status) => {\r\n          // \"complete\" when a withdrawal or verification finished\r\n        }}\r\n      />\r\n    </ScrollView>\r\n  )\r\n}\r\n```\r\n\r\nEvery element measures itself and this package sizes the view to match, so\r\nstacking them takes no hardcoded heights. Pass `autoHeight={false}` for an\r\nelement that owns a whole screen and should take its height from your `style`.\r\n\r\nComponents: `AffiliateElement`, `LinkElement`, `QrElement`, `StatsElement`,\r\n`ProductsElement`, `ActivityElement`, `BalanceElement`, `WithdrawElement`,\r\n`IdentityElement`, or the generic\r\n`<AffiliateoElement component=\"balance\" ... />`.\r\n\r\n## The recommended setup\r\n\r\nNine components is a lot of freedom, and freedom is not a layout. This is the\r\none we ship in our own apps. Start here.\r\n\r\n**Which to use, per screen.** Every element is its own page load, so a tab\r\nstacking four pays for four before it paints and your app cannot cache any of\r\nthem. Anything the REST API already returns is faster built natively and can be\r\ncached, so the screen paints the moment it opens. Build `link`, `stats`,\r\n`products`, `activity` and `balance` yourself from\r\n`GET /affiliates?email=` + `GET /apps/{appId}` + `GET /affiliates/conversions`,\r\nand mount elements only for `withdraw`, `payouts` and `identity`: the three that\r\ncollect bank details, open the account-wide wallet, or run ID capture.\r\n\r\n**The recurring figures are on the elements too.** `stats` and `affiliate` show\r\nMRR, ARR, subscriptions, in-trial and not-renewing beneath clicks/sales/earned\r\nwhenever that affiliate has subscriptions or trials running, and draw nothing\r\nat all when they do not. They\r\ncome from the same `GET /affiliates?email=` read through the same code, so an\r\nelement and a hand-built screen cannot report different MRR for one person.\r\nChurn is on the elements too, and used not to be: the API always\r\nreturned an affiliate their own churn, so the element was the only surface\r\nwithholding it. The block derives the rate from the count, and shows a dash\r\nrather than a percentage until five people have ever subscribed.\r\n\r\n**The QR needs no building.** `links.qr` on that same `GET /affiliates?email=`\r\nresponse is a plain public image URL — `https://affiliateo.com/qr/{short_code}.svg`,\r\nor `.png` for a raster — so showing an affiliate's QR is one image view with no\r\nsession, no token and no SDK:\r\n\r\n```\r\nhttps://affiliateo.com/qr/aB3xY9k.png?size=512\r\n```\r\n\r\nIt needs no key, is cached forever, and sends `Access-Control-Allow-Origin: *`\r\nso you can fetch it into memory for a Share or Save sheet. Optional `?dark=` and\r\n`?light=` take hex colours; the pair must stay dark-on-light with real contrast\r\nor it is a 400, because a low-contrast or inverted code will not scan. The image\r\nencodes the SHORT link tagged `?s=qr`, so scans show up separately from link taps\r\nin the affiliate's click breakdown without you doing anything.\r\n\r\nThe `qr` ELEMENT is still there and still the right call when you want our\r\nstyled card with its copy-and-download affordances rather than a bare image.\r\n\r\n```\r\nTab 1   Link       built from the API\r\nTab 2   Balance    built from the API\r\nTab 3   Cash out   withdraw            <- the only element\r\n```\r\n\r\nLists are the sharpest case. The embedded `activity` and `payouts` elements show\r\nthe 25 most recent and **neither paginate nor filter**, so an affiliate with a\r\nyear of sales cannot reach the 26th and cannot ask to see just their refunds,\r\nwhile `GET /affiliates/conversions` is cursor-paginated (`?limit=`,\r\n`?starting_after=`) and filterable by date (`?from=&to=`) and by type\r\n(`?type=refund,chargeback`, comma-separated, any of `subscription`, `one_time`,\r\n`renewal`, `trial`, `refund`, `chargeback`).\r\n\r\n**Filter on our side, not in yours.** Both filters are applied in the query,\r\nupstream of the cursor, so a filtered feed pages through matching rows only.\r\nFiltering rows you have already fetched looks equivalent and is not: it can only\r\nsearch what is on screen, so a Refunds chip finds nothing for someone whose\r\nsingle refund sits 300 rows down, and the chip reads as broken. An unknown\r\n`?type=` value comes back 400 rather than an empty page, so a typo can never be\r\nmistaken for \"this affiliate has no refunds\".\r\n\r\nIn our own apps that becomes one menu beside the list heading, five entries over\r\nsix raw types: **All types**, **Sales** (`?type=subscription,one_time`),\r\n**Renewals** (`renewal`), **Trials** (`trial`), **Refunds**\r\n(`?type=refund,chargeback`). Whether a first sale renews, and whether a reversal\r\nwas the customer asking or the bank taking, are not distinctions an affiliate\r\nfilters on: both mean money back. The rows still say Sale and Chargeback\r\nindividually, so the difference stays visible where it is useful.\r\n\r\nMounting all of them still works if you would rather we rendered everything. It\r\nis just slower and uncacheable:\r\n\r\n```\r\nTab 1   Link       QrElement, LinkElement, StatsElement, ProductsElement\r\nTab 2   Balance    BalanceElement, ActivityElement\r\nTab 3   Withdraw   WithdrawElement\r\n```\r\n\r\n**Copy is not the catch.** The API returns data, never labels, but you do not\r\nhave to write your own translations: the exact strings our elements use are\r\npublished at `https://affiliateo.com/locales/{lang}.json` in all 16 languages.\r\nLift `embed.appEarnings.*` for the buckets and their hint line,\r\n`embed.activity.*` for row types and empty states, `embed.filter.preset.*` for\r\nthe date chips, and `embed.link.format*` for the picker. The `embed.activity.*`\r\ntype words double as the labels for a Type menu, since a row reading \"Refund\"\r\nand a filter offering \"Refund\" should not be two different translations of the\r\nsame word. Copy the values into\r\nyour own catalogue at build time rather than fetching live, since those files\r\nare the elements' runtime asset and not a versioned API. Keep the money words\r\nverbatim even if you reword the rest: **Paid** means already in their Affiliateo\r\nbalance and *not* yet in their bank, so \"Paid out\" is the wording to avoid.\r\n\r\nThree tabs in a **native bottom tab bar** (`expo-router`'s `Tabs`, or\r\n`@react-navigation/bottom-tabs`) rather than a hand-built one: you get the\r\nOS's own hit-testing, animation and accessibility, and on current iOS it is\r\nthe floating pill people already know. Each tab is one `ScrollView` with its\r\nelements stacked, nothing between them, and your app's background behind them.\r\n\r\n**Do not give `IdentityElement` a tab of its own next to `WithdrawElement`.**\r\nWithdraw already walks an unverified affiliate through the ID check exactly\r\nwhere they need it, and skips it forever once they pass. A separate tab shows\r\nthem the same step twice. Use `IdentityElement` only as a standalone\r\nget-paid-ready page when you are not showing withdraw at all.\r\n\r\n## Props\r\n\r\n| Prop | Type | What it does |\r\n| --- | --- | --- |\r\n| `fetchClientSecret` | `() => Promise<string> \\| string` | Returns a secret minted by your backend. Called again before each expiry, so mint fresh rather than caching. |\r\n| `appearance` | `Record<string, string>` | Theme tokens applied to the live element. Pass the same map when you mint, so first paint is already yours. |\r\n| `filter` | `boolean` | `false` hides the built-in date filter on `affiliate` and `activity`. |\r\n| `range` | `{ from, to } \\| null` | Drive the date window from your own controls, as `YYYY-MM-DD`. `null` is all-time. Leave it undefined to keep our filter in charge. Pair with `filter={false}`. |\r\n| `flow` | `'inline' \\| 'portal'` | Withdraw only. Native renders the cash-out form in place by default; `'portal'` opens the hosted flow instead. |\r\n| `autoHeight` | `boolean` | Defaults to `true`. Set `false` to size the element yourself. |\r\n| `initialHeight` | `number` | Placeholder height before the first measurement. Defaults to 180. |\r\n| `onComplete` | `(status: string \\| null) => void` | A withdrawal or verification finished. |\r\n| `onReady` | `() => void` | The element rendered its first frame. Hide your own spinner here, not on the WebView's `onLoadEnd`: that fires before the element has laid out, so a placeholder removed there uncovers an empty box. Fires again after any reload. |\r\n| `onLocked` | `() => void` | A gated element is asking to sign in again. Only needed if you remember the signed-in state yourself. |\r\n| `onError` | `(error: unknown) => void` | Your `fetchClientSecret` failed, after retries. |\r\n| `origin` | `string` | Your Affiliateo origin. Defaults to `https://affiliateo.com`. |\r\n| `style` | `StyleProp<ViewStyle>` | Applied to the WebView. |\r\n\r\n## Theme it, or it will not match\r\n\r\nNothing about your app is visible from inside an element, so an element you\r\nnever theme renders in Affiliateo's own colours. Two places, both worth setting:\r\n\r\n- `appearance` **when you mint the session** styles the very first paint, which\r\n  is what stops a flash of our blue before your brand lands.\r\n- `appearance` **as a prop** restyles a live element, so a dark-mode switch does\r\n  not have to reload it and lose whatever the person was in the middle of.\r\n\r\n**If your page is dark, send `colorBackground`.** An element paints a ground only\r\nwhen you give it one, and that ground covers the whole element. Leave it out and\r\nthe element stays transparent, which is supported, but the browser's own backdrop\r\nshows wherever your content does not reach, and that backdrop is white.\r\n\r\nThat is worth stating because it is invisible while you build. A white backdrop\r\nbehind a light page looks exactly like a correct element, so a dark theme can ship\r\nlooking perfect in development and render as a white slab for every real visitor.\r\nIf you theme dark at all, send the token.\r\n\r\n`colorScheme` (`light` or `dark`) is the companion and is usually unnecessary: it\r\nis inferred from your `colorText`, since light text means a dark page. Send it only\r\nwhen that inference is wrong.\r\n\r\nAnything unusable is dropped rather than failing the mint, and comes back in\r\n`ignored_appearance_keys`. Check that field first when a colour does not appear.\r\n\r\n`contentPadding` is worth calling out. Elements carry no outer margin, because\r\non the web they already sit inside your padded layout. A WebView is edge to\r\nedge, so without `contentPadding` (or padding on the view around it) your\r\nelement runs into both sides of the phone.\r\n\r\nThe full token list is at https://affiliateo.com/docs/elements.\r\n\r\n## Permissions\r\n\r\nThe `identity` element captures a live ID photo, so the app needs camera\r\npermission before that element mounts.\r\n\r\n**Expo**, where you do not edit the native files at all. Put it in\r\n`app.json` / `app.config.js` and rebuild:\r\n\r\n```json\r\n{\r\n  \"expo\": {\r\n    \"ios\": {\r\n      \"infoPlist\": {\r\n        \"NSCameraUsageDescription\": \"Used to verify your identity so you can get paid.\"\r\n      }\r\n    },\r\n    \"android\": { \"permissions\": [\"CAMERA\"] }\r\n  }\r\n}\r\n```\r\n\r\n**Bare React Native:**\r\n\r\n- **iOS**: add `NSCameraUsageDescription` to `Info.plist`.\r\n- **Android**: add `<uses-permission android:name=\"android.permission.CAMERA\" />`\r\n  and request it at runtime.\r\n\r\nEither way the OS blocks the camera without it and verification cannot finish.\r\n\r\n## Notes\r\n\r\n- Mint with `\"platform\": \"native\"`. A `web` session expects framing origins and\r\n  will not behave correctly top-level in a WebView.\r\n- The WebView is transparent, so elements sit on your app's background instead\r\n  of a white card. If you replace this package with your own WebView, set a\r\n  transparent background there too.\r\n- Sessions last an hour, and this package re-mints on its own about two minutes\r\n  before each expiry, plus on the way back to the foreground if a backgrounded\r\n  app slept through the moment. Return a freshly minted secret from\r\n  `fetchClientSecret` every time it is called rather than a cached string.\r\n- The gated elements confirm identity in a window opened via `window.open`.\r\n  This package hosts that window in a **modal WebView layered over the\r\n  element**; the element stays mounted (and listening) underneath and receives\r\n  the confirmation over a same-origin channel. When the window closes after a\r\n  finished withdrawal/verification the element reloads to reflect it; when a\r\n  plain confirm window closes, the element updates in place. Links inside that\r\n  window (terms, privacy) open in the system browser.\r\n- One confirm unlocks the rest, and keeps them unlocked. Typing the emailed\r\n  code into any gated element signs the person in, so the others mounted\r\n  alongside it recognise that session silently instead of asking again, and so\r\n  does the next app launch. The step-up itself lasts an hour and lives only in\r\n  the element's memory; the sign-in behind it outlives that, which is what\r\n  makes later opens silent.\r\n- When that sign-in eventually lapses, the element goes back to asking and\r\n  says so. This package forgets its own state on it automatically. Add\r\n  `onLocked` only if YOU remember the signed-in state somewhere: clear it\r\n  there, or the rest of your screen keeps acting signed in beside a login\r\n  form. That exact bug shipped in our own apps, where a stale flag left an\r\n  unlocked sales feed sitting under a login.\r\n- Make it feel instant: render the elements for all your tabs when the\r\n  affiliate screen mounts and hide the inactive ones with\r\n  `style={{ display: 'none' }}`, rather than mounting each on tab press. Hidden\r\n  that way a WebView has no viewport, which is what keeps a gated element from\r\n  asking for a sign-in code before anyone has looked at it. A tab kept at full\r\n  size off screen (a pager, or content below the fold) does count as seen. Even\r\n  then only one code is ever sent: Affiliateo keeps a single live code per\r\n  person, so simultaneous elements share it rather than racing to replace each\r\n  other's.\r\n\r\n> Status: initial release, not yet verified on a physical device. Report\r\n> problems to support@affiliateo.com.\r\n","readmeFilename":"README.md"}