{"_id":"@bundly/ic-http-client","_rev":"5-6957cd4128eed7486eaeb240a2d9a2ed","name":"@bundly/ic-http-client","dist-tags":{"latest":"0.1.2","beta":"0.2.0-rc.1"},"versions":{"0.1.0":{"name":"@bundly/ic-http-client","version":"0.1.0","description":"Client library for interacting with the Internet Computer","author":{"name":"Bundly"},"license":"MIT","private":false,"homepage":"https://github.com/bundlydev/ic-core-js#readme","repository":{"type":"git","url":"git+https://github.com/bundlydev/ic-core-js.git"},"bugs":{"url":"https://github.com/bundlydev/ic-core-js/issues"},"keywords":["dfinity","ICP","Internet Computer","Http","ApiRest","Typescript"],"main":"./build/index.js","module":"./build/index.mjs","types":"./build/index.d.ts","scripts":{"build":"tsup","clean":"rm -rf build && rm -rf node_modules"},"devDependencies":{"@types/jest":"^29.5.11","jest":"^29.7.0","ts-jest":"^29.1.1","ts-node":"^10.9.2","tsup":"^8.0.1","typescript":"^5.3.3"},"dependencies":{"@dfinity/agent":"^1.0.0","@dfinity/principal":"^1.0.0"},"_id":"@bundly/ic-http-client@0.1.0","gitHead":"89cfb42756d2b2b787443eab3148a37c82d13130","_nodeVersion":"20.9.0","_npmVersion":"10.4.0","dist":{"integrity":"sha512-dUZzMrzGpFY2EQ6939wPFDjONvQqPRYBvWSHKCgUM6Vu5O6EfI+4/0nJUdubgVnOKopBma96k3LfPi1HcUftTA==","shasum":"2aafee419039462e339cdb8d99cad71f30e7bc16","tarball":"https://registry.npmjs.org/@bundly/ic-http-client/-/ic-http-client-0.1.0.tgz","fileCount":8,"unpackedSize":35796,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBXvQVwziVMD7EwGH5vVoJDHNpeMQeQv3kKuGT+yyvnzAiAUxNkcT3BkfW7oZSP0LvWAPtiCdYGWPJVDpFsm6zclsg=="}]},"_npmUser":{"name":"adrian.hidalgo","email":"adrian.hidalgo@mailfusion.me"},"directories":{},"maintainers":[{"name":"adrian.hidalgo","email":"adrian.hidalgo@mailfusion.me"},{"name":"alannnc","email":"alannnc@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ic-http-client_0.1.0_1708362040575_0.6317762859893461"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.1":{"name":"@bundly/ic-http-client","version":"0.1.1","description":"HTTP client to call ICP API Rest","author":{"name":"Bundly"},"license":"MIT","private":false,"homepage":"https://github.com/bundlydev/ic-http-client#readme","repository":{"type":"git","url":"git+https://github.com/bundlydev/ic-http-client.git"},"bugs":{"url":"https://github.com/bundlydev/ic-http-client/issues"},"keywords":["dfinity","ICP","Internet Computer","Http","ApiRest","Typescript"],"main":"./build/index.js","module":"./build/index.mjs","types":"./build/index.d.ts","scripts":{"build":"tsup","clean":"rm -rf build && rm -rf node_modules"},"devDependencies":{"@types/jest":"^29.5.11","jest":"^29.7.0","ts-jest":"^29.1.1","ts-node":"^10.9.2","tsup":"^8.0.1","typescript":"^5.3.3"},"dependencies":{"@dfinity/agent":"^1.0.0","@dfinity/principal":"^1.0.0"},"_id":"@bundly/ic-http-client@0.1.1","gitHead":"3e436191270f2e61b5257d84961aeccf05c6613f","_nodeVersion":"20.9.0","_npmVersion":"10.4.0","dist":{"integrity":"sha512-stwgKFO8GoYV2Xa//5IO3h4Ub3b8cxtEqR/V+Vjy8PGUp1qc/DeLZFnPtFUPFPXfer5I4V8x1DAqLIIDa9v+sA==","shasum":"178284223355fc3a765dd2f450a2393f4ca82c6e","tarball":"https://registry.npmjs.org/@bundly/ic-http-client/-/ic-http-client-0.1.1.tgz","fileCount":8,"unpackedSize":35845,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDlPsG5c80qkHBsJn3MFUwdagvzsj/IYGlk3cL44ON6PAiB+1FP08gTrqTg4baZ4w/TJ9ENfgWkjvKHh/35vhBaJIg=="}]},"_npmUser":{"name":"adrian.hidalgo","email":"adrian.hidalgo@mailfusion.me"},"directories":{},"maintainers":[{"name":"adrian.hidalgo","email":"adrian.hidalgo@mailfusion.me"},{"name":"alannnc","email":"alannnc@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ic-http-client_0.1.1_1708386505360_0.6014270311930814"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.2":{"name":"@bundly/ic-http-client","version":"0.1.2","description":"HTTP client to call ICP API Rest","author":{"name":"Bundly"},"license":"MIT","private":false,"homepage":"https://github.com/bundlydev/ic-http-client#readme","repository":{"type":"git","url":"git+https://github.com/bundlydev/ic-http-client.git"},"bugs":{"url":"https://github.com/bundlydev/ic-http-client/issues"},"keywords":["dfinity","ICP","Internet Computer","Http","ApiRest","Typescript"],"main":"./build/index.js","module":"./build/index.mjs","types":"./build/index.d.ts","scripts":{"build":"tsup","clean":"rm -rf build && rm -rf node_modules"},"devDependencies":{"@types/jest":"^29.5.11","jest":"^29.7.0","ts-jest":"^29.1.1","ts-node":"^10.9.2","tsup":"^8.0.1","typescript":"^5.3.3"},"dependencies":{"@dfinity/agent":"^1.0.0","@dfinity/principal":"^1.0.0"},"_id":"@bundly/ic-http-client@0.1.2","gitHead":"89b7f48260b9bace9093374950157f974b3fbc55","_nodeVersion":"20.9.0","_npmVersion":"10.4.0","dist":{"integrity":"sha512-EOevF/lb+dijIhhLRi8ScZp7QsCSLKUvOc2w4l0Fl2ou7zDeAxMBi6VuFNOMPyWZCY8bJu+aLgD6vBUzUqkNJg==","shasum":"c3a0dfdeb7f9955a0b6ea450ce880b3693ff9cde","tarball":"https://registry.npmjs.org/@bundly/ic-http-client/-/ic-http-client-0.1.2.tgz","fileCount":8,"unpackedSize":35845,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAU7W5g7jhUCk8p72GhKHtmNExAAeTsC2Inkmo1ReOFIAiA0oLj90GkUOMf5S28ycYQ01EevCxXxtEGgvriIvNQn2A=="}]},"_npmUser":{"name":"adrian.hidalgo","email":"adrian.hidalgo@mailfusion.me"},"directories":{},"maintainers":[{"name":"adrian.hidalgo","email":"adrian.hidalgo@mailfusion.me"},{"name":"alannnc","email":"alannnc@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ic-http-client_0.1.2_1708393914374_0.3964483345190759"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.2.0-rc.0":{"name":"@bundly/ic-http-client","version":"0.2.0-rc.0","description":"HTTP client to call ICP API Rest","author":{"name":"Bundly"},"license":"MIT","private":false,"homepage":"https://github.com/bundlydev/ic-http-client#readme","repository":{"type":"git","url":"git+https://github.com/bundlydev/ic-http-client.git"},"bugs":{"url":"https://github.com/bundlydev/ic-http-client/issues"},"keywords":["dfinity","ICP","Internet Computer","Http","ApiRest","Typescript"],"main":"./build/index.js","module":"./build/index.mjs","types":"./build/index.d.ts","scripts":{"build":"tsup","clean":"rm -rf build && rm -rf node_modules"},"devDependencies":{"@types/jest":"^29.5.11","jest":"^29.7.0","ts-jest":"^29.1.1","ts-node":"^10.9.2","tsup":"^8.0.1","typescript":"^5.3.3"},"dependencies":{"@dfinity/agent":"^1.0.1","@dfinity/principal":"^1.0.1"},"_id":"@bundly/ic-http-client@0.2.0-rc.0","readme":"# ic-http-client\n\nHTTP client to call ICP API Rest\n\n## How to use\n\n```javascript\nconst agent = new HttpAgent({\n  host,\n  identity,\n  //...\n});\n\nconst backend = Actor.createActor(idlFactory, {\n  agent,\n  ...configuration,\n});\n\nconst client = new HttpClient(backend);\n\n// GET request\nconst result = await client.get(\"/users\", config);\n\n// POST request\nconst result = await client.post(\n  \"/users\",\n  {\n    username: \"some-username\",\n    password: \"password\",\n  },\n  {\n    headers: {\n      \"Content-Type\": \"application/json\",\n    },\n  }\n);\n\n// PUT request\nconst result = await client.put(\n  \"/users\",\n  {\n    password: \"password\",\n  },\n  {\n    headers: {\n      \"Content-Type\": \"application/json\",\n    },\n  }\n);\n\n// DELETE request\nconst result = await client.delete(\"/users\", config);\n```\n","readmeFilename":"README.md","gitHead":"b7abb18a891400d9d6d030015c19142f82083587","_nodeVersion":"20.11.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-V179SyOahfemL5iCKguOSH5RAK5ZSaOwsWSCg0rWAlZziYxcaBLRXc10z8OpWKNXfV5YVoe37mAshE200Nl3qw==","shasum":"116680efe291a3f630e1e1affe5ba41b8c2cc198","tarball":"https://registry.npmjs.org/@bundly/ic-http-client/-/ic-http-client-0.2.0-rc.0.tgz","fileCount":8,"unpackedSize":57864,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBqvfiDcTFsF+yjcoZ+qxi+/+ozBt7nKmbWgCqND8LJtAiEAlibuCh2Bd6w1eKyhiA+yI3D/snUpMMpS5LfMvVvP5eg="}]},"_npmUser":{"name":"adrian.hidalgo","email":"adrian.hidalgo@mailfusion.me"},"directories":{},"maintainers":[{"name":"adrian.hidalgo","email":"adrian.hidalgo@mailfusion.me"},{"name":"alannnc","email":"alannnc@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ic-http-client_0.2.0-rc.0_1708473579662_0.8044282069119773"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.2.0-rc.1":{"name":"@bundly/ic-http-client","version":"0.2.0-rc.1","description":"HTTP client to call ICP API Rest","author":{"name":"Bundly"},"license":"MIT","private":false,"homepage":"https://github.com/bundlydev/ic-http-client#readme","repository":{"type":"git","url":"git+https://github.com/bundlydev/ic-http-client.git"},"bugs":{"url":"https://github.com/bundlydev/ic-http-client/issues"},"keywords":["dfinity","ICP","Internet Computer","Http","ApiRest","Typescript"],"main":"./build/index.js","module":"./build/index.mjs","types":"./build/index.d.ts","scripts":{"build":"tsup","clean":"rm -rf build && rm -rf node_modules"},"devDependencies":{"@types/jest":"^29.5.11","jest":"^29.7.0","ts-jest":"^29.1.1","ts-node":"^10.9.2","tsup":"^8.0.1","typescript":"^5.3.3"},"dependencies":{"@dfinity/agent":"^1.0.1","@dfinity/principal":"^1.0.1"},"_id":"@bundly/ic-http-client@0.2.0-rc.1","readme":"# ic-http-client\n\nHTTP client to call ICP API Rest\n\n## How to use\n\n```javascript\nconst agent = new HttpAgent({\n  host,\n  identity,\n  //...\n});\n\nconst backend = Actor.createActor(idlFactory, {\n  agent,\n  ...configuration,\n});\n\nconst client = new HttpClient(backend);\n\n// GET request\nconst result = await client.get(\"/users\", config);\n\n// POST request\nconst result = await client.post(\n  \"/users\",\n  {\n    username: \"some-username\",\n    password: \"password\",\n  },\n  {\n    headers: {\n      \"Content-Type\": \"application/json\",\n    },\n  }\n);\n\n// PUT request\nconst result = await client.put(\n  \"/users\",\n  {\n    password: \"password\",\n  },\n  {\n    headers: {\n      \"Content-Type\": \"application/json\",\n    },\n  }\n);\n\n// DELETE request\nconst result = await client.delete(\"/users\", config);\n```\n","readmeFilename":"README.md","gitHead":"89ff49c31ac458c4b17138594291214cfbbe6318","_nodeVersion":"20.9.0","_npmVersion":"10.4.0","dist":{"integrity":"sha512-A5r2cCV3JPDOCxs7hjY/wmP7lyy5xnMP8hcn2aekl/+pKfFfuqhwcfoXPWPNWW2yfFhx0fTlBFLttemUNwB/2A==","shasum":"d008d1506f0273bbc163f23d67e15f9a8a4a68d7","tarball":"https://registry.npmjs.org/@bundly/ic-http-client/-/ic-http-client-0.2.0-rc.1.tgz","fileCount":9,"unpackedSize":58957,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEUdz3JTWhQNTmQjO6Nu2MqaupmqjWL+KPh4+jCmu7yPAiAlJvjr+LGAuFicbY9pitzVtVlqkTs0PwMh4wVEeeoygg=="}]},"_npmUser":{"name":"adrian.hidalgo","email":"adrian.hidalgo@mailfusion.me"},"directories":{},"maintainers":[{"name":"adrian.hidalgo","email":"adrian.hidalgo@mailfusion.me"},{"name":"alannnc","email":"alannnc@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ic-http-client_0.2.0-rc.1_1708554466925_0.08554576809980419"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."}},"time":{"created":"2024-02-19T17:00:40.458Z","0.1.0":"2024-02-19T17:00:40.761Z","modified":"2024-02-29T20:00:07.257Z","0.1.1":"2024-02-19T23:48:25.702Z","0.1.2":"2024-02-20T01:51:54.533Z","0.2.0-rc.0":"2024-02-20T23:59:39.826Z","0.2.0-rc.1":"2024-02-21T22:27:47.113Z"},"maintainers":[{"name":"adrian.hidalgo","email":"adrian.hidalgo@mailfusion.me"},{"name":"alannnc","email":"alannnc@gmail.com"}],"description":"HTTP client to call ICP API Rest","homepage":"https://github.com/bundlydev/ic-http-client#readme","keywords":["dfinity","ICP","Internet Computer","Http","ApiRest","Typescript"],"repository":{"type":"git","url":"git+https://github.com/bundlydev/ic-http-client.git"},"author":{"name":"Bundly"},"bugs":{"url":"https://github.com/bundlydev/ic-http-client/issues"},"license":"MIT","readme":"","readmeFilename":""}