{"_id":"@twilltac/compliance-sdk","_rev":"26-d39dc9752608a9c8ee18dfb706ac9a09","name":"@twilltac/compliance-sdk","dist-tags":{"latest":"0.6.0"},"versions":{"0.0.3":{"name":"@twilltac/compliance-sdk","version":"0.0.3","_id":"@twilltac/compliance-sdk@0.0.3","maintainers":[{"name":"kinggben","email":"ben@gooding.co"}],"dist":{"shasum":"818dd77ceadc46cf6953f2024c4c04f356f69684","tarball":"https://registry.npmjs.org/@twilltac/compliance-sdk/-/compliance-sdk-0.0.3.tgz","fileCount":16,"integrity":"sha512-JRwP0Mtcua5d7dw6yJVyv8WmCpodfJdkujclJuOwxy7/MRj/hUjmBLa7O95TogRO/M6RVE7FjsI9aLQDYXLjjg==","signatures":[{"sig":"MEQCIAKkUZfXrogK2Lu7xSpfVJyJDk4d/sU9Dg1MVd4ejIU9AiArA6PXtMeohmM3lZvA5DPW6oiyWTXFNn6tupo9mQ0Xog==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":20467},"main":"./src/index.js","type":"module","types":"./src/index.d.ts","gitHead":"be116a49a6d173bc21242be9b177913fae379d98","_npmUser":{"name":"kinggben","email":"ben@gooding.co"},"deprecated":"Versions prior to 0.4.0 use the removed 'workspace' initialisation option. Upgrade to >=0.4.0 and pass 'workspaceReference' (or 'workspaceSubdomain') instead.","_npmVersion":"10.9.3","description":"","directories":{},"_nodeVersion":"22.20.0","dependencies":{},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/compliance-sdk_0.0.3_1765817623583_0.43974648476012734","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"@twilltac/compliance-sdk","version":"0.1.0","_id":"@twilltac/compliance-sdk@0.1.0","maintainers":[{"name":"benjamin-gooding","email":"ben@gooding.co"},{"name":"numino","email":"numino@hotmail.co.uk"}],"dist":{"shasum":"d7ffaccd0967672871ebaf1c348e53b0672d731a","tarball":"https://registry.npmjs.org/@twilltac/compliance-sdk/-/compliance-sdk-0.1.0.tgz","fileCount":17,"integrity":"sha512-LSKAVw9kq0eXKzhn0dz6iUIWZAnTNxW0Tt/XTcTUas5jsygIYL7dyBVet5agOXFVF2fV4nT3j4MIafoz2hgZyA==","signatures":[{"sig":"MEUCIQCM80Z0+2YIhy6pBq0KpIS99ajTUEGmXkPAjec2QOidLQIgSezdqT58GGU/2E62a2ztOVeI+7XaioMTOF4E+levcOY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27962},"main":"./src/index.js","type":"module","types":"./src/index.d.ts","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b4eea997-a6eb-4469-a208-2c7fb79a52da"}},"deprecated":"Versions prior to 0.4.0 use the removed 'workspace' initialisation option. Upgrade to >=0.4.0 and pass 'workspaceReference' (or 'workspaceSubdomain') instead.","_npmVersion":"11.6.2","description":"SDK for embedding the Twilltac Compliance Plugin into your application. The plugin provides compliance functionality within an iframe, with secure communication between your host application and the plugin.","directories":{},"_nodeVersion":"24.11.1","dependencies":{},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/compliance-sdk_0.1.0_1765880647172_0.32135349625058485","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@twilltac/compliance-sdk","version":"0.1.1","_id":"@twilltac/compliance-sdk@0.1.1","maintainers":[{"name":"benjamin-gooding","email":"ben@gooding.co"},{"name":"numino","email":"numino@hotmail.co.uk"}],"dist":{"shasum":"307f6913bcf623f24de3540ef8358ad5fffffdff","tarball":"https://registry.npmjs.org/@twilltac/compliance-sdk/-/compliance-sdk-0.1.1.tgz","fileCount":17,"integrity":"sha512-WMK/01W0QooVu7hx5r5sKBunCGBJjmeSD33n5IuiOD9nuZ14MYuqu9WkWXyrkwpUS9oQp5mIQHkdjFHSSeGijQ==","signatures":[{"sig":"MEUCIQCyFAPfYtiNig19NU+9Zwb1hyiPnKFDeI9kFKMHQ96/DAIgJQ6/6Z2MAH9UI4o8vQxOrIQBVYDiiIyPLKyszVn/R08=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27919},"main":"./src/index.js","type":"module","types":"./src/index.d.ts","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b4eea997-a6eb-4469-a208-2c7fb79a52da"}},"deprecated":"Versions prior to 0.4.0 use the removed 'workspace' initialisation option. Upgrade to >=0.4.0 and pass 'workspaceReference' (or 'workspaceSubdomain') instead.","_npmVersion":"11.6.2","description":"SDK for embedding the Twilltac Compliance Plugin into your application. The plugin provides compliance functionality within an iframe, with secure communication between your host application and the plugin.","directories":{},"_nodeVersion":"24.11.1","dependencies":{},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/compliance-sdk_0.1.1_1765883314718_0.7948454109156766","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@twilltac/compliance-sdk","version":"0.1.2","_id":"@twilltac/compliance-sdk@0.1.2","maintainers":[{"name":"benjamin-gooding","email":"ben@gooding.co"},{"name":"numino","email":"numino@hotmail.co.uk"}],"dist":{"shasum":"e0b8d298eff1a8ca7ab2ca847c9b6b818c91f32f","tarball":"https://registry.npmjs.org/@twilltac/compliance-sdk/-/compliance-sdk-0.1.2.tgz","fileCount":17,"integrity":"sha512-JlsHYOW/1No0ez7RKREVKR85dFzxa+m/7ffIicR+pZdjDfWqeOE6dfIkZ5SbbwE65/hD05jiT5af74f9SleFwg==","signatures":[{"sig":"MEUCIERRgKwXruoRzHVWzlZeexWywSKi0qE7K0y8FMfszHObAiEAlxNw+GyEUDgeJoPc+xJo80ncOMgizN4Gm4YoKTIr3JI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26552},"main":"./src/index.js","type":"module","types":"./src/index.d.ts","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b4eea997-a6eb-4469-a208-2c7fb79a52da"}},"deprecated":"Versions prior to 0.4.0 use the removed 'workspace' initialisation option. Upgrade to >=0.4.0 and pass 'workspaceReference' (or 'workspaceSubdomain') instead.","_npmVersion":"11.6.2","description":"SDK for embedding the Twilltac Compliance Plugin into your application. The plugin provides compliance functionality within an iframe, with secure communication between your host application and the plugin.","directories":{},"_nodeVersion":"24.11.1","dependencies":{},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/compliance-sdk_0.1.2_1765887346561_0.977197743970246","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@twilltac/compliance-sdk","version":"0.1.3","_id":"@twilltac/compliance-sdk@0.1.3","maintainers":[{"name":"benjamin-gooding","email":"ben@gooding.co"},{"name":"numino","email":"numino@hotmail.co.uk"}],"dist":{"shasum":"4717b616c9f808c8cfc35f7d66f011ca275d5f34","tarball":"https://registry.npmjs.org/@twilltac/compliance-sdk/-/compliance-sdk-0.1.3.tgz","fileCount":20,"integrity":"sha512-JrBajCoyJbeLuTU8VUaXTRRPsNpAi92M/GitoVP6l0XEe8sO4sKDPYevujOTDCQfoxmP4tsHd2EsRqez2vQmxA==","signatures":[{"sig":"MEQCIEfQeDIEYS4SnLN5z837s2xo7SjqfqFgXCMwafFvTZj9AiAxw2AxS/BTrOoViGBBKXkgQTBVo9FrDDWGNfTJJqPnCA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":31932},"main":"./src/index.js","type":"module","types":"./src/index.d.ts","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b4eea997-a6eb-4469-a208-2c7fb79a52da"}},"deprecated":"Versions prior to 0.4.0 use the removed 'workspace' initialisation option. Upgrade to >=0.4.0 and pass 'workspaceReference' (or 'workspaceSubdomain') instead.","_npmVersion":"11.6.2","description":"SDK for embedding the Twilltac Compliance Plugin into your application. The plugin provides compliance functionality within an iframe, with secure communication between your host application and the plugin.","directories":{},"_nodeVersion":"24.11.1","dependencies":{},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/compliance-sdk_0.1.3_1765891992719_0.7283610466993062","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@twilltac/compliance-sdk","version":"0.1.4","_id":"@twilltac/compliance-sdk@0.1.4","maintainers":[{"name":"benjamin-gooding","email":"ben@gooding.co"},{"name":"numino","email":"numino@hotmail.co.uk"}],"dist":{"shasum":"21d1a03e2acef52725b2eb2deb955d8106655676","tarball":"https://registry.npmjs.org/@twilltac/compliance-sdk/-/compliance-sdk-0.1.4.tgz","fileCount":20,"integrity":"sha512-37wqOAIC8MVlQqyXMQ4GtC52PlijAu5XVN73d+uLADZ1SMuMWkbrY/D0wt7mEtQp4hUMjhu3TB2m+3movV0wCw==","signatures":[{"sig":"MEUCIQCa1kKtC0hMSYL7ge04OJfPAuMgZDetECALOe73ht+8YQIgSBJO9aqbSUVCnHRX+fwcW/Qoxn+1qp33emGKVNwZLQk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":35316},"main":"./src/index.js","type":"module","types":"./src/index.d.ts","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b4eea997-a6eb-4469-a208-2c7fb79a52da"}},"deprecated":"Versions prior to 0.4.0 use the removed 'workspace' initialisation option. Upgrade to >=0.4.0 and pass 'workspaceReference' (or 'workspaceSubdomain') instead.","_npmVersion":"11.6.2","description":"SDK for embedding the Twilltac Compliance Plugin into your application. The plugin provides compliance functionality within an iframe, with secure communication between your host application and the plugin.","directories":{},"_nodeVersion":"24.12.0","dependencies":{},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/compliance-sdk_0.1.4_1768931569219_0.28740482821872915","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@twilltac/compliance-sdk","version":"0.1.5","_id":"@twilltac/compliance-sdk@0.1.5","maintainers":[{"name":"benjamin-gooding","email":"ben@gooding.co"},{"name":"numino","email":"numino@hotmail.co.uk"}],"dist":{"shasum":"d2d23b1dbb0d32ba877959939fa7dcf833bc802e","tarball":"https://registry.npmjs.org/@twilltac/compliance-sdk/-/compliance-sdk-0.1.5.tgz","fileCount":20,"integrity":"sha512-laiv31wIjTk2coxMDKRbH8gLLt7oqVgmald+3EoczKKJbDZG0PAAqyWeIOdJ0qVvjVNnGuEbsJJ4rSmc4LeKTw==","signatures":[{"sig":"MEQCIDejnFhLv3XUjS9qJ3tqgPnYjnnQX/hgm+e0xv6kSqcJAiBDJPpkgtlqTHQEOX7/TCEAPOIEKv/NTbbdMH5pLCXz8Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":38434},"main":"./src/index.js","type":"module","types":"./src/index.d.ts","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b4eea997-a6eb-4469-a208-2c7fb79a52da"}},"deprecated":"Versions prior to 0.4.0 use the removed 'workspace' initialisation option. Upgrade to >=0.4.0 and pass 'workspaceReference' (or 'workspaceSubdomain') instead.","_npmVersion":"11.9.0","description":"SDK for embedding the Twilltac Compliance Plugin into your application. The plugin provides compliance functionality within an iframe, with secure communication between your host application and the plugin.","directories":{},"_nodeVersion":"24.14.0","dependencies":{},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/compliance-sdk_0.1.5_1772822277057_0.9846158442608663","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"@twilltac/compliance-sdk","version":"0.1.6","_id":"@twilltac/compliance-sdk@0.1.6","maintainers":[{"name":"benjamin-gooding","email":"ben@gooding.co"},{"name":"numino","email":"numino@hotmail.co.uk"}],"dist":{"shasum":"95bd4bf85c5c42326096a1aa399db7b140d8922d","tarball":"https://registry.npmjs.org/@twilltac/compliance-sdk/-/compliance-sdk-0.1.6.tgz","fileCount":20,"integrity":"sha512-rKv1I9sqvnWtgbPztprXlmuP3Ak6L1b6ACVrXMj1ABu5ceMc6lVU+8vd4SlPy4pDrDHZDuXEufRirbsNxsJtgg==","signatures":[{"sig":"MEYCIQCJiSidYAawI1CG4e44snwqkfJXqD5OVUFGLxDd/zkemwIhAJ8oZ0wIDTz8T2BZ5WroJMWX7FRdVlcAbz+vHPnaEwfI","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":38511},"main":"./src/index.js","type":"module","types":"./src/index.d.ts","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b4eea997-a6eb-4469-a208-2c7fb79a52da"}},"deprecated":"Versions prior to 0.4.0 use the removed 'workspace' initialisation option. Upgrade to >=0.4.0 and pass 'workspaceReference' (or 'workspaceSubdomain') instead.","_npmVersion":"11.9.0","description":"\\_# @twilltac/compliance-sdk","directories":{},"_nodeVersion":"24.14.0","dependencies":{},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/compliance-sdk_0.1.6_1773061609394_0.3737144207475651","host":"s3://npm-registry-packages-npm-production"}},"0.1.7":{"name":"@twilltac/compliance-sdk","version":"0.1.7","_id":"@twilltac/compliance-sdk@0.1.7","maintainers":[{"name":"benjamin-gooding","email":"ben@gooding.co"},{"name":"numino","email":"numino@hotmail.co.uk"}],"dist":{"shasum":"05129eec894e913ae27eef8457487e34c7b50fd7","tarball":"https://registry.npmjs.org/@twilltac/compliance-sdk/-/compliance-sdk-0.1.7.tgz","fileCount":20,"integrity":"sha512-7N69Ata0cASIesLNiqmreLjp01izGveG/o2acd6WnuH3/u4PbucqcJTNNFDMo5/QF9wAZSGmOtOoE6twKi9vMQ==","signatures":[{"sig":"MEUCIHPPeB9AmaDT79SbP9BacGp2EAAXCTyUoTJZc+472E/2AiEAgWUBwdLDNcMG1/6TRbr5dDVTQhxvaXjmqw1ZTtcy3gU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":38672},"main":"./src/index.js","type":"module","types":"./src/index.d.ts","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b4eea997-a6eb-4469-a208-2c7fb79a52da"}},"deprecated":"Versions prior to 0.4.0 use the removed 'workspace' initialisation option. Upgrade to >=0.4.0 and pass 'workspaceReference' (or 'workspaceSubdomain') instead.","_npmVersion":"11.9.0","description":"\\_# @twilltac/compliance-sdk","directories":{},"_nodeVersion":"24.14.0","dependencies":{},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/compliance-sdk_0.1.7_1773074666358_0.9757049030578369","host":"s3://npm-registry-packages-npm-production"}},"0.1.8":{"name":"@twilltac/compliance-sdk","version":"0.1.8","_id":"@twilltac/compliance-sdk@0.1.8","maintainers":[{"name":"benjamin-gooding","email":"ben@gooding.co"},{"name":"numino","email":"numino@hotmail.co.uk"}],"dist":{"shasum":"3b68e9f57b26a663f7a323d5066131473daaec2a","tarball":"https://registry.npmjs.org/@twilltac/compliance-sdk/-/compliance-sdk-0.1.8.tgz","fileCount":20,"integrity":"sha512-oWa4W+ixP5ZJxtDcn6so2bYHq3LAQb6AsaORGO6dAvwqdsYYB/yuG+UJGd27rzrGrBun1BAClcPGCSK1q+fNlQ==","signatures":[{"sig":"MEQCIFskw4JhNb7FkXNZuFmLl9mCCU2IKfWiiVaEMHJmHF7BAiAHfTGON4AVEvYO+HT073LRTJf+9g5EhcvMESHEnbbAAw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":42024},"main":"./src/index.js","type":"module","types":"./src/index.d.ts","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b4eea997-a6eb-4469-a208-2c7fb79a52da"}},"deprecated":"Versions prior to 0.4.0 use the removed 'workspace' initialisation option. Upgrade to >=0.4.0 and pass 'workspaceReference' (or 'workspaceSubdomain') instead.","_npmVersion":"11.9.0","description":"\\_# @twilltac/compliance-sdk","directories":{},"_nodeVersion":"24.14.0","dependencies":{},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/compliance-sdk_0.1.8_1773088974845_0.7913363074482074","host":"s3://npm-registry-packages-npm-production"}},"0.1.9":{"name":"@twilltac/compliance-sdk","version":"0.1.9","_id":"@twilltac/compliance-sdk@0.1.9","maintainers":[{"name":"benjamin-gooding","email":"ben@gooding.co"},{"name":"numino","email":"numino@hotmail.co.uk"}],"dist":{"shasum":"4b7e9c65d13a554134736749a60f8f1fb8edd6c2","tarball":"https://registry.npmjs.org/@twilltac/compliance-sdk/-/compliance-sdk-0.1.9.tgz","fileCount":20,"integrity":"sha512-fUOHmh1WYkZ+8tycYUcD/u/TugxcpxBXsAHucqadKuaGNErwgwJPzh5MA1w6AE2eoTv9TbIC19AFsgNW3d7L6w==","signatures":[{"sig":"MEUCIQD3n3/3WXtk/VL1dCYcZAuasW6RAphQxo0fuDnqzxMFRwIgF31Ottvms6IDurkCwW8QxJtZyFSOAM3/H20b7TMG8k0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":43003},"main":"./src/index.js","type":"module","types":"./src/index.d.ts","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b4eea997-a6eb-4469-a208-2c7fb79a52da"}},"deprecated":"Versions prior to 0.4.0 use the removed 'workspace' initialisation option. Upgrade to >=0.4.0 and pass 'workspaceReference' (or 'workspaceSubdomain') instead.","_npmVersion":"11.9.0","description":"\\_# @twilltac/compliance-sdk","directories":{},"_nodeVersion":"24.14.0","dependencies":{},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/compliance-sdk_0.1.9_1773089397094_0.4090698508775914","host":"s3://npm-registry-packages-npm-production"}},"0.1.10":{"name":"@twilltac/compliance-sdk","version":"0.1.10","_id":"@twilltac/compliance-sdk@0.1.10","maintainers":[{"name":"benjamin-gooding","email":"ben@gooding.co"},{"name":"numino","email":"numino@hotmail.co.uk"}],"dist":{"shasum":"56d239cac4661dfa4b4d9dc487c822046db145d3","tarball":"https://registry.npmjs.org/@twilltac/compliance-sdk/-/compliance-sdk-0.1.10.tgz","fileCount":20,"integrity":"sha512-0rQPubTYiXxsgIFrnWhLJ21aHPTMs5reLxfomH81chov8T2wER6r4Q9xCZN1L54jPyAq29cdndpdcV+YC6V7vA==","signatures":[{"sig":"MEQCIGxPng7pA7W8nwEFA9Y3uVLQlroaNLmmwtZW5sg7EVVQAiAwqTEWRPR8KZmmBzJGnulLDQ+N1uf4QjT6kHuoEKJW7g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":43238},"main":"./src/index.js","type":"module","types":"./src/index.d.ts","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b4eea997-a6eb-4469-a208-2c7fb79a52da"}},"deprecated":"Versions prior to 0.4.0 use the removed 'workspace' initialisation option. Upgrade to >=0.4.0 and pass 'workspaceReference' (or 'workspaceSubdomain') instead.","_npmVersion":"11.9.0","description":"\\_# @twilltac/compliance-sdk","directories":{},"_nodeVersion":"24.14.0","dependencies":{},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/compliance-sdk_0.1.10_1773991995412_0.010711679582117606","host":"s3://npm-registry-packages-npm-production"}},"0.1.11":{"name":"@twilltac/compliance-sdk","version":"0.1.11","_id":"@twilltac/compliance-sdk@0.1.11","maintainers":[{"name":"benjamin-gooding","email":"ben@gooding.co"},{"name":"numino","email":"numino@hotmail.co.uk"}],"dist":{"shasum":"67e267c73e64162d3ed6033f6184e2b02c59b879","tarball":"https://registry.npmjs.org/@twilltac/compliance-sdk/-/compliance-sdk-0.1.11.tgz","fileCount":20,"integrity":"sha512-WeyQcZQhkppou5745NQrlp6fcJKmH7F9CRLvD4vFBcyizC6BBqRTIZgZ0yvzKYNyUo0eYFd3m0C3jB4Syv7VnQ==","signatures":[{"sig":"MEUCIFqo6Y43//Yt6zCdobg5SeT9AW/rZoa8ENCUMsB+ZSV3AiEAwDWXQpSp+SiRHY1/lTu7GE4d65E5Um9RY79CqIfA9N0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":45092},"main":"./src/index.js","type":"module","types":"./src/index.d.ts","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b4eea997-a6eb-4469-a208-2c7fb79a52da"}},"deprecated":"Versions prior to 0.4.0 use the removed 'workspace' initialisation option. Upgrade to >=0.4.0 and pass 'workspaceReference' (or 'workspaceSubdomain') instead.","_npmVersion":"11.9.0","description":"\\_# @twilltac/compliance-sdk","directories":{},"_nodeVersion":"24.14.0","dependencies":{},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/compliance-sdk_0.1.11_1774865421870_0.07074299301870712","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@twilltac/compliance-sdk","version":"0.2.0","_id":"@twilltac/compliance-sdk@0.2.0","maintainers":[{"name":"benjamin-gooding","email":"ben@gooding.co"},{"name":"numino","email":"numino@hotmail.co.uk"}],"dist":{"shasum":"8398c1fc8290592dc9d3f6c4002b7216e41d3603","tarball":"https://registry.npmjs.org/@twilltac/compliance-sdk/-/compliance-sdk-0.2.0.tgz","fileCount":20,"integrity":"sha512-5rkVLE6ohiFvNdp4n/Dfjul5nH7uACfIlbyfBqzVb9uWs97u0F5Zphwlt68QUM3Vx30JvsSOqkBUucpL0rJvrg==","signatures":[{"sig":"MEUCIDlZIfq5B/aqUgvd1V32kkKQX728aESgf+ungUBZ5eknAiEAx9VPcnYxo4u32wQYyEiNVnBcuoy1mroQM3fDNA8rnCM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":45942},"main":"./src/index.js","type":"module","types":"./src/index.d.ts","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b4eea997-a6eb-4469-a208-2c7fb79a52da"}},"deprecated":"Versions prior to 0.4.0 use the removed 'workspace' initialisation option. Upgrade to >=0.4.0 and pass 'workspaceReference' (or 'workspaceSubdomain') instead.","_npmVersion":"11.9.0","description":"\\_# @twilltac/compliance-sdk","directories":{},"_nodeVersion":"24.14.0","dependencies":{},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/compliance-sdk_0.2.0_1775158819727_0.4605953114454764","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@twilltac/compliance-sdk","version":"0.2.1","_id":"@twilltac/compliance-sdk@0.2.1","maintainers":[{"name":"benjamin-gooding","email":"ben@gooding.co"},{"name":"numino","email":"numino@hotmail.co.uk"}],"dist":{"shasum":"0b1e21095c415f32874e17b7d3432641900d0c66","tarball":"https://registry.npmjs.org/@twilltac/compliance-sdk/-/compliance-sdk-0.2.1.tgz","fileCount":20,"integrity":"sha512-DNj3oOzZ/nPTDjSs8T4jRklUhG6LcovaPrw3haJnn2G/jQj8I4kgHDonG7t0yaWiV5f7GtHryE42DZRbwd9QqA==","signatures":[{"sig":"MEYCIQD/uCBOceKsMOpbgJPYt+h2hL4SucR5d262/ZNRsRQ+ogIhAOVSA+dGq6MRmQsyNwAcEhKNS6anVnnX/xkGFjpHI74/","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":46383},"main":"./src/index.js","type":"module","types":"./src/index.d.ts","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b4eea997-a6eb-4469-a208-2c7fb79a52da"}},"deprecated":"Versions prior to 0.4.0 use the removed 'workspace' initialisation option. Upgrade to >=0.4.0 and pass 'workspaceReference' (or 'workspaceSubdomain') instead.","_npmVersion":"11.11.0","description":"\\_# @twilltac/compliance-sdk","directories":{},"_nodeVersion":"24.14.1","dependencies":{},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/compliance-sdk_0.2.1_1777465251006_0.5779994668003214","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@twilltac/compliance-sdk","version":"0.2.2","_id":"@twilltac/compliance-sdk@0.2.2","maintainers":[{"name":"benjamin-gooding","email":"ben@gooding.co"},{"name":"numino","email":"numino@hotmail.co.uk"}],"dist":{"shasum":"ec03ce582245015bcc15cc8ffad22fda75990e0f","tarball":"https://registry.npmjs.org/@twilltac/compliance-sdk/-/compliance-sdk-0.2.2.tgz","fileCount":19,"integrity":"sha512-nVVMevNH5+hwFyU9jtWnCUjtA1nope8cPVWOMUE1JhU4SiZbiGnqwMDXRXDPr0nDy9QcD0Ao7o4sfAwBfGXSUQ==","signatures":[{"sig":"MEUCIQDOlST3R6gDG4xp/ETL4IkRZE4UOkXayyOCDI3xrQvYRQIgQy8PvZH6ocSt2mLAIasugCJrwqonEWYi/zKwHOasrwE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":46347},"main":"./src/index.js","type":"module","types":"./src/index.d.ts","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b4eea997-a6eb-4469-a208-2c7fb79a52da"}},"deprecated":"Versions prior to 0.4.0 use the removed 'workspace' initialisation option. Upgrade to >=0.4.0 and pass 'workspaceReference' (or 'workspaceSubdomain') instead.","_npmVersion":"11.13.0","description":"\\_# @twilltac/compliance-sdk","directories":{},"_nodeVersion":"24.16.0","dependencies":{},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/compliance-sdk_0.2.2_1780423081620_0.8746786491116991","host":"s3://npm-registry-packages-npm-production"}},"0.2.3":{"name":"@twilltac/compliance-sdk","version":"0.2.3","_id":"@twilltac/compliance-sdk@0.2.3","maintainers":[{"name":"benjamin-gooding","email":"ben@gooding.co"},{"name":"numino","email":"numino@hotmail.co.uk"}],"dist":{"shasum":"92e9828dd650f354ab22902393f6a8e6d5d065df","tarball":"https://registry.npmjs.org/@twilltac/compliance-sdk/-/compliance-sdk-0.2.3.tgz","fileCount":19,"integrity":"sha512-i/aqD54/TXMhsmMYNRfA6VEn93Yo0QAYnCU91EIHSShOIIJ7ZojpbqGhH4ukYfoI6SljBqyCLZMEZiDgbkIA3Q==","signatures":[{"sig":"MEYCIQDL0lXhj4ijCpDx2SLcVVVzTxNfCv7vJiV8f3pLeoW/DwIhAKUx2wzMCnn03jKTtcRwmnsDDkThETrZNKXCZntFVH0Q","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":46347},"main":"./src/index.js","type":"module","types":"./src/index.d.ts","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b4eea997-a6eb-4469-a208-2c7fb79a52da"}},"deprecated":"Versions prior to 0.4.0 use the removed 'workspace' initialisation option. Upgrade to >=0.4.0 and pass 'workspaceReference' (or 'workspaceSubdomain') instead.","_npmVersion":"11.13.0","description":"\\_# @twilltac/compliance-sdk","directories":{},"_nodeVersion":"24.16.0","dependencies":{},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/compliance-sdk_0.2.3_1780423816015_0.023867540630389872","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@twilltac/compliance-sdk","version":"0.3.0","_id":"@twilltac/compliance-sdk@0.3.0","maintainers":[{"name":"benjamin-gooding","email":"ben@gooding.co"},{"name":"numino","email":"numino@hotmail.co.uk"}],"dist":{"shasum":"c6648213204377d0831b1be060612f42d90e6d41","tarball":"https://registry.npmjs.org/@twilltac/compliance-sdk/-/compliance-sdk-0.3.0.tgz","fileCount":19,"integrity":"sha512-L/mvGVnfxo2Q6o0oNUphWzCVl1nuJLfKN7TusgJmmqElRTFD+67PMfTr+EkAt0fRxJaVKnTeb3QU6hs7qyOdlw==","signatures":[{"sig":"MEQCIBYbdbcZOxLY4YOwfP5atYqXw3Nt0Rxxid6EBNbtsRodAiBFDWmwcYfLEbgk/XZRHdn66BnUJdO0L4NT42PTdzf/cA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":45571},"main":"./src/index.js","type":"module","types":"./src/index.d.ts","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b4eea997-a6eb-4469-a208-2c7fb79a52da"}},"deprecated":"Versions prior to 0.4.0 use the removed 'workspace' initialisation option. Upgrade to >=0.4.0 and pass 'workspaceReference' (or 'workspaceSubdomain') instead.","_npmVersion":"11.13.0","description":"\\_# @twilltac/compliance-sdk","directories":{},"_nodeVersion":"24.17.0","dependencies":{},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/compliance-sdk_0.3.0_1782740520532_0.5525543100140275","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@twilltac/compliance-sdk","version":"0.4.0","_id":"@twilltac/compliance-sdk@0.4.0","maintainers":[{"name":"techmatt101","email":"matt@kempmail.co.uk"},{"name":"benjamin-gooding","email":"ben@gooding.co"},{"name":"numino","email":"numino@hotmail.co.uk"}],"dist":{"shasum":"9ef50ab7b734021c9f6c5fe4a81e795b20346e72","tarball":"https://registry.npmjs.org/@twilltac/compliance-sdk/-/compliance-sdk-0.4.0.tgz","fileCount":19,"integrity":"sha512-JS088ELdYNYD3Drtpg54iU1SNZEwQeLXWvjD+NeuThU8fzZgkwYVM8t8HxjyfBzk1jFr4lgqearb9uwb+sb0dw==","signatures":[{"sig":"MEUCIQDkbmFJbpATykBMbdpoNxdf6f9n3XKDBTFhdwi3sIlbygIgaCvVb9F6Yt+cYgd0dIxcQdhLKrCfDP1v/LzhqXJ7ldg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":46684},"main":"./src/index.js","type":"module","types":"./src/index.d.ts","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b4eea997-a6eb-4469-a208-2c7fb79a52da"}},"_npmVersion":"11.16.0","description":"SDK for embedding the Twilltac Compliance Plugin into your application. The plugin provides compliance functionality within an iframe, with secure communication between your host application and the plugin.","directories":{},"_nodeVersion":"24.18.0","dependencies":{},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/compliance-sdk_0.4.0_1783674026645_0.010655065082288973","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@twilltac/compliance-sdk","version":"0.5.0","_id":"@twilltac/compliance-sdk@0.5.0","maintainers":[{"name":"techmatt101","email":"matt@kempmail.co.uk"},{"name":"benjamin-gooding","email":"ben@gooding.co"},{"name":"numino","email":"numino@hotmail.co.uk"}],"dist":{"shasum":"c3c26aa409eb8219075b7eb4a9ededd934fc159c","tarball":"https://registry.npmjs.org/@twilltac/compliance-sdk/-/compliance-sdk-0.5.0.tgz","fileCount":19,"integrity":"sha512-IR5jhDpqJ6V9pNwWA4Sw/LFMrd0YJ/b2Ms/VO3pcCq0PLnzEWLdh3b9HcqNw8toh0UBZ6hsjIzMcbL2Dl5XI5w==","signatures":[{"sig":"MEYCIQD2y8Dq1OTEALJXMaZWM6SNLVeLO4kmbOB/yc6S+/5U+AIhAK6Uzd6G1hWN5mu1Bem62hajq59gwCyo0jYZwy/hC0Lr","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":50365},"main":"./src/index.js","type":"module","types":"./src/index.d.ts","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b4eea997-a6eb-4469-a208-2c7fb79a52da"}},"_npmVersion":"11.16.0","description":"SDK for embedding the Twilltac Compliance Plugin into your application. The plugin provides compliance functionality within an iframe, with secure communication between your host application and the plugin.","directories":{},"_nodeVersion":"24.18.0","dependencies":{},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/compliance-sdk_0.5.0_1784301640577_0.9698460313219361","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"@twilltac/compliance-sdk","version":"0.6.0","type":"module","main":"./index.cjs","module":"./index.js","types":"./index.d.ts","dependencies":{},"_id":"@twilltac/compliance-sdk@0.6.0","description":"SDK for embedding the Twilltac Compliance Plugin into your application. The plugin provides compliance functionality within an iframe, with secure communication between your host application and the plugin.","_nodeVersion":"24.18.0","_npmVersion":"11.16.0","dist":{"integrity":"sha512-VBb6FJDe09SQSlPW4VFXjYCEuIsQJdKIWfAgc6uSFgt47ht40225o9lle9eS0tu297ukqcxBEtn8LeNCSaiJ1A==","shasum":"0c50e48d8c726a1549078e14e7e916f2254d7ae5","tarball":"https://registry.npmjs.org/@twilltac/compliance-sdk/-/compliance-sdk-0.6.0.tgz","fileCount":6,"unpackedSize":46094,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIAvW+HWPBUQj60Q5fR40QS3Dl7PxXKrcb1RuiZ7lyGHeAiEA2fGy5gfJbY35KdxuOwsnBO3CpnNGrE6PupsJVZdhVeo="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b4eea997-a6eb-4469-a208-2c7fb79a52da"}},"directories":{},"maintainers":[{"name":"techmatt101","email":"matt@kempmail.co.uk"},{"name":"benjamin-gooding","email":"ben@gooding.co"},{"name":"numino","email":"numino@hotmail.co.uk"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/compliance-sdk_0.6.0_1784807023593_0.2292815440763618"},"_hasShrinkwrap":false}},"time":{"created":"2025-12-15T16:53:43.497Z","modified":"2026-07-23T11:43:43.916Z","0.0.3":"2025-12-15T16:53:43.742Z","0.1.0":"2025-12-16T10:24:07.305Z","0.1.1":"2025-12-16T11:08:34.879Z","0.1.2":"2025-12-16T12:15:46.699Z","0.1.3":"2025-12-16T13:33:12.871Z","0.1.4":"2026-01-20T17:52:49.376Z","0.1.5":"2026-03-06T18:37:57.207Z","0.1.6":"2026-03-09T13:06:49.535Z","0.1.7":"2026-03-09T16:44:26.534Z","0.1.8":"2026-03-09T20:42:54.988Z","0.1.9":"2026-03-09T20:49:57.326Z","0.1.10":"2026-03-20T07:33:15.569Z","0.1.11":"2026-03-30T10:10:22.094Z","0.2.0":"2026-04-02T19:40:19.886Z","0.2.1":"2026-04-29T12:20:51.189Z","0.2.2":"2026-06-02T17:58:01.786Z","0.2.3":"2026-06-02T18:10:16.161Z","0.3.0":"2026-06-29T13:42:00.679Z","0.4.0":"2026-07-10T09:00:26.775Z","0.5.0":"2026-07-17T15:20:40.715Z","0.6.0":"2026-07-23T11:43:43.721Z"},"description":"SDK for embedding the Twilltac Compliance Plugin into your application. The plugin provides compliance functionality within an iframe, with secure communication between your host application and the plugin.","maintainers":[{"name":"techmatt101","email":"matt@kempmail.co.uk"},{"name":"benjamin-gooding","email":"ben@gooding.co"},{"name":"numino","email":"numino@hotmail.co.uk"}],"readme":"# @twilltac/compliance-sdk\n\nSDK for embedding the Twilltac Compliance Plugin into your application. The plugin provides compliance functionality within an iframe, with secure communication between your host application and the plugin.\n\n## Installation\n\n```bash\nnpm install @twilltac/compliance-sdk\n```\n\n## Quick Start\n\n```typescript\nimport { createCompliancePlugin } from '@twilltac/compliance-sdk';\n\nconst container = document.getElementById('compliance-container');\n\nconst plugin = await createCompliancePlugin({\n    containerElement: container,\n    data: {\n        workspaceReference: 'YOUR_WORKSPACE_REFERENCE',\n        flow: 'journey',\n        customerReference: 'YOUR_CUSTOMER_REFERENCE',\n        offerReference: 'YOUR_OFFER_REFERENCE',\n        authToken: 'YOUR_AUTH_TOKEN',\n        sizing: 'content',\n        theme: { appearance: 'light' }\n    }\n}).catch((error) => {\n    console.error('The plugin failed to load', error);\n});\n```\n\n## API Reference\n\n### `createCompliancePlugin(options)`\n\nCreates and initialises the compliance plugin within a container element.\n\n**Parameters:**\n\n| Name                              | Type          | Required | Description                                                                                                                                                                      |\n| --------------------------------- | ------------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `options.containerElement`        | `HTMLElement` | Yes      | The DOM element where the plugin will be rendered                                                                                                                                |\n| `options.data.customerReference`  | `string`      | Yes      | Reference identifier for the customer                                                                                                                                            |\n| `options.data.offerReference`     | `string`      | Yes      | Reference identifier for the compliance customer offer                                                                                                                           |\n| `options.data.workspaceReference` | `string`      | One of   | Your Twilltac workspace reference. One of `workspaceReference` or `workspaceSubdomain` must be provided                                                                          |\n| `options.data.workspaceSubdomain` | `string`      | One of   | Your Twilltac workspace subdomain. One of `workspaceReference` or `workspaceSubdomain` must be provided                                                                          |\n| `options.data.authToken`          | `string`      | Yes      | Authentication token for the plugin session                                                                                                                                      |\n| `options.data.flow`               | `string`      | Yes      | The plugin flow to load. One of `journey` or `handover`                                                                                                                          |\n| `options.data.sizing`             | `string`      | No       | `'content'` (default) — plugin element grows to fit content. <br/>`'container'` — plugin fills its container height                                                              |\n| `options.data.theme`              | `object`      | No       | `{ appearance: 'light' \\| 'dark' }`. Defaults to `{ appearance: 'light' }`. The plugin only ever uses the appearance passed in — it does not follow the browser/OS colour scheme |\n\n**Returns:** `Promise<CompliancePlugin>`\n\nThe promise resolves when the plugin has successfully initialised. If initialisation fails, the promise rejects with error details.\n\n### `plugin.destroy()`\n\nCleans up all event listeners and internal resources held by the plugin instance. Call this before re-initialising the plugin to prevent listeners from accumulating across multiple initialisations.\n\n```typescript\nconst plugin = await createCompliancePlugin({ ... });\n\n// Later, when re-initialising or unmounting:\nplugin.destroy();\n```\n\n### `plugin.setTheme(theme)`\n\nSwitches the plugin between light and dark appearance without re-initialising it. Use this to keep the plugin in sync when your application's theme changes.\n\n```typescript\nconst plugin = await createCompliancePlugin({ ... });\n\nplugin.setTheme({ appearance: 'dark' });\n```\n\nThe current theme is available via the `plugin.theme` getter.\n\n### Events\n\nYou can subscribe to events via the plugin instance returned after successful initialisation.\n\n#### `plugin.on(event, handler)`\n\nSubscribe to a specific event.\n\n#### `plugin.on(handler)`\n\nSubscribe to all events. The handler receives the event name as the first argument and the event data as the second.\n\n```typescript\nplugin.on((event, data) => {\n    console.log(`Event: ${event}`, data);\n});\n```\n\n#### Example:\n\n```typescript\nconst plugin = await createCompliancePlugin({ ... });\n\nplugin.on('session:expired', () => {\n    // Handle session expiry - e.g. refresh token and reinitialise\n});\n```\n\n#### Available events:\n\n<!-- EVENTS_TABLE_START -->\n\n| Event                            | Data                  | Description                                                                                                             |\n| -------------------------------- | --------------------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `flow.journey.started`           | `void`                | Emits when the user starts the journey and Initial Disclosure Document is generated.                                    |\n| `flow.journey.section:started`   | `SectionStartedEvent` | Emits when the user starts a section.                                                                                   |\n| `flow.journey.section:completed` | `SectionEndedEvent`   | Emits when the user completes the question set and submits their recommendations.                                       |\n| `flow.journey:completed`         | `void`                | Emits when the user completes the journey and summary page is presented.                                                |\n| `session:expired`                | `void`                | Emits when the session has expired. This would typically trigger your auth flow followed by re-initialising the plugin. |\n\n#### Type Definitions\n\n```typescript\ninterface SectionStartedEvent {\n    readonly name: string;\n    readonly reference: string;\n}\n\ninterface SectionEndedEvent {\n    readonly name: string;\n    readonly reference: string;\n    readonly recommendations: {\n        readonly externalReference: string;\n        readonly price: number | null;\n        readonly regulated: boolean;\n        readonly title: string;\n        readonly description: string;\n    }[];\n}\n```\n\n<!-- EVENTS_TABLE_END -->\n\n## Framework Examples\n\n### Angular + RxJS\n\n```typescript\nimport { Component, ElementRef, input, viewChild } from '@angular/core';\nimport { takeUntilDestroyed, toObservable } from '@anlar/core/rxjs-interop';\nimport { createCompliancePlugin, CompliancePlugin } from '@twilltac/compliance-sdk';\nimport { from, switchMap } from 'rxjs';\n\n@Component({\n    selector: 'app-compliance',\n    template: `<div #container style=\"width: 100%; height: 600px;\"></div>`\n})\nexport class ComplianceComponent {\n    readonly workspaceReference = input.required<string>();\n    readonly flow = input.required<string>();\n    readonly customerReference = input.required<string>();\n    readonly offerReference = input.required<string>();\n    readonly authToken = input.required<string>();\n    readonly sizing = input<'content' | 'container'>('content');\n\n    private readonly _container = viewChild.required<ElementRef<HTMLDivElement>>('container');\n\n    private _plugin: CompliancePlugin | null = null;\n\n    constructor() {\n        toObservable(this._container)\n            .pipe(\n                switchMap((container) => {\n                    this._plugin?.destroy();\n                    this._plugin = null;\n\n                    return from(\n                        createCompliancePlugin({\n                            containerElement: container.nativeElement,\n                            data: {\n                                workspaceReference: this.workspaceReference(),\n                                flow: this.flow(),\n                                customerReference: this.customerReference(),\n                                offerReference: this.offerReference(),\n                                authToken: this.authToken(),\n                                sizing: this.sizing()\n                            }\n                        })\n                    );\n                }),\n                takeUntilDestroyed()\n            )\n            .subscribe({\n                next: (plugin) => {\n                    this._plugin = plugin;\n                },\n                error: (error) => {\n                    console.error('Failed to initialise compliance plugin:', error);\n                }\n            });\n    }\n}\n```\n\n### Angular + Promises\n\n```typescript\nimport { Component, ElementRef, afterNextRender, input, viewChild } from '@angular/core';\nimport { createCompliancePlugin, CompliancePlugin } from '@twilltac/compliance-sdk';\n\n@Component({\n    selector: 'app-compliance',\n    template: `<div #container style=\"width: 100%; height: 600px;\"></div>`\n})\nexport class ComplianceComponent {\n    readonly workspaceReference = input.required<string>();\n    readonly flow = input.required<string>();\n    readonly customerReference = input.required<string>();\n    readonly offerReference = input.required<string>();\n    readonly authToken = input.required<string>();\n    readonly sizing = input<'content' | 'container'>('content');\n\n    private readonly _container = viewChild.required<ElementRef<HTMLDivElement>>('container');\n\n    private _plugin: CompliancePlugin | null = null;\n\n    constructor() {\n        afterNextRender(() => {\n            void this._initialisePlugin();\n        });\n    }\n\n    private async _initialisePlugin(): Promise<void> {\n        this._plugin?.destroy();\n        this._plugin = null;\n\n        try {\n            this._plugin = await createCompliancePlugin({\n                containerElement: this._container().nativeElement,\n                data: {\n                    workspaceReference: this.workspaceReference(),\n                    flow: this.flow(),\n                    customerReference: this.customerReference(),\n                    offerReference: this.offerReference(),\n                    authToken: this.authToken(),\n                    sizing: this.sizing()\n                }\n            });\n        } catch (error) {\n            console.error('Failed to initialise compliance plugin:', error);\n        }\n    }\n}\n```\n\n### React\n\n```tsx\nimport { useEffect, useRef } from 'react';\nimport { createCompliancePlugin, CompliancePlugin } from '@twilltac/compliance-sdk';\n\ninterface ComplianceWidgetProps {\n    workspaceReference: string;\n    flow: 'journey' | 'handover';\n    customerReference: string;\n    offerReference: string;\n    authToken: string;\n    sizing?: 'content' | 'container';\n}\n\nfunction ComplianceWidget({ workspaceReference, flow, customerReference, offerReference, authToken, sizing }: ComplianceWidgetProps) {\n    const containerRef = useRef<HTMLDivElement>(null);\n    const pluginRef = useRef<CompliancePlugin | null>(null);\n\n    useEffect(() => {\n        if (!containerRef.current) return;\n\n        pluginRef.current?.destroy();\n        pluginRef.current = null;\n\n        createCompliancePlugin({\n            containerElement: containerRef.current,\n            data: { workspaceReference, flow, customerReference, offerReference, authToken, sizing }\n        })\n            .then((plugin) => {\n                pluginRef.current = plugin;\n            })\n            .catch(console.error);\n\n        return () => {\n            pluginRef.current?.destroy();\n            pluginRef.current = null;\n        };\n    }, [workspaceReference, flow, customerReference, offerReference, authToken]);\n\n    return <div ref={containerRef} style={{ width: '100%', height: '600px' }} />;\n}\n```\n\n## Browser Support\n\nThe SDK requires a modern browser with support for:\n\n- ES2020+\n\n## Support\n\nFor integration support, contact your Twilltac account representative.\n","readmeFilename":"README.md"}