{"_id":"@1shotapi/ows-provider","_rev":"10-ccfde36519cfafd1643e056f52312f97","name":"@1shotapi/ows-provider","dist-tags":{"latest":"0.5.1"},"versions":{"0.1.0":{"name":"@1shotapi/ows-provider","version":"0.1.0","keywords":["ows","open-wallet-standard","eip-1193","ethereum","provider","viem","ethers"],"license":"MIT","_id":"@1shotapi/ows-provider@0.1.0","maintainers":[{"name":"tthebc01","email":"tac688@alumni.stanford.edu"},{"name":"csibbach","email":"charlottewisteria@gmail.com"},{"name":"todd_uxly","email":"todd@uxly.software"}],"homepage":"https://github.com/1Shot-API/open-wallet#readme","bugs":{"url":"https://github.com/1Shot-API/open-wallet/issues"},"dist":{"shasum":"398f852d0fbe4aa10c2a290efedc2a43db776995","tarball":"https://registry.npmjs.org/@1shotapi/ows-provider/-/ows-provider-0.1.0.tgz","fileCount":34,"integrity":"sha512-WJgMZ2gXSb7joRMm0i7Auos1HCC+zJKS7czETtnva9PKIiODKreN0hmfpAPekQnWtORQGkFVVDnvvFirpXmUsw==","signatures":[{"sig":"MEQCIDaEqz00jmvSDbec9RcE2VIahttPqG+ew+9Bpw3EFlvUAiBEbgx0G1k8HsKOneq5H4JsTkaMqZtxZVsQk11imvooZA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":74489},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"9e18f3e2ac2623d0ab45a3909218e375db806c85","scripts":{"lint":"tsc -p tsconfig.json --noEmit","test":"node --import tsx --test test/*.test.ts","build":"tsc -p tsconfig.json","clean":"node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\""},"_npmUser":{"name":"csibbach","email":"charlottewisteria@gmail.com"},"repository":{"url":"git+https://github.com/1Shot-API/open-wallet.git","type":"git","directory":"packages/ows-provider"},"_npmVersion":"10.9.8","description":"OWS EIP-1193 provider for Host Layer applications — embed Branding Layer iframe and use with viem, ethers, etc.","directories":{},"_nodeVersion":"22.22.3","dependencies":{"postmate":"^1.5.2","@sd-jwt/sd-jwt-vc":"^0.20.0","@1shotapi/ows-types":"*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.0","@types/postmate":"^1.5.4"},"_npmOperationalInternal":{"tmp":"tmp/ows-provider_0.1.0_1784076111724_0.8742023394636602","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@1shotapi/ows-provider","version":"0.2.0","keywords":["ows","open-wallet-standard","eip-1193","ethereum","provider","viem","ethers"],"license":"MIT","_id":"@1shotapi/ows-provider@0.2.0","maintainers":[{"name":"tthebc01","email":"tac688@alumni.stanford.edu"},{"name":"csibbach","email":"charlottewisteria@gmail.com"},{"name":"todd_uxly","email":"todd@uxly.software"}],"homepage":"https://github.com/1Shot-API/open-wallet#readme","bugs":{"url":"https://github.com/1Shot-API/open-wallet/issues"},"dist":{"shasum":"fa2bb4cf8560b0762cee7666849d0fa115b9798b","tarball":"https://registry.npmjs.org/@1shotapi/ows-provider/-/ows-provider-0.2.0.tgz","fileCount":34,"integrity":"sha512-klk1bbFfeosyOYY+JxD4TaobBfJO5lCqfx/YJ9DfjlAp1QR/dKIT6kZv+p9x1uZjIOpCwffFmg6hQiYait8KWA==","signatures":[{"sig":"MEUCIQCCv05JSEbLuNiUEvjY+uUvSRWerZaq/AVDvn1xnMj6PAIgTGHLNzbKppM03+wKusC/E2AQkdRLQJd2N+ROSWlgpig=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":86489},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"21c757e15f21b76f4bbf8271d08f88195d1cb2c2","scripts":{"lint":"tsc -p tsconfig.json --noEmit","test":"node --import tsx --test test/*.test.ts","build":"tsc -p tsconfig.json","clean":"node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\""},"_npmUser":{"name":"csibbach","email":"charlottewisteria@gmail.com"},"repository":{"url":"git+https://github.com/1Shot-API/open-wallet.git","type":"git","directory":"packages/ows-provider"},"_npmVersion":"10.9.8","description":"OWS EIP-1193 provider for Host Layer applications — embed Branding Layer iframe and use with viem, ethers, etc.","directories":{},"_nodeVersion":"22.22.3","dependencies":{"postmate":"^1.5.2","@sd-jwt/sd-jwt-vc":"^0.20.0","@1shotapi/ows-types":"*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.0","@types/postmate":"^1.5.4"},"_npmOperationalInternal":{"tmp":"tmp/ows-provider_0.2.0_1784157699664_0.10562584308867584","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@1shotapi/ows-provider","version":"0.2.1","keywords":["ows","open-wallet-standard","eip-1193","ethereum","provider","viem","ethers"],"license":"MIT","_id":"@1shotapi/ows-provider@0.2.1","maintainers":[{"name":"tthebc01","email":"tac688@alumni.stanford.edu"},{"name":"csibbach","email":"charlottewisteria@gmail.com"},{"name":"todd_uxly","email":"todd@uxly.software"}],"homepage":"https://github.com/1Shot-API/open-wallet#readme","bugs":{"url":"https://github.com/1Shot-API/open-wallet/issues"},"dist":{"shasum":"e7f073ebfb4a8c123347a78585eb58422038b1d7","tarball":"https://registry.npmjs.org/@1shotapi/ows-provider/-/ows-provider-0.2.1.tgz","fileCount":34,"integrity":"sha512-O/F1iiyBidbbV/hf1025sSut5h7Yn7MGZ/pxC1SVdB7HuBVcl/afZd3JDnW/bEK49VobT/8vWRgo4iQ24eGGnQ==","signatures":[{"sig":"MEUCIQCkkcuhq3TICK0Xepzqg1983fsofNuhk7KXSVgjiURmHAIgLcvlKtG64d8aNEjrfEQkHBLPxbN8Bc1Br5/hI3XckyM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":86607},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"498d8237269bfcb31125adde74bf01adb27d7b8c","scripts":{"lint":"tsc -p tsconfig.json --noEmit","test":"node --import tsx --test test/*.test.ts","build":"tsc -p tsconfig.json","clean":"node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\""},"_npmUser":{"name":"csibbach","email":"charlottewisteria@gmail.com"},"repository":{"url":"git+https://github.com/1Shot-API/open-wallet.git","type":"git","directory":"packages/ows-provider"},"_npmVersion":"10.9.8","description":"OWS EIP-1193 provider for Host Layer applications — embed Branding Layer iframe and use with viem, ethers, etc.","directories":{},"_nodeVersion":"22.22.3","dependencies":{"postmate":"^1.5.2","@sd-jwt/sd-jwt-vc":"^0.20.0","@1shotapi/ows-types":"*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.0","@types/postmate":"^1.5.4"},"_npmOperationalInternal":{"tmp":"tmp/ows-provider_0.2.1_1784598969308_0.2752242376237515","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@1shotapi/ows-provider","version":"0.3.0","keywords":["ows","open-wallet-standard","eip-1193","ethereum","provider","viem","ethers"],"license":"MIT","_id":"@1shotapi/ows-provider@0.3.0","maintainers":[{"name":"tthebc01","email":"tac688@alumni.stanford.edu"},{"name":"csibbach","email":"charlottewisteria@gmail.com"},{"name":"todd_uxly","email":"todd@uxly.software"}],"homepage":"https://github.com/1Shot-API/open-wallet#readme","bugs":{"url":"https://github.com/1Shot-API/open-wallet/issues"},"dist":{"shasum":"e5fa6f40933a12049b4f360bb762fbfec8b3b435","tarball":"https://registry.npmjs.org/@1shotapi/ows-provider/-/ows-provider-0.3.0.tgz","fileCount":34,"integrity":"sha512-OOlrGQgeyVHQdeFEg8EUkWcPh/0Pr8NA3z8n3C4HR7zcOGcXqbPEH1UHXO3Y6FkmX+OcfsGLunuhFbejanc6Kw==","signatures":[{"sig":"MEYCIQCAUjGDkiHSyMM7sL4PV2157B0yCAqRKERUwAZNVAbTKgIhAJxyLMTas62wgZWsuq+e0+C2uIwePjFnhef8JOP9p4MV","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":97869},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"465d4b9be29dd00267d5933db56cef2d71d57d5f","scripts":{"lint":"tsc -p tsconfig.json --noEmit","test":"node --import tsx --test test/*.test.ts","build":"tsc -p tsconfig.json","clean":"node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\""},"_npmUser":{"name":"csibbach","email":"charlottewisteria@gmail.com"},"repository":{"url":"git+https://github.com/1Shot-API/open-wallet.git","type":"git","directory":"packages/ows-provider"},"_npmVersion":"10.9.8","description":"OWS EIP-1193 provider for Host Layer applications — embed Branding Layer iframe and use with viem, ethers, etc.","directories":{},"_nodeVersion":"22.22.3","dependencies":{"postmate":"^1.5.2","@sd-jwt/sd-jwt-vc":"^0.20.0","@1shotapi/ows-types":"*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.0","@types/postmate":"^1.5.4"},"_npmOperationalInternal":{"tmp":"tmp/ows-provider_0.3.0_1785271317974_0.17435434009296613","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@1shotapi/ows-provider","version":"0.3.1","keywords":["ows","open-wallet-standard","eip-1193","ethereum","provider","viem","ethers"],"license":"MIT","_id":"@1shotapi/ows-provider@0.3.1","maintainers":[{"name":"tthebc01","email":"tac688@alumni.stanford.edu"},{"name":"csibbach","email":"charlottewisteria@gmail.com"},{"name":"todd_uxly","email":"todd@uxly.software"}],"homepage":"https://github.com/1Shot-API/open-wallet#readme","bugs":{"url":"https://github.com/1Shot-API/open-wallet/issues"},"dist":{"shasum":"cf84ad179badbf1cbe83f2ffac0f70d8058fdbc6","tarball":"https://registry.npmjs.org/@1shotapi/ows-provider/-/ows-provider-0.3.1.tgz","fileCount":34,"integrity":"sha512-v9GwVKFXryvcEYSBp00hQstTWFiTKSY/s0D0XOU0XYl5sg9WzIz9zgDEqCR4+nw/fePZhGQpafLdXWVZIQExfA==","signatures":[{"sig":"MEUCICNXWq7WkXwM6Nk81H7uJE6lfJ5O/rbo+6LP/dpu9lrxAiEAtp2qp9aKGpfZvIEiSUP19PWspYYqNmOGTEKUNK6fKRs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":98333},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"1594e672f3887327b98b22a760aa86a2589a527f","scripts":{"lint":"tsc -p tsconfig.json --noEmit","test":"node --import tsx --test test/*.test.ts","build":"tsc -p tsconfig.json","clean":"node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\""},"_npmUser":{"name":"csibbach","email":"charlottewisteria@gmail.com"},"repository":{"url":"git+https://github.com/1Shot-API/open-wallet.git","type":"git","directory":"packages/ows-provider"},"_npmVersion":"10.9.8","description":"OWS EIP-1193 provider for Host Layer applications — embed Branding Layer iframe and use with viem, ethers, etc.","directories":{},"_nodeVersion":"22.22.3","dependencies":{"postmate":"^1.5.2","@sd-jwt/sd-jwt-vc":"^0.20.0","@1shotapi/ows-types":"*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.0","@types/postmate":"^1.5.4"},"_npmOperationalInternal":{"tmp":"tmp/ows-provider_0.3.1_1785274553211_0.20698162487603877","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@1shotapi/ows-provider","version":"0.4.0","keywords":["ows","open-wallet-standard","eip-1193","ethereum","provider","viem","ethers"],"license":"MIT","_id":"@1shotapi/ows-provider@0.4.0","maintainers":[{"name":"tthebc01","email":"tac688@alumni.stanford.edu"},{"name":"csibbach","email":"charlottewisteria@gmail.com"},{"name":"todd_uxly","email":"todd@uxly.software"}],"homepage":"https://github.com/1Shot-API/open-wallet#readme","bugs":{"url":"https://github.com/1Shot-API/open-wallet/issues"},"dist":{"shasum":"d31dee21a7c164bd23ecb5f74ed2611f71a0a2d2","tarball":"https://registry.npmjs.org/@1shotapi/ows-provider/-/ows-provider-0.4.0.tgz","fileCount":38,"integrity":"sha512-80wktRKvYbR2kHu9aFeksBXx6crURh+ujOxvqA1gQFGYhNiF83Ul/yBVTYfmJ68i7AHJQ1+qT5nIT7g69riJcA==","signatures":[{"sig":"MEQCIDk7AisADqOa4lqnw5jCnqiXF4wX7ihaTooYUSVGs1gtAiBzIj8nDYngXfRnN4tf8lTZ2REU6kJpw7z4WbXLFwMCdQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":107612},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"ec4a1c1909e7868edb208e6b02d89e0b8133ee5e","scripts":{"lint":"tsc -p tsconfig.json --noEmit","test":"node --import tsx --test test/*.test.ts","build":"tsc -p tsconfig.json","clean":"node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\""},"_npmUser":{"name":"csibbach","email":"charlottewisteria@gmail.com"},"repository":{"url":"git+https://github.com/1Shot-API/open-wallet.git","type":"git","directory":"packages/ows-provider"},"_npmVersion":"10.9.8","description":"OWS EIP-1193 provider for Host Layer applications — embed Branding Layer iframe and use with viem, ethers, etc.","directories":{},"_nodeVersion":"22.22.3","dependencies":{"postmate":"^1.5.2","@sd-jwt/sd-jwt-vc":"^0.20.0","@1shotapi/ows-types":"*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.0","@types/postmate":"^1.5.4"},"_npmOperationalInternal":{"tmp":"tmp/ows-provider_0.4.0_1785453788272_0.11941155850666063","host":"s3://npm-registry-packages-npm-production"}},"0.4.1":{"name":"@1shotapi/ows-provider","version":"0.4.1","keywords":["ows","open-wallet-standard","eip-1193","ethereum","provider","viem","ethers"],"license":"MIT","_id":"@1shotapi/ows-provider@0.4.1","maintainers":[{"name":"tthebc01","email":"tac688@alumni.stanford.edu"},{"name":"csibbach","email":"charlottewisteria@gmail.com"},{"name":"todd_uxly","email":"todd@uxly.software"}],"homepage":"https://github.com/1Shot-API/open-wallet#readme","bugs":{"url":"https://github.com/1Shot-API/open-wallet/issues"},"dist":{"shasum":"b6c05d48b762b089b6676b1e547a7b9c19bd81c1","tarball":"https://registry.npmjs.org/@1shotapi/ows-provider/-/ows-provider-0.4.1.tgz","fileCount":38,"integrity":"sha512-2ppDAgzKaCDRFtoT/hcT5vE3ys7YW6av6zPEW58Ffgs7cnlAEncnQAV6HtAKa7q1wtJs7/LLKp8lzNPNAaf7pg==","signatures":[{"sig":"MEUCIQCV9FXOKvC2AXrlIaXZU8GsHS2yDlX1OwUKFsG90naVlAIgLzjBjW9B/QEiIMO+0t+1wbEYwPrTW2mu9ZPW3U/Xk9M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":111036},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"892a1ab56efc6741757b13abb10e48099be61a19","scripts":{"lint":"tsc -p tsconfig.json --noEmit","test":"node --import tsx --test test/*.test.ts","build":"tsc -p tsconfig.json","clean":"node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\""},"_npmUser":{"name":"csibbach","email":"charlottewisteria@gmail.com"},"repository":{"url":"git+https://github.com/1Shot-API/open-wallet.git","type":"git","directory":"packages/ows-provider"},"_npmVersion":"10.9.8","description":"OWS EIP-1193 provider for Host Layer applications — embed Branding Layer iframe and use with viem, ethers, etc.","directories":{},"_nodeVersion":"22.22.3","dependencies":{"postmate":"^1.5.2","@sd-jwt/sd-jwt-vc":"^0.20.0","@1shotapi/ows-types":"*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.0","@types/postmate":"^1.5.4"},"_npmOperationalInternal":{"tmp":"tmp/ows-provider_0.4.1_1785873261853_0.7282213174808989","host":"s3://npm-registry-packages-npm-production"}},"0.4.2":{"name":"@1shotapi/ows-provider","version":"0.4.2","keywords":["ows","open-wallet-standard","eip-1193","ethereum","provider","viem","ethers"],"license":"MIT","_id":"@1shotapi/ows-provider@0.4.2","maintainers":[{"name":"tthebc01","email":"tac688@alumni.stanford.edu"},{"name":"csibbach","email":"charlottewisteria@gmail.com"},{"name":"todd_uxly","email":"todd@uxly.software"}],"homepage":"https://github.com/1Shot-API/open-wallet#readme","bugs":{"url":"https://github.com/1Shot-API/open-wallet/issues"},"dist":{"shasum":"f3a4d3fadcfaed3fcbd5c2ed1d728d32e486060e","tarball":"https://registry.npmjs.org/@1shotapi/ows-provider/-/ows-provider-0.4.2.tgz","fileCount":42,"integrity":"sha512-nZ7hc4DwOMLM+fhoV//Mz/lg/wVBnbzzIIOv/sEy+kMQZlR8xaX4IXfnOLjg0Kre3lcHZnEo4zCx1uhUv48aWQ==","signatures":[{"sig":"MEYCIQCABfdyKU4FEZyu6dt3goL0bbxTHI9xOp53Wd1AmJ+beQIhANAC9syGuecFUnQ7PBnKctchoUA2mGph5DtGgWMzSgRC","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":115588},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"8f4b8eee045cbb1a854bb4e3e739f326c9d4cd85","scripts":{"lint":"tsc -p tsconfig.json --noEmit","test":"node --import tsx --test test/*.test.ts","build":"tsc -p tsconfig.json","clean":"node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\""},"_npmUser":{"name":"csibbach","email":"charlottewisteria@gmail.com"},"repository":{"url":"git+https://github.com/1Shot-API/open-wallet.git","type":"git","directory":"packages/ows-provider"},"_npmVersion":"10.9.8","description":"OWS EIP-1193 provider for Host Layer applications — embed Branding Layer iframe and use with viem, ethers, etc.","directories":{},"_nodeVersion":"22.22.3","dependencies":{"postmate":"^1.5.2","@sd-jwt/sd-jwt-vc":"^0.20.0","@1shotapi/ows-types":"*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.0","@types/postmate":"^1.5.4"},"_npmOperationalInternal":{"tmp":"tmp/ows-provider_0.4.2_1786145720578_0.7120685757264278","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@1shotapi/ows-provider","version":"0.5.0","keywords":["ows","open-wallet-standard","eip-1193","ethereum","provider","viem","ethers"],"license":"MIT","_id":"@1shotapi/ows-provider@0.5.0","maintainers":[{"name":"tthebc01","email":"tac688@alumni.stanford.edu"},{"name":"csibbach","email":"charlottewisteria@gmail.com"},{"name":"todd_uxly","email":"todd@uxly.software"}],"homepage":"https://github.com/1Shot-API/open-wallet#readme","bugs":{"url":"https://github.com/1Shot-API/open-wallet/issues"},"dist":{"shasum":"36e100c5e1f590b6e75f0056d856c762ec689d73","tarball":"https://registry.npmjs.org/@1shotapi/ows-provider/-/ows-provider-0.5.0.tgz","fileCount":78,"integrity":"sha512-Qp+PpdchuNCpoH9dpBzxFfmofPqYvCy7dba+JVoTVsZpDea32j/sv8urd8cM33xxyYQ27n7qSRtGLLkJtIm4vQ==","signatures":[{"sig":"MEQCICLFanigWUBYXprkk2p0lKqtdAQpEwwFhpeCAAaLcLAqAiBrFZBbA2Y8vnUhYRNySCgPNvzI/0eur2YjfsvO5SBNOw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":221247},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"728eb8dc8c12d8a1864dd482f3bccc9e53232c0a","scripts":{"lint":"tsc -p tsconfig.json --noEmit","test":"node --import tsx --test test/*.test.ts","build":"tsc -p tsconfig.json","clean":"node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\""},"_npmUser":{"name":"csibbach","email":"charlottewisteria@gmail.com"},"repository":{"url":"git+https://github.com/1Shot-API/open-wallet.git","type":"git","directory":"packages/ows-provider"},"_npmVersion":"10.9.8","description":"OWS EIP-1193 provider for Host Layer applications — embed Branding Layer iframe and use with viem, ethers, etc.","directories":{},"_nodeVersion":"22.22.3","dependencies":{"postmate":"^1.5.2","@sd-jwt/sd-jwt-vc":"^0.20.0","@1shotapi/ows-types":"*"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.0","@types/postmate":"^1.5.4"},"_npmOperationalInternal":{"tmp":"tmp/ows-provider_0.5.0_1788574947595_0.9017951959780839","host":"s3://npm-registry-packages-npm-production"}},"0.5.1":{"name":"@1shotapi/ows-provider","version":"0.5.1","description":"OWS EIP-1193 provider for Host Layer applications — embed Branding Layer iframe and use with viem, ethers, etc.","type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"build":"tsc -p tsconfig.json","clean":"node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\"","test":"node --import tsx --test test/*.test.ts","lint":"tsc -p tsconfig.json --noEmit"},"dependencies":{"@1shotapi/ows-types":"*","@sd-jwt/sd-jwt-vc":"^0.20.0","postmate":"^1.5.2"},"devDependencies":{"@types/postmate":"^1.5.4","tsx":"^4.19.0"},"keywords":["ows","open-wallet-standard","eip-1193","ethereum","provider","viem","ethers"],"repository":{"type":"git","url":"git+https://github.com/1Shot-API/open-wallet.git","directory":"packages/ows-provider"},"license":"MIT","publishConfig":{"access":"public"},"_id":"@1shotapi/ows-provider@0.5.1","gitHead":"e432a666424946f0c583ec2678d5bf4110eb4ab1","bugs":{"url":"https://github.com/1Shot-API/open-wallet/issues"},"homepage":"https://github.com/1Shot-API/open-wallet#readme","_nodeVersion":"22.22.3","_npmVersion":"10.9.8","dist":{"integrity":"sha512-X+6fxiOwYnCp7MOE4Z4fALvPScObvQ7AKCGN4Gqqz+JVvkcd2m/r0im/pF4N4iKxq77F6eTtbibQmFXJ0feODA==","shasum":"0c4cfc6f5ee8048b1986d871dc204a3e85224405","tarball":"https://registry.npmjs.org/@1shotapi/ows-provider/-/ows-provider-0.5.1.tgz","fileCount":78,"unpackedSize":221247,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDj7tAPJ3GKLXq56Qx7sE4Cph8ODtxSvw/zrv9L3BSrbwIhAONGeHs50wP5AgHC4JPXtfSmv4xjFyfZPnKMPRWjfT+m"}]},"_npmUser":{"name":"csibbach","email":"charlottewisteria@gmail.com"},"directories":{},"maintainers":[{"name":"tthebc01","email":"tac688@alumni.stanford.edu"},{"name":"csibbach","email":"charlottewisteria@gmail.com"},{"name":"todd_uxly","email":"todd@uxly.software"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ows-provider_0.5.1_1788812496351_0.26242836663002156"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-15T00:41:51.549Z","modified":"2026-09-07T20:21:36.781Z","0.1.0":"2026-07-15T00:41:51.930Z","0.2.0":"2026-07-15T23:21:39.804Z","0.2.1":"2026-07-21T01:56:09.435Z","0.3.0":"2026-07-28T20:41:58.133Z","0.3.1":"2026-07-28T21:35:53.348Z","0.4.0":"2026-07-30T23:23:08.449Z","0.4.1":"2026-08-04T19:54:21.985Z","0.4.2":"2026-08-07T23:35:20.758Z","0.5.0":"2026-09-05T02:22:27.795Z","0.5.1":"2026-09-07T20:21:36.494Z"},"bugs":{"url":"https://github.com/1Shot-API/open-wallet/issues"},"license":"MIT","homepage":"https://github.com/1Shot-API/open-wallet#readme","keywords":["ows","open-wallet-standard","eip-1193","ethereum","provider","viem","ethers"],"repository":{"type":"git","url":"git+https://github.com/1Shot-API/open-wallet.git","directory":"packages/ows-provider"},"description":"OWS EIP-1193 provider for Host Layer applications — embed Branding Layer iframe and use with viem, ethers, etc.","maintainers":[{"name":"tthebc01","email":"tac688@alumni.stanford.edu"},{"name":"csibbach","email":"charlottewisteria@gmail.com"},{"name":"todd_uxly","email":"todd@uxly.software"}],"readme":"# @1shotapi/ows-provider\n\nEIP-1193 provider for **Host Layer** applications using an OWS-compatible Branding Layer iframe.\n\nEmbed your branding iframe, get `proxy.ethereum` for viem/ethers/wagmi, and call custom wallet RPC via `proxy.rpc()`.\n\n## Install\n\n```bash\nnpm install @1shotapi/ows-provider\n```\n\nYour host app must also have a Branding Layer iframe running [`OWSWallet`](https://github.com/1Shot-API/open-wallet/tree/main/packages/ows-wallet-utils) from `@1shotapi/ows-wallet-utils`.\n\nFor SD-JWT VC presentation building and crypto helpers, import from `@1shotapi/ows-types`. Use `verifySdJwtVcPresentation` from this package for host-side verification.\n\n## Quick start\n\n```typescript\nimport { OWSProxy } from \"@1shotapi/ows-provider\";\nimport { createWalletClient, custom } from \"viem\";\n\nconst container = document.getElementById(\"wallet\")!;\nconst proxy = await OWSProxy.create(container, \"https://wallet.example.com\");\n\nconst accounts = await proxy.ethereum.request({ method: \"eth_requestAccounts\" });\n\nconst client = createWalletClient({\n  transport: custom(proxy.ethereum),\n});\n```\n\n### Custom wallet RPC\n\n```typescript\nconst status = await proxy.rpc<{ connected: boolean }>(\"getStatus\");\n```\n\nReturns an `OwsUnimplementedError` (from `@1shotapi/ows-types`) if the Branding Layer did not register that method.\n\n### Analytics (`proxy.analytics`)\n\nBranding publishes product events over Postmate (`ows:analytics`). OWS types only the required base fields (`eventId`, `timestamp`, `hostDomain`, `name`); branding may attach additional properties. Hosts receive the **full** object and can narrow on `name` (per branding docs).\n\n```typescript\nproxy.analytics.on((event) => {\n  // event.name, event.hostDomain, event.timestamp, event.eventId + extras\n  console.log(event);\n});\n\nproxy.analytics.on(\"TransactionSubmitted\", (event) => {\n  // filter by branding-defined name string\n});\n```\n\nOWS does not ship Google Analytics or define a product event catalog.\n\n## API\n\n### `OWSProxy.create(container, walletUrl, options?)`\n\n| Option | Description |\n|--------|-------------|\n| `name` | iframe `name` attribute (default `ows-wallet`) |\n| `classList` | CSS classes on iframe at creation |\n| `rpcTimeoutMs` | RPC timeout (default 120s) |\n| `walletSizeX` / `walletSizeY` | Preferred visible panel size in CSS pixels (default 360×600). Branding scales to this; it does not request its own size. |\n| `presentationMode` | `flyout` (default) or `inline` — fixed for this proxy instance |\n| `allowLocalAccess` | When true, add `local-network-access` / `loopback-network` to iframe `allow` (default `false`) |\n\n### Presentation (flyout / drawer vs inline)\n\n`ows-provider` styles the **host container** passed to `create()`. The iframe fills that container (`width/height: 100%`). **Never reparent the iframe after create** — Postmate messaging breaks. To switch presentation, `destroy()` and create a new proxy against the desired container.\n\nIn **flyout** mode, if the host viewport is narrower than `walletSizeX + 32px` (16px margin on each side), the panel opens as a **full-screen drawer** with a bottom wipe open / wipe-down close. Otherwise it stays a fixed lower-right flyout at the configured size (no clamping). Short-but-wide desktop windows keep the flyout — drawer is for narrow / phone-like widths.\n\n```typescript\nimport { EWalletPresentationMode, OWSProxy } from \"@1shotapi/ows-provider\";\n\n// Flyout or drawer (auto): collapsed until showWallet()\nconst flyout = await OWSProxy.create(flyoutSlot, walletUrl, {\n  presentationMode: EWalletPresentationMode.Flyout,\n  walletSizeX: 360,\n  walletSizeY: 600,\n});\nflyout.showWallet();\n\n// Inline: always visible, fills create() container (size the mount yourself)\nconst inline = await OWSProxy.create(previewSlot, walletUrl, {\n  presentationMode: EWalletPresentationMode.Inline,\n});\n```\n\n| Mode | Container | show / hide |\n|------|-----------|-------------|\n| `flyout` | Usually off-page / body child | Wide viewport → lower-right flyout; narrow → full-screen drawer wipe; hide collapses |\n| `inline` | Page slot (sidebar, preview) | Show = fill; hide = no-op |\n\n### `proxy.ethereum`\n\n`EIP1193Provider` — EIP-1193 `request` with typed results for known methods (`eth_requestAccounts` → `EVMAccountAddress[]`, `personal_sign` → signature hex, etc.). Construct with `new EIP1193Provider(invoke)` or use `OWSProxy.create`, which wires RPC automatically.\n\n### `proxy.bitcoin`\n\n`BitcoinHostClient` — Reown / BIP-122 static-wallet pattern helper (`proxy.bitcoin.getAccountAddresses(params?)`).\n\n### `proxy.rpc(method, params?)`\n\nExtension RPC for wallet-specific methods (non–EIP-1193).\n\n## Architecture\n\n```\nHost Layer — OWSProxy\n  └── Postmate iframe\n        └── Branding Layer — OWSWallet\n              └── Signing Layer — OWSSigner via ows-signer-utils\n```\n\n`OWSProxy` sets iframe Permissions Policy (`allow`) before navigation (WebAuthn + clipboard), including when using stock `postmate`. Pass `allowLocalAccess: true` when the branding layer must fetch LAN/loopback hosts (Chrome still prompts).\n\n## License\n\nMIT\n","readmeFilename":"README.md"}