{"_id":"@builder.io/persist-attribution","_rev":"42-c7ba04208a081cfba9fcd269af4a0bdc","name":"@builder.io/persist-attribution","dist-tags":{"alpha":"0.0.1-alpha-4","latest":"0.0.1-beta-2"},"versions":{"0.0.1-alpha-1":{"name":"@builder.io/persist-attribution","version":"0.0.1-alpha-1","author":{"name":"armando@builder.io"},"license":"MIT","_id":"@builder.io/persist-attribution@0.0.1-alpha-1","maintainers":[{"name":"manucorporat","email":"manu.mtza@gmail.com"},{"name":"steve8708","email":"sewell.steve@gmail.com"},{"name":"samijaber","email":"jabersami@gmail.com"},{"name":"caleb.amsden","email":"caleb@builder.io"},{"name":"teleaziz123","email":"aziz@builder.io"},{"name":"mrkoreye","email":"korey@builder.io"},{"name":"mandx","email":"gmandx@gmail.com"},{"name":"dkendal","email":"dylan@builder.io"},{"name":"mhevery","email":"misko@hevery.com"},{"name":"adamdbradley","email":"adam@builder.io"}],"dist":{"shasum":"2dff738ab601567e4f35d34edcd9974bc01bc155","tarball":"https://registry.npmjs.org/@builder.io/persist-attribution/-/persist-attribution-0.0.1-alpha-1.tgz","fileCount":12,"integrity":"sha512-ehIq/qIJgPTzlu2NIGXXMle1pAyZliEixHC7qOeRHEH841JDB1obGwIaBAFgUfoglAP+xf1HEoskxwVHkFHb1w==","signatures":[{"sig":"MEQCIFUwIMxQXMbX6VRX5eKlamAqC3Umcw/BBMwk4Uub6S5nAiB1t6vs9yxPkW8VLqyOZqJStQKqfXAkFZfV5+dBbxY/Cw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":375297,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiDCkICRA9TVsSAnZWagAAGu4P/i5YlMmIHkyF4xeW4oFx\n2V6DQFMr/AL9o/llBXL4sI6hDQMS/wJAg66mjRjRgUZuY4CnXNvbgnXijXA0\nJ5bw7+jYOday6g7bDiiNXhTL5mG63lYmCia5AZsiEwVxQiX8IFNDvWAkSX+T\nAjrFBbIV9rNz8mGOqbGEhBIlg1k23zaY4DVKf+mSQSpNFjm5VeI6ZsFIcknG\nHAsME9MawL9x7oqHYKQgR4qM3XBHML6dL0Mm4n+978Z0kDv4kaFpxOhqZl8E\nvuijFT3Yc5J1PWcFuT/slNhCCrv79roGckgACr833DJu7xcvi3StLYMikVw+\n/MfTaqdYWxCilmWg8kaqSYXsp7emydldxje+Huu8aP3xU6IyR8Mp4gbUti8W\nnyu6ebqdG80qhI6/bC4PjiiYkSs6pqrhloh7jD8VlZkVjl73rczA+6oc7gxX\n0XxHw6uxFkOCt22aO4gxVQGyfd6QyzLAVKcCIVMSyeLdcZemkbyBRa9vgeEx\ngOLEjodi+lwrUu4qAwxMK/j8/dtJ80oh01JLRXTsejg3zJk2208lyexlNYaw\n/MJeuZGgMgMboGyzL5we/eKHUb/3F7vqHZIzO5/zV3patNAtPUX5Q0YK0cpe\nJwEevmJV/7NNOUECRGagqOi0SHuPVS2yOzAFBvrbutJ0G7b97AI6Jqaqos3y\nIJra\r\n=Gcb3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/persist-attribution.min.js","types":"./dist/persist-attribution.d.ts","browser":"./dist/persist-attribution.min.js","scripts":{"dev":"tsc","test":"yarn run clean && jest && yarn run clean","build":"yarn run dev && uglifyjs ./dist/@builder.io/persist-attribution.js -o ./dist/@builder.io/persist-attribution.min.js","clean":"rm -rf dist","format":"prettier --write rollup.config.js jest.config.js ./src/","tslint":"tslint --project .","dev:watch":"nodemon --exec 'yarn run dev || exit 1'","test:coverage":"yarn run clean && jest --coverage && yarn run clean"},"_npmUser":{"name":"mandx","email":"gmandx@gmail.com"},"prettier":{"tabWidth":2,"printWidth":110,"singleQuote":true,"trailingComma":"all"},"description":"Persist attribution info between visits","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2018 armando@builder.io\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","dependencies":{"tslib":"^2.3.1","rollup":"^2.67.2","prettier":"^2.5.1","typescript-cookie":"^1.0.3","rollup-plugin-uglify":"^6.0.4","@rollup/plugin-commonjs":"^21.0.1","@rollup/plugin-typescript":"^8.3.0","@rollup/plugin-node-resolve":"^13.1.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.5.1","nodemon":"^2.0.15","ts-jest":"^27.1.3","uglify-js":"^3.4.9","typescript":"^4.5.5","@types/jest":"^27.4.0"},"_npmOperationalInternal":{"tmp":"tmp/persist-attribution_0.0.1-alpha-1_1644964104004_0.17583871943413665","host":"s3://npm-registry-packages"}},"0.0.1-alpha-2":{"name":"@builder.io/persist-attribution","version":"0.0.1-alpha-2","author":{"name":"armando@builder.io"},"license":"MIT","_id":"@builder.io/persist-attribution@0.0.1-alpha-2","maintainers":[{"name":"manucorporat","email":"manu.mtza@gmail.com"},{"name":"steve8708","email":"sewell.steve@gmail.com"},{"name":"samijaber","email":"jabersami@gmail.com"},{"name":"caleb.amsden","email":"caleb@builder.io"},{"name":"teleaziz123","email":"aziz@builder.io"},{"name":"mrkoreye","email":"korey@builder.io"},{"name":"mandx","email":"gmandx@gmail.com"},{"name":"dkendal","email":"dylan@builder.io"},{"name":"mhevery","email":"misko@hevery.com"},{"name":"adamdbradley","email":"adam@builder.io"}],"dist":{"shasum":"ab13079af57b48d737d962230b6690e99eefbbb5","tarball":"https://registry.npmjs.org/@builder.io/persist-attribution/-/persist-attribution-0.0.1-alpha-2.tgz","fileCount":8,"integrity":"sha512-p6Z42YZzzco1e9jPnc/3wF9bNnDjMMIi2+7Wo10yWwTPv7Khp86jJoqy3wc6A8jTOqXKK4o1hKrKFXBVQ2vy1A==","signatures":[{"sig":"MEQCIDmesnqOswWjEesaP44vEimX7wh/b7u7gFyfM6wp2B9JAiBmUUHqYG0EBTAx2ZK+hKw3FDZ+yCRvJdy47KTobcqgKA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17858,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiDHU0CRA9TVsSAnZWagAA/FAP/igGQn2WuWWoxAONatlR\nyDD6uniuJ5jw2hiF1aw2e6GeaoauZWJBOudovBo+hc7EGYu9cttdevEuBIs+\nxkAtXmn0LLA19tB0EvlHSp6Fr5CWHqOyhNs+EJF3x8Ecn3faLc0kpcFxOl0z\nDeLCmchJUeW8DVHKcye/usOoVb2esTGcm9WVd3WdKvOe/fypJ5ME9IkNDKXR\ny0N4d+Xa8xNUjJBUtfgJtC4aRL6W88e3RC102SdnAP/ZEN0xlPXX1coXxqwz\n/rBZRDU0+wExqUsPYP8QoJmu/DSuLLBFZeeGs1YhWQSvtXMqRqw+JvKLs05n\nsnCx8s9NDuOkRkNzSBWbBJbp5w9Hbexzhjqw08v7MUo0Ux4dzu8ATrHUle3a\n2/A4Rvx5EPySJnvXW88JV6FA1X5mh3b+lW+bE2fUIrYsE3ZQwINRBtzNZgh7\n2RwsiOpM0qudXUP/6BO8GLAEqCGblgDL0NJD8E4nLg22v4KB8YTA7NbZfW6E\n2rayiDQSXIW9XNCFXtOarnSQ0Hcz0Us7e+Hjn7TDBOAgPRcxkgwvaj3pah49\nSSGcMqQdB+ZHbvrXPeaZxVZvQY7xM6CUsrMvVrz+LnA1vno40nT39t2bKFbw\nI0WgrgcYqBVUm8GgkUcoeE3C1QlwxC96zo8rvPEMK7CxjKl7FsJLUtMYySFP\n2QCf\r\n=4AV2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/persist-attribution.min.js","types":"./dist/persist-attribution.d.ts","readme":"# @builder.io/persist-attribution\n\nPersist attribution info between visits.\n\nThis package is intended to be published to NPM and used with a JS delivery CDN, so it can be included in any of our sites with a simple script tag.\n\n# Developing\n\nRun tests with:\n```shell\nenv NODE_OPTIONS=--experimental-vm-modules yarn test\n```\n\n# Publishing\n\n(TODO)\n\n# Usage in sites\n\n(TODO)\n","browser":"./dist/persist-attribution.min.js","scripts":{"dev":"tsc","test":"yarn run clean && jest && yarn run clean","build":"cross-env NODE_ENV=production rollup -c","clean":"rm -rf dist/*","format":"prettier --write rollup.config.js jest.config.js ./src/","tslint":"tslint --project .","// build":"yarn run dev && uglifyjs ./dist/@builder.io/persist-attribution.js -o ./dist/@builder.io/persist-attribution.min.js","dev:watch":"nodemon --exec 'yarn run dev || exit 1'","prepublish":"yarn clean && yarn build","test:coverage":"yarn run clean && jest --coverage && yarn run clean"},"_npmUser":{"name":"mandx","email":"gmandx@gmail.com"},"prettier":{"tabWidth":2,"printWidth":110,"singleQuote":true,"trailingComma":"all"},"description":"Persist attribution info between visits","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2018 armando@builder.io\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","dependencies":{"tslib":"^2.3.1","rollup":"^2.67.2","prettier":"^2.5.1","cross-env":"^7.0.3","typescript-cookie":"^1.0.3","rollup-plugin-uglify":"^6.0.4","@rollup/plugin-replace":"^3.1.0","@rollup/plugin-commonjs":"^21.0.1","@rollup/plugin-typescript":"^8.3.0","@rollup/plugin-node-resolve":"^13.1.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.5.1","nodemon":"^2.0.15","ts-jest":"^27.1.3","uglify-js":"^3.4.9","typescript":"^4.5.5","@types/jest":"^27.4.0"},"_npmOperationalInternal":{"tmp":"tmp/persist-attribution_0.0.1-alpha-2_1644983604637_0.8182785088052063","host":"s3://npm-registry-packages"}},"0.0.1-alpha-3":{"name":"@builder.io/persist-attribution","version":"0.0.1-alpha-3","author":{"name":"armando@builder.io"},"license":"MIT","_id":"@builder.io/persist-attribution@0.0.1-alpha-3","maintainers":[{"name":"manucorporat","email":"manu.mtza@gmail.com"},{"name":"steve8708","email":"sewell.steve@gmail.com"},{"name":"samijaber","email":"jabersami@gmail.com"},{"name":"caleb.amsden","email":"caleb@builder.io"},{"name":"teleaziz123","email":"aziz@builder.io"},{"name":"mrkoreye","email":"korey@builder.io"},{"name":"mandx","email":"gmandx@gmail.com"},{"name":"dkendal","email":"dylan@builder.io"},{"name":"mhevery","email":"misko@hevery.com"},{"name":"adamdbradley","email":"adam@builder.io"}],"dist":{"shasum":"8744117bdded1ea1a4be2cf45ccb3a9aa6bf6d96","tarball":"https://registry.npmjs.org/@builder.io/persist-attribution/-/persist-attribution-0.0.1-alpha-3.tgz","fileCount":8,"integrity":"sha512-goOwLVoIG/SOP7avi1tN+MswUAipZjmm+ND5irQrsFgkylCI83ipOPXBrNlvkIBw9BDTy5El+HCzuyN7Et07aA==","signatures":[{"sig":"MEUCIAtSACDyX+2luhXBT5a5YMp0hVVHjBOlvQoejhBIbG8yAiEAwDQvmNxwKdAttdBfNgrXqG4dsliDKhs25bkjIXxCpg0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17859,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiDHo4CRA9TVsSAnZWagAADhcP/3C0U5wP5GsRaTNF3Emq\nHpYewioO7HgSnDIIpGmefDinz3EWEEvHoP8Mq51rIoLOVLIqw3n+oJG/MmaE\nTrAtIEu1CXD/CrN5YT1NcUGUWMJBo8+b4EN8oha+xbuWZIkUqa4BO00jdWoG\n/a0/O72zKIsNnp6e0ULvUQMIkQk9bCqw9O8oakMS2FAz6UYwP7bCaOdphpdD\n2dFVOeT74OUDgTHgKuphjvKG3Aq2k+CUFye9HUPfFr5iHFZe+IAYo5NIbX/n\nAD0m5br6UlwzrWr+f0RdFYVBITIdi7V/5QGASBCha1NhbpiJWFYhhLRgFVe6\neQwBE/E2USChOtni91yhBSOyZV2M8GcNsBI+lxupY3O0MYFKPyMBFdb6P4dz\niC2QOJNrsNFYPW2Ec9y9A0z56cav2SfGY7Dy5rtyVBoX5Eu7htgTmHobCQNk\nzEpsAW5Wq5D/VMb7j/2kDBY13EJf/Y+ahAyyfVLjVnU8Lt80OQr+HNhUvXcu\nwZi2BRIHwoP2AUsCgm+dM+VWuFA2wWg3tpClSd7TI3EaqCAz4llMMs+zGiFQ\nfsc06cUhGFS1F6qzfPmdrhRaUYmZutAZw6lJzfCX50MapP+gRgI3Fgo7jNNu\nta+07TE2WvZfCnl3LtUf48AfKvsAdZ4/HS0lRFRH7GpZUjo8Ek7itcoVDzoe\nOiOl\r\n=9JNi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/persist-attribution.min.js","types":"./dist/persist-attribution.d.ts","readme":"# @builder.io/persist-attribution\n\nPersist attribution info between visits.\n\nThis package is intended to be published to NPM and used with a JS delivery CDN, so it can be included in any of our sites with a simple script tag.\n\n# Developing\n\nRun tests with:\n```shell\nenv NODE_OPTIONS=--experimental-vm-modules yarn test\n```\n\n# Publishing\n\n(TODO)\n\n# Usage in sites\n\n(TODO)\n","browser":"./dist/persist-attribution.min.js","scripts":{"dev":"tsc","test":"yarn run clean && jest && yarn run clean","build":"cross-env NODE_ENV=production rollup -c","clean":"rm -rf dist/*","format":"prettier --write rollup.config.js jest.config.js ./src/","tslint":"tslint --project .","// build":"yarn run dev && uglifyjs ./dist/@builder.io/persist-attribution.js -o ./dist/@builder.io/persist-attribution.min.js","dev:watch":"nodemon --exec 'yarn run dev || exit 1'","prepublish":"yarn clean && yarn build","test:coverage":"yarn run clean && jest --coverage && yarn run clean"},"_npmUser":{"name":"mandx","email":"gmandx@gmail.com"},"prettier":{"tabWidth":2,"printWidth":110,"singleQuote":true,"trailingComma":"all"},"description":"Persist attribution info between visits","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2018 armando@builder.io\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","dependencies":{"tslib":"^2.3.1","rollup":"^2.67.2","prettier":"^2.5.1","cross-env":"^7.0.3","typescript-cookie":"^1.0.3","rollup-plugin-uglify":"^6.0.4","@rollup/plugin-replace":"^3.1.0","@rollup/plugin-commonjs":"^21.0.1","@rollup/plugin-typescript":"^8.3.0","@rollup/plugin-node-resolve":"^13.1.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.5.1","nodemon":"^2.0.15","ts-jest":"^27.1.3","uglify-js":"^3.4.9","typescript":"^4.5.5","@types/jest":"^27.4.0"},"_npmOperationalInternal":{"tmp":"tmp/persist-attribution_0.0.1-alpha-3_1644984888052_0.7699718448592028","host":"s3://npm-registry-packages"}},"0.0.1-alpha-4":{"name":"@builder.io/persist-attribution","version":"0.0.1-alpha-4","author":{"name":"armando@builder.io"},"license":"MIT","_id":"@builder.io/persist-attribution@0.0.1-alpha-4","maintainers":[{"name":"manucorporat","email":"manu.mtza@gmail.com"},{"name":"steve8708","email":"sewell.steve@gmail.com"},{"name":"samijaber","email":"jabersami@gmail.com"},{"name":"caleb.amsden","email":"caleb@builder.io"},{"name":"teleaziz123","email":"aziz@builder.io"},{"name":"mrkoreye","email":"korey@builder.io"},{"name":"mandx","email":"gmandx@gmail.com"},{"name":"dkendal","email":"dylan@builder.io"},{"name":"mhevery","email":"misko@hevery.com"},{"name":"adamdbradley","email":"adam@builder.io"}],"dist":{"shasum":"6a654b1a4dc8f3e9b259587b487a95323af819d5","tarball":"https://registry.npmjs.org/@builder.io/persist-attribution/-/persist-attribution-0.0.1-alpha-4.tgz","fileCount":11,"integrity":"sha512-ZCyj/37uhFq9yDpXY+eaPymcgzEGtOujpn8imQpiYU/BSahJUAzyeQGhPy/ni5BXhjZjQSr9NuGWU+TOdrI7cg==","signatures":[{"sig":"MEUCIQCbr2/pX2FCrKWsaPpNuViF5lBmkTkrr/8Ur7v8RrknpQIgcN86MBRN1snfhzekWC9NxVTuIcyHvTU3jM15iEoeNcM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23436,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiDUiUCRA9TVsSAnZWagAARL0P/i2YlydNC9N0RuEqkIUO\nuA5KMOoV9s8EMEtmqay0PWxFnBHxRGy3xJl/1S82uLMj8NY5OCqRaB85yvMv\njt3gra0kb/r0CYgsIz7kQoEHNpy+NomDbZFLzgJ5Kp/tlUC+5W6BauJIgJJp\n+Vwll0J4ApeycmpGmUkZCmH1nJoZXdYpeQm47cl/e/0qVk0AzxCqoLrbxHkV\n2HkZvF3i+zlMY4AfVJSIi0PZ1I/O34W884xmLjqb6I34BePoySFYsbCR2gB4\n8gd89r1FTLHfvnKjioSPHuPCEMRY0ADr43S/t99ZQN7k50w6JdMXC5VZNDa4\nGa8sy9N//36i0qgjq0DG6SDStayZ1lrv8JjYVxA5SH9Wg5VLiu/6/sKXEYZu\nbX1+IygzBxaCPncXT2j0X5FPYSak0CFVNYysNGuGYz8hh6qJBcHQEOqYw2ZG\nS+ROPAwIjQgNDjPSafK7hwABuxHiWqwWV9I9TtV7+UZn6rNuWVDpVs0jdQbh\n5R8UQi91Eu/AwYIGp+4r8irZHrd9YIxg5KLHFS0MY0YDCZUNP/Mx7eRg4ZO1\nHOg3jbIdtcLXE1EsUwes0FAla5mImV+lvNTFu8lLdvxvkF+1IL78oZxsBxvl\nkRvFkp9kXaZ1PNnnr2NC9S+TDN3+4Zv65lPYbprYkpTB0Kz/uD4ThNval8t0\nm8JD\r\n=etNZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/persist-attribution.min.js","types":"./dist/persist-attribution.d.ts","readme":"# @builder.io/persist-attribution\n\nPersist attribution info between visits.\n\nThis package is intended to be published to NPM and used with a JS delivery CDN, so it can be included in any of our sites with a simple script tag.\n\n# Developing\n\nRun tests with:\n```shell\nenv NODE_OPTIONS=--experimental-vm-modules yarn test\n```\n\n# Publishing\n\n(TODO)\n\n# Usage in sites\n\n(TODO)\n","browser":"./dist/persist-attribution.min.js","scripts":{"dev":"tsc","test":"yarn run clean && jest && yarn run clean","build":"cross-env NODE_ENV=production rollup -c","clean":"rm -rf dist/*","format":"prettier --write rollup.config.js jest.config.js ./src/","tslint":"tslint --project .","// build":"yarn run dev && uglifyjs ./dist/@builder.io/persist-attribution.js -o ./dist/@builder.io/persist-attribution.min.js","dev:watch":"nodemon --exec 'yarn run dev || exit 1'","prepublish":"yarn clean && yarn build","test:coverage":"yarn run clean && jest --coverage && yarn run clean"},"_npmUser":{"name":"mandx","email":"gmandx@gmail.com"},"prettier":{"tabWidth":2,"printWidth":110,"singleQuote":true,"trailingComma":"all"},"description":"Persist attribution info between visits","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2018 armando@builder.io\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","dependencies":{"tslib":"^2.3.1","rollup":"^2.67.2","prettier":"^2.5.1","cross-env":"^7.0.3","typescript-cookie":"^1.0.3","rollup-plugin-uglify":"^6.0.4","@rollup/plugin-replace":"^3.1.0","@rollup/plugin-commonjs":"^21.0.1","@rollup/plugin-typescript":"^8.3.0","@rollup/plugin-node-resolve":"^13.1.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^27.5.1","nodemon":"^2.0.15","ts-jest":"^27.1.3","uglify-js":"^3.4.9","typescript":"^4.5.5","@types/jest":"^27.4.0"},"_npmOperationalInternal":{"tmp":"tmp/persist-attribution_0.0.1-alpha-4_1645037716604_0.4730336794303931","host":"s3://npm-registry-packages"}},"0.0.1-beta-1":{"name":"@builder.io/persist-attribution","version":"0.0.1-beta-1","author":{"name":"armando@builder.io"},"license":"MIT","_id":"@builder.io/persist-attribution@0.0.1-beta-1","maintainers":[{"name":"shyam-builder","email":"shyam@builder.io"},{"name":"manucorporat","email":"manu.mtza@gmail.com"},{"name":"steve8708","email":"sewell.steve@gmail.com"},{"name":"samijaber","email":"jabersami@gmail.com"},{"name":"caleb.amsden","email":"caleb@builder.io"},{"name":"teleaziz123","email":"aziz@builder.io"},{"name":"mrkoreye","email":"korey@builder.io"},{"name":"mandx","email":"gmandx@gmail.com"},{"name":"dkendal","email":"dylan@builder.io"},{"name":"mhevery","email":"misko@hevery.com"},{"name":"adamdbradley","email":"adam@builder.io"}],"dist":{"shasum":"fd590071be2089eb493d7b1cc17417ea1209a274","tarball":"https://registry.npmjs.org/@builder.io/persist-attribution/-/persist-attribution-0.0.1-beta-1.tgz","fileCount":27,"integrity":"sha512-/jk335V/kP2Y7ZGv1rHdnxTMWyY5ahuEVTh9S5legS3M30tTalnpnktAD4rfG8uFKprSUVzN3pEivN5AGYKSfQ==","signatures":[{"sig":"MEQCICcW0xuV2y0hYIi1H0TIKKbFh02rEid7FslhrbaYA3OMAiBkLDIbOi4FXgkwwm2mwoRLfTbRKClWZlo2WLrBIH5yIw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":121161,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiFWNcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqQlg/+P7betBdWClTuD3xtqit5UnCOv/0Zhj5uTGALWFrr1K/pzXA8\r\nfXbWyvb+9YbSWCf2ZG5P5vc6gGRufW0JXtPaPDQWcvJTByTb/VtaMl4BWcDl\r\n5o+92Z5lx1CBJOlvsOpew7OIfY1fpWHxgUd3OAtVnLyV1Ex1dGTmiTFBqRKm\r\naDC1xjvqgykGG4xcJrjI/6Wsgohb+sv2XzDmJJJKIH2q+PES5wxP+5QRlg/M\r\nF+vuRytnoN+eUa/61CyCQ8jORhEDzqCWi5vryioVgZwb8Zli3zQ5tYZH4ohO\r\n1UjAPmAuYMHpvaymsX3I0IZ51G0rijiRoRZ4oidR+xDT7hyDFIC5pUZmS9wQ\r\n10A3eWWbshpHJ2rMSpDxdcJfxJmqiWjKICvl38wE9EAHRge74acX62NE4sls\r\nZStBYJWm/hpbOhZhtxS0bOgVgFtUBwzoCXiNw0wVYKZjYlteAisiUr0bzRDm\r\nLR+BWjU2rM653A1u09+Km9JoDduirFnKZaYzwIhl8B5ghNTO+lB5/aopDPY9\r\nujyH8CPOc2TLnWzqC0shH15cM+1F2/LkQyrrzXvzW/1qg3G3b9bYmwdWbgoT\r\nVIHQSlvxrBVmE46dqcMVm7MwQlIN1548pVfdfyXve/tSTDVrHw7/aKqvXBH1\r\nf0Xhck1I+wgN9oeL4bt/71oW0ed49rWLYic=\r\n=sSGF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/persist-attribution.min.js","types":"./dist/persist-attribution.d.ts","browser":"./dist/persist-attribution.min.js","scripts":{"dev":"tsc","test":"yarn run clean && yarn test-run && yarn run clean","build":"cross-env NODE_ENV=production rollup -c","clean":"rm -rf dist/*","format":"prettier --write rollup.config.js jest.config.js ./src/","test:ci":"yarn test-run","test-run":"cross-env NODE_OPTIONS=--experimental-vm-modules jest","dev:watch":"nodemon --exec 'yarn run dev || exit 1'","prepublish":"yarn clean && yarn build","test:coverage":"yarn run clean && yarn test-run-coverage && yarn run clean","test-run-coverage":"cross-env NODE_OPTIONS=--experimental-vm-modules jest --coverage"},"_npmUser":{"name":"mandx","email":"gmandx@gmail.com"},"prettier":{"tabWidth":2,"printWidth":110,"singleQuote":true,"trailingComma":"all"},"description":"Persist attribution info between visits","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2018 armando@builder.io\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","dependencies":{"tslib":"^2.3.1","rollup":"^2.67.3","prettier":"^2.5.1","cross-env":"^7.0.3","uglify-js":"^3.4.9","typescript":"^4.5.5","typescript-cookie":"^1.0.3","rollup-plugin-uglify":"^6.0.4","@rollup/plugin-replace":"^3.1.0","@rollup/plugin-commonjs":"^21.0.1","@rollup/plugin-typescript":"^8.3.0","@rollup/plugin-node-resolve":"^13.1.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.5.1","nodemon":"^2.0.15","ts-jest":"^27.1.3","@types/jest":"^27.4.0"},"_npmOperationalInternal":{"tmp":"tmp/persist-attribution_0.0.1-beta-1_1645568860013_0.4052083482726183","host":"s3://npm-registry-packages"}},"0.0.1-beta-2":{"name":"@builder.io/persist-attribution","version":"0.0.1-beta-2","author":{"name":"armando@builder.io"},"license":"MIT","_id":"@builder.io/persist-attribution@0.0.1-beta-2","maintainers":[{"name":"sanyamkamat","email":"sanyamkamat@gmail.com"},{"name":"shyam-builder","email":"shyam@builder.io"},{"name":"manucorporat","email":"manu.mtza@gmail.com"},{"name":"steve8708","email":"sewell.steve@gmail.com"},{"name":"samijaber","email":"jabersami@gmail.com"},{"name":"caleb.amsden","email":"caleb@builder.io"},{"name":"teleaziz123","email":"aziz@builder.io"},{"name":"mrkoreye","email":"korey@builder.io"},{"name":"mandx","email":"gmandx@gmail.com"},{"name":"dkendal","email":"dylan@builder.io"},{"name":"mhevery","email":"misko@hevery.com"},{"name":"adamdbradley","email":"adam@builder.io"}],"dist":{"shasum":"bfa021827dff65a40dcb10099740d3a43c20bc26","tarball":"https://registry.npmjs.org/@builder.io/persist-attribution/-/persist-attribution-0.0.1-beta-2.tgz","fileCount":12,"integrity":"sha512-0R7jXKPzpU9jd8/t9UCbV93jS/eazl7y31LLuKHSFsxEvmOyK1hqrO2UL0UUdgYWdOhDXwMH7Nj1a09JHWzLwg==","signatures":[{"sig":"MEQCIA3ermv4y9X3jCCTEsUlRKSqzLMOrsRTh234hP+9jlEsAiBcbZV+JdhZf2y9PSw4bl441A9/aeKPRZDZ/9S81Ka4dw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":46456,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiRgSoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoNvw/+P1uh2zF7APd7WMpajJrCpeucWjNjIkJfCZUTkChuHFyLQOrZ\r\nsZ5zd+ngpCsigN3XE5AAnY4dT2vMFJRueY90cvw/hPr4ZpMe9J1e7T5bFApX\r\n94G4l14zVP19hJB5n4VRpcxR68hQslhNTQxzbJhnHZev4lZmtaZ0pSD2/NqT\r\nZbI1YhIB7zrvIvOIL+bwA4pZ/m56RlDV1kZchXlHh2VlWbVdejx339ykOfHH\r\nSHjCPhtBy9yE3lEszNudqNmzbVHmgGKyKM0AywYCO0ZihSn6cTiW+XCb0SHk\r\nzvVlZANBp9Cb8aNTXqWWyxncoyEmazwyv6XcCO8SPdAdpStLU+pFtT6mcRi9\r\nSV/FWdQu9qEJwxaG9ix8HX7JdQZmQjZix1UGLF38RHQmjP9gdhazLmvN8D9x\r\nydOLNdSOnVBdWLuijqdHTiYfDTCLsVBdMCQW8Ux/dRuDX51k8sLm7Jj+BRCg\r\nC4pF/gNWjTqejghTZUwurHwyh92DNiXDk+KGuSeH9NIx/MTgHH/UBgxmvWni\r\nNN+LTxYxYuASI7iRDt4ouxrtYXT81ZKm5u2tLFuRK7oUt9FtZwnqQm24onrj\r\n45b4M1PnOzJC1wWYHNnS2t4VryPSNQ4MXhui9z1rKXykv7ftooxgkj7uvziI\r\ngAeU++3Qd48nGUOzwqy9Rg2oKJChXecRLvs=\r\n=YBKg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/persist-attribution.min.js","types":"./dist/persist-attribution.d.ts","browser":"./dist/persist-attribution.min.js","scripts":{"dev":"tsc","test":"yarn run clean && yarn test-run && yarn run clean","build":"cross-env NODE_ENV=production rollup -c","clean":"rm -rf dist/*","format":"prettier --write rollup.config.js jest.config.js ./src/","test:ci":"yarn run cross-env NODE_OPTIONS=--experimental-vm-modules jest --color --runInBand","test-run":"cross-env NODE_OPTIONS=--experimental-vm-modules jest","dev:watch":"nodemon --exec 'yarn run dev || exit 1'","test:coverage":"yarn run clean && yarn test-run-coverage && yarn run clean","prepublishOnly":"yarn clean && yarn build","test-run-coverage":"cross-env NODE_OPTIONS=--experimental-vm-modules jest --coverage"},"_npmUser":{"name":"mandx","email":"gmandx@gmail.com"},"prettier":{"tabWidth":2,"printWidth":110,"singleQuote":true,"trailingComma":"all"},"description":"Persist attribution info between visits","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2018 armando@builder.io\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","dependencies":{"tslib":"^2.3.1","rollup":"^2.67.3","prettier":"^2.5.1","cross-env":"^7.0.3","uglify-js":"^3.4.9","typescript":"^4.5.5","typescript-cookie":"^1.0.3","rollup-plugin-uglify":"^6.0.4","@rollup/plugin-replace":"^3.1.0","@rollup/plugin-commonjs":"^21.0.1","@rollup/plugin-typescript":"^8.3.0","@rollup/plugin-node-resolve":"^13.1.3"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.5.1","nodemon":"^2.0.15","ts-jest":"^27.1.3","@types/jest":"^27.4.0"},"_npmOperationalInternal":{"tmp":"tmp/persist-attribution_0.0.1-beta-2_1648755880798_0.9382840546343205","host":"s3://npm-registry-packages"}}},"time":{"created":"2022-02-15T22:28:24.004Z","modified":"2026-09-09T09:16:37.628Z","0.0.1-alpha-1":"2022-02-15T22:28:24.133Z","0.0.1-alpha-2":"2022-02-16T03:53:24.899Z","0.0.1-alpha-3":"2022-02-16T04:14:48.254Z","0.0.1-alpha-4":"2022-02-16T18:55:16.766Z","0.0.1-beta-1":"2022-02-22T22:27:40.229Z","0.0.1-beta-2":"2022-03-31T19:44:40.968Z"},"author":{"name":"armando@builder.io"},"license":"MIT","description":"Persist attribution info between visits","maintainers":[{"email":"sewell.steve@gmail.com","name":"steve8708"},{"email":"jabersami@gmail.com","name":"samijaber"},{"email":"aziz@builder.io","name":"teleaziz123"},{"email":"korey@builder.io","name":"mrkoreye"},{"email":"misko@hevery.com","name":"mhevery"},{"email":"gustavo@builder.io","name":"gustavohgs"},{"email":"manu.mtza@gmail.com","name":"manucorporat"},{"email":"sanyamkamat@gmail.com","name":"sanyamkamat"},{"email":"benjamingirone@gmail.com","name":"bengirone"},{"email":"kyle.e.fowler@gmail.com","name":"kylefowler"},{"email":"builder-bot@builder.io","name":"builderio-bot"},{"email":"armela@builder.io","name":"armela"},{"email":"aishwaryaparab1@gmail.com","name":"aishwarya_parab"},{"email":"emma@builder.io","name":"emmaac"},{"email":"sidmohanty11@gmail.com","name":"sidmohanty11"},{"email":"jcortese@builder.io","name":"jcortesebuilder"},{"email":"vishwas@builder.io","name":"vishwasgopinath"},{"email":"nicholas@builder.io","name":"nicholaskipchumba"},{"email":"shridharmaskeri@gmail.com","name":"floating_dynamo"},{"email":"lautarogalarza@gmail.com","name":"lihuelg"},{"email":"felfelahmeed@gmail.com","name":"paprikaf"},{"email":"pabloelisseo@gmail.com","name":"pabloelisseo"},{"email":"ldebeasi@gmail.com","name":"liamdebeasi"}],"readme":"# @builder.io/persist-attribution\n\nPersist attribution info between visits.\n\nThis package is intended to be published to NPM and used with a JS delivery CDN, so it can be included in any of our sites with a simple script tag.\n\n# Developing\n\nRun tests with:\n```shell\nyarn test\n```\n\n# Publishing\n\n(TODO)\n\n# Usage in sites\n\nInclude this script tag in your HTML:\n\n```html \n<script src=\"//cdn.jsdelivr.net/npm/@builder.io/persist-attribution@latest/dist/persist-attribution.min.js\" async defer></script>\n```\n\nYou coul also change `persist-attribution@latest` with `persist-attribution@0.1.3` (for example) to explicitly use version `0.1.3` of this script.\n\nBy default, that will:\n\n* Persist as cookies most `utm_*` query params in the current `window.location` (configurable with `data-persist-utms`): \n* Persist as cookie the visitor ID assigned to this session (cookie is only written if it doesn't exist) (configurable with `data-persist-visitor-id`):\n* Persist as cookie the current value of `document.referrer` (configurable with `data-persist-referrer`): \n* Persist as cookie the current value of `document.referrer` as \"initial referrer\" if the corresponding cookie is not send. (configurable with `data-persist-initial-referrer`):\n\nAll those options are enabled by default (`true`). There's another configurable option named `data-send-page-view-events` (disabled by default) that when enabled will send `pageView` events to our internal analytics endpoint. However it will only send events if there's a visitor ID (cookie) already present, so most likely you will need `data-persist-visitor-id` to be `true` as well.\n\nFor example, let's say we only care about pageView events (we don't care about `utm_*` stuff) we would tweak the script tag like:\n\n```html \n<script\n  src=\"//cdn.jsdelivr.net/npm/@builder.io/persist-attribution@latest/dist/persist-attribution.min.js\"\n  async\n  defer\n\n  id=\"persist-attribution-init\"\n\n  data-persist-visitor-id=\"true\"\n  data-send-page-view-events=\"true\"\n\n  data-persist-utms=\"false\"\n  data-persist-visitor-id=\"false\"\n  data-persist-referrer=\"false\"\n  data-persist-initial-referrer=\"false\"\n></script>\n```\n\nNote that `id=\"persist-attribution-init\"` is _required_ for configuration to work; the code will look for the HTML element with this ID and read the `data-*` attributes from it. If no element with this ID is found the default config will be used. Using an `id` attribute is necessary so we can define configuration using `data-*` attributes on the same element AND also being able to use `async` and `defer`.\n","readmeFilename":"README.md"}