{"_id":"@polywrap/core-js","_rev":"47-30cee5592ea4a314a4b93cdb6e38e34a","name":"@polywrap/core-js","dist-tags":{"latest":"0.12.2","pre":"0.12.0-pre.1"},"versions":{"0.0.1-prealpha.86":{"name":"@polywrap/core-js","description":"Polywrap Javascript Core","version":"0.0.1-prealpha.86","license":"MIT","repository":{"type":"git","url":"git+https://github.com/polywrap/monorepo.git"},"main":"build/index.js","scripts":{"build":"rimraf ./build && yarn build:manifest && tsc --project tsconfig.build.json","build:manifest":"node ./scripts/manifest/generateFormatTypes.js","lint":"eslint --color -c ../../../.eslintrc.js src/","test":"jest --passWithNoTests --runInBand --verbose","test:ci":"jest --passWithNoTests --runInBand --verbose","test:watch":"jest --watch --passWithNoTests --verbose"},"dependencies":{"@msgpack/msgpack":"2.7.2","@polywrap/manifest-schemas":"0.0.1-prealpha.86","@polywrap/tracing-js":"0.0.1-prealpha.86","graphql":"15.5.0","graphql-tag":"2.10.4","js-yaml":"3.14.0","jsonschema":"1.4.0","semver":"7.3.5"},"devDependencies":{"@polywrap/os-js":"0.0.1-prealpha.86","@types/jest":"26.0.8","@types/prettier":"2.6.0","@types/semver":"7.3.8","jest":"26.6.3","json-schema-to-typescript":"10.1.3","mustache":"4.0.1","rimraf":"3.0.2","ts-jest":"26.5.4","ts-node":"8.10.2","typescript":"4.0.7"},"gitHead":"bb0c6a2c9e31a375fa5b142fe6effcf58cc7ee5b","publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/polywrap/monorepo/issues"},"homepage":"https://github.com/polywrap/monorepo#readme","_id":"@polywrap/core-js@0.0.1-prealpha.86","_nodeVersion":"16.13.0","_npmVersion":"lerna/4.0.0/node@v16.13.0+x64 (linux)","dist":{"integrity":"sha512-VYqEcmaQum0NHz8KSlqj8PMEd37np7WKFltsOIKD0sWX5lv6CB2o/B6YrPnbXfni8Qo+l/uNbxQ87+FhihIzAg==","shasum":"e27bc3f0f3221866ce3fc8b2c46a92af07601906","tarball":"https://registry.npmjs.org/@polywrap/core-js/-/core-js-0.0.1-prealpha.86.tgz","fileCount":369,"unpackedSize":340547,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGYV984NCB7+IGmpNs8SKo4NnDagnnZLlMSVpCEd7q39AiB4xAfCZx2UADrlaSKq02YMmA3FyDd0J2ztem1Ulz+t6g=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJirJNbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqmRg//S/vk4pLT3ZKHzXAu7qq/rWuJthuLAGdrQsSOmF0L7VPyIyB8\r\nGWNMz/iHo08uuiNjC59F9FI/215jNrAmxSCWxqi5DWIgfu/8cX6YOZ6nZMLX\r\nT8gaUhHlBD6s/5BhebjnkR6vbVHDjH0DKbEKdCgME3Dpa0Wa/Tm+5xDjUHE3\r\nRGnAIIcnYSx7Q1mBKcVOnghPkdZgq74H5C1IRzJugfPVYU7SeGZ6f9gJaGN4\r\niwFS05d9m8/14PA2WF5fQOcx4DK0Zvv3LNvbEuOEqP1S9qKDo5gASZl/7SKO\r\n8/xQM4M4O1I5pM90EE6ywp1eLREaLI6J/crdspOLyKKm53vjNnf8E7txxDhF\r\nPoMkxHMLLjjjgC2mQaCwoeb8P8SV2nrV/jzBYfIgWs3V2Qs4qv9AlDw2uZct\r\nuGgDCe13Yt8yixDKU+9W5zoY3AlbJDV4hC9aw2ow1nBx4zz4na5qg51sWUKg\r\nllMamoJ3LaddvZF+rjAmJC02FUXbrb4BoKmwgcNG5xlZSVy0brfh6L2FuZbj\r\np8YLs0D3GYnVdyeL0/f/m1Bs4lblR059uvhqlGyRUI/Woa/GIk4Cofa/ich5\r\no8G0PQfKIpnv6JnKjiyiYw8f2EhXog4ObOVw76spw5NPv469po4tuL4xQxts\r\nqxh/aAZnAcMl+ANEn/lG4eNus4CaqkJ25i0=\r\n=tgIc\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},"directories":{},"maintainers":[{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},{"name":"dorgjelli","email":"jelli@dorg.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-js_0.0.1-prealpha.86_1655477083287_0.16190928682382277"},"_hasShrinkwrap":false},"0.0.1-prealpha.87":{"name":"@polywrap/core-js","description":"Polywrap Javascript Core","version":"0.0.1-prealpha.87","license":"MIT","repository":{"type":"git","url":"git+https://github.com/polywrap/monorepo.git"},"main":"build/index.js","scripts":{"build":"rimraf ./build && yarn build:manifest && tsc --project tsconfig.build.json","build:manifest":"node ./scripts/manifest/generateFormatTypes.js","lint":"eslint --color -c ../../../.eslintrc.js src/","test":"jest --passWithNoTests --runInBand --verbose","test:ci":"jest --passWithNoTests --runInBand --verbose","test:watch":"jest --watch --passWithNoTests --verbose"},"dependencies":{"@msgpack/msgpack":"2.7.2","@polywrap/manifest-schemas":"0.0.1-prealpha.87","@polywrap/tracing-js":"0.0.1-prealpha.87","graphql":"15.5.0","graphql-tag":"2.10.4","js-yaml":"3.14.0","jsonschema":"1.4.0","semver":"7.3.5"},"devDependencies":{"@polywrap/os-js":"0.0.1-prealpha.87","@types/jest":"26.0.8","@types/prettier":"2.6.0","@types/semver":"7.3.8","jest":"26.6.3","json-schema-to-typescript":"10.1.3","mustache":"4.0.1","rimraf":"3.0.2","ts-jest":"26.5.4","ts-node":"8.10.2","typescript":"4.0.7"},"gitHead":"f661b70948a4dbb0b2deb5392c4e999bbe7e780d","publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/polywrap/monorepo/issues"},"homepage":"https://github.com/polywrap/monorepo#readme","_id":"@polywrap/core-js@0.0.1-prealpha.87","_nodeVersion":"16.13.0","_npmVersion":"lerna/4.0.0/node@v16.13.0+x64 (linux)","dist":{"integrity":"sha512-csFDB3tYBMAg2lv2s/h6MpU6mJPiZAXSJAfDCxLgLfiAeIZs+8lkdJKHrCsZMfk3/aWNQVGihpAGHbF5cz40+Q==","shasum":"671c38e7df0f214d7e16f8c403316e0e7ecca1a4","tarball":"https://registry.npmjs.org/@polywrap/core-js/-/core-js-0.0.1-prealpha.87.tgz","fileCount":369,"unpackedSize":358148,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC5iCTm+9Xi8GTj/1IcaEispzth3b7SLl8VEsUU1lFtyAIhALlUUumUv8oPJlp0C86JyxpvsKxhRmJGL0gjl0e5R+ib"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiskf/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpZjA/7BafmDJRT5HT9saw0+gIeN2LNVPRcT5c6VW0zcsQ4vLYtdn19\r\nXHsxNDTX/pvnTq50xkKWyIeB3sIGf+oU6UNG41fzi58EzhB8KdUveWgrOrFG\r\nKOcLVEj1dOdWfv+GeK/9ZOrNJ04rDamsOHkjzKCl0/SbIVfT4bWShJ3MIDZQ\r\nr1ZsWMK92ngPkkj0PZTYzv2rlihvNIvILlTmMnb5KVHMz63e6zMLAOKJbXgb\r\nydoeACHj/XRfLPThiR5ykSY3my6ugl1SlOLrV15P81UqhVwyAFg3emGONZ3x\r\nvslqBitTn6qoxO8K4ajYwKA1RXxHmrUxkuys0uKdNPb5kw4aMkKZr81acL6N\r\nFhiVSFQeh5EEQU/lmlv1ZgKRticxcXMWvP760IZqz3PijXQh7CuGN8R76oKN\r\n/yt4ta7+ZpxgN1Oc3Dk3QagpAnVJkttqzy0PVuJLxreCQ+UlOnjHYsxI5d5y\r\nclK6Sfrp+Xzb7lIepOtIIj6v40sJfwlTfDYTDB3ookrPoGydbNM1/tIx5/zb\r\nOsfo5EYExG230d3hITaodW9v/VpCNp9RZ9HSBV2Sbkxi6X022XN0+Z4884sN\r\n0Gim1s0bhBmBV3C10eZ2p1F8AVuAqIy1MSqMZs1PBnnGTGLpNB3B5sR86Zwd\r\nz+ogIQzKe2IImdaJSkKqGTFR+KX/F9VBDcM=\r\n=E+8q\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},"directories":{},"maintainers":[{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},{"name":"dorgjelli","email":"jelli@dorg.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-js_0.0.1-prealpha.87_1655851006948_0.8361161349154007"},"_hasShrinkwrap":false},"0.0.1-prealpha.88":{"name":"@polywrap/core-js","description":"Polywrap Javascript Core","version":"0.0.1-prealpha.88","license":"MIT","repository":{"type":"git","url":"git+https://github.com/polywrap/monorepo.git"},"main":"build/index.js","scripts":{"build":"rimraf ./build && yarn build:manifest && tsc --project tsconfig.build.json","build:manifest":"node ./scripts/manifest/generateFormatTypes.js","lint":"eslint --color -c ../../../.eslintrc.js src/","test":"jest --passWithNoTests --runInBand --verbose","test:ci":"jest --passWithNoTests --runInBand --verbose","test:watch":"jest --watch --passWithNoTests --verbose"},"dependencies":{"@msgpack/msgpack":"2.7.2","@polywrap/manifest-schemas":"0.0.1-prealpha.88","@polywrap/tracing-js":"0.0.1-prealpha.88","graphql":"15.5.0","graphql-tag":"2.10.4","js-yaml":"3.14.0","jsonschema":"1.4.0","semver":"7.3.5"},"devDependencies":{"@polywrap/os-js":"0.0.1-prealpha.88","@types/jest":"26.0.8","@types/prettier":"2.6.0","@types/semver":"7.3.8","jest":"26.6.3","json-schema-to-typescript":"10.1.3","mustache":"4.0.1","rimraf":"3.0.2","ts-jest":"26.5.4","ts-node":"8.10.2","typescript":"4.0.7"},"gitHead":"255caa0a40130f0733a31ac28efed272bfa00889","publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/polywrap/monorepo/issues"},"homepage":"https://github.com/polywrap/monorepo#readme","_id":"@polywrap/core-js@0.0.1-prealpha.88","_nodeVersion":"16.13.0","_npmVersion":"lerna/4.0.0/node@v16.13.0+x64 (linux)","dist":{"integrity":"sha512-UTvzhQHvz0/a7f4QcM0na8UGIgfwsWACFIoGgHra+GPo/KVVpbla2LokxB7sGz9KbYtjuy0bJbGX0e6BDM+8Rg==","shasum":"268a1c258edb3e7e7b1f69155ffea6d884aa10f0","tarball":"https://registry.npmjs.org/@polywrap/core-js/-/core-js-0.0.1-prealpha.88.tgz","fileCount":369,"unpackedSize":358148,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHph7h/iD9dNhlK69lPTxCVabfPxlSkBQ9ryVi9F8A5jAiAT8fbVNxFAYSRM2IEWgugX127e0EVsiNTkjaMLV75nEw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJislZYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo1Qw/+KuqrY6fLe2D9lpBCMCTs5MM+WHV3LUE77O02rzKGM6I2Myfk\r\neuFqUz7IlG/kCRbnxmY66b47KHhs7Mt6lUU9SaJcuPUGOkJxfg/ExiQSLFjW\r\nh/rYAWX+GMmtMBrt2CxsfTTctFEi/wkz2HkP8Vlu1y9fbIuN91GVqIV2oMko\r\nKZ9OgSzD0PNZDJoSzIVtOzLLc4+wNAudbqVgdkxl1olm3Z85XFMe2wJjtdsw\r\neTu3+AL7LWsPIPAjmGxhUo062fgumbhmRF+kbVBxzj0RuVekgLAa5uhNI0zD\r\n6ob3hR+xd1Nt6q5+JCmXz3AE+s1w5EJIZADLuOZLqeejaaqDRW2ttYd9L8lE\r\nwi+koImjYAB5yHTHR1GKt8lEKrLZY43+KAvl3UsxITtkvhFJgwD6GT4UES0H\r\n7IlN37IYXmwBw0kuaFaQVRusol3YEmUTpHD6XJs4P7PVrjvGPwSoGJf9049A\r\nnxyhvNiByjcEB6h+/EPCgRGLsyZwcjHOT3P6/BpmDGGWpIgJYDbWSpURNObk\r\nbCXJt4GQpHgHGUUaW7jnq0fnK5sPOIuCn7iR9Qw1JqDtjqxjEOfm2WkE3WTA\r\nH56ETyJY7ob87Rjf8enFCqwiLQhS91ONzRexNELFwjc4YYekMR18Tvtj+huJ\r\nleFzXFvtaDSj5re8XT6aB9FcOnbXhuzS9YE=\r\n=k+ce\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},"directories":{},"maintainers":[{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},{"name":"dorgjelli","email":"jelli@dorg.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-js_0.0.1-prealpha.88_1655854680109_0.6569939290702982"},"_hasShrinkwrap":false},"0.0.1-prealpha.89":{"name":"@polywrap/core-js","description":"Polywrap Javascript Core","version":"0.0.1-prealpha.89","license":"MIT","repository":{"type":"git","url":"git+https://github.com/polywrap/monorepo.git"},"main":"build/index.js","scripts":{"build":"rimraf ./build && yarn build:manifest && tsc --project tsconfig.build.json","build:manifest":"node ./scripts/manifest/generateFormatTypes.js","lint":"eslint --color -c ../../../.eslintrc.js src/","test":"jest --passWithNoTests --runInBand --verbose","test:ci":"jest --passWithNoTests --runInBand --verbose","test:watch":"jest --watch --passWithNoTests --verbose"},"dependencies":{"@msgpack/msgpack":"2.7.2","@polywrap/manifest-schemas":"0.0.1-prealpha.89","@polywrap/tracing-js":"0.0.1-prealpha.89","graphql":"15.5.0","graphql-tag":"2.10.4","js-yaml":"3.14.0","jsonschema":"1.4.0","semver":"7.3.5"},"devDependencies":{"@polywrap/os-js":"0.0.1-prealpha.89","@types/jest":"26.0.8","@types/prettier":"2.6.0","@types/semver":"7.3.8","jest":"26.6.3","json-schema-to-typescript":"10.1.3","mustache":"4.0.1","rimraf":"3.0.2","ts-jest":"26.5.4","ts-node":"8.10.2","typescript":"4.0.7"},"gitHead":"26f0e513b94565f36c02acfd4cd5fb1b842413cb","publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/polywrap/monorepo/issues"},"homepage":"https://github.com/polywrap/monorepo#readme","_id":"@polywrap/core-js@0.0.1-prealpha.89","_nodeVersion":"16.13.0","_npmVersion":"lerna/4.0.0/node@v16.13.0+x64 (linux)","dist":{"integrity":"sha512-pnqBH7tMKRZBZk/y3YcZPUlAKKc6ZQ6UuEXLOu6QIWPHizlaTPHR2gTK4YjxQXE20iiYTvEXuWe01ksJgwYKiw==","shasum":"c5fd7aefc181746cb3514ed483b31f0c3200f2dc","tarball":"https://registry.npmjs.org/@polywrap/core-js/-/core-js-0.0.1-prealpha.89.tgz","fileCount":369,"unpackedSize":357133,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDvDuwLQdn4M3NOa78f+sGzW3OxR6nXK8c3q453++r7pgIhAIu5WjOQrgWH3WkFXnAirpjzjin9sZ9ysTVmKAaKWnKR"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJitOKXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq4YhAAjOXhtDWl+4ld0SB8BiP6vlbVdRZjohjfcGb0y9+UATnJuhj+\r\nkQFC2Bgj+a5i1fcPcgBnAmMxlHgyEaTGKo0Th4ZYbDe/gaaLtcZM1xO6CSla\r\nlski8pgLlkVI8xODPGrZModbldji/JnngJ8GOy1MI1Rve3yQcKYGZNmAvrMX\r\n+TlLJG5BVqGCMewjfvTEPfadewSp+hEXNUtxEMN8+4CX8iKQYDJSOVRb4xY1\r\ng4u9IiCJG2TyCltXel/CpcDsDAXKvtYUebAZgU5oSfeG9pRspwzFgu7ItW4B\r\np4NL3Q+QNkwUEUu1bgXebr64TWxqOLRYASmJ7v+YU2+PlyvhzrFGtkobBphZ\r\nx8xpiHxdsKAjulWEyHejofhbX5t5lMPJHGkT08PMpIm0B4eWQs7TuKN7p0bE\r\nwqeJstkcb24xX26OT0MKkAh8QOf+3wK3LKvV2Rg4QbDb/tkdeRLYCKx002EQ\r\nd8xE0oeIFboEmkr4mdtMTGFNZuLTOmgdguWk/jiRDF6PpO8B7uwbahzdRU54\r\n4e3dIZhpXkZc4FrayknAWyDwr26ipJEil4EIvS10cr4nrC/TjaUz4D+mS5Bz\r\n0KJlUQ+qXHPYDH6t7YPWVL7K8IBPdQz3KxEaIW3LKzPUnTkjTMzNtJ1OTkQY\r\nHY4t9XDmtulCbJQkgbp3OX0s1u3lihoGYxU=\r\n=iSwI\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},"directories":{},"maintainers":[{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},{"name":"dorgjelli","email":"jelli@dorg.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-js_0.0.1-prealpha.89_1656021654984_0.2850205462578661"},"_hasShrinkwrap":false},"0.0.1-prealpha.90":{"name":"@polywrap/core-js","description":"Polywrap Javascript Core","version":"0.0.1-prealpha.90","license":"MIT","repository":{"type":"git","url":"git+https://github.com/polywrap/monorepo.git"},"main":"build/index.js","scripts":{"build":"rimraf ./build && yarn build:manifest && tsc --project tsconfig.build.json","build:manifest":"node ./scripts/manifest/generateFormatTypes.js","lint":"eslint --color -c ../../../.eslintrc.js src/","test":"jest --passWithNoTests --runInBand --verbose","test:ci":"jest --passWithNoTests --runInBand --verbose","test:watch":"jest --watch --passWithNoTests --verbose"},"dependencies":{"@msgpack/msgpack":"2.7.2","@polywrap/manifest-schemas":"0.0.1-prealpha.90","@polywrap/tracing-js":"0.0.1-prealpha.90","graphql":"15.5.0","graphql-tag":"2.10.4","js-yaml":"3.14.0","jsonschema":"1.4.0","semver":"7.3.5"},"devDependencies":{"@polywrap/os-js":"0.0.1-prealpha.90","@types/jest":"26.0.8","@types/prettier":"2.6.0","@types/semver":"7.3.8","jest":"26.6.3","json-schema-to-typescript":"10.1.3","mustache":"4.0.1","rimraf":"3.0.2","ts-jest":"26.5.4","ts-node":"8.10.2","typescript":"4.0.7"},"gitHead":"835cfa1d13cf7f0d3fb5796112d82acd466c7bbb","publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/polywrap/monorepo/issues"},"homepage":"https://github.com/polywrap/monorepo#readme","_id":"@polywrap/core-js@0.0.1-prealpha.90","_nodeVersion":"16.13.0","_npmVersion":"lerna/4.0.0/node@v16.13.0+x64 (linux)","dist":{"integrity":"sha512-hj609naXWe9JSlsrsPku1JJsMcQ5qeXagA5FNLnKA35TOUUkNas+ujc7CBuHgCystbSofSWSoSofm/3u2dzshg==","shasum":"e56db598047cbdffaeb0f2c7847bd897421c6adb","tarball":"https://registry.npmjs.org/@polywrap/core-js/-/core-js-0.0.1-prealpha.90.tgz","fileCount":366,"unpackedSize":353082,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDTJ0Wk6lcCwEWgSnfJWdasf2E0JIJjA6CmyRgpCJeMRwIgU+iCve1sVzeHQMXypLvc7gILB+iITZ0EKxyUOlpIuAU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiumqyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpudxAAoAKCUBIedye5wQUMsIPBMDqBkxxdUZmsXde4ORG5dmSaw2zG\r\noWo9rh0pB2nQVA29fph2n5W8uMsVJabgRYqPGNcu9cAb9nXqmKJhvNCQ9Hzo\r\nyAAeZGgINAYrH2uO+lmslhN7r5vOql0uIBxFrmJk307H0hpxQQPv6O0a6fvI\r\n/VubSh/BXXw32cV5kfI54f5+vV1gIOFVPgRctsxnM8+YZxFYD3SU0YTApV3D\r\nAgg7f6iDVaFuliuifvZbo7XtVyPRreicBk64MGIwjUfC8OPYor6BVOcltdjk\r\nynEKeSWRkpsQM4aEGw2d7jjFFZyPPjASRetnGjLMrdeRo3meWJEXhm//ilRV\r\ntZ5LzGvDjV3408F5YQNE2rR+STx0LWzqPHVyayM2IjT0pHB3le6CaliazMlW\r\nnbX+JzlpmrgdBR5eoW/kbgFwh9fxuGxHAu4yhgrn6QEd4C2jgXvW+IG2GbRW\r\nVjolV2xemNMEN4k4Dd+LVpBYe1inqQlPsgn2/vgR8K7ubGTer2ceiIFBCMEk\r\nsmc1Z2TGg2VgyHiCsNzz51RlUZzHBoZq0Vg0ccVqUPvcLebIqwQo4RzfOP2Z\r\n2l7dFB2rw42q8G5TbSIeaa7tU7WxKjZ/49mi0KSu6pgKctQ28DlZfG29I07c\r\nat6cT8hqSC9DklAmsP89jvDyZU+LkC0t9IM=\r\n=gT+b\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},"directories":{},"maintainers":[{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},{"name":"dorgjelli","email":"jelli@dorg.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-js_0.0.1-prealpha.90_1656384178740_0.12708699279740943"},"_hasShrinkwrap":false},"0.0.1-prealpha.91":{"name":"@polywrap/core-js","description":"Polywrap Javascript Core","version":"0.0.1-prealpha.91","license":"MIT","repository":{"type":"git","url":"https://github.com/polywrap/monorepo.git"},"main":"build/index.js","scripts":{"build":"rimraf ./build && yarn build:manifest && tsc --project tsconfig.build.json","build:manifest":"node ./scripts/manifest/generateFormatTypes.js","lint":"eslint --color -c ../../../.eslintrc.js src/","test":"jest --passWithNoTests --runInBand --verbose","test:ci":"jest --passWithNoTests --runInBand --verbose","test:watch":"jest --watch --passWithNoTests --verbose"},"dependencies":{"@msgpack/msgpack":"2.7.2","@polywrap/manifest-schemas":"0.0.1-prealpha.91","@polywrap/tracing-js":"0.0.1-prealpha.91","graphql":"15.5.0","graphql-tag":"2.10.4","js-yaml":"3.14.0","jsonschema":"1.4.0","semver":"7.3.5"},"devDependencies":{"@polywrap/os-js":"0.0.1-prealpha.91","@types/jest":"26.0.8","@types/prettier":"2.6.0","@types/semver":"7.3.8","jest":"26.6.3","json-schema-to-typescript":"10.1.3","mustache":"4.0.1","rimraf":"3.0.2","ts-jest":"26.5.4","ts-node":"8.10.2","typescript":"4.0.7"},"gitHead":"7346adaf5adb7e6bbb70d9247583e995650d390a","publishConfig":{"access":"public"},"_id":"@polywrap/core-js@0.0.1-prealpha.91","dist":{"shasum":"e54b412cab8acf3abdc5ae06fe42078374109c0b","integrity":"sha512-7CoeKLa+aHbDfo1hhLp6tSnNYo4jRqSuI293/H9Gl34tRov6tGi3m0N5f47CJIRM1nXyKFepodr/usNtrBwbbw==","tarball":"https://registry.npmjs.org/@polywrap/core-js/-/core-js-0.0.1-prealpha.91.tgz","fileCount":397,"unpackedSize":355236,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCBt6pYj7XUcd1G4ibjFHTuAlZ/j5hsoGTC3qUrcH0rrQIgd2l7GLBEGI+V8tRH9nx7+3VZ7VmW4OMRo7OZRrL4EcU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJivo4AACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqIkA//a8LuD3x1vByzJL5z4FeAD3MzNV/fpJpObIjhRGSKG6eaKYKI\r\naR7bZMkmMs7/WA0tsl6HjlNPSyuWlSf74/1iIg5fJtarnJTOExf6wXdtIKFU\r\ntJ8G2cxRKJQX8dzjAchBzILUFDIxTtkU/uo6Fp8JFowwrc9qa5h3YM/YVRnb\r\nTEf1tX10pux4BA1bQqQAp/rLo8oXEHkF2VqEWRO/9sjLBWIUVqAUV7FzOY7A\r\nDkCbfKzaACxkUBA86UR5im4d+gq914Gmhh5DrGrYf+gpyDe6aNmvFWL8dIUN\r\nmH7QuMcnyNQRLSTMkuNwRPVOKvZAVzkWnXzpMHPU5q+i4ngLkGm2mq9QYj4w\r\nqQn2RL+IrNM6DX6Ms+6VFlCuh5+UcoCk++rtVj3VDFogbAcQ44e+EsyhBDmA\r\nQS/ImTs7xPollNTWlnzzMzrUFbGZN/IHt3fbp7JOQCjLtk8XlZIpAD8WbXfd\r\n5zUc4d9gCEzg93L+1RWVaDMUwl/QueFvScsRCsBeKM3Wnxj34A9ru1a6kVjC\r\nAAz9yPgxsWJ4Q6Qr0jGr/Zzgwlcb//5sNCfg71BkBCntZ6LbBMTC6ptX5PzC\r\nC/XOt41rqpZR3OOY1XgmWdM6/2Awv5wuhxnYh+wtMKi44GXaqddP2r+Wensi\r\nS4BB9/ZPfCBvTPMDf0iJW453SKSUJmxMYsk=\r\n=pjaV\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},"directories":{},"maintainers":[{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},{"name":"dorgjelli","email":"jelli@dorg.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-js_0.0.1-prealpha.91_1656655360146_0.8677722626368087"},"_hasShrinkwrap":false},"0.0.1-prealpha.92":{"name":"@polywrap/core-js","description":"Polywrap Javascript Core","version":"0.0.1-prealpha.92","license":"MIT","repository":{"type":"git","url":"https://github.com/polywrap/monorepo.git"},"main":"build/index.js","scripts":{"build":"rimraf ./build && yarn build:manifest && tsc --project tsconfig.build.json","build:manifest":"node ./scripts/manifest/generateFormatTypes.js","lint":"eslint --color -c ../../../.eslintrc.js src/","test":"jest --passWithNoTests --runInBand --verbose","test:ci":"jest --passWithNoTests --runInBand --verbose","test:watch":"jest --watch --passWithNoTests --verbose"},"dependencies":{"@msgpack/msgpack":"2.7.2","@polywrap/manifest-schemas":"0.0.1-prealpha.92","@polywrap/tracing-js":"0.0.1-prealpha.92","graphql":"15.5.0","graphql-tag":"2.10.4","js-yaml":"3.14.0","jsonschema":"1.4.0","semver":"7.3.5"},"devDependencies":{"@polywrap/os-js":"0.0.1-prealpha.92","@types/jest":"26.0.8","@types/prettier":"2.6.0","@types/semver":"7.3.8","jest":"26.6.3","json-schema-to-typescript":"10.1.3","mustache":"4.0.1","rimraf":"3.0.2","ts-jest":"26.5.4","ts-node":"8.10.2","typescript":"4.0.7"},"gitHead":"7346adaf5adb7e6bbb70d9247583e995650d390a","publishConfig":{"access":"public"},"_id":"@polywrap/core-js@0.0.1-prealpha.92","dist":{"shasum":"304de5cf6ef99a2bba6f84348c7281e4bd30afbf","integrity":"sha512-porODRp9tJBF59jcC+nO5V2l3FaoAgZY9mxzf8UrEfkjuONG5nfM15vfcjYthz7GjjKsdtXSNt7ZwlWGZSQgXA==","tarball":"https://registry.npmjs.org/@polywrap/core-js/-/core-js-0.0.1-prealpha.92.tgz","fileCount":397,"unpackedSize":354056,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFsFhyo8IUNgtsst+UsSJ5HCNviHzdBiV+WrP8iE0yJoAiBe/y0FCqptrBlVcuUH8YGWkRDvg7CCV3iZ/fwuyZBwkA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiw5pdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmotSQ//dgWw0gyzlzQNWsXf77NTHREo9VnVOoJdaBUo0gtfGBs+yEHg\r\nvpY91k2rgXf1laHE2DcbxWjhMXRwyE1I44K54mf40WAc8fMaG6+6woXfmEz/\r\nVU5dcrlAvJo7wtgL6OmP9RVesvYYKCfvF9usvztRBiGtxSBJdB0c7+0jI4vF\r\nIQ3Tcsa5VegBfHHUnYXs1Bumn3uzfUNurUXhmtZa2wGIjdXazEdQxf1IB8I2\r\nKnQarQ+pMTDTs8cJJH1HTF8tYZame5oR9yAA9glaPVAdJ+g+6wsp2glE2j4O\r\nG784//pAX0VRS40EdQLm2YbyYycGCNALHrFZ7TtdcYxa7hbeTM5hNGgeHAl5\r\nQKKERQaWAGHDELW/7YesawFr/Q/muMK96Ub2IgsJaFk4T8HbC7riBz7BVpSS\r\nUtQTkvPFacWk/C2aWf/iNW2g9AKb/tknD4AacXnbzT1Qt1ALInESJgH023yJ\r\nhCWCzx+yt/Gm5E6OeiWHaAXASSP9IFMkkPLem9FJdd/v2Y005Xg1ypP3JeAf\r\nrem/Wm8P9zCmdYAzIbnBJFhLbfieFuXYmi7rnH16KF5cWyC0DP+WADCqCi38\r\nuBKvWmyyA/COUKN5cAFDJRTiUDBC4Ahe6rjUVHsnS9RE5RYOV+C9QX6tlhuF\r\neNE2XYgisa4LqRoGANOxjcPT+d2EqbVxRoM=\r\n=SSeJ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},"directories":{},"maintainers":[{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},{"name":"dorgjelli","email":"jelli@dorg.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-js_0.0.1-prealpha.92_1656986205730_0.708719351690889"},"_hasShrinkwrap":false},"0.0.1-prealpha.93":{"name":"@polywrap/core-js","description":"Polywrap Javascript Core","version":"0.0.1-prealpha.93","license":"MIT","repository":{"type":"git","url":"https://github.com/polywrap/monorepo.git"},"main":"build/index.js","scripts":{"build":"rimraf ./build && tsc --project tsconfig.build.json","lint":"eslint --color -c ../../../.eslintrc.js src/","test":"jest --passWithNoTests --runInBand --verbose","test:ci":"jest --passWithNoTests --runInBand --verbose","test:watch":"jest --watch --passWithNoTests --verbose"},"dependencies":{"@polywrap/tracing-js":"0.0.1-prealpha.93","@polywrap/wrap-manifest-types-js":"0.0.1-prealpha.93","graphql":"15.5.0","graphql-tag":"2.10.4","js-yaml":"3.14.0","jsonschema":"1.4.0","semver":"7.3.5"},"devDependencies":{"@polywrap/os-js":"0.0.1-prealpha.93","@types/jest":"26.0.8","@types/prettier":"2.6.0","@types/semver":"7.3.8","jest":"26.6.3","json-schema-to-typescript":"10.1.3","mustache":"4.0.1","rimraf":"3.0.2","ts-jest":"26.5.4","ts-node":"8.10.2","typescript":"4.0.7"},"gitHead":"7346adaf5adb7e6bbb70d9247583e995650d390a","publishConfig":{"access":"public"},"_id":"@polywrap/core-js@0.0.1-prealpha.93","dist":{"shasum":"98f3cc918eac65730eba4c58109ec96333e4756a","integrity":"sha512-F2KAJTp14+QG+uuwc+tciRGKPOh2jQtIJ70IpEaKZ8xMnm3aU8MMXUDKhex+d8FVAKrCTgjMr/5iqXqnHvIJDg==","tarball":"https://registry.npmjs.org/@polywrap/core-js/-/core-js-0.0.1-prealpha.93.tgz","fileCount":171,"unpackedSize":166849,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCufkvJBBnPiQqoO0jjcvRS2d5ZrtAlCWF/UVaWHhAZrwIgZ3xmcVEd8Tt9cR1vzec4x9SIY4xksB871U1/4pBN6yk="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJixOLnACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmryiBAAoNIfqxKj50CE1EaF1bhrHp1QlSVqdKQ9bI5cqEn/JJkfA3I4\r\nvaFEybetq2X6Pv8oEkphVj3vQiJ4nnTWe1SCnjuNnJfvMWOVs3uLatmS3Yro\r\n7eweaKagvqELM8O8tkp/LpFlxNJqaymYCXW2l/QN2q4td4i2jpoGO2XHp7rY\r\n0oNzt6gRSABvrLhex4mNIpttlZY5g7jIEb1QoH9orhDG7YPqLzrqdOnu8J77\r\ni266Yiz3newerGprow+JpH7jlrsgQ3uA9SkveqnXNOo3+G549g4pjWVqP/vj\r\nJHOR+JwuQLtE4sy6zn6kOg17N9fmvbTL9YRrnfsb5JhgvubIf5kUtBVTamC0\r\ns57f1kgV1M54mcu2N4fb8+4sKUNXPviqLs+qM4ls1ELelTXXbjyDbmxTfQco\r\nlVQdEA2smQx6C/8nkS7g9jvaoZ7ixASp/VO4aAlNpsTY6L2LeOty6onxxc1d\r\nNE8/rI9I9unreFq4+bhQnTKqf2XhToP1+z2DtbuslJ4v/uZ2g52ZXIhBNJzl\r\nK1/jG6Z0pq+MOLgvzU3ltEbF7d5K+0ojaQtcIrAcsQA21+pa+mRpk9UsZPht\r\n9wZKe/uTkWPbF1MgM8phQ56sitpNrz5RYzSPWLrsv2nuuPX4eTARVYaySggr\r\ntM0n5Dtvh/TMKiqkCKRaRSc15kaqhPMLlOw=\r\n=59mS\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},"directories":{},"maintainers":[{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},{"name":"dorgjelli","email":"jelli@dorg.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-js_0.0.1-prealpha.93_1657070311570_0.7799798085602772"},"_hasShrinkwrap":false},"0.1.0":{"name":"@polywrap/core-js","description":"Polywrap Javascript Core","version":"0.1.0","license":"MIT","repository":{"type":"git","url":"https://github.com/polywrap/monorepo.git"},"main":"build/index.js","scripts":{"build":"rimraf ./build && tsc --project tsconfig.build.json","lint":"eslint --color -c ../../../.eslintrc.js src/","test":"jest --passWithNoTests --runInBand --verbose","test:ci":"jest --passWithNoTests --runInBand --verbose","test:watch":"jest --watch --passWithNoTests --verbose"},"dependencies":{"@polywrap/tracing-js":"0.1.0","@polywrap/wrap-manifest-types-js":"0.1.0","graphql":"15.5.0","graphql-tag":"2.10.4","js-yaml":"3.14.0","jsonschema":"1.4.0","semver":"7.3.5"},"devDependencies":{"@polywrap/os-js":"0.1.0","@types/jest":"26.0.8","@types/prettier":"2.6.0","@types/semver":"7.3.8","jest":"26.6.3","json-schema-to-typescript":"10.1.3","mustache":"4.0.1","rimraf":"3.0.2","ts-jest":"26.5.4","ts-node":"8.10.2","typescript":"4.0.7"},"gitHead":"7346adaf5adb7e6bbb70d9247583e995650d390a","publishConfig":{"access":"public"},"_id":"@polywrap/core-js@0.1.0","dist":{"shasum":"8eead67cb1d6a6988e2f175080eea40fd49503a5","integrity":"sha512-Abnt4nYQYyfy4Nk9i2nHxdwX6EBQmwFeD3iBu2InlGMdDsWy0ifXha1apLWp3cpZzG7O31rNlkdp1naYIBmZFw==","tarball":"https://registry.npmjs.org/@polywrap/core-js/-/core-js-0.1.0.tgz","fileCount":171,"unpackedSize":166801,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCaR+I5yx6CfC0bSzvZ+KDcleG0QD3jP4hZPIql7eb/gwIgDjQWjD+IP1/Sg1mM2VZ3hzhjuRDJuISDE6CX3ej4870="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJixUaHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpWMg//V3YKLBs0X+opDor10fCZh8v5zX0oVpH0bpAslQmxbaaZRvr4\r\nkuu095fYPaIAsfvySe4gl+7JVA25P8Nm/YAFne3xZAvG6DdB1UfCmggxA19t\r\nGo1N85dWPIWD2j4D0VfWWQujWZpmss79OKgmQ2TeJaVXNloNA/CqxvDrzZ7o\r\nIdUJfNzS8tH0g+zDepiMlHhIDPFjQS6ZUPwRWfBj8r6EMns2EOhqybTdmRfp\r\n5PiNOPKn34RTNORGbBmfmP4NqU4+i4jbvVW0sIgSGkk3qvg4QGJOGkjijkTJ\r\nT66h5o5knaTJrqRs7l41z2sn52HIlsfNNP5D03iVbeuTVI+fcjnY3QtVE9Yq\r\n0i+lNUlkOcPPEjpEvL3laJV7zs6Mkr1nOAjvwe2n5hsnV7htt8Qin5E7xCF8\r\nUACeV+vnX7Kykrs7AvBu0l6mf0Xr5mRwYZNzaGtmt8TYWOgy+2podL2QGZGJ\r\nEQO/fSwTTjb/9vbfTHFvTMWqgNs/QUmBVUhVD/J9INnnIis+DyZtYRhgFOTQ\r\nJrLaCMlQ1cjh1koJhpsBqx+9H0yQuU51FL88K770ovcR8Mj+YDliT0vLW1yY\r\nZuyjQ40uruTvNdg7B1dgcbrpwTYCgPQrjvKFj8WJ/WzR3GCu0o1k49SkLXtV\r\nwMBd1kk6vIRG8grM79iELA52JjlnGyP07RI=\r\n=gM8l\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},"directories":{},"maintainers":[{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},{"name":"dorgjelli","email":"jelli@dorg.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-js_0.1.0_1657095815066_0.2759364774094091"},"_hasShrinkwrap":false},"0.1.1":{"name":"@polywrap/core-js","description":"Polywrap Javascript Core","version":"0.1.1","license":"MIT","repository":{"type":"git","url":"https://github.com/polywrap/monorepo.git"},"main":"build/index.js","scripts":{"build":"rimraf ./build && tsc --project tsconfig.build.json","lint":"eslint --color -c ../../../.eslintrc.js src/","test":"jest --passWithNoTests --runInBand --verbose","test:ci":"jest --passWithNoTests --runInBand --verbose","test:watch":"jest --watch --passWithNoTests --verbose"},"dependencies":{"@polywrap/tracing-js":"0.1.1","@polywrap/wrap-manifest-types-js":"0.1.1","graphql":"15.5.0","graphql-tag":"2.10.4","js-yaml":"3.14.0","jsonschema":"1.4.0","semver":"7.3.5"},"devDependencies":{"@polywrap/os-js":"0.1.1","@types/jest":"26.0.8","@types/prettier":"2.6.0","@types/semver":"7.3.8","jest":"26.6.3","json-schema-to-typescript":"10.1.3","mustache":"4.0.1","rimraf":"3.0.2","ts-jest":"26.5.4","ts-node":"8.10.2","typescript":"4.0.7"},"gitHead":"7346adaf5adb7e6bbb70d9247583e995650d390a","publishConfig":{"access":"public"},"_id":"@polywrap/core-js@0.1.1","dist":{"shasum":"1717588f9b9f7b170f961b51153aa504b9d74085","integrity":"sha512-+n6+o+4bgYGp3d3SdP4cKLDwkN3AwmbiIiDs2dLGq53Lu3nAHcFDF3GOcTKFw6pgMuYnACRd3C2xkvQgKELxcQ==","tarball":"https://registry.npmjs.org/@polywrap/core-js/-/core-js-0.1.1.tgz","fileCount":171,"unpackedSize":166785,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCZrPhujF/dU2Rwfrandk4M/9ArgoWY870U1WgptPgiTgIgE7O4m09qWqXAUbi9O17h1/StomIf61+F4Pe4q9eGLNs="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJixpMWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoX6A/8DL5bezCxzezPucj158MXbkPiInQ2/DWGOxK+469TG+SMXbfz\r\nXTNMSlw44OmNgpcFsHxBuRUDcNjHW7ZD0eAlcQCZoE05uW6U7ULKiAj2Wj79\r\nqcJh3cjhvTcGa2diLEecjsclQDi68k5f+hlWY3QvhocIyvnX5EPyVcXk+hRY\r\nd+5JWERE+cvt97aEq6O7JUYe8Om5CABx5UmK4gbmMQVHx2oS7BDcjiiorm0h\r\nX6euKtPTpRIh5elvBQRFfGJ/MspnyAJc80i/clxapUzSmbkX0zCURNYa/Rhm\r\n8UBo/H/k1FdiN78aabf4uqR/t3+lKslRT0RM9JOpoPSEsPpabe713bXF1w41\r\nn0128E7Q5NEj/J2wubZZFa4ofz2Nj/AU+LNKMdtdGAIvQdqtXSxostxpqADX\r\noj5oaODJKiRM4eZWoLy405+k+RuFBQE1fB0op30SoBr6LFWhN4ORFiVnAOsK\r\nP4RukX7nyV1C8lDMznbbibdKCyWMY5H1deQrz/7005YwvYzNyFLnzvbm5NaC\r\nTWOSNtPCIvtaNlXzl8WZXpVna64obaSnjwqpv59QZJYw5dg3rVjk33LiGoob\r\nBcktjsBBYzavOllj5Is3x20dtuWid+X5XDI+yjXSNGgDu3YOqd2guurXZeWs\r\nXTMO2MNcGtfN7H81lzQAZ3YOd0HPrAPTtFU=\r\n=xH43\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},"directories":{},"maintainers":[{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},{"name":"dorgjelli","email":"jelli@dorg.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-js_0.1.1_1657180949806_0.12315536707278096"},"_hasShrinkwrap":false},"0.2.0":{"name":"@polywrap/core-js","description":"Polywrap Javascript Core","version":"0.2.0","license":"MIT","repository":{"type":"git","url":"https://github.com/polywrap/monorepo.git"},"main":"build/index.js","scripts":{"build":"rimraf ./build && tsc --project tsconfig.build.json","lint":"eslint --color -c ../../../.eslintrc.js src/","test":"jest --passWithNoTests --runInBand --verbose","test:ci":"jest --passWithNoTests --runInBand --verbose","test:watch":"jest --watch --passWithNoTests --verbose"},"dependencies":{"@polywrap/tracing-js":"0.2.0","@polywrap/wrap-manifest-types-js":"0.2.0","graphql":"15.5.0","graphql-tag":"2.10.4","js-yaml":"3.14.0","jsonschema":"1.4.0","semver":"7.3.5"},"devDependencies":{"@polywrap/os-js":"0.2.0","@types/jest":"26.0.8","@types/prettier":"2.6.0","@types/semver":"7.3.8","jest":"26.6.3","json-schema-to-typescript":"10.1.3","mustache":"4.0.1","rimraf":"3.0.2","ts-jest":"26.5.4","ts-node":"8.10.2","typescript":"4.0.7"},"gitHead":"7346adaf5adb7e6bbb70d9247583e995650d390a","publishConfig":{"access":"public"},"_id":"@polywrap/core-js@0.2.0","dist":{"shasum":"49d523af6165f386d7f68feb98bf8524907f24b9","integrity":"sha512-D7nD/Mx8JXVTDSsurrzfKy/Y5x0aIkQMfmnqkG3OMiD26+AFCNHSg/gsqlEAQgmFZrzJcUVBEfWPMnunuVRAVQ==","tarball":"https://registry.npmjs.org/@polywrap/core-js/-/core-js-0.2.0.tgz","fileCount":171,"unpackedSize":166785,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCuz05uNiEY9R+KMKZqXD7VeUIxzpX+NtVpQu/wgRkHiwIhAMG5jrtpCJzhPL/x1vA/NYR1hBJSewWxbF6fTXeZ5cNY"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiznXPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpgQg/9ECY9zAuRiN583soMP5cKcquuJrzFDjVMu6CzEQWa2BVkSUiS\r\nZ3GnLpm2taA11fhzK8iKSdOU/2I9BdMHlV0vIEadjNFyTxWno7MBtwHaoygZ\r\nXaVsrcROtmlTILLD44JrO1NUm5zgEZ9bXKkts+nZUE5kb/ZoG52+UdFmB/v6\r\nrAzeVYIpGTEKmfsJqg6jgJmCkIZNZVkIBvBXtJE5OVJXDEHYfvYP7wZBNWm7\r\nq40R2id9/IzAggusZg9N+9s/uGsfzByBNj3Z5twmZ3gte988gGIrpveFqj6A\r\nt1HwQVdi8UC9HE4PzhE9aDaIBcTWWsWYOQSkK0dGP1iv7HIWkZNlDXdR9cBr\r\n6DRn4Y1GRwAxzYsDtqGeqvJqToicQiM/O7TRZPVmjjx4trrInPieUK92pq+l\r\ngB3rJRRRSEV7iUgY1hBcEgEKtmH+kyo5XQQkL46vMVxpT5vx5ujZY+6ETlLM\r\nSuiJgRgeQbO1HrF4CZEoDaOBdAPtwsZV8uyTBzoWQ5RwXUKjl0YpJZNaQcED\r\nuYalf7DLsyOIv6w5RFlYf9okPpihDhXPv+Ry0D5SsZnNQlDY+sUOzmyubM+v\r\nVh75cHsZA/hNL6bWU5jBcTN/XU+GkFVu9Q6LfPqTpzEJ8ethHVEDO59pxpt0\r\nv24PZ9rqKOzN1ccdD0cMGnM8mEzHGiej+0k=\r\n=/a4P\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},"directories":{},"maintainers":[{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},{"name":"dorgjelli","email":"jelli@dorg.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-js_0.2.0_1657697742702_0.8083602547608655"},"_hasShrinkwrap":false},"0.3.0":{"name":"@polywrap/core-js","description":"Polywrap Javascript Core","version":"0.3.0","license":"MIT","repository":{"type":"git","url":"https://github.com/polywrap/monorepo.git"},"main":"build/index.js","scripts":{"build":"rimraf ./build && tsc --project tsconfig.build.json","lint":"eslint --color -c ../../../.eslintrc.js src/","test":"jest --passWithNoTests --runInBand --verbose","test:ci":"jest --passWithNoTests --runInBand --verbose","test:watch":"jest --watch --passWithNoTests --verbose"},"dependencies":{"@polywrap/tracing-js":"0.3.0","@polywrap/wrap-manifest-types-js":"0.3.0","graphql":"15.5.0","graphql-tag":"2.10.4","js-yaml":"3.14.0","jsonschema":"1.4.0","semver":"7.3.5"},"devDependencies":{"@polywrap/os-js":"0.3.0","@types/jest":"26.0.8","@types/mustache":"4.0.1","@types/prettier":"2.6.0","@types/semver":"7.3.8","jest":"26.6.3","mustache":"4.0.1","rimraf":"3.0.2","ts-jest":"26.5.4","ts-node":"8.10.2","typescript":"4.0.7"},"gitHead":"7346adaf5adb7e6bbb70d9247583e995650d390a","publishConfig":{"access":"public"},"_id":"@polywrap/core-js@0.3.0","dist":{"shasum":"220bd4d66b8e9980ebbe2852fc7623f317feca18","integrity":"sha512-3iSp99UIgj53WXAwWJStPjjGUeBoLcgakuEoA/vaWG9PHtRB7dmcIWpL7DtyE1eXMP8QrIMBuS40wDM1zy2Vlw==","tarball":"https://registry.npmjs.org/@polywrap/core-js/-/core-js-0.3.0.tgz","fileCount":171,"unpackedSize":166843,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDWG5uLgud0zVmITUq0/hecMTAF6M9yYE31PIGxHnQQRQIgCCjE4DzP27shfKq4F6mpVEdNT3kOHS7+mTdVNKif8CY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi3ab5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpe8BAAl9gbNQY2T2LiqMW4F719OFuQkMSCU46sTnc8aClc7V5tYEfQ\r\neAdf2wnvnxiXEk4Otp9g5NC8qGaWM3m1Ajx0/KQsithWPUmjVCTvtLpM7RP8\r\no/HcVOBppPuGFMWMAHGrcZYbQSPclLbEZSl/iyqLKkVTBlCvHu52ughJ1C0e\r\nvcJ5K0MbbJTaGz6jLCOw8lQx0iXKCkzpvnOgyZS8kB8uouFZ6On7N7lAZFl8\r\nwOgPd84Dpn3+5IJ1eBske3znGJUTwPgX1om/+DmiSNYCOYLbTP1AFUd0O01y\r\nESjcHINZqjICBCrkCKTMN0FsUEYP+STcAHKJP1cSTskhuqUsb2C/RpcG8PI6\r\nFin6AMBkel4G+a4N+BT9/byHx//71dVIA0NVbbG9cmE4j9baoR+Cd27Vx1MC\r\n6BLYiYUJlfH8LMzZLv5yCnAcf+S5ZOijSYDSWX7ni3w5m6gwloEvV/UcF+fY\r\nYlkfeU5csaQqjxYLBChg4q7VBvelqxTjlbodCZpncVDq9OR/qE7CtWPDzLhH\r\nSqJu0i8XhnL5vEVTbTTQ8uwuEEmMhTodqdl4CyD1JQB8oxD+5m/Uwc7dGZxV\r\nTEALYx2gcRM6p5mo0vMIt3qhfMgsrH6LzHBMBYlIIcn5Y6lajxxWoMKtruhD\r\nMILNCr8npfNEEm/BxY4laEhZzak9qy6DpNI=\r\n=NxC+\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},"directories":{},"maintainers":[{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},{"name":"dorgjelli","email":"jelli@dorg.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-js_0.3.0_1658693369721_0.7418920675590566"},"_hasShrinkwrap":false},"0.4.0":{"name":"@polywrap/core-js","description":"Polywrap Javascript Core","version":"0.4.0","license":"MIT","repository":{"type":"git","url":"https://github.com/polywrap/monorepo.git"},"main":"build/index.js","scripts":{"build":"rimraf ./build && tsc --project tsconfig.build.json","lint":"eslint --color -c ../../../.eslintrc.js src/","test":"jest --passWithNoTests --runInBand --verbose","test:ci":"jest --passWithNoTests --runInBand --verbose","test:watch":"jest --watch --passWithNoTests --verbose"},"dependencies":{"@polywrap/tracing-js":"0.4.0","@polywrap/wrap-manifest-types-js":"0.4.0","graphql":"15.5.0","graphql-tag":"2.10.4","js-yaml":"3.14.0","jsonschema":"1.4.0","semver":"7.3.5"},"devDependencies":{"@polywrap/os-js":"0.4.0","@types/jest":"26.0.8","@types/mustache":"4.0.1","@types/prettier":"2.6.0","@types/semver":"7.3.8","jest":"26.6.3","mustache":"4.0.1","rimraf":"3.0.2","ts-jest":"26.5.4","ts-node":"8.10.2","typescript":"4.0.7"},"gitHead":"7346adaf5adb7e6bbb70d9247583e995650d390a","publishConfig":{"access":"public"},"_id":"@polywrap/core-js@0.4.0","dist":{"shasum":"8d02f382a0c50ec912760e2636c15364e724bac9","integrity":"sha512-Eb6rPagIAdgxYqig0AnhUFGU+i2CIPTtnDFE5hbIwLL45b984la0M09sOsk6dhJF6JZ1ujELQJbTCiTKxU0CZA==","tarball":"https://registry.npmjs.org/@polywrap/core-js/-/core-js-0.4.0.tgz","fileCount":171,"unpackedSize":167837,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEZEiUZJpDTRAt7ch7DNA4wDiHFyFIIFm8hrpBEZqHrQAiEA0zEyserNB/UlRmP+uMCTZSbz1jrMD1U+xMuOTlXySQE="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjAKc1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoYiA//YwdD0ybScL1vG9hzbSstzSKmkJOucqQM+gQ7cTh6GLPcwPFT\r\nKoL26rsHGAK+/C+RPlymD27ngtEhf3y15QIf4ssKPoZswzs+NaQHKu5Zb63p\r\nb4JVLsakRe0OI+/52WL1XeGT16RyPriHaVG1eWXXpZkXUW7eXWEGV4wN7i85\r\nOGgWSgLL5UePYYzFUgw1oKkmGRVAHhzvePm4mtKEEenzyi4p3DA8G7Gz/aMu\r\n2+SLnJdMo9Tk0dPjtYVfcgC9w7JMi461DX6qgvZ95fuJqSnpp5T6tPawoIZl\r\neB3ATuqXFGTE+7MMPa0MKsmTb00N0eCF1BbyoFphByWj9//8VW+Jpagl49wa\r\nfndke2NbH0y403O1FfWAzaBlhwv3DCN4d3xdO7TBEEf7X4WNq9N4w3RCpATb\r\n4Xjz+iG4RcUJX29A7PCyWkk/n5AMJESbEM+yz7DDYkxVVc8EohD9V1aDbB3G\r\nJ5V+L9TmRhsM6bCMNtRurCmcBQeq3fso/j5m4Gv0RhB6vbgjvfw+Ixf+31Yv\r\nO9VZbs+W5VxJR+yQgG3XDauXL8HgTpMy7BZ+v+LJfGA/1Ct6DsS9VoCIE224\r\n0a5e2CKmY56H6YDy5x6LKGSMQjTKfwjZKvXFyw/HefYrRW84bBtKKnmsZd2p\r\nVmz+n92Zfc7ubQEiLis7gBihsOhadHzULVU=\r\n=PiSR\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},"directories":{},"maintainers":[{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},{"name":"dorgjelli","email":"jelli@dorg.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-js_0.4.0_1660987189753_0.1770986477054144"},"_hasShrinkwrap":false},"0.4.1":{"name":"@polywrap/core-js","description":"Polywrap Javascript Core","version":"0.4.1","license":"MIT","repository":{"type":"git","url":"https://github.com/polywrap/monorepo.git"},"main":"build/index.js","scripts":{"build":"rimraf ./build && tsc --project tsconfig.build.json","lint":"eslint --color -c ../../../.eslintrc.js src/","test":"jest --passWithNoTests --runInBand --verbose","test:ci":"jest --passWithNoTests --runInBand --verbose","test:watch":"jest --watch --passWithNoTests --verbose"},"dependencies":{"@polywrap/tracing-js":"0.4.1","@polywrap/wrap-manifest-types-js":"0.4.1","graphql":"15.5.0","graphql-tag":"2.10.4","js-yaml":"3.14.0","jsonschema":"1.4.0","semver":"7.3.5"},"devDependencies":{"@polywrap/os-js":"0.4.1","@types/jest":"26.0.8","@types/mustache":"4.0.1","@types/prettier":"2.6.0","@types/semver":"7.3.8","jest":"26.6.3","mustache":"4.0.1","rimraf":"3.0.2","ts-jest":"26.5.4","ts-node":"8.10.2","typescript":"4.0.7"},"gitHead":"7346adaf5adb7e6bbb70d9247583e995650d390a","publishConfig":{"access":"public"},"_id":"@polywrap/core-js@0.4.1","dist":{"shasum":"1ca2ce33b28c44b713ddcc6302d04918d33995bc","integrity":"sha512-nHH+BnRIETdJTbIynWTwmsqGqSU2R0TnUiinEWk8xUUkZ6+FzSsH+AkI5nffO2EPBv0cvb4BdszytX+XRXzmkA==","tarball":"https://registry.npmjs.org/@polywrap/core-js/-/core-js-0.4.1.tgz","fileCount":171,"unpackedSize":167837,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDKSNzyn+FgRBbpX6/RM7CjPN2vtuMCiVA7AE5MUqbNLgIgRMifwJhKGXFDTLxmOFj7On5UZCqvUuM6mSceQxvETW4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjA9LfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr8gA/+IMJ7h/m5Z4q60GtLN/U1378nx6XFeP7CHSeKp+wnlpJtl56h\r\n0yDTRTSWciMvVQtYh6C96rWXfTCwYMERnN/+ZugEcDkv0nuMCWr41bRQ32Oy\r\n5p/P4w3xoedLZ2qBx5ekkDqm/dCeKB+/UDVl9IST+1WMGrHsM0k+dVrvy0QK\r\nicThs8wX8++1vOwcTOHJjYXvjz0LT1qZxVhay3TGBB9BoQWifXY7OSWhd+zJ\r\nWLyUwbyJU7GfXCxH9ZDSLgWxRP2Rzsapxtt4M6RyDZ5e36VN+crXoNQ81AUg\r\nMhqYkiQI2FEQ1v1l1/fpOfrZ34pySEh/20lo1oMQjqgHLBQ2Ku65Xg/7badr\r\nVfbbrW370Kauo96uw06iNwtxu6wmBVqD0Q3HDhwuSedjRDrUF28suYatP+Dx\r\n51nAxUz4vfuUO61bDtPUmIBpPhb9vLli77ax/CPvD+jgPXW6hIHlsACXiji7\r\nHqUcrlo6LnQkCUUUVEl7n7xV8eeI7y1IHX0SbpwUBK1RwBthk6phWeeBlWqd\r\nYCYwXI+Q2nB9QSAu7E7eAVc+DZLuAFXOPxktgejkjnh42R+z6evo5FcBe2AT\r\n9DxvSxiu+eXduGaSA4c9dmGakBO5pIq/CQp/DsxeSv+05jpwGQiT8VOtJA0k\r\nwlkfv+1oKlHIzm5EcondZakWixPvLL2cN5s=\r\n=yVS0\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},"directories":{},"maintainers":[{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},{"name":"dorgjelli","email":"jelli@dorg.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-js_0.4.1_1661194975585_0.9048516162661706"},"_hasShrinkwrap":false},"0.5.0":{"name":"@polywrap/core-js","description":"Polywrap Javascript Core","version":"0.5.0","license":"MIT","repository":{"type":"git","url":"https://github.com/polywrap/monorepo.git"},"main":"build/index.js","scripts":{"build":"rimraf ./build && tsc --project tsconfig.build.json","lint":"eslint --color -c ../../../.eslintrc.js src/","test":"jest --passWithNoTests --runInBand --verbose","test:ci":"jest --passWithNoTests --runInBand --verbose","test:watch":"jest --watch --passWithNoTests --verbose"},"dependencies":{"@polywrap/asyncify-js":"0.5.0","@polywrap/msgpack-js":"0.5.0","@polywrap/tracing-js":"0.5.0","@polywrap/wrap-manifest-types-js":"0.5.0","graphql":"15.5.0","graphql-tag":"2.10.4","js-yaml":"3.14.0","jsonschema":"1.4.0","semver":"7.3.5"},"devDependencies":{"@polywrap/os-js":"0.5.0","@types/jest":"26.0.8","@types/mustache":"4.0.1","@types/prettier":"2.6.0","@types/semver":"7.3.8","jest":"26.6.3","mustache":"4.0.1","rimraf":"3.0.2","ts-jest":"26.5.4","ts-node":"8.10.2","typescript":"4.0.7"},"gitHead":"7346adaf5adb7e6bbb70d9247583e995650d390a","publishConfig":{"access":"public"},"_id":"@polywrap/core-js@0.5.0","dist":{"shasum":"f3e45eebe0ae9e250147523e248269a6783cfe99","integrity":"sha512-RfWCI6ve/vUnzoKeYGQeal+j+ZQlayokv6s1gIfCqnJSDGC/bfMpuu3inr6uIGJOOJWDGVQ6XEsYqU0xUS8p4A==","tarball":"https://registry.npmjs.org/@polywrap/core-js/-/core-js-0.5.0.tgz","fileCount":201,"unpackedSize":232077,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDctUOay68ON0FVS4lqw3N9yf4k/S9hkSvS2/mu0bWaFAiEAuxM3JLQNkgwysF40HJl7CMYEcv2j+Z85tlPa6I+h6hc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjCU52ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqe1w/9FYNERt5UlPs6uxIVSJ9231h0oBzhZ9+CgOJ6YbOfHFDGoFeq\r\nQ/jyu+yVhzqJ9Xk8wRzWf4kqvj4myiHFpElPYrPR4GkiuE5xEp3rORUxr7Oq\r\nYbRujBHQo0Vv5aCWboYBggtBt3b2Y19vfMdy2pCO/wv5PH/1vShoYzjF/KaG\r\ngiuYZGsV17vOQMklSGfBRawrywtDEv4KM//E2JM6ehNGyoxHmTaJnrOTwqPm\r\nWb3j4FTXVSR6KUKDB5bqWha9cn3AE6tZLJoiWKA0nNWkhmop8tj08/YtWnSk\r\ntPzdj3qC86ItmfL1uyjllSIRCxTXuqriyxQUiCB+WNhMiFyhkIoFaNrt01yy\r\nu9QRv1qGuaKIGcDqQu/GBXhORlOTAhVtWcISlTqbdbHxtpdchkx/AQgXbvlM\r\nPtDKUmqx8p/C3lmzS0xPGq5VMRnO1a7b921mMIFOXFTyZSUXDraWMAAw6HJ+\r\nus+EIbMQglUA05TFb8chjNAYtG/3do1zS9K/aUdD2FMfugbYrK7fBmxGkKbB\r\n4oTz8fr/KNgz5R84O4SgGz/N7cH6fe+ZgXq7VIxN6A3swQVIvoPf2J+BHPmk\r\n1zu0GWbVK1ojWm9JhHY/aFr3mhf66SU3me7SgBl0EasjKYwY5Y6ebK5xYaL9\r\n50dexSXheQjK5CnWPI8sl9WvnKvJpxmw7go=\r\n=L5sH\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},"directories":{},"maintainers":[{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},{"name":"dorgjelli","email":"jelli@dorg.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-js_0.5.0_1661554293719_0.8627590611769862"},"_hasShrinkwrap":false},"0.6.0":{"name":"@polywrap/core-js","description":"Polywrap Javascript Core","version":"0.6.0","license":"MIT","repository":{"type":"git","url":"https://github.com/polywrap/monorepo.git"},"main":"build/index.js","scripts":{"build":"rimraf ./build && tsc --project tsconfig.build.json","lint":"eslint --color -c ../../../.eslintrc.js src/","test":"jest --passWithNoTests --runInBand --verbose","test:ci":"jest --passWithNoTests --runInBand --verbose","test:watch":"jest --watch --passWithNoTests --verbose"},"dependencies":{"@polywrap/asyncify-js":"0.6.0","@polywrap/msgpack-js":"0.6.0","@polywrap/tracing-js":"0.6.0","@polywrap/wrap-manifest-types-js":"0.6.0","graphql":"15.5.0","graphql-tag":"2.10.4","js-yaml":"3.14.0","jsonschema":"1.4.0","semver":"7.3.5"},"devDependencies":{"@polywrap/os-js":"0.6.0","@types/jest":"26.0.8","@types/mustache":"4.0.1","@types/prettier":"2.6.0","@types/semver":"7.3.8","jest":"26.6.3","mustache":"4.0.1","rimraf":"3.0.2","ts-jest":"26.5.4","ts-node":"8.10.2","typescript":"4.0.7"},"gitHead":"7346adaf5adb7e6bbb70d9247583e995650d390a","publishConfig":{"access":"public"},"_id":"@polywrap/core-js@0.6.0","dist":{"shasum":"f24e1f1206b449e82cfdf7fc3a3e15b4e3e05efb","integrity":"sha512-90QwHfSPL3W5nRflSCS81jFBJE9b0u0GNz/LE+kzBuiw74tHq23mQW7rQNWeekY5E0pCI5yhwazXol/tMB5T4g==","tarball":"https://registry.npmjs.org/@polywrap/core-js/-/core-js-0.6.0.tgz","fileCount":191,"unpackedSize":214227,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBnNbY+00pXonXvPcmF4/y4i4HSIRKMpEx0IzLCwLpF7AiEApCnq04etqS/iig8NOvU+TxVawNHHHBidnTA40fYOkZI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjEilsACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmox7w/+Nf4TD6I7cRfQ4xJBkOZM3uXDPPAtC5rA5eFwEB+nlG8ZOwtx\r\nRWlyD7W3sQN2UTDKxzZ0QJ1A4eYA258/sZGCZb6m2KCbNnHlCudKPf31METt\r\n07/tEqPCWhBFZVJtLI/e8p8UaeixJxSDlCIDAhqkQa5wfD9dAar4V0st7e/9\r\ngXTVPSb2VscpF6+tf2VpgNsk60GgJ00EHeLWwBmDj+mYe59AXBuPYsp42B32\r\nHV1shmlpEaNEei7XOg1xwNvYGTHDbK/qaJohpivbqfSGsl9D4+riaU1csYuy\r\n/Lmnxp//7tPf0C2pA8AF8V8lVl+1HiEhRErLTXhT3VSsy1oFzd/KJfUH1RGN\r\nVY2dsc1HaKGcCrfu5PKCzAx60aOVweWl5QMvFnIpkhzS6BHXIfNiR76mN1kg\r\nvQ/KTIF7rtoOJgcr4Igx92kRFSagHGVI4fGaZQae6DiBUerkk8YMtFimrJH7\r\nvgGpWqIxGFv/pPrS15aODnowgif4nrXSGLGdpgeVOBTd+jdtIdpFg/AoSOsn\r\n7+jcCB6V2FWkfg2spWWe17/LG98uZgY+5fe+WoZXI/dTrKwAOEJ9Cl5GSU4o\r\nf1P33AiVVypIrfMl4sWAjOY/9IlFCgogA635eM/DCe88ittCBId+pDDc49zr\r\nH2Koa3SbX16dEPGuIclkpL7VZj9hcgaj5bI=\r\n=H4mQ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},"directories":{},"maintainers":[{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},{"name":"dorgjelli","email":"jelli@dorg.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-js_0.6.0_1662134635891_0.27200570577518457"},"_hasShrinkwrap":false},"0.7.0":{"name":"@polywrap/core-js","description":"Polywrap Javascript Core","version":"0.7.0","license":"MIT","repository":{"type":"git","url":"https://github.com/polywrap/monorepo.git"},"main":"build/index.js","scripts":{"build":"rimraf ./build && tsc --project tsconfig.build.json","lint":"eslint --color -c ../../../.eslintrc.js src/","test":"jest --passWithNoTests --runInBand --verbose","test:ci":"jest --passWithNoTests --runInBand --verbose","test:watch":"jest --watch --passWithNoTests --verbose"},"dependencies":{"@polywrap/asyncify-js":"0.7.0","@polywrap/msgpack-js":"0.7.0","@polywrap/tracing-js":"0.7.0","@polywrap/wrap-manifest-types-js":"0.7.0","graphql":"15.5.0","graphql-tag":"2.10.4","js-yaml":"3.14.0","jsonschema":"1.4.0","semver":"7.3.5"},"devDependencies":{"@polywrap/os-js":"0.7.0","@types/jest":"26.0.8","@types/mustache":"4.0.1","@types/prettier":"2.6.0","@types/semver":"7.3.8","jest":"26.6.3","mustache":"4.0.1","rimraf":"3.0.2","ts-jest":"26.5.4","ts-node":"8.10.2","typescript":"4.0.7"},"gitHead":"7346adaf5adb7e6bbb70d9247583e995650d390a","publishConfig":{"access":"public"},"_id":"@polywrap/core-js@0.7.0","dist":{"shasum":"416e830a83b607e4c77f4f1eb62700b40955d831","integrity":"sha512-bztV+QO9EIMI+MBIOFGzPF5wAUUOC9PlvQFhmIA0IEiC8d0lj2a6BGmcSOg0eXb25eMpxHPeH3V7hBhCn/vHFA==","tarball":"https://registry.npmjs.org/@polywrap/core-js/-/core-js-0.7.0.tgz","fileCount":191,"unpackedSize":214227,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD2BQ+aguxAp1j7QjH7B+9j7zbVJKu0O09glDoOaOSdZQIhAMxctJAVQwG2ZHjKBwwbNBUbkgaTEfr5dGP4oByoQ3w9"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjGhkmACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqhGxAAngMl3jICPP9jPJOde8IoKxZ0HXD/4jWuAAtyMrHwSSpeQsvK\r\nDjEiSjVeKMaz8shOdn1F5bTe56fFZpgzp20oGUzFSfJIvVD0QDu9OSlN/FNy\r\nhhuOH88023tgJdAolAWTKRcLSQLW/cVfBzhTO+mJByQEFVZS+gHEdNye0YzE\r\nSr4BdQBdXZz2wK5IK5vurjwkqKRAW71lFpukaznMfMugvxagl+LYCRF4t4Yf\r\nvAc0OiZo5hLrjdhWgZ84ljycMi62QlrqEPZlBuaY6MbDiRMwGV09n+GHnUy9\r\nN1tZIBavMFzTZKspi5r2xIJUT3hMxNJIOzIjC+uSevZ1YTXE1ctUKMIK/9kl\r\nIqzdeNFRCq9ON8WzGnEhZa7cVOIvXpN7TzBT7fztb8yLrn+20P7T9w7wBG9t\r\nMVworT4Uc3gOtjt+v6q5bOxNh4FT8vnY2eQ9wR8eMduPYAceC5bPzSoY9TUd\r\nAuDNQVZ2G+GGp/sP0OxKwwpe/NO3cS8HOP/m5GyDvia3xPnzxH7yOyb1D6Qo\r\nVhprvUaIsMM7eqGz/qhcASbkHZW7diaMmyTisnGhZosap11TqOJCM1paKQ8b\r\n/5yxN73jh6mbtqCAtfVJDzPPEfYqQKA0UVD3WojUgvpSlVSDAT3MmOBWBZsQ\r\niIoOu2k/s9IdqF2Tul/LZwVit0moz2go1/c=\r\n=qsP8\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},"directories":{},"maintainers":[{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},{"name":"dorgjelli","email":"jelli@dorg.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-js_0.7.0_1662654757938_0.4590890473023581"},"_hasShrinkwrap":false},"0.8.0":{"name":"@polywrap/core-js","description":"Polywrap Javascript Core","version":"0.8.0","license":"MIT","repository":{"type":"git","url":"https://github.com/polywrap/monorepo.git"},"main":"build/index.js","scripts":{"build":"rimraf ./build && tsc --project tsconfig.build.json","lint":"eslint --color -c ../../../.eslintrc.js src/","test":"jest --passWithNoTests --runInBand --verbose","test:ci":"jest --passWithNoTests --runInBand --verbose","test:watch":"jest --watch --passWithNoTests --verbose"},"dependencies":{"@polywrap/asyncify-js":"0.8.0","@polywrap/msgpack-js":"0.8.0","@polywrap/result":"0.8.0","@polywrap/tracing-js":"0.8.0","@polywrap/wrap-manifest-types-js":"0.8.0","graphql":"15.5.0","graphql-tag":"2.10.4","js-yaml":"3.14.0","jsonschema":"1.4.0","semver":"7.3.5"},"devDependencies":{"@polywrap/os-js":"0.8.0","@types/jest":"26.0.8","@types/mustache":"4.0.1","@types/prettier":"2.6.0","@types/semver":"7.3.8","jest":"26.6.3","mustache":"4.0.1","rimraf":"3.0.2","ts-jest":"26.5.4","ts-node":"8.10.2","typescript":"4.0.7"},"gitHead":"7346adaf5adb7e6bbb70d9247583e995650d390a","publishConfig":{"access":"public"},"_id":"@polywrap/core-js@0.8.0","dist":{"shasum":"442e0530a157a807ab12d650b7f6e61a2d8ec74f","integrity":"sha512-H7IcTWaQYaG2Ew6v0O9Cs8w71ztK4eddDP36GH/Dw43Hr6bsJbPY7BKKSnIQI49HuRkfQZgi3yXXvfqFEwtkTw==","tarball":"https://registry.npmjs.org/@polywrap/core-js/-/core-js-0.8.0.tgz","fileCount":133,"unpackedSize":117279,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDcSSA+m2wWpwBi/vsvQXCJ5StcaE5AjLU6HrobNtkQpgIhANku3RQ3rUeffiXWMO+1ImlXyA1zbvP1X9m1eHMuXFFc"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjL0zjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo3TBAAnh3JLG0JeCDottUXLNhClHU49YEL5O6FXXnFYb2+a5H4/zVh\r\n7XlnwHA0H9i8NuDgPSu4MbKHQTVAX2sA+stcwzlc1Y5whuucGcEE1KIanOZX\r\n1p8nB0axSgrR7g8A4HmcQ1TiKihfRHcPKdyC3GrKOy/As3YTpyCofD+l0ptp\r\n3/UBR6t/ZWPJOMYBmRU7fU2Fz7mMnnT2vJ2wfL3rkm7t4KzNGfZNmniTWErk\r\nLSLKMGAOSkQ2gL/9C1vvG18wZslFINOnxgJnNIY1L063zakjfVwwFMM2EBkk\r\nHypKBxsrIPfQ93Ey1AJer5CgaqL4yjP+BRTvbFxKzl5DHuQypQMGKgWWw9ga\r\nPmD0/Br2JN0hQwD0o3HBvAmTspxerC7S0UInKj8L/GRnbIECLFNmUpZJ91pL\r\nRVVvynHPoS5zMUALh05AngW0TMprkPRL8VfdqivQnT0uVlZwQGuLnPpXA6c9\r\nXtH2JzYteWZ9f7NT2Kp+akqjM591UnxEhl4lkU8eNt9k1Pk444sZim2CVeZV\r\nTXBjvJ+LLXnpfrXu39dmddj10oOd++oQXDu4wNe/bnneJGQibWiRKJBzKNZ/\r\nAOEjsDSDP5izA1kmYzKhuU9fL39/KCrewkCDjEEa6JUZlu3i4Ik+bugKHEvC\r\nb+629ABSYN4Lfz+XvrUWIcU+/Ctl3VvK/lg=\r\n=/ShV\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},"directories":{},"maintainers":[{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},{"name":"dorgjelli","email":"jelli@dorg.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-js_0.8.0_1664044258783_0.7728892409285053"},"_hasShrinkwrap":false},"0.9.0":{"name":"@polywrap/core-js","description":"Polywrap Javascript Core","version":"0.9.0","license":"MIT","repository":{"type":"git","url":"https://github.com/polywrap/monorepo.git"},"main":"build/index.js","scripts":{"build":"rimraf ./build && tsc --project tsconfig.build.json","lint":"eslint --color -c ../../../.eslintrc.js src/","test":"jest --passWithNoTests --runInBand --verbose","test:ci":"jest --passWithNoTests --runInBand --verbose","test:watch":"jest --watch --passWithNoTests --verbose"},"dependencies":{"@polywrap/asyncify-js":"0.9.0","@polywrap/msgpack-js":"0.9.0","@polywrap/result":"0.9.0","@polywrap/tracing-js":"0.9.0","@polywrap/wrap-manifest-types-js":"0.9.0","graphql":"15.5.0","graphql-tag":"2.10.4","jsonschema":"1.4.0","semver":"7.3.5","yaml":"2.1.3"},"devDependencies":{"@polywrap/os-js":"0.9.0","@types/jest":"26.0.8","@types/mustache":"4.0.1","@types/prettier":"2.6.0","@types/semver":"7.3.8","jest":"26.6.3","mustache":"4.0.1","rimraf":"3.0.2","ts-jest":"26.5.4","ts-node":"8.10.2","typescript":"4.0.7"},"gitHead":"7346adaf5adb7e6bbb70d9247583e995650d390a","publishConfig":{"access":"public"},"_id":"@polywrap/core-js@0.9.0","dist":{"shasum":"4ed05598cb79a8ca41f0988b193a001c2c88cff1","integrity":"sha512-horGcy3gd4Wtfw+yNlz2jPuVGgAC7vjEUG0DMQYE7gI2SFVwN0dKdsufa2jndZ3TR9je5xeVGlzPUed+MT5Dsg==","tarball":"https://registry.npmjs.org/@polywrap/core-js/-/core-js-0.9.0.tgz","fileCount":130,"unpackedSize":111655,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDGwQDReGKdJkNtdj9eSC2cGNvfdbi++UUDC5cenFtwSQIhAOJwnIS6+2M7FKR9rKAbj4UvAPsKk8u7nxzjkSMuLQSX"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjQ+l2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpspw//YrYpA14+bgC7pND/PW8O3bqKfTeMrVSrIQHIFDNddTT452YP\r\n1vz3IUhXz67cnopsKIT/mFQbltUes/BKVddEwCaa0Mts0RFx1l5Bel/Eswyi\r\n/bAY/W+c7MszRW2+GvMNGGJlBRafzgSNWe05Ykn0SPgu4gyXnFp87dzoQQsF\r\n1Vlm11YriRGLwHfiOgviWTHBYavDaO0IUWHpQrG9LbLbWNPLz8GxqODQIVrD\r\nCZEI19oIhwR0pmBgoGnpqq6tM0xRD3XWvqjxEItG5zByX6/XE46Z5TODSaa6\r\nE4M2ugWfD8MQivmNvpgZxlEwNrtfRFrZDNTrGzVoKLMU/LN3awZnsOAwl89W\r\nlETAgRtwMcAVB/3krZ8CxFQj2w/2ZhCJb4YbKoBzBvPiuvDoCwXidT/lK3e+\r\nNfR/BMFvoqERyurRvmq2iCtqlcymZC+y6hMeXp89aXK8aebeq/NePDMxkbHD\r\nMoP8PuEINf40zs4Od5yekUhADMkA2J/MuWZTT3kee/DfbbnTiWvIG0fbopFy\r\nLf9yZxYE69lJZOoyZ9X3Ild3IUSujRpgO99vrBH400VZU01bJh/iUpDLdLzI\r\ndgmnB95cKGuX8u3vIjfQ3OKAngL/RrTwKDm9nIJIMgpHe+5s8l9iV/FFUT/R\r\nvI0+fAuOOICyuzN7p+matDpnh25RrUsHJK0=\r\n=0Rgl\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},"directories":{},"maintainers":[{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},{"name":"dorgjelli","email":"jelli@dorg.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-js_0.9.0_1665395062512_0.39962952424783604"},"_hasShrinkwrap":false},"0.9.1":{"name":"@polywrap/core-js","description":"Polywrap Javascript Core","version":"0.9.1","license":"MIT","repository":{"type":"git","url":"https://github.com/polywrap/monorepo.git"},"main":"build/index.js","scripts":{"build":"rimraf ./build && tsc --project tsconfig.build.json","lint":"eslint --color -c ../../../.eslintrc.js src/","test":"jest --passWithNoTests --runInBand --verbose","test:ci":"jest --passWithNoTests --runInBand --verbose","test:watch":"jest --watch --passWithNoTests --verbose"},"dependencies":{"@polywrap/asyncify-js":"0.9.1","@polywrap/msgpack-js":"0.9.1","@polywrap/result":"0.9.1","@polywrap/tracing-js":"0.9.1","@polywrap/wrap-manifest-types-js":"0.9.1","graphql":"15.5.0","graphql-tag":"2.10.4","jsonschema":"1.4.0","semver":"7.3.5","yaml":"2.1.3"},"devDependencies":{"@polywrap/os-js":"0.9.1","@types/jest":"26.0.8","@types/mustache":"4.0.1","@types/prettier":"2.6.0","@types/semver":"7.3.8","jest":"26.6.3","mustache":"4.0.1","rimraf":"3.0.2","ts-jest":"26.5.4","ts-node":"8.10.2","typescript":"4.1.6"},"gitHead":"7346adaf5adb7e6bbb70d9247583e995650d390a","publishConfig":{"access":"public"},"_id":"@polywrap/core-js@0.9.1","dist":{"shasum":"95dfb42221e432a967d195e31794a76719012278","integrity":"sha512-Tb79eKq7B/n0P6hfePv2JiMpf0xwBc0TL6sY7pABYWy+72hEJ8HVRVpEw08IOqV/W+SaO7wOnz4ZSZd5Yt7jUA==","tarball":"https://registry.npmjs.org/@polywrap/core-js/-/core-js-0.9.1.tgz","fileCount":130,"unpackedSize":111798,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDU67D826diSVf4Q6OZnNs0a1n4NiEastAxyIlRN8XeBQIhAIf336nmwMaG6/bAtSkVoYL/7nqybZMukrGn8gNs9oPo"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjR0D9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrhwRAAnVmVRxPvjFZfrtBlLNAlezD6IsG4nPOaKzhDKkI3fZGPkcEk\r\npp/q6kvS2AkN2aDFE4IWaZi8wDW/xx4mOBThRAiLFh/SOsqMDf+jB0xlCuNZ\r\nlPuDayyQo1Kd8h9afyQ6owg4tMLcVVuGSRLhqLMJlYKX+Ja4ZWcYv9AqAXjr\r\nORoTzUW25QtPvPEmdKO8whpBX2UQgIotIQHRpZvLnSIVXKhEJlYeKBCuh0c1\r\nuCA/3ZghdaOeqNClkZ/kmepWkbI2efPD+ijbV1ogU5Kq7p7xOCIwkktCFvh5\r\nNUZoxT59ZI1sqUEcNJ3PEqQEJE+oiM61hNPazfQEzQ4tQBZolmxY+r9PNpYl\r\niDRVJQ+LgzxYCsNLOn54b6NK0tK1JrYrPONmHd7XLzw3utTq/0tP0MSg3Gmp\r\nGpFIcvO/IRUshnvcmYRmxjnO26wxEwl4of161ZLWVztpB0MYjXfvVYSVhnD1\r\nCC57w3F0joDgTt3JxNY7FyikPfz2JK91Mv6yq3jKZXZLs3KSyL08MKbpz6nZ\r\nUQm39U8PIDkw6RzN+T5ZyhWhntyXFbLhZIVgMMcq/yYKIGYdZn0j9bMsDej4\r\nPwxCtd2Ok3Az5vJ36st5NSIejS733xy0WvuhiJafa6XHof1HTHExk3upOhyF\r\nEmk7nUxBHsArRJdHnF4HpPa1MM6oLl1Ifu0=\r\n=oqG6\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},"directories":{},"maintainers":[{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},{"name":"dorgjelli","email":"jelli@dorg.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-js_0.9.1_1665614077326_0.984218747908491"},"_hasShrinkwrap":false},"0.9.2":{"name":"@polywrap/core-js","description":"Polywrap Javascript Core","version":"0.9.2","license":"MIT","repository":{"type":"git","url":"https://github.com/polywrap/monorepo.git"},"main":"build/index.js","scripts":{"build":"rimraf ./build && tsc --project tsconfig.build.json","lint":"eslint --color -c ../../../.eslintrc.js src/","test":"jest --passWithNoTests --runInBand --verbose","test:ci":"jest --passWithNoTests --runInBand --verbose","test:watch":"jest --watch --passWithNoTests --verbose"},"dependencies":{"@polywrap/asyncify-js":"0.9.2","@polywrap/msgpack-js":"0.9.2","@polywrap/result":"0.9.2","@polywrap/tracing-js":"0.9.2","@polywrap/wrap-manifest-types-js":"0.9.2","graphql":"15.5.0","graphql-tag":"2.10.4","jsonschema":"1.4.0","semver":"7.3.5","yaml":"2.1.3"},"devDependencies":{"@polywrap/os-js":"0.9.2","@types/jest":"26.0.8","@types/mustache":"4.0.1","@types/prettier":"2.6.0","@types/semver":"7.3.8","jest":"26.6.3","mustache":"4.0.1","rimraf":"3.0.2","ts-jest":"26.5.4","ts-node":"8.10.2","typescript":"4.1.6"},"gitHead":"7346adaf5adb7e6bbb70d9247583e995650d390a","publishConfig":{"access":"public"},"_id":"@polywrap/core-js@0.9.2","dist":{"shasum":"59dac88b6a722b82c80e2248cc5d638470b739c1","integrity":"sha512-TgC8ucd33N4mUdRMnnLkFiieGBpz1ToSas6yexE5bQJCN+GZrwqMYPkiWGAvDQrNU0CbRpBukSHeZ/34RzhlxA==","tarball":"https://registry.npmjs.org/@polywrap/core-js/-/core-js-0.9.2.tgz","fileCount":130,"unpackedSize":111798,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID+hEZBtMYBF6LWR6WfEVCqjVaUKOzu46yl6FVot2emCAiEAmq+Bhokk3TuF4j5oLf4p+IpK0uV/BfonBcaBa8MlXmU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjSJObACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpFzw//Wr74rdHRI9sfztpNm/ZJxh9ZFOJsUCRwcapgb8bCRBXzLzjf\r\nls4qHz37y/zaui7pobKOZ6f36YAiAMPz2Zk1pGnua82pkF+a+vqGKKEP7RXh\r\nq4XRlBOKpge5x0JRvlLDUUcCIcW8eq+XytU3XkCWNI+9WB+49fFfNqrgyV+5\r\nN7da3yabGeN5Pm1JGAVV37fu40azuAUh7r5VpMCYSLI8qTnilvtYw8peBojo\r\nnytcdpipUBmQgSeDiaqJ+3zcDCg/qmVAhCBnloGrr8tNomjKdQi89jbKT5ws\r\n4PENx7xRM+G7N9VqEPn+tIt3gRK0GF5ztjmPBdsgwqRS4mhNfEDoFtZa9bcD\r\nXC+2ezXaxGxZuhpGXzr1Qkw64jaaLjJsGC8CrzBa5wLFV6GDw77jKHX3H/Dq\r\nk4iv0bMidce/2BSiLu0uoPx+Tzb3p7PnYl/F+s92oldgZxb9+L3joma/ejLR\r\nElJu8z/0KyxcI/bE4zyUl6IbljcEyvcZ0FHoQui1fHnlTKHRWb1Dkj7uxtmn\r\nzStJiaJyo3wGmSlRhkyeGSshi0Bfc51TZwVcNg3+wAMaqRot/PFa6me/kErE\r\nPxE8yUrJfye/CrfcEmx66SZsQiBWHdQcBw8olyHYFOE4mvVovQ7Na7Dv303R\r\nJNdL+OqIovRa7752pK4KxakIigefUnv6WQw=\r\n=TjiK\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},"directories":{},"maintainers":[{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},{"name":"dorgjelli","email":"jelli@dorg.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-js_0.9.2_1665700763634_0.5576922224299425"},"_hasShrinkwrap":false},"0.9.3":{"name":"@polywrap/core-js","description":"Polywrap Javascript Core","version":"0.9.3","license":"MIT","repository":{"type":"git","url":"https://github.com/polywrap/monorepo.git"},"main":"build/index.js","scripts":{"build":"rimraf ./build && tsc --project tsconfig.build.json","lint":"eslint --color -c ../../../.eslintrc.js src/","test":"jest --passWithNoTests --runInBand --verbose","test:ci":"jest --passWithNoTests --runInBand --verbose","test:watch":"jest --watch --passWithNoTests --verbose"},"dependencies":{"@polywrap/asyncify-js":"0.9.3","@polywrap/msgpack-js":"0.9.3","@polywrap/result":"0.9.3","@polywrap/tracing-js":"0.9.3","@polywrap/wrap-manifest-types-js":"0.9.3","graphql":"15.5.0","graphql-tag":"2.10.4","jsonschema":"1.4.0","semver":"7.3.5","yaml":"2.1.3"},"devDependencies":{"@polywrap/os-js":"0.9.3","@types/jest":"26.0.8","@types/mustache":"4.0.1","@types/prettier":"2.6.0","@types/semver":"7.3.8","jest":"26.6.3","mustache":"4.0.1","rimraf":"3.0.2","ts-jest":"26.5.4","ts-node":"8.10.2","typescript":"4.1.6"},"gitHead":"7346adaf5adb7e6bbb70d9247583e995650d390a","publishConfig":{"access":"public"},"_id":"@polywrap/core-js@0.9.3","dist":{"shasum":"fd87b64e050791b9c4e1f39d95f318c638c05610","integrity":"sha512-PhaoL9vlkHL4ttBga2r33Vs30wziz4hmGHWfjUMx7bxGFpnW3QQVI0dJGavaP1ZKgDKI58Dkewtk/FI8VRxyUQ==","tarball":"https://registry.npmjs.org/@polywrap/core-js/-/core-js-0.9.3.tgz","fileCount":130,"unpackedSize":111798,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGQ2uUYjN102qzxBbn6+jyfE7+D5oK5QNPGfU4/PfZ1KAiEA7Bgzfu0WY9c0UJQUMb2iSf2yQ8ejQHC9BlPX9YIUAtc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjUSPcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoqag/+N++8Hd1Rw303SEdG3PrUJCc8PbvNHWkYeA3z1DRybJoXRo0E\r\ncm6ZEnG8KbIjUrwI0g8KZGZ8tYzTwYDyCiMI2A8gGJBuo1nM8J9z93cfw4cX\r\nDg6Crpy5uVsloaomOegGE5nSJhFOCmP2t0dMZ4WLYuTMDPwZio2RsfON2t/0\r\nSVp0QktOzNjG4pp9kzc4Pg97SyyifT+cPbtPY5yi2QLpw5PQpvnDh+Qg4Yzl\r\nj+p7fMi/CERcdpc0jC3Md8efS7k56FA+nA6Q7FEXIC4cE0Y9MiFjtYT3ajTh\r\nEPSe4hGyO5e+Hx+cJ1vGxpT7qsru3cLBIr9cIjx8/LHTty37Y7kkb04ZwFGn\r\nm5qTtpd2SkjU+uf9g7PP2GFMy+ZAw2I0dEdtmWCZNCpfuNQH2E20bJ/tbEPH\r\ntUZv4UQXUFUQWJbw1xHWMFGXoYsJij25fSX2TdQTtNto4KoNtMDiNyTIvJ+0\r\nHkc0I/klnYP+3Ylej3Uk36hOMQeGsjOrhZ1SBp/6vx9IMM0KigNyY1KAUuJK\r\nBRjYhftC0ViIjSdL4dVf6JiOvvAP0dPL6sjm9gteh73vlKK0v+L+6jPCQ6Wu\r\n9wgEL79h3IKOpSdoubf7OW8SA2PkKcsdgYEbbELiA8B/Hz3TkWP1r3qE3/fp\r\nQ73SFP8sjGAy9PDeO3GwcBtUczn4fugL/2I=\r\n=GLYU\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},"directories":{},"maintainers":[{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},{"name":"dorgjelli","email":"jelli@dorg.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-js_0.9.3_1666261980324_0.9890512602615535"},"_hasShrinkwrap":false},"0.9.4":{"name":"@polywrap/core-js","description":"Polywrap Javascript Core","version":"0.9.4","license":"MIT","repository":{"type":"git","url":"https://github.com/polywrap/monorepo.git"},"main":"build/index.js","scripts":{"build":"rimraf ./build && tsc --project tsconfig.build.json","lint":"eslint --color -c ../../../.eslintrc.js src/","test":"jest --passWithNoTests --runInBand --verbose","test:ci":"jest --passWithNoTests --runInBand --verbose","test:watch":"jest --watch --passWithNoTests --verbose"},"dependencies":{"@polywrap/asyncify-js":"0.9.4","@polywrap/msgpack-js":"0.9.4","@polywrap/result":"0.9.4","@polywrap/tracing-js":"0.9.4","@polywrap/wrap-manifest-types-js":"0.9.4","graphql":"15.5.0","graphql-tag":"2.10.4","jsonschema":"1.4.0","semver":"7.3.5","yaml":"2.1.3"},"devDependencies":{"@polywrap/os-js":"0.9.4","@types/jest":"26.0.8","@types/mustache":"4.0.1","@types/prettier":"2.6.0","@types/semver":"7.3.8","jest":"26.6.3","mustache":"4.0.1","rimraf":"3.0.2","ts-jest":"26.5.4","ts-node":"8.10.2","typescript":"4.1.6"},"gitHead":"7346adaf5adb7e6bbb70d9247583e995650d390a","publishConfig":{"access":"public"},"_id":"@polywrap/core-js@0.9.4","dist":{"shasum":"8928e3b1fe2423178ba14e8f2a3b2d8f8c3e9928","integrity":"sha512-/q6SHLATxSSoQVZfv63NQSg/ZlJW2Ba8wjnIPoLgoBFO/KoRaO/UUcBPlTJc2z6nSoQLkSODqCP3X7EeFkb6nA==","tarball":"https://registry.npmjs.org/@polywrap/core-js/-/core-js-0.9.4.tgz","fileCount":130,"unpackedSize":111798,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGt+NBSwzKx0s3IPF5/3STPrpTJ8rBSeqjF22Cx/pQdIAiEAreoWB9BdJ4mRyLK+qZKjrhfrZ42WvENduZpbXO3EmDk="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjZG9CACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq+lg//VdBHOgyL4V4aCZVo3gzZnenAfv5CO/2uTTQLHepmoAaBsXyK\r\nuB27Iv0UU9prNehqvWP44aka3zp0iafB2Jwzm63qjPmPX3QrU70c4vqvGDF0\r\nAJO8StN6YUcBjtr55dm1HqG76kcANICWRtD875huLWHyJ7s3dy2n6TO49PEg\r\nLfVVTiCP7itbMp+jo+/Uk+5vyrD6aWdiX9L8AoAjrjAEBM2gT/iqAfutZnNT\r\nOrLBI57AdSgJH0UTsBisr7sXWuloPnVI2ld61H/T+yi5BCv9ZAaMhqaWisTy\r\nCauIBlVSyCaVBSLeMom1Ob+hXyaaXL0tLmGYlH0XHx3Fq4HlhGvCk6u6QAJy\r\noL4GRHkbB+Vjdh3jjieslncEXwH1dHuQvHI72wBxGqjWF3PmZtEwI/56ejPk\r\nt5dpPJmELgLY4CrFHosNsYDElomOBRlkrx/P/eTUMcE2zR7P3curywo8j2CK\r\nnwbsqW9FWDr8JMve7EA2RQOKCmYn+D0OKkdBW92HUDXkWvRBH+ZDcQ3vzHV6\r\nRKihaqCKcLAPwThFibVMlyTbAbetu72uRJaSq0VMjaxgmG87DV7SL+D/Fyx2\r\n0sGsjlbQDId3XVchgIxn8He9HFCnV116cz/mgpTqjFyzkYpiwMBcXfPfUNYw\r\nupHaEqu6jHeAqfJUnHVR0lwawIp9RASlzgQ=\r\n=Ja/1\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},"directories":{},"maintainers":[{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},{"name":"dorgjelli","email":"jelli@dorg.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-js_0.9.4_1667526466395_0.3793930460235382"},"_hasShrinkwrap":false},"0.10.0-pre.0":{"name":"@polywrap/core-js","description":"Polywrap Javascript Core","version":"0.10.0-pre.0","license":"MIT","repository":{"type":"git","url":"https://github.com/polywrap/monorepo.git"},"main":"build/index.js","scripts":{"build":"rimraf ./build && tsc --project tsconfig.build.json","lint":"eslint --color -c ../../../.eslintrc.js src/","test":"jest --passWithNoTests --runInBand --verbose","test:ci":"jest --passWithNoTests --runInBand --verbose","test:watch":"jest --watch --passWithNoTests --verbose"},"dependencies":{"@polywrap/result":"0.10.0-pre.0","@polywrap/tracing-js":"0.10.0-pre.0","@polywrap/wrap-manifest-types-js":"0.10.0-pre.0","graphql":"15.5.0","graphql-tag":"2.10.4"},"devDependencies":{"@types/jest":"26.0.8","@types/mustache":"4.0.1","@types/prettier":"2.6.0","jest":"26.6.3","mustache":"4.0.1","rimraf":"3.0.2","ts-jest":"26.5.4","ts-node":"8.10.2","typescript":"4.1.6"},"gitHead":"7346adaf5adb7e6bbb70d9247583e995650d390a","publishConfig":{"access":"public"},"_id":"@polywrap/core-js@0.10.0-pre.0","dist":{"shasum":"dab5f04f722639d86ce4f396fa0cf6ca9104f8a7","integrity":"sha512-phIy07phXd1KNxykwfmbtmDy7yfeAisgUILNwccKAf33EO0ZugzQb5iv9NUqejfJCwaX7AGiA12GtVeugW+gGw==","tarball":"https://registry.npmjs.org/@polywrap/core-js/-/core-js-0.10.0-pre.0.tgz","fileCount":111,"unpackedSize":79893,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEJvuIH3i1MlSr6kgn2p8ZrJ+/VVbM/3h9EMke1ofT/aAiBMsTske5TfOBK40CAloTOWQHeYgddCaEF9t++OW4lwZQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjZg+OACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpkAQ//Xx2Tzsldb8/g74rYFtNBjBZJmcOCpxLdQfXPdt/tXTauM1yT\r\n8SZP4ZA0bmfWWkJvHKaUzWCHeLRAeDdo6DZ3in9YSvC4+BXV4ZMXsGeGgyCe\r\n9vjIbKsHpQBPwhxAYRTO8LxV42wu7jA81UgAuL+z8M1mHeBwBDDPqFJg80X2\r\n7LgjabGlrIf1D5v2/9uYQkCRPfLaczd/b5L3zP98a3BxS0XblZzne807tBlW\r\nDMOP+WvfT4s+eNweVDnaLaSpQywQoBKguKf5WWYLxWHEuEyjWx1aJuLKCL5a\r\nwWlkR8qfV1hhWsjmdNHIcnFfOkv0OYUC8o7hTAvLdKjqr4texHU4xT97bpyR\r\n2DAMb2WJ5XmQBN/NRYoQWV6GN2dIhlv61q/bmTjvSJ5k15ZQZLTjVCuU8Yo1\r\naq8fmGF9TDTRP2isPSkdhza24YSZh0xIYDcP1tZeKkJ8hb0gAwn39C7AAnqL\r\nUhE/RbrZ9fiLtbP4WWX9ATfBbgznivWjqaw0h9zyYrJsj7P2StKQjCZ69EXJ\r\nb2uqcXzUA8cLVYopHL56o/2c45pAyTv7Da+HDJfxoGhHm/+cncNucxf2L/BZ\r\ntM7vPbbjvuLomSjwxPpFE2C2c9foqwRacot4e6XjEfgBFB/cpvXOYBdCflNo\r\nE5Atv+8dQfA2cY6ZlNwcabhOYHm0sfJyWmA=\r\n=tyoM\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},"directories":{},"maintainers":[{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},{"name":"dorgjelli","email":"jelli@dorg.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-js_0.10.0-pre.0_1667633038745_0.6056999751839633"},"_hasShrinkwrap":false},"0.10.0-pre.1":{"name":"@polywrap/core-js","description":"Polywrap Javascript Core","version":"0.10.0-pre.1","license":"MIT","repository":{"type":"git","url":"https://github.com/polywrap/monorepo.git"},"main":"build/index.js","scripts":{"build":"rimraf ./build && tsc --project tsconfig.build.json","lint":"eslint --color -c ../../../.eslintrc.js src/","test":"jest --passWithNoTests --runInBand --verbose","test:ci":"jest --passWithNoTests --runInBand --verbose","test:watch":"jest --watch --passWithNoTests --verbose"},"dependencies":{"@polywrap/result":"0.10.0-pre.1","@polywrap/tracing-js":"0.10.0-pre.1","@polywrap/wrap-manifest-types-js":"0.10.0-pre.1","graphql":"15.5.0","graphql-tag":"2.10.4"},"devDependencies":{"@types/jest":"26.0.8","@types/mustache":"4.0.1","@types/prettier":"2.6.0","jest":"26.6.3","mustache":"4.0.1","rimraf":"3.0.2","ts-jest":"26.5.4","ts-node":"8.10.2","typescript":"4.1.6"},"gitHead":"7346adaf5adb7e6bbb70d9247583e995650d390a","publishConfig":{"access":"public"},"_id":"@polywrap/core-js@0.10.0-pre.1","dist":{"shasum":"93df66063be6e014392a8a24579a87cbbcd03023","integrity":"sha512-ALYHjggPlOSU6UX9W8EbNMMXJ1bq30moJWfRPDQ5ktmTSBNMPSllSu9i8UWqQFQEH3cfUOW4Aa3l3TWpoNEZig==","tarball":"https://registry.npmjs.org/@polywrap/core-js/-/core-js-0.10.0-pre.1.tgz","fileCount":111,"unpackedSize":79893,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC2PSHyedEsqdr98KHq7DXmsABxXb07cxRkUU2ODPhm1AiBqJ+XlNtgP2EqNViAgkJrmrl8u5kdOHrf8HdrCIFuJBQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjb99rACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrUtA/+OFKQSzLD5Q60JSPTnes99RbehIbOhHe8KUHY10A+1Rzlm1R4\r\nmEGhA9WnHOAQPTwP6e3AC/hj3z89nRlX3CKM0bdqOFJDpgV7YrDFoTgcDtDW\r\nFaYu26A27U0qQS8hO5ZTmNFOO8Q5E9r0QltukKxeiPk/6PiJH02LzhdqOQzr\r\n/tra5o+ceibRuGCh/s5GFNUzr0qBieIus3sc3j4iF3oUk3oKRZy7FsGo8c52\r\nQlrrlnM4g8kW5A0vvHJVK7ZdpHYWGcumn2wrkjB4vFBMw8dkyEOhAO0wtjxh\r\naGNhuRzjxciQBtW8PZseItoEDI8JgWIf1aXFeQXYpp3XlN/qoiU6Az7swekZ\r\nPOx9A5JuywAZi9OkDOnxAKLzsdzc47vAWTgx/eaxsBOLJIxqiAr7g45ba1gR\r\nf5dJ8ttvY1NsUTus9WAXxmNvXrEAiRXF4l2rf111MTi+vgFfZOl3GB2QK/b4\r\nbwt3rO/IdfhRQWHkAqbINlvGaFiesDUXHwdOSMpV+dPtPRYOU4Y8xJaQtJgi\r\n+xiXio2o9dvYO/U5oxRnzNgm4kn3Mo5uGCp/f/Ch1xnHoKx1MH+8/H15D5Se\r\nh7yY7eGm6Rf0U13arI9vAPWRus4WicpJnxxQfrI4WhPYrCzYyOEn9yPs1X2Q\r\nf++bjWv3e6sL/Y8TtqPUXK5VeMWJMwLM+VA=\r\n=5imz\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},"directories":{},"maintainers":[{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},{"name":"dorgjelli","email":"jelli@dorg.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-js_0.10.0-pre.1_1668276075048_0.07679982519837414"},"_hasShrinkwrap":false},"0.10.0-pre.3":{"name":"@polywrap/core-js","description":"Polywrap Javascript Core","version":"0.10.0-pre.3","license":"MIT","repository":{"type":"git","url":"https://github.com/polywrap/monorepo.git"},"main":"build/index.js","scripts":{"build":"rimraf ./build && tsc --project tsconfig.build.json","lint":"eslint --color -c ../../../.eslintrc.js src/","test":"jest --passWithNoTests --runInBand --verbose","test:ci":"jest --passWithNoTests --runInBand --verbose","test:watch":"jest --watch --passWithNoTests --verbose"},"dependencies":{"@polywrap/result":"0.10.0-pre.3","@polywrap/tracing-js":"0.10.0-pre.3","@polywrap/wrap-manifest-types-js":"0.10.0-pre.3","graphql":"15.5.0","graphql-tag":"2.10.4"},"devDependencies":{"@types/jest":"26.0.8","@types/mustache":"4.0.1","@types/prettier":"2.6.0","jest":"26.6.3","mustache":"4.0.1","rimraf":"3.0.2","ts-jest":"26.5.4","ts-node":"8.10.2","typescript":"4.1.6"},"gitHead":"7346adaf5adb7e6bbb70d9247583e995650d390a","publishConfig":{"access":"public"},"readmeFilename":"README.md","readme":"# @polywrap/core-js\n\nA TypeScript / JavaScript implementation of the WRAP standard, including all fundamental types & algorithms.\n","_id":"@polywrap/core-js@0.10.0-pre.3","dist":{"shasum":"30de51cddb95c0316484fe0590df1f491fa4bd38","integrity":"sha512-9K9lhncUb8Psi4v5dxisRt8sE8klk3uaeYvNQMZgyX3J0wWkYi/258+2Pd/P/TlZ2LMpGNiPG2847usF3fplCA==","tarball":"https://registry.npmjs.org/@polywrap/core-js/-/core-js-0.10.0-pre.3.tgz","fileCount":111,"unpackedSize":79893,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGtrVr9EyJYmX/13koAejTU7FvD9yfBJtdxZZ7rcs7GmAiEAgNxAUntXQIROPBGQWei0tVJyZyGePOW9z2JNy+9S6yc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjcDx9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr83g//U/fN9/zUoTUoGFjEVWD07MSG1I3wvG4Czj/Q0pf5RGQaIxsS\r\nt7nsQk/quH6S1xFQTZMIXRrrjQu55dnOh/5Z9qqiQPbsflSNwAjkIVqEeyj+\r\n7GiHJ0Ml2FkqyWwSScLGF+NNvet+HQdlbOzbeDBpTPlRl1TqTOgMx7DqpdsU\r\n6pApiXGaM68Hc74+OVe+KdTIVN6oTH3uyg2ntm+gRUJetyFNFc4FOdk/Yv0X\r\nwplgdAWQ7YAOYDW5He8tEMev4mR+ry+BeHIipKtrNg+W6CjR0zrZ/4BA8RD0\r\nmDDXjIRQhDWGyEv+dGQrVzWus8cJVzuv0Gdg1r1IrZIf2ygi/w409vLvJHf6\r\nc08/rWVjYJHCLXVEDLqGciZ3HByULArCd2t01c3nWXJJJqKYTN6y2damxs8p\r\nMD3UvlY3zoxEz1EOSTnKn0+bHOlNfjE9DnV6vpQwC5Sp3IGRpTojIpKQW0M6\r\nAZimwyBknCYuUuQggmnE1TlnbtJgqTti/4KQS0C9QPn6O7yZqfhLGep0rpNG\r\nrCtVtD8yFoKiH6TPk8Q+fH1E4/zffSHPoGmXm21n0HphR+Mtmg13wRj1ZaC3\r\n9SZSJG+FFtJ+SdTHfUr9zEdPusUpL18MN4F1waoqEXSVcXF/0J/qA00lrWhX\r\n9ZFdOlTxhdbvd2n+vz4UMYhSyHGArRvWF7c=\r\n=HiOD\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},"directories":{},"maintainers":[{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},{"name":"dorgjelli","email":"jelli@dorg.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-js_0.10.0-pre.3_1668299901089_0.18248177678861288"},"_hasShrinkwrap":false},"0.10.0-pre.4":{"name":"@polywrap/core-js","description":"Polywrap Javascript Core","version":"0.10.0-pre.4","license":"MIT","repository":{"type":"git","url":"https://github.com/polywrap/monorepo.git"},"main":"build/index.js","scripts":{"build":"rimraf ./build && tsc --project tsconfig.build.json","lint":"eslint --color -c ../../../.eslintrc.js src/","test":"jest --passWithNoTests --runInBand --verbose","test:ci":"jest --passWithNoTests --runInBand --verbose","test:watch":"jest --watch --passWithNoTests --verbose"},"dependencies":{"@polywrap/result":"0.10.0-pre.4","@polywrap/tracing-js":"0.10.0-pre.4","@polywrap/wrap-manifest-types-js":"0.10.0-pre.4","graphql":"15.5.0","graphql-tag":"2.10.4"},"devDependencies":{"@types/jest":"26.0.8","@types/mustache":"4.0.1","@types/prettier":"2.6.0","jest":"26.6.3","mustache":"4.0.1","rimraf":"3.0.2","ts-jest":"26.5.4","ts-node":"8.10.2","typescript":"4.1.6"},"gitHead":"7346adaf5adb7e6bbb70d9247583e995650d390a","publishConfig":{"access":"public"},"readmeFilename":"README.md","readme":"# @polywrap/core-js\n\nA TypeScript / JavaScript implementation of the WRAP standard, including all fundamental types & algorithms.\n","_id":"@polywrap/core-js@0.10.0-pre.4","dist":{"shasum":"b06765194a1e48c026a93ec503bf0f7dfd3f9636","integrity":"sha512-k9Pl2FU1Wn+UphCK4Ak0POD5cypebGqiXbx1+2V4T4GjZ4rI06I0tZHgZ9ufuqGciQPNNQa0oXPoBxkBdrCW9Q==","tarball":"https://registry.npmjs.org/@polywrap/core-js/-/core-js-0.10.0-pre.4.tgz","fileCount":114,"unpackedSize":87680,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDHUqpf+XhO/nCoajB6mDaHdda7T0837UzZlmuU8jFWRAIhALpkRCaRgIQCQHo5uK/YUWHHi5avlu6+kO1KSb2SsLKG"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjdSqwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrGeQ/+PwyZQXJElo1kYL0dx7YB4meZg2Rn6REDSKXH7/fdLMN/4pND\r\nzFgx6NhwuMFWqGIUMClOv8M+eV9NYw4R7lWLab0QcmZg/LHcAe2DS1Vx9h6R\r\ngO9YUwiOcsNRqChf1MHUES1hDyQVjpszRdeXEaqyXzMNxgrsoUToQL60uVu7\r\nQI+4O5H8+2PFPoVBUTYsOdCVPjd084RCJA7MgjAWV0N3chR8jybM37c9UEgq\r\nDgVDKqPcgwahS+BZWNnntWXouwYp1FGm9zS6kEWcbfBvbUwtiXO1ebh3mwfZ\r\n/JVKv6WUAa1kYtuCEzSdZl61pJQD1GYJ9GNis+rwjAwQN051KrjceCoMisxi\r\nIeHnnXLoL9YlyKKpfD3kJlJ0UyeaR1QglipOecVbgLAIjbSC2zGZbA+wZXFw\r\nsT8bvbVb/2XzbrCFZVsE74yKLZf+kD+EVeI0Rl73Mxq4j+flCHcwJxhVe7qU\r\nor7qaHlwkuHColV8JtFJXF2tlwqRGx3n0U17u1mzmVpSHRTPKY/38z5TIaqE\r\nBfA4CZyT1QtqjS+CfYReK0U9le7fBDd25tNNnbNNrBEPL3b3gPaDyTT5NWVx\r\n/AJGkAFOQ8h+2LB+UjFRg8DkA8AyMfNfnFIFGQHDtUoqI9/AgWsOCSGWBKWL\r\n36m/yOSRixe3rxktCeFd0dgyilR93RPDQ4A=\r\n=DOfF\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},"directories":{},"maintainers":[{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},{"name":"dorgjelli","email":"jelli@dorg.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-js_0.10.0-pre.4_1668623024143_0.7970840368271006"},"_hasShrinkwrap":false},"0.10.0-pre.5":{"name":"@polywrap/core-js","description":"Polywrap Javascript Core","version":"0.10.0-pre.5","license":"MIT","repository":{"type":"git","url":"https://github.com/polywrap/monorepo.git"},"main":"build/index.js","scripts":{"build":"rimraf ./build && tsc --project tsconfig.build.json","lint":"eslint --color -c ../../../.eslintrc.js src/","test":"jest --passWithNoTests --runInBand --verbose","test:ci":"jest --passWithNoTests --runInBand --verbose","test:watch":"jest --watch --passWithNoTests --verbose"},"dependencies":{"@polywrap/result":"0.10.0-pre.5","@polywrap/tracing-js":"0.10.0-pre.5","@polywrap/wrap-manifest-types-js":"0.10.0-pre.5","graphql":"15.5.0","graphql-tag":"2.10.4"},"devDependencies":{"@types/jest":"26.0.8","@types/mustache":"4.0.1","@types/prettier":"2.6.0","jest":"26.6.3","mustache":"4.0.1","rimraf":"3.0.2","ts-jest":"26.5.4","ts-node":"8.10.2","typescript":"4.1.6"},"gitHead":"7346adaf5adb7e6bbb70d9247583e995650d390a","publishConfig":{"access":"public"},"readmeFilename":"README.md","readme":"# @polywrap/core-js\n\nA TypeScript / JavaScript implementation of the WRAP standard, including all fundamental types & algorithms.\n","_id":"@polywrap/core-js@0.10.0-pre.5","dist":{"shasum":"8457f168235faae19342a87aed6ddce44a56fb59","integrity":"sha512-E92OGSBN5EdeYMj8wtZq4Hibh5qnAAzfSbDE40/LH6tWkrCv/gvJxtlA8gPDiMHXZFSx02zETrz7AZawCg8UXA==","tarball":"https://registry.npmjs.org/@polywrap/core-js/-/core-js-0.10.0-pre.5.tgz","fileCount":114,"unpackedSize":87680,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCrvUk+eKVEtkTmtBzS2S5WoDSBcBCsTDa/hGuL6mGT2QIhAKBMk3t1pdvP0GQNWgGmPlyPQXA1fKp8Eav7LQXISrnb"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjfFSIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpFdg/7BFIEdIlgMp8iaMAojxIxmSqKLlGCYzdXALH34vsVw5rxVO2r\r\nJcsW6zCIA3vmEMUbs5VN19uTdoW/tKQQWnnZ4BwQOP8dbVAo/sGsNbEYf2m2\r\nQp22pDin1CIUPDpfO8PAFqcbNZlvzD8pU3/EwQVzcYvZG2wutC7vjSvEKWRN\r\nYPalFxgfQDKEGQ+nAuQC/aRC2nBo5biidYPGy5weF3ddU3IOw7hCGup1O+pN\r\n+c9o/0u4WB5JcsCbyN8JTBglDZPCDevkmhrJxUrPFaSS8gVwzHb7JzeHddS6\r\nPURHc45qTduIKR06g07dA6upsdTuyUz+Rti1CbHwj/qkz9EhivG1XwnszE96\r\n8QXiOtrx6gTlAKRsEqWEwChuqxRwCX0SD5Prkf18MOyDE8LPDeqlFFK5lO+N\r\nLZ9iEOiIfL7IZAC3FXupONeaCaD0MwN3QUG1N5p5sk2cy9Bo51x3WyJ6jOVr\r\njKN03pDOfFmy4frVb7vjOqMdRCQBAfffsqN4+1G1IOq0X/GpgvSiowgU2uyZ\r\nbEj0VVW1XNH0djbqwrKe3kffg5GbGxCqIwZA1PQteZP+YLBwVebKgP1IX2Y2\r\n5Nu/Ewz2D8tfxqa3VW9ObTTYrv2s0TjE6iZmsl1mFD0LZiILBHJc263/jJPE\r\n2jxNvkvslIFfhScg/YyCN+gNk44rAcfEy+4=\r\n=3W3d\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},"directories":{},"maintainers":[{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},{"name":"dorgjelli","email":"jelli@dorg.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-js_0.10.0-pre.5_1669092488338_0.4785531245911776"},"_hasShrinkwrap":false},"0.10.0-pre.6":{"name":"@polywrap/core-js","description":"Polywrap Javascript Core","version":"0.10.0-pre.6","license":"MIT","repository":{"type":"git","url":"https://github.com/polywrap/monorepo.git"},"main":"build/index.js","scripts":{"build":"rimraf ./build && tsc --project tsconfig.build.json","lint":"eslint --color -c ../../../.eslintrc.js src/","test":"jest --passWithNoTests --runInBand --verbose","test:ci":"jest --passWithNoTests --runInBand --verbose","test:watch":"jest --watch --passWithNoTests --verbose"},"dependencies":{"@polywrap/result":"0.10.0-pre.6","@polywrap/tracing-js":"0.10.0-pre.6","@polywrap/wrap-manifest-types-js":"0.10.0-pre.6","graphql":"15.5.0","graphql-tag":"2.10.4"},"devDependencies":{"@types/jest":"26.0.8","@types/mustache":"4.0.1","@types/prettier":"2.6.0","jest":"26.6.3","mustache":"4.0.1","rimraf":"3.0.2","ts-jest":"26.5.4","ts-node":"8.10.2","typescript":"4.1.6"},"gitHead":"7346adaf5adb7e6bbb70d9247583e995650d390a","publishConfig":{"access":"public"},"readmeFilename":"README.md","readme":"# @polywrap/core-js\n\nA TypeScript / JavaScript implementation of the WRAP standard, including all fundamental types & algorithms.\n","_id":"@polywrap/core-js@0.10.0-pre.6","dist":{"shasum":"7751267b8472473bf3774d441fd75ebe348685e3","integrity":"sha512-JP9qk0gS1r1fyRqe2Wp/3tzyDEn3DqeVSC+53aBNEk8uMLIJSUI184JXusVNVafwbLgMxOcJ6vZlhb0x5orrWQ==","tarball":"https://registry.npmjs.org/@polywrap/core-js/-/core-js-0.10.0-pre.6.tgz","fileCount":121,"unpackedSize":95579,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC9F//lVb984utsVi9V0+MN0dVju0Ywxjj3fOWagNlnqgIgD91WBCV4HT2zHE4VpC7yLv1CxGCcDiZVv+SHrB8nEf4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjoT0sACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoqbg//ReHSPw3JM+DnXgXI3ExaaFZHKtQaMBOxQbYSe6irMWRJZe/5\r\nlI2bFz/c2t3s/YEYbEVzXfRXkU8JVzcOcJpZtwEel4Ah3LvmkC5UCyhfIIFG\r\nQXC4pCYYFQ4vIyLp6rCPBhAAcAWU7Bolwrwyh9TsbrC8lGvz2mjSceMSfYMu\r\nqwxZdUbf4cQP/nZkI65+IZg4m5iGdlzYlzZ5U4PLh6j1p+LQ0x5HGwFhAZ3Z\r\nVlSj051ocwnnDB20hnUewToN0TN91R/GhvK7946Kk0HsgYN8flx5D4WfHcNa\r\ncl5XIMgWkXxYfqjxZ6sIKW6Nk/US6oVyCPDAQWUsyjlQ3QmNkydzAbkArxxg\r\nRfkBOJOyvrgBtE2g942jTmC/1tgndtM+CTpWAgakoK8w04bziFZcKHmT0K7Z\r\nPEl3YdRZl/L8ymTcOhn2NWUTsQwkNWvfZ4WFtAW8gtiZ0jhQsAoH1pC+Uewl\r\n38R/KnRDsijuUKSWQ/SxxAmbMZHHNe4jdr1kZZ3xmcGYgH+RN9e/H20qHexf\r\n/cgiN9iTVpOi7VzvvpumMf+3tBGtntaN81Sd9Deie31BnkfktM8ILGVkDpaa\r\nLw6am5uSMaJgbeqGlObTtm3ZsxXRR4Hi+pmv+PAZdq2WW7pRGIoM7zGXKxBr\r\n5XwrZotm9n3PNlVETxaTTBH/Dz8qJvv3lrE=\r\n=ezzK\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},"directories":{},"maintainers":[{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},{"name":"dorgjelli","email":"jelli@dorg.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-js_0.10.0-pre.6_1671511340155_0.0799752708130137"},"_hasShrinkwrap":false},"0.10.0-pre.7":{"name":"@polywrap/core-js","description":"Polywrap Javascript Core","version":"0.10.0-pre.7","license":"MIT","repository":{"type":"git","url":"https://github.com/polywrap/monorepo.git"},"main":"build/index.js","scripts":{"build":"rimraf ./build && tsc --project tsconfig.build.json","lint":"eslint --color -c ../../../.eslintrc.js src/","test":"jest --passWithNoTests --runInBand --verbose","test:ci":"jest --passWithNoTests --runInBand --verbose","test:watch":"jest --watch --passWithNoTests --verbose"},"dependencies":{"@polywrap/result":"0.10.0-pre.7","@polywrap/tracing-js":"0.10.0-pre.7","@polywrap/wrap-manifest-types-js":"0.10.0-pre.7"},"devDependencies":{"@types/jest":"26.0.8","@types/mustache":"4.0.1","@types/prettier":"2.6.0","jest":"26.6.3","mustache":"4.0.1","rimraf":"3.0.2","ts-jest":"26.5.4","ts-node":"8.10.2","typescript":"4.1.6"},"gitHead":"7346adaf5adb7e6bbb70d9247583e995650d390a","publishConfig":{"access":"public"},"readmeFilename":"README.md","readme":"# @polywrap/core-js\n\nA TypeScript / JavaScript implementation of the WRAP standard, including all fundamental types & algorithms.\n","_id":"@polywrap/core-js@0.10.0-pre.7","dist":{"shasum":"525aca1d6569e2eaca33ca15668a77dd270c8293","integrity":"sha512-06Uc5fux9Dl3cv+nLmLliaBNwzU9J953Haul5OWvIb0+af/ZyxardxfqZim2+jCylSDw7KhXGeaKkJrvpPLsVw==","tarball":"https://registry.npmjs.org/@polywrap/core-js/-/core-js-0.10.0-pre.7.tgz","fileCount":112,"unpackedSize":92296,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF1/NXodThsK/tBlGKEVNbFg81VSfqF0hy5M5p3eyCGKAiAAjm/d8pwPiuSTCcr4CHgQrN6AZlfPovIoibafKlb8ag=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjvhvbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmprCQ/+JuRQPl2TSZdLK/mzn9I9VLqKmF+CWRC6MBfG8+hNRzdu0o0w\r\nViI59vZAgB6O4qJpJVYbtYkVFk1z1vcVVyHIjitrQS/oawhZ8ipWUc+fTprq\r\nnolNyf+ZcTTybD4AS+Yjg3Y0D/K9w2/RRDhtx86DEit1bv21UyIUFTG/kSu2\r\nyCKdKCbexQDuXodN35FtK0ExiN2/2omjrymLMDuvabb77wACxZ/AJx/JYdOa\r\npBq/tl3iwkPm0bnfqo+DrBG6EmlBy1tBumymHtpyb1L18rZk4XEd5AEjMkTf\r\ngC7FX+i1wKcUzRaFLr6TyOe+A5xnweqwzUoLehBKVVkT49hnw4QIcFiVS1Ft\r\nlMwVLZUpEwZ4lC4S/TzCSDT1Fn2UH2pnxlh9G2pq1SmAPhirRqHcZTqwQz0D\r\nLLBjKoZGG9BmUqIWRy1MkZCl8K7vwS88M9NUtYrD1H0Dl0dv33QOi9qPkRnu\r\noRiRRBmoZTkYfr1RxX+9KgTUMNiKRp1s+H+gDNnRshf9Qw9Ceorjp1Y6/vZI\r\nWJ7OqeFg6B1j/L55I+MtddDbO3Kssc2TiQUAK0QBafXVAE9WL7lXiHfIJ5rn\r\nWa20LrUtkM1MxmE/zIVty9gTZnPExrxPAe0/tANQyXx2Qu9jsgPjX3/v/Yx6\r\nP8vPvv+Rgqnp21hiREW1GqC6QMkUAbr2FKk=\r\n=aSJe\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},"directories":{},"maintainers":[{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},{"name":"dorgjelli","email":"jelli@dorg.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-js_0.10.0-pre.7_1673403355644_0.3008770260796514"},"_hasShrinkwrap":false},"0.9.5":{"name":"@polywrap/core-js","description":"Polywrap Javascript Core","version":"0.9.5","license":"MIT","repository":{"type":"git","url":"https://github.com/polywrap/monorepo.git"},"main":"build/index.js","scripts":{"build":"rimraf ./build && tsc --project tsconfig.build.json","lint":"eslint --color -c ../../../.eslintrc.js src/","test":"jest --passWithNoTests --runInBand --verbose","test:ci":"jest --passWithNoTests --runInBand --verbose","test:watch":"jest --watch --passWithNoTests --verbose"},"dependencies":{"@polywrap/asyncify-js":"0.9.5","@polywrap/msgpack-js":"0.9.5","@polywrap/result":"0.9.5","@polywrap/tracing-js":"0.9.5","@polywrap/wrap-manifest-types-js":"0.9.5","graphql":"15.5.0","graphql-tag":"2.10.4","jsonschema":"1.4.0","semver":"7.3.5","yaml":"2.1.3"},"devDependencies":{"@polywrap/os-js":"0.9.5","@types/jest":"26.0.8","@types/mustache":"4.0.1","@types/prettier":"2.6.0","@types/semver":"7.3.8","jest":"26.6.3","mustache":"4.0.1","rimraf":"3.0.2","ts-jest":"26.5.4","ts-node":"8.10.2","typescript":"4.1.6"},"gitHead":"7346adaf5adb7e6bbb70d9247583e995650d390a","publishConfig":{"access":"public"},"_id":"@polywrap/core-js@0.9.5","dist":{"shasum":"8e73ac149c850c2a1644e4d0b2428d7159490750","integrity":"sha512-AW63V0aUpZXMKZ6bfc58kGS/F6bKUZGalM88jZDF9pf5CBkQuB+l9wbKsVW7uQch6XAklpXHEbIGn67CusPw3Q==","tarball":"https://registry.npmjs.org/@polywrap/core-js/-/core-js-0.9.5.tgz","fileCount":146,"unpackedSize":142479,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFR16pbUSej1Rp5tFI2SnrFxmim6a+FflTWcNmBgawUJAiAude755Fbw9jhQ/H1rJ4vtw2qsyXfmFTt70k2RehM1ig=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj5tIiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoEUg//U1+14sAeoKoG8NEe+NzsGQTOqPi4HT0G6Vc6W10ZLD1cmLE0\r\njv17Wzy6MgZxUXjTfBrUGKkGK1WUxM+xlcEZdZgTxqaMWqiiQ48jv+Br0m8X\r\n6DuqZieqf5HFXva0s7iIvd2KgXQGlsQPy2pv6wqXPjUvEr4E3/W589UtXGVN\r\nh2l1OQb2QyXBZ3r9ddVtBNmlTLKjLc67LPiFPZu5u/WYpU6kFfdYo98yowGc\r\nK0MUDdS/9/ASfBOEzH4xzgnUVTo2ZRA2nFaGfy8xQn0wH7eWddkCj/iO1jAh\r\nYPceHwrCqJAjJVYIOUznucS8ZKrybJeDIPQHxHNKNqUPRIpPqfdFqf9srUXG\r\ncVkk/yilre9B56iqr/dXHG2h7zY6PWpDSOl7M2WRX+MNuYb9WCz6oDXjgTbM\r\nz3sJU/7iHLg722Lt5V2IGdnyUQce/ZQaTR/bV5fFnZIVNFEtEW/R7QfwtZfS\r\nJo/UGxArkSbtvdkBlPBOYr0hQYcGK1S4vOAj+viGXyI+iHciIbrdm+mf3J7e\r\nL+K+vKh2Wg9Oc/JQle67fqP+Npkr0jMAhtF2ITSojqPyJ6OwhUs9BJtfbZWQ\r\nM3yzGuFHmlgMstfHUQj841I+HMbhY72Bv+UzoR/1v2lPTQEywJu/rC1/wx5L\r\nyg/wtHkAj+zkj/SHXlJSQDNv4zo9o3fMfHQ=\r\n=FQwV\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},"directories":{},"maintainers":[{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},{"name":"dorgjelli","email":"jelli@dorg.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-js_0.9.5_1676071457768_0.7008163611854645"},"_hasShrinkwrap":false},"0.10.0-pre.8":{"name":"@polywrap/core-js","description":"Polywrap Javascript Core","version":"0.10.0-pre.8","license":"MIT","repository":{"type":"git","url":"https://github.com/polywrap/monorepo.git"},"main":"build/index.js","scripts":{"build":"yarn build:fast && yarn build:readme","build:fast":"rimraf ./build && tsc --project tsconfig.build.json","lint":"eslint --color -c ../../../.eslintrc.js src/","test":"jest --passWithNoTests --runInBand --verbose","test:ci":"jest --passWithNoTests --runInBand --verbose","test:watch":"jest --watch --passWithNoTests --verbose","build:readme:subsections":"yarn doc-snippets combine -c ./readme/config/sub-sections.json","build:readme:final":"yarn doc-snippets combine -c ./readme/config/final.json","build:readme":"yarn build:readme:subsections && yarn build:readme:final"},"dependencies":{"@polywrap/result":"0.10.0-pre.8","@polywrap/tracing-js":"0.10.0-pre.8","@polywrap/wrap-manifest-types-js":"0.10.0-pre.8"},"devDependencies":{"@types/jest":"26.0.8","@types/mustache":"4.0.1","@types/prettier":"2.6.0","doc-snippets":"~1.0.0","jest":"26.6.3","mustache":"4.0.1","rimraf":"3.0.2","ts-jest":"26.5.4","ts-node":"8.10.2","typescript":"4.1.6"},"gitHead":"7346adaf5adb7e6bbb70d9247583e995650d390a","publishConfig":{"access":"public"},"readmeFilename":"README.md","readme":"# @polywrap/core-js\n\nA TypeScript / JavaScript implementation of the WRAP standard, including all fundamental types & algorithms.\n\n# Reference\n\n## Types\n\n### CoreClient\n\n```ts\n\n/** Core Client configuration that can be passed to the PolywrapClient or PolywrapCoreClient constructors */\nexport interface CoreClientConfig {\n  /** set environmental variables for a wrapper */\n  readonly interfaces?: Readonly<InterfaceImplementations[]>;\n\n  /** register interface implementations */\n  readonly envs?: Readonly<Env[]>;\n\n  /** configure URI resolution for redirects, packages, and wrappers */\n  readonly resolver: Readonly<IUriResolver<unknown>>;\n}\n\n/** Options for CoreClient's getFile method */\nexport interface GetFileOptions {\n  /** file path from wrapper root */\n  path: string;\n\n  /** file encoding */\n  encoding?: \"utf-8\" | string;\n}\n\n/** Options for CoreClient's getImplementations method */\nexport interface GetImplementationsOptions {\n  /** If true, follow redirects to resolve URIs */\n  applyResolution?: boolean;\n\n  /** Use and update an existing resolution context */\n  resolutionContext?: IUriResolutionContext;\n}\n\n/** Options for CoreClient's validate method */\nexport interface ValidateOptions {\n  /** Validate full ABI */\n  abi?: boolean;\n\n  /** Recursively validate import URIs */\n  recursive?: boolean;\n}\n\n/** CoreClient invokes wrappers and interacts with wrap packages. */\nexport interface CoreClient extends Invoker, UriResolverHandler<unknown> {\n  /**\n   * Returns the configuration used to instantiate the client\n   *\n   * @returns an immutable core client config\n   */\n  getConfig(): CoreClientConfig;\n\n  /**\n   * returns all interfaces from the configuration used to instantiate the client\n   *\n   * @returns an array of interfaces and their registered implementations\n   */\n  getInterfaces(): readonly InterfaceImplementations[] | undefined;\n\n  /**\n   * returns all env registrations from the configuration used to instantiate the client\n   *\n   * @returns an array of env objects containing wrapper environmental variables\n   */\n  getEnvs(): readonly Env[] | undefined;\n\n  /**\n   * returns an env (a set of environmental variables) from the configuration used to instantiate the client\n   *\n   * @param uri - the URI used to register the env\n   * @returns an env, or undefined if an env is not found at the given URI\n   */\n  getEnvByUri(uri: Uri): Env | undefined;\n\n  /**\n   * returns the URI resolver from the configuration used to instantiate the client\n   *\n   * @returns an object that implements the IUriResolver interface\n   */\n  getResolver(): IUriResolver<unknown>;\n\n  /**\n   * returns a package's wrap manifest\n   *\n   * @param uri - a wrap URI\n   * @returns a Result containing the WrapManifest if the request was successful\n   */\n  getManifest(uri: Uri): Promise<Result<WrapManifest, WrapError>>;\n\n  /**\n   * returns a file contained in a wrap package\n   *\n   * @param uri - a wrap URI\n   * @param options - { path: string; encoding?: \"utf-8\" | string }\n   * @returns a Promise of a Result containing a file if the request was successful\n   */\n  getFile(\n    uri: Uri,\n    options: GetFileOptions\n  ): Promise<Result<string | Uint8Array, WrapError>>;\n\n  /**\n   * returns the interface implementations associated with an interface URI\n   *  from the configuration used to instantiate the client\n   *\n   * @param uri - a wrap URI\n   * @param options - { applyResolution?: boolean; resolutionContext?: IUriResolutionContext }\n   * @returns a Result containing URI array if the request was successful\n   */\n  getImplementations(\n    uri: Uri,\n    options: GetImplementationsOptions\n  ): Promise<Result<Uri[], WrapError>>;\n}\n\n```\n\n### Env\n\n```ts\n\n/** A map of string-indexed, Msgpack-serializable environmental variables associated with a wrapper */\nexport interface Env {\n  /** Uri of wrapper */\n  uri: Uri;\n\n  /** Env variables used by the module */\n  env: Record<string, unknown>;\n}\n```\n\n### InterfaceImplementations\n\n```ts\n\n/** An interface and a list of wrappers that implement the interface */\nexport interface InterfaceImplementations {\n  /** Uri of interface */\n  interface: Uri;\n\n  /** Uris of implementations */\n  implementations: Uri[];\n}\n\n```\n\n### Invoke\n\n```ts\n\n/** Options required for an Wrapper invocation. */\nexport interface InvokeOptions {\n  /** The Wrapper's URI */\n  uri: Uri;\n\n  /** Method to be executed. */\n  method: string;\n\n  /** Arguments for the method, structured as a map, removing the chance of incorrectly ordered arguments. */\n  args?: Record<string, unknown> | Uint8Array;\n\n  /** Env variables for the wrapper invocation. */\n  env?: Record<string, unknown>;\n\n  /** A Uri resolution context */\n  resolutionContext?: IUriResolutionContext;\n}\n\n/**\n * Result of an Wrapper invocation.\n *\n * @template TData Type of the invoke result data.\n */\nexport type InvokeResult<TData = unknown> = Result<TData, WrapError>;\n\n/**\n * Provides options for the invoker to set based on the state of the invocation.\n * Extends InvokeOptions.\n */\nexport interface InvokerOptions extends InvokeOptions {\n  /** If true, the InvokeResult will (if successful) contain a Msgpack-encoded byte array */\n  encodeResult?: boolean;\n}\n\n/**\n * An entity capable of invoking wrappers.\n *\n * @template TData Type of the invoke result data.\n */\nexport interface Invoker {\n  /**\n   * Invoke a wrapper using an instance of the wrapper.\n   *\n   * @param options - invoker options and a wrapper instance to invoke\n   * @returns A Promise with a Result containing the return value or an error\n   */\n  invokeWrapper<TData = unknown>(\n    options: InvokerOptions & { wrapper: Wrapper }\n  ): Promise<InvokeResult<TData>>;\n\n  /**\n   * Invoke a wrapper.\n   *\n   * @remarks\n   * Unlike `invokeWrapper`, this method automatically retrieves and caches the wrapper.\n   *\n   * @param options - invoker options\n   * @returns A Promise with a Result containing the return value or an error\n   */\n  invoke<TData = unknown>(\n    options: InvokerOptions\n  ): Promise<InvokeResult<TData>>;\n}\n\n/**\n * Result of a Wrapper invocation, possibly Msgpack-encoded.\n *\n * @template TData Type of the invoke result data.\n */\nexport type InvocableResult<TData = unknown> = InvokeResult<TData> & {\n  /** If true, result (if successful) contains a Msgpack-encoded byte array */\n  encoded?: boolean;\n};\n\n/** An invocable entity, such as a wrapper. */\nexport interface Invocable {\n  /**\n   * Invoke this object.\n   *\n   * @param options - invoke options\n   * @param invoker - an Invoker, capable of invoking this object\n   * @returns A Promise with a Result containing the return value or an error\n   */\n  invoke(\n    options: InvokeOptions,\n    invoker: Invoker\n  ): Promise<InvocableResult<unknown>>;\n}\n\n```\n\n### IUriPackage\n\n```ts\n\n/** Associates a URI with an embedded wrap package */\nexport interface IUriPackage {\n  /** The package's URI */\n  uri: Uri;\n\n  /** The wrap package */\n  package: IWrapPackage;\n}\n\n```\n\n### IUriRedirect\n\n```ts\n\n/** Redirect invocations from one URI to another */\nexport interface IUriRedirect {\n  /** URI to redirect from */\n  from: Uri;\n\n  /** URI to redirect to */\n  to: Uri;\n}\n\n```\n\n### IUriWrapper\n\n```ts\n\n/** Associates a URI with an embedded wrapper */\nexport interface IUriWrapper {\n  /** The URI to resolve to the wrapper */\n  uri: Uri;\n\n  /** A wrapper instance */\n  wrapper: Wrapper;\n}\n\n```\n\n### IWrapPackage\n\n```ts\n\n/** Options for IWrapPackage's getManifest method */\nexport interface GetManifestOptions {\n  /** If true, manifest validation step will be skipped */\n  noValidate?: boolean;\n}\n\n/** A wrap package, capable of producing instances of a wrapper and its manifest */\nexport interface IWrapPackage {\n  /**\n   * Produce an instance of the wrap manifest\n   *\n   * @param options - GetManifestOptions; customize manifest retrieval\n   * @returns A Promise with a Result containing the wrap manifest or an error\n   */\n  getManifest(\n    options?: GetManifestOptions\n  ): Promise<Result<WrapManifest, Error>>;\n\n  /**\n   * Produce an instance of the wrapper\n   *\n   * @param options - DeserializeManifestOptions; customize manifest deserialization\n   * @returns A Promise with a Result containing the wrapper or an error\n   */\n  createWrapper(\n    options?: DeserializeManifestOptions\n  ): Promise<Result<Wrapper, Error>>;\n}\n\n```\n\n### MaybeAsync\n\n```ts\n\n/** Alias for a type that is either a value or a promise that resolves to the value */\nexport type MaybeAsync<T> = Promise<T> | T;\n\n```\n\n### Uri\n\n#### UriConfig\n```ts\n/** URI configuration */\nexport interface UriConfig {\n  /** URI Authority: allows the Polywrap URI resolution algorithm to determine an authoritative URI resolver. */\n  authority: string;\n\n  /** URI Path: tells the Authority where the Wrapper resides. */\n  path: string;\n\n  /** Full string representation of URI */\n  uri: string;\n}\n```\n\n#### Uri\n\n```ts\n/**\n * A Polywrap URI. Some examples of valid URIs are:\n * wrap://ipfs/QmHASH\n * wrap://ens/sub.dimain.eth\n * wrap://fs/directory/file.txt\n * wrap://uns/domain.crypto\n *\n * Breaking down the various parts of the URI, as it applies\n * to [the URI standard](https://tools.ietf.org/html/rfc3986#section-3):\n * **wrap://** - URI Scheme: differentiates Polywrap URIs.\n * **ipfs/** - URI Authority: allows the Polywrap URI resolution algorithm to determine an authoritative URI resolver.\n * **sub.domain.eth** - URI Path: tells the Authority where the Wrapper resides.\n */\nexport class Uri {\n```\n\n##### constructor\n```ts\n  /**\n   * Construct a Uri instance from a wrap URI string\n   *\n   * @remarks\n   * Throws if URI string is invalid\n   *\n   * @param uri - a string representation of a wrap URI\n   */\n  constructor(uri: string) \n```\n\n##### authority\n```ts\n  /** @returns Uri authority */\n  public get authority(): string \n```\n\n##### path\n```ts\n  /** @returns Uri path */\n  public get path(): string \n```\n\n##### uri\n```ts\n  /** @returns Uri string representation */\n  public get uri(): string \n```\n\n##### equals\n```ts\n  /** Test two Uri instances for equality */\n  public static equals(a: Uri, b: Uri): boolean \n```\n\n##### isUri\n```ts\n  /**\n   * Check if a value is an instance of Uri\n   *\n   * @param value - value to check\n   * @returns true if value is a Uri instance */\n  public static isUri(value: unknown): value is Uri \n```\n\n##### isValidUri\n```ts\n  /**\n   * Test if a URI string is a valid wrap URI\n   *\n   * @param uri - URI string\n   * @param parsed? - UriConfig to update (mutate) with content of URI string\n   * @returns true if input string is a valid wrap URI */\n  public static isValidUri(uri: string, parsed?: UriConfig): boolean \n```\n\n##### toString\n```ts\n  /** @returns Uri string representation */\n  public toString(): string \n```\n\n##### toJSON\n```ts\n  /** @returns Uri string representation */\n  public toJSON(): string \n```\n\n##### parseUri\n```ts\n  /**\n   * Parse a wrap URI string into its authority and path\n   *\n   * @param uri - a string representation of a wrap URI\n   * @returns A Result containing a UriConfig, if successful, or an error\n   */\n  public static parseUri(uri: string): Result<UriConfig, Error> \n```\n\n##### from\n```ts\n  /**\n   * Construct a Uri instance from a Uri or a wrap URI string\n   *\n   * @remarks\n   * Throws if URI string is invalid\n   *\n   * @param uri - a Uri instance or a string representation of a wrap URI\n   */\n  public static from(uri: Uri | string): Uri \n```\n\n### UriResolver\n\n```ts\n\n/** Options required for URI resolution. */\nexport interface TryResolveUriOptions {\n  /** The Wrapper's URI */\n  uri: Uri;\n\n  /** A URI resolution context */\n  resolutionContext?: IUriResolutionContext;\n}\n\n/** An entity capable of resolving a wrap URI, typically by using an IUriResolver implementation */\nexport interface UriResolverHandler<TError = undefined> {\n  /**\n   * Resolve a URI to a wrap package, a wrapper, or a uri\n   *\n   * @param options - TryResolveUriOptions\n   * @returns A Promise with a Result containing either a wrap package, a wrapper, or a URI if successful\n   */\n  tryResolveUri(\n    options?: TryResolveUriOptions\n  ): Promise<Result<UriPackageOrWrapper, TError>>;\n}\n\n```\n\n### Wrapper\n\n```ts\n\n/**\n * The Wrapper definition, which can be used to spawn\n * many invocations of this particular Wrapper. Internally\n * this class may do things like caching WASM bytecode, spawning\n * worker threads, or indexing into resolvers to find the requested method.\n */\nexport interface Wrapper extends Invocable {\n  /**\n   * Invoke the Wrapper based on the provided [[InvokeOptions]]\n   *\n   * @param options Options for this invocation.\n   * @param invoker The client instance requesting this invocation.\n   * This client will be used for any sub-invokes that occur.\n   */\n  invoke(\n    options: InvokeOptions,\n    invoker: Invoker\n  ): Promise<InvocableResult<unknown>>;\n\n  /**\n   * Get a file from the Wrapper package.\n   *\n   * @param options Configuration options for file retrieval\n   */\n  getFile(options: GetFileOptions): Promise<Result<Uint8Array | string, Error>>;\n\n  /**\n   * Get a manifest from the Wrapper package.\n   */\n  getManifest(): WrapManifest;\n}\n\n```\n\n## UriResolverInterface\n\n### MaybeUriOrManifest\n```ts\n/** Contains either a Uri, a manifest, or neither */\nexport interface MaybeUriOrManifest {\n  /** wrap URI */\n  uri?: string | null;\n\n  /** Serialized wrap manifest */\n  manifest?: Uint8Array | null;\n}\n```\n\n### Module\n\n#### tryResolveUri\n```ts\n  /**\n   * Use an invoker to try to resolve a URI using a wrapper that implements the UriResolver interface\n   *\n   * @param invoker - invokes the wrapper with the resolution URI as an argument\n   * @param wrapper - URI for wrapper that implements the UriResolver interface\n   * @param uri - the URI to resolve\n   */\n  tryResolveUri: async (\n    invoker: Invoker,\n    wrapper: Uri,\n    uri: Uri\n  ): Promise<Result<MaybeUriOrManifest, WrapError>> \n```\n\n#### getFile\n```ts\n  /**\n   * Use an invoker to fetch a file using a wrapper that implements the UriResolver interface\n   *\n   * @param invoker - invokes the wrapper with the filepath as an argument\n   * @param wrapper - URI for wrapper that implements the UriResolver interface\n   * @param path - a filepath, the format of which depends on the UriResolver\n   */\n  getFile: async (\n    invoker: Invoker,\n    wrapper: Uri,\n    path: string\n  ): Promise<Result<Uint8Array | undefined, WrapError>> \n```\n\n## Uri Resolution\n\n### IUriResolutionContext\n\n```ts\n/** Track and output URI resolution state, path, and history */\nexport interface IUriResolutionContext {\n  /**\n   * Check if a URI is in the process of being resolved\n   *\n   * @param uri - URI to check\n   * @return true if URI resolution is in process, false otherwise\n   */\n  isResolving(uri: Uri): boolean;\n\n  /**\n   * Start resolving a URI\n   *\n   * @param uri - Uri to resolve\n   */\n  startResolving(uri: Uri): void;\n\n  /**\n   * Stop resolving a URI\n   *\n   * @param uri - Uri being resolved\n   */\n  stopResolving(uri: Uri): void;\n\n  /**\n   * Push a step onto the resolution history stack\n   *\n   * @param step - A completed resolution step\n   */\n  trackStep<TError>(step: IUriResolutionStep<TError>): void;\n\n  /** @return history of all URI resolution steps completed */\n  getHistory(): IUriResolutionStep<unknown>[];\n\n  /** @return current URI resolution path */\n  getResolutionPath(): Uri[];\n\n  /**\n   * Create a new resolution context using the current URI resolution path\n   *\n   * @return a UriResolutionContext\n   */\n  createSubHistoryContext(): IUriResolutionContext;\n\n  /**\n   * Create a new resolution context using the current URI resolution history\n   *\n   * @return a UriResolutionContext\n   */\n  createSubContext(): IUriResolutionContext;\n}\n```\n\n### IUriResolutionStep\n\n```ts\n/** A step in the URI resolution algorithm */\nexport interface IUriResolutionStep<TError = undefined> {\n  /** The current URI being resolved */\n  sourceUri: Uri;\n\n  /** The resolution result for the current URI */\n  result: Result<UriPackageOrWrapper, TError>;\n\n  /** A text/visual description of this URI step */\n  description?: string;\n\n  /** History of sub-steps that exist within the context of this URI resolution step */\n  subHistory?: IUriResolutionStep<TError>[];\n}\n```\n\n### IUriResolver\n\n```ts\n/** Defines entity capable of resolving a wrap URI */\nexport interface IUriResolver<TError = undefined> {\n  /**\n   * Resolve a URI to a wrap package, a wrapper, or a uri\n   *\n   * @param uri - the URI to resolve\n   * @param client - a CoreClient instance that may be used to invoke a wrapper that implements the UriResolver interface\n   * @param resolutionContext - the current URI resolution context\n   * @returns A Promise with a Result containing either a wrap package, a wrapper, or a URI if successful\n   */\n  tryResolveUri(\n    uri: Uri,\n    client: CoreClient,\n    resolutionContext: IUriResolutionContext\n  ): Promise<Result<UriPackageOrWrapper, TError>>;\n}\n```\n\n### UriPackageOrWrapper\n\n```ts\n\n/** Indicates that a URI resolved to a Uri */\nexport type UriValue = {\n  type: \"uri\";\n  uri: Uri;\n};\n\n/** Indicates that a URI resolved to a wrap package */\nexport type UriPackageValue = IUriPackage & {\n  type: \"package\";\n};\n\n/** Indicates that a URI resolved to a wrapper */\nexport type UriWrapperValue = IUriWrapper & {\n  type: \"wrapper\";\n};\n\n/** indicates that a URI resolved to either a wrap package, a wrapper, or a URI */\nexport type UriPackageOrWrapper = UriValue | UriPackageValue | UriWrapperValue;\n\n```\n\n### UriResolutionContext\n\n```ts\n/** An implementation of the IUriResolutionContext interface */\n// $start: UriResolutionContext\n/** An implementation of the IUriResolutionContext interface */\nexport class UriResolutionContext implements IUriResolutionContext {\n```\n\n#### constructor\n\n```ts\n  /** Construct a UriResolutionContext */\n  constructor();\n  constructor(\n    resolvingUriMap: Map<string, boolean>,\n    resolutionPath: Set<string>\n  );\n  constructor(\n    resolvingUriMap: Map<string, boolean>,\n    history: IUriResolutionStep<unknown>[]\n  );\n  constructor(\n    resolvingUriMap?: Map<string, boolean>,\n    resolutionPathOrHistory?: Set<string> | IUriResolutionStep<unknown>[]\n  ) \n```\n","_id":"@polywrap/core-js@0.10.0-pre.8","dist":{"shasum":"35bbb55b6269705f829e213cc1478e9aacaf282e","integrity":"sha512-XA8LPZusZlBsa39/cN1RhYGg+2X/nJTkCs3qfXSmqTf7Hqa9wB0wzN1BRFZ8OvXbiLbNi5ccsbLcrFhD+B8rAw==","tarball":"https://registry.npmjs.org/@polywrap/core-js/-/core-js-0.10.0-pre.8.tgz","fileCount":119,"unpackedSize":118372,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+GeOG5pc65hDcv+5JSDGm+UPQi1lV0RGgyzmtkC4KYwIhAJUoUxA8M9rDPapOSxsEWwcy8sgiDN7VWO4CxSw8DY8D"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj7bUGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr40A/+L22NopZC9AIRSU7CzvEgNiAAFYXJoHXz4uJCqNClvhOdKLaH\r\n+P8w5QwInCREiIqp0oHRg2HTbZfaYY9IyZtISdYGJgY4O0cvJhP/C2V1Lctq\r\nZsa8VHQtGZEM5cG9gAlemb+fItA2MxhjWKK/QAjpxBSS5s6B2bXnBZ1wjCPl\r\nx5nIsSwafCjIrV332hzgPFj3qpJWhx6g02SKqK17q00E31+ivBZS+u25p4Da\r\nqqNsfJhP8UcWpiQZvtBDvvR+aOI2GuO1ypN7/3haVy+RqbyR7BZ/UsKmWxuR\r\nceoTGl4DVI3YY7JVIuiysRBW2txLSbVdqEV98wj+1dLSrhcTUS2M0nrapGWU\r\noDfbk0XTzxGZWq9nTqylordTBenOVp8sBPV3zOXDuceut9w/AyfCKvjNe/36\r\n77BrS4CAneKd7rvXDS1rFVe9ZyORhIkwqNYI1YByWX2Zw8Bl7lRC1lc9XtKI\r\nx46thM+nvI1krX1hCIdnKyt2cZViTfVn/L4XykbEI6wNAI13CL3hD+Vxrr+R\r\n9tn0L1vTdegzXO7KFO0zgQ6uavhx7ShlcT89PsaaSBiHiWG5Ggng6gv4TK7Z\r\nU90XJ9l9hbLMXU9fjVMOxfKfiHsTQjpl+6sM9fmwrXj6QpCvSQ4njF+f1Avv\r\nY63nb2Gi+q8waddnALs+gyA+4GRdAxNT8nA=\r\n=Y1YU\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},"directories":{},"maintainers":[{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},{"name":"dorgjelli","email":"jelli@dorg.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-js_0.10.0-pre.8_1676522757766_0.8706591790295417"},"_hasShrinkwrap":false},"0.9.6":{"name":"@polywrap/core-js","description":"Polywrap Javascript Core","version":"0.9.6","license":"MIT","repository":{"type":"git","url":"https://github.com/polywrap/monorepo.git"},"main":"build/index.js","scripts":{"build":"rimraf ./build && tsc --project tsconfig.build.json","lint":"eslint --color -c ../../../.eslintrc.js src/","test":"jest --passWithNoTests --runInBand --verbose","test:ci":"jest --passWithNoTests --runInBand --verbose","test:watch":"jest --watch --passWithNoTests --verbose"},"dependencies":{"@polywrap/asyncify-js":"0.9.6","@polywrap/msgpack-js":"0.9.6","@polywrap/result":"0.9.6","@polywrap/tracing-js":"0.9.6","@polywrap/wrap-manifest-types-js":"0.9.6","graphql":"15.5.0","graphql-tag":"2.10.4","jsonschema":"1.4.0","semver":"7.3.5","yaml":"2.1.3"},"devDependencies":{"@polywrap/os-js":"0.9.6","@types/jest":"26.0.8","@types/mustache":"4.0.1","@types/prettier":"2.6.0","@types/semver":"7.3.8","jest":"26.6.3","mustache":"4.0.1","rimraf":"3.0.2","ts-jest":"26.5.4","ts-node":"8.10.2","typescript":"4.1.6"},"gitHead":"7346adaf5adb7e6bbb70d9247583e995650d390a","publishConfig":{"access":"public"},"_id":"@polywrap/core-js@0.9.6","dist":{"shasum":"fe94e2c2f7b631f74f72920154ad2998498886c7","integrity":"sha512-quvzASpFyk/Wp3wpdjir/9CNQXqzORnJD5YmJIzE/Hpe7r7FB3k0kLnn5f/0gxeMJccrCx/pXZFHp5GE2zJj2Q==","tarball":"https://registry.npmjs.org/@polywrap/core-js/-/core-js-0.9.6.tgz","fileCount":146,"unpackedSize":143297,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBERkSw1bC3acgyqJb5q6dFRhQ4fIGq5TlxFzmnu7uWFAiAwNEbBf+PxD3qqzuQNAzx6NL5g8WMZTD8YdsOfGB5+Pw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj8dNdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoVdQ//c2/J92tCxhWp7J0kiI/eJ1dfG9JlmXDI+WMmbd30/1enh/wU\r\nf0j1GInKIb1d5u9jEGQCeuWFN/XYQA+55U25M1/uM8Je0FIubkhALvx34Tu0\r\n196DuhDLiZgVlamxG4KMgh/y64Fopluz8L3SKJaief5p7auHndJcZ367vH1f\r\ncqiMson/mz0/F3M5NE/xA5HvFRklHbFIDpPPSn2ZdIN4msiWxy1PmKn/q5Mm\r\nN7TotQBPHDC5pCDkikf+GqGF1WDyRvcgm21Sg+Kft1AUYUDFt3KZE9qkJQsC\r\nntiYW6WidYK2FtfwM74sFz/J2aHoP0YRLCaTPodTCSO9tC0lgfORSsbyKVQ6\r\nkmGxunj+RLHUTijzYC87zYoiuxrr2NCBx0qx0ifqfpwraPAtPiTKkeB9SiUe\r\noxHqzDZMKwpPASB+Uc2DveiTNdejFy+8YPsapzwKI2hgBbDKdQZzjCezGufX\r\nZkSCieo1bWF/PS0KYNCstmRjWwi/cOJLXVgixT8ask0oZY7LB6dKiV60Kgx6\r\nODgwXgO+pVG4vDJy1zRqU29m6DmByTFoEoW0T8yiV4mJkDCKCbEk3FzKh19W\r\ndN8dOtmv1zbfFNgw/6/eUlk8/A5spBWZQBgZJUykG6We2jhU0pcHNllCt7Kt\r\n0Hb7oxlJWYBKpxc7+QCaMOic5cbLkFvu1mo=\r\n=LWyZ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},"directories":{},"maintainers":[{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},{"name":"dorgjelli","email":"jelli@dorg.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-js_0.9.6_1676792669372_0.399810984507049"},"_hasShrinkwrap":false},"0.10.0-pre.10":{"name":"@polywrap/core-js","description":"Polywrap Javascript Core","version":"0.10.0-pre.10","license":"MIT","repository":{"type":"git","url":"https://github.com/polywrap/monorepo.git"},"main":"build/index.js","scripts":{"build":"yarn build:fast && yarn build:readme","build:fast":"rimraf ./build && tsc --project tsconfig.build.json","lint":"eslint --color -c ../../../.eslintrc.js src/","test":"jest --passWithNoTests --runInBand --verbose","test:ci":"jest --passWithNoTests --runInBand --verbose","test:watch":"jest --watch --passWithNoTests --verbose","build:readme:subsections":"yarn doc-snippets combine -c ./readme/config/sub-sections.json","build:readme:final":"yarn doc-snippets combine -c ./readme/config/final.json","build:readme":"yarn build:readme:subsections && yarn build:readme:final"},"dependencies":{"@polywrap/result":"0.10.0-pre.10","@polywrap/tracing-js":"0.10.0-pre.10","@polywrap/wrap-manifest-types-js":"0.10.0-pre.10"},"devDependencies":{"@types/jest":"26.0.8","@types/mustache":"4.0.1","@types/prettier":"2.6.0","doc-snippets":"~1.0.0","jest":"26.6.3","mustache":"4.0.1","rimraf":"3.0.2","ts-jest":"26.5.4","ts-node":"10.9.1","typescript":"4.9.5"},"gitHead":"7346adaf5adb7e6bbb70d9247583e995650d390a","publishConfig":{"access":"public"},"readmeFilename":"README.md","readme":"# @polywrap/core-js\n\nA TypeScript / JavaScript implementation of the WRAP standard, including all fundamental types & algorithms.\n\n# Reference\n\n## Types\n\n### CoreClient\n\n```ts\n\n/** Core Client configuration that can be passed to the PolywrapClient or PolywrapCoreClient constructors */\nexport interface CoreClientConfig {\n  /** set environmental variables for a wrapper */\n  readonly interfaces?: Readonly<InterfaceImplementations[]>;\n\n  /** register interface implementations */\n  readonly envs?: Readonly<Env[]>;\n\n  /** configure URI resolution for redirects, packages, and wrappers */\n  readonly resolver: Readonly<IUriResolver<unknown>>;\n}\n\n/** Options for CoreClient's getFile method */\nexport interface GetFileOptions {\n  /** file path from wrapper root */\n  path: string;\n\n  /** file encoding */\n  encoding?: \"utf-8\" | string;\n}\n\n/** Options for CoreClient's getImplementations method */\nexport interface GetImplementationsOptions {\n  /** If true, follow redirects to resolve URIs */\n  applyResolution?: boolean;\n\n  /** Use and update an existing resolution context */\n  resolutionContext?: IUriResolutionContext;\n}\n\n/** Options for CoreClient's validate method */\nexport interface ValidateOptions {\n  /** Validate full ABI */\n  abi?: boolean;\n\n  /** Recursively validate import URIs */\n  recursive?: boolean;\n}\n\n/** CoreClient invokes wrappers and interacts with wrap packages. */\nexport interface CoreClient extends Invoker, UriResolverHandler<unknown> {\n  /**\n   * Returns the configuration used to instantiate the client\n   *\n   * @returns an immutable core client config\n   */\n  getConfig(): CoreClientConfig;\n\n  /**\n   * returns all interfaces from the configuration used to instantiate the client\n   *\n   * @returns an array of interfaces and their registered implementations\n   */\n  getInterfaces(): readonly InterfaceImplementations[] | undefined;\n\n  /**\n   * returns all env registrations from the configuration used to instantiate the client\n   *\n   * @returns an array of env objects containing wrapper environmental variables\n   */\n  getEnvs(): readonly Env[] | undefined;\n\n  /**\n   * returns an env (a set of environmental variables) from the configuration used to instantiate the client\n   *\n   * @param uri - the URI used to register the env\n   * @returns an env, or undefined if an env is not found at the given URI\n   */\n  getEnvByUri(uri: Uri): Env | undefined;\n\n  /**\n   * returns the URI resolver from the configuration used to instantiate the client\n   *\n   * @returns an object that implements the IUriResolver interface\n   */\n  getResolver(): IUriResolver<unknown>;\n\n  /**\n   * returns a package's wrap manifest\n   *\n   * @param uri - a wrap URI\n   * @returns a Result containing the WrapManifest if the request was successful\n   */\n  getManifest(uri: Uri): Promise<Result<WrapManifest, WrapError>>;\n\n  /**\n   * returns a file contained in a wrap package\n   *\n   * @param uri - a wrap URI\n   * @param options - { path: string; encoding?: \"utf-8\" | string }\n   * @returns a Promise of a Result containing a file if the request was successful\n   */\n  getFile(\n    uri: Uri,\n    options: GetFileOptions\n  ): Promise<Result<string | Uint8Array, WrapError>>;\n\n  /**\n   * returns the interface implementations associated with an interface URI\n   *  from the configuration used to instantiate the client\n   *\n   * @param uri - a wrap URI\n   * @param options - { applyResolution?: boolean; resolutionContext?: IUriResolutionContext }\n   * @returns a Result containing URI array if the request was successful\n   */\n  getImplementations(\n    uri: Uri,\n    options: GetImplementationsOptions\n  ): Promise<Result<Uri[], WrapError>>;\n}\n\n```\n\n### Env\n\n```ts\n\n/** A map of string-indexed, Msgpack-serializable environmental variables associated with a wrapper */\nexport interface Env {\n  /** Uri of wrapper */\n  uri: Uri;\n\n  /** Env variables used by the module */\n  env: Record<string, unknown>;\n}\n```\n\n### InterfaceImplementations\n\n```ts\n\n/** An interface and a list of wrappers that implement the interface */\nexport interface InterfaceImplementations {\n  /** Uri of interface */\n  interface: Uri;\n\n  /** Uris of implementations */\n  implementations: Uri[];\n}\n\n```\n\n### Invoke\n\n```ts\n\n/** Options required for an Wrapper invocation. */\nexport interface InvokeOptions {\n  /** The Wrapper's URI */\n  uri: Uri;\n\n  /** Method to be executed. */\n  method: string;\n\n  /** Arguments for the method, structured as a map, removing the chance of incorrectly ordered arguments. */\n  args?: Record<string, unknown> | Uint8Array;\n\n  /** Env variables for the wrapper invocation. */\n  env?: Record<string, unknown>;\n\n  /** A Uri resolution context */\n  resolutionContext?: IUriResolutionContext;\n}\n\n/**\n * Result of an Wrapper invocation.\n *\n * @template TData Type of the invoke result data.\n */\nexport type InvokeResult<TData = unknown> = Result<TData, WrapError>;\n\n/**\n * Provides options for the invoker to set based on the state of the invocation.\n * Extends InvokeOptions.\n */\nexport interface InvokerOptions extends InvokeOptions {\n  /** If true, the InvokeResult will (if successful) contain a Msgpack-encoded byte array */\n  encodeResult?: boolean;\n}\n\n/**\n * An entity capable of invoking wrappers.\n *\n * @template TData Type of the invoke result data.\n */\nexport interface Invoker {\n  /**\n   * Invoke a wrapper using an instance of the wrapper.\n   *\n   * @param options - invoker options and a wrapper instance to invoke\n   * @returns A Promise with a Result containing the return value or an error\n   */\n  invokeWrapper<TData = unknown>(\n    options: InvokerOptions & { wrapper: Wrapper }\n  ): Promise<InvokeResult<TData>>;\n\n  /**\n   * Invoke a wrapper.\n   *\n   * @remarks\n   * Unlike `invokeWrapper`, this method automatically retrieves and caches the wrapper.\n   *\n   * @param options - invoker options\n   * @returns A Promise with a Result containing the return value or an error\n   */\n  invoke<TData = unknown>(\n    options: InvokerOptions\n  ): Promise<InvokeResult<TData>>;\n}\n\n/**\n * Result of a Wrapper invocation, possibly Msgpack-encoded.\n *\n * @template TData Type of the invoke result data.\n */\nexport type InvocableResult<TData = unknown> = InvokeResult<TData> & {\n  /** If true, result (if successful) contains a Msgpack-encoded byte array */\n  encoded?: boolean;\n};\n\n/** An invocable entity, such as a wrapper. */\nexport interface Invocable {\n  /**\n   * Invoke this object.\n   *\n   * @param options - invoke options\n   * @param invoker - an Invoker, capable of invoking this object\n   * @returns A Promise with a Result containing the return value or an error\n   */\n  invoke(\n    options: InvokeOptions,\n    invoker: Invoker\n  ): Promise<InvocableResult<unknown>>;\n}\n\n```\n\n### IUriPackage\n\n```ts\n\n/** Associates a URI with an embedded wrap package */\nexport interface IUriPackage {\n  /** The package's URI */\n  uri: Uri;\n\n  /** The wrap package */\n  package: IWrapPackage;\n}\n\n```\n\n### IUriRedirect\n\n```ts\n\n/** Redirect invocations from one URI to another */\nexport interface IUriRedirect {\n  /** URI to redirect from */\n  from: Uri;\n\n  /** URI to redirect to */\n  to: Uri;\n}\n\n```\n\n### IUriWrapper\n\n```ts\n\n/** Associates a URI with an embedded wrapper */\nexport interface IUriWrapper {\n  /** The URI to resolve to the wrapper */\n  uri: Uri;\n\n  /** A wrapper instance */\n  wrapper: Wrapper;\n}\n\n```\n\n### IWrapPackage\n\n```ts\n\n/** Options for IWrapPackage's getManifest method */\nexport interface GetManifestOptions {\n  /** If true, manifest validation step will be skipped */\n  noValidate?: boolean;\n}\n\n/** A wrap package, capable of producing instances of a wrapper and its manifest */\nexport interface IWrapPackage {\n  /**\n   * Produce an instance of the wrap manifest\n   *\n   * @param options - GetManifestOptions; customize manifest retrieval\n   * @returns A Promise with a Result containing the wrap manifest or an error\n   */\n  getManifest(\n    options?: GetManifestOptions\n  ): Promise<Result<WrapManifest, Error>>;\n\n  /**\n   * Produce an instance of the wrapper\n   *\n   * @param options - DeserializeManifestOptions; customize manifest deserialization\n   * @returns A Promise with a Result containing the wrapper or an error\n   */\n  createWrapper(\n    options?: DeserializeManifestOptions\n  ): Promise<Result<Wrapper, Error>>;\n}\n\n```\n\n### MaybeAsync\n\n```ts\n\n/** Alias for a type that is either a value or a promise that resolves to the value */\nexport type MaybeAsync<T> = Promise<T> | T;\n\n```\n\n### Uri\n\n#### UriConfig\n```ts\n/** URI configuration */\nexport interface UriConfig {\n  /** URI Authority: allows the Polywrap URI resolution algorithm to determine an authoritative URI resolver. */\n  authority: string;\n\n  /** URI Path: tells the Authority where the Wrapper resides. */\n  path: string;\n\n  /** Full string representation of URI */\n  uri: string;\n}\n```\n\n#### Uri\n\n```ts\n/**\n * A Polywrap URI. Some examples of valid URIs are:\n * wrap://ipfs/QmHASH\n * wrap://ens/sub.dimain.eth\n * wrap://fs/directory/file.txt\n * wrap://uns/domain.crypto\n *\n * Breaking down the various parts of the URI, as it applies\n * to [the URI standard](https://tools.ietf.org/html/rfc3986#section-3):\n * **wrap://** - URI Scheme: differentiates Polywrap URIs.\n * **ipfs/** - URI Authority: allows the Polywrap URI resolution algorithm to determine an authoritative URI resolver.\n * **sub.domain.eth** - URI Path: tells the Authority where the Wrapper resides.\n */\nexport class Uri {\n```\n\n##### constructor\n```ts\n  /**\n   * Construct a Uri instance from a wrap URI string\n   *\n   * @remarks\n   * Throws if URI string is invalid\n   *\n   * @param uri - a string representation of a wrap URI\n   */\n  constructor(uri: string) \n```\n\n##### authority\n```ts\n  /** @returns Uri authority */\n  public get authority(): string \n```\n\n##### path\n```ts\n  /** @returns Uri path */\n  public get path(): string \n```\n\n##### uri\n```ts\n  /** @returns Uri string representation */\n  public get uri(): string \n```\n\n##### equals\n```ts\n  /** Test two Uri instances for equality */\n  public static equals(a: Uri, b: Uri): boolean \n```\n\n##### isUri\n```ts\n  /**\n   * Check if a value is an instance of Uri\n   *\n   * @param value - value to check\n   * @returns true if value is a Uri instance */\n  public static isUri(value: unknown): value is Uri \n```\n\n##### isValidUri\n```ts\n  /**\n   * Test if a URI string is a valid wrap URI\n   *\n   * @param uri - URI string\n   * @param parsed? - UriConfig to update (mutate) with content of URI string\n   * @returns true if input string is a valid wrap URI */\n  public static isValidUri(uri: string, parsed?: UriConfig): boolean \n```\n\n##### toString\n```ts\n  /** @returns Uri string representation */\n  public toString(): string \n```\n\n##### toJSON\n```ts\n  /** @returns Uri string representation */\n  public toJSON(): string \n```\n\n##### parseUri\n```ts\n  /**\n   * Parse a wrap URI string into its authority and path\n   *\n   * @param uri - a string representation of a wrap URI\n   * @returns A Result containing a UriConfig, if successful, or an error\n   */\n  public static parseUri(uri: string): Result<UriConfig, Error> \n```\n\n##### from\n```ts\n  /**\n   * Construct a Uri instance from a Uri or a wrap URI string\n   *\n   * @remarks\n   * Throws if URI string is invalid\n   *\n   * @param uri - a Uri instance or a string representation of a wrap URI\n   */\n  public static from(uri: Uri | string): Uri \n```\n\n### UriResolver\n\n```ts\n\n/** Options required for URI resolution. */\nexport interface TryResolveUriOptions {\n  /** The Wrapper's URI */\n  uri: Uri;\n\n  /** A URI resolution context */\n  resolutionContext?: IUriResolutionContext;\n}\n\n/** An entity capable of resolving a wrap URI, typically by using an IUriResolver implementation */\nexport interface UriResolverHandler<TError = undefined> {\n  /**\n   * Resolve a URI to a wrap package, a wrapper, or a uri\n   *\n   * @param options - TryResolveUriOptions\n   * @returns A Promise with a Result containing either a wrap package, a wrapper, or a URI if successful\n   */\n  tryResolveUri(\n    options?: TryResolveUriOptions\n  ): Promise<Result<UriPackageOrWrapper, TError>>;\n}\n\n```\n\n### Wrapper\n\n```ts\n\n/**\n * The Wrapper definition, which can be used to spawn\n * many invocations of this particular Wrapper. Internally\n * this class may do things like caching WASM bytecode, spawning\n * worker threads, or indexing into resolvers to find the requested method.\n */\nexport interface Wrapper extends Invocable {\n  /**\n   * Invoke the Wrapper based on the provided [[InvokeOptions]]\n   *\n   * @param options Options for this invocation.\n   * @param invoker The client instance requesting this invocation.\n   * This client will be used for any sub-invokes that occur.\n   */\n  invoke(\n    options: InvokeOptions,\n    invoker: Invoker\n  ): Promise<InvocableResult<unknown>>;\n\n  /**\n   * Get a file from the Wrapper package.\n   *\n   * @param options Configuration options for file retrieval\n   */\n  getFile(options: GetFileOptions): Promise<Result<Uint8Array | string, Error>>;\n\n  /**\n   * Get a manifest from the Wrapper package.\n   */\n  getManifest(): WrapManifest;\n}\n\n```\n\n## UriResolverInterface\n\n### MaybeUriOrManifest\n```ts\n/** Contains either a Uri, a manifest, or neither */\nexport interface MaybeUriOrManifest {\n  /** wrap URI */\n  uri?: string | null;\n\n  /** Serialized wrap manifest */\n  manifest?: Uint8Array | null;\n}\n```\n\n### Module\n\n#### tryResolveUri\n```ts\n  /**\n   * Use an invoker to try to resolve a URI using a wrapper that implements the UriResolver interface\n   *\n   * @param invoker - invokes the wrapper with the resolution URI as an argument\n   * @param wrapper - URI for wrapper that implements the UriResolver interface\n   * @param uri - the URI to resolve\n   */\n  tryResolveUri: async (\n    invoker: Invoker,\n    wrapper: Uri,\n    uri: Uri\n  ): Promise<Result<MaybeUriOrManifest, WrapError>> \n```\n\n#### getFile\n```ts\n  /**\n   * Use an invoker to fetch a file using a wrapper that implements the UriResolver interface\n   *\n   * @param invoker - invokes the wrapper with the filepath as an argument\n   * @param wrapper - URI for wrapper that implements the UriResolver interface\n   * @param path - a filepath, the format of which depends on the UriResolver\n   */\n  getFile: async (\n    invoker: Invoker,\n    wrapper: Uri,\n    path: string\n  ): Promise<Result<Uint8Array | undefined, WrapError>> \n```\n\n## Uri Resolution\n\n### IUriResolutionContext\n\n```ts\n/** Track and output URI resolution state, path, and history */\nexport interface IUriResolutionContext {\n  /**\n   * Check if a URI is in the process of being resolved\n   *\n   * @param uri - URI to check\n   * @return true if URI resolution is in process, false otherwise\n   */\n  isResolving(uri: Uri): boolean;\n\n  /**\n   * Start resolving a URI\n   *\n   * @param uri - Uri to resolve\n   */\n  startResolving(uri: Uri): void;\n\n  /**\n   * Stop resolving a URI\n   *\n   * @param uri - Uri being resolved\n   */\n  stopResolving(uri: Uri): void;\n\n  /**\n   * Push a step onto the resolution history stack\n   *\n   * @param step - A completed resolution step\n   */\n  trackStep<TError>(step: IUriResolutionStep<TError>): void;\n\n  /** @return history of all URI resolution steps completed */\n  getHistory(): IUriResolutionStep<unknown>[];\n\n  /** @return current URI resolution path */\n  getResolutionPath(): Uri[];\n\n  /**\n   * Create a new resolution context using the current URI resolution path\n   *\n   * @return a UriResolutionContext\n   */\n  createSubHistoryContext(): IUriResolutionContext;\n\n  /**\n   * Create a new resolution context using the current URI resolution history\n   *\n   * @return a UriResolutionContext\n   */\n  createSubContext(): IUriResolutionContext;\n}\n```\n\n### IUriResolutionStep\n\n```ts\n/** A step in the URI resolution algorithm */\nexport interface IUriResolutionStep<TError = undefined> {\n  /** The current URI being resolved */\n  sourceUri: Uri;\n\n  /** The resolution result for the current URI */\n  result: Result<UriPackageOrWrapper, TError>;\n\n  /** A text/visual description of this URI step */\n  description?: string;\n\n  /** History of sub-steps that exist within the context of this URI resolution step */\n  subHistory?: IUriResolutionStep<TError>[];\n}\n```\n\n### IUriResolver\n\n```ts\n/** Defines entity capable of resolving a wrap URI */\nexport interface IUriResolver<TError = undefined> {\n  /**\n   * Resolve a URI to a wrap package, a wrapper, or a uri\n   *\n   * @param uri - the URI to resolve\n   * @param client - a CoreClient instance that may be used to invoke a wrapper that implements the UriResolver interface\n   * @param resolutionContext - the current URI resolution context\n   * @returns A Promise with a Result containing either a wrap package, a wrapper, or a URI if successful\n   */\n  tryResolveUri(\n    uri: Uri,\n    client: CoreClient,\n    resolutionContext: IUriResolutionContext\n  ): Promise<Result<UriPackageOrWrapper, TError>>;\n}\n```\n\n### UriPackageOrWrapper\n\n```ts\n\n/** Indicates that a URI resolved to a Uri */\nexport type UriValue = {\n  type: \"uri\";\n  uri: Uri;\n};\n\n/** Indicates that a URI resolved to a wrap package */\nexport type UriPackageValue = IUriPackage & {\n  type: \"package\";\n};\n\n/** Indicates that a URI resolved to a wrapper */\nexport type UriWrapperValue = IUriWrapper & {\n  type: \"wrapper\";\n};\n\n/** indicates that a URI resolved to either a wrap package, a wrapper, or a URI */\nexport type UriPackageOrWrapper = UriValue | UriPackageValue | UriWrapperValue;\n\n```\n\n### UriResolutionContext\n\n```ts\n/** An implementation of the IUriResolutionContext interface */\n// $start: UriResolutionContext\n/** An implementation of the IUriResolutionContext interface */\nexport class UriResolutionContext implements IUriResolutionContext {\n```\n\n#### constructor\n\n```ts\n  /** Construct a UriResolutionContext */\n  constructor();\n  constructor(\n    resolvingUriMap: Map<string, boolean>,\n    resolutionPath: Set<string>\n  );\n  constructor(\n    resolvingUriMap: Map<string, boolean>,\n    history: IUriResolutionStep<unknown>[]\n  );\n  constructor(\n    resolvingUriMap?: Map<string, boolean>,\n    resolutionPathOrHistory?: Set<string> | IUriResolutionStep<unknown>[]\n  ) \n```\n","_id":"@polywrap/core-js@0.10.0-pre.10","dist":{"shasum":"3209dbcd097d3533574f1231c10ef633c2466d5c","integrity":"sha512-a/1JtfrHafRh2y0XgK5dNc82gVzjCbXSdKof7ojDghCSRSHUxTw/cJ+pcLrPJhrsTi7VfTM0BFjw3/wC5RutuA==","tarball":"https://registry.npmjs.org/@polywrap/core-js/-/core-js-0.10.0-pre.10.tgz","fileCount":119,"unpackedSize":121482,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA4OeuN0f6ZtO9p+ig+/6X83X+1XdM3ja0EOYbBHuaYvAiAuA35bcDGVo8iMX6VbDaJHvP5tPGR9IaxYnECyFnZk9Q=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj/sc6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoUKhAAksAYSBLTL4cxmit1HIMPbKEDEyQwHiqza8C1bEFeXOk7GmEB\r\nr7T7Y2moi7sRjdspDo9LB8nAUSq9vpXrWFxQ3bLXnQvJQ9x7kKcXwmJ3UYxA\r\nFZ3QjNLw45LLfu6EzJL0ylX7YPeo8pkh+YZUlxYybf3yNFipnb/pJrzjV16p\r\ncolQslhMWfZypfeRHiGLTYtg2xLLRPz9nKfU0q2VZpNjctBfWCI3Pl+yU2kP\r\nFJFvuKXJUer2LEVgq8GaXNoGRPAAMxvBJVJpDvLTzfIi6C4d3wfJZBmWGLgl\r\nCOvR/6eepxbxh9YuVAjNAM41wM2E8C04dMd2+X3VKH9obACuWW0j7X+PXU+n\r\nNkMkGLJDks3klHgjVEeW5pH81qMzMIqF9WP3ziDB6wrBlw43D2c33jRwHF4Y\r\n0D5l7T3AQWQ4FlyC2F1fdMkpw8YTeGRRi9HhaTbh7rzJxQB+7wSfJ/5FkyQS\r\nxpzH/igoZqyUoL4u/krQpHWaltbDukCemWk3MoDRfOIA/RNO+QJhjYLIx6Ih\r\n9EOxei3LeuSZLeQYIA2PnxNHZPKxVyvJVxmE1QYUc8hSZHmZ2ut4p5dXgfGJ\r\nm+1Wf7lCRbQ/yfSORGOfIr3h61Be3nyuQT8cOM3hDQ40gaJ47co/1tSOufBL\r\nVcOBccZxQCr9WRFjfEpf3syzwPzESOQwuaw=\r\n=15Cx\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},"directories":{},"maintainers":[{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},{"name":"dorgjelli","email":"jelli@dorg.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-js_0.10.0-pre.10_1677641530104_0.14163294094431111"},"_hasShrinkwrap":false},"0.10.0-pre.11":{"name":"@polywrap/core-js","description":"Polywrap Javascript Core","version":"0.10.0-pre.11","license":"MIT","repository":{"type":"git","url":"https://github.com/polywrap/monorepo.git"},"main":"build/index.js","scripts":{"build":"yarn build:fast && yarn build:readme","build:fast":"rimraf ./build && tsc --project tsconfig.build.json","lint":"eslint --color -c ../../../.eslintrc.js src/","test":"jest --passWithNoTests --runInBand --verbose","test:ci":"jest --passWithNoTests --runInBand --verbose","test:watch":"jest --watch --passWithNoTests --verbose","build:readme:subsections":"yarn doc-snippets combine -c ./readme/config/sub-sections.json","build:readme:final":"yarn doc-snippets combine -c ./readme/config/final.json","build:readme":"yarn build:readme:subsections && yarn build:readme:final"},"dependencies":{"@polywrap/result":"0.10.0-pre.11","@polywrap/tracing-js":"0.10.0-pre.11","@polywrap/wrap-manifest-types-js":"0.10.0-pre.11"},"devDependencies":{"@types/jest":"26.0.8","@types/mustache":"4.0.1","@types/prettier":"2.6.0","doc-snippets":"~1.0.0","jest":"26.6.3","mustache":"4.0.1","rimraf":"3.0.2","ts-jest":"26.5.4","ts-node":"10.9.1","typescript":"4.9.5"},"gitHead":"7346adaf5adb7e6bbb70d9247583e995650d390a","publishConfig":{"access":"public"},"readmeFilename":"README.md","readme":"# @polywrap/core-js\n\nA TypeScript / JavaScript implementation of the WRAP standard, including all fundamental types & algorithms.\n\n# Reference\n\n## Types\n\n### CoreClient\n\n```ts\n\n/** Core Client configuration that can be passed to the PolywrapClient or PolywrapCoreClient constructors */\nexport interface CoreClientConfig {\n  /** set environmental variables for a wrapper */\n  readonly interfaces?: Readonly<InterfaceImplementations[]>;\n\n  /** register interface implementations */\n  readonly envs?: Readonly<Env[]>;\n\n  /** configure URI resolution for redirects, packages, and wrappers */\n  readonly resolver: Readonly<IUriResolver<unknown>>;\n}\n\n/** Options for CoreClient's getFile method */\nexport interface GetFileOptions {\n  /** file path from wrapper root */\n  path: string;\n\n  /** file encoding */\n  encoding?: \"utf-8\" | string;\n}\n\n/** Options for CoreClient's getImplementations method */\nexport interface GetImplementationsOptions {\n  /** If true, follow redirects to resolve URIs */\n  applyResolution?: boolean;\n\n  /** Use and update an existing resolution context */\n  resolutionContext?: IUriResolutionContext;\n}\n\n/** Options for CoreClient's validate method */\nexport interface ValidateOptions {\n  /** Validate full ABI */\n  abi?: boolean;\n\n  /** Recursively validate import URIs */\n  recursive?: boolean;\n}\n\n/** CoreClient invokes wrappers and interacts with wrap packages. */\nexport interface CoreClient extends Invoker, UriResolverHandler<unknown> {\n  /**\n   * Returns the configuration used to instantiate the client\n   *\n   * @returns an immutable core client config\n   */\n  getConfig(): CoreClientConfig;\n\n  /**\n   * returns all interfaces from the configuration used to instantiate the client\n   *\n   * @returns an array of interfaces and their registered implementations\n   */\n  getInterfaces(): readonly InterfaceImplementations[] | undefined;\n\n  /**\n   * returns all env registrations from the configuration used to instantiate the client\n   *\n   * @returns an array of env objects containing wrapper environmental variables\n   */\n  getEnvs(): readonly Env[] | undefined;\n\n  /**\n   * returns an env (a set of environmental variables) from the configuration used to instantiate the client\n   *\n   * @param uri - the URI used to register the env\n   * @returns an env, or undefined if an env is not found at the given URI\n   */\n  getEnvByUri(uri: Uri): Env | undefined;\n\n  /**\n   * returns the URI resolver from the configuration used to instantiate the client\n   *\n   * @returns an object that implements the IUriResolver interface\n   */\n  getResolver(): IUriResolver<unknown>;\n\n  /**\n   * returns a package's wrap manifest\n   *\n   * @param uri - a wrap URI\n   * @returns a Result containing the WrapManifest if the request was successful\n   */\n  getManifest(uri: Uri): Promise<Result<WrapManifest, WrapError>>;\n\n  /**\n   * returns a file contained in a wrap package\n   *\n   * @param uri - a wrap URI\n   * @param options - { path: string; encoding?: \"utf-8\" | string }\n   * @returns a Promise of a Result containing a file if the request was successful\n   */\n  getFile(\n    uri: Uri,\n    options: GetFileOptions\n  ): Promise<Result<string | Uint8Array, WrapError>>;\n\n  /**\n   * returns the interface implementations associated with an interface URI\n   *  from the configuration used to instantiate the client\n   *\n   * @param uri - a wrap URI\n   * @param options - { applyResolution?: boolean; resolutionContext?: IUriResolutionContext }\n   * @returns a Result containing URI array if the request was successful\n   */\n  getImplementations(\n    uri: Uri,\n    options: GetImplementationsOptions\n  ): Promise<Result<Uri[], WrapError>>;\n}\n\n```\n\n### Env\n\n```ts\n\n/** A map of string-indexed, Msgpack-serializable environmental variables associated with a wrapper */\nexport interface Env {\n  /** Uri of wrapper */\n  uri: Uri;\n\n  /** Env variables used by the module */\n  env: Record<string, unknown>;\n}\n```\n\n### InterfaceImplementations\n\n```ts\n\n/** An interface and a list of wrappers that implement the interface */\nexport interface InterfaceImplementations {\n  /** Uri of interface */\n  interface: Uri;\n\n  /** Uris of implementations */\n  implementations: Uri[];\n}\n\n```\n\n### Invoke\n\n```ts\n\n/** Options required for an Wrapper invocation. */\nexport interface InvokeOptions {\n  /** The Wrapper's URI */\n  uri: Uri;\n\n  /** Method to be executed. */\n  method: string;\n\n  /** Arguments for the method, structured as a map, removing the chance of incorrectly ordered arguments. */\n  args?: Record<string, unknown> | Uint8Array;\n\n  /** Env variables for the wrapper invocation. */\n  env?: Record<string, unknown>;\n\n  /** A Uri resolution context */\n  resolutionContext?: IUriResolutionContext;\n}\n\n/**\n * Result of an Wrapper invocation.\n *\n * @template TData Type of the invoke result data.\n */\nexport type InvokeResult<TData = unknown> = Result<TData, WrapError>;\n\n/**\n * Provides options for the invoker to set based on the state of the invocation.\n * Extends InvokeOptions.\n */\nexport interface InvokerOptions extends InvokeOptions {\n  /** If true, the InvokeResult will (if successful) contain a Msgpack-encoded byte array */\n  encodeResult?: boolean;\n}\n\n/**\n * An entity capable of invoking wrappers.\n *\n * @template TData Type of the invoke result data.\n */\nexport interface Invoker {\n  /**\n   * Invoke a wrapper using an instance of the wrapper.\n   *\n   * @param options - invoker options and a wrapper instance to invoke\n   * @returns A Promise with a Result containing the return value or an error\n   */\n  invokeWrapper<TData = unknown>(\n    options: InvokerOptions & { wrapper: Wrapper }\n  ): Promise<InvokeResult<TData>>;\n\n  /**\n   * Invoke a wrapper.\n   *\n   * @remarks\n   * Unlike `invokeWrapper`, this method automatically retrieves and caches the wrapper.\n   *\n   * @param options - invoker options\n   * @returns A Promise with a Result containing the return value or an error\n   */\n  invoke<TData = unknown>(\n    options: InvokerOptions\n  ): Promise<InvokeResult<TData>>;\n}\n\n/**\n * Result of a Wrapper invocation, possibly Msgpack-encoded.\n *\n * @template TData Type of the invoke result data.\n */\nexport type InvocableResult<TData = unknown> = InvokeResult<TData> & {\n  /** If true, result (if successful) contains a Msgpack-encoded byte array */\n  encoded?: boolean;\n};\n\n/** An invocable entity, such as a wrapper. */\nexport interface Invocable {\n  /**\n   * Invoke this object.\n   *\n   * @param options - invoke options\n   * @param invoker - an Invoker, capable of invoking this object\n   * @returns A Promise with a Result containing the return value or an error\n   */\n  invoke(\n    options: InvokeOptions,\n    invoker: Invoker\n  ): Promise<InvocableResult<unknown>>;\n}\n\n```\n\n### IUriPackage\n\n```ts\n\n/** Associates a URI with an embedded wrap package */\nexport interface IUriPackage {\n  /** The package's URI */\n  uri: Uri;\n\n  /** The wrap package */\n  package: IWrapPackage;\n}\n\n```\n\n### IUriRedirect\n\n```ts\n\n/** Redirect invocations from one URI to another */\nexport interface IUriRedirect {\n  /** URI to redirect from */\n  from: Uri;\n\n  /** URI to redirect to */\n  to: Uri;\n}\n\n```\n\n### IUriWrapper\n\n```ts\n\n/** Associates a URI with an embedded wrapper */\nexport interface IUriWrapper {\n  /** The URI to resolve to the wrapper */\n  uri: Uri;\n\n  /** A wrapper instance */\n  wrapper: Wrapper;\n}\n\n```\n\n### IWrapPackage\n\n```ts\n\n/** Options for IWrapPackage's getManifest method */\nexport interface GetManifestOptions {\n  /** If true, manifest validation step will be skipped */\n  noValidate?: boolean;\n}\n\n/** A wrap package, capable of producing instances of a wrapper and its manifest */\nexport interface IWrapPackage {\n  /**\n   * Produce an instance of the wrap manifest\n   *\n   * @param options - GetManifestOptions; customize manifest retrieval\n   * @returns A Promise with a Result containing the wrap manifest or an error\n   */\n  getManifest(\n    options?: GetManifestOptions\n  ): Promise<Result<WrapManifest, Error>>;\n\n  /**\n   * Produce an instance of the wrapper\n   *\n   * @param options - DeserializeManifestOptions; customize manifest deserialization\n   * @returns A Promise with a Result containing the wrapper or an error\n   */\n  createWrapper(\n    options?: DeserializeManifestOptions\n  ): Promise<Result<Wrapper, Error>>;\n}\n\n```\n\n### MaybeAsync\n\n```ts\n\n/** Alias for a type that is either a value or a promise that resolves to the value */\nexport type MaybeAsync<T> = Promise<T> | T;\n\n```\n\n### Uri\n\n#### UriConfig\n```ts\n/** URI configuration */\nexport interface UriConfig {\n  /** URI Authority: allows the Polywrap URI resolution algorithm to determine an authoritative URI resolver. */\n  authority: string;\n\n  /** URI Path: tells the Authority where the Wrapper resides. */\n  path: string;\n\n  /** Full string representation of URI */\n  uri: string;\n}\n```\n\n#### Uri\n\n```ts\n/**\n * A Polywrap URI. Some examples of valid URIs are:\n * wrap://ipfs/QmHASH\n * wrap://ens/sub.dimain.eth\n * wrap://fs/directory/file.txt\n * wrap://uns/domain.crypto\n *\n * Breaking down the various parts of the URI, as it applies\n * to [the URI standard](https://tools.ietf.org/html/rfc3986#section-3):\n * **wrap://** - URI Scheme: differentiates Polywrap URIs.\n * **ipfs/** - URI Authority: allows the Polywrap URI resolution algorithm to determine an authoritative URI resolver.\n * **sub.domain.eth** - URI Path: tells the Authority where the Wrapper resides.\n */\nexport class Uri {\n```\n\n##### constructor\n```ts\n  /**\n   * Construct a Uri instance from a wrap URI string\n   *\n   * @remarks\n   * Throws if URI string is invalid\n   *\n   * @param uri - a string representation of a wrap URI\n   */\n  constructor(uri: string) \n```\n\n##### authority\n```ts\n  /** @returns Uri authority */\n  public get authority(): string \n```\n\n##### path\n```ts\n  /** @returns Uri path */\n  public get path(): string \n```\n\n##### uri\n```ts\n  /** @returns Uri string representation */\n  public get uri(): string \n```\n\n##### equals\n```ts\n  /** Test two Uri instances for equality */\n  public static equals(a: Uri, b: Uri): boolean \n```\n\n##### isUri\n```ts\n  /**\n   * Check if a value is an instance of Uri\n   *\n   * @param value - value to check\n   * @returns true if value is a Uri instance */\n  public static isUri(value: unknown): value is Uri \n```\n\n##### isValidUri\n```ts\n  /**\n   * Test if a URI string is a valid wrap URI\n   *\n   * @param uri - URI string\n   * @param parsed? - UriConfig to update (mutate) with content of URI string\n   * @returns true if input string is a valid wrap URI */\n  public static isValidUri(uri: string, parsed?: UriConfig): boolean \n```\n\n##### toString\n```ts\n  /** @returns Uri string representation */\n  public toString(): string \n```\n\n##### toJSON\n```ts\n  /** @returns Uri string representation */\n  public toJSON(): string \n```\n\n##### parseUri\n```ts\n  /**\n   * Parse a wrap URI string into its authority and path\n   *\n   * @param uri - a string representation of a wrap URI\n   * @returns A Result containing a UriConfig, if successful, or an error\n   */\n  public static parseUri(uri: string): Result<UriConfig, Error> \n```\n\n##### from\n```ts\n  /**\n   * Construct a Uri instance from a Uri or a wrap URI string\n   *\n   * @remarks\n   * Throws if URI string is invalid\n   *\n   * @param uri - a Uri instance or a string representation of a wrap URI\n   */\n  public static from(uri: Uri | string): Uri \n```\n\n### UriResolver\n\n```ts\n\n/** Options required for URI resolution. */\nexport interface TryResolveUriOptions {\n  /** The Wrapper's URI */\n  uri: Uri;\n\n  /** A URI resolution context */\n  resolutionContext?: IUriResolutionContext;\n}\n\n/** An entity capable of resolving a wrap URI, typically by using an IUriResolver implementation */\nexport interface UriResolverHandler<TError = undefined> {\n  /**\n   * Resolve a URI to a wrap package, a wrapper, or a uri\n   *\n   * @param options - TryResolveUriOptions\n   * @returns A Promise with a Result containing either a wrap package, a wrapper, or a URI if successful\n   */\n  tryResolveUri(\n    options?: TryResolveUriOptions\n  ): Promise<Result<UriPackageOrWrapper, TError>>;\n}\n\n```\n\n### Wrapper\n\n```ts\n\n/**\n * The Wrapper definition, which can be used to spawn\n * many invocations of this particular Wrapper. Internally\n * this class may do things like caching WASM bytecode, spawning\n * worker threads, or indexing into resolvers to find the requested method.\n */\nexport interface Wrapper extends Invocable {\n  /**\n   * Invoke the Wrapper based on the provided [[InvokeOptions]]\n   *\n   * @param options Options for this invocation.\n   * @param invoker The client instance requesting this invocation.\n   * This client will be used for any sub-invokes that occur.\n   */\n  invoke(\n    options: InvokeOptions,\n    invoker: Invoker\n  ): Promise<InvocableResult<unknown>>;\n\n  /**\n   * Get a file from the Wrapper package.\n   *\n   * @param options Configuration options for file retrieval\n   */\n  getFile(options: GetFileOptions): Promise<Result<Uint8Array | string, Error>>;\n\n  /**\n   * Get a manifest from the Wrapper package.\n   */\n  getManifest(): WrapManifest;\n}\n\n```\n\n## UriResolverInterface\n\n### MaybeUriOrManifest\n```ts\n/** Contains either a Uri, a manifest, or neither */\nexport interface MaybeUriOrManifest {\n  /** wrap URI */\n  uri?: string | null;\n\n  /** Serialized wrap manifest */\n  manifest?: Uint8Array | null;\n}\n```\n\n### Module\n\n#### tryResolveUri\n```ts\n  /**\n   * Use an invoker to try to resolve a URI using a wrapper that implements the UriResolver interface\n   *\n   * @param invoker - invokes the wrapper with the resolution URI as an argument\n   * @param wrapper - URI for wrapper that implements the UriResolver interface\n   * @param uri - the URI to resolve\n   */\n  tryResolveUri: async (\n    invoker: Invoker,\n    wrapper: Uri,\n    uri: Uri\n  ): Promise<Result<MaybeUriOrManifest, WrapError>> \n```\n\n#### getFile\n```ts\n  /**\n   * Use an invoker to fetch a file using a wrapper that implements the UriResolver interface\n   *\n   * @param invoker - invokes the wrapper with the filepath as an argument\n   * @param wrapper - URI for wrapper that implements the UriResolver interface\n   * @param path - a filepath, the format of which depends on the UriResolver\n   */\n  getFile: async (\n    invoker: Invoker,\n    wrapper: Uri,\n    path: string\n  ): Promise<Result<Uint8Array | undefined, WrapError>> \n```\n\n## Uri Resolution\n\n### IUriResolutionContext\n\n```ts\n/** Track and output URI resolution state, path, and history */\nexport interface IUriResolutionContext {\n  /**\n   * Check if a URI is in the process of being resolved\n   *\n   * @param uri - URI to check\n   * @return true if URI resolution is in process, false otherwise\n   */\n  isResolving(uri: Uri): boolean;\n\n  /**\n   * Start resolving a URI\n   *\n   * @param uri - Uri to resolve\n   */\n  startResolving(uri: Uri): void;\n\n  /**\n   * Stop resolving a URI\n   *\n   * @param uri - Uri being resolved\n   */\n  stopResolving(uri: Uri): void;\n\n  /**\n   * Push a step onto the resolution history stack\n   *\n   * @param step - A completed resolution step\n   */\n  trackStep<TError>(step: IUriResolutionStep<TError>): void;\n\n  /** @return history of all URI resolution steps completed */\n  getHistory(): IUriResolutionStep<unknown>[];\n\n  /** @return current URI resolution path */\n  getResolutionPath(): Uri[];\n\n  /**\n   * Create a new resolution context using the current URI resolution path\n   *\n   * @return a UriResolutionContext\n   */\n  createSubHistoryContext(): IUriResolutionContext;\n\n  /**\n   * Create a new resolution context using the current URI resolution history\n   *\n   * @return a UriResolutionContext\n   */\n  createSubContext(): IUriResolutionContext;\n}\n```\n\n### IUriResolutionStep\n\n```ts\n/** A step in the URI resolution algorithm */\nexport interface IUriResolutionStep<TError = undefined> {\n  /** The current URI being resolved */\n  sourceUri: Uri;\n\n  /** The resolution result for the current URI */\n  result: Result<UriPackageOrWrapper, TError>;\n\n  /** A text/visual description of this URI step */\n  description?: string;\n\n  /** History of sub-steps that exist within the context of this URI resolution step */\n  subHistory?: IUriResolutionStep<TError>[];\n}\n```\n\n### IUriResolver\n\n```ts\n/** Defines entity capable of resolving a wrap URI */\nexport interface IUriResolver<TError = undefined> {\n  /**\n   * Resolve a URI to a wrap package, a wrapper, or a uri\n   *\n   * @param uri - the URI to resolve\n   * @param client - a CoreClient instance that may be used to invoke a wrapper that implements the UriResolver interface\n   * @param resolutionContext - the current URI resolution context\n   * @returns A Promise with a Result containing either a wrap package, a wrapper, or a URI if successful\n   */\n  tryResolveUri(\n    uri: Uri,\n    client: CoreClient,\n    resolutionContext: IUriResolutionContext\n  ): Promise<Result<UriPackageOrWrapper, TError>>;\n}\n```\n\n### UriPackageOrWrapper\n\n```ts\n\n/** Indicates that a URI resolved to a Uri */\nexport type UriValue = {\n  type: \"uri\";\n  uri: Uri;\n};\n\n/** Indicates that a URI resolved to a wrap package */\nexport type UriPackageValue = IUriPackage & {\n  type: \"package\";\n};\n\n/** Indicates that a URI resolved to a wrapper */\nexport type UriWrapperValue = IUriWrapper & {\n  type: \"wrapper\";\n};\n\n/** indicates that a URI resolved to either a wrap package, a wrapper, or a URI */\nexport type UriPackageOrWrapper = UriValue | UriPackageValue | UriWrapperValue;\n\n```\n\n### UriResolutionContext\n\n```ts\n/** An implementation of the IUriResolutionContext interface */\nexport class UriResolutionContext implements IUriResolutionContext {\n```\n\n#### constructor\n\n```ts\n  /** Construct a UriResolutionContext */\n  constructor();\n  constructor(\n    resolvingUriMap: Map<string, boolean>,\n    resolutionPath: Set<string>\n  );\n  constructor(\n    resolvingUriMap: Map<string, boolean>,\n    history: IUriResolutionStep<unknown>[]\n  );\n  constructor(\n    resolvingUriMap?: Map<string, boolean>,\n    resolutionPathOrHistory?: Set<string> | IUriResolutionStep<unknown>[]\n  ) \n```\n","_id":"@polywrap/core-js@0.10.0-pre.11","dist":{"shasum":"56be38b51b76403495634a28dce2f239d1e6fc11","integrity":"sha512-DpZxWgKzkyDmt94DwszpQ184zuYOmYHAV5TUldVhsvC1j3bFdNR0HzHqR1I2qfdAI1ald+plvDmuK/otjSJq/Q==","tarball":"https://registry.npmjs.org/@polywrap/core-js/-/core-js-0.10.0-pre.11.tgz","fileCount":119,"unpackedSize":121200,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAf8Kd0YV8N3TuVjGBBphFWDJPlcnsO4V9k2ECas1UzNAiBIIogcHoiPqz+yhmFgRAvkGesvXIWSgyJ1Is82NnD8Ww=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkBmgmACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq1qw//Wnh13naYVOUsc8FN4PYQq5D+fFJQXFRk/ZL2yyAPCBdyMskM\r\n0RoAEUbE0gXDA+CpSeExFomZoNV3FkUsR0x1Pbxk8mcWpseYeTRfaqWWj/jw\r\n6ecKvx3drdb6TM8CRyee16R4GdftxnxZsk7KEXYOBUpSAb1HOJskM0xnwiLn\r\njZlf903ifLSJYiJgYL774w/+zobmkeEuaMHCEC3WTBfAdUd6sf2Rk/RtcJ+O\r\nxpAbcxIFVJnz5Nl87jH+2STbZwgU+xBFO6XtRjO3oSeseoUVurVCyYIk5F/j\r\nj7zjYUM/qQjKgVfGLMb275BmNk9xooE9KvdRRxOmAFLBAKIzPpL95a7ABmf4\r\npnQQ48MUVEIUY+B0HqRg0ddsjnVrb+C6fE5Kit48WF6S3LnKVD2krh6jjU7y\r\nE4F3kvGJkJw0UZ/8CTg1+jNtgP4akdjWyOd8VnQjhy8qEGbABGUIqCOIhUw/\r\n356jvCj6rvwzvGIOzC2T3nX3JsB3v2tWHzvQxfatWkMwsgqjQ3UwkmHBA9Y2\r\n41xFRRaPLPI2MEsRM7rO/T4eTSXUwx2DDMgVNDP/3+ruEGB6saUB0LKPVLoL\r\nkdFHCvz5EMlV8JFgn3YXNuGagjKZJvLSsQkanmdoMLamVkvog0MnHf6HDv/A\r\n2s5dMrkgxTGO5VvnaLPu0yqkAXAm0IVjiGk=\r\n=Vu+1\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},"directories":{},"maintainers":[{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},{"name":"dorgjelli","email":"jelli@dorg.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-js_0.10.0-pre.11_1678141478636_0.014973254419645476"},"_hasShrinkwrap":false},"0.10.0-pre.12":{"name":"@polywrap/core-js","description":"Polywrap Javascript Core","version":"0.10.0-pre.12","license":"MIT","repository":{"type":"git","url":"https://github.com/polywrap/monorepo.git"},"main":"build/index.js","scripts":{"build":"yarn build:fast && yarn build:readme","build:fast":"rimraf ./build && tsc --project tsconfig.build.json","lint":"eslint --color -c ../../../.eslintrc.js src/","test":"jest --passWithNoTests --runInBand --verbose","test:ci":"jest --passWithNoTests --runInBand --verbose","test:watch":"jest --watch --passWithNoTests --verbose","build:readme:subsections":"yarn doc-snippets combine -c ./readme/config/sub-sections.json","build:readme:final":"yarn doc-snippets combine -c ./readme/config/final.json","build:readme":"yarn build:readme:subsections && yarn build:readme:final"},"dependencies":{"@polywrap/result":"0.10.0-pre.12","@polywrap/tracing-js":"0.10.0-pre.12","@polywrap/wrap-manifest-types-js":"0.10.0-pre.12"},"devDependencies":{"@types/jest":"26.0.8","@types/mustache":"4.0.1","@types/prettier":"2.6.0","doc-snippets":"~1.0.0","jest":"26.6.3","mustache":"4.0.1","rimraf":"3.0.2","ts-jest":"26.5.4","ts-node":"10.9.1","typescript":"4.9.5"},"gitHead":"7346adaf5adb7e6bbb70d9247583e995650d390a","publishConfig":{"access":"public"},"readmeFilename":"README.md","readme":"# @polywrap/core-js\n\nA TypeScript / JavaScript implementation of the WRAP standard, including all fundamental types & algorithms.\n\n# Reference\n\n## Types\n\n### CoreClient\n\n```ts\n\n/** Core Client configuration that can be passed to the PolywrapClient or PolywrapCoreClient constructors */\nexport interface CoreClientConfig {\n  /** set environmental variables for a wrapper */\n  readonly interfaces?: Readonly<InterfaceImplementations[]>;\n\n  /** register interface implementations */\n  readonly envs?: Readonly<Env[]>;\n\n  /** configure URI resolution for redirects, packages, and wrappers */\n  readonly resolver: Readonly<IUriResolver<unknown>>;\n}\n\n/** Options for CoreClient's getFile method */\nexport interface GetFileOptions {\n  /** file path from wrapper root */\n  path: string;\n\n  /** file encoding */\n  encoding?: \"utf-8\" | string;\n}\n\n/** Options for CoreClient's getImplementations method */\nexport interface GetImplementationsOptions {\n  /** If true, follow redirects to resolve URIs */\n  applyResolution?: boolean;\n\n  /** Use and update an existing resolution context */\n  resolutionContext?: IUriResolutionContext;\n}\n\n/** Options for CoreClient's validate method */\nexport interface ValidateOptions {\n  /** Validate full ABI */\n  abi?: boolean;\n\n  /** Recursively validate import URIs */\n  recursive?: boolean;\n}\n\n/** CoreClient invokes wrappers and interacts with wrap packages. */\nexport interface CoreClient extends Invoker, UriResolverHandler<unknown> {\n  /**\n   * Returns the configuration used to instantiate the client\n   *\n   * @returns an immutable core client config\n   */\n  getConfig(): CoreClientConfig;\n\n  /**\n   * returns all interfaces from the configuration used to instantiate the client\n   *\n   * @returns an array of interfaces and their registered implementations\n   */\n  getInterfaces(): readonly InterfaceImplementations[] | undefined;\n\n  /**\n   * returns all env registrations from the configuration used to instantiate the client\n   *\n   * @returns an array of env objects containing wrapper environmental variables\n   */\n  getEnvs(): readonly Env[] | undefined;\n\n  /**\n   * returns an env (a set of environmental variables) from the configuration used to instantiate the client\n   *\n   * @param uri - the URI used to register the env\n   * @returns an env, or undefined if an env is not found at the given URI\n   */\n  getEnvByUri(uri: Uri): Env | undefined;\n\n  /**\n   * returns the URI resolver from the configuration used to instantiate the client\n   *\n   * @returns an object that implements the IUriResolver interface\n   */\n  getResolver(): IUriResolver<unknown>;\n\n  /**\n   * returns a package's wrap manifest\n   *\n   * @param uri - a wrap URI\n   * @returns a Result containing the WrapManifest if the request was successful\n   */\n  getManifest(uri: Uri): Promise<Result<WrapManifest, WrapError>>;\n\n  /**\n   * returns a file contained in a wrap package\n   *\n   * @param uri - a wrap URI\n   * @param options - { path: string; encoding?: \"utf-8\" | string }\n   * @returns a Promise of a Result containing a file if the request was successful\n   */\n  getFile(\n    uri: Uri,\n    options: GetFileOptions\n  ): Promise<Result<string | Uint8Array, WrapError>>;\n\n  /**\n   * returns the interface implementations associated with an interface URI\n   *  from the configuration used to instantiate the client\n   *\n   * @param uri - a wrap URI\n   * @param options - { applyResolution?: boolean; resolutionContext?: IUriResolutionContext }\n   * @returns a Result containing URI array if the request was successful\n   */\n  getImplementations(\n    uri: Uri,\n    options: GetImplementationsOptions\n  ): Promise<Result<Uri[], WrapError>>;\n}\n\n```\n\n### Env\n\n```ts\n\n/** A map of string-indexed, Msgpack-serializable environmental variables associated with a wrapper */\nexport interface Env {\n  /** Uri of wrapper */\n  uri: Uri;\n\n  /** Env variables used by the module */\n  env: Record<string, unknown>;\n}\n```\n\n### InterfaceImplementations\n\n```ts\n\n/** An interface and a list of wrappers that implement the interface */\nexport interface InterfaceImplementations {\n  /** Uri of interface */\n  interface: Uri;\n\n  /** Uris of implementations */\n  implementations: Uri[];\n}\n\n```\n\n### Invoke\n\n```ts\n\n/** Options required for an Wrapper invocation. */\nexport interface InvokeOptions {\n  /** The Wrapper's URI */\n  uri: Uri;\n\n  /** Method to be executed. */\n  method: string;\n\n  /** Arguments for the method, structured as a map, removing the chance of incorrectly ordered arguments. */\n  args?: Record<string, unknown> | Uint8Array;\n\n  /** Env variables for the wrapper invocation. */\n  env?: Record<string, unknown>;\n\n  /** A Uri resolution context */\n  resolutionContext?: IUriResolutionContext;\n}\n\n/**\n * Result of an Wrapper invocation.\n *\n * @template TData Type of the invoke result data.\n */\nexport type InvokeResult<TData = unknown> = Result<TData, WrapError>;\n\n/**\n * Provides options for the invoker to set based on the state of the invocation.\n * Extends InvokeOptions.\n */\nexport interface InvokerOptions extends InvokeOptions {\n  /** If true, the InvokeResult will (if successful) contain a Msgpack-encoded byte array */\n  encodeResult?: boolean;\n}\n\n/**\n * An entity capable of invoking wrappers.\n *\n * @template TData Type of the invoke result data.\n */\nexport interface Invoker {\n  /**\n   * Invoke a wrapper using an instance of the wrapper.\n   *\n   * @param options - invoker options and a wrapper instance to invoke\n   * @returns A Promise with a Result containing the return value or an error\n   */\n  invokeWrapper<TData = unknown>(\n    options: InvokerOptions & { wrapper: Wrapper }\n  ): Promise<InvokeResult<TData>>;\n\n  /**\n   * Invoke a wrapper.\n   *\n   * @remarks\n   * Unlike `invokeWrapper`, this method automatically retrieves and caches the wrapper.\n   *\n   * @param options - invoker options\n   * @returns A Promise with a Result containing the return value or an error\n   */\n  invoke<TData = unknown>(\n    options: InvokerOptions\n  ): Promise<InvokeResult<TData>>;\n}\n\n/**\n * Result of a Wrapper invocation, possibly Msgpack-encoded.\n *\n * @template TData Type of the invoke result data.\n */\nexport type InvocableResult<TData = unknown> = InvokeResult<TData> & {\n  /** If true, result (if successful) contains a Msgpack-encoded byte array */\n  encoded?: boolean;\n};\n\n/** An invocable entity, such as a wrapper. */\nexport interface Invocable {\n  /**\n   * Invoke this object.\n   *\n   * @param options - invoke options\n   * @param invoker - an Invoker, capable of invoking this object\n   * @returns A Promise with a Result containing the return value or an error\n   */\n  invoke(\n    options: InvokeOptions,\n    invoker: Invoker\n  ): Promise<InvocableResult<unknown>>;\n}\n\n```\n\n### IUriPackage\n\n```ts\n\n/** Associates a URI with an embedded wrap package */\nexport interface IUriPackage {\n  /** The package's URI */\n  uri: Uri;\n\n  /** The wrap package */\n  package: IWrapPackage;\n}\n\n```\n\n### IUriRedirect\n\n```ts\n\n/** Redirect invocations from one URI to another */\nexport interface IUriRedirect {\n  /** URI to redirect from */\n  from: Uri;\n\n  /** URI to redirect to */\n  to: Uri;\n}\n\n```\n\n### IUriWrapper\n\n```ts\n\n/** Associates a URI with an embedded wrapper */\nexport interface IUriWrapper {\n  /** The URI to resolve to the wrapper */\n  uri: Uri;\n\n  /** A wrapper instance */\n  wrapper: Wrapper;\n}\n\n```\n\n### IWrapPackage\n\n```ts\n\n/** Options for IWrapPackage's getManifest method */\nexport interface GetManifestOptions {\n  /** If true, manifest validation step will be skipped */\n  noValidate?: boolean;\n}\n\n/** A wrap package, capable of producing instances of a wrapper and its manifest */\nexport interface IWrapPackage {\n  /**\n   * Produce an instance of the wrap manifest\n   *\n   * @param options - GetManifestOptions; customize manifest retrieval\n   * @returns A Promise with a Result containing the wrap manifest or an error\n   */\n  getManifest(\n    options?: GetManifestOptions\n  ): Promise<Result<WrapManifest, Error>>;\n\n  /**\n   * Produce an instance of the wrapper\n   *\n   * @param options - DeserializeManifestOptions; customize manifest deserialization\n   * @returns A Promise with a Result containing the wrapper or an error\n   */\n  createWrapper(\n    options?: DeserializeManifestOptions\n  ): Promise<Result<Wrapper, Error>>;\n}\n\n```\n\n### MaybeAsync\n\n```ts\n\n/** Alias for a type that is either a value or a promise that resolves to the value */\nexport type MaybeAsync<T> = Promise<T> | T;\n\n```\n\n### Uri\n\n#### UriConfig\n```ts\n/** URI configuration */\nexport interface UriConfig {\n  /** URI Authority: allows the Polywrap URI resolution algorithm to determine an authoritative URI resolver. */\n  authority: string;\n\n  /** URI Path: tells the Authority where the Wrapper resides. */\n  path: string;\n\n  /** Full string representation of URI */\n  uri: string;\n}\n```\n\n#### Uri\n\n```ts\n/**\n * A Polywrap URI. Some examples of valid URIs are:\n * wrap://ipfs/QmHASH\n * wrap://ens/sub.dimain.eth\n * wrap://fs/directory/file.txt\n * wrap://uns/domain.crypto\n *\n * Breaking down the various parts of the URI, as it applies\n * to [the URI standard](https://tools.ietf.org/html/rfc3986#section-3):\n * **wrap://** - URI Scheme: differentiates Polywrap URIs.\n * **ipfs/** - URI Authority: allows the Polywrap URI resolution algorithm to determine an authoritative URI resolver.\n * **sub.domain.eth** - URI Path: tells the Authority where the Wrapper resides.\n */\nexport class Uri {\n```\n\n##### constructor\n```ts\n  /**\n   * Construct a Uri instance from a wrap URI string\n   *\n   * @remarks\n   * Throws if URI string is invalid\n   *\n   * @param uri - a string representation of a wrap URI\n   */\n  constructor(uri: string) \n```\n\n##### authority\n```ts\n  /** @returns Uri authority */\n  public get authority(): string \n```\n\n##### path\n```ts\n  /** @returns Uri path */\n  public get path(): string \n```\n\n##### uri\n```ts\n  /** @returns Uri string representation */\n  public get uri(): string \n```\n\n##### equals\n```ts\n  /** Test two Uri instances for equality */\n  public static equals(a: Uri, b: Uri): boolean \n```\n\n##### isUri\n```ts\n  /**\n   * Check if a value is an instance of Uri\n   *\n   * @param value - value to check\n   * @returns true if value is a Uri instance */\n  public static isUri(value: unknown): value is Uri \n```\n\n##### isValidUri\n```ts\n  /**\n   * Test if a URI string is a valid wrap URI\n   *\n   * @param uri - URI string\n   * @param parsed? - UriConfig to update (mutate) with content of URI string\n   * @returns true if input string is a valid wrap URI */\n  public static isValidUri(uri: string, parsed?: UriConfig): boolean \n```\n\n##### toString\n```ts\n  /** @returns Uri string representation */\n  public toString(): string \n```\n\n##### toJSON\n```ts\n  /** @returns Uri string representation */\n  public toJSON(): string \n```\n\n##### parseUri\n```ts\n  /**\n   * Parse a wrap URI string into its authority and path\n   *\n   * @param uri - a string representation of a wrap URI\n   * @returns A Result containing a UriConfig, if successful, or an error\n   */\n  public static parseUri(uri: string): Result<UriConfig, Error> \n```\n\n##### from\n```ts\n  /**\n   * Construct a Uri instance from a Uri or a wrap URI string\n   *\n   * @remarks\n   * Throws if URI string is invalid\n   *\n   * @param uri - a Uri instance or a string representation of a wrap URI\n   */\n  public static from(uri: Uri | string): Uri \n```\n\n### UriResolver\n\n```ts\n\n/** Options required for URI resolution. */\nexport interface TryResolveUriOptions {\n  /** The Wrapper's URI */\n  uri: Uri;\n\n  /** A URI resolution context */\n  resolutionContext?: IUriResolutionContext;\n}\n\n/** An entity capable of resolving a wrap URI, typically by using an IUriResolver implementation */\nexport interface UriResolverHandler<TError = undefined> {\n  /**\n   * Resolve a URI to a wrap package, a wrapper, or a uri\n   *\n   * @param options - TryResolveUriOptions\n   * @returns A Promise with a Result containing either a wrap package, a wrapper, or a URI if successful\n   */\n  tryResolveUri(\n    options?: TryResolveUriOptions\n  ): Promise<Result<UriPackageOrWrapper, TError>>;\n}\n\n```\n\n### Wrapper\n\n```ts\n\n/**\n * The Wrapper definition, which can be used to spawn\n * many invocations of this particular Wrapper. Internally\n * this class may do things like caching WASM bytecode, spawning\n * worker threads, or indexing into resolvers to find the requested method.\n */\nexport interface Wrapper extends Invocable {\n  /**\n   * Invoke the Wrapper based on the provided [[InvokeOptions]]\n   *\n   * @param options Options for this invocation.\n   * @param invoker The client instance requesting this invocation.\n   * This client will be used for any sub-invokes that occur.\n   */\n  invoke(\n    options: InvokeOptions,\n    invoker: Invoker\n  ): Promise<InvocableResult<unknown>>;\n\n  /**\n   * Get a file from the Wrapper package.\n   *\n   * @param options Configuration options for file retrieval\n   */\n  getFile(options: GetFileOptions): Promise<Result<Uint8Array | string, Error>>;\n\n  /**\n   * Get a manifest from the Wrapper package.\n   */\n  getManifest(): WrapManifest;\n}\n\n```\n\n## UriResolverInterface\n\n### MaybeUriOrManifest\n```ts\n/** Contains either a Uri, a manifest, or neither */\nexport interface MaybeUriOrManifest {\n  /** wrap URI */\n  uri?: string | null;\n\n  /** Serialized wrap manifest */\n  manifest?: Uint8Array | null;\n}\n```\n\n### Module\n\n#### tryResolveUri\n```ts\n  /**\n   * Use an invoker to try to resolve a URI using a wrapper that implements the UriResolver interface\n   *\n   * @param invoker - invokes the wrapper with the resolution URI as an argument\n   * @param wrapper - URI for wrapper that implements the UriResolver interface\n   * @param uri - the URI to resolve\n   */\n  tryResolveUri: async (\n    invoker: Invoker,\n    wrapper: Uri,\n    uri: Uri\n  ): Promise<Result<MaybeUriOrManifest, WrapError>> \n```\n\n#### getFile\n```ts\n  /**\n   * Use an invoker to fetch a file using a wrapper that implements the UriResolver interface\n   *\n   * @param invoker - invokes the wrapper with the filepath as an argument\n   * @param wrapper - URI for wrapper that implements the UriResolver interface\n   * @param path - a filepath, the format of which depends on the UriResolver\n   */\n  getFile: async (\n    invoker: Invoker,\n    wrapper: Uri,\n    path: string\n  ): Promise<Result<Uint8Array | undefined, WrapError>> \n```\n\n## Uri Resolution\n\n### IUriResolutionContext\n\n```ts\n/** Track and output URI resolution state, path, and history */\nexport interface IUriResolutionContext {\n  /**\n   * Check if a URI is in the process of being resolved\n   *\n   * @param uri - URI to check\n   * @return true if URI resolution is in process, false otherwise\n   */\n  isResolving(uri: Uri): boolean;\n\n  /**\n   * Start resolving a URI\n   *\n   * @param uri - Uri to resolve\n   */\n  startResolving(uri: Uri): void;\n\n  /**\n   * Stop resolving a URI\n   *\n   * @param uri - Uri being resolved\n   */\n  stopResolving(uri: Uri): void;\n\n  /**\n   * Push a step onto the resolution history stack\n   *\n   * @param step - A completed resolution step\n   */\n  trackStep<TError>(step: IUriResolutionStep<TError>): void;\n\n  /** @return history of all URI resolution steps completed */\n  getHistory(): IUriResolutionStep<unknown>[];\n\n  /** @return current URI resolution path */\n  getResolutionPath(): Uri[];\n\n  /**\n   * Create a new resolution context using the current URI resolution path\n   *\n   * @return a UriResolutionContext\n   */\n  createSubHistoryContext(): IUriResolutionContext;\n\n  /**\n   * Create a new resolution context using the current URI resolution history\n   *\n   * @return a UriResolutionContext\n   */\n  createSubContext(): IUriResolutionContext;\n}\n```\n\n### IUriResolutionStep\n\n```ts\n/** A step in the URI resolution algorithm */\nexport interface IUriResolutionStep<TError = undefined> {\n  /** The current URI being resolved */\n  sourceUri: Uri;\n\n  /** The resolution result for the current URI */\n  result: Result<UriPackageOrWrapper, TError>;\n\n  /** A text/visual description of this URI step */\n  description?: string;\n\n  /** History of sub-steps that exist within the context of this URI resolution step */\n  subHistory?: IUriResolutionStep<TError>[];\n}\n```\n\n### IUriResolver\n\n```ts\n/** Defines entity capable of resolving a wrap URI */\nexport interface IUriResolver<TError = undefined> {\n  /**\n   * Resolve a URI to a wrap package, a wrapper, or a uri\n   *\n   * @param uri - the URI to resolve\n   * @param client - a CoreClient instance that may be used to invoke a wrapper that implements the UriResolver interface\n   * @param resolutionContext - the current URI resolution context\n   * @returns A Promise with a Result containing either a wrap package, a wrapper, or a URI if successful\n   */\n  tryResolveUri(\n    uri: Uri,\n    client: CoreClient,\n    resolutionContext: IUriResolutionContext\n  ): Promise<Result<UriPackageOrWrapper, TError>>;\n}\n```\n\n### UriPackageOrWrapper\n\n```ts\n\n/** Indicates that a URI resolved to a Uri */\nexport type UriValue = {\n  type: \"uri\";\n  uri: Uri;\n};\n\n/** Indicates that a URI resolved to a wrap package */\nexport type UriPackageValue = IUriPackage & {\n  type: \"package\";\n};\n\n/** Indicates that a URI resolved to a wrapper */\nexport type UriWrapperValue = IUriWrapper & {\n  type: \"wrapper\";\n};\n\n/** indicates that a URI resolved to either a wrap package, a wrapper, or a URI */\nexport type UriPackageOrWrapper = UriValue | UriPackageValue | UriWrapperValue;\n\n```\n\n### UriResolutionContext\n\n```ts\n/** An implementation of the IUriResolutionContext interface */\nexport class UriResolutionContext implements IUriResolutionContext {\n```\n\n#### constructor\n\n```ts\n  /** Construct a UriResolutionContext */\n  constructor();\n  constructor(\n    resolvingUriMap: Map<string, boolean>,\n    resolutionPath: Set<string>\n  );\n  constructor(\n    resolvingUriMap: Map<string, boolean>,\n    history: IUriResolutionStep<unknown>[]\n  );\n  constructor(\n    resolvingUriMap?: Map<string, boolean>,\n    resolutionPathOrHistory?: Set<string> | IUriResolutionStep<unknown>[]\n  ) \n```\n","_id":"@polywrap/core-js@0.10.0-pre.12","dist":{"shasum":"125e88439007cc13f2405d3f402b504af9dc173e","integrity":"sha512-krDcDUyUq2Xdukgkqwy5ldHF+jyecZy/L14Et8bOJ4ONpTZUdedhkVp5lRumcNjYOlybpF86B0o6kO0eUEGkpQ==","tarball":"https://registry.npmjs.org/@polywrap/core-js/-/core-js-0.10.0-pre.12.tgz","fileCount":119,"unpackedSize":121369,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA04vDex3PNxdpD9QfBdz21hlTfUghvTgITcOxqNvypAAiEAtMjGnnxifFT8wsKdan6zfxInKQcEAgDGQIeXZs7SoGU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkEAEPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoUGA//eUCzQbWJyFp8Tlm3Lqe6d1J2jZ528RnSmggAy+cSlhtiGNfE\r\n9ggh1Pm47vlBo6w+wBLC+JuGRzWgXu6pcicoHX3BnTnFfivajDrU5C8KF20M\r\n3F29dOo9sq2arnL9Xu5AzBfRbZ+Swe/TykuP2DHPnoh7zZLHcI35Sp3DEGcp\r\n+QOtD7LbLaxLPF/Br8V4RA93tL0OJJeBlFGsU07NhPxIbEfbeSPvK0QrXB81\r\nKWPx9IKQamh6OgNFS5vARbRh9uHmQif2bh4gUvqgXFXVXyQysrJRjuYP5pnO\r\n9CP/LujbljIGqElF+RmJEKJAmqK46ZDf7Gujs5Vx9XaKPgrN0h+d0jg/igM/\r\n5aNaZ2sO61es6vEWq9pFdldSHJ4jUr5IINuQcSzdbJPTP94hH1FahWLcBPxJ\r\ntH7s3wQ3D/vmBMwa7Q2bVFhiyG7FVN+bHADwnnf+/isydlHQPrKbq2EqoehJ\r\nCVo8Xnv/9JPWzhbcdy5vQ1tcoYQYCZylvRsCbyrSpG3gOnIjKO9tkQ8heNlF\r\n0S17V3IkX/6X5m/h12UaIBIRKApZv27pe3PC5ecieGGWZTWxUil6ln5RYO5L\r\nqgBUkEyAWIvmTbqLq4Wx3S8P0BSWPIHazNdR8WGMxpXB2WzPa3WOyzq+5Wep\r\nN1x0ZNmMWcNHBjtQW6ewFSlXHUJ3z6lzQLM=\r\n=8DE5\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},"directories":{},"maintainers":[{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},{"name":"dorgjelli","email":"jelli@dorg.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-js_0.10.0-pre.12_1678770447324_0.814419408192034"},"_hasShrinkwrap":false},"0.10.0-pre.13":{"name":"@polywrap/core-js","description":"Polywrap Javascript Core","version":"0.10.0-pre.13","license":"MIT","repository":{"type":"git","url":"https://github.com/polywrap/monorepo.git"},"main":"build/index.js","scripts":{"build":"yarn build:fast && yarn build:readme","build:fast":"rimraf ./build && tsc --project tsconfig.build.json","lint":"eslint --color -c ../../../.eslintrc.js src/","test":"jest --passWithNoTests --runInBand --verbose","test:ci":"jest --passWithNoTests --runInBand --verbose","test:watch":"jest --watch --passWithNoTests --verbose","build:readme:subsections":"yarn doc-snippets combine -c ./readme/config/sub-sections.json","build:readme:final":"yarn doc-snippets combine -c ./readme/config/final.json","build:readme":"yarn build:readme:subsections && yarn build:readme:final"},"dependencies":{"@polywrap/result":"0.10.0-pre.13","@polywrap/tracing-js":"0.10.0-pre.13","@polywrap/wrap-manifest-types-js":"0.10.0-pre.13"},"devDependencies":{"@types/jest":"26.0.8","@types/mustache":"4.0.1","@types/prettier":"2.6.0","doc-snippets":"~1.0.0","jest":"26.6.3","mustache":"4.0.1","rimraf":"3.0.2","ts-jest":"26.5.4","ts-node":"10.9.1","typescript":"4.9.5"},"gitHead":"7346adaf5adb7e6bbb70d9247583e995650d390a","publishConfig":{"access":"public"},"readmeFilename":"README.md","readme":"# @polywrap/core-js\n\nA TypeScript / JavaScript implementation of the WRAP standard, including all fundamental types & algorithms.\n\n# Reference\n\n## Types\n\n### CoreClient\n\n```ts\n\n/** Core Client configuration that can be passed to the PolywrapClient or PolywrapCoreClient constructors */\nexport interface CoreClientConfig {\n  /** register interface implementations */\n  readonly interfaces?: ReadonlyUriMap<readonly Uri[]>;\n\n  /** set environmental variables for a wrapper */\n  readonly envs?: ReadonlyUriMap<WrapperEnv>;\n\n  /** configure URI resolution for redirects, packages, and wrappers */\n  readonly resolver: Readonly<IUriResolver<unknown>>;\n}\n\n/** Options for CoreClient's getFile method */\nexport interface GetFileOptions {\n  /** file path from wrapper root */\n  path: string;\n\n  /** file encoding */\n  encoding?: \"utf-8\" | string;\n}\n\n/** Options for CoreClient's getImplementations method */\nexport interface GetImplementationsOptions {\n  /** If true, follow redirects to resolve URIs */\n  applyResolution?: boolean;\n\n  /** Use and update an existing resolution context */\n  resolutionContext?: IUriResolutionContext;\n}\n\n/** Options for CoreClient's validate method */\nexport interface ValidateOptions {\n  /** Validate full ABI */\n  abi?: boolean;\n\n  /** Recursively validate import URIs */\n  recursive?: boolean;\n}\n\n/** CoreClient invokes wrappers and interacts with wrap packages. */\nexport interface CoreClient extends Invoker, UriResolverHandler<unknown> {\n  /**\n   * Returns the configuration used to instantiate the client\n   *\n   * @returns an immutable core client config\n   */\n  getConfig(): CoreClientConfig;\n\n  /**\n   * returns all interfaces from the configuration used to instantiate the client\n   *\n   * @returns a Set of interfaces and their registered implementations\n   */\n  getInterfaces(): ReadonlyUriMap<readonly Uri[]> | undefined;\n\n  /**\n   * returns all env registrations from the configuration used to instantiate the client\n   *\n   * @returns an array of env objects containing wrapper environmental variables\n   */\n  getEnvs(): ReadonlyUriMap<WrapperEnv> | undefined;\n\n  /**\n   * returns an env (a set of environmental variables) from the configuration used to instantiate the client\n   *\n   * @param uri - the URI used to register the env\n   * @returns an env, or undefined if an env is not found at the given URI\n   */\n  getEnvByUri(uri: Uri): WrapperEnv | undefined;\n\n  /**\n   * returns the URI resolver from the configuration used to instantiate the client\n   *\n   * @returns an object that implements the IUriResolver interface\n   */\n  getResolver(): IUriResolver<unknown>;\n\n  /**\n   * returns a package's wrap manifest\n   *\n   * @param uri - a wrap URI\n   * @returns a Result containing the WrapManifest if the request was successful\n   */\n  getManifest(uri: Uri): Promise<Result<WrapManifest, WrapError>>;\n\n  /**\n   * returns a file contained in a wrap package\n   *\n   * @param uri - a wrap URI\n   * @param options - { path: string; encoding?: \"utf-8\" | string }\n   * @returns a Promise of a Result containing a file if the request was successful\n   */\n  getFile(\n    uri: Uri,\n    options: GetFileOptions\n  ): Promise<Result<string | Uint8Array, WrapError>>;\n\n  /**\n   * returns the interface implementations associated with an interface URI\n   *  from the configuration used to instantiate the client\n   *\n   * @param uri - a wrap URI\n   * @param options - { applyResolution?: boolean; resolutionContext?: IUriResolutionContext }\n   * @returns a Result containing URI array if the request was successful\n   */\n  getImplementations(\n    uri: Uri,\n    options: GetImplementationsOptions\n  ): Promise<Result<Uri[], WrapError>>;\n}\n\n```\n\n### Env\n\n```ts\n\n/** A map of string-indexed, Msgpack-serializable environmental variables associated with a wrapper */\nexport interface WrapperEnv {\n  readonly [k: string]: unknown;\n}\n```\n\n### Invoke\n\n```ts\n\n/** Options required for an Wrapper invocation. */\nexport interface InvokeOptions {\n  /** The Wrapper's URI */\n  uri: Uri;\n\n  /** Method to be executed. */\n  method: string;\n\n  /** Arguments for the method, structured as a map, removing the chance of incorrectly ordered arguments. */\n  args?: Record<string, unknown> | Uint8Array;\n\n  /** Env variables for the wrapper invocation. */\n  env?: Record<string, unknown>;\n\n  /** A Uri resolution context */\n  resolutionContext?: IUriResolutionContext;\n}\n\n/**\n * Result of an Wrapper invocation.\n *\n * @template TData Type of the invoke result data.\n */\nexport type InvokeResult<TData = unknown> = Result<TData, WrapError>;\n\n/**\n * Provides options for the invoker to set based on the state of the invocation.\n * Extends InvokeOptions.\n */\nexport interface InvokerOptions extends InvokeOptions {\n  /** If true, the InvokeResult will (if successful) contain a Msgpack-encoded byte array */\n  encodeResult?: boolean;\n}\n\n/**\n * An entity capable of invoking wrappers.\n *\n * @template TData Type of the invoke result data.\n */\nexport interface Invoker {\n  /**\n   * Invoke a wrapper using an instance of the wrapper.\n   *\n   * @param options - invoker options and a wrapper instance to invoke\n   * @returns A Promise with a Result containing the return value or an error\n   */\n  invokeWrapper<TData = unknown>(\n    options: InvokerOptions & { wrapper: Wrapper }\n  ): Promise<InvokeResult<TData>>;\n\n  /**\n   * Invoke a wrapper.\n   *\n   * @remarks\n   * Unlike `invokeWrapper`, this method automatically retrieves and caches the wrapper.\n   *\n   * @param options - invoker options\n   * @returns A Promise with a Result containing the return value or an error\n   */\n  invoke<TData = unknown>(\n    options: InvokerOptions\n  ): Promise<InvokeResult<TData>>;\n}\n\n/**\n * Result of a Wrapper invocation, possibly Msgpack-encoded.\n *\n * @template TData Type of the invoke result data.\n */\nexport type InvocableResult<TData = unknown> = InvokeResult<TData> & {\n  /** If true, result (if successful) contains a Msgpack-encoded byte array */\n  encoded?: boolean;\n};\n\n/** An invocable entity, such as a wrapper. */\nexport interface Invocable {\n  /**\n   * Invoke this object.\n   *\n   * @param options - invoke options\n   * @param invoker - an Invoker, capable of invoking this object\n   * @returns A Promise with a Result containing the return value or an error\n   */\n  invoke(\n    options: InvokeOptions,\n    invoker: Invoker\n  ): Promise<InvocableResult<unknown>>;\n}\n\n```\n\n### IUriPackage\n\n```ts\n\n/** Associates a URI with an embedded wrap package */\nexport interface IUriPackage {\n  /** The package's URI */\n  uri: Uri;\n\n  /** The wrap package */\n  package: IWrapPackage;\n}\n\n```\n\n### IUriRedirect\n\n```ts\n\n/** Redirect invocations from one URI to another */\nexport interface IUriRedirect {\n  /** URI to redirect from */\n  from: Uri;\n\n  /** URI to redirect to */\n  to: Uri;\n}\n\n```\n\n### IUriWrapper\n\n```ts\n\n/** Associates a URI with an embedded wrapper */\nexport interface IUriWrapper {\n  /** The URI to resolve to the wrapper */\n  uri: Uri;\n\n  /** A wrapper instance */\n  wrapper: Wrapper;\n}\n\n```\n\n### IWrapPackage\n\n```ts\n\n/** Options for IWrapPackage's getManifest method */\nexport interface GetManifestOptions {\n  /** If true, manifest validation step will be skipped */\n  noValidate?: boolean;\n}\n\n/** A wrap package, capable of producing instances of a wrapper and its manifest */\nexport interface IWrapPackage {\n  /**\n   * Produce an instance of the wrap manifest\n   *\n   * @param options - GetManifestOptions; customize manifest retrieval\n   * @returns A Promise with a Result containing the wrap manifest or an error\n   */\n  getManifest(\n    options?: GetManifestOptions\n  ): Promise<Result<WrapManifest, Error>>;\n\n  /**\n   * Produce an instance of the wrapper\n   *\n   * @param options - DeserializeManifestOptions; customize manifest deserialization\n   * @returns A Promise with a Result containing the wrapper or an error\n   */\n  createWrapper(\n    options?: DeserializeManifestOptions\n  ): Promise<Result<Wrapper, Error>>;\n}\n\n```\n\n### MaybeAsync\n\n```ts\n\n/** Alias for a type that is either a value or a promise that resolves to the value */\nexport type MaybeAsync<T> = Promise<T> | T;\n\n```\n\n### Uri\n\n#### UriConfig\n```ts\n/** URI configuration */\nexport interface UriConfig {\n  /** URI Authority: allows the Polywrap URI resolution algorithm to determine an authoritative URI resolver. */\n  authority: string;\n\n  /** URI Path: tells the Authority where the Wrapper resides. */\n  path: string;\n\n  /** Full string representation of URI */\n  uri: string;\n}\n```\n\n#### Uri\n\n```ts\n/**\n * A Polywrap URI. Some examples of valid URIs are:\n * wrap://ipfs/QmHASH\n * wrap://ens/sub.dimain.eth\n * wrap://fs/directory/file.txt\n * wrap://uns/domain.crypto\n *\n * Breaking down the various parts of the URI, as it applies\n * to [the URI standard](https://tools.ietf.org/html/rfc3986#section-3):\n * **wrap://** - URI Scheme: differentiates Polywrap URIs.\n * **ipfs/** - URI Authority: allows the Polywrap URI resolution algorithm to determine an authoritative URI resolver.\n * **sub.domain.eth** - URI Path: tells the Authority where the Wrapper resides.\n */\nexport class Uri {\n```\n\n##### constructor\n```ts\n  /**\n   * Construct a Uri instance from a wrap URI string\n   *\n   * @remarks\n   * Throws if URI string is invalid\n   *\n   * @param uri - a string representation of a wrap URI\n   */\n  constructor(uri: string) \n```\n\n##### authority\n```ts\n  /** @returns Uri authority */\n  public get authority(): string \n```\n\n##### path\n```ts\n  /** @returns Uri path */\n  public get path(): string \n```\n\n##### uri\n```ts\n  /** @returns Uri string representation */\n  public get uri(): string \n```\n\n##### equals\n```ts\n  /** Test two Uri instances for equality */\n  public static equals(a: Uri, b: Uri): boolean \n```\n\n##### isUri\n```ts\n  /**\n   * Check if a value is an instance of Uri\n   *\n   * @param value - value to check\n   * @returns true if value is a Uri instance */\n  public static isUri(value: unknown): value is Uri \n```\n\n##### isValidUri\n```ts\n  /**\n   * Test if a URI string is a valid wrap URI\n   *\n   * @param uri - URI string\n   * @param parsed? - UriConfig to update (mutate) with content of URI string\n   * @returns true if input string is a valid wrap URI */\n  public static isValidUri(uri: string, parsed?: UriConfig): boolean \n```\n\n##### toString\n```ts\n  /** @returns Uri string representation */\n  public toString(): string \n```\n\n##### toJSON\n```ts\n  /** @returns Uri string representation */\n  public toJSON(): string \n```\n\n##### parseUri\n```ts\n  /**\n   * Parse a wrap URI string into its authority and path\n   *\n   * @param uri - a string representation of a wrap URI\n   * @returns A Result containing a UriConfig, if successful, or an error\n   */\n  public static parseUri(uri: string): Result<UriConfig, Error> \n```\n\n##### from\n```ts\n  /**\n   * Construct a Uri instance from a Uri or a wrap URI string\n   *\n   * @remarks\n   * Throws if URI string is invalid\n   *\n   * @param uri - a Uri instance or a string representation of a wrap URI\n   */\n  public static from(uri: Uri | string): Uri \n```\n\n### UriResolver\n\n```ts\n\n/** Options required for URI resolution. */\nexport interface TryResolveUriOptions {\n  /** The Wrapper's URI */\n  uri: Uri;\n\n  /** A URI resolution context */\n  resolutionContext?: IUriResolutionContext;\n}\n\n/** An entity capable of resolving a wrap URI, typically by using an IUriResolver implementation */\nexport interface UriResolverHandler<TError = undefined> {\n  /**\n   * Resolve a URI to a wrap package, a wrapper, or a uri\n   *\n   * @param options - TryResolveUriOptions\n   * @returns A Promise with a Result containing either a wrap package, a wrapper, or a URI if successful\n   */\n  tryResolveUri(\n    options?: TryResolveUriOptions\n  ): Promise<Result<UriPackageOrWrapper, TError>>;\n}\n\n```\n\n### Wrapper\n\n```ts\n\n/**\n * The Wrapper definition, which can be used to spawn\n * many invocations of this particular Wrapper. Internally\n * this class may do things like caching WASM bytecode, spawning\n * worker threads, or indexing into resolvers to find the requested method.\n */\nexport interface Wrapper extends Invocable {\n  /**\n   * Invoke the Wrapper based on the provided [[InvokeOptions]]\n   *\n   * @param options Options for this invocation.\n   * @param invoker The client instance requesting this invocation.\n   * This client will be used for any sub-invokes that occur.\n   */\n  invoke(\n    options: InvokeOptions,\n    invoker: Invoker\n  ): Promise<InvocableResult<unknown>>;\n\n  /**\n   * Get a file from the Wrapper package.\n   *\n   * @param options Configuration options for file retrieval\n   */\n  getFile(options: GetFileOptions): Promise<Result<Uint8Array | string, Error>>;\n\n  /**\n   * Get a manifest from the Wrapper package.\n   */\n  getManifest(): WrapManifest;\n}\n\n```\n\n## UriResolverInterface\n\n### MaybeUriOrManifest\n```ts\n/** Contains either a Uri, a manifest, or neither */\nexport interface MaybeUriOrManifest {\n  /** wrap URI */\n  uri?: string | null;\n\n  /** Serialized wrap manifest */\n  manifest?: Uint8Array | null;\n}\n```\n\n### Module\n\n#### tryResolveUri\n```ts\n  /**\n   * Use an invoker to try to resolve a URI using a wrapper that implements the UriResolver interface\n   *\n   * @param invoker - invokes the wrapper with the resolution URI as an argument\n   * @param wrapper - URI for wrapper that implements the UriResolver interface\n   * @param uri - the URI to resolve\n   */\n  tryResolveUri: async (\n    invoker: Invoker,\n    wrapper: Uri,\n    uri: Uri\n  ): Promise<Result<MaybeUriOrManifest, WrapError>> \n```\n\n#### getFile\n```ts\n  /**\n   * Use an invoker to fetch a file using a wrapper that implements the UriResolver interface\n   *\n   * @param invoker - invokes the wrapper with the filepath as an argument\n   * @param wrapper - URI for wrapper that implements the UriResolver interface\n   * @param path - a filepath, the format of which depends on the UriResolver\n   */\n  getFile: async (\n    invoker: Invoker,\n    wrapper: Uri,\n    path: string\n  ): Promise<Result<Uint8Array | null, WrapError>> \n```\n\n## Uri Resolution\n\n### IUriResolutionContext\n\n```ts\n/** Track and output URI resolution state, path, and history */\nexport interface IUriResolutionContext {\n  /**\n   * Check if a URI is in the process of being resolved\n   *\n   * @param uri - URI to check\n   * @return true if URI resolution is in process, false otherwise\n   */\n  isResolving(uri: Uri): boolean;\n\n  /**\n   * Start resolving a URI\n   *\n   * @param uri - Uri to resolve\n   */\n  startResolving(uri: Uri): void;\n\n  /**\n   * Stop resolving a URI\n   *\n   * @param uri - Uri being resolved\n   */\n  stopResolving(uri: Uri): void;\n\n  /**\n   * Push a step onto the resolution history stack\n   *\n   * @param step - A completed resolution step\n   */\n  trackStep<TError>(step: IUriResolutionStep<TError>): void;\n\n  /** @return history of all URI resolution steps completed */\n  getHistory(): IUriResolutionStep<unknown>[];\n\n  /** @return current URI resolution path */\n  getResolutionPath(): Uri[];\n\n  /**\n   * Create a new resolution context using the current URI resolution path\n   *\n   * @return a UriResolutionContext\n   */\n  createSubHistoryContext(): IUriResolutionContext;\n\n  /**\n   * Create a new resolution context using the current URI resolution history\n   *\n   * @return a UriResolutionContext\n   */\n  createSubContext(): IUriResolutionContext;\n}\n```\n\n### IUriResolutionStep\n\n```ts\n/** A step in the URI resolution algorithm */\nexport interface IUriResolutionStep<TError = undefined> {\n  /** The current URI being resolved */\n  sourceUri: Uri;\n\n  /** The resolution result for the current URI */\n  result: Result<UriPackageOrWrapper, TError>;\n\n  /** A text/visual description of this URI step */\n  description?: string;\n\n  /** History of sub-steps that exist within the context of this URI resolution step */\n  subHistory?: IUriResolutionStep<TError>[];\n}\n```\n\n### IUriResolver\n\n```ts\n/** Defines entity capable of resolving a wrap URI */\nexport interface IUriResolver<TError = undefined> {\n  /**\n   * Resolve a URI to a wrap package, a wrapper, or a uri\n   *\n   * @param uri - the URI to resolve\n   * @param client - a CoreClient instance that may be used to invoke a wrapper that implements the UriResolver interface\n   * @param resolutionContext - the current URI resolution context\n   * @returns A Promise with a Result containing either a wrap package, a wrapper, or a URI if successful\n   */\n  tryResolveUri(\n    uri: Uri,\n    client: CoreClient,\n    resolutionContext: IUriResolutionContext\n  ): Promise<Result<UriPackageOrWrapper, TError>>;\n}\n```\n\n### UriPackageOrWrapper\n\n```ts\n\n/** Indicates that a URI resolved to a Uri */\nexport type UriValue = {\n  type: \"uri\";\n  uri: Uri;\n};\n\n/** Indicates that a URI resolved to a wrap package */\nexport type UriPackageValue = IUriPackage & {\n  type: \"package\";\n};\n\n/** Indicates that a URI resolved to a wrapper */\nexport type UriWrapperValue = IUriWrapper & {\n  type: \"wrapper\";\n};\n\n/** indicates that a URI resolved to either a wrap package, a wrapper, or a URI */\nexport type UriPackageOrWrapper = UriValue | UriPackageValue | UriWrapperValue;\n\n```\n\n### UriResolutionContext\n\n```ts\n/** An implementation of the IUriResolutionContext interface */\nexport class UriResolutionContext implements IUriResolutionContext {\n```\n\n#### constructor\n\n```ts\n  /** Construct a UriResolutionContext */\n  constructor();\n  constructor(\n    resolvingUriMap: Map<string, boolean>,\n    resolutionPath: Set<string>\n  );\n  constructor(\n    resolvingUriMap: Map<string, boolean>,\n    history: IUriResolutionStep<unknown>[]\n  );\n  constructor(\n    resolvingUriMap?: Map<string, boolean>,\n    resolutionPathOrHistory?: Set<string> | IUriResolutionStep<unknown>[]\n  ) \n```\n","_id":"@polywrap/core-js@0.10.0-pre.13","dist":{"shasum":"03361e16c65e71cc28c6e03c38e5b9c6386661a3","integrity":"sha512-fsf0OmJ5CEoO/LVafhfRCBVUpWJXy8LY4tCDET4JfaOuybZckpRA2V9pJpRDYJNW8hefX4WKCT80mW9JE/Vtqg==","tarball":"https://registry.npmjs.org/@polywrap/core-js/-/core-js-0.10.0-pre.13.tgz","fileCount":119,"unpackedSize":129940,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCOU07Xp+oYnT4+66zfBBrfFm+g/KaTun0WcDUF+Y+KdQIgbzHGDD6a7+LHEm7KsQPpw924UmtwO3+I6ahRtm8NOsM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkFRIUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqm5Q/9HQp6dYBExrt8CHJo7m4Lo6+mdgEhG7wg0iDxDvT284fEXSqe\r\nJ17mSKlZidaZSp8QHGLIid1cNHmRsNo/FE3BhFGnxWhbrUaCeAvV2Fa/uX1G\r\nuCA3RN0I4myYZFI3j2h/ZcSeQJSO1vdbP5Hm30MnG83Vwpk2UEGyBWsfR00J\r\nx3+/Jo8wHmRZFFTdZ1qlNeClr++FEmGjyL5/54zvBCAxAQFgjVV99el7tyn4\r\no/VPypTr4nkSiEF+U+whcvwTKiRS67k62JUI3T3/+Bdj5qj4fhbueRCRtNf9\r\nnsU3kwM/1FwXwEb60y78EQVyI4d7/dFKKwTxvyc0YgbavigjrsytOXYH/p1D\r\nmjMZSVd9dF7oISowiUuki+86bJbzSMdTEOpnKJXDty4eQ0TDQfxgkFbUotZr\r\nSNRfbowUWsQY+37Rv3bz8pOrYMv1R47ZcxjcReXDcuEfP/Yfb+v9h9Tf7RJI\r\nEzP9uyQVgERARBvyrsMEHCQ2kprK7N78CnxNatPKREf5hXd+7vBMSz3KfdPB\r\nNfxnMOtmwr+lEPzDR+BCF4VN47+Vvw8P0m6hHuuWVEob1wgLI9izfjiInGDc\r\nzgOWggwkrEtBVZVPYJrDSkN218fRPvyWCR+oMvUyKGum69A7jNb4veT5OEcO\r\n6yovepQgmkoLR/mAGe8CLmajoM/oJo8peDM=\r\n=rFgI\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},"directories":{},"maintainers":[{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},{"name":"dorgjelli","email":"jelli@dorg.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-js_0.10.0-pre.13_1679102484368_0.7870218571851848"},"_hasShrinkwrap":false},"0.9.7":{"name":"@polywrap/core-js","description":"Polywrap Javascript Core","version":"0.9.7","license":"MIT","repository":{"type":"git","url":"https://github.com/polywrap/monorepo.git"},"main":"build/index.js","scripts":{"build":"rimraf ./build && tsc --project tsconfig.build.json","lint":"eslint --color -c ../../../.eslintrc.js src/","test":"jest --passWithNoTests --runInBand --verbose","test:ci":"jest --passWithNoTests --runInBand --verbose","test:watch":"jest --watch --passWithNoTests --verbose"},"dependencies":{"@polywrap/asyncify-js":"0.9.7","@polywrap/msgpack-js":"0.9.7","@polywrap/result":"0.9.7","@polywrap/tracing-js":"0.9.7","@polywrap/wrap-manifest-types-js":"0.9.7","graphql":"15.5.0","graphql-tag":"2.10.4","jsonschema":"1.4.0","semver":"7.3.5","yaml":"2.1.3"},"devDependencies":{"@polywrap/os-js":"0.9.7","@types/jest":"26.0.8","@types/mustache":"4.0.1","@types/prettier":"2.6.0","@types/semver":"7.3.8","jest":"26.6.3","mustache":"4.0.1","rimraf":"3.0.2","ts-jest":"26.5.4","ts-node":"8.10.2","typescript":"4.1.6"},"gitHead":"7346adaf5adb7e6bbb70d9247583e995650d390a","publishConfig":{"access":"public"},"_id":"@polywrap/core-js@0.9.7","dist":{"shasum":"d355a434d16a624657d646f471eb1a473405f33b","integrity":"sha512-OAMAwV7SHQrJIBQ/gF3C0j6bSmqdARnC5CCyvgBIeu4ncnN4l6v+rRvRwhpvGw4EYfnMkvG9tIvsK6SgEqeF4w==","tarball":"https://registry.npmjs.org/@polywrap/core-js/-/core-js-0.9.7.tgz","fileCount":146,"unpackedSize":143297,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD3+MoBza0hYKNdT4YT4m+kcKnkuWi5LmvyPucU33jtlgIgTQI3ZjK9MMv2KfZl/r0l3KXehIVXGo1ad63JJ0Y7TRQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkI2OwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqqbA/+KAAFVpnC0oYs1t/7RRCbPD0M6MTajLEom93+4nfyCe5zT47K\r\nacHKH0AXqWTehFSDteW0P3SjLhKkf37HGolcb64vaoPrPJdvWlmEPsPn+MdP\r\nimrWH3ZBQKhLYbuk9X3XakK4TNY5R6Lko/xzBQssopFebQRuQRZ0Kqj+xYme\r\nwEDLdtxaxNqktXS5kmSbJKtq3a9c56/f41MHgQHnT6EjwGGaMIRdOAn0Jarp\r\nUsEr++oI6B7nQZktrH1eF647WrceXY6QmK6rrH4Meg5H8CWV+LwaBV6P1WlG\r\nKK6bjdhH/sMnP/ozZRQfzjezoIlxNSSiBlQEt/7VjVCK9XSTBcRBcotaHYjk\r\nYUQblamn6JSjcJw//hFPTWiWiYHxRhK0MptiR+90br8fPoYMvDC03K7jwaU2\r\nOhrXmBqXrBvqkCgImzG9ckFHAT3KOqaSxYWdRQ6iAqwmwY6xKVS5r0VDKTTf\r\nDcPk9406wecTDCMMutvjgrn7KylNDHpsMvJmVUipy+GuR98ut2uwOQYnbI5K\r\nuO/YjqIF9MR2FSjVtA3L8YcZhNmFo/l5ejTDI0N0h4E4ADzPwgwrttVbOv+C\r\nJ1GgXUzal9cVjv7mDb9Yt5u6xZO9dieZvq4mVgtdjwUFWHbb+LtYHqmWYEGW\r\n51h/1u6Tl04IjYNbGkMIm53TdLDWJ9UL/zM=\r\n=H7t1\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},"directories":{},"maintainers":[{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},{"name":"dorgjelli","email":"jelli@dorg.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-js_0.9.7_1680040880333_0.4330051032525135"},"_hasShrinkwrap":false},"0.10.0-pre.14":{"name":"@polywrap/core-js","description":"Polywrap Javascript Core","version":"0.10.0-pre.14","license":"MIT","repository":{"type":"git","url":"https://github.com/polywrap/monorepo.git"},"main":"build/index.js","scripts":{"build":"yarn build:fast","build:docs":"yarn build:readme","build:fast":"rimraf ./build && tsc --project tsconfig.build.json","lint":"eslint --color -c ../../../.eslintrc.js src/","test":"jest --passWithNoTests --runInBand --verbose","test:watch":"yarn test -- --watch","build:readme:subsections":"yarn doc-snippets combine -c ./readme/config/sub-sections.json","build:readme:final":"yarn doc-snippets combine -c ./readme/config/final.json","build:readme":"yarn build:readme:subsections && yarn build:readme:final"},"dependencies":{"@polywrap/result":"0.10.0-pre.14","@polywrap/tracing-js":"0.10.0-pre.14","@polywrap/wrap-manifest-types-js":"0.10.0-pre.14"},"devDependencies":{"@types/jest":"26.0.8","@types/mustache":"4.0.1","@types/prettier":"2.6.0","doc-snippets":"~1.0.0","jest":"26.6.3","mustache":"4.0.1","rimraf":"3.0.2","ts-jest":"26.5.4","ts-node":"10.9.1","typescript":"4.9.5"},"gitHead":"7346adaf5adb7e6bbb70d9247583e995650d390a","publishConfig":{"access":"public"},"readmeFilename":"README.md","readme":"# @polywrap/core-js\n\nA TypeScript / JavaScript implementation of the WRAP standard, including all fundamental types & algorithms.\n\n# Reference\n\n## Types\n\n### CoreClient\n\n```ts\n\n/** Core Client configuration that can be passed to the PolywrapClient or PolywrapCoreClient constructors */\nexport interface CoreClientConfig {\n  /** register interface implementations */\n  readonly interfaces?: ReadonlyUriMap<readonly Uri[]>;\n\n  /** set environmental variables for a wrapper */\n  readonly envs?: ReadonlyUriMap<WrapperEnv>;\n\n  /** configure URI resolution for redirects, packages, and wrappers */\n  readonly resolver: Readonly<IUriResolver<unknown>>;\n}\n\n/** Options for CoreClient's getFile method */\nexport interface GetFileOptions {\n  /** file path from wrapper root */\n  path: string;\n\n  /** file encoding */\n  encoding?: \"utf-8\" | string;\n}\n\n/** Options for CoreClient's getImplementations method */\nexport interface GetImplementationsOptions {\n  /** If true, follow redirects to resolve URIs */\n  applyResolution?: boolean;\n\n  /** Use and update an existing resolution context */\n  resolutionContext?: IUriResolutionContext;\n}\n\n/** Options for CoreClient's validate method */\nexport interface ValidateOptions {\n  /** Validate full ABI */\n  abi?: boolean;\n\n  /** Recursively validate import URIs */\n  recursive?: boolean;\n}\n\n/** CoreClient invokes wrappers and interacts with wrap packages. */\nexport interface CoreClient extends Invoker, UriResolverHandler<unknown> {\n  /**\n   * Returns the configuration used to instantiate the client\n   *\n   * @returns an immutable core client config\n   */\n  getConfig(): CoreClientConfig;\n\n  /**\n   * returns all interfaces from the configuration used to instantiate the client\n   *\n   * @returns a Set of interfaces and their registered implementations\n   */\n  getInterfaces(): ReadonlyUriMap<readonly Uri[]> | undefined;\n\n  /**\n   * returns all env registrations from the configuration used to instantiate the client\n   *\n   * @returns an array of env objects containing wrapper environmental variables\n   */\n  getEnvs(): ReadonlyUriMap<WrapperEnv> | undefined;\n\n  /**\n   * returns an env (a set of environmental variables) from the configuration used to instantiate the client\n   *\n   * @param uri - the URI used to register the env\n   * @returns an env, or undefined if an env is not found at the given URI\n   */\n  getEnvByUri(uri: Uri): WrapperEnv | undefined;\n\n  /**\n   * returns the URI resolver from the configuration used to instantiate the client\n   *\n   * @returns an object that implements the IUriResolver interface\n   */\n  getResolver(): IUriResolver<unknown>;\n\n  /**\n   * returns a package's wrap manifest\n   *\n   * @param uri - a wrap URI\n   * @returns a Result containing the WrapManifest if the request was successful\n   */\n  getManifest(uri: Uri): Promise<Result<WrapManifest, WrapError>>;\n\n  /**\n   * returns a file contained in a wrap package\n   *\n   * @param uri - a wrap URI\n   * @param options - { path: string; encoding?: \"utf-8\" | string }\n   * @returns a Promise of a Result containing a file if the request was successful\n   */\n  getFile(\n    uri: Uri,\n    options: GetFileOptions\n  ): Promise<Result<string | Uint8Array, WrapError>>;\n\n  /**\n   * returns the interface implementations associated with an interface URI\n   *  from the configuration used to instantiate the client\n   *\n   * @param uri - a wrap URI\n   * @param options - { applyResolution?: boolean; resolutionContext?: IUriResolutionContext }\n   * @returns a Result containing URI array if the request was successful\n   */\n  getImplementations(\n    uri: Uri,\n    options: GetImplementationsOptions\n  ): Promise<Result<Uri[], WrapError>>;\n}\n\n```\n\n### Env\n\n```ts\n\n/** A map of string-indexed, Msgpack-serializable environmental variables associated with a wrapper */\nexport interface WrapperEnv {\n  readonly [k: string]: unknown;\n}\n```\n\n### Invoke\n\n```ts\n\n/** Options required for an Wrapper invocation. */\nexport interface InvokeOptions {\n  /** The Wrapper's URI */\n  uri: Uri;\n\n  /** Method to be executed. */\n  method: string;\n\n  /** Arguments for the method, structured as a map, removing the chance of incorrectly ordered arguments. */\n  args?: Record<string, unknown> | Uint8Array;\n\n  /** Env variables for the wrapper invocation. */\n  env?: Record<string, unknown>;\n\n  /** A Uri resolution context */\n  resolutionContext?: IUriResolutionContext;\n}\n\n/**\n * Result of an Wrapper invocation.\n *\n * @template TData Type of the invoke result data.\n */\nexport type InvokeResult<TData = unknown> = Result<TData, WrapError>;\n\n/**\n * Provides options for the invoker to set based on the state of the invocation.\n * Extends InvokeOptions.\n */\nexport interface InvokerOptions extends InvokeOptions {\n  /** If true, the InvokeResult will (if successful) contain a Msgpack-encoded byte array */\n  encodeResult?: boolean;\n}\n\n/**\n * An entity capable of invoking wrappers.\n *\n * @template TData Type of the invoke result data.\n */\nexport interface Invoker {\n  /**\n   * Invoke a wrapper using an instance of the wrapper.\n   *\n   * @param options - invoker options and a wrapper instance to invoke\n   * @returns A Promise with a Result containing the return value or an error\n   */\n  invokeWrapper<TData = unknown>(\n    options: InvokerOptions & { wrapper: Wrapper }\n  ): Promise<InvokeResult<TData>>;\n\n  /**\n   * Invoke a wrapper.\n   *\n   * @remarks\n   * Unlike `invokeWrapper`, this method automatically retrieves and caches the wrapper.\n   *\n   * @param options - invoker options\n   * @returns A Promise with a Result containing the return value or an error\n   */\n  invoke<TData = unknown>(\n    options: InvokerOptions\n  ): Promise<InvokeResult<TData>>;\n}\n\n/**\n * Result of a Wrapper invocation, possibly Msgpack-encoded.\n *\n * @template TData Type of the invoke result data.\n */\nexport type InvocableResult<TData = unknown> = InvokeResult<TData> & {\n  /** If true, result (if successful) contains a Msgpack-encoded byte array */\n  encoded?: boolean;\n};\n\n/** An invocable entity, such as a wrapper. */\nexport interface Invocable {\n  /**\n   * Invoke this object.\n   *\n   * @param options - invoke options\n   * @param invoker - an Invoker, capable of invoking this object\n   * @returns A Promise with a Result containing the return value or an error\n   */\n  invoke(\n    options: InvokeOptions,\n    invoker: Invoker\n  ): Promise<InvocableResult<unknown>>;\n}\n\n```\n\n### IUriPackage\n\n```ts\n\n/** Associates a URI with an embedded wrap package */\nexport interface IUriPackage {\n  /** The package's URI */\n  uri: Uri;\n\n  /** The wrap package */\n  package: IWrapPackage;\n}\n\n```\n\n### IUriRedirect\n\n```ts\n\n/** Redirect invocations from one URI to another */\nexport interface IUriRedirect {\n  /** URI to redirect from */\n  from: Uri;\n\n  /** URI to redirect to */\n  to: Uri;\n}\n\n```\n\n### IUriWrapper\n\n```ts\n\n/** Associates a URI with an embedded wrapper */\nexport interface IUriWrapper {\n  /** The URI to resolve to the wrapper */\n  uri: Uri;\n\n  /** A wrapper instance */\n  wrapper: Wrapper;\n}\n\n```\n\n### IWrapPackage\n\n```ts\n\n/** Options for IWrapPackage's getManifest method */\nexport interface GetManifestOptions {\n  /** If true, manifest validation step will be skipped */\n  noValidate?: boolean;\n}\n\n/** A wrap package, capable of producing instances of a wrapper and its manifest */\nexport interface IWrapPackage {\n  /**\n   * Produce an instance of the wrap manifest\n   *\n   * @param options - GetManifestOptions; customize manifest retrieval\n   * @returns A Promise with a Result containing the wrap manifest or an error\n   */\n  getManifest(\n    options?: GetManifestOptions\n  ): Promise<Result<WrapManifest, Error>>;\n\n  /**\n   * Produce an instance of the wrapper\n   *\n   * @param options - DeserializeManifestOptions; customize manifest deserialization\n   * @returns A Promise with a Result containing the wrapper or an error\n   */\n  createWrapper(\n    options?: DeserializeManifestOptions\n  ): Promise<Result<Wrapper, Error>>;\n}\n\n```\n\n### MaybeAsync\n\n```ts\n\n/** Alias for a type that is either a value or a promise that resolves to the value */\nexport type MaybeAsync<T> = Promise<T> | T;\n\n```\n\n### Uri\n\n#### UriConfig\n```ts\n/** URI configuration */\nexport interface UriConfig {\n  /** URI Authority: allows the Polywrap URI resolution algorithm to determine an authoritative URI resolver. */\n  authority: string;\n\n  /** URI Path: tells the Authority where the Wrapper resides. */\n  path: string;\n\n  /** Full string representation of URI */\n  uri: string;\n}\n```\n\n#### Uri\n\n```ts\n/**\n * A Polywrap URI. Some examples of valid URIs are:\n * wrap://ipfs/QmHASH\n * wrap://ens/sub.dimain.eth\n * wrap://fs/directory/file.txt\n * wrap://uns/domain.crypto\n *\n * Breaking down the various parts of the URI, as it applies\n * to [the URI standard](https://tools.ietf.org/html/rfc3986#section-3):\n * **wrap://** - URI Scheme: differentiates Polywrap URIs.\n * **ipfs/** - URI Authority: allows the Polywrap URI resolution algorithm to determine an authoritative URI resolver.\n * **sub.domain.eth** - URI Path: tells the Authority where the Wrapper resides.\n */\nexport class Uri {\n```\n\n##### constructor\n```ts\n  /**\n   * Construct a Uri instance from a wrap URI string\n   *\n   * @remarks\n   * Throws if URI string is invalid\n   *\n   * @param uri - a string representation of a wrap URI\n   */\n  constructor(uri: string) \n```\n\n##### authority\n```ts\n  /** @returns Uri authority */\n  public get authority(): string \n```\n\n##### path\n```ts\n  /** @returns Uri path */\n  public get path(): string \n```\n\n##### uri\n```ts\n  /** @returns Uri string representation */\n  public get uri(): string \n```\n\n##### equals\n```ts\n  /** Test two Uri instances for equality */\n  public static equals(a: Uri, b: Uri): boolean \n```\n\n##### isUri\n```ts\n  /**\n   * Check if a value is an instance of Uri\n   *\n   * @param value - value to check\n   * @returns true if value is a Uri instance */\n  public static isUri(value: unknown): value is Uri \n```\n\n##### isValidUri\n```ts\n  /**\n   * Test if a URI string is a valid wrap URI\n   *\n   * @param uri - URI string\n   * @param parsed? - UriConfig to update (mutate) with content of URI string\n   * @returns true if input string is a valid wrap URI */\n  public static isValidUri(uri: string, parsed?: UriConfig): boolean \n```\n\n##### toString\n```ts\n  /** @returns Uri string representation */\n  public toString(): string \n```\n\n##### toJSON\n```ts\n  /** @returns Uri string representation */\n  public toJSON(): string \n```\n\n##### parseUri\n```ts\n  /**\n   * Parse a wrap URI string into its authority and path\n   *\n   * @param uri - a string representation of a wrap URI\n   * @returns A Result containing a UriConfig, if successful, or an error\n   */\n  public static parseUri(uri: string): Result<UriConfig, Error> \n```\n\n##### from\n```ts\n  /**\n   * Construct a Uri instance from a Uri or a wrap URI string\n   *\n   * @remarks\n   * Throws if URI string is invalid\n   *\n   * @param uri - a Uri instance or a string representation of a wrap URI\n   */\n  public static from(uri: Uri | string): Uri \n```\n\n### UriResolver\n\n```ts\n\n/** Options required for URI resolution. */\nexport interface TryResolveUriOptions {\n  /** The Wrapper's URI */\n  uri: Uri;\n\n  /** A URI resolution context */\n  resolutionContext?: IUriResolutionContext;\n}\n\n/** An entity capable of resolving a wrap URI, typically by using an IUriResolver implementation */\nexport interface UriResolverHandler<TError = undefined> {\n  /**\n   * Resolve a URI to a wrap package, a wrapper, or a uri\n   *\n   * @param options - TryResolveUriOptions\n   * @returns A Promise with a Result containing either a wrap package, a wrapper, or a URI if successful\n   */\n  tryResolveUri(\n    options?: TryResolveUriOptions\n  ): Promise<Result<UriPackageOrWrapper, TError>>;\n}\n\n```\n\n### Wrapper\n\n```ts\n\n/**\n * The Wrapper definition, which can be used to spawn\n * many invocations of this particular Wrapper. Internally\n * this class may do things like caching WASM bytecode, spawning\n * worker threads, or indexing into resolvers to find the requested method.\n */\nexport interface Wrapper extends Invocable {\n  /**\n   * Invoke the Wrapper based on the provided [[InvokeOptions]]\n   *\n   * @param options Options for this invocation.\n   * @param invoker The client instance requesting this invocation.\n   * This client will be used for any sub-invokes that occur.\n   */\n  invoke(\n    options: InvokeOptions,\n    invoker: Invoker\n  ): Promise<InvocableResult<unknown>>;\n\n  /**\n   * Get a file from the Wrapper package.\n   *\n   * @param options Configuration options for file retrieval\n   */\n  getFile(options: GetFileOptions): Promise<Result<Uint8Array | string, Error>>;\n\n  /**\n   * Get a manifest from the Wrapper package.\n   */\n  getManifest(): WrapManifest;\n}\n\n```\n\n## UriResolverInterface\n\n### MaybeUriOrManifest\n```ts\n/** Contains either a Uri, a manifest, or neither */\nexport interface MaybeUriOrManifest {\n  /** wrap URI */\n  uri?: string | null;\n\n  /** Serialized wrap manifest */\n  manifest?: Uint8Array | null;\n}\n```\n\n### Module\n\n#### tryResolveUri\n```ts\n  /**\n   * Use an invoker to try to resolve a URI using a wrapper that implements the UriResolver interface\n   *\n   * @param invoker - invokes the wrapper with the resolution URI as an argument\n   * @param wrapper - URI for wrapper that implements the UriResolver interface\n   * @param uri - the URI to resolve\n   */\n  tryResolveUri: async (\n    invoker: Invoker,\n    wrapper: Uri,\n    uri: Uri\n  ): Promise<Result<MaybeUriOrManifest, WrapError>> \n```\n\n#### getFile\n```ts\n  /**\n   * Use an invoker to fetch a file using a wrapper that implements the UriResolver interface\n   *\n   * @param invoker - invokes the wrapper with the filepath as an argument\n   * @param wrapper - URI for wrapper that implements the UriResolver interface\n   * @param path - a filepath, the format of which depends on the UriResolver\n   */\n  getFile: async (\n    invoker: Invoker,\n    wrapper: Uri,\n    path: string\n  ): Promise<Result<Uint8Array | null, WrapError>> \n```\n\n## Uri Resolution\n\n### IUriResolutionContext\n\n```ts\n/** Track and output URI resolution state, path, and history */\nexport interface IUriResolutionContext {\n  /**\n   * Check if a URI is in the process of being resolved\n   *\n   * @param uri - URI to check\n   * @return true if URI resolution is in process, false otherwise\n   */\n  isResolving(uri: Uri): boolean;\n\n  /**\n   * Start resolving a URI\n   *\n   * @param uri - Uri to resolve\n   */\n  startResolving(uri: Uri): void;\n\n  /**\n   * Stop resolving a URI\n   *\n   * @param uri - Uri being resolved\n   */\n  stopResolving(uri: Uri): void;\n\n  /**\n   * Push a step onto the resolution history stack\n   *\n   * @param step - A completed resolution step\n   */\n  trackStep<TError>(step: IUriResolutionStep<TError>): void;\n\n  /** @return history of all URI resolution steps completed */\n  getHistory(): IUriResolutionStep<unknown>[];\n\n  /** @return current URI resolution path */\n  getResolutionPath(): Uri[];\n\n  /**\n   * Create a new resolution context using the current URI resolution path\n   *\n   * @return a UriResolutionContext\n   */\n  createSubHistoryContext(): IUriResolutionContext;\n\n  /**\n   * Create a new resolution context using the current URI resolution history\n   *\n   * @return a UriResolutionContext\n   */\n  createSubContext(): IUriResolutionContext;\n}\n```\n\n### IUriResolutionStep\n\n```ts\n/** A step in the URI resolution algorithm */\nexport interface IUriResolutionStep<TError = undefined> {\n  /** The current URI being resolved */\n  sourceUri: Uri;\n\n  /** The resolution result for the current URI */\n  result: Result<UriPackageOrWrapper, TError>;\n\n  /** A text/visual description of this URI step */\n  description?: string;\n\n  /** History of sub-steps that exist within the context of this URI resolution step */\n  subHistory?: IUriResolutionStep<TError>[];\n}\n```\n\n### IUriResolver\n\n```ts\n/** Defines entity capable of resolving a wrap URI */\nexport interface IUriResolver<TError = undefined> {\n  /**\n   * Resolve a URI to a wrap package, a wrapper, or a uri\n   *\n   * @param uri - the URI to resolve\n   * @param client - a CoreClient instance that may be used to invoke a wrapper that implements the UriResolver interface\n   * @param resolutionContext - the current URI resolution context\n   * @returns A Promise with a Result containing either a wrap package, a wrapper, or a URI if successful\n   */\n  tryResolveUri(\n    uri: Uri,\n    client: CoreClient,\n    resolutionContext: IUriResolutionContext\n  ): Promise<Result<UriPackageOrWrapper, TError>>;\n}\n```\n\n### UriPackageOrWrapper\n\n```ts\n\n/** Indicates that a URI resolved to a Uri */\nexport type UriValue = {\n  type: \"uri\";\n  uri: Uri;\n};\n\n/** Indicates that a URI resolved to a wrap package */\nexport type UriPackageValue = IUriPackage & {\n  type: \"package\";\n};\n\n/** Indicates that a URI resolved to a wrapper */\nexport type UriWrapperValue = IUriWrapper & {\n  type: \"wrapper\";\n};\n\n/** indicates that a URI resolved to either a wrap package, a wrapper, or a URI */\nexport type UriPackageOrWrapper = UriValue | UriPackageValue | UriWrapperValue;\n\n```\n\n### UriResolutionContext\n\n```ts\n/** An implementation of the IUriResolutionContext interface */\nexport class UriResolutionContext implements IUriResolutionContext {\n```\n\n#### constructor\n\n```ts\n  /** Construct a UriResolutionContext */\n  constructor();\n  constructor(\n    resolvingUriMap: Map<string, boolean>,\n    resolutionPath: Set<string>\n  );\n  constructor(\n    resolvingUriMap: Map<string, boolean>,\n    history: IUriResolutionStep<unknown>[]\n  );\n  constructor(\n    resolvingUriMap?: Map<string, boolean>,\n    resolutionPathOrHistory?: Set<string> | IUriResolutionStep<unknown>[]\n  ) \n```\n","_id":"@polywrap/core-js@0.10.0-pre.14","dist":{"shasum":"723dbc70bc56589bff9294d39ebd383069209c77","integrity":"sha512-tYszAq9CJjWk7O1neVLK5zEwEpsDcsgTSXquEpewVlNRjIRYEGmZKtzB+GQDpPtcv9sGTATi1cYgVUrmKJV+JQ==","tarball":"https://registry.npmjs.org/@polywrap/core-js/-/core-js-0.10.0-pre.14.tgz","fileCount":119,"unpackedSize":129875,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDMNC0YYTodOUyEFH3aIr7hVL4LMLnYbnYwiN3/380+6AIhAPHpWbAvI1Mu63uPU61oIwxG3Sz/+Fih8Tl4S0cZ63+v"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkN37QACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoUbA//ZL9/gc1nFAjnQnVLiWt8es9Ceca7YZ5otPZ8ycp/AQ/JH6XM\r\nvrA3fnZLjDIB9zqoaghTQjHOn09elFmhnm58a6JlLr2MbwUF+GB79myga+/m\r\nFcyDmxCSh9d5coesdARNf5nMCYxfzEd1kykYJH8tHxdKHekCZ5YHQl5Qf9mC\r\nzBU/kjRVwBdO5X8B80TwYZhdrvRvgYrYKEb31fFrUX4sLkFWyOBxI5LuAe1O\r\nqrxulJKcuV805Rphrz/S1Sd4jnDRr7+Gwz98LRcQVr9ofmCMcxDSiABW3veM\r\nTBG50T22YUgib1px/LWWnB5i1DBQ2Wt2b3SRkQtunOcL9Iw0PtclwCE6peaH\r\n7S27MR3f2t5RcEMnrHyM2FYIyLOLzNqMjWh9dgymU+PU40eXOUZRZ939FG+9\r\nuNPX7l/VQbITWpS894KgRNtR9FlQ+rfWbswk7ZSQewwKMzVstK+nw2h/CKZA\r\nLCWZa3BDIXD46PWNeNsxDmlmYmaDoOoqyVNTyNQcV/fYp5/+jgm8kmkK5I0e\r\n74KrhdayE9uuWZptHVqg1FPbnBJU/eHXUb06aPx2G4IYjZnUcpk+TperudhL\r\nOHJPhjMUjqMDK6xzqlt/wH74kJafE2bj6JsaGwL4krzDR9lC9qoMewMJluWu\r\n6sKqoTHeF1Sj8aje5xkOdthCivW1fK2hrFg=\r\n=xQ57\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},"directories":{},"maintainers":[{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},{"name":"dorgjelli","email":"jelli@dorg.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-js_0.10.0-pre.14_1681358544565_0.7413382445682934"},"_hasShrinkwrap":false},"0.10.0":{"name":"@polywrap/core-js","description":"Polywrap Javascript Core","version":"0.10.0","license":"MIT","repository":{"type":"git","url":"https://github.com/polywrap/monorepo.git"},"main":"build/index.js","scripts":{"build":"yarn build:fast","build:docs":"yarn build:readme","build:fast":"rimraf ./build && tsc --project tsconfig.build.json","lint":"eslint --color -c ../../../.eslintrc.js src/","test":"jest --passWithNoTests --runInBand --verbose","test:watch":"yarn test -- --watch","build:readme:subsections":"yarn doc-snippets combine -c ./readme/config/sub-sections.json","build:readme:final":"yarn doc-snippets combine -c ./readme/config/final.json","build:readme":"yarn build:readme:subsections && yarn build:readme:final"},"dependencies":{"@polywrap/result":"0.10.0","@polywrap/tracing-js":"0.10.0","@polywrap/wrap-manifest-types-js":"0.10.0"},"devDependencies":{"@types/jest":"26.0.8","@types/mustache":"4.0.1","@types/prettier":"2.6.0","doc-snippets":"~1.0.0","jest":"26.6.3","mustache":"4.0.1","rimraf":"3.0.2","ts-jest":"26.5.4","ts-node":"10.9.1","typescript":"4.9.5"},"gitHead":"7346adaf5adb7e6bbb70d9247583e995650d390a","publishConfig":{"access":"public"},"_id":"@polywrap/core-js@0.10.0","dist":{"shasum":"5ddc31ff47019342659a2208eec05299b072b216","integrity":"sha512-fx9LqRFnxAxLOhDK4M+ymrxMnXQbwuNPMLjCk5Ve5CPa9RFms0/Fzvj5ayMLidZSPSt/dLISkbDgW44vfv6wwA==","tarball":"https://registry.npmjs.org/@polywrap/core-js/-/core-js-0.10.0.tgz","fileCount":122,"unpackedSize":133475,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDrass8bks8mwkyl/QDgSCQePEgi0pqWjR/7tdZWHAyggIgU0R5eZHzWEE2u+XPJ0axFSu7TBJGJNCS6B0L9GotsyM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkOOFkACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpB/w/+MElDa45l+JSO3l16f4IO4SWYWgf2GPr04bMW6gvmetsmbPNR\r\nij+Rj546As5TtAGqRVo/cFsl6h1d8YIESnAh8DPJeyE+QJ5YLeRcBm7ryi4A\r\n0qlsE3CW2kiH8Yg/SsgofMQ5ds3RpCAPSMZ7/a0VZ9uEQSf7qL3VRsIaR4FA\r\n6mdMPMkckzEHr98sU7tqe4zK8PhG8rK4xTZY244pAyxPZAD7uwhi7j1tSHOZ\r\n2SvfsDuyS4Uunho3oPkT+pn+rDbS2NG9vffDrBXUwc9X6POtUc20gyZlDlUT\r\nLovXXhhR4nyzAQ2YOl3QwWdR8zTCwpaG9hHzYb4Z/F/mtnQav6IpF4kf/8RC\r\n9IbL/3Eg5fjcT/ZuHRb6pgetwut+ljxDavCkWzodoSHqB/DhtVHmmxjERtYN\r\nXisYBCORr44bITXbpNGqATEMdhykb4EpkUHJQ2Nw7zQTpjS35iSP/+pIAEVH\r\n4wA28OHh1fU+jix17gdp8dmqtJ67VCApxVXXWZt2thIVbpRTITnFKRgb2wq8\r\njgCpO4EryvABDnmP8IiGywIFnUB2hpbI3LuY4O+HjReRAC3OG2d7dkPgETpp\r\nTdh6jxCWzAjnv45LSrd/s4szAj59pgGhPF2OaAOC0njv+5cVmLqfA0pQKnOv\r\n23h1Jj5lgrQtNO4p9nl97PBoN4RbMisTk7o=\r\n=ZxUY\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},"directories":{},"maintainers":[{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},{"name":"dorgjelli","email":"jelli@dorg.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-js_0.10.0_1681449315801_0.1520416662710793"},"_hasShrinkwrap":false},"0.10.1":{"name":"@polywrap/core-js","description":"Polywrap JavaScript Core","version":"0.10.1","license":"MIT","repository":{"type":"git","url":"https://github.com/polywrap/javascript-client.git"},"main":"build/index.js","scripts":{"build":"yarn build:fast","build:docs":"yarn build:readme","build:fast":"rimraf ./build && tsc --project tsconfig.build.json","lint":"eslint --color -c ../../.eslintrc.js src/","test":"jest --passWithNoTests --runInBand --verbose --config ../../jest.config.js --rootDir .","test:watch":"yarn test -- --watch","build:readme:subsections":"yarn doc-snippets combine -c ./readme/config/sub-sections.json","build:readme:final":"yarn doc-snippets combine -c ./readme/config/final.json","build:readme":"yarn build:readme:subsections && yarn build:readme:final"},"dependencies":{"@polywrap/result":"0.10.1","@polywrap/tracing-js":"0.10.1","@polywrap/wrap-manifest-types-js":"0.10.1"},"devDependencies":{"@types/jest":"29.5.0","@types/mustache":"4.0.1","@types/prettier":"2.6.0","doc-snippets":"~1.0.0","jest":"29.5.0","mustache":"4.0.1","rimraf":"3.0.2","ts-jest":"29.1.0","ts-node":"10.9.1","typescript":"4.9.5"},"gitHead":"7346adaf5adb7e6bbb70d9247583e995650d390a","publishConfig":{"access":"public"},"_id":"@polywrap/core-js@0.10.1","dist":{"shasum":"09405c745f591d5f7ec243db95a61540a05296cb","integrity":"sha512-BJpWDikfd/6h64Lf7FKy0g5O3a5OKaL915boni1pHP54wF4xBWdHkKixLGD8w4BZWRiW9v42PpYBhWqYZwSNGg==","tarball":"https://registry.npmjs.org/@polywrap/core-js/-/core-js-0.10.1.tgz","fileCount":125,"unpackedSize":138758,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDvgGl/1cG0SNgwy8tNoOs69vAYjOX/b41VldPYoKUsmAiBWO136vorQRw2B2u5Q5MGhmoAZMwO9EwQERg6tRTPo4Q=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkTKTNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoCQBAAlFWmjD0QZ63aL40GANoJZhNFb4vR++HcHBgDuQKXebCUd/Nl\r\negP1/QLwq0NL5ATn+wwYS6yjKYvkFOfqih390euEa3nRGAuHH+btJIK29BVD\r\nmDpKkG0xYKdgSN4wapg/yipPaFl0XxZvwxrFB/8vVAsV+KvXW5J4YMruZHKQ\r\ntTlCXPahv2cCkwhq5X0aeZyLD747JCE99d6yIhlRYLdysZ9B3BHH82XkuXPx\r\ndHaMubGskS4CGOEsd45WNx47x3DPyhn4p2p2nK8QFjbZiS0KcqL8mExjYUTG\r\nBDU+ica08I6TLeiF6ZXFlNCGrcxeaak83+dwCRqeGPFJOnuAmwFED3o67CfJ\r\n2qMtM5mMmpgaEQU3o2JhqSOpSYs0JUoc39XNMQU0D/93mGpjDSQljTRLXiuJ\r\nyAR86FjLBfEgCpnJdDephljK2DTCVsncTLx5cttUFpgFDyLElAR2WfJNKoho\r\nwMLuw3GKHIaCx39o5TET3uznobAxYzeEQu8xEkjZNx0Gz5uBXH5gDiozw6cf\r\nOMWHnCrQ0EYtv7dV99DWY9KqZnvkQsW9xH/mUB3iFMRwryzSbIMCpJ6yqYkx\r\nc7GA7FmsI8IN556M6N3GH92mhNV2QDxjvFVt49NsJ9N4U2G/K0MlTtniwFRP\r\nV6920XtZnWBP4nlzjCOtFDSlE3jnt+l3+cg=\r\n=hkd5\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},"directories":{},"maintainers":[{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},{"name":"dorgjelli","email":"jelli@dorg.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-js_0.10.1_1682744525134_0.41080555269825325"},"_hasShrinkwrap":false},"0.11.0":{"name":"@polywrap/core-js","description":"Polywrap JavaScript Core","version":"0.11.0","license":"MIT","repository":{"type":"git","url":"https://github.com/polywrap/javascript-client.git"},"main":"build/index.js","scripts":{"build":"yarn build:fast","build:docs":"yarn build:readme","build:fast":"rimraf ./build && tsc --project tsconfig.build.json","lint":"eslint --color -c ../../.eslintrc.js src/","test":"jest --passWithNoTests --runInBand --verbose --config ../../jest.config.js --rootDir .","test:watch":"yarn test -- --watch","build:readme:subsections":"yarn doc-snippets combine -c ./readme/config/sub-sections.json","build:readme:final":"yarn doc-snippets combine -c ./readme/config/final.json","build:readme":"yarn build:readme:subsections && yarn build:readme:final"},"dependencies":{"@polywrap/result":"0.11.0","@polywrap/tracing-js":"0.11.0","@polywrap/wrap-manifest-types-js":"0.11.0"},"devDependencies":{"@types/jest":"29.5.0","@types/mustache":"4.0.1","@types/prettier":"2.6.0","doc-snippets":"~1.0.0","jest":"29.5.0","mustache":"4.0.1","rimraf":"3.0.2","ts-jest":"29.1.0","ts-node":"10.9.1","typescript":"4.9.5"},"publishConfig":{"access":"public"},"_id":"@polywrap/core-js@0.11.0","dist":{"shasum":"9c42edf4c4693a7a27d48c09d00115b0074ece21","integrity":"sha512-pSgaiHAxybAZ2jBY+QaRMrumdzQw7ZdlwFd7+fA9NIHonoDQaA/lFd1EhUy7pN7rT24aVEgMNT9d5GeWvvTe3Q==","tarball":"https://registry.npmjs.org/@polywrap/core-js/-/core-js-0.11.0.tgz","fileCount":128,"unpackedSize":141822,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC675IFq1DaMcMd9wAxX7D4fJZdWGXbuQQ9tbnwhgJvFAIgPwgA7KBSZXnxTzqp9LoaqTXKFoLnxHb3j2lsOstDYdM="}]},"_npmUser":{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},"directories":{},"maintainers":[{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},{"name":"dorgjelli","email":"jelli@dorg.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-js_0.11.0_1687831236062_0.4770913642205714"},"_hasShrinkwrap":false},"0.12.0-pre.1":{"name":"@polywrap/core-js","description":"Polywrap JavaScript Core","version":"0.12.0-pre.1","license":"MIT","repository":{"type":"git","url":"https://github.com/polywrap/javascript-client.git"},"main":"build/index.js","scripts":{"build":"yarn build:fast","build:docs":"yarn build:readme","build:fast":"rimraf ./build && tsc --project tsconfig.build.json","lint":"eslint --color -c ../../.eslintrc.js src/","test":"jest --passWithNoTests --runInBand --verbose --config ../../jest.config.js --rootDir .","test:watch":"yarn test -- --watch","build:readme:subsections":"yarn doc-snippets combine -c ./readme/config/sub-sections.json","build:readme:final":"yarn doc-snippets combine -c ./readme/config/final.json","build:readme":"yarn build:readme:subsections && yarn build:readme:final"},"dependencies":{"@polywrap/result":"0.12.0-pre.1","@polywrap/tracing-js":"0.12.0-pre.1","@polywrap/wrap-manifest-types-js":"0.12.0-pre.1"},"devDependencies":{"@types/jest":"29.5.0","@types/mustache":"4.0.1","@types/prettier":"2.6.0","doc-snippets":"~1.0.0","jest":"29.5.0","mustache":"4.0.1","rimraf":"3.0.2","ts-jest":"29.1.0","ts-node":"10.9.1","typescript":"4.9.5"},"publishConfig":{"access":"public"},"readmeFilename":"README.md","readme":"# @polywrap/core-js\n\nA TypeScript / JavaScript implementation of the WRAP standard, including all fundamental types & algorithms.\n\n# Reference\n\n## Types\n\n### CoreClient\n\n```ts\n\n/** Core Client configuration that can be passed to the PolywrapClient or PolywrapCoreClient constructors */\nexport interface CoreClientConfig {\n  /** register interface implementations */\n  readonly interfaces?: ReadonlyUriMap<readonly Uri[]>;\n\n  /** set environmental variables for a wrapper */\n  readonly envs?: ReadonlyUriMap<WrapperEnv>;\n\n  /** configure URI resolution for redirects, packages, and wrappers */\n  readonly resolver: Readonly<IUriResolver<unknown>>;\n}\n\n/** Options for CoreClient's getFile method */\nexport interface GetFileOptions {\n  /** file path from wrapper root */\n  path: string;\n\n  /** file encoding */\n  encoding?: \"utf-8\" | string;\n}\n\n/** Options for CoreClient's getImplementations method */\nexport interface GetImplementationsOptions {\n  /** If true, follow redirects to resolve URIs */\n  applyResolution?: boolean;\n\n  /** Use and update an existing resolution context */\n  resolutionContext?: IUriResolutionContext;\n}\n\n/** Options for CoreClient's validate method */\nexport interface ValidateOptions {\n  /** Validate full ABI */\n  abi?: boolean;\n\n  /** Recursively validate import URIs */\n  recursive?: boolean;\n}\n\n/** CoreClient invokes wrappers and interacts with wrap packages. */\nexport interface CoreClient extends Invoker, UriResolverHandler<unknown> {\n  /**\n   * Returns the configuration used to instantiate the client\n   *\n   * @returns an immutable core client config\n   */\n  getConfig(): CoreClientConfig;\n\n  /**\n   * returns all interfaces from the configuration used to instantiate the client\n   *\n   * @returns a Set of interfaces and their registered implementations\n   */\n  getInterfaces(): ReadonlyUriMap<readonly Uri[]> | undefined;\n\n  /**\n   * returns all env registrations from the configuration used to instantiate the client\n   *\n   * @returns an array of env objects containing wrapper environmental variables\n   */\n  getEnvs(): ReadonlyUriMap<WrapperEnv> | undefined;\n\n  /**\n   * returns an env (a set of environmental variables) from the configuration used to instantiate the client\n   *\n   * @param uri - the URI used to register the env\n   * @returns an env, or undefined if an env is not found at the given URI\n   */\n  getEnvByUri(uri: Uri): WrapperEnv | undefined;\n\n  /**\n   * returns the URI resolver from the configuration used to instantiate the client\n   *\n   * @returns an object that implements the IUriResolver interface\n   */\n  getResolver(): IUriResolver<unknown>;\n\n  /**\n   * returns a package's wrap manifest\n   *\n   * @param uri - a wrap URI\n   * @returns a Result containing the WrapManifest if the request was successful\n   */\n  getManifest(uri: Uri): Promise<Result<WrapManifest, WrapError>>;\n\n  /**\n   * returns a file contained in a wrap package\n   *\n   * @param uri - a wrap URI\n   * @param options - { path: string; encoding?: \"utf-8\" | string }\n   * @returns a Promise of a Result containing a file if the request was successful\n   */\n  getFile(\n    uri: Uri,\n    options: GetFileOptions\n  ): Promise<Result<string | Uint8Array, WrapError>>;\n\n  /**\n   * returns the interface implementations associated with an interface URI\n   *  from the configuration used to instantiate the client\n   *\n   * @param uri - a wrap URI\n   * @param options - { applyResolution?: boolean; resolutionContext?: IUriResolutionContext }\n   * @returns a Result containing URI array if the request was successful\n   */\n  getImplementations(\n    uri: Uri,\n    options: GetImplementationsOptions\n  ): Promise<Result<Uri[], WrapError>>;\n}\n\n```\n\n### Env\n\n```ts\n\n/** A map of string-indexed, Msgpack-serializable environmental variables associated with a wrapper */\nexport interface WrapperEnv {\n  readonly [k: string]: unknown;\n}\n```\n\n### Invoke\n\n```ts\n\n/** Options required for an Wrapper invocation. */\nexport interface InvokeOptions {\n  /** The Wrapper's URI */\n  uri: Uri;\n\n  /** Method to be executed. */\n  method: string;\n\n  /** Arguments for the method, structured as a map, removing the chance of incorrectly ordered arguments. */\n  args?: Record<string, unknown> | Uint8Array;\n\n  /** Env variables for the wrapper invocation. */\n  env?: Record<string, unknown>;\n\n  /** A Uri resolution context */\n  resolutionContext?: IUriResolutionContext;\n}\n\n/**\n * Result of an Wrapper invocation.\n *\n * @template TData Type of the invoke result data.\n */\nexport type InvokeResult<TData = unknown> = Result<TData, WrapError>;\n\n/**\n * Provides options for the invoker to set based on the state of the invocation.\n * Extends InvokeOptions.\n */\nexport interface InvokerOptions extends InvokeOptions {\n  /** If true, the InvokeResult will (if successful) contain a Msgpack-encoded byte array */\n  encodeResult?: boolean;\n}\n\n/**\n * An entity capable of invoking wrappers.\n *\n * @template TData Type of the invoke result data.\n */\nexport interface Invoker {\n  /**\n   * Invoke a wrapper using an instance of the wrapper.\n   *\n   * @param options - invoker options and a wrapper instance to invoke\n   * @returns A Promise with a Result containing the return value or an error\n   */\n  invokeWrapper<TData = unknown>(\n    options: InvokerOptions & { wrapper: Wrapper }\n  ): Promise<InvokeResult<TData>>;\n\n  /**\n   * Invoke a wrapper.\n   *\n   * @remarks\n   * Unlike `invokeWrapper`, this method automatically retrieves and caches the wrapper.\n   *\n   * @param options - invoker options\n   * @returns A Promise with a Result containing the return value or an error\n   */\n  invoke<TData = unknown>(\n    options: InvokerOptions\n  ): Promise<InvokeResult<TData>>;\n}\n\n/**\n * Result of a Wrapper invocation, possibly Msgpack-encoded.\n *\n * @template TData Type of the invoke result data.\n */\nexport type InvocableResult<TData = unknown> = InvokeResult<TData> & {\n  /** If true, result (if successful) contains a Msgpack-encoded byte array */\n  encoded?: boolean;\n};\n\n/** An invocable entity, such as a wrapper. */\nexport interface Invocable {\n  /**\n   * Invoke this object.\n   *\n   * @param options - invoke options\n   * @param invoker - an Invoker, capable of invoking this object\n   * @returns A Promise with a Result containing the return value or an error\n   */\n  invoke(\n    options: InvokeOptions,\n    invoker: Invoker\n  ): Promise<InvocableResult<unknown>>;\n}\n\n```\n\n### IUriPackage\n\n```ts\n\n/** Associates a URI with an embedded wrap package */\nexport interface IUriPackage {\n  /** The package's URI */\n  uri: Uri;\n\n  /** The wrap package */\n  package: IWrapPackage;\n}\n\n```\n\n### IUriRedirect\n\n```ts\n\n/** Redirect invocations from one URI to another */\nexport interface IUriRedirect {\n  /** URI to redirect from */\n  from: Uri;\n\n  /** URI to redirect to */\n  to: Uri;\n}\n\n```\n\n### IUriWrapper\n\n```ts\n\n/** Associates a URI with an embedded wrapper */\nexport interface IUriWrapper {\n  /** The URI to resolve to the wrapper */\n  uri: Uri;\n\n  /** A wrapper instance */\n  wrapper: Wrapper;\n}\n\n```\n\n### IWrapPackage\n\n```ts\n\n/** Options for IWrapPackage's getManifest method */\nexport interface GetManifestOptions {\n  /** If true, manifest validation step will be skipped */\n  noValidate?: boolean;\n}\n\n/** A wrap package, capable of producing instances of a wrapper and its manifest */\nexport interface IWrapPackage {\n  /**\n   * Produce an instance of the wrap manifest\n   *\n   * @param options - GetManifestOptions; customize manifest retrieval\n   * @returns A Promise with a Result containing the wrap manifest or an error\n   */\n  getManifest(\n    options?: GetManifestOptions\n  ): Promise<Result<WrapManifest, Error>>;\n\n  /**\n   * Produce an instance of the wrapper\n   *\n   * @param options - DeserializeManifestOptions; customize manifest deserialization\n   * @returns A Promise with a Result containing the wrapper or an error\n   */\n  createWrapper(\n    options?: DeserializeManifestOptions\n  ): Promise<Result<Wrapper, Error>>;\n}\n\n```\n\n### MaybeAsync\n\n```ts\n\n/** Alias for a type that is either a value or a promise that resolves to the value */\nexport type MaybeAsync<T> = Promise<T> | T;\n\n```\n\n### Uri\n\n#### UriConfig\n```ts\n/** URI configuration */\nexport interface UriConfig {\n  /** URI Authority: allows the Polywrap URI resolution algorithm to determine an authoritative URI resolver. */\n  authority: string;\n\n  /** URI Path: tells the Authority where the Wrapper resides. */\n  path: string;\n\n  /** Full string representation of URI */\n  uri: string;\n}\n```\n\n#### Uri\n\n```ts\n/**\n * A Polywrap URI. Some examples of valid URIs are:\n * wrap://https/domain.com\n * wrap://ipfs/QmHASH\n * wrap://ens/sub.domain.eth\n * wrap://file/directory/file.txt\n *\n * Some example short-hand URIs (utilizing inference):\n * ipfs/QmHASH        -> wrap://ipfs/QmHASH\n * https://domain.com -> wrap://https/domain.com\n *\n * URI inference is performed in the following ways:\n * 1. If wrap:// is missing, it will be added.\n * 2. If non-wrap schema exists, it becomes the authority.\n *\n * Breaking down the various parts of the URI, as it applies\n * to [the URI standard](https://tools.ietf.org/html/rfc3986#section-3):\n * **wrap://** - URI Scheme: differentiates Polywrap URIs.\n * **ens/** - URI Authority: allows the Polywrap URI resolution algorithm to determine an authoritative URI resolver.\n * **sub.domain.eth** - URI Path: tells the Authority where the Wrapper resides.\n */\nexport class Uri {\n```\n\n##### constructor\n```ts\n  /**\n   * Construct a Uri instance from a wrap URI string\n   *\n   * @remarks\n   * Throws if URI string is invalid\n   *\n   * @param uri - a string representation of a wrap URI\n   */\n  constructor(uri: string) \n```\n\n##### authority\n```ts\n  /** @returns Uri authority */\n  public get authority(): string \n```\n\n##### path\n```ts\n  /** @returns Uri path */\n  public get path(): string \n```\n\n##### uri\n```ts\n  /** @returns Uri string representation */\n  public get uri(): string \n```\n\n##### equals\n```ts\n  /** Test two Uri instances for equality */\n  public static equals(a: Uri, b: Uri): boolean \n```\n\n##### isUri\n```ts\n  /**\n   * Check if a value is an instance of Uri\n   *\n   * @param value - value to check\n   * @returns true if value is a Uri instance */\n  public static isUri(value: unknown): value is Uri \n```\n\n##### isValidUri\n```ts\n  /**\n   * Test if a URI string is a valid wrap URI\n   *\n   * @param uri - URI string\n   * @param parsed? - UriConfig to update (mutate) with content of URI string\n   * @returns true if input string is a valid wrap URI */\n  public static isValidUri(uri: string, parsed?: UriConfig): boolean \n```\n\n##### toString\n```ts\n  /** @returns Uri string representation */\n  public toString(): string \n```\n\n##### toJSON\n```ts\n  /** @returns Uri string representation */\n  public toJSON(): string \n```\n\n##### parseUri\n```ts\n  /**\n   * Parse a wrap URI string into its authority and path\n   *\n   * @param uri - a string representation of a wrap URI\n   * @returns A Result containing a UriConfig, if successful, or an error\n   */\n  public static parseUri(input: string): Result<UriConfig, Error> \n```\n\n##### from\n```ts\n  /**\n   * Construct a Uri instance from a Uri or a wrap URI string\n   *\n   * @remarks\n   * Throws if URI string is invalid\n   *\n   * @param uri - a Uri instance or a string representation of a wrap URI\n   */\n  public static from(uri: Uri | string): Uri \n```\n\n### UriResolver\n\n```ts\n\n/** Options required for URI resolution. */\nexport interface TryResolveUriOptions {\n  /** The Wrapper's URI */\n  uri: Uri;\n\n  /** A URI resolution context */\n  resolutionContext?: IUriResolutionContext;\n}\n\n/** An entity capable of resolving a wrap URI, typically by using an IUriResolver implementation */\nexport interface UriResolverHandler<TError = undefined> {\n  /**\n   * Resolve a URI to a wrap package, a wrapper, or a uri\n   *\n   * @param options - TryResolveUriOptions\n   * @returns A Promise with a Result containing either a wrap package, a wrapper, or a URI if successful\n   */\n  tryResolveUri(\n    options?: TryResolveUriOptions\n  ): Promise<Result<UriPackageOrWrapper, TError>>;\n}\n\n```\n\n### Wrapper\n\n```ts\n\n/**\n * The Wrapper definition, which can be used to spawn\n * many invocations of this particular Wrapper. Internally\n * this class may do things like caching WASM bytecode, spawning\n * worker threads, or indexing into resolvers to find the requested method.\n */\nexport interface Wrapper extends Invocable {\n  /**\n   * Invoke the Wrapper based on the provided [[InvokeOptions]]\n   *\n   * @param options Options for this invocation.\n   * @param invoker The client instance requesting this invocation.\n   * This client will be used for any sub-invokes that occur.\n   */\n  invoke(\n    options: InvokeOptions,\n    invoker: Invoker\n  ): Promise<InvocableResult<unknown>>;\n\n  /**\n   * Get a file from the Wrapper package.\n   *\n   * @param options Configuration options for file retrieval\n   */\n  getFile(options: GetFileOptions): Promise<Result<Uint8Array | string, Error>>;\n\n  /**\n   * Get a manifest from the Wrapper package.\n   */\n  getManifest(): WrapManifest;\n}\n\n```\n\n## UriResolverInterface\n\n### MaybeUriOrManifest\n```ts\n/** Contains either a Uri, a manifest, or neither */\nexport interface MaybeUriOrManifest {\n  /** wrap URI */\n  uri?: string | null;\n\n  /** Serialized wrap manifest */\n  manifest?: Uint8Array | null;\n}\n```\n\n### Module\n\n#### tryResolveUri\n```ts\n  /**\n   * Use an invoker to try to resolve a URI using a wrapper that implements the UriResolver interface\n   *\n   * @param invoker - invokes the wrapper with the resolution URI as an argument\n   * @param wrapper - URI for wrapper that implements the UriResolver interface\n   * @param uri - the URI to resolve\n   */\n  tryResolveUri: async (\n    invoker: Invoker,\n    wrapper: Uri,\n    uri: Uri\n  ): Promise<Result<MaybeUriOrManifest, WrapError>> \n```\n\n#### getFile\n```ts\n  /**\n   * Use an invoker to fetch a file using a wrapper that implements the UriResolver interface\n   *\n   * @param invoker - invokes the wrapper with the filepath as an argument\n   * @param wrapper - URI for wrapper that implements the UriResolver interface\n   * @param path - a filepath, the format of which depends on the UriResolver\n   */\n  getFile: async (\n    invoker: Invoker,\n    wrapper: Uri,\n    path: string\n  ): Promise<Result<Uint8Array | null, WrapError>> \n```\n\n## Uri Resolution\n\n### IUriResolutionContext\n\n```ts\n/** Track and output URI resolution state, path, and history */\nexport interface IUriResolutionContext {\n  /**\n   * Check if a URI is in the process of being resolved\n   *\n   * @param uri - URI to check\n   * @return true if URI resolution is in process, false otherwise\n   */\n  isResolving(uri: Uri): boolean;\n\n  /**\n   * Start resolving a URI\n   *\n   * @param uri - Uri to resolve\n   */\n  startResolving(uri: Uri): void;\n\n  /**\n   * Stop resolving a URI\n   *\n   * @param uri - Uri being resolved\n   */\n  stopResolving(uri: Uri): void;\n\n  /**\n   * Push a step onto the resolution history stack\n   *\n   * @param step - A completed resolution step\n   */\n  trackStep<TError>(step: IUriResolutionStep<TError>): void;\n\n  /** @return history of all URI resolution steps completed */\n  getHistory(): IUriResolutionStep<unknown>[];\n\n  /** @return current URI resolution path */\n  getResolutionPath(): Uri[];\n\n  /**\n   * Create a new resolution context using the current URI resolution path\n   *\n   * @return a UriResolutionContext\n   */\n  createSubHistoryContext(): IUriResolutionContext;\n\n  /**\n   * Create a new resolution context using the current URI resolution history\n   *\n   * @return a UriResolutionContext\n   */\n  createSubContext(): IUriResolutionContext;\n}\n```\n\n### IUriResolutionStep\n\n```ts\n/** A step in the URI resolution algorithm */\nexport interface IUriResolutionStep<TError = undefined> {\n  /** The current URI being resolved */\n  sourceUri: Uri;\n\n  /** The resolution result for the current URI */\n  result: Result<UriPackageOrWrapper, TError>;\n\n  /** A text/visual description of this URI step */\n  description?: string;\n\n  /** History of sub-steps that exist within the context of this URI resolution step */\n  subHistory?: IUriResolutionStep<TError>[];\n}\n```\n\n### IUriResolver\n\n```ts\n/** Defines entity capable of resolving a wrap URI */\nexport interface IUriResolver<TError = undefined> {\n  /**\n   * Resolve a URI to a wrap package, a wrapper, or a uri\n   *\n   * @param uri - the URI to resolve\n   * @param client - a CoreClient instance that may be used to invoke a wrapper that implements the UriResolver interface\n   * @param resolutionContext - the current URI resolution context\n   * @returns A Promise with a Result containing either a wrap package, a wrapper, or a URI if successful\n   */\n  tryResolveUri(\n    uri: Uri,\n    client: CoreClient,\n    resolutionContext: IUriResolutionContext\n  ): Promise<Result<UriPackageOrWrapper, TError>>;\n}\n```\n\n### UriPackageOrWrapper\n\n```ts\n\n/** Indicates that a URI resolved to a Uri */\nexport type UriValue = {\n  type: \"uri\";\n  uri: Uri;\n};\n\n/** Indicates that a URI resolved to a wrap package */\nexport type UriPackageValue = IUriPackage & {\n  type: \"package\";\n};\n\n/** Indicates that a URI resolved to a wrapper */\nexport type UriWrapperValue = IUriWrapper & {\n  type: \"wrapper\";\n};\n\n/** indicates that a URI resolved to either a wrap package, a wrapper, or a URI */\nexport type UriPackageOrWrapper = UriValue | UriPackageValue | UriWrapperValue;\n\n```\n\n### UriResolutionContext\n\n```ts\n/** An implementation of the IUriResolutionContext interface */\nexport class UriResolutionContext implements IUriResolutionContext {\n```\n\n#### constructor\n\n```ts\n  /** Construct a UriResolutionContext */\n  constructor();\n  constructor(\n    resolvingUriMap: Map<string, boolean>,\n    resolutionPath: Set<string>\n  );\n  constructor(\n    resolvingUriMap: Map<string, boolean>,\n    history: IUriResolutionStep<unknown>[]\n  );\n  constructor(\n    resolvingUriMap?: Map<string, boolean>,\n    resolutionPathOrHistory?: Set<string> | IUriResolutionStep<unknown>[]\n  ) \n```\n","_id":"@polywrap/core-js@0.12.0-pre.1","dist":{"shasum":"b376db87e0e60bd5940941b80c8cd064c44dc142","integrity":"sha512-BMxp5nEJGGIerFsRR7x+CMSthIF0BjFFTTmWmpy3s5aTizKUfTtw5XIMnSeUAswA7+4beo8GSkS2u6L+T+u7YA==","tarball":"https://registry.npmjs.org/@polywrap/core-js/-/core-js-0.12.0-pre.1.tgz","fileCount":128,"unpackedSize":141846,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEvKaktB1Xu2fpnuDWs99rad5HbaJX5al8gI0t7fDuEPAiBt/RfidTmYTjm7gVD5RWnXpTXSAYnvAX5XWTY8caaleQ=="}]},"_npmUser":{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},"directories":{},"maintainers":[{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},{"name":"dorgjelli","email":"jelli@dorg.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-js_0.12.0-pre.1_1689178264851_0.0016948511641461383"},"_hasShrinkwrap":false},"0.12.0":{"name":"@polywrap/core-js","description":"Polywrap JavaScript Core","version":"0.12.0","license":"MIT","repository":{"type":"git","url":"https://github.com/polywrap/javascript-client.git"},"main":"build/index.js","scripts":{"build":"yarn build:fast","build:docs":"yarn build:readme","build:fast":"rimraf ./build && tsc --project tsconfig.build.json","lint":"eslint --color -c ../../.eslintrc.js src/","test":"jest --passWithNoTests --runInBand --verbose --config ../../jest.config.js --rootDir .","test:watch":"yarn test -- --watch","build:readme:subsections":"yarn doc-snippets combine -c ./readme/config/sub-sections.json","build:readme:final":"yarn doc-snippets combine -c ./readme/config/final.json","build:readme":"yarn build:readme:subsections && yarn build:readme:final"},"dependencies":{"@polywrap/result":"0.12.0","@polywrap/tracing-js":"0.12.0","@polywrap/wrap-manifest-types-js":"0.12.0"},"devDependencies":{"@types/jest":"29.5.0","@types/mustache":"4.0.1","@types/prettier":"2.6.0","doc-snippets":"~1.0.0","jest":"29.5.0","mustache":"4.0.1","rimraf":"3.0.2","ts-jest":"29.1.0","ts-node":"10.9.1","typescript":"4.9.5"},"publishConfig":{"access":"public"},"_id":"@polywrap/core-js@0.12.0","dist":{"shasum":"ec68d6d6489df55bfa7a6bc0d5910a5ff9eb157a","integrity":"sha512-wWQQ/pb+A4bM3U9bF6pVvwlKWLjF1nkbO3pJ5AKoHIe/5glFYAM/zCq/CTZlTsFzpNsczcru0mbQY5C8wK8aOw==","tarball":"https://registry.npmjs.org/@polywrap/core-js/-/core-js-0.12.0.tgz","fileCount":128,"unpackedSize":142569,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDZDMPjUptrXZer8FlUZQ6wI1G5gTmVHpf3fWcoLNG8kAiEA/leP5b/ZH0RosaBZpBKioFsqhv/G46lPWCPi0XDibpA="}]},"_npmUser":{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},"directories":{},"maintainers":[{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},{"name":"dorgjelli","email":"jelli@dorg.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-js_0.12.0_1690400155142_0.10981318802567985"},"_hasShrinkwrap":false},"0.12.1":{"name":"@polywrap/core-js","description":"Polywrap JavaScript Core","version":"0.12.1","license":"MIT","repository":{"type":"git","url":"https://github.com/polywrap/javascript-client.git"},"main":"build/index.js","scripts":{"build":"yarn build:fast","build:docs":"yarn build:readme","build:fast":"rimraf ./build && tsc --project tsconfig.build.json","lint":"eslint --color -c ../../.eslintrc.js src/","test":"jest --passWithNoTests --runInBand --verbose --config ../../jest.config.js --rootDir .","test:watch":"yarn test -- --watch","build:readme:subsections":"yarn doc-snippets combine -c ./readme/config/sub-sections.json","build:readme:final":"yarn doc-snippets combine -c ./readme/config/final.json","build:readme":"yarn build:readme:subsections && yarn build:readme:final"},"dependencies":{"@polywrap/result":"0.12.1","@polywrap/tracing-js":"0.12.1","@polywrap/wrap-manifest-types-js":"0.12.1"},"devDependencies":{"@types/jest":"29.5.0","@types/mustache":"4.0.1","@types/prettier":"2.6.0","doc-snippets":"~1.0.0","jest":"29.5.0","mustache":"4.0.1","rimraf":"3.0.2","ts-jest":"29.1.0","ts-node":"10.9.1","typescript":"4.9.5"},"publishConfig":{"access":"public"},"_id":"@polywrap/core-js@0.12.1","dist":{"shasum":"62ecf378023e3fd8c987bca04e5245402a8cc755","integrity":"sha512-sSjKz99wEUSVp4sc/O3rgFl4stqsqgeFuD1octdxoZ3Y/zDbIo0QsGWgBt36c+axLROvZpJXb5DsAzlBMKka+w==","tarball":"https://registry.npmjs.org/@polywrap/core-js/-/core-js-0.12.1.tgz","fileCount":128,"unpackedSize":142569,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCo8WNtdHQZQzZx86Ry5Y+nmQFP0u/zE/2WahzyeqDGqAIhAJ+nCPH9TpIZJPUUP8DlZH5wiDDgnXDRXKq6O24GSpDT"}]},"_npmUser":{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},"directories":{},"maintainers":[{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},{"name":"dorgjelli","email":"jelli@dorg.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-js_0.12.1_1692569157920_0.5265708741090027"},"_hasShrinkwrap":false},"0.12.2":{"name":"@polywrap/core-js","description":"Polywrap JavaScript Core","version":"0.12.2","license":"MIT","repository":{"type":"git","url":"https://github.com/polywrap/javascript-client.git"},"main":"build/index.js","scripts":{"build":"yarn build:fast","build:docs":"yarn build:readme","build:fast":"rimraf ./build && tsc --project tsconfig.build.json","lint":"eslint --color -c ../../.eslintrc.js src/","test":"jest --passWithNoTests --runInBand --verbose --config ../../jest.config.js --rootDir .","test:watch":"yarn test -- --watch","build:readme:subsections":"yarn doc-snippets combine -c ./readme/config/sub-sections.json","build:readme:final":"yarn doc-snippets combine -c ./readme/config/final.json","build:readme":"yarn build:readme:subsections && yarn build:readme:final"},"dependencies":{"@polywrap/result":"0.12.2","@polywrap/tracing-js":"0.12.2","@polywrap/wrap-manifest-types-js":"0.12.2"},"devDependencies":{"@types/jest":"29.5.0","@types/mustache":"4.0.1","@types/prettier":"2.6.0","doc-snippets":"~1.0.0","jest":"29.5.0","mustache":"4.0.1","rimraf":"3.0.2","ts-jest":"29.1.0","ts-node":"10.9.1","typescript":"4.9.5"},"publishConfig":{"access":"public"},"_id":"@polywrap/core-js@0.12.2","dist":{"shasum":"b85f0314a30696db7ef265bfb89b4f25c194d900","integrity":"sha512-AezoxK1YX+qJl06opUeAyjBfA+LIEHDPMoZZWeI+pyQHhuDUHyLv4xh4uzXELNnzfLo0Ap39qKAQ5u2HAs1DJA==","tarball":"https://registry.npmjs.org/@polywrap/core-js/-/core-js-0.12.2.tgz","fileCount":177,"unpackedSize":199426,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDZ2vtd35a+DLdu1sMnNjM+Shdp3wuZi5rvcCkPiZjSfgIgZi9LqNPeenRUJEuDG9kNFgqrXzRKLzUeocqGr7FKD+k="}]},"_npmUser":{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},"directories":{},"maintainers":[{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},{"name":"dorgjelli","email":"jelli@dorg.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core-js_0.12.2_1692576928544_0.35299707771514255"},"_hasShrinkwrap":false}},"time":{"created":"2022-06-17T14:44:43.229Z","0.0.1-prealpha.86":"2022-06-17T14:44:43.522Z","modified":"2023-08-21T00:15:29.029Z","0.0.1-prealpha.87":"2022-06-21T22:36:47.175Z","0.0.1-prealpha.88":"2022-06-21T23:38:00.275Z","0.0.1-prealpha.89":"2022-06-23T22:00:55.203Z","0.0.1-prealpha.90":"2022-06-28T02:42:58.958Z","0.0.1-prealpha.91":"2022-07-01T06:02:40.336Z","0.0.1-prealpha.92":"2022-07-05T01:56:45.960Z","0.0.1-prealpha.93":"2022-07-06T01:18:31.859Z","0.1.0":"2022-07-06T08:23:35.300Z","0.1.1":"2022-07-07T08:02:30.060Z","0.2.0":"2022-07-13T07:35:43.008Z","0.3.0":"2022-07-24T20:09:29.937Z","0.4.0":"2022-08-20T09:19:49.956Z","0.4.1":"2022-08-22T19:02:55.750Z","0.5.0":"2022-08-26T22:51:34.049Z","0.6.0":"2022-09-02T16:03:56.095Z","0.7.0":"2022-09-08T16:32:38.247Z","0.8.0":"2022-09-24T18:30:58.974Z","0.9.0":"2022-10-10T09:44:22.706Z","0.9.1":"2022-10-12T22:34:37.604Z","0.9.2":"2022-10-13T22:39:23.766Z","0.9.3":"2022-10-20T10:33:00.536Z","0.9.4":"2022-11-04T01:47:46.585Z","0.10.0-pre.0":"2022-11-05T07:23:58.919Z","0.10.0-pre.1":"2022-11-12T18:01:15.223Z","0.10.0-pre.3":"2022-11-13T00:38:21.306Z","0.10.0-pre.4":"2022-11-16T18:23:44.321Z","0.10.0-pre.5":"2022-11-22T04:48:08.555Z","0.10.0-pre.6":"2022-12-20T04:42:20.299Z","0.10.0-pre.7":"2023-01-11T02:15:55.856Z","0.9.5":"2023-02-10T23:24:17.973Z","0.10.0-pre.8":"2023-02-16T04:45:57.966Z","0.9.6":"2023-02-19T07:44:29.554Z","0.10.0-pre.10":"2023-03-01T03:32:10.251Z","0.10.0-pre.11":"2023-03-06T22:24:38.854Z","0.10.0-pre.12":"2023-03-14T05:07:27.515Z","0.10.0-pre.13":"2023-03-18T01:21:24.518Z","0.9.7":"2023-03-28T22:01:20.528Z","0.10.0-pre.14":"2023-04-13T04:02:24.808Z","0.10.0":"2023-04-14T05:15:15.966Z","0.10.1":"2023-04-29T05:02:05.339Z","0.11.0":"2023-06-27T02:00:36.273Z","0.12.0-pre.1":"2023-07-12T16:11:05.028Z","0.12.0":"2023-07-26T19:35:55.369Z","0.12.1":"2023-08-20T22:05:58.121Z","0.12.2":"2023-08-21T00:15:28.808Z"},"maintainers":[{"name":"polywrap-build-bot","email":"build-bot@polywrap.io"},{"name":"dorgjelli","email":"jelli@dorg.tech"}],"description":"Polywrap JavaScript Core","repository":{"type":"git","url":"https://github.com/polywrap/javascript-client.git"},"license":"MIT","readme":"# @polywrap/core-js\n\nA TypeScript / JavaScript implementation of the WRAP standard, including all fundamental types & algorithms.\n\n# Reference\n\n## Types\n\n### CoreClient\n\n```ts\n\n/** Core Client configuration that can be passed to the PolywrapClient or PolywrapCoreClient constructors */\nexport interface CoreClientConfig {\n  /** register interface implementations */\n  readonly interfaces?: ReadonlyUriMap<readonly Uri[]>;\n\n  /** set environmental variables for a wrapper */\n  readonly envs?: ReadonlyUriMap<WrapperEnv>;\n\n  /** configure URI resolution for redirects, packages, and wrappers */\n  readonly resolver: Readonly<IUriResolver<unknown>>;\n}\n\n/** Options for CoreClient's getFile method */\nexport interface GetFileOptions {\n  /** file path from wrapper root */\n  path: string;\n\n  /** file encoding */\n  encoding?: \"utf-8\" | string;\n}\n\n/** Options for CoreClient's getImplementations method */\nexport interface GetImplementationsOptions {\n  /** If true, follow redirects to resolve URIs */\n  applyResolution?: boolean;\n\n  /** Use and update an existing resolution context */\n  resolutionContext?: IUriResolutionContext;\n}\n\n/** Options for CoreClient's validate method */\nexport interface ValidateOptions {\n  /** Validate full ABI */\n  abi?: boolean;\n\n  /** Recursively validate import URIs */\n  recursive?: boolean;\n}\n\n/** CoreClient invokes wrappers and interacts with wrap packages. */\nexport interface CoreClient extends Invoker, UriResolverHandler<unknown> {\n  /**\n   * Returns the configuration used to instantiate the client\n   *\n   * @returns an immutable core client config\n   */\n  getConfig(): CoreClientConfig;\n\n  /**\n   * returns all interfaces from the configuration used to instantiate the client\n   *\n   * @returns a Set of interfaces and their registered implementations\n   */\n  getInterfaces(): ReadonlyUriMap<readonly Uri[]> | undefined;\n\n  /**\n   * returns all env registrations from the configuration used to instantiate the client\n   *\n   * @returns an array of env objects containing wrapper environmental variables\n   */\n  getEnvs(): ReadonlyUriMap<WrapperEnv> | undefined;\n\n  /**\n   * returns an env (a set of environmental variables) from the configuration used to instantiate the client\n   *\n   * @param uri - the URI used to register the env\n   * @returns an env, or undefined if an env is not found at the given URI\n   */\n  getEnvByUri(uri: Uri): WrapperEnv | undefined;\n\n  /**\n   * returns the URI resolver from the configuration used to instantiate the client\n   *\n   * @returns an object that implements the IUriResolver interface\n   */\n  getResolver(): IUriResolver<unknown>;\n\n  /**\n   * returns a package's wrap manifest\n   *\n   * @param uri - a wrap URI\n   * @returns a Result containing the WrapManifest if the request was successful\n   */\n  getManifest(uri: Uri): Promise<Result<WrapManifest, WrapError>>;\n\n  /**\n   * returns a file contained in a wrap package\n   *\n   * @param uri - a wrap URI\n   * @param options - { path: string; encoding?: \"utf-8\" | string }\n   * @returns a Promise of a Result containing a file if the request was successful\n   */\n  getFile(\n    uri: Uri,\n    options: GetFileOptions\n  ): Promise<Result<string | Uint8Array, WrapError>>;\n\n  /**\n   * returns the interface implementations associated with an interface URI\n   *  from the configuration used to instantiate the client\n   *\n   * @param uri - a wrap URI\n   * @param options - { applyResolution?: boolean; resolutionContext?: IUriResolutionContext }\n   * @returns a Result containing URI array if the request was successful\n   */\n  getImplementations(\n    uri: Uri,\n    options: GetImplementationsOptions\n  ): Promise<Result<Uri[], WrapError>>;\n}\n\n```\n\n### Env\n\n```ts\n\n/** A map of string-indexed, Msgpack-serializable environmental variables associated with a wrapper */\nexport interface WrapperEnv {\n  readonly [k: string]: unknown;\n}\n```\n\n### Invoke\n\n```ts\n\n/** Options required for an Wrapper invocation. */\nexport interface InvokeOptions {\n  /** The Wrapper's URI */\n  uri: Uri;\n\n  /** Method to be executed. */\n  method: string;\n\n  /** Arguments for the method, structured as a map, removing the chance of incorrectly ordered arguments. */\n  args?: Record<string, unknown> | Uint8Array;\n\n  /** Env variables for the wrapper invocation. */\n  env?: Record<string, unknown>;\n\n  /** A Uri resolution context */\n  resolutionContext?: IUriResolutionContext;\n}\n\n/**\n * Result of an Wrapper invocation.\n *\n * @template TData Type of the invoke result data.\n */\nexport type InvokeResult<TData = unknown> = Result<TData, WrapError>;\n\n/**\n * Provides options for the invoker to set based on the state of the invocation.\n * Extends InvokeOptions.\n */\nexport interface InvokerOptions extends InvokeOptions {\n  /** If true, the InvokeResult will (if successful) contain a Msgpack-encoded byte array */\n  encodeResult?: boolean;\n}\n\n/**\n * An entity capable of invoking wrappers.\n *\n * @template TData Type of the invoke result data.\n */\nexport interface Invoker {\n  /**\n   * Invoke a wrapper using an instance of the wrapper.\n   *\n   * @param options - invoker options and a wrapper instance to invoke\n   * @returns A Promise with a Result containing the return value or an error\n   */\n  invokeWrapper<TData = unknown>(\n    options: InvokerOptions & { wrapper: Wrapper }\n  ): Promise<InvokeResult<TData>>;\n\n  /**\n   * Invoke a wrapper.\n   *\n   * @remarks\n   * Unlike `invokeWrapper`, this method automatically retrieves and caches the wrapper.\n   *\n   * @param options - invoker options\n   * @returns A Promise with a Result containing the return value or an error\n   */\n  invoke<TData = unknown>(\n    options: InvokerOptions\n  ): Promise<InvokeResult<TData>>;\n}\n\n/**\n * Result of a Wrapper invocation, possibly Msgpack-encoded.\n *\n * @template TData Type of the invoke result data.\n */\nexport type InvocableResult<TData = unknown> = InvokeResult<TData> & {\n  /** If true, result (if successful) contains a Msgpack-encoded byte array */\n  encoded?: boolean;\n};\n\n/** An invocable entity, such as a wrapper. */\nexport interface Invocable {\n  /**\n   * Invoke this object.\n   *\n   * @param options - invoke options\n   * @param invoker - an Invoker, capable of invoking this object\n   * @returns A Promise with a Result containing the return value or an error\n   */\n  invoke(\n    options: InvokeOptions,\n    invoker: Invoker\n  ): Promise<InvocableResult<unknown>>;\n}\n\n```\n\n### IUriPackage\n\n```ts\n\n/** Associates a URI with an embedded wrap package */\nexport interface IUriPackage {\n  /** The package's URI */\n  uri: Uri;\n\n  /** The wrap package */\n  package: IWrapPackage;\n}\n\n```\n\n### IUriRedirect\n\n```ts\n\n/** Redirect invocations from one URI to another */\nexport interface IUriRedirect {\n  /** URI to redirect from */\n  from: Uri;\n\n  /** URI to redirect to */\n  to: Uri;\n}\n\n```\n\n### IUriWrapper\n\n```ts\n\n/** Associates a URI with an embedded wrapper */\nexport interface IUriWrapper {\n  /** The URI to resolve to the wrapper */\n  uri: Uri;\n\n  /** A wrapper instance */\n  wrapper: Wrapper;\n}\n\n```\n\n### IWrapPackage\n\n```ts\n\n/** Options for IWrapPackage's getManifest method */\nexport interface GetManifestOptions {\n  /** If true, manifest validation step will be skipped */\n  noValidate?: boolean;\n}\n\n/** A wrap package, capable of producing instances of a wrapper and its manifest */\nexport interface IWrapPackage {\n  /**\n   * Produce an instance of the wrap manifest\n   *\n   * @param options - GetManifestOptions; customize manifest retrieval\n   * @returns A Promise with a Result containing the wrap manifest or an error\n   */\n  getManifest(\n    options?: GetManifestOptions\n  ): Promise<Result<WrapManifest, Error>>;\n\n  /**\n   * Produce an instance of the wrapper\n   *\n   * @param options - DeserializeManifestOptions; customize manifest deserialization\n   * @returns A Promise with a Result containing the wrapper or an error\n   */\n  createWrapper(\n    options?: DeserializeManifestOptions\n  ): Promise<Result<Wrapper, Error>>;\n}\n\n```\n\n### MaybeAsync\n\n```ts\n\n/** Alias for a type that is either a value or a promise that resolves to the value */\nexport type MaybeAsync<T> = Promise<T> | T;\n\n```\n\n### Uri\n\n#### UriConfig\n```ts\n/** URI configuration */\nexport interface UriConfig {\n  /** URI Authority: allows the Polywrap URI resolution algorithm to determine an authoritative URI resolver. */\n  authority: string;\n\n  /** URI Path: tells the Authority where the Wrapper resides. */\n  path: string;\n\n  /** Full string representation of URI */\n  uri: string;\n}\n```\n\n#### Uri\n\n```ts\n/**\n * A Polywrap URI. Some examples of valid URIs are:\n * wrap://https/domain.com\n * wrap://ipfs/QmHASH\n * wrap://wrapscan.io/polywrap/wrap@1.2.3\n * wrap://ens/sub.domain.eth\n * wrap://file/directory/file.txt\n *\n * Some example short-hand URIs (utilizing inference):\n * ipfs/QmHASH        -> wrap://ipfs/QmHASH\n * https://domain.com -> wrap://https/domain.com\n *\n * URI inference is performed in the following ways:\n * 1. If wrap:// is missing, it will be added.\n * 2. If non-wrap schema exists, it becomes the authority.\n *\n * Breaking down the various parts of the URI, as it applies\n * to [the URI standard](https://tools.ietf.org/html/rfc3986#section-3):\n * **wrap://** - URI Scheme: differentiates Polywrap URIs.\n * **wrapscan.io/** - URI Authority: allows the Polywrap URI resolution algorithm to determine an authoritative URI resolver.\n * **polywrap/wrap@1.2.3** - URI Path: tells the Authority where the Wrapper resides.\n */\nexport class Uri {\n```\n\n##### constructor\n```ts\n  /**\n   * Construct a Uri instance from a wrap URI string\n   *\n   * @remarks\n   * Throws if URI string is invalid\n   *\n   * @param uri - a string representation of a wrap URI\n   */\n  constructor(uri: string) \n```\n\n##### authority\n```ts\n  /** @returns Uri authority */\n  public get authority(): string \n```\n\n##### path\n```ts\n  /** @returns Uri path */\n  public get path(): string \n```\n\n##### uri\n```ts\n  /** @returns Uri string representation */\n  public get uri(): string \n```\n\n##### equals\n```ts\n  /** Test two Uri instances for equality */\n  public static equals(a: Uri, b: Uri): boolean \n```\n\n##### isUri\n```ts\n  /**\n   * Check if a value is an instance of Uri\n   *\n   * @param value - value to check\n   * @returns true if value is a Uri instance */\n  public static isUri(value: unknown): value is Uri \n```\n\n##### isValidUri\n```ts\n  /**\n   * Test if a URI string is a valid wrap URI\n   *\n   * @param uri - URI string\n   * @param parsed? - UriConfig to update (mutate) with content of URI string\n   * @returns true if input string is a valid wrap URI */\n  public static isValidUri(uri: string, parsed?: UriConfig): boolean \n```\n\n##### toString\n```ts\n  /** @returns Uri string representation */\n  public toString(): string \n```\n\n##### toJSON\n```ts\n  /** @returns Uri string representation */\n  public toJSON(): string \n```\n\n##### parseUri\n```ts\n  /**\n   * Parse a wrap URI string into its authority and path\n   *\n   * @param uri - a string representation of a wrap URI\n   * @returns A Result containing a UriConfig, if successful, or an error\n   */\n  public static parseUri(input: string): Result<UriConfig, Error> \n```\n\n##### from\n```ts\n  /**\n   * Construct a Uri instance from a Uri or a wrap URI string\n   *\n   * @remarks\n   * Throws if URI string is invalid\n   *\n   * @param uri - a Uri instance or a string representation of a wrap URI\n   */\n  public static from(uri: Uri | string): Uri \n```\n\n### UriResolver\n\n```ts\n\n/** Options required for URI resolution. */\nexport interface TryResolveUriOptions {\n  /** The Wrapper's URI */\n  uri: Uri;\n\n  /** A URI resolution context */\n  resolutionContext?: IUriResolutionContext;\n}\n\n/** An entity capable of resolving a wrap URI, typically by using an IUriResolver implementation */\nexport interface UriResolverHandler<TError = undefined> {\n  /**\n   * Resolve a URI to a wrap package, a wrapper, or a uri\n   *\n   * @param options - TryResolveUriOptions\n   * @returns A Promise with a Result containing either a wrap package, a wrapper, or a URI if successful\n   */\n  tryResolveUri(\n    options?: TryResolveUriOptions\n  ): Promise<Result<UriPackageOrWrapper, TError>>;\n}\n\n```\n\n### Wrapper\n\n```ts\n\n/**\n * The Wrapper definition, which can be used to spawn\n * many invocations of this particular Wrapper. Internally\n * this class may do things like caching WASM bytecode, spawning\n * worker threads, or indexing into resolvers to find the requested method.\n */\nexport interface Wrapper extends Invocable {\n  /**\n   * Invoke the Wrapper based on the provided [[InvokeOptions]]\n   *\n   * @param options Options for this invocation.\n   * @param invoker The client instance requesting this invocation.\n   * This client will be used for any sub-invokes that occur.\n   */\n  invoke(\n    options: InvokeOptions,\n    invoker: Invoker\n  ): Promise<InvocableResult<unknown>>;\n\n  /**\n   * Get a file from the Wrapper package.\n   *\n   * @param options Configuration options for file retrieval\n   */\n  getFile(options: GetFileOptions): Promise<Result<Uint8Array | string, Error>>;\n\n  /**\n   * Get a manifest from the Wrapper package.\n   */\n  getManifest(): WrapManifest;\n}\n\n```\n\n## UriResolverInterface\n\n### MaybeUriOrManifest\n```ts\n/** Contains either a Uri, a manifest, or neither */\nexport interface MaybeUriOrManifest {\n  /** wrap URI */\n  uri?: string | null;\n\n  /** Serialized wrap manifest */\n  manifest?: Uint8Array | null;\n}\n```\n\n### Module\n\n#### tryResolveUri\n```ts\n  /**\n   * Use an invoker to try to resolve a URI using a wrapper that implements the UriResolver interface\n   *\n   * @param invoker - invokes the wrapper with the resolution URI as an argument\n   * @param wrapper - URI for wrapper that implements the UriResolver interface\n   * @param uri - the URI to resolve\n   */\n  tryResolveUri: async (\n    invoker: Invoker,\n    wrapper: Uri,\n    uri: Uri\n  ): Promise<Result<MaybeUriOrManifest, WrapError>> \n```\n\n#### getFile\n```ts\n  /**\n   * Use an invoker to fetch a file using a wrapper that implements the UriResolver interface\n   *\n   * @param invoker - invokes the wrapper with the filepath as an argument\n   * @param wrapper - URI for wrapper that implements the UriResolver interface\n   * @param path - a filepath, the format of which depends on the UriResolver\n   */\n  getFile: async (\n    invoker: Invoker,\n    wrapper: Uri,\n    path: string\n  ): Promise<Result<Uint8Array | null, WrapError>> \n```\n\n## Uri Resolution\n\n### IUriResolutionContext\n\n```ts\n/** Track and output URI resolution state, path, and history */\nexport interface IUriResolutionContext {\n  /**\n   * Check if a URI is in the process of being resolved\n   *\n   * @param uri - URI to check\n   * @return true if URI resolution is in process, false otherwise\n   */\n  isResolving(uri: Uri): boolean;\n\n  /**\n   * Start resolving a URI\n   *\n   * @param uri - Uri to resolve\n   */\n  startResolving(uri: Uri): void;\n\n  /**\n   * Stop resolving a URI\n   *\n   * @param uri - Uri being resolved\n   */\n  stopResolving(uri: Uri): void;\n\n  /**\n   * Push a step onto the resolution history stack\n   *\n   * @param step - A completed resolution step\n   */\n  trackStep<TError>(step: IUriResolutionStep<TError>): void;\n\n  /** @return history of all URI resolution steps completed */\n  getHistory(): IUriResolutionStep<unknown>[];\n\n  /** @return current URI resolution path */\n  getResolutionPath(): Uri[];\n\n  /**\n   * Create a new resolution context using the current URI resolution path\n   *\n   * @return a UriResolutionContext\n   */\n  createSubHistoryContext(): IUriResolutionContext;\n\n  /**\n   * Create a new resolution context using the current URI resolution history\n   *\n   * @return a UriResolutionContext\n   */\n  createSubContext(): IUriResolutionContext;\n}\n```\n\n### IUriResolutionStep\n\n```ts\n/** A step in the URI resolution algorithm */\nexport interface IUriResolutionStep<TError = undefined> {\n  /** The current URI being resolved */\n  sourceUri: Uri;\n\n  /** The resolution result for the current URI */\n  result: Result<UriPackageOrWrapper, TError>;\n\n  /** A text/visual description of this URI step */\n  description?: string;\n\n  /** History of sub-steps that exist within the context of this URI resolution step */\n  subHistory?: IUriResolutionStep<TError>[];\n}\n```\n\n### IUriResolver\n\n```ts\n/** Defines entity capable of resolving a wrap URI */\nexport interface IUriResolver<TError = undefined> {\n  /**\n   * Resolve a URI to a wrap package, a wrapper, or a uri\n   *\n   * @param uri - the URI to resolve\n   * @param client - a CoreClient instance that may be used to invoke a wrapper that implements the UriResolver interface\n   * @param resolutionContext - the current URI resolution context\n   * @returns A Promise with a Result containing either a wrap package, a wrapper, or a URI if successful\n   */\n  tryResolveUri(\n    uri: Uri,\n    client: CoreClient,\n    resolutionContext: IUriResolutionContext\n  ): Promise<Result<UriPackageOrWrapper, TError>>;\n}\n```\n\n### UriPackageOrWrapper\n\n```ts\n\n/** Indicates that a URI resolved to a Uri */\nexport type UriValue = {\n  type: \"uri\";\n  uri: Uri;\n};\n\n/** Indicates that a URI resolved to a wrap package */\nexport type UriPackageValue = IUriPackage & {\n  type: \"package\";\n};\n\n/** Indicates that a URI resolved to a wrapper */\nexport type UriWrapperValue = IUriWrapper & {\n  type: \"wrapper\";\n};\n\n/** indicates that a URI resolved to either a wrap package, a wrapper, or a URI */\nexport type UriPackageOrWrapper = UriValue | UriPackageValue | UriWrapperValue;\n\n```\n\n### UriResolutionContext\n\n```ts\n/** An implementation of the IUriResolutionContext interface */\nexport class UriResolutionContext implements IUriResolutionContext {\n```\n\n#### constructor\n\n```ts\n  /** Construct a UriResolutionContext */\n  constructor();\n  constructor(\n    resolvingUriMap: Map<string, boolean>,\n    resolutionPath: Set<string>\n  );\n  constructor(\n    resolvingUriMap: Map<string, boolean>,\n    history: IUriResolutionStep<unknown>[]\n  );\n  constructor(\n    resolvingUriMap?: Map<string, boolean>,\n    resolutionPathOrHistory?: Set<string> | IUriResolutionStep<unknown>[]\n  ) \n```\n","readmeFilename":"README.md"}