{"_id":"@didomi/vega-sdk","_rev":"6-4eec4b1b2479294451df917b242e7ae4","name":"@didomi/vega-sdk","dist-tags":{"latest":"0.3.0"},"versions":{"0.0.2":{"name":"@didomi/vega-sdk","version":"0.0.2","keywords":["didomi","privacy","consent","vega","tv","sdk","cmp","amazon"],"author":{"name":"Didomi"},"license":"MIT","_id":"@didomi/vega-sdk@0.0.2","maintainers":[{"name":"jawadst","email":"jawad.stouli@gmail.com"},{"name":"maximeplancke","email":"maxime.plancke@didomi.io"},{"name":"hernan.onzalo.didomi","email":"hernan.onzalo@didomi.io"},{"name":"felipe.saez","email":"felipe.saez@didomi.io"},{"name":"sergei.sevriugin","email":"sergei.sevriugin@didomi.io"},{"name":"nicolas.chaix-didomi","email":"nicolas.chaix@didomi.io"},{"name":"edgardo-rodriguez","email":"edgardo.rodriguez@didomi.io"}],"dist":{"shasum":"098ce23fa11cd4cc39b15159e855e642a47c79da","tarball":"https://registry.npmjs.org/@didomi/vega-sdk/-/vega-sdk-0.0.2.tgz","fileCount":24,"integrity":"sha512-k6U//aD7wa0I/DCLjfzboegaNG4chy3l4n6iu4hEAH3EVu5L25t7saIBXAbHi7QUHRYzOL8HEPkUkrd8bZnLVw==","signatures":[{"sig":"MEQCIBmBJN+lhC4yDHlmLLwidXVgwFdhxORZMmCyNl3mPjaPAiBnGz+ndeKLzDBdEpLDLZi3mPZi+JlS/vtUthMzLXP/Ng==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":75239},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"fcf2cd6adf6e7ecfc1bec95b70b11e630316c194","scripts":{"lint":"eslint src --ext .ts,.tsx","test":"vitest run","build":"tsc -p tsconfig.build.json","start":"DIDOMI_SDK_BASE_URL=http://localhost:3000 && tsc --watch","release":"npm run deploy-assets","test:ui":"vitest --ui","lint:fix":"eslint src --ext .ts,.tsx --fix","test:watch":"vitest","test:legacy":"jest --colors --passWithNoTests","serve-assets":"npx serve assets","deploy-assets":"node scripts/deploy-assets.js","test:coverage":"vitest run --coverage","test:snapshot":"jest --colors --updateSnapshot"},"_npmUser":{"name":"hernan.onzalo.didomi","email":"hernan.onzalo@didomi.io"},"_npmVersion":"10.8.2","description":"Didomi SDK for Vega TV platform","directories":{},"_nodeVersion":"18.20.7","dependencies":{"@aws-sdk/client-s3":"^3.427.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^28.0.0","jsdom":"^26.1.0","serve":"^14.2.1","eslint":"^8.12.0","vitest":"^3.1.1","ts-jest":"^28.0.0","mustache":"^4.2.0","prettier":"^2.6.2","babel-jest":"^28.0.0","typescript":"4.8.4","@types/jest":"^28.0.0","@types/node":"^22.14.1","npm-run-all":"^4.1.5","@types/react":"^18.0.24","react-test-renderer":"18.2.0","@testing-library/dom":"^10.4.0","@testing-library/react":"13.4.0","@vitest/coverage-istanbul":"^3.1.1","@react-native/metro-config":"^0.72.6","@types/react-test-renderer":"^18.0.0","@react-native-community/cli":"11.3.2","@react-native/eslint-config":"0.72.2","@testing-library/react-native":"^7.2.0","metro-react-native-babel-preset":"^0.76.5","@typescript-eslint/eslint-plugin":"^5.30.0","@amazon-devices/kepler-cli-platform":"0.21.2"},"peerDependencies":{"react":">=18.0.0 <=18.2.0","react-dom":">=18.0.0 <=18.2.0","react-native":"^0.72.0","@amazon-devices/webview":"3.3.1769932800","@amazon-devices/react-native-kepler":"2.0.1758683737"},"_npmOperationalInternal":{"tmp":"tmp/vega-sdk_0.0.2_1759322902178_0.9401170715937603","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"@didomi/vega-sdk","version":"0.1.0","keywords":["didomi","privacy","consent","vega","tv","sdk","cmp","amazon"],"author":{"name":"Didomi"},"license":"MIT","_id":"@didomi/vega-sdk@0.1.0","maintainers":[{"name":"jawadst","email":"jawad.stouli@gmail.com"},{"name":"maximeplancke","email":"maxime.plancke@didomi.io"},{"name":"hernan.onzalo.didomi","email":"hernan.onzalo@didomi.io"},{"name":"felipe.saez","email":"felipe.saez@didomi.io"},{"name":"sergei.sevriugin","email":"sergei.sevriugin@didomi.io"},{"name":"nicolas.chaix-didomi","email":"nicolas.chaix@didomi.io"},{"name":"edgardo-rodriguez","email":"edgardo.rodriguez@didomi.io"}],"dist":{"shasum":"1ba331e2b6cc212136c4691e69d6e0558c43f2cb","tarball":"https://registry.npmjs.org/@didomi/vega-sdk/-/vega-sdk-0.1.0.tgz","fileCount":24,"integrity":"sha512-m7BwNtVEGNfpa7R1iwS0cnOEQYNIRqxqTVgnkTrPSRrGdksJPZ9tKwvrgxNQckmymN5tBmJ5Kb2FletDMVg4pw==","signatures":[{"sig":"MEUCIQCktWLd9noXswhAswRFxFns6q/kHwgUIxlZ0XEY2CBgbQIgPvCvzmj2DyjMvW7bS/tDKGfVEsiYJ9QL337QIXAmeAs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":75642},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"1caaec4eb327bc926b6bca19a8ab4583404f993b","scripts":{"lint":"eslint src --ext .ts,.tsx","test":"vitest run && jest --config jest.config.json --colors --passWithNoTests","build":"tsc -p tsconfig.build.json","start":"DIDOMI_SDK_BASE_URL=http://localhost:3000 && tsc --watch","release":"npm run deploy-assets","test:ui":"vitest --ui","lint:fix":"eslint src --ext .ts,.tsx --fix","test:watch":"vitest","test:legacy":"jest --colors --passWithNoTests","serve-assets":"npx serve assets","deploy-assets":"node scripts/deploy-assets.js","test:coverage":"vitest run --coverage","test:snapshot":"jest --colors --updateSnapshot"},"_npmUser":{"name":"GitLab CI/CD","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"gitlab","oidcConfigId":"oidc:989bb614-4822-4ead-a537-3866f017cd41"}},"_npmVersion":"11.12.1","description":"Didomi SDK for Vega TV platform","directories":{},"_nodeVersion":"24.15.0","dependencies":{"@aws-sdk/client-s3":"3.1035.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^30.3.0","jsdom":"^29.0.1","serve":"14.2.6","vitest":"^4.1.1","ts-jest":"^29.4.6","mustache":"^4.2.0","babel-jest":"^30.3.0","typescript":"5.9.3","@types/jest":"^30.0.0","@types/node":"^25.5.0","npm-run-all":"^4.1.5","@types/react":"^18.0.24","react-test-renderer":"18.2.0","@testing-library/dom":"^10.4.1","@testing-library/react":"16.3.2","@vitest/coverage-istanbul":"^4.1.1","@react-native/metro-config":"^0.72.6","@types/react-test-renderer":"^18.0.0","@react-native-community/cli":"11.3.2","@react-native/eslint-config":"0.72.2","@testing-library/react-native":"^13.3.3","metro-react-native-babel-preset":"^0.76.5","@amazon-devices/kepler-cli-platform":"0.21.2"},"peerDependencies":{"react":">=18.0.0 <=18.2.0","react-dom":">=18.0.0 <=18.2.0","react-native":"^0.72.0","@amazon-devices/webview":"3.3.1769932800","@amazon-devices/react-native-kepler":"2.0.1758683737"},"_npmOperationalInternal":{"tmp":"tmp/vega-sdk_0.1.0_1776946287061_0.18289585636211037","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@didomi/vega-sdk","version":"0.2.0","keywords":["didomi","privacy","consent","vega","tv","sdk","cmp","amazon"],"author":{"name":"Didomi"},"license":"MIT","_id":"@didomi/vega-sdk@0.2.0","maintainers":[{"name":"jawadst","email":"jawad.stouli@gmail.com"},{"name":"maximeplancke","email":"maxime.plancke@didomi.io"},{"name":"hernan.onzalo.didomi","email":"hernan.onzalo@didomi.io"},{"name":"felipe.saez","email":"felipe.saez@didomi.io"},{"name":"sergei.sevriugin","email":"sergei.sevriugin@didomi.io"},{"name":"nicolas.chaix-didomi","email":"nicolas.chaix@didomi.io"},{"name":"edgardo-rodriguez","email":"edgardo.rodriguez@didomi.io"}],"dist":{"shasum":"d3f57b0cf90c22e6ffbfd304fa58ab1443f60768","tarball":"https://registry.npmjs.org/@didomi/vega-sdk/-/vega-sdk-0.2.0.tgz","fileCount":24,"integrity":"sha512-9krXgyYkZsUxlnhSSDOlqAyNPH3Pu32xTzNKT+jI/Tzo7IH489FqaPQfm1i1GXhTy4waXo/bt2AYpAcryzDAFA==","signatures":[{"sig":"MEYCIQDBrjb8CgXwf+sVVKVjE3QT2IZMz3TmizcdzopuRt5KtAIhAOrUzeXewaQ76SSZNZotEugNQevzaruoGWaZiQq3eXl3","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":82800},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"c7d59e6b1b4cc7f6674ae95d77d5c3ae44b84d6e","scripts":{"lint":"eslint src --ext .ts,.tsx","test":"vitest run && jest --config jest.config.json --colors --passWithNoTests","build":"tsc -p tsconfig.build.json","start":"DIDOMI_SDK_BASE_URL=http://localhost:3000 && tsc --watch","release":"npm run deploy-assets","test:ui":"vitest --ui","lint:fix":"eslint src --ext .ts,.tsx --fix","test:watch":"vitest","test:legacy":"jest --colors --passWithNoTests","serve-assets":"npx serve assets","deploy-assets":"node scripts/deploy-assets.js","test:coverage":"vitest run --coverage","test:snapshot":"jest --colors --updateSnapshot"},"_npmUser":{"name":"hernan.onzalo.didomi","email":"hernan.onzalo@didomi.io"},"_npmVersion":"10.8.2","description":"Didomi SDK for Vega TV platform","directories":{},"_nodeVersion":"18.20.7","dependencies":{"@aws-sdk/client-s3":"3.1035.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^30.3.0","jsdom":"^29.0.1","serve":"14.2.6","vitest":"^4.1.1","ts-jest":"^29.4.6","mustache":"^4.2.0","babel-jest":"^30.3.0","typescript":"5.9.3","@types/jest":"^30.0.0","@types/node":"^25.5.0","npm-run-all":"^4.1.5","@types/react":"^18.0.24","react-test-renderer":"18.2.0","@testing-library/dom":"^10.4.1","@testing-library/react":"16.3.2","@vitest/coverage-istanbul":"^4.1.1","@react-native/metro-config":"^0.72.6","@types/react-test-renderer":"^18.0.0","@react-native-community/cli":"11.3.2","@react-native/eslint-config":"0.72.2","@testing-library/react-native":"^13.3.3","metro-react-native-babel-preset":"^0.76.5","@amazon-devices/kepler-cli-platform":"0.21.2"},"peerDependencies":{"react":">=18.0.0 <=18.2.0","react-dom":">=18.0.0 <=18.2.0","react-native":"^0.72.0","@amazon-devices/webview":"3.3.1769932800","@amazon-devices/react-native-kepler":"2.0.1758683737"},"_npmOperationalInternal":{"tmp":"tmp/vega-sdk_0.2.0_1778072422772_0.9383307342161535","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@didomi/vega-sdk","version":"0.2.1","keywords":["didomi","privacy","consent","vega","tv","sdk","cmp","amazon"],"author":{"name":"Didomi"},"license":"MIT","_id":"@didomi/vega-sdk@0.2.1","maintainers":[{"name":"jawadst","email":"jawad.stouli@gmail.com"},{"name":"maximeplancke","email":"maxime.plancke@didomi.io"},{"name":"hernan.onzalo.didomi","email":"hernan.onzalo@didomi.io"},{"name":"felipe.saez","email":"felipe.saez@didomi.io"},{"name":"sergei.sevriugin","email":"sergei.sevriugin@didomi.io"},{"name":"nicolas.chaix-didomi","email":"nicolas.chaix@didomi.io"},{"name":"edgardo-rodriguez","email":"edgardo.rodriguez@didomi.io"}],"dist":{"shasum":"fe8ef61edeaf156872419381a83fe0ed375956d3","tarball":"https://registry.npmjs.org/@didomi/vega-sdk/-/vega-sdk-0.2.1.tgz","fileCount":24,"integrity":"sha512-iqaDv3jShMBxwou1VqsX+NbzsHShOea8jUhWDpwVRPLB1R8dYKus0DwgXhe3PEGiPU64s5KIh1iAiecNm32eeQ==","signatures":[{"sig":"MEUCIQDp1LLHR7CpUEJ50UrjZJ97a0cpxkOtu1ZnZnevMPuXuwIgfZ+HrFP3BH6i5kFoy01Jiwcdm2cxDbgNMoM/G0RjP4g=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":82758},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"10feb0f8ddedbe8d11ddbfe6a6ea35afad87a230","scripts":{"lint":"eslint src --ext .ts,.tsx","test":"vitest run && jest --config jest.config.json --colors --passWithNoTests","build":"tsc -p tsconfig.build.json","start":"DIDOMI_SDK_BASE_URL=http://localhost:3000 && tsc --watch","release":"npm run deploy-assets","test:ui":"vitest --ui","lint:fix":"eslint src --ext .ts,.tsx --fix","test:watch":"vitest","test:legacy":"jest --colors --passWithNoTests","serve-assets":"npx serve assets","deploy-assets":"node scripts/deploy-assets.js","test:coverage":"vitest run --coverage","test:snapshot":"jest --colors --updateSnapshot"},"_npmUser":{"name":"GitLab CI/CD","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"gitlab","oidcConfigId":"oidc:989bb614-4822-4ead-a537-3866f017cd41"}},"_npmVersion":"11.13.0","description":"Didomi SDK for Vega TV platform","directories":{},"_nodeVersion":"24.16.0","dependencies":{"@aws-sdk/client-s3":"3.1035.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^30.3.0","jsdom":"^29.0.1","serve":"14.2.6","vitest":"^4.1.1","ts-jest":"^29.4.6","mustache":"^4.2.0","babel-jest":"^30.3.0","typescript":"5.9.3","@types/jest":"^30.0.0","@types/node":"^25.5.0","npm-run-all":"^4.1.5","@types/react":"^18.0.24","react-test-renderer":"18.2.0","@testing-library/dom":"^10.4.1","@testing-library/react":"16.3.2","@vitest/coverage-istanbul":"^4.1.1","@react-native/metro-config":"^0.72.6","@types/react-test-renderer":"^18.0.0","@react-native-community/cli":"11.3.2","@react-native/eslint-config":"0.72.2","@testing-library/react-native":"^13.3.3","metro-react-native-babel-preset":"^0.76.5","@amazon-devices/kepler-cli-platform":"0.21.2"},"peerDependencies":{"react":">=18.0.0 <=18.2.0","react-dom":">=18.0.0 <=18.2.0","react-native":"^0.72.0","@amazon-devices/webview":"3.3.1769932800","@amazon-devices/react-native-kepler":"2.0.1758683737"},"_npmOperationalInternal":{"tmp":"tmp/vega-sdk_0.2.1_1779442261114_0.9850866460540886","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@didomi/vega-sdk","version":"0.2.2","keywords":["didomi","privacy","consent","vega","tv","sdk","cmp","amazon"],"author":{"name":"Didomi"},"license":"MIT","_id":"@didomi/vega-sdk@0.2.2","maintainers":[{"name":"jawadst","email":"jawad.stouli@gmail.com"},{"name":"maximeplancke","email":"maxime.plancke@didomi.io"},{"name":"hernan.onzalo.didomi","email":"hernan.onzalo@didomi.io"},{"name":"felipe.saez","email":"felipe.saez@didomi.io"},{"name":"sergei.sevriugin","email":"sergei.sevriugin@didomi.io"},{"name":"nicolas.chaix-didomi","email":"nicolas.chaix@didomi.io"},{"name":"edgardo-rodriguez","email":"edgardo.rodriguez@didomi.io"}],"dist":{"shasum":"0b50ac5706af788e2568e953a15f3e836f3cb1a8","tarball":"https://registry.npmjs.org/@didomi/vega-sdk/-/vega-sdk-0.2.2.tgz","fileCount":24,"integrity":"sha512-57Hmcsnl+kX+QFHu0H6fj+A2q8H6QShfALdQ/qCzlPBBvf/UvA5sOW9y3YHWvhUgGSqdnZkpbI5mPjHISrVX1g==","signatures":[{"sig":"MEQCIBrj53kmx4vtZytY5v226KSUnWLi9nW4pK7Izl5T68f7AiApIX8RWDny7TlchwQgwOiALi00YvCWs1KPwOPYfKLl2A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":83180},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"2ec66968e558670271c2344458771b5211c969df","scripts":{"lint":"eslint src --ext .ts,.tsx","test":"vitest run && jest --config jest.config.json --colors --passWithNoTests","build":"tsc -p tsconfig.build.json","start":"DIDOMI_SDK_BASE_URL=http://localhost:3000 && tsc --watch","release":"npm run deploy-assets","test:ui":"vitest --ui","lint:fix":"eslint src --ext .ts,.tsx --fix","test:watch":"vitest","test:legacy":"jest --colors --passWithNoTests","serve-assets":"npx serve assets","deploy-assets":"node scripts/deploy-assets.js","test:coverage":"vitest run --coverage","test:snapshot":"jest --colors --updateSnapshot"},"_npmUser":{"name":"GitLab CI/CD","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"gitlab","oidcConfigId":"oidc:989bb614-4822-4ead-a537-3866f017cd41"}},"_npmVersion":"11.16.0","description":"Didomi SDK for Vega TV platform","directories":{},"_nodeVersion":"24.18.0","dependencies":{"@aws-sdk/client-s3":"3.1035.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^30.3.0","jsdom":"^29.0.1","serve":"14.2.6","vitest":"^4.1.1","ts-jest":"^29.4.6","mustache":"^4.2.0","babel-jest":"^30.3.0","typescript":"5.9.3","@types/jest":"^30.0.0","@types/node":"^25.5.0","npm-run-all":"^4.1.5","@types/react":"^18.0.24","react-test-renderer":"18.2.0","@testing-library/dom":"^10.4.1","@testing-library/react":"16.3.2","@vitest/coverage-istanbul":"^4.1.1","@react-native/metro-config":"^0.72.6","@types/react-test-renderer":"^18.0.0","@react-native-community/cli":"11.3.2","@react-native/eslint-config":"0.72.2","@testing-library/react-native":"^13.3.3","metro-react-native-babel-preset":"^0.76.5","@amazon-devices/kepler-cli-platform":"0.21.2"},"peerDependencies":{"react":">=18.0.0 <=18.2.0","react-dom":">=18.0.0 <=18.2.0","react-native":"^0.72.0","@amazon-devices/webview":"3.3.1769932800","@amazon-devices/react-native-kepler":"2.0.1758683737"},"_npmOperationalInternal":{"tmp":"tmp/vega-sdk_0.2.2_1782388171012_0.9467771539158947","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@didomi/vega-sdk","version":"0.3.0","main":"dist/index.js","types":"dist/index.d.ts","description":"Didomi SDK for Vega TV platform","keywords":["didomi","privacy","consent","vega","tv","sdk","cmp","amazon"],"author":{"name":"Didomi"},"license":"MIT","publishConfig":{"registry":"https://registry.npmjs.org/","access":"public"},"scripts":{"start":"DIDOMI_SDK_BASE_URL=http://localhost:3000 && tsc --watch","test":"vitest run && jest --config jest.config.json --colors --passWithNoTests","test:watch":"vitest","test:coverage":"vitest run --coverage","test:ui":"vitest --ui","test:legacy":"jest --colors --passWithNoTests","test:snapshot":"jest --colors --updateSnapshot","lint":"eslint src --ext .ts,.tsx","lint:fix":"eslint src --ext .ts,.tsx --fix","build":"tsc -p tsconfig.build.json","serve-assets":"npx serve assets","deploy-assets":"node scripts/deploy-assets.js","release":"npm run deploy-assets"},"dependencies":{"@aws-sdk/client-s3":"3.1076.0"},"peerDependencies":{"react":">=18.0.0 <20.0.0","react-dom":">=18.0.0 <20.0.0","react-native":">=0.72.0 <0.84.0","@amazon-devices/react-native-kepler":">=4.0.0","@amazon-devices/webview":"~4.0.2"},"devDependencies":{"@amazon-devices/kepler-cli-platform":"0.22.14","@react-native-community/cli":"11.3.2","@react-native/babel-preset":"~0.83.0","@react-native/eslint-config":"~0.83.0","@react-native/metro-config":"~0.83.0","@testing-library/dom":"^10.4.1","@testing-library/react":"16.3.2","@testing-library/react-native":"^13.3.3","@types/jest":"^29.5.0","@types/node":"^25.5.0","@types/react":"^19.2.0","@types/react-test-renderer":"^19.1.0","@vitest/coverage-istanbul":"^4.1.1","babel-jest":"^29.6.3","jest":"^29.6.3","jsdom":"^29.0.1","mustache":"^4.2.0","npm-run-all":"^4.1.5","react-dom":"19.2.0","react-test-renderer":"19.2.0","serve":"14.2.6","ts-jest":"^29.1.0","typescript":"5.9.3","vitest":"^4.1.1"},"gitHead":"2c08959287c1e47211fa1283dc7a5e5539d3646d","_id":"@didomi/vega-sdk@0.3.0","_nodeVersion":"24.19.0","_npmVersion":"11.17.0","dist":{"integrity":"sha512-JRmyzibrwBV5elSg8N69x/M3+dPDp7UCwXXlelXHNRb107zBea68d01Ra7DWgO8THG2qDZlGTKdPH2+wHuFGFA==","shasum":"4ed035879933294ae031968b62b0aa8389803dc7","tarball":"https://registry.npmjs.org/@didomi/vega-sdk/-/vega-sdk-0.3.0.tgz","fileCount":24,"unpackedSize":82645,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBReY44L8IdCBew3kYSVabXfMun6egxOaKfFl6svxaAiAiAtzMuzlo6WutiWQc8f7n4LKff+eXsq5lMcdXMlInlNuQ=="}]},"_npmUser":{"name":"GitLab CI/CD","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"gitlab","oidcConfigId":"oidc:989bb614-4822-4ead-a537-3866f017cd41"}},"directories":{},"maintainers":[{"name":"jawadst","email":"jawad.stouli@gmail.com"},{"name":"maximeplancke","email":"maxime.plancke@didomi.io"},{"name":"hernan.onzalo.didomi","email":"hernan.onzalo@didomi.io"},{"name":"felipe.saez","email":"felipe.saez@didomi.io"},{"name":"sergei.sevriugin","email":"sergei.sevriugin@didomi.io"},{"name":"nicolas.chaix-didomi","email":"nicolas.chaix@didomi.io"},{"name":"edgardo-rodriguez","email":"edgardo.rodriguez@didomi.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/vega-sdk_0.3.0_1786726295099_0.8973618189968118"},"_hasShrinkwrap":false}},"time":{"created":"2025-10-01T12:48:22.072Z","modified":"2026-08-14T16:51:35.401Z","0.0.2":"2025-10-01T12:48:22.352Z","0.1.0":"2026-04-23T12:11:27.243Z","0.2.0":"2026-05-06T13:00:22.952Z","0.2.1":"2026-05-22T09:31:01.313Z","0.2.2":"2026-06-25T11:49:31.194Z","0.3.0":"2026-08-14T16:51:35.242Z"},"author":{"name":"Didomi"},"license":"MIT","keywords":["didomi","privacy","consent","vega","tv","sdk","cmp","amazon"],"description":"Didomi SDK for Vega TV platform","maintainers":[{"name":"jawadst","email":"jawad.stouli@gmail.com"},{"name":"maximeplancke","email":"maxime.plancke@didomi.io"},{"name":"hernan.onzalo.didomi","email":"hernan.onzalo@didomi.io"},{"name":"felipe.saez","email":"felipe.saez@didomi.io"},{"name":"sergei.sevriugin","email":"sergei.sevriugin@didomi.io"},{"name":"nicolas.chaix-didomi","email":"nicolas.chaix@didomi.io"},{"name":"edgardo-rodriguez","email":"edgardo.rodriguez@didomi.io"}],"readme":"# Didomi Vega SDK\n\nA Vega SDK for integrating Didomi's Consent Management Platform (CMP) with Amazon's Vega platform. This SDK enables applications to manage user consent for data collection and processing in compliance with privacy regulations.\n\n## Features\n\n- Display consent notices and preference dialogs\n- Collect and manage user consent choices\n- Synchronize consent data with Didomi servers\n- Support for various privacy regulations (GDPR, CCPA, etc.)\n- Comprehensive event handling for user interactions\n\n## Installation\n\n```bash\nnpm install @didomi/vega-sdk\n```\n\n## Peer Dependencies\n\nThis SDK has the following peer dependencies:\n\n- React (>=18.0.0 <=18.2.0)\n- React DOM (>=18.0.0 <=18.2.0)\n- React Native (^0.72.0)\n- @amazon-devices/react-native-vega (^2.0.0)\n- @amazon-devices/webview\n\nFor WebView: Update your app's `manifest.toml` file to include required services\n\n## Usage\n\n### Basic Integration\n\n```tsx\nimport { DidomiSDK, DidomiSDKAPI } from '@didomi/vega-sdk';\nimport React, { useRef } from 'react';\n\nconst MyApp = () => {\n  const didomiRef = useRef<DidomiSDKAPI>(null);\n\n  return (\n    <DidomiSDK\n      noticeId=\"YOUR_NOTICE_ID\"\n      didomiPublicApiKey=\"YOUR_PUBLIC_API_KEY\"\n      ref={didomiRef}\n      onReady={() => console.log('Didomi SDK is ready')}\n      onConsentChanged={(consent) => console.log('Consent changed:', consent)}\n    >\n      {/* Your application content */}\n      <YourApp />\n    </DidomiSDK>\n  );\n};\n```\n\n### Programmatically Interacting with the SDK\n\nAfter integrating the SDK, you can programmatically access its functionality through the ref:\n\n```tsx\n// All SDK methods are accessible through the ref\nconst didomiSDK = didomiRef.current;\n\n// Display UI elements\ndidomiSDK?.notice.show(); // Show consent notice\ndidomiSDK?.preferences.show('purposes'); // Show preferences UI\n\n// Query SDK state\nconst isConsentRequired = await didomiSDK?.isConsentRequired();\n\n// Manage user consent\nconst userStatus = await didomiSDK?.getCurrentUserStatus();\nawait didomiSDK?.setUserAgreeToAll();\nawait didomiSDK?.setCurrentUserStatus({\n  purposes: {\n    /* purpose status */\n  },\n  vendors: {\n    /* vendor status */\n  },\n});\n```\n\n## API Reference\n\n### Component Props\n\nThe `DidomiSDK` accepts the following required props:\n\n| Prop                 | Type     | Description                                                                      |\n| -------------------- | -------- | -------------------------------------------------------------------------------- |\n| `noticeId`           | `string` | ID of the consent notice to display                                              |\n| `didomiPublicApiKey` | `string` | Your Didomi public API key                                                       |\n| `sdkPath`            | `string` | (Optional) Path to the Didomi SDK, defaults to 'https://sdk.privacy-center.org/' |\n\n### Methods\n\nThe SDK exposes methods through a ref:\n\n#### Consent Management\n\n| Method                      | Description                                | Parameters                                      | Returns            |\n| --------------------------- | ------------------------------------------ | ----------------------------------------------- | ------------------ |\n| `notice.show()`             | Shows the consent notice                   | None                                            | `void`             |\n| `notice.hide()`             | Hides the consent notice if visible        | None                                            | `void`             |\n| `notice.isVisible()`        | Checks if the notice is visible            | None                                            | `Promise<boolean>` |\n| `preferences.show(type)`    | Shows the preferences UI                   | `type`: 'information' \\| 'purposes' \\| 'vendor' | `void`             |\n| `preferences.hide()`        | Closes the preferences dialog if open      | None                                            | `void`             |\n| `preferences.isVisible()`   | Checks if the preferences dialog is open   | None                                            | `Promise<boolean>` |\n| `reset()`                   | Resets the consent data                    | None                                            | `void`             |\n\n#### User Status\n\n| Method                   | Description                       | Parameters | Returns                      |\n| ------------------------ | --------------------------------- | ---------- | ---------------------------- |\n| `getCurrentUserStatus()` | Gets detailed user consent status | None       | `Promise<CurrentUserStatus>` |\n| `getUserStatus()`        | Gets user consent status          | None       | `Promise<any>`               |\n| `getPurposes()`          | Gets available purposes           | None       | `Promise<any>`               |\n| `getVendors()`           | Gets available vendors            | None       | `Promise<any>`               |\n\n#### User Configuration\n\n| Method                         | Description                           | Parameters                      | Returns                   |\n| ------------------------------ | ------------------------------------- | ------------------------------- | ------------------------- |\n| `setUser(config)`              | Sets user information                 | `config`: `UserConfiguration`   | `Promise<void>`           |\n| `clearUser()`                  | Clears user data                      | None                            | `Promise<void>`           |\n| `setUserAgreeToAll()`          | Sets consent to agree to all          | None                            | `Promise<void>`           |\n| `setUserDisagreeToAll()`       | Sets consent to disagree to all       | None                            | `Promise<void>`           |\n| `setCurrentUserStatus(params)` | Updates user consent status           | `params`: `SetUserStatusParams` | `Promise<boolean>`        |\n| `syncUser()`                   | Synchronizes user consent with server | None                            | `Promise<SyncReadyEvent>` |\n\n#### Consent Checking\n\n| Method                         | Description                           | Parameters       | Returns             |\n| ------------------------------ | ------------------------------------- | ---------------- | ------------------- |\n| `isConsentRequired()`          | Checks if consent is required         | None             | `Promise<boolean>`  |\n| `isUserConsentStatusPartial()` | Checks if user consent is partial     | None             | `Promise<boolean>`  |\n| `shouldConsentBeCollected()`   | Checks if consent should be collected | None             | `Promise<boolean>`  |\n| `isRegulationApplied(name)`    | Checks if a regulation applies        | `name`: `string` | `Promise<boolean>`  |\n| `getRequiredPurposeIds()`      | Gets required purpose IDs             | None             | `Promise<string[]>` |\n| `getRequiredVendorIds()`       | Gets required vendor IDs              | None             | `Promise<string[]>` |\n\n### Events\n\nThe SDK provides callbacks for various events:\n\n#### Ready Events\n\n| Event     | Description                  | Callback Parameter |\n| --------- | ---------------------------- | ------------------ |\n| `onReady` | Called when the SDK is ready | None               |\n\n#### Consent Events\n\n| Event              | Description                      | Callback Parameter           |\n| ------------------ | -------------------------------- | ---------------------------- |\n| `onConsentChanged` | Called when user consent changes | `consent`: User consent data |\n\n#### UI Events\n\n| Event                 | Description                          | Callback Parameter |\n| --------------------- | ------------------------------------ | ------------------ |\n| `onNoticeShown`       | Called when notice is shown          | None               |\n| `onNoticeHidden`      | Called when notice is hidden         | None               |\n| `onPreferencesShown`  | Called when preferences UI is shown  | None               |\n| `onPreferencesHidden` | Called when preferences UI is hidden | None               |\n\n#### User Interaction Events\n\n| Event                             | Description                                 | Callback Parameter |\n| --------------------------------- | ------------------------------------------- | ------------------ |\n| `onNoticeBackdropclick`           | Called when notice backdrop is clicked      | None               |\n| `onNoticeClickAgree`              | Called when user clicks agree on notice     | None               |\n| `onNoticeClickDisagree`           | Called when user clicks disagree on notice  | None               |\n| `onNoticeClickMoreInfo`           | Called when user clicks more info on notice | None               |\n| `onPreferencesClickAgreeToAll`    | Called when user clicks agree to all        | None               |\n| `onPreferencesClickDisagreeToAll` | Called when user clicks disagree to all     | None               |\n| `onPreferencesClickSaveChoices`   | Called when user saves choices              | None               |\n\n#### Error Events\n\n| Event     | Description                                                                       | Callback Parameter         |\n| --------- | --------------------------------------------------------------------------------- | -------------------------- |\n| `onError` | Called when an error occurs in the underlying Didomi Web SDK or in the WebView    | `error`: `DidomiError`     |\n\nThe `DidomiError` payload is a discriminated union on the `source` field:\n\n```ts\ntype DidomiError =\n  | { source: 'api'; id?: string; reason?: string }\n  | {\n      source: 'webview';\n      code?: number;\n      description?: string;\n      nativeEvent?: unknown;\n    };\n```\n\n- `source: 'api'` — forwarded from the Didomi Web SDK `api.error` event (HTTP failures while sending consents, events, metrics, etc.). `id` identifies the failed request, `reason` is one of `request.failure` or `response.error`.\n- `source: 'webview'` — emitted by the underlying WebView for load/runtime errors.\n\n## Implementation Example\n\nBelow is a simplified example showing how to implement the SDK and access its functionality:\n\n```tsx\nimport { DidomiSDK, DidomiSDKAPI } from '@didomi/vega-sdk';\nimport React, { useRef, useState } from 'react';\nimport { View } from 'react-native';\n\nfunction App() {\n  // Create ref to access SDK methods\n  const didomiRef = useRef<DidomiSDKAPI>(null);\n\n  // Example of event handling\n  const handleReady = () => {\n    // SDK is ready, you can now call methods\n    console.log('SDK is ready');\n  };\n\n  // Example of handling consent changes\n  const handleConsentChanged = (consent) => {\n    console.log('Consent changed', consent);\n    // Update application state or perform actions based on consent\n  };\n\n  return (\n    <DidomiSDK\n      noticeId=\"YOUR_NOTICE_ID\"\n      didomiPublicApiKey=\"YOUR_PUBLIC_API_KEY\"\n      ref={didomiRef}\n      onReady={handleReady}\n      onConsentChanged={handleConsentChanged}\n    >\n      <View>{/* Your application UI */}</View>\n    </DidomiSDK>\n  );\n}\n\nexport default App;\n```\n\n## License\n\nCopyright © Didomi. All rights reserved.\n","readmeFilename":"README.md"}