{"_id":"@c4tplatform/caminojs","_rev":"17-730e0d7d77455e107d9ec98248c03265","name":"@c4tplatform/caminojs","dist-tags":{"latest":"1.4.0"},"versions":{"1.0.0":{"name":"@c4tplatform/caminojs","version":"1.0.0","keywords":["camino","blockchain","travel"],"author":{"name":"C4T Team","email":"devs@chain4travel.com"},"license":"BSD-3-Clause","_id":"@c4tplatform/caminojs@1.0.0","maintainers":[{"name":"agoumi","email":"Agoumi94@gmail.com"},{"name":"achrafeddaqqaq","email":"achraf.eddaqqaq@chain4travel.com"},{"name":"11yupi11","email":"yuliianekrasova@ukr.net"},{"name":"chriserus","email":"krzysborowiecki97@gmail.com"}],"contributors":[{"name":"Gabriel Cardona","email":"gabriel@avalabs.org"},{"name":"Evan Richard","email":"evan@avalabs.org"},{"name":"Paul Kim","email":"paul.kim@avalabs.org"},{"name":"Raj Ranjan","email":"raj.ranjan@avalabs.org"},{"name":"Gergely Lovas","email":"gergely.lovas@avalabs.org"},{"name":"Dhruba Basu","email":"dhruba@avalabs.org"}],"homepage":"https://github.com/chain4travel/caminojs#readme","bugs":{"url":"https://github.com/chain4travel/caminojs/issues"},"dist":{"shasum":"b06e2cd6994f88a71e99f4dba54c912ca1074e1b","tarball":"https://registry.npmjs.org/@c4tplatform/caminojs/-/caminojs-1.0.0.tgz","fileCount":435,"integrity":"sha512-KHbl65JTDUVF/wTbFp/CMiuHgDFaf57uefvZalp5rL8akoUbNDolSTuSuHuKRSWkBxCcDxCG6Ql0X8JPr5do4Q==","signatures":[{"sig":"MEYCIQDv0s6w3eOu6+L+VbZ2UHRvbhvZ7lhNCxdM6UD0UtQ7oAIhALcQtDROY1/xgivb7qeFdgqW3rn0a7E9bfiXCiLs1D4C","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3980992,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjV6LKACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmor1hAAkkiZiUH2VhXBfLmJuqWndzMHY54hsABHhJVqQ5yMs8dvhBAF\r\neCUNZ6lq0RWY39lY4G/Sq8F+1YkxVr9B0TZnKjzvrQj+P6EDYM9/I1ghZlu7\r\n7J6BfhcbWYKK6gcpEJAy8SqkPZ5b24jdYJ5vSkDFIob7IM9S2YxuHDPm21y6\r\nxvAY+26w8SYw6AveHogrX3WW7QPSvjbuAa7XUZtKG1XRPKvXYO+eX86gRkev\r\n4PKC/EC66Gv/sxjtXI5SQYSQe2Tw3DB3vIxL92iHiXCqcJG1tZVjVTPox2pH\r\n5UdYbOWm0DTxqSvUc7vljmT94foJGPKroaAGY9GjlKsZ4DoZdpALraeZGgrU\r\nU4+fQrWbg4f4e6kjIg+KwvqlAWTAemP6eviXq7MI05VwyK1397zbkUszNNU3\r\nABOTmT+UpI2yGlTZb1JV937gTlk3f8WHqaomww7hLkMzZ1pb0RpH5ceF8k/t\r\nzwVUhmkOeoZbhEB1vANI3iXN3nrLnJgmI81fvy9m28bIn2KT10FSWMgL5YAF\r\nbitfK8E5qn2Zzi8gUo+kuQqINAoqUxIIJ0rk9sGKqTZU8/vggCsnBMPY3AD+\r\nUp6HF9xO9q/9qn/OFQcoNJi6XZuw66zZoq3qccpw4i1eZsAlpZwo5irhNa3J\r\nS/MdAgjmTrDPajfq4fDdp3Hrif7lWt2Vo0o=\r\n=sz7K\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=14.0.0"},"gitHead":"780962d39707b14b8417cd7902e8ce6f874e25a7","scripts":{"docs":"yarn docshtml && yarn docsmd","lint":"eslint ./ --ext js,ts --fix","test":"jest","build":"rm -rf dist/ && npx tsc -b && cp -r typings/src ./dist","bundle":"webpack --mode production","docsmd":"rm -rf docsMD && yarn build && npx typedoc --readme none --plugin typedoc-plugin-markdown,typedoc-plugin-external-module-name --theme markdown --out docsMD src","prepare":"husky install","docshtml":"npx typedoc --plugin typedoc-plugin-external-module-name --mode file src","prettier":"yarn prettier-src && yarn prettier-examples && yarn prettier-tests && yarn prettier-mocks","build-win":"del /S /Q dist\\ && npx tsc -b && xcopy /S typings\\src .\\dist","prebundle":"yarn build","prepublish":"yarn build","test-watch":"jest --watch","prettier-src":"prettier --write ./src","prettier-web":"prettier --write ./web","prettier-mocks":"prettier --write ./__mocks__","prettier-tests":"prettier --write ./tests","release:prepare":"rm -rf ./dist ./node_modules && yarn install && yarn build && yarn bundle && yarn test && git status","examples:prepare":"yarn build && yarn pack","prettier-examples":"prettier --write ./examples"},"_npmUser":{"name":"chriserus","email":"krzysborowiecki97@gmail.com"},"prettier":{"semi":false,"useTabs":false,"tabWidth":2,"singleQuote":false,"trailingComma":"none","jsxBracketSameLine":false},"repository":{"url":"git+https://github.com/chain4travel/caminojs.git","type":"git"},"_npmVersion":"8.15.0","description":"Camino Platform JS Library","directories":{"test":"tests","example":"examples"},"_nodeVersion":"15.14.0","dependencies":{"ws":"8.8.1","xss":"1.0.14","axios":"0.27.2","bip39":"3.0.4","bn.js":"5.2.1","hdkey":"2.0.1","assert":"2.0.0","bech32":"2.0.0","buffer":"6.0.3","ethers":"5.7.0","store2":"2.14.2","elliptic":"6.5.4","create-hash":"1.2.0","randombytes":"^2.1.0","isomorphic-ws":"5.0.0","crypto-browserify":"3.12.0","stream-browserify":"3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"26.6.3","husky":"8.0.1","eslint":"7.32.0","ts-jest":"26.5.6","typedoc":"^0.18.0","webpack":"5.74.0","prettier":"2.7.1","ts-loader":"9.3.1","typescript":"4.7.4","@types/jest":"27.5.0","@types/node":"16.11.12","webpack-cli":"4.10.0","@types/bn.js":"5.1.0","@types/hdkey":"2.0.1","@types/bech32":"1.1.4","jest-mock-axios":"4.5.0","@types/create-hash":"1.2.2","html-webpack-plugin":"5.5.0","clean-webpack-plugin":"4.0.0","terser-webpack-plugin":"5.3.5","eslint-config-prettier":"8.5.0","eslint-plugin-prettier":"4.2.1","eslint-plugin-security":"1.5.0","typedoc-plugin-markdown":"^2.4.0","@typescript-eslint/parser":"4.33.0","git-revision-webpack-plugin":"5.0.0","@typescript-eslint/eslint-plugin":"4.33.0","typedoc-plugin-external-module-name":"^4.0.3"},"_npmOperationalInternal":{"tmp":"tmp/caminojs_1.0.0_1666687690674_0.7404617658643662","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@c4tplatform/caminojs","version":"1.0.1","keywords":["camino","blockchain","travel"],"author":{"name":"C4T Team","email":"devs@chain4travel.com"},"license":"BSD-3-Clause","_id":"@c4tplatform/caminojs@1.0.1","contributors":[{"name":"Gabriel Cardona","email":"gabriel@avalabs.org"},{"name":"Evan Richard","email":"evan@avalabs.org"},{"name":"Paul Kim","email":"paul.kim@avalabs.org"},{"name":"Raj Ranjan","email":"raj.ranjan@avalabs.org"},{"name":"Gergely Lovas","email":"gergely.lovas@avalabs.org"},{"name":"Dhruba Basu","email":"dhruba@avalabs.org"}],"homepage":"https://github.com/chain4travel/caminojs#readme","bugs":{"url":"https://github.com/chain4travel/caminojs/issues"},"dist":{"shasum":"e3303964cc2a283dfc8a18a16ca82f891daffbc3","tarball":"https://registry.npmjs.org/@c4tplatform/caminojs/-/caminojs-1.0.1.tgz","fileCount":390,"integrity":"sha512-KxJz2digbHnnebF1DFr+ZVEE/o1S4tn0IsEI3bse1BwPhtXOQFZ8sJ3A//FlPaNnbZA8QFSCc7Omw3Rnib5jPg==","signatures":[{"sig":"MEYCIQDDWre6W1QFQYIfZDVnfCB3d6PUxG5RwhLcWZ595ePn2QIhAKcjmN0nCX83W2hC+agrUIPimzVa32Vkif8T2YikmYkS","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4009940},"main":"dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=14.0.0"},"gitHead":"8cd37107cb7ebaa0faa1a99e725ec03e7df0ca5c","scripts":{"docs":"rm -rf docsMD && yarn build && npx typedoc --readme none --theme markdown --out docs","lint":"eslint ./ --ext js,ts --fix","test":"jest","build":"rm -rf dist && npx tsc -b tsconfig_build.json","bundle":"webpack --mode production","docsmd":"npx typedoc --readme none --plugin typedoc-plugin-markdown,typedoc-plugin-external-module-name --theme markdown --out docsMD src","docshtml":"npx typedoc --plugin typedoc-plugin-external-module-name --mode file src","prettier":"npx prettier --write .","prebundle":"yarn build","prepublish":"yarn build","test-watch":"jest --watch","prettier-src":"prettier --write ./src","prettier-check":"prettier --check ./src ./examples ./tests ./__mocks__ .github/**/*.yml","release:prepare":"rm -rf ./dist ./node_modules && yarn install && yarn test && yarn build && yarn bundle && git status","transpile:examles":"ts-node -r tsconfig-paths/register examples/<your file>.ts"},"_npmUser":{"name":"c4t-npm-user","email":"tech@chain4travel.com"},"prettier":{"semi":false,"useTabs":false,"tabWidth":2,"singleQuote":false,"trailingComma":"none","jsxBracketSameLine":false},"deprecated":"deprecated","repository":{"url":"git+https://github.com/chain4travel/caminojs.git","type":"git"},"_npmVersion":"8.19.4","description":"Camino Platform JS Library","directories":{"test":"tests","example":"examples"},"lint-staged":{"**/*":"prettier --write --ignore-unknown","*.{ts,tsx}":"eslint --fix --max-warnings 0"},"resolutions":{"json5":"2.2.3"},"_nodeVersion":"16.20.2","dependencies":{"ws":"8.12.1","xss":"1.0.14","axios":"^0.26.1","bip39":"3.1.0","bn.js":"5.1.1","hdkey":"2.1.0","assert":"2.0.0","bech32":"^2.0.0","buffer":"^5.5.0","ethers":"6.0.8","store2":"2.14.2","elliptic":"6.5.4","create-hash":"1.2.0","randombytes":"^2.1.0","isomorphic-ws":"5.0.0","crypto-browserify":"3.12.0","stream-browserify":"3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"29.4.3","web3":"^1.8.2","eslint":"^7.32.0","ts-jest":"29.0.5","typedoc":"0.23.26","webpack":"5.74.0","prettier":"2.8.4","ts-loader":"9.4.2","typescript":"4.9.5","@types/jest":"29.4.0","@types/node":"18.14.2","lint-staged":"13.1.2","webpack-cli":"4.10.0","@types/bn.js":"5.1.0","@types/hdkey":"2.0.1","@types/bech32":"1.1.4","tsconfig-paths":"^4.2.0","jest-mock-axios":"4.5.0","semantic-release":"19.0.5","@types/create-hash":"1.2.2","html-webpack-plugin":"5.5.0","clean-webpack-plugin":"4.0.0","@semantic-release/git":"10.0.1","terser-webpack-plugin":"5.3.6","eslint-config-prettier":"8.6.0","eslint-plugin-prettier":"4.2.1","eslint-plugin-security":"1.7.1","typedoc-plugin-markdown":"3.14.0","@typescript-eslint/parser":"5.54.0","@semantic-release/changelog":"6.0.2","git-revision-webpack-plugin":"5.0.0","@typescript-eslint/eslint-plugin":"5.54.0","typedoc-plugin-external-module-name":"4.0.6"},"_npmOperationalInternal":{"tmp":"tmp/caminojs_1.0.1_1718957153579_0.720188765805791","host":"s3://npm-registry-packages"}},"1.1.0-rc1":{"name":"@c4tplatform/caminojs","version":"1.1.0-rc1","keywords":["camino","blockchain","travel"],"author":{"name":"C4T Team","email":"devs@chain4travel.com"},"license":"BSD-3-Clause","_id":"@c4tplatform/caminojs@1.1.0-rc1","contributors":[{"name":"Gabriel Cardona","email":"gabriel@avalabs.org"},{"name":"Evan Richard","email":"evan@avalabs.org"},{"name":"Paul Kim","email":"paul.kim@avalabs.org"},{"name":"Raj Ranjan","email":"raj.ranjan@avalabs.org"},{"name":"Gergely Lovas","email":"gergely.lovas@avalabs.org"},{"name":"Dhruba Basu","email":"dhruba@avalabs.org"}],"homepage":"https://github.com/chain4travel/caminojs#readme","bugs":{"url":"https://github.com/chain4travel/caminojs/issues"},"dist":{"shasum":"f4ae2fe75bc64dfa2392445bb20b0b0ec4868278","tarball":"https://registry.npmjs.org/@c4tplatform/caminojs/-/caminojs-1.1.0-rc1.tgz","fileCount":390,"integrity":"sha512-YnUIO2jIXsWspT8JUs+U70liLIUROYeH7W6Esp33ZZh7EJJe9IgR3A1IW7fFdstdbxq5ujPGSiJs33DfjegGKg==","signatures":[{"sig":"MEYCIQCM7p8iWHBK5ellE6orKOVGFRzO5QZsLk0Y4iddrM1LzgIhAIehy7AXaCCRgcOT2Gm4+N9zDEmBGre2LIVs55ATUQLD","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4010004},"main":"dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=14.0.0"},"gitHead":"6487b0a0ea875c48e4a8faceda23d8dfaad60aeb","scripts":{"docs":"rm -rf docsMD && yarn build && npx typedoc --readme none --theme markdown --out docs","lint":"eslint ./ --ext js,ts --fix","test":"jest","build":"rm -rf dist && npx tsc -b tsconfig_build.json","bundle":"webpack --mode production","docsmd":"npx typedoc --readme none --plugin typedoc-plugin-markdown,typedoc-plugin-external-module-name --theme markdown --out docsMD src","docshtml":"npx typedoc --plugin typedoc-plugin-external-module-name --mode file src","prettier":"npx prettier --write .","prebundle":"yarn build","prepublish":"yarn build","test-watch":"jest --watch","prettier-src":"prettier --write ./src","prettier-check":"prettier --check ./src ./examples ./tests ./__mocks__ .github/**/*.yml","release:prepare":"rm -rf ./dist ./node_modules && yarn install && yarn test && yarn build && yarn bundle && git status","transpile:examles":"ts-node -r tsconfig-paths/register examples/<your file>.ts"},"_npmUser":{"name":"c4t-npm-user","email":"tech@chain4travel.com"},"prettier":{"semi":false,"useTabs":false,"tabWidth":2,"singleQuote":false,"trailingComma":"none","jsxBracketSameLine":false},"repository":{"url":"git+https://github.com/chain4travel/caminojs.git","type":"git"},"_npmVersion":"8.19.4","description":"Camino Platform JS Library","directories":{"test":"tests","example":"examples"},"lint-staged":{"**/*":"prettier --write --ignore-unknown","*.{ts,tsx}":"eslint --fix --max-warnings 0"},"resolutions":{"json5":"2.2.3"},"_nodeVersion":"16.20.2","dependencies":{"ws":"8.12.1","xss":"1.0.14","axios":"^0.26.1","bip39":"3.1.0","bn.js":"5.1.1","hdkey":"2.1.0","assert":"2.0.0","bech32":"^2.0.0","buffer":"^5.5.0","ethers":"6.0.8","store2":"2.14.2","elliptic":"6.5.4","create-hash":"1.2.0","randombytes":"^2.1.0","isomorphic-ws":"5.0.0","crypto-browserify":"3.12.0","stream-browserify":"3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"29.4.3","web3":"^1.8.2","eslint":"^7.32.0","ts-jest":"29.0.5","typedoc":"0.23.26","webpack":"5.74.0","prettier":"2.8.4","ts-loader":"9.4.2","typescript":"4.9.5","@types/jest":"29.4.0","@types/node":"18.14.2","lint-staged":"13.1.2","webpack-cli":"4.10.0","@types/bn.js":"5.1.0","@types/hdkey":"2.0.1","@types/bech32":"1.1.4","tsconfig-paths":"^4.2.0","jest-mock-axios":"4.5.0","semantic-release":"19.0.5","@types/create-hash":"1.2.2","html-webpack-plugin":"5.5.0","clean-webpack-plugin":"4.0.0","@semantic-release/git":"10.0.1","terser-webpack-plugin":"5.3.6","eslint-config-prettier":"8.6.0","eslint-plugin-prettier":"4.2.1","eslint-plugin-security":"1.7.1","typedoc-plugin-markdown":"3.14.0","@typescript-eslint/parser":"5.54.0","@semantic-release/changelog":"6.0.2","git-revision-webpack-plugin":"5.0.0","@typescript-eslint/eslint-plugin":"5.54.0","typedoc-plugin-external-module-name":"4.0.6"},"_npmOperationalInternal":{"tmp":"tmp/caminojs_1.1.0-rc1_1718969191060_0.8608637806460107","host":"s3://npm-registry-packages"}},"1.1.0-rc2":{"name":"@c4tplatform/caminojs","version":"1.1.0-rc2","keywords":["camino","blockchain","travel"],"author":{"name":"C4T Team","email":"devs@chain4travel.com"},"license":"BSD-3-Clause","_id":"@c4tplatform/caminojs@1.1.0-rc2","maintainers":[{"name":"c4t-npm-user","email":"tech@chain4travel.com"},{"name":"mo-c4t","email":"mohamed.elmoslemany@chain4travel.com"},{"name":"noctunus","email":"noctunus@googlemail.com"},{"name":"charalarg","email":"charalarg@gmail.com"},{"name":"peak3d","email":"markus.pfau@chain4travel.com"},{"name":"agoumi","email":"Agoumi94@gmail.com"},{"name":"achrafeddaqqaq","email":"achraf.eddaqqaq@chain4travel.com"}],"contributors":[{"name":"Gabriel Cardona","email":"gabriel@avalabs.org"},{"name":"Evan Richard","email":"evan@avalabs.org"},{"name":"Paul Kim","email":"paul.kim@avalabs.org"},{"name":"Raj Ranjan","email":"raj.ranjan@avalabs.org"},{"name":"Gergely Lovas","email":"gergely.lovas@avalabs.org"},{"name":"Dhruba Basu","email":"dhruba@avalabs.org"}],"homepage":"https://github.com/chain4travel/caminojs#readme","bugs":{"url":"https://github.com/chain4travel/caminojs/issues"},"dist":{"shasum":"00e7661a7c86293e3cb50931c031f57f889e3a6b","tarball":"https://registry.npmjs.org/@c4tplatform/caminojs/-/caminojs-1.1.0-rc2.tgz","fileCount":390,"integrity":"sha512-h53aWlbjn2R+cBmQ/vdPwmdEb+Qv3w2Ihqw37aiYHGrGVDn7JXHroR6n0Lh1zDBXLnP1wB1KkEAlX7BE+2S3CA==","signatures":[{"sig":"MEQCIEhTT7b66V9w+v3ksQWIOoJWc8qdpOZScQ0JDSFqAz5NAiBeA3PoZFJI5V3+C0dBE5IzniaZkQ6mQIN8k3V8iHtCzg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4011914},"main":"dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=14.0.0"},"gitHead":"fbc7ea9610c2f798dc708b8d2684c48dca69173b","scripts":{"docs":"rm -rf docsMD && yarn build && npx typedoc --readme none --theme markdown --out docs","lint":"eslint ./ --ext js,ts --fix","test":"jest","build":"rm -rf dist && npx tsc -b tsconfig_build.json","bundle":"webpack --mode production","docsmd":"npx typedoc --readme none --plugin typedoc-plugin-markdown,typedoc-plugin-external-module-name --theme markdown --out docsMD src","docshtml":"npx typedoc --plugin typedoc-plugin-external-module-name --mode file src","prettier":"npx prettier --write .","prebundle":"yarn build","prepublish":"yarn build","test-watch":"jest --watch","prettier-src":"prettier --write ./src","prettier-check":"prettier --check ./src ./examples ./tests ./__mocks__ .github/**/*.yml","release:prepare":"rm -rf ./dist ./node_modules && yarn install && yarn test && yarn build && yarn bundle && git status","transpile:examles":"ts-node -r tsconfig-paths/register examples/<your file>.ts"},"_npmUser":{"name":"c4t-npm-user","email":"tech@chain4travel.com"},"prettier":{"semi":false,"useTabs":false,"tabWidth":2,"singleQuote":false,"trailingComma":"none","jsxBracketSameLine":false},"repository":{"url":"git+https://github.com/chain4travel/caminojs.git","type":"git"},"_npmVersion":"8.19.4","description":"Camino Platform JS Library","directories":{"test":"tests","example":"examples"},"lint-staged":{"**/*":"prettier --write --ignore-unknown","*.{ts,tsx}":"eslint --fix --max-warnings 0"},"resolutions":{"json5":"2.2.3"},"_nodeVersion":"16.20.2","dependencies":{"ws":"8.12.1","xss":"1.0.14","axios":"^0.26.1","bip39":"3.1.0","bn.js":"5.1.1","hdkey":"2.1.0","assert":"2.0.0","bech32":"^2.0.0","buffer":"^5.5.0","ethers":"6.0.8","store2":"2.14.2","elliptic":"6.5.4","create-hash":"1.2.0","randombytes":"^2.1.0","isomorphic-ws":"5.0.0","crypto-browserify":"3.12.0","stream-browserify":"3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"29.4.3","web3":"^1.8.2","eslint":"^7.32.0","ts-jest":"29.0.5","typedoc":"0.23.26","webpack":"5.74.0","prettier":"2.8.4","ts-loader":"9.4.2","typescript":"4.9.5","@types/jest":"29.4.0","@types/node":"18.14.2","lint-staged":"13.1.2","webpack-cli":"4.10.0","@types/bn.js":"5.1.0","@types/hdkey":"2.0.1","@types/bech32":"1.1.4","tsconfig-paths":"^4.2.0","jest-mock-axios":"4.5.0","semantic-release":"19.0.5","@types/create-hash":"1.2.2","html-webpack-plugin":"5.5.0","clean-webpack-plugin":"4.0.0","@semantic-release/git":"10.0.1","terser-webpack-plugin":"5.3.6","eslint-config-prettier":"8.6.0","eslint-plugin-prettier":"4.2.1","eslint-plugin-security":"1.7.1","typedoc-plugin-markdown":"3.14.0","@typescript-eslint/parser":"5.54.0","@semantic-release/changelog":"6.0.2","git-revision-webpack-plugin":"5.0.0","@typescript-eslint/eslint-plugin":"5.54.0","typedoc-plugin-external-module-name":"4.0.6"},"_npmOperationalInternal":{"tmp":"tmp/caminojs_1.1.0-rc2_1723034759816_0.67156903270877","host":"s3://npm-registry-packages"}},"1.2.0-rc1":{"name":"@c4tplatform/caminojs","version":"1.2.0-rc1","keywords":["camino","blockchain","travel"],"author":{"name":"C4T Team","email":"devs@chain4travel.com"},"license":"BSD-3-Clause","_id":"@c4tplatform/caminojs@1.2.0-rc1","maintainers":[{"name":"c4t-npm-user","email":"tech@chain4travel.com"},{"name":"mo-c4t","email":"mohamed.elmoslemany@chain4travel.com"},{"name":"noctunus","email":"noctunus@googlemail.com"},{"name":"charalarg","email":"charalarg@gmail.com"},{"name":"peak3d","email":"markus.pfau@chain4travel.com"},{"name":"agoumi","email":"Agoumi94@gmail.com"},{"name":"achrafeddaqqaq","email":"achraf.eddaqqaq@chain4travel.com"}],"contributors":[{"name":"Gabriel Cardona","email":"gabriel@avalabs.org"},{"name":"Evan Richard","email":"evan@avalabs.org"},{"name":"Paul Kim","email":"paul.kim@avalabs.org"},{"name":"Raj Ranjan","email":"raj.ranjan@avalabs.org"},{"name":"Gergely Lovas","email":"gergely.lovas@avalabs.org"},{"name":"Dhruba Basu","email":"dhruba@avalabs.org"}],"homepage":"https://github.com/chain4travel/caminojs#readme","bugs":{"url":"https://github.com/chain4travel/caminojs/issues"},"dist":{"shasum":"24f41054cdc7972944b714d7de0f21e078bb3f7e","tarball":"https://registry.npmjs.org/@c4tplatform/caminojs/-/caminojs-1.2.0-rc1.tgz","fileCount":393,"integrity":"sha512-wQDFr4vvnjwFGR8xVBQoYe2W+RbEt8bm7eE4h7cxftycDCKqb9t4kf8ewfH58aNhrAvmK8ZgXmIt6y5UJPDpKQ==","signatures":[{"sig":"MEQCIAYDkoS5Qb7mjeDtPv0P4+UsdL13jZWphCtlO6ZOK+5ZAiAVC5C8tPKIVzWdtPbcpnYOO0pJsVZbNQ6ed4YZRtXNIA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4041112},"main":"dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=14.0.0"},"gitHead":"3df786e0a9fa9c5fd2189e2e3b3229b8d0a9147b","scripts":{"docs":"rm -rf docsMD && yarn build && npx typedoc --readme none --theme markdown --out docs","lint":"eslint ./ --ext js,ts --fix","test":"jest","build":"rm -rf dist && npx tsc -b tsconfig_build.json","clean":"rm -rf node_modules dist coverage package-lock.json yarn.lock","bundle":"webpack --mode production","docsmd":"npx typedoc --readme none --plugin typedoc-plugin-markdown,typedoc-plugin-external-module-name --theme markdown --out docsMD src","docshtml":"npx typedoc --plugin typedoc-plugin-external-module-name --mode file src","prettier":"npx prettier --write .","prebundle":"yarn build","prepublish":"yarn build","test-watch":"jest --watch","prettier-src":"prettier --write ./src","prettier-check":"prettier --check ./src ./examples ./tests ./__mocks__ .github/**/*.yml","release:prepare":"rm -rf ./dist ./node_modules && yarn install && yarn test && yarn build && yarn bundle && git status","transpile:examles":"ts-node -r tsconfig-paths/register examples/<your file>.ts"},"_npmUser":{"name":"c4t-npm-user","email":"tech@chain4travel.com"},"prettier":{"semi":false,"useTabs":false,"tabWidth":2,"singleQuote":false,"trailingComma":"none","jsxBracketSameLine":false},"repository":{"url":"git+https://github.com/chain4travel/caminojs.git","type":"git"},"_npmVersion":"8.19.4","description":"Camino Platform JS Library","directories":{"test":"tests","example":"examples"},"lint-staged":{"**/*":"prettier --write --ignore-unknown","*.{ts,tsx}":"eslint --fix --max-warnings 0"},"resolutions":{"json5":"2.2.3"},"_nodeVersion":"16.20.2","dependencies":{"ws":"8.12.1","axios":"^0.26.1","bip39":"3.1.0","bn.js":"5.1.1","hdkey":"2.1.0","assert":"2.0.0","bech32":"^2.0.0","buffer":"^5.5.0","ethers":"6.0.8","store2":"2.14.2","elliptic":"6.5.4","create-hash":"1.2.0","randombytes":"^2.1.0","isomorphic-ws":"5.0.0","crypto-browserify":"3.12.0","stream-browserify":"3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"xss":"1.0.14","jest":"29.4.3","web3":"^1.8.2","yarn":"^1.22.22","eslint":"^7.32.0","ts-jest":"29.0.5","ts-node":"^10.9.2","typedoc":"0.23.26","webpack":"5.74.0","prettier":"2.8.4","ts-loader":"9.4.2","typescript":"4.9.5","@types/jest":"29.4.0","@types/node":"18.14.2","lint-staged":"13.1.2","webpack-cli":"4.10.0","@types/bn.js":"5.1.0","@types/hdkey":"2.0.1","@types/bech32":"1.1.4","tsconfig-paths":"^4.2.0","jest-mock-axios":"4.5.0","semantic-release":"19.0.5","@types/create-hash":"1.2.2","html-webpack-plugin":"5.5.0","clean-webpack-plugin":"4.0.0","@semantic-release/git":"10.0.1","terser-webpack-plugin":"5.3.6","eslint-config-prettier":"8.6.0","eslint-plugin-prettier":"4.2.1","eslint-plugin-security":"1.7.1","typedoc-plugin-markdown":"3.14.0","@typescript-eslint/parser":"5.54.0","@semantic-release/changelog":"6.0.2","git-revision-webpack-plugin":"5.0.0","@typescript-eslint/eslint-plugin":"5.54.0","typedoc-plugin-external-module-name":"4.0.6"},"_npmOperationalInternal":{"tmp":"tmp/caminojs_1.2.0-rc1_1730974797714_0.9999441253412042","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"@c4tplatform/caminojs","version":"1.3.0","keywords":["camino","blockchain","travel"],"author":{"name":"C4T Team","email":"devs@chain4travel.com"},"license":"BSD-3-Clause","_id":"@c4tplatform/caminojs@1.3.0","maintainers":[{"name":"noctunus","email":"noctunus@googlemail.com"},{"name":"mo-c4t","email":"mohamed.elmoslemany@chain4travel.com"},{"name":"c4t-npm-user","email":"tech@chain4travel.com"},{"name":"achrafeddaqqaq","email":"achraf.eddaqqaq@chain4travel.com"},{"name":"agoumi","email":"Agoumi94@gmail.com"},{"name":"peak3d","email":"markus.pfau@chain4travel.com"},{"name":"charalarg","email":"charalarg@gmail.com"}],"contributors":[{"name":"Gabriel Cardona","email":"gabriel@avalabs.org"},{"name":"Evan Richard","email":"evan@avalabs.org"},{"name":"Paul Kim","email":"paul.kim@avalabs.org"},{"name":"Raj Ranjan","email":"raj.ranjan@avalabs.org"},{"name":"Gergely Lovas","email":"gergely.lovas@avalabs.org"},{"name":"Dhruba Basu","email":"dhruba@avalabs.org"}],"homepage":"https://github.com/chain4travel/caminojs#readme","bugs":{"url":"https://github.com/chain4travel/caminojs/issues"},"dist":{"shasum":"7002473e1c53596514dcde7558fd7a936f0c99e4","tarball":"https://registry.npmjs.org/@c4tplatform/caminojs/-/caminojs-1.3.0.tgz","fileCount":393,"integrity":"sha512-PVfYw74n24PZdsKgjwErzpTN9ijMoG0qyK3AoTHOx1bqtOlJzVN0jjOvVMVl/cfmMuqRCk+zgGDcLRBfYdBu3w==","signatures":[{"sig":"MEQCIHDDucbDhBnfcI5p46rWM2dRIToPFyfFi2AbBccu1u/ZAiBvWaJGkwxMUc+xSEyf1PWz4m3BRTqxOqSDBrapD9Eg/Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4042593},"main":"dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=14.0.0"},"gitHead":"dc8f218809039909c4b053f77bcc100836d39a27","scripts":{"docs":"rm -rf docsMD && yarn build && npx typedoc --readme none --theme markdown --out docs","lint":"eslint ./ --ext js,ts --fix","test":"jest","build":"rm -rf dist && npx tsc -b tsconfig_build.json","clean":"rm -rf node_modules dist coverage package-lock.json yarn.lock","bundle":"webpack --mode production","docsmd":"npx typedoc --readme none --plugin typedoc-plugin-markdown,typedoc-plugin-external-module-name --theme markdown --out docsMD src","docshtml":"npx typedoc --plugin typedoc-plugin-external-module-name --mode file src","prettier":"npx prettier --write .","prebundle":"yarn build","prepublish":"yarn build","test-watch":"jest --watch","prettier-src":"prettier --write ./src","prettier-check":"prettier --check ./src ./examples ./tests ./__mocks__ .github/**/*.yml","release:prepare":"rm -rf ./dist ./node_modules && yarn install && yarn test && yarn build && yarn bundle && git status","transpile:examles":"ts-node -r tsconfig-paths/register examples/<your file>.ts"},"_npmUser":{"name":"c4t-npm-user","email":"tech@chain4travel.com"},"prettier":{"semi":false,"useTabs":false,"tabWidth":2,"singleQuote":false,"trailingComma":"none","jsxBracketSameLine":false},"repository":{"url":"git+https://github.com/chain4travel/caminojs.git","type":"git"},"_npmVersion":"8.19.4","description":"Camino Platform JS Library","directories":{"test":"tests","example":"examples"},"lint-staged":{"**/*":"prettier --write --ignore-unknown","*.{ts,tsx}":"eslint --fix --max-warnings 0"},"resolutions":{"json5":"2.2.3"},"_nodeVersion":"16.20.2","dependencies":{"ws":"8.12.1","axios":"^0.26.1","bip39":"3.1.0","bn.js":"5.1.1","hdkey":"2.1.0","assert":"2.0.0","bech32":"^2.0.0","buffer":"^5.5.0","ethers":"6.0.8","store2":"2.14.2","elliptic":"6.5.4","create-hash":"1.2.0","randombytes":"^2.1.0","isomorphic-ws":"5.0.0","crypto-browserify":"3.12.0","stream-browserify":"3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"xss":"1.0.14","jest":"29.4.3","web3":"^1.8.2","yarn":"^1.22.22","eslint":"^7.32.0","ts-jest":"29.0.5","ts-node":"^10.9.2","typedoc":"0.23.26","webpack":"5.74.0","prettier":"2.8.4","ts-loader":"9.4.2","typescript":"4.9.5","@types/jest":"29.4.0","@types/node":"18.14.2","lint-staged":"13.1.2","webpack-cli":"4.10.0","@types/bn.js":"5.1.0","@types/hdkey":"2.0.1","@types/bech32":"1.1.4","tsconfig-paths":"^4.2.0","jest-mock-axios":"4.5.0","semantic-release":"19.0.5","@types/create-hash":"1.2.2","html-webpack-plugin":"5.5.0","clean-webpack-plugin":"4.0.0","@semantic-release/git":"10.0.1","terser-webpack-plugin":"5.3.6","eslint-config-prettier":"8.6.0","eslint-plugin-prettier":"4.2.1","eslint-plugin-security":"1.7.1","typedoc-plugin-markdown":"3.14.0","@typescript-eslint/parser":"5.54.0","@semantic-release/changelog":"6.0.2","git-revision-webpack-plugin":"5.0.0","@typescript-eslint/eslint-plugin":"5.54.0","typedoc-plugin-external-module-name":"4.0.6"},"_npmOperationalInternal":{"tmp":"tmp/caminojs_1.3.0_1734700181434_0.9946951111733597","host":"s3://npm-registry-packages-npm-production"}},"1.3.1":{"name":"@c4tplatform/caminojs","version":"1.3.1","keywords":["camino","blockchain","travel"],"author":{"name":"C4T Team","email":"devs@chain4travel.com"},"license":"BSD-3-Clause","_id":"@c4tplatform/caminojs@1.3.1","maintainers":[{"name":"noctunus","email":"noctunus@googlemail.com"},{"name":"mo-c4t","email":"mohamed.elmoslemany@chain4travel.com"},{"name":"c4t-npm-user","email":"tech@chain4travel.com"},{"name":"achrafeddaqqaq","email":"achraf.eddaqqaq@chain4travel.com"},{"name":"agoumi","email":"Agoumi94@gmail.com"},{"name":"peak3d","email":"markus.pfau@chain4travel.com"},{"name":"charalarg","email":"charalarg@gmail.com"}],"contributors":[{"name":"Gabriel Cardona","email":"gabriel@avalabs.org"},{"name":"Evan Richard","email":"evan@avalabs.org"},{"name":"Paul Kim","email":"paul.kim@avalabs.org"},{"name":"Raj Ranjan","email":"raj.ranjan@avalabs.org"},{"name":"Gergely Lovas","email":"gergely.lovas@avalabs.org"},{"name":"Dhruba Basu","email":"dhruba@avalabs.org"}],"homepage":"https://github.com/chain4travel/caminojs#readme","bugs":{"url":"https://github.com/chain4travel/caminojs/issues"},"dist":{"shasum":"1b7566b2321ce9d5a16cd535de28e8bc9b99f60a","tarball":"https://registry.npmjs.org/@c4tplatform/caminojs/-/caminojs-1.3.1.tgz","fileCount":393,"integrity":"sha512-ABvw9gblW6ls8MkuGJtSw9E4dqKs5FJPIMEZwRKDVBrx2L/EE9WRSQiLOd+3g+zGoo+HvTniq+lCZMpkYmaQXQ==","signatures":[{"sig":"MEUCIEFoPrZvmcpY7ivUMA9ucj+EZEYigfAEw7NXc3XXrJYQAiEAvmgdYVGCBVBMrVfeUiiiIDK51nVF6c5CjOv6frmpsgM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4043697},"main":"dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=14.0.0"},"gitHead":"bc19a0b8223073fa47ef4d72d8153a0b52e62182","scripts":{"docs":"rm -rf docsMD && yarn build && npx typedoc --readme none --theme markdown --out docs","lint":"eslint ./ --ext js,ts --fix","test":"jest","build":"rm -rf dist && npx tsc -b tsconfig_build.json","clean":"rm -rf node_modules dist coverage package-lock.json yarn.lock","bundle":"webpack --mode production","docsmd":"npx typedoc --readme none --plugin typedoc-plugin-markdown,typedoc-plugin-external-module-name --theme markdown --out docsMD src","docshtml":"npx typedoc --plugin typedoc-plugin-external-module-name --mode file src","prettier":"npx prettier --write .","prebundle":"yarn build","prepublish":"yarn build","test-watch":"jest --watch","prettier-src":"prettier --write ./src","prettier-check":"prettier --check ./src ./examples ./tests ./__mocks__ .github/**/*.yml","release:prepare":"rm -rf ./dist ./node_modules && yarn install && yarn test && yarn build && yarn bundle && git status","transpile:examles":"ts-node -r tsconfig-paths/register examples/<your file>.ts"},"_npmUser":{"name":"c4t-npm-user","email":"tech@chain4travel.com"},"prettier":{"semi":false,"useTabs":false,"tabWidth":2,"singleQuote":false,"trailingComma":"none","jsxBracketSameLine":false},"repository":{"url":"git+https://github.com/chain4travel/caminojs.git","type":"git"},"_npmVersion":"8.19.4","description":"Camino Platform JS Library","directories":{"test":"tests","example":"examples"},"lint-staged":{"**/*":"prettier --write --ignore-unknown","*.{ts,tsx}":"eslint --fix --max-warnings 0"},"resolutions":{"json5":"2.2.3"},"_nodeVersion":"16.20.2","dependencies":{"ws":"8.12.1","axios":"^0.26.1","bip39":"3.1.0","bn.js":"5.1.1","hdkey":"2.1.0","assert":"2.0.0","bech32":"^2.0.0","buffer":"^5.5.0","ethers":"6.0.8","store2":"2.14.2","elliptic":"6.5.4","create-hash":"1.2.0","randombytes":"^2.1.0","isomorphic-ws":"5.0.0","crypto-browserify":"3.12.0","stream-browserify":"3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"xss":"1.0.14","jest":"29.4.3","web3":"^1.8.2","yarn":"^1.22.22","eslint":"^7.32.0","ts-jest":"29.0.5","ts-node":"^10.9.2","typedoc":"0.23.26","webpack":"5.74.0","prettier":"2.8.4","ts-loader":"9.4.2","typescript":"4.9.5","@types/jest":"29.4.0","@types/node":"18.14.2","lint-staged":"13.1.2","webpack-cli":"4.10.0","@types/bn.js":"5.1.0","@types/hdkey":"2.0.1","@types/bech32":"1.1.4","tsconfig-paths":"^4.2.0","jest-mock-axios":"4.5.0","semantic-release":"19.0.5","@types/create-hash":"1.2.2","html-webpack-plugin":"5.5.0","clean-webpack-plugin":"4.0.0","@semantic-release/git":"10.0.1","terser-webpack-plugin":"5.3.6","eslint-config-prettier":"8.6.0","eslint-plugin-prettier":"4.2.1","eslint-plugin-security":"1.7.1","typedoc-plugin-markdown":"3.14.0","@typescript-eslint/parser":"5.54.0","@semantic-release/changelog":"6.0.2","git-revision-webpack-plugin":"5.0.0","@typescript-eslint/eslint-plugin":"5.54.0","typedoc-plugin-external-module-name":"4.0.6"},"_npmOperationalInternal":{"tmp":"tmp/caminojs_1.3.1_1740574763521_0.2665943904082735","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"name":"@c4tplatform/caminojs","version":"1.4.0","keywords":["camino","blockchain","travel"],"author":{"name":"C4T Team","email":"devs@chain4travel.com"},"license":"BSD-3-Clause","_id":"@c4tplatform/caminojs@1.4.0","maintainers":[{"name":"noctunus","email":"noctunus@googlemail.com"},{"name":"mo-c4t","email":"mohamed.elmoslemany@chain4travel.com"},{"name":"c4t-npm-user","email":"tech@chain4travel.com"},{"name":"achrafeddaqqaq","email":"achraf.eddaqqaq@chain4travel.com"},{"name":"agoumi","email":"Agoumi94@gmail.com"},{"name":"peak3d","email":"markus.pfau@chain4travel.com"},{"name":"charalarg","email":"charalarg@gmail.com"}],"contributors":[{"name":"Gabriel Cardona","email":"gabriel@avalabs.org"},{"name":"Evan Richard","email":"evan@avalabs.org"},{"name":"Paul Kim","email":"paul.kim@avalabs.org"},{"name":"Raj Ranjan","email":"raj.ranjan@avalabs.org"},{"name":"Gergely Lovas","email":"gergely.lovas@avalabs.org"},{"name":"Dhruba Basu","email":"dhruba@avalabs.org"}],"homepage":"https://github.com/chain4travel/caminojs#readme","bugs":{"url":"https://github.com/chain4travel/caminojs/issues"},"dist":{"shasum":"436939507949fcd0ef3189b3275a4eb71b1e2e26","tarball":"https://registry.npmjs.org/@c4tplatform/caminojs/-/caminojs-1.4.0.tgz","fileCount":393,"integrity":"sha512-4jl2LPV3uG/VXK2s0r3hiLGPqSaqaDQ90Ks2XFVXJrMxp91NPLqaHv2VTZucL48eNcP38tT7soLV65FWHGSc+g==","signatures":[{"sig":"MEUCIQDbWtZFFjSrVPYOzCRVPtT6Cy0YVcDlnjyXBczyV0L4zQIgHkX7Xn59WwqB189umrJq3zLPo7K7yhMMMQo9xRS9vGo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4061481},"main":"dist/index.js","types":"./dist/index.d.ts","engines":{"node":">=14.0.0"},"gitHead":"cb59a8ed70f3283212ab0a0651569ffa28c5215c","scripts":{"docs":"rm -rf docsMD && yarn build && npx typedoc --readme none --theme markdown --out docs","lint":"eslint ./ --ext js,ts --fix","test":"jest","build":"rm -rf dist && npx tsc -b tsconfig_build.json","clean":"rm -rf node_modules dist coverage package-lock.json yarn.lock","bundle":"webpack --mode production","docsmd":"npx typedoc --readme none --plugin typedoc-plugin-markdown,typedoc-plugin-external-module-name --theme markdown --out docsMD src","docshtml":"npx typedoc --plugin typedoc-plugin-external-module-name --mode file src","prettier":"npx prettier --write .","prebundle":"yarn build","prepublish":"yarn build","test-watch":"jest --watch","prettier-src":"prettier --write ./src","prettier-check":"prettier --check ./src ./examples ./tests ./__mocks__ .github/**/*.yml","release:prepare":"rm -rf ./dist ./node_modules && yarn install && yarn test && yarn build && yarn bundle && git status","transpile:examples":"ts-node -r tsconfig-paths/register examples/<your file>.ts"},"_npmUser":{"name":"c4t-npm-user","email":"tech@chain4travel.com"},"prettier":{"semi":false,"useTabs":false,"tabWidth":2,"singleQuote":false,"trailingComma":"none","jsxBracketSameLine":false},"repository":{"url":"git+https://github.com/chain4travel/caminojs.git","type":"git"},"_npmVersion":"8.19.4","description":"Camino Platform JS Library","directories":{"test":"tests","example":"examples"},"lint-staged":{"**/*":"prettier --write --ignore-unknown","*.{ts,tsx}":"eslint --fix --max-warnings 0"},"resolutions":{"json5":"2.2.3"},"_nodeVersion":"16.20.2","dependencies":{"ws":"8.12.1","axios":"^0.26.1","bip39":"3.1.0","bn.js":"5.1.1","hdkey":"2.1.0","assert":"2.0.0","bech32":"^2.0.0","buffer":"^5.5.0","ethers":"6.0.8","store2":"2.14.2","elliptic":"6.5.4","create-hash":"1.2.0","randombytes":"^2.1.0","isomorphic-ws":"5.0.0","crypto-browserify":"3.12.0","stream-browserify":"3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"xss":"1.0.14","jest":"29.4.3","web3":"^1.8.2","yarn":"^1.22.22","eslint":"^7.32.0","ts-jest":"29.0.5","ts-node":"^10.9.2","typedoc":"0.23.26","webpack":"5.74.0","prettier":"2.8.4","ts-loader":"9.4.2","typescript":"4.9.5","@types/jest":"29.4.0","@types/node":"18.14.2","lint-staged":"13.1.2","webpack-cli":"4.10.0","@types/bn.js":"5.1.0","@types/hdkey":"2.0.1","@types/bech32":"1.1.4","tsconfig-paths":"^4.2.0","jest-mock-axios":"4.5.0","semantic-release":"19.0.5","@types/create-hash":"1.2.2","html-webpack-plugin":"5.5.0","clean-webpack-plugin":"4.0.0","@semantic-release/git":"10.0.1","terser-webpack-plugin":"5.3.6","eslint-config-prettier":"8.6.0","eslint-plugin-prettier":"4.2.1","eslint-plugin-security":"1.7.1","typedoc-plugin-markdown":"3.14.0","@typescript-eslint/parser":"5.54.0","@semantic-release/changelog":"6.0.2","git-revision-webpack-plugin":"5.0.0","@typescript-eslint/eslint-plugin":"5.54.0","typedoc-plugin-external-module-name":"4.0.6"},"_npmOperationalInternal":{"tmp":"tmp/caminojs_1.4.0_1746629938318_0.3527724095248501","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2022-10-25T08:48:10.599Z","modified":"2025-05-22T12:44:31.511Z","1.0.0":"2022-10-25T08:48:10.841Z","1.0.1":"2024-06-21T08:05:53.775Z","1.1.0-rc1":"2024-06-21T11:26:31.305Z","1.1.0-rc2":"2024-08-07T12:46:00.057Z","1.2.0-rc1":"2024-11-07T10:19:57.971Z","1.3.0":"2024-12-20T13:09:41.811Z","1.3.1":"2025-02-26T12:59:23.833Z","1.4.0":"2025-05-07T14:58:58.602Z"},"bugs":{"url":"https://github.com/chain4travel/caminojs/issues"},"author":{"name":"C4T Team","email":"devs@chain4travel.com"},"license":"BSD-3-Clause","homepage":"https://github.com/chain4travel/caminojs#readme","keywords":["camino","blockchain","travel"],"repository":{"url":"git+https://github.com/chain4travel/caminojs.git","type":"git"},"description":"Camino Platform JS Library","contributors":[{"name":"Gabriel Cardona","email":"gabriel@avalabs.org"},{"name":"Evan Richard","email":"evan@avalabs.org"},{"name":"Paul Kim","email":"paul.kim@avalabs.org"},{"name":"Raj Ranjan","email":"raj.ranjan@avalabs.org"},{"name":"Gergely Lovas","email":"gergely.lovas@avalabs.org"},{"name":"Dhruba Basu","email":"dhruba@avalabs.org"}],"maintainers":[{"email":"noctunus@googlemail.com","name":"noctunus"},{"email":"mohamed.elmoslemany@chain4travel.com","name":"mo-c4t"},{"email":"tech@chain4travel.com","name":"c4t-npm-user"},{"email":"achraf.eddaqqaq@chain4travel.com","name":"achrafeddaqqaq"},{"email":"markus.pfau@chain4travel.com","name":"peak3d"},{"email":"ekrem.seren@gmail.com","name":"havandelen"}],"readme":"# CaminoJS - The Camino Platform JavaScript Library\n\n## Overview\n\nCaminoJS is a JavaScript Library for interfacing with the Camino Platform. It is built using TypeScript and intended to support both browser and Node.js. The CaminoJS library allows you to issue transactions to the Camino node APIs.\n\nThe APIs currently supported by default are:\n\n* Admin API\n* Auth API\n* AVM API (X-Chain)\n* EVM API (C-Chain)\n* Health API\n* Index API\n* Info API\n* Keystore API\n* Metrics API\n* PlatformVM API (P-Chain)\n* Socket\n\nWe built CaminoJS with ease of use in mind. With this library, any Javascript developer is able to interact with a node on the Camino Platform who has enabled their API endpoints for the developer's consumption. We keep the library up-to-date with the latest changes in the [Camino Platform Specification](https://docs.camino.foundation).\n\n  Using CaminoJS, developers can:\n\n* Locally manage private keys\n* Retrieve balances on addresses\n* Get UTXOs for addresses\n* Build and sign transactions\n* Issue signed transactions to the X-Chain, P-Chain, and C-Chain\n* Perform cross-chain swaps between the X-Chain<->P-Chain and between the X-Chain<->C-Chain\n* Add Validators and Deposits to the Primary Subnetwork by staking CAM\n* Create a Subnetwork\n* Administer a local node\n* Retrieve Camino network information from a node\n\n## Requirements\n\nCaminoJS requires Node.js LTS version 14.16.0 or higher to compile.\n\n## Installation\n\nCaminoJS is available for install via `yarn`:\n\n`yarn add @c4tplatform/caminojs`\n\nYou can also pull the repo down directly and build it from scratch:\n\n`yarn build`\n\nThis will generate a pure Javascript library and place it in a folder named \"web\" in the project root. The \"camino.js\" file can then be dropped into any project as a pure javascript implementation of Camino.\n\nThe CaminoJS library can be imported into your existing Node.js project as follows:\n\n```js\nconst Camino = require(\"@c4tplatform/caminojs\")\n```\n\nOr into your TypeScript project like this:\n\n```js\nimport { Camino } from \"@c4tplatform/caminojs\"\n```\n\n## Versioning & releases\nThis project uses [SemVer](https://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/chain4travel/caminojs/tags).\nA manual release process is followed and consists of the following steps:\n - version of the package.json is manually updated\n    - suffix -rc1, -rc2 ... is used for release candidates \n - a new tag is created with an identical version\n - a release is created and published based on the newly created tag. Auto-generated release notes are encouraged.\n - the publishing of the release triggers the workflow responsible for publishing the library as a npm package.\n\n## Importing essentials\n\n```js\nimport { Camino, BinTools, BN, Buffer } from \"@c4tplatform/caminojs\"\n\nconst bintools = BinTools.getInstance()\n```\n\nThe above lines import the libraries used in the tutorials. The libraries include:\n\n* Camino: Our javascript module.\n* BinTools: A singleton built into CaminoJS that is used for dealing with binary data.\n* [BN](https://www.npmjs.com/package/bn.js): A bignumber module use by CaminoJS.\n* [Buffer](https://www.npmjs.com/package/buffer): A Buffer library.\n\n\n## Releasing dist branch\n\n1. Create a branch derived from `dev` with `git checkout -b dev_dist`\n2. `git rebase dist` \n3. `yarn build`\n4. Commit changes with message containing short summary of changes being released\n5. Remove `dist` branch with `git branch -d dist`\n6. Rename `dev_dist` to `dist` with `git branch -m dev_dist dist`\n7. Push changes with `git push --set-upstream origin dist`\n\n## Example 1 &mdash; Managing X-Chain Keys\n\nCaminoJS comes with its own AVM Keychain. This KeyChain is used in the functions of the API, enabling them to sign using keys it's registered. The first step in this process is to create an instance of CaminoJS connected to our Camino Platform endpoint of choice.\n\n```js\nimport { Camino, BinTools, Buffer, BN } from \"@c4tplatform/caminojs\"\n\nconst bintools = BinTools.getInstance()\n\nconst myNetworkID = 12345 //default is 1, we want to override that for our local network\nconst Camino = new Camino(\"localhost\", 9650, \"http\", myNetworkID)\nconst xchain = Camino.XChain() //returns a reference to the X-Chain used by CaminoJS\n```\n\n### Accessing the KeyChain\n\nThe KeyChain is accessed through the X-Chain and can be referenced directly or through a reference variable.\n\n```js\nconst myKeychain = xchain.keyChain()\n```\n\nThis exposes the instance of the class AVMKeyChain which is created when the X-Chain API is created. At present, this supports secp256k1 curve for ECDSA key pairs.\n\n### Creating X-Chain key pairs\n\nThe KeyChain has the ability to create new KeyPairs for you and return the address associated with the key pair.\n\n```js\nconst newAddress1 = myKeychain.makeKey() // returns an instance of the KeyPair class\n```\n\nYou may also import your existing private key into the KeyChain using either a Buffer...\n\n```js\nconst mypk = bintools.cb58Decode(\n  \"JaCCSxdoWfo3ao5KwenXrJjJR7cBTQ287G1C5qpv2hr2tCCdb\"\n) // returns a Buffer\nconst newAddress2 = myKeychain.importKey(mypk) // returns an instance of the KeyPair class\n```\n\n... or an CB58 string works, too:\n\n```js\nconst mypk = \"PrivateKey-JaCCSxdoWfo3ao5KwenXrJjJR7cBTQ287G1C5qpv2hr2tCCdb\"\nconst newAddress2 = myKeychain.importKey(mypk) // returns an instance of the KeyPair class\n```\n\n### Working with KeyChains\n\nThe X-Chains's KeyChain has standardized key management capabilities. The following functions are available on any KeyChain that implements this interface.\n\n```js\nconst addresses = myKeychain.getAddresses() // returns an array of Buffers for the addresses\nconst addressStrings = myKeychain.getAddressStrings() // returns an array of strings for the addresses\nconst exists = myKeychain.hasKey(addresses[0]) // returns true if the address is managed\nconst keypair = myKeychain.getKey(addresses[0]) // returns the KeyPair class\n```\n\n### Working with KeyPairs\n\nThe X-Chain's KeyPair has standardized KeyPair functionality. The following operations are available on any KeyPair that implements this interface.\n\n```js\nconst address = keypair.getAddress() // returns Buffer\nconst addressString = keypair.getAddressString() // returns string\n\nconst pubk = keypair.getPublicKey() // returns Buffer\nconst pubkstr = keypair.getPublicKeyString() // returns a CB58 encoded string\n\nconst privk = keypair.getPrivateKey() //returns Buffer\nconst privkstr = keypair.getPrivateKeyString() //returns a CB58 encoded string\n\nkeypair.generateKey() // creates a new random KeyPair\n\nconst mypk = bintools.cb58Decode(\n  \"24jUJ9vZexUM6expyMcT48LBx27k1m7xpraoV62oSQAHdziao5\"\n)\nconst successful = keypair.importKey(mypk) // returns boolean if private key imported successfully\n\nconst message = Buffer.from(\"Through consensus to the stars\")\nconst signature = keypair.sign(message) // returns a Buffer with the signature\n\nconst signerPubk = keypair.recover(message, signature) // returns a Buffer\nconst isValid = keypair.verify(message, signature) // returns a boolean\n```\n\n## Example 2 &mdash; Creating An Asset\n\nThis example creates an asset in the X-Chain and publishes it to the Camino Platform. The first step in this process is to create an instance of CaminoJS connected to our Camino Platform endpoint of choice.\n\n```js\nimport { Camino, BinTools, Buffer, BN } from \"@c4tplatform/caminojs\"\nimport { InitialStates, SECPTransferOutput } from \"@c4tplatform/caminojs/dist/apis/avm\"\n\nconst myNetworkID = 12345 // default is 1, we want to override that for our local network\nconst Camino = new Camino(\"localhost\", 9650, \"http\", myNetworkID)\nconst xchain = Camino.XChain() // returns a reference to the X-Chain used by CaminoJS\n```\n\n### Describe the new asset\n\nThe first steps in creating a new asset using CaminoJS is to determine the qualities of the asset. We will give the asset a name, a ticker symbol, as well as a denomination.\n\n```js\n// Name our new coin and give it a symbol\nconst name = \"World Token\"\nconst symbol = \"WORLD\"\n\n// Where is the decimal point indicate what 1 asset is and where fractional assets begin\n// Ex: 1 CAM is denomination 9, so the smallest unit of CAM is nanoCAM (nCAM) at 10^-9 CAM\nconst denomination = 9\n```\n\n### Creating the initial state\n\nWe want to mint an asset with 400 coins to all of our managed keys, 500 to the second address we know of, and 600 to the second and third address. This sets up the state that will result from the Create Asset transaction.\n\n_Note: This example assumes we have the keys already managed in our X-Chain's Keychain._\n\n```js\nconst addresses = xchain.keyChain().getAddresses()\n\n// Create outputs for the asset's initial state\nconst secpOutput1 = new SECPTransferOutput(\n  new BN(400),\n  new BN(400),\n  1,\n  addresses\n)\nconst secpOutput2 = new SECPTransferOutput(new BN(500), new BN(400), 1, [\n  addresses[1],\n])\nconst secpOutput3 = new SECPTransferOutput(new BN(600), new BN(400), 1, [\n  addresses[1],\n  addresses[2],\n])\n\n// Populate the initialStates with the outputs\nconst initialState = new InitialStates()\ninitialState.addOutput(secpOutput1)\ninitialState.addOutput(secpOutput2)\ninitialState.addOutput(secpOutput3)\n```\n\n### Creating the signed transaction\n\nNow that we know what we want an asset to look like, we create an output to send to the network. There is an AVM helper function `buildCreateAssetTx()` which does just that.\n\n```js\n// Fetch the UTXOSet for our addresses\nconst utxos = await xchain.getUTXOs(addresses)\n\n// Make an unsigned Create Asset transaction from the data compiled earlier\nconst unsigned = await xchain.buildCreateAssetTx(\n  utxos, // the UTXOSet containing the UTXOs we're going to spend\n  addresses, // the addresses which will pay the fees\n  addresses, // the addresses which recieve the change from the spent UTXOs\n  initialState, // the initial state to be created for this new asset\n  name, // the full name of the asset\n  symbol, // a short ticker symbol for the asset\n  denomination // the asse's denomination\n)\n\nconst signed = unsigned.sign(xchain) // returns a Tx class\n```\n\n### Issue the signed transaction\n\nNow that we have a signed transaction ready to send to the network, let's issue it!\n\nUsing the CaminoJS X-Chain API, we going to call the `issueTx` function. This function can take either the Tx class returned in the previous step, a CB58 representation of the transaction, or a raw Buffer class with the data for the transaction. Examples of each are below:\n\n```js\n// using the Tx class\nconst txid = await xchain.issueTx(signed) // returns a CB58 serialized string for the TxID\n```\n\n```js\n// using the base-58 representation\nconst txid = await xchain.issueTx(signed.toString()) // returns a CB58 serialized string for the TxID\n```\n\n```js\n// using the transaction Buffer\nconst txid = await xchain.issueTx(signed.toBuffer()) // returns a CB58 serialized string for the TxID\n```\n\nWe assume ONE of those methods are used to issue the transaction.\n\n### Get the status of the transaction\n\nNow that we sent the transaction to the network, it takes a few seconds to determine if the transaction has gone through. We can get an updated status on the transaction using the TxID through the AVM API.\n\n```js\n// returns one of: \"Accepted\", \"Processing\", \"Unknown\", and \"Rejected\"\nconst status = await xchain.getTxStatus(txid)\n```\n\nThe statuses can be one of \"Accepted\", \"Processing\", \"Unknown\", and \"Rejected\":\n\n* \"Accepted\" indicates that the transaction has been accepted as valid by the network and executed\n* \"Processing\" indicates that the transaction is being voted on.\n* \"Unknown\" indicates that node knows nothing about the transaction, indicating the node doesn't have it\n* \"Rejected\" indicates the node knows about the transaction, but it conflicted with an accepted transaction\n\n### Identifying the newly created asset\n\nThe X-Chain uses the TxID of the transaction which created the asset as the unique identifier for the asset. This unique identifier is henceforth known as the \"AssetID\" of the asset. When assets are traded around the X-Chain, they always reference the AssetID that they represent.\n\n## Example 3 &mdash; Sending An Asset\n\nThis example sends an asset in the X-Chain to a single recipient. The first step in this process is to create an instance of Camino connected to our Camino Platform endpoint of choice.\n\n```js\nimport { Camino, BinTools, Buffer, BN } from \"@c4tplatform/caminojs\"\n\nconst myNetworkID = 12345 // default is 1, we want to override that for our local network\nconst Camino = new Camino.Camino(\n  \"localhost\",\n  9650,\n  \"http\",\n  myNetworkID\n)\nconst xchain = Camino.XChain() // returns a reference to the X-Chain used by CaminoJS\n```\n\nWe're also assuming that the keystore contains a list of addresses used in this transaction.\n\n### Getting the UTXO Set\n\nThe X-Chain stores all available balances in a datastore called Unspent Transaction Outputs (UTXOs). A UTXO Set is the unique list of outputs produced by transactions, addresses that can spend those outputs, and other variables such as lockout times (a timestamp after which the output can be spent) and thresholds (how many signers are required to spend the output).\n\nFor the case of this example, we're going to create a simple transaction that spends an amount of available coins and sends it to a single address without any restrictions. The management of the UTXOs will mostly be abstracted away.\n\nHowever, we do need to get the UTXO Set for the addresses we're managing.\n\n```js\nconst myAddresses = xchain.keyChain().getAddresses() // returns an array of addresses the KeyChain manages as buffers\nconst addressStrings = xchain.keyChain().getAddressStrings() // returns an array of addresses the KeyChain manages as strings\nconst u = await xchain.getUTXOs(myAddresses)\nconst utxos = u.utxos\n```\n\n### Spending the UTXOs\n\nThe `buildBaseTx()` helper function sends a single asset type. We have a particular assetID whose coins we want to send to a recipient address. This is an imaginary asset for this example which we believe to have 400 coins. Let's verify that we have the funds available for the transaction.\n\n```js\nconst assetID = \"8pfG5CTyL5KBVaKrEnCvNJR95dUWAKc1hrffcVxfgi8qGhqjm\" // cb58 string\nconst mybalance = utxos.getBalance(myAddresses, assetID) // returns 400 as a BN\n```\n\nWe have 400 coins! We're going to now send 100 of those coins to our friend's address.\n\n```js\nconst sendAmount = new BN(100) // amounts are in BN format\nconst friendsAddress = \"X-local1k26jvfdzyukms95puxcceyzsa3lzwf5ftt0fjk\" // address format is Bech32\n\n// The below returns a UnsignedTx\n// Parameters sent are (in order of appearance):\n//   * The UTXO Set\n//   * The amount being sent as a BN\n//   * An array of addresses to send the funds\n//   * An array of addresses sending the funds\n//   * An array of addresses any leftover funds are sent\n//   * The AssetID of the funds being sent\nconst unsignedTx = await xchain.buildBaseTx(\n  utxos,\n  sendAmount,\n  [friendsAddress],\n  addressStrings,\n  addressStrings,\n  assetID\n)\nconst signedTx = xchain.signTx(unsignedTx)\nconst txid = await xchain.issueTx(signedTx)\n```\n\nAnd the transaction is sent!\n\n### Get the status of the transaction\n\nNow that we sent the transaction to the network, it takes a few seconds to determine if the transaction has gone through. We can get an updated status on the transaction using the TxID through the X-Chain.\n\n```js\n// returns one of: \"Accepted\", \"Processing\", \"Unknown\", and \"Rejected\"\nconst status = await xchain.getTxStatus(txid)\n```\n\nThe statuses can be one of \"Accepted\", \"Processing\", \"Unknown\", and \"Rejected\":\n\n* \"Accepted\" indicates that the transaction has been accepted as valid by the network and executed\n* \"Processing\" indicates that the transaction is being voted on.\n* \"Unknown\" indicates that node knows nothing about the transaction, indicating the node doesn't have it\n* \"Rejected\" indicates the node knows about the transaction, but it conflicted with an accepted transaction\n\n### Check the results\n\nThe transaction finally came back as \"Accepted\", now let's update the UTXOSet and verify that the transaction balance is as we expected.\n\n*Note: In a real network the balance isn't guaranteed to match this scenario. Transaction fees or additional spends may vary the balance. For the purpose of this example, we assume neither of those cases.*\n\n```js\nconst updatedU = await xchain.getUTXOs()\nconst updatedUTXOs = updatedU.utxos\nconst newBalance = updatedUTXOs.getBalance(myAddresses, assetID)\nif (newBalance.toNumber() != mybalance.sub(sendAmount).toNumber()) {\n  throw Error(\"heyyy these should equal!\")\n}\n```\n## Running examples\nThe examples provided in `examples` folder are designed to import caminoJS from a npm package. A package.json is part\nof this folder which allows you to fetch all required packages to run the examples.\nBy default, instead pulling caminoJS from npm, a local package - which has to be created - is taken.\n\n1.) execute `yarn examples:prepare` in the root folder of this project  \n2.) head over into the examples folder and call yarn  \n3.) you are now able to execute the examples using ts-node  \n\n*Note: Openssl 3.0 is part of node version >= 1.17 and some cryptographic algorithms were moved into openssl's legacy provider.\nYou have to define the `NODE_OPTIONS=--openssl-legacy-provider` environment variable to get examples working. Older node versions\nare working without this workaround*\n\n## Repo Dependency Updates\n\nDependabot will make pull requests against the development branch. If all tests pass, it is safe to merge into development, but for redundancy you want to try to build it locally.\n\n```zsh\ngit fetch origin\ngit checkout -b <branchName>\ngit merge development\nyarn build && yarn test\n```\n\nIf the E2E check does not pass, go into the 'checks' section of the PR.\n`https://github.com/chain4travel/caminojs/pull/<PR number>/checks`\n\n* Click on the `> E2E` tab on the left\n* Click 'Re-run jobs' on the right\n","readmeFilename":"README.md"}