{"_id":"@brij-fi/widget-sdk","_rev":"4-a6a19cf171a7524e41f8340a6fd97a20","name":"@brij-fi/widget-sdk","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.0":{"name":"@brij-fi/widget-sdk","version":"0.1.0","keywords":["brij","widget","sdk","iframe","crypto","wallet","onramp","offramp","typescript"],"author":{"name":"BRIJ"},"license":"MIT","_id":"@brij-fi/widget-sdk@0.1.0","maintainers":[{"name":"brijfi","email":"tech@brij.fi"}],"dist":{"shasum":"23d6a7e1f3e357fe46b08c77a2b58e458d86d969","tarball":"https://registry.npmjs.org/@brij-fi/widget-sdk/-/widget-sdk-0.1.0.tgz","fileCount":41,"integrity":"sha512-PVCRMP0+EHUMO6jsle/QqbUnc3V34VZoioiQM3DcbF8D+PsGSLjBBC7a2MKQxGT0246DVdvD9ZkjnqWMMaWEnw==","signatures":[{"sig":"MEQCIAlP073pHiueN6+VMAcjJWCePbLGnkkLVCtR9p86VsErAiBNI9d5ZJ3ldp+IOnxbWEpPd4WPk2pjCMwiJ5BvYXQ3Kg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":124431},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.esm.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.js"}},"gitHead":"e5822544996e31de0d43599cb8c48147bc5c7e9b","scripts":{"dev":"rollup -c -w","lint":"eslint 'src/**/*.ts' 'tests/**/*.ts'","test":"jest","build":"rollup -c","format":"prettier --write 'src/**/*.ts' 'tests/**/*.ts'","lint:fix":"eslint 'src/**/*.ts' 'tests/**/*.ts' --fix","test:watch":"jest --watch","type-check":"tsc --noEmit","format:check":"prettier --check 'src/**/*.ts' 'tests/**/*.ts'","test:coverage":"jest --coverage","prepublishOnly":"npm run lint && npm run type-check && npm run test && npm run build","serve:examples":"http-server -p 8080"},"_npmUser":{"name":"brijfi","email":"tech@brij.fi"},"_npmVersion":"11.6.0","description":"Official TypeScript SDK for BRIJ Widget - Simplifies iframe integration with automatic height updates, scroll forwarding, and type-safe wallet delegation","directories":{},"_nodeVersion":"24.10.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tslib":"^2.6.2","eslint":"^8.56.0","rollup":"^4.12.0","ts-jest":"^29.1.2","prettier":"^3.2.5","typescript":"^5.3.3","@types/jest":"^29.5.12","@types/node":"^20.11.20","http-server":"^14.1.1","@rollup/plugin-terser":"^0.4.4","eslint-config-prettier":"^9.1.0","jest-environment-jsdom":"^29.7.0","@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-typescript":"^11.1.6","@typescript-eslint/parser":"^7.0.2","@rollup/plugin-node-resolve":"^15.2.3","@typescript-eslint/eslint-plugin":"^7.0.2"},"_npmOperationalInternal":{"tmp":"tmp/widget-sdk_0.1.0_1764500753602_0.4132837738555015","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@brij-fi/widget-sdk","version":"0.1.1","keywords":["brij","widget","sdk","iframe","crypto","wallet","onramp","offramp","typescript"],"author":{"name":"BRIJ"},"license":"MIT","_id":"@brij-fi/widget-sdk@0.1.1","maintainers":[{"name":"brijfi","email":"tech@brij.fi"}],"dist":{"shasum":"2dd96bedd657ee3f0e87e6631f2f177cdcaeace3","tarball":"https://registry.npmjs.org/@brij-fi/widget-sdk/-/widget-sdk-0.1.1.tgz","fileCount":41,"integrity":"sha512-bVIX25CGssoQmKrXff40yDDM5icJIPQQdxsEJZ5Y7eLHS7xiIRpQQbhikImLRzH+RsXzlqZo89h4mSPOro0Wvg==","signatures":[{"sig":"MEQCID+3/XuT7uri483tZpA/r3FnyPxt80r6LVa8h4617UXfAiAONa/0DMTs7qQU7q3cpNRlPSx5WkF9Ts/moWlOkdtO0w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":124431},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.esm.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.js"}},"gitHead":"32ef2317cb2adfebdc8cc991126ca24ff48dff55","scripts":{"dev":"rollup -c -w","lint":"eslint 'src/**/*.ts' 'tests/**/*.ts'","test":"jest","build":"rollup -c","format":"prettier --write 'src/**/*.ts' 'tests/**/*.ts'","lint:fix":"eslint 'src/**/*.ts' 'tests/**/*.ts' --fix","test:watch":"jest --watch","type-check":"tsc --noEmit","format:check":"prettier --check 'src/**/*.ts' 'tests/**/*.ts'","test:coverage":"jest --coverage","prepublishOnly":"npm run lint && npm run type-check && npm run test && npm run build","serve:examples":"http-server -p 8080"},"_npmUser":{"name":"brijfi","email":"tech@brij.fi"},"_npmVersion":"11.6.0","description":"Official TypeScript SDK for BRIJ Widget - Simplifies iframe integration with automatic height updates, scroll forwarding, and type-safe wallet delegation","directories":{},"_nodeVersion":"24.10.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tslib":"^2.6.2","eslint":"^8.56.0","rollup":"^4.12.0","ts-jest":"^29.1.2","prettier":"^3.2.5","typescript":"^5.3.3","@types/jest":"^29.5.12","@types/node":"^20.11.20","http-server":"^14.1.1","@rollup/plugin-terser":"^0.4.4","eslint-config-prettier":"^9.1.0","jest-environment-jsdom":"^29.7.0","@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-typescript":"^11.1.6","@typescript-eslint/parser":"^7.0.2","@rollup/plugin-node-resolve":"^15.2.3","@typescript-eslint/eslint-plugin":"^7.0.2"},"_npmOperationalInternal":{"tmp":"tmp/widget-sdk_0.1.1_1765108298713_0.7975981036974067","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@brij-fi/widget-sdk","version":"0.1.2","keywords":["brij","widget","sdk","iframe","crypto","wallet","onramp","offramp","typescript"],"author":{"name":"BRIJ"},"license":"MIT","_id":"@brij-fi/widget-sdk@0.1.2","maintainers":[{"name":"brijfi","email":"tech@brij.fi"}],"dist":{"shasum":"f0697a3e930e11073cb9dbe807f50a830b8aba9c","tarball":"https://registry.npmjs.org/@brij-fi/widget-sdk/-/widget-sdk-0.1.2.tgz","fileCount":41,"integrity":"sha512-NLTgks7i+SCa/F2ptKVuseelpuj2nYLFKtth2md/Ri9RGxyCiErAGS+nrmpZgnIAY8f1Yf24h+sHtx6bEBJ8pQ==","signatures":[{"sig":"MEQCIFkcJEkTa5THWG5MYLEtZWAiw0dnpFFtB7TXn6Gzjq+1AiB5tsg64GbPKYEv9f5bYDEsIpkeEMFPetjtkSG9O/1y1Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":129480},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.esm.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.js"}},"gitHead":"710a447284e6e3738ba7348b32eab0a8c9c952cc","scripts":{"dev":"rollup -c -w","lint":"eslint 'src/**/*.ts' 'tests/**/*.ts'","test":"jest","build":"rollup -c","format":"prettier --write 'src/**/*.ts' 'tests/**/*.ts'","lint:fix":"eslint 'src/**/*.ts' 'tests/**/*.ts' --fix","test:watch":"jest --watch","type-check":"tsc --noEmit","format:check":"prettier --check 'src/**/*.ts' 'tests/**/*.ts'","test:coverage":"jest --coverage","prepublishOnly":"npm run lint && npm run type-check && npm run test && npm run build","serve:examples":"http-server -p 8080"},"_npmUser":{"name":"brijfi","email":"tech@brij.fi"},"_npmVersion":"11.6.0","description":"Official TypeScript SDK for BRIJ Widget - Simplifies iframe integration with automatic height updates, scroll forwarding, and type-safe wallet delegation","directories":{},"_nodeVersion":"24.10.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tslib":"^2.6.2","eslint":"^8.56.0","rollup":"^4.12.0","ts-jest":"^29.1.2","prettier":"^3.2.5","typescript":"^5.3.3","@types/jest":"^29.5.12","@types/node":"^20.11.20","http-server":"^14.1.1","@rollup/plugin-terser":"^0.4.4","eslint-config-prettier":"^9.1.0","jest-environment-jsdom":"^29.7.0","@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-typescript":"^11.1.6","@typescript-eslint/parser":"^7.0.2","@rollup/plugin-node-resolve":"^15.2.3","@typescript-eslint/eslint-plugin":"^7.0.2"},"_npmOperationalInternal":{"tmp":"tmp/widget-sdk_0.1.2_1765230871352_0.8272902179372785","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@brij-fi/widget-sdk","version":"0.2.0","description":"Official TypeScript SDK for BRIJ Widget - Simplifies iframe integration with automatic height updates, scroll forwarding, and type-safe wallet delegation","main":"dist/index.js","module":"dist/index.esm.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.js"}},"scripts":{"build":"rollup -c","dev":"rollup -c -w","test":"jest","test:watch":"jest --watch","test:coverage":"jest --coverage","lint":"eslint 'src/**/*.ts' 'tests/**/*.ts'","lint:fix":"eslint 'src/**/*.ts' 'tests/**/*.ts' --fix","format":"prettier --write 'src/**/*.ts' 'tests/**/*.ts'","format:check":"prettier --check 'src/**/*.ts' 'tests/**/*.ts'","type-check":"tsc --noEmit","serve:examples":"http-server -p 8080","prepublishOnly":"npm run lint && npm run type-check && npm run test && npm run build"},"keywords":["brij","widget","sdk","iframe","crypto","wallet","onramp","offramp","typescript"],"author":{"name":"BRIJ"},"license":"MIT","devDependencies":{"@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-typescript":"^11.1.6","@types/jest":"^29.5.12","@types/node":"^20.11.20","@typescript-eslint/eslint-plugin":"^7.0.2","@typescript-eslint/parser":"^7.0.2","eslint":"^8.56.0","eslint-config-prettier":"^9.1.0","http-server":"^14.1.1","jest":"^29.7.0","jest-environment-jsdom":"^29.7.0","prettier":"^3.2.5","rollup":"^4.12.0","ts-jest":"^29.1.2","tslib":"^2.6.2","typescript":"^5.3.3"},"_id":"@brij-fi/widget-sdk@0.2.0","gitHead":"340c93eade8c805f03bc64e4ff1fddbbf66df880","_nodeVersion":"24.10.0","_npmVersion":"11.6.0","dist":{"integrity":"sha512-Ll5VPwXNoXqVVgPAFO4IjVfZxx73S78k9v7bi5kY/iUsTMfxsIZ0KIQhyxiGc2CLOX7/eYeK90OlyHDDkmVtOA==","shasum":"1f85d4a05d1468c6045894a4b665fbb67aa32001","tarball":"https://registry.npmjs.org/@brij-fi/widget-sdk/-/widget-sdk-0.2.0.tgz","fileCount":41,"unpackedSize":134001,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDu/uz5Vfc1tEWa3UH94RAzNZ4Qab3PezB8W5MWNpyPKAIhAKOLNzksEn5vaFcySQOAtvvmEUqaBYiagIDRvKMfUY7z"}]},"_npmUser":{"name":"brijfi","email":"tech@brij.fi"},"directories":{},"maintainers":[{"name":"brijfi","email":"tech@brij.fi"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/widget-sdk_0.2.0_1765313105029_0.6337909200418526"},"_hasShrinkwrap":false}},"time":{"created":"2025-11-30T11:05:53.443Z","modified":"2025-12-09T20:45:05.416Z","0.1.0":"2025-11-30T11:05:53.778Z","0.1.1":"2025-12-07T11:51:38.866Z","0.1.2":"2025-12-08T21:54:31.569Z","0.2.0":"2025-12-09T20:45:05.187Z"},"author":{"name":"BRIJ"},"license":"MIT","keywords":["brij","widget","sdk","iframe","crypto","wallet","onramp","offramp","typescript"],"description":"Official TypeScript SDK for BRIJ Widget - Simplifies iframe integration with automatic height updates, scroll forwarding, and type-safe wallet delegation","maintainers":[{"name":"brijfi","email":"tech@brij.fi"}],"readme":"# BRIJ Widget SDK\n\nEmbed crypto on/off-ramp functionality into your application with a few lines of code.\n\n## Quick Start\n\n### 1. Add the SDK\n\n```html\n<script src=\"https://unpkg.com/@brij-fi/widget-sdk/dist/index.umd.js\"></script>\n```\n\nOr install via npm:\n\n```bash\nnpm install @brij-fi/widget-sdk\n```\n\n### 2. Initialize the Widget\n\n```html\n\n<div id=\"brij-widget\"></div>\n\n<script>\n    const {BrijSDK, BrijAction} = window.BrijSDK;\n\n    const sdk = BrijSDK.init('#brij-widget', {\n        apiKey: 'your-api-key',\n        chains: ['SOLANA'], // Optional, remove to support all chains\n        mode: ['ONRAMP'], // or 'OFFRAMP', or remove to support both modes\n    });\n</script>\n```\n\n### 3. Customize Theme (Optional)\n\n```javascript\nconst sdk = BrijSDK.init('#brij-widget', {\n    apiKey: 'your-api-key',\n    theme: {\n        mode: 'dark',                    // 'light' (default) or 'dark'\n        logoUrl: 'https://your-site.com/logo.png',\n        // Backgrounds\n        contentBg: '0F0F23',             // Content background\n        pageBg: '2D2B2C',                // Page background\n        inputFieldBg: '2D2B2C',          // Input field background\n        // Text\n        text: 'FFFFFF',                  // Primary text color\n        footerText: '6B6B6B',            // Footer text color\n        // Brand\n        primaryBrand: '6366F1',          // Brand accent color\n        // Primary CTA buttons\n        primaryCtaBgActive: '4F46E5',    // Active CTA background\n        primaryCtaBgInactive: '999999',  // Inactive CTA background\n        primaryCtaTextActive: 'FFFFFF',  // Active CTA text\n        primaryCtaTextInactive: 'CACACA',// Inactive CTA text\n        // Secondary CTA buttons\n        secondaryCtaBg: '2D2B2C',        // Secondary CTA background\n        secondaryCtaText: 'FFFFFF',      // Secondary CTA text\n        // Menu\n        menuButton: 'FFFFFF',            // Menu button color\n    }\n});\n```\n\n## Documentation\n\nFull documentation: [docs.brij.fi](https://docs.brij.fi/wallets/wallet-integration/)\n","readmeFilename":"README.md"}