{"_id":"@coexyaedi/cyb-sdk","_rev":"11-fcfc5fd926b30dfc789b8d7b050186ad","time":{"created":"2021-12-22T10:57:08.453Z","0.0.1":"2021-12-10T09:14:17.766Z","modified":"2022-09-26T13:17:12.412Z","0.0.1-test":"2021-12-22T10:57:08.711Z","0.0.1-test2":"2021-12-27T13:10:32.079Z","0.0.1-test3":"2021-12-27T13:40:07.493Z","1.0.0-rc1":"2022-02-02T15:50:58.040Z","1.0.1":"2022-04-08T08:36:44.506Z","1.0.2":"2022-04-25T12:18:54.166Z","1.0.3":"2022-07-11T14:34:29.155Z","1.0.4-rc1":"2022-09-26T13:17:12.301Z"},"name":"@coexyaedi/cyb-sdk","dist-tags":{"latest":"1.0.4-rc1"},"versions":{"0.0.1-test":{"name":"@coexyaedi/cyb-sdk","version":"0.0.1-test","description":"SDK for Choose Your Baker","author":{"name":"Coexya"},"license":"MIT","main":"dist/cyb-sdk.cjs.js","module":"dist/cyb-sdk.es5.js","browser":"dist/cyb-sdk.umd.js","typings":"dist/types/services/CybSdk.d.ts","scripts":{"test":"jest --coverage","test:watch":"jest --coverage --watch","lint":"eslint --ext .js,.ts .","precommit":"lint-staged","clean":"rm -rf dist","build":"tsc --project ./tsconfig.prod.json --module commonjs && rollup -c rollup.config.ts"},"lint-staged":{"{src,test}/**/*.ts":["prettier --write","eslint -fix","git add"]},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testEnvironment":"node","testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js"],"coveragePathIgnorePatterns":["/node_modules/","/test/"],"collectCoverageFrom":["src/**/*.{js,ts}"]},"dependencies":{"@taquito/taquito":"^10.2.1","event-source-polyfill":"^1.0.25","eventsource":"^1.1.0"},"devDependencies":{"@taquito/signer":"^10.2.1","@types/eventsource":"^1.1.7","@types/jest":"^27.0.2","@types/node":"^16.11.4","@typescript-eslint/eslint-plugin":"^5.1.0","@typescript-eslint/parser":"^5.1.0","eslint":"^8.1.0","jest":"^27.3.1","lint-staged":"^11.2.4","lodash.camelcase":"^4.3.0","prettier":"^2.4.1","rollup":"^2.58.3","rollup-plugin-json":"^4.0.0","rollup-plugin-sourcemaps":"^0.6.3","rollup-plugin-typescript2":"^0.30.0","ts-jest":"^27.0.7","ts-node":"^10.4.0","typescript":"^4.4.4"},"gitHead":"3c8a941778209b0991cdf35484e88908c4b78f17","_id":"@coexyaedi/cyb-sdk@0.0.1-test","_nodeVersion":"16.13.0","_npmVersion":"8.1.3","dist":{"integrity":"sha512-1ylW2qtsZDTGKmde+hcSd/f1SL6iqZFkzP0bBoQJu+9G9M6hw2KG7urQw/cYU6DxxI4q7lmve9DOi/UYufNehw==","shasum":"fd80c818f33ed72fcb2fb62d7ab809f00fe5244c","tarball":"https://registry.npmjs.org/@coexyaedi/cyb-sdk/-/cyb-sdk-0.0.1-test.tgz","fileCount":43,"unpackedSize":310833,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhwwSECRA9TVsSAnZWagAAIv4QAI+snsrIf/tlDRKMVkJu\n3o3HHrlY0Nr8SALVeAs9HIsDXlPNOivysoLl3NxCU9s9bJITwKvBueZ/5MeE\neuA741vmO1IrajRXL6RlwGNmMfPDMQOM8qXoLSiLhOvwT/VoAfsAyuWaNeq/\nhvia5PNrQ27DpZXwSPHZlbz/qBRJMvQXDVqKPV3DqAdeIuI7aOOMSuGW63tZ\nBgfQ0pVyJ0eaNI+tDNa2r5oWKPPK0W49h1fZ5TL6EJEBVPetIGj4aKN2j4nD\nseD2c1t+oAJLyqwJ1pRYs4x96yK6Hd7S5Hmgy6RpClPTMpvecrEhyO/Iuu1A\n2dLLf2MidXt56/u0dXWrEJR9mz2lRBUIxjshnsCCVwDVOtNF3YgVJgvfLLdx\nToTmyTTgkpndNCgMTtKZcBNskKQsdpSkQvJxBJj8EqAkjRYv1BcFiih/HNX4\n08XKVLCNwzF1Fll/VB9Pwv/c9iFGko+YPXSY3CWNZuGVYcNNADPudESAmiY/\nlVuB8PAuDfXpGjQxKPHJsEWo2I0/Dj/mw7GENzbMvb9S8j7wlGF0ckftvyn3\nkqaTsxTxy3Y1oHOlv0MRweZPtQYs2Oq8Vrm3GH7rdO3OQqEFwJHlviIy+87n\nV8xv6Ltof3TZMJ5Sh3KYt+UzysIanWQ2dMwGlfp873hQsbghWnShZe2jvZTN\nD5VY\r\n=VQCM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCg8Zi8jlJoFLFrO6dL8Yr31qBjNe7dcKD6lkDD5qcHVAIhAPvYAb+vUSZC5tIgxR4FKkG3DCxXzxTMu3e8DT5iYMDT"}]},"_npmUser":{"name":"coexyaedi","email":"yves.coriton@coexya.eu"},"directories":{},"maintainers":[{"name":"coexyaedi","email":"yves.coriton@coexya.eu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cyb-sdk_0.0.1-test_1640170628523_0.6970041971543974"},"_hasShrinkwrap":false},"0.0.1-test2":{"name":"@coexyaedi/cyb-sdk","version":"0.0.1-test2","description":"SDK for Choose Your Baker","author":{"name":"Coexya"},"license":"MIT","main":"dist/cyb-sdk.cjs.js","module":"dist/cyb-sdk.es5.js","browser":"dist/cyb-sdk.umd.js","typings":"dist/types/services/CybSdk.d.ts","scripts":{"test":"jest --coverage","test:watch":"jest --coverage --watch","lint":"eslint --ext .js,.ts .","precommit":"lint-staged","clean":"rm -rf dist","build":"tsc --project ./tsconfig.prod.json --module commonjs && rollup -c rollup.config.ts"},"lint-staged":{"{src,test}/**/*.ts":["prettier --write","eslint -fix","git add"]},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testEnvironment":"node","testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js"],"coveragePathIgnorePatterns":["/node_modules/","/test/"],"collectCoverageFrom":["src/**/*.{js,ts}"]},"dependencies":{"@taquito/taquito":"^10.2.1","event-source-polyfill":"^1.0.25","eventsource":"^1.1.0"},"devDependencies":{"@taquito/signer":"^10.2.1","@types/eventsource":"^1.1.7","@types/jest":"^27.0.2","@types/node":"^16.11.4","@typescript-eslint/eslint-plugin":"^5.1.0","@typescript-eslint/parser":"^5.1.0","eslint":"^8.1.0","jest":"^27.3.1","lint-staged":"^11.2.4","lodash.camelcase":"^4.3.0","prettier":"^2.4.1","rollup":"^2.58.3","rollup-plugin-json":"^4.0.0","rollup-plugin-sourcemaps":"^0.6.3","rollup-plugin-typescript2":"^0.30.0","ts-jest":"^27.0.7","ts-node":"^10.4.0","typescript":"^4.4.4"},"gitHead":"64252d7c88c06ccc72d684a6b32021bc499a6abd","_id":"@coexyaedi/cyb-sdk@0.0.1-test2","_nodeVersion":"16.13.0","_npmVersion":"8.1.3","dist":{"integrity":"sha512-Lt6FEunVw2L3/4LBNS37Z2EONxW8r7X5nJKZa1XSa0P5okztDZPTpDGrstfWQO63bSIkyiAAx62Q+39ilsblpg==","shasum":"b5ebc14b7b2fb41f04c2ce5e4a9e51ec667c9a5a","tarball":"https://registry.npmjs.org/@coexyaedi/cyb-sdk/-/cyb-sdk-0.0.1-test2.tgz","fileCount":47,"unpackedSize":352326,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhybtICRA9TVsSAnZWagAAiJ8P/iUUodSjExiH9miFRSoE\nGPs6snBzXnKiyHzC985v6NSjwdV70lEowmRMiBKNd2stWxnqNxe9qwI40tAf\nHnFfp2WXY5E/j+3RhcOE1Bbs8ID4cMuLZuKp9SWDAFW7/FjN88XVmyfBLEUz\nVizCVNEn9w3A49FBsBMebZOW2SBEz0kmkBet/2axF6YRENKf9VV1RIvNAFAq\n0dLpwJCR6IMDm7spdiuEQulKZoO5WOULP5ICsP/gpZZ5OGBDTtVm5C1xiQfh\n4mggW3lHu5NMbhCYe+EZaz6cA6pVHxBaBlB7wicxejMiqZAMaZiiVX1RQ1j0\n8Ex6HLONWwuB4PRDeJFkkS2n8BbdiE4fhua8dhervxHR7PqHkbA6/kFpTj9Z\n/2Y3n1pUIALjPeVYsWPFWGLKQtyUSMfwgToURGsB5UIfWmyiZc3bcq1whJrj\nBPW2o0a6YoGWg45PRGT9JmuhhiPSUBoTPcHacWLwoloyMLvJFEInEqv8X9Dc\n2yYaoqnYiGxp1Ur6Z/jr0QVwxY41IHQsfdJqD/vmwMYtvcdKig4VAMcMrs9t\n5iw7J46+BBRb9Mvn4yd7XngtaCNA6EEQLXiCidcPQahj++XhAgHHYIbGKM0w\nGdmSad8AscaXTymujfIBtrI0pocEsEHJJBVOn9ipfaiKvkiVrSodIoUT7Sfw\nutpU\r\n=9wW6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCEEJl7IFa1qVkCb0DtUdM+eCOvhj99ITDzPsSD4waVkgIgWOvVZbpB2GYicjel4clAmyyS7uhx113oL/aOT6eNLXw="}]},"_npmUser":{"name":"coexyaedi","email":"yves.coriton@coexya.eu"},"directories":{},"maintainers":[{"name":"coexyaedi","email":"yves.coriton@coexya.eu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cyb-sdk_0.0.1-test2_1640610631960_0.6967091880875882"},"_hasShrinkwrap":false},"0.0.1-test3":{"name":"@coexyaedi/cyb-sdk","version":"0.0.1-test3","description":"SDK for Choose Your Baker","author":{"name":"Coexya"},"license":"MIT","main":"dist/cyb-sdk.cjs.js","module":"dist/cyb-sdk.es5.js","browser":"dist/cyb-sdk.umd.js","typings":"dist/types/services/CybSdk.d.ts","scripts":{"test":"jest --coverage","test:watch":"jest --coverage --watch","lint":"eslint --ext .js,.ts .","precommit":"lint-staged","clean":"rm -rf dist","build":"tsc --project ./tsconfig.prod.json --module commonjs && rollup -c rollup.config.ts"},"lint-staged":{"{src,test}/**/*.ts":["prettier --write","eslint -fix","git add"]},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testEnvironment":"node","testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js"],"coveragePathIgnorePatterns":["/node_modules/","/test/"],"collectCoverageFrom":["src/**/*.{js,ts}"]},"dependencies":{"@taquito/taquito":"^10.2.1","event-source-polyfill":"^1.0.25","eventsource":"^1.1.0"},"devDependencies":{"@taquito/signer":"^10.2.1","@types/eventsource":"^1.1.7","@types/jest":"^27.0.2","@types/node":"^16.11.4","@typescript-eslint/eslint-plugin":"^5.1.0","@typescript-eslint/parser":"^5.1.0","eslint":"^8.1.0","jest":"^27.3.1","lint-staged":"^11.2.4","lodash.camelcase":"^4.3.0","prettier":"^2.4.1","rollup":"^2.58.3","rollup-plugin-json":"^4.0.0","rollup-plugin-sourcemaps":"^0.6.3","rollup-plugin-typescript2":"^0.30.0","ts-jest":"^27.0.7","ts-node":"^10.4.0","typescript":"^4.4.4"},"gitHead":"9fcd31c2ed48557419adbfe353a0fcdbc626e1a4","_id":"@coexyaedi/cyb-sdk@0.0.1-test3","_nodeVersion":"16.13.0","_npmVersion":"8.1.3","dist":{"integrity":"sha512-YwIPkjNidtQAt/3oq9umZ6dFpLY2SHxvIfzxGWNqSOr05GtbS7Xjq6DrSdgXsk/+yNNOY4AIfV0YUyuDRwvVSA==","shasum":"9738a34d7be15de1db4336c9dffc606a3706a261","tarball":"https://registry.npmjs.org/@coexyaedi/cyb-sdk/-/cyb-sdk-0.0.1-test3.tgz","fileCount":47,"unpackedSize":352327,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhycI3CRA9TVsSAnZWagAADJEP/izHAj69jFXMk1rLesuf\nq5M8EWioAb3+N6o5MCg8JKdMEwXxSLDT1IGnJdKyO6fsLYx4NzgyZN2Tt+SV\nRibFBlQfodHEYMMYgjwoNqUlJ4MWtY1QC9YWAQksHaRW3foDGsQv64cdBrd2\nEL6t+isfvYrmLM3PQ24M9FhQWzsb3jOS2KZfzCSwetmPsUHJVmWKADTYBAPE\nW42KQ+tUuJO15fQnJqZuy0FGX56muXf+a5fnIPqhZvlg5FENyj/n2oBENiBG\nBZH44QivpMxvu0oUI8uZXiQoSlMhzOokbgXSCzMIRouV/PShG2xNT0xdE7Q/\nPJVpFEg5Z9kK0Zx5FKRh/VQbUauO7ZT3QtwmTr86mGGRLqf++Z1gz7e9Fv20\n+gSaPoLr3w8bCRTfc5J9QlyE5qMWaUNVIRJ+PdcM+Epla/RycwDvWbdiQjIP\nw0tMh9ck/X8azlcy9BfuhRJoXf3a3OQc1hesEssT3+OxVOCwNohgrkDEp61h\npvHCBNhW/tiQSDxjFq3M60ZfTUst9NBpYN4zU9UTQ+7jMYroxJRBCwNb6ivh\npgCaTQCRTYkLZxL61mhNXOwroM79CkKrEau509quMd99hyyeynEK6ZiLwbgA\n9COUonZUTsVajw/PRhNEMiENj68qi27xY+E1io85DsvG9/QPtmIHrMhEC9if\n9Bs6\r\n=HAQz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH5hxVT/ntG5UblGaT9EhHVADeTLzy2QbNRhlaa2ZjKsAiA7jHEXOSolRAEkXE0pxc5u2reuVPj1WM1JPghKw1WNZQ=="}]},"_npmUser":{"name":"coexyaedi","email":"yves.coriton@coexya.eu"},"directories":{},"maintainers":[{"name":"coexyaedi","email":"yves.coriton@coexya.eu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cyb-sdk_0.0.1-test3_1640612407326_0.10167852082728768"},"_hasShrinkwrap":false},"1.0.0-rc1":{"name":"@coexyaedi/cyb-sdk","version":"1.0.0-rc1","description":"SDK for Choose Your Baker","author":{"name":"Coexya"},"license":"MIT","main":"dist/cyb-sdk.cjs.js","module":"dist/cyb-sdk.es5.js","browser":"dist/cyb-sdk.umd.js","typings":"dist/types/services/CybSdk.d.ts","scripts":{"test":"jest --coverage","test:watch":"jest --coverage --watch","lint":"eslint --ext .js,.ts .","precommit":"lint-staged","clean":"rm -rf dist","build":"tsc --project ./tsconfig.prod.json --module commonjs && rollup -c rollup.config.ts"},"lint-staged":{"{src,test}/**/*.ts":["prettier --write","eslint -fix","git add"]},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testEnvironment":"node","testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js"],"coveragePathIgnorePatterns":["/node_modules/","/test/"],"collectCoverageFrom":["src/**/*.{js,ts}"]},"dependencies":{"@taquito/taquito":"^10.2.1","event-source-polyfill":"^1.0.25","eventsource":"^1.1.0"},"devDependencies":{"@taquito/signer":"^10.2.1","@types/eventsource":"^1.1.7","@types/jest":"^27.0.2","@types/node":"^16.11.4","@typescript-eslint/eslint-plugin":"^5.1.0","@typescript-eslint/parser":"^5.1.0","eslint":"^8.7.0","jest":"^27.3.1","lint-staged":"^11.2.4","lodash.camelcase":"^4.3.0","prettier":"^2.4.1","rollup":"^2.58.3","rollup-plugin-json":"^4.0.0","rollup-plugin-sourcemaps":"^0.6.3","rollup-plugin-typescript2":"^0.30.0","ts-jest":"^27.0.7","ts-node":"^10.4.0","typescript":"^4.4.4"},"gitHead":"13f84a6d14b201968906a254ba08b54638825d25","_id":"@coexyaedi/cyb-sdk@1.0.0-rc1","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-rwC0qCBUJWsm02obz7MUpgGvRAR3J5d1udJuHLOEtZcAdDJ80Nc6Bty3dXrhrTsudL7t/Cr+qhOaF/jwBXKnRQ==","shasum":"706a472794c4be872389b198d6884eecd2d65d87","tarball":"https://registry.npmjs.org/@coexyaedi/cyb-sdk/-/cyb-sdk-1.0.0-rc1.tgz","fileCount":47,"unpackedSize":442699,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh+qhiCRA9TVsSAnZWagAAaF0P/1ephXevycsDlqdblX2F\noCyk8uEaaMPnYWvdv6wXBDSlQ7h8yb6DINXjuMz/lSdbA+KyFHwJss6m6b5U\nvLRCP6hSMsS170PVpzXY8VzHfXc2ULdozcpotTCaZYnpFpI6LXW3EdWMghdc\nHEi3TgKB/6qqqthN3fbtMP4jV3BLEbIJ/J+BxDo0Zg1fk5VsBqg+RvLlHlyH\nrJU/s89GDmA13UCwV+Fuu9sSP7IvRTnInxChPbOswfeNpDgg+2J+U/njxkO9\nMARfUGaQ7mvlL/Pu+e7eWkQ6t3rFdOk35b80AmXVuzRV/KzwOPTKnMZZRLdl\neZ44cfW02A+ftvRmAhC9X/OlN1xwYshw7b9jx/tsAf6EWilGwhQ5XtLl/XQj\n1HiOq3m09DSOK8GMPJUnFUqCk8/HnU/peT+UDDd1G+g7OoZln95ZrYPUTg7N\nh6VyBpHY/4vqMfFc6ZHxqvHl6sfHYLCMSlppy/obaWgXSAjPxHRob1C3NKDc\nFVB0EXw7kQd5yDObmacGbeJunWH4j6LuxFpR3HSswQXkp7Sq1qBjFO5i+6cx\nAPgz/Xp9nWHI3gSya+brhIbsW80No5LKJJnLyjLXNeusUNuZ3X5ZA8T3DudJ\n2hxYLD/bplqV6hxKYwfrtGOlnMzVsSrKHIA83mw4GV8y2D9TxiWLtn3mrBNw\nIFoa\r\n=O+5j\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICkf7NBriTj4VfHU0oYHhyqsmFewYCh1Ik0+V6ZWSSgHAiBEKbHQgE7ewA02nupUVWfL5Pab9qjCavkoPhVjcSadvA=="}]},"_npmUser":{"name":"coexyaedi","email":"yves.coriton@coexya.eu"},"directories":{},"maintainers":[{"name":"coexyaedi","email":"yves.coriton@coexya.eu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cyb-sdk_1.0.0-rc1_1643817057873_0.7046819285407"},"_hasShrinkwrap":false},"1.0.1":{"name":"@coexyaedi/cyb-sdk","version":"1.0.1","description":"SDK for Choose Your Baker","author":{"name":"Coexya"},"license":"MIT","main":"dist/cyb-sdk.cjs.js","module":"dist/cyb-sdk.es5.js","browser":"dist/cyb-sdk.umd.js","typings":"dist/types/services/CybSdk.d.ts","scripts":{"test":"jest --coverage","test:watch":"jest --coverage --watch","lint":"eslint --ext .js,.ts .","precommit":"lint-staged","clean":"rm -rf dist","build":"tsc --project ./tsconfig.prod.json --module commonjs && rollup -c rollup.config.ts"},"lint-staged":{"{src,test}/**/*.ts":["prettier --write","eslint -fix","git add"]},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testEnvironment":"node","testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js"],"coveragePathIgnorePatterns":["/node_modules/","/test/"],"collectCoverageFrom":["src/**/*.{js,ts}"]},"dependencies":{"@taquito/taquito":"^10.2.1","event-source-polyfill":"^1.0.25","eventsource":"^1.1.0"},"devDependencies":{"@taquito/signer":"^10.2.1","@types/eventsource":"^1.1.7","@types/jest":"^27.0.2","@types/node":"^16.11.4","@typescript-eslint/eslint-plugin":"^5.1.0","@typescript-eslint/parser":"^5.1.0","eslint":"^8.7.0","jest":"^27.3.1","lint-staged":"^11.2.4","lodash.camelcase":"^4.3.0","prettier":"^2.4.1","rollup":"^2.58.3","rollup-plugin-json":"^4.0.0","rollup-plugin-sourcemaps":"^0.6.3","rollup-plugin-typescript2":"^0.30.0","ts-jest":"^27.0.7","ts-node":"^10.4.0","typescript":"^4.4.4"},"gitHead":"133b55102b1de44f08454bfc57e02e765c4eed4d","_id":"@coexyaedi/cyb-sdk@1.0.1","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-MyXAGt4Z1SMOdpkOeAkdcLXtFPe/Vx56jeChVBJoJMQ6gCseJEScblojBwh1ZVXk43oOXMpx9YXcKazx9ybNxg==","shasum":"bd9635e453298ac1463f4af5c505c20426ed466f","tarball":"https://registry.npmjs.org/@coexyaedi/cyb-sdk/-/cyb-sdk-1.0.1.tgz","fileCount":47,"unpackedSize":442695,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCRwXjgyVwzdZHS1Fd+6s50P4HXW7ddWDw2WqPh1OosxAIgSas3Tg8lOc9gvlbdVxZyjS0bHP1ImFKA+AGtIfMD3v0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiT/QcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoUfA//b4sX7kuxw2kxN9Q38i0fhtqGdgoojzh7baA4aq4AElh3BL61\r\nTNCfOxIKz7+xeci66wSybUdme5IVaWgYIQ9Ae1oSf7bStSS8K3yCMEg2+5UE\r\nVhKWztT3S1NLL5T/iUHnVN+L/awaF2H+nvWTCLCL8X8rSG89aSHeiMnWd0nm\r\nE5CMvSez3NM7j+ZTgedA0bjS+lEKRuQi8W5L5PNTX25cfs2C9a3Jt7UTnwmG\r\nbNiTCSW7Ix/gG8HJZYFczGRkd4s2Th/7YHg5QLPV4Gonp+nVctTKcWBQJdsU\r\nbVL01NyQMCFC8GQOdFbdqnp3L9ApJV/4bFoill7ZnVpEdEDuf4dVn/Lf+fG5\r\ntWwcZmmD6kWTsHla0oaVsKlbfEjcYc7aV3I8DiT15jp9dT2DAohVbf7JKb4B\r\nj5tL2NQSB5Ifv2BCjo3cSxL07HMV5eVdBAbtvlXjuMN4V5E+3t0nC6Zx8X0R\r\n78+0JQzz360FBS6Vh29ArPPgWQ1ru5eaJV4yo5yoFwlBYhnw07AjOvYhwOCx\r\nOEvD+KS2sGWKHkyKtjxKkXut3BGwgE+PjYICsuD0JGCmSIXv5ZOquW8tsOX/\r\nNOvt58tX3sd3/4OsFfWFtIZDiSpalVK6xszJyVWCEJczHUX3YJ3TWcCzloMd\r\n6itIBKXfP55NnHBX/grT02iSWR/Qeo30LXQ=\r\n=jEDY\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"coexyaedi","email":"yves.coriton@coexya.eu"},"directories":{},"maintainers":[{"name":"coexyaedi","email":"yves.coriton@coexya.eu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cyb-sdk_1.0.1_1649407004329_0.3586788299935777"},"_hasShrinkwrap":false},"1.0.2":{"name":"@coexyaedi/cyb-sdk","version":"1.0.2","description":"SDK for Choose Your Baker","author":{"name":"Coexya"},"license":"MIT","main":"dist/cyb-sdk.cjs.js","module":"dist/cyb-sdk.es5.js","browser":"dist/cyb-sdk.umd.js","typings":"dist/types/services/CybSdk.d.ts","scripts":{"test":"jest --coverage","test:watch":"jest --coverage --watch","lint":"eslint --ext .js,.ts .","precommit":"lint-staged","clean":"rm -rf dist","build":"tsc --project ./tsconfig.prod.json --module commonjs && rollup -c rollup.config.ts"},"lint-staged":{"{src,test}/**/*.ts":["prettier --write","eslint -fix","git add"]},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testEnvironment":"node","testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js"],"coveragePathIgnorePatterns":["/node_modules/","/test/"],"collectCoverageFrom":["src/**/*.{js,ts}"]},"dependencies":{"@taquito/taquito":"^10.2.1","event-source-polyfill":"^1.0.25","eventsource":"^1.1.0"},"devDependencies":{"@taquito/signer":"^10.2.1","@types/eventsource":"^1.1.7","@types/jest":"^27.0.2","@types/node":"^16.11.4","@typescript-eslint/eslint-plugin":"^5.1.0","@typescript-eslint/parser":"^5.1.0","eslint":"^8.7.0","jest":"^27.3.1","lint-staged":"^11.2.4","lodash.camelcase":"^4.3.0","prettier":"^2.4.1","rollup":"^2.58.3","rollup-plugin-json":"^4.0.0","rollup-plugin-sourcemaps":"^0.6.3","rollup-plugin-typescript2":"^0.30.0","ts-jest":"^27.0.7","ts-node":"^10.4.0","typescript":"^4.4.4"},"gitHead":"e1455b06be1bbc8c17136eb98a9af5548f947b1e","_id":"@coexyaedi/cyb-sdk@1.0.2","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-5Pfe0kVanrSCg5Ot3fB7tj7jB6uwCJOLL5IlwytZE0A/mi6ZwpmNjuS006fK9ahGemh1lnrTPv818hn2i6jv5A==","shasum":"c9b58af9d88b27544a261fc2e44de4509dbdc656","tarball":"https://registry.npmjs.org/@coexyaedi/cyb-sdk/-/cyb-sdk-1.0.2.tgz","fileCount":47,"unpackedSize":442695,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCf9vaR+lopIbswQxtFANEdrhY+fakSh8jm6idgluJb8QIhAOeIt20s6nmDgXB+lsrOdIkrAJ6JQ5KFdeK7eIM+aIIg"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiZpGuACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqGPw/6AhkB2bLqOcmXw1m5QWW2IMQbu+IoU0x4zCwIh6EBf0X/jprA\r\nNkF7VAqLfbUlj+6+GfIXU+dG7MGdw/o9+gviVhp5TaWLUxRpGVcwdifuGvNx\r\nPKv1yUW7n62XfwFm7KkvoR0rl9HqVg3yde3LaNRfIg96W+ad1a04Jzt0jY88\r\nMcaKUn1t/gE/fdqFzqHb09VTOS3DlVbcWEj6DykgenNE4kE1Zf4iBde0/73E\r\nsMzhoS+LgzO3XT2lRc0xNQQv0vLtnUxQLLGrqIY9J/rSXZSeL49ep30JIERZ\r\nFgo76xrCtKYUxlat42eu4bNaiRPpUyBwIsvCkc//jhv91saRHuL1np3WF3n2\r\npTJnjU2V3IlKZCeqwSjUbpkcMmrbd9XGMWK792vkr4QtTFuTDUvBPsivE8ih\r\nWx6IPH+cHYLy3PK6mGUo8lVBfFqOyz5f/sDfYjoMOM9v18GxMPEylcHhDaaS\r\nhoi1/Ep40bXMykvvN1SlHWcqAEqxF9PoFBn9TSz1DxXCfzlelpe/gw0mIJD9\r\nrAW/Gl+awvX7qTPtJ1R6GMA8oCDZf/wW8ECn3s215gUEd8MfKu2VBQZGtVBN\r\nJETZaByNR+6vMIKoZsK1uGu2G+fo1a21Q5R/nWHEp1tebtvIy+2epXjTg+NG\r\n9e8DW00O5dqNx5iVw8UNzdKC5S2OSjYtpLA=\r\n=Lhcj\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"coexyaedi","email":"yves.coriton@coexya.eu"},"directories":{},"maintainers":[{"name":"coexyaedi","email":"yves.coriton@coexya.eu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cyb-sdk_1.0.2_1650889134020_0.46857410169348834"},"_hasShrinkwrap":false},"1.0.3":{"name":"@coexyaedi/cyb-sdk","version":"1.0.3","description":"SDK for Choose Your Baker","author":{"name":"Coexya"},"license":"MIT","main":"dist/cyb-sdk.cjs.js","module":"dist/cyb-sdk.es5.js","browser":"dist/cyb-sdk.umd.js","typings":"dist/types/services/CybSdk.d.ts","scripts":{"test":"jest --coverage","test:watch":"jest --coverage --watch","lint":"eslint --ext .js,.ts .","precommit":"lint-staged","clean":"rm -rf dist","build":"tsc --project ./tsconfig.prod.json --module commonjs && rollup -c rollup.config.ts"},"lint-staged":{"{src,test}/**/*.ts":["prettier --write","eslint -fix","git add"]},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testEnvironment":"node","testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js"],"coveragePathIgnorePatterns":["/node_modules/","/test/"],"collectCoverageFrom":["src/**/*.{js,ts}"]},"dependencies":{"@taquito/taquito":"^10.2.1","event-source-polyfill":"^1.0.25","eventsource":"^1.1.0"},"devDependencies":{"@taquito/signer":"^10.2.1","@types/eventsource":"^1.1.7","@types/jest":"^27.0.2","@types/node":"^16.11.4","@typescript-eslint/eslint-plugin":"^5.1.0","@typescript-eslint/parser":"^5.1.0","eslint":"^8.7.0","jest":"^27.3.1","lint-staged":"^11.2.4","lodash.camelcase":"^4.3.0","prettier":"^2.4.1","rollup":"^2.58.3","rollup-plugin-json":"^4.0.0","rollup-plugin-sourcemaps":"^0.6.3","rollup-plugin-typescript2":"^0.30.0","ts-jest":"^27.0.7","ts-node":"^10.4.0","typescript":"^4.4.4"},"gitHead":"eef32e6ec93515b09b576c9fb3e8aeccb7ea7df4","_id":"@coexyaedi/cyb-sdk@1.0.3","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-AV9zLpHQ8wICWE2AXNHLGDQolwuhuGkEDeee/4f9lArHCmKMnd7eSkqOWq9vun8qyaDw6071RykYkDaJLzYsdA==","shasum":"61b623e64dff51d39a748b7a32fa854914e3eb92","tarball":"https://registry.npmjs.org/@coexyaedi/cyb-sdk/-/cyb-sdk-1.0.3.tgz","fileCount":47,"unpackedSize":442695,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGmC+OiF5n/EoHDo5UImK6w/Y2ZPqTC8WkJsceuLMvVaAiEA3cgFJQPMWw5Pd+fIdmp+dNQeGKSUbp3eY8aH8qZ2FSI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJizDT1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrEig//VSSPtWcoAr/Et7Tq3JBtMcVr6uL8SP48gG5J/66G/Y8EXJ1k\r\nX1FZ0gpna5rjpcmnlrg+7tDLk1sEUk+oqRmAE5g6VqT4/g034PSv93qXzbSe\r\nXGXVAKQY7HY+SP8HHRFW12zeWXMzpP+geyt9/oD0DmFM9Ka8TXyCjBOEM4zq\r\nYgE/yLF4dPJeTktSeI/fi25AD1hPgQ/FpTvEKplKqdzA9uMYjuQdD+vr74at\r\n5ruNE5kUUftKNc0XDn/xL2vEAxl6YOusBFLABiZmwBc57gUX0eU8lOGFbSsj\r\nzJ0EsiXjJukE9XgkGCpYJw2CwAQPl4dA4JmqaVIo/oCyIBpDrfSLjLoxxfoF\r\nU+A5wOfM5H5XC4GVj/8RLyc/U+yX32jRNg7SjpKuYmKCx3DZGe3bdzEg8ypC\r\nwwEIlbetvys09apYcNxbjYd1vpkvNfOdnb1Dik68obntYJcKdR4A49nGTPHY\r\nDVI6W5zaJs5ACYRjHaOfYFFnbxXV/NgcWdMbiwuUJizFqnnO6ggyH9DfhLvc\r\nomcT4wvyRYXe5y6KS/1hS/o9hSIiI5X16xoLTEG+BproAxr83fX4thAH8K8+\r\nOi9B6V3tE9fy3PDYQvQ7sWDFar64CjWc57eCFeJfGt6OYJQF+IRQSX8RrX0C\r\nv74lkVmmKnd49eZTrTV0waVDLOpmSqZqjXg=\r\n=Yf7O\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"coexyaedi","email":"yves.coriton@coexya.eu"},"directories":{},"maintainers":[{"name":"coexyaedi","email":"yves.coriton@coexya.eu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cyb-sdk_1.0.3_1657550068964_0.7478175878158002"},"_hasShrinkwrap":false},"1.0.4-rc1":{"name":"@coexyaedi/cyb-sdk","version":"1.0.4-rc1","description":"SDK for Choose Your Baker","author":{"name":"Coexya"},"license":"MIT","main":"dist/cyb-sdk.cjs.js","module":"dist/cyb-sdk.es5.js","browser":"dist/cyb-sdk.umd.js","typings":"dist/types/services/CybSdk.d.ts","scripts":{"test":"jest --coverage","test:watch":"jest --coverage --watch","lint":"eslint --ext .js,.ts .","precommit":"lint-staged","clean":"rm -rf dist","build":"tsc --project ./tsconfig.prod.json --module commonjs && rollup -c rollup.config.ts"},"lint-staged":{"{src,test}/**/*.ts":["prettier --write","eslint -fix","git add"]},"jest":{"transform":{".(ts|tsx)":"ts-jest"},"testEnvironment":"node","testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js"],"coveragePathIgnorePatterns":["/node_modules/","/test/"],"collectCoverageFrom":["src/**/*.{js,ts}"]},"dependencies":{"@taquito/taquito":"^10.2.1","event-source-polyfill":"^1.0.25","eventsource":"^1.1.0"},"devDependencies":{"@taquito/signer":"^10.2.1","@types/eventsource":"^1.1.7","@types/jest":"^27.0.2","@types/node":"^16.11.4","@typescript-eslint/eslint-plugin":"^5.1.0","@typescript-eslint/parser":"^5.1.0","eslint":"^8.7.0","jest":"^27.3.1","lint-staged":"^11.2.4","lodash.camelcase":"^4.3.0","prettier":"^2.4.1","rollup":"^2.58.3","rollup-plugin-json":"^4.0.0","rollup-plugin-sourcemaps":"^0.6.3","rollup-plugin-typescript2":"^0.30.0","ts-jest":"^27.0.7","ts-node":"^10.4.0","typescript":"^4.4.4"},"gitHead":"77f83740a0de0e10a361be7620335f25a687549f","_id":"@coexyaedi/cyb-sdk@1.0.4-rc1","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-g9VltlbpG3ImuGHNAhnIUc9wckC7uC2CjA/qWjpMr4M05zdc61GYrDqbj6849qNJ3lTbzJKA8nQr/0R/Ypp69A==","shasum":"7c1991f72df693f35a4e8422ad1a087a78745927","tarball":"https://registry.npmjs.org/@coexyaedi/cyb-sdk/-/cyb-sdk-1.0.4-rc1.tgz","fileCount":47,"unpackedSize":442699,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEhwJGXnr2DBKQYryw4FOFUTCyEAsLH//ZVle+7vD3NhAiABo+kjHSB3f/beToMU36k3Qw3qL1py+G+iq7+zUBC0RA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjMaZYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmprgRAAnLT4vZsUAVNeRP92GKdM5Ve/6y3kQVCbbRYqNjlCk9XYP0Rj\r\nKlkLSDqe/XfyisszrcPd0FQEDmO+3NSLTCfWD14ziZ8T473MJZhWF/QksBC2\r\nubn1xoZk6XRVo5mv6weLjaMryMxFfZmO9OekwsEKum50d2ul6s6J/tuywWZK\r\n9j/IQMkI57I5lGiZpHB04CR918MgFN6mVZk2sIpyaM35uqlwUjUbb7SFIdlq\r\nqyNYufJ54uReKUt5JQD3iJjSaLS6un+0Ar/HfLqAv5z3QWbKijMfrLuvyP36\r\nd8TWaNSRD6Ow9y2Edm4a3YZ0Ri+RPKKTJq77Ln8JTz83l6+yYNExwMx20pXi\r\nAn14qGY4jbTWvmSrAx3ZJUMI4AZJgx4S1ufDz6Rtx4ucEW5ZqIPnENOEyAQu\r\nD1ekYJM7GJHaLYoIKs6mkghCSmzfOgorMffgTclUbiNFtgWK8mvM/ftyAtn5\r\nfOzG5KYuvk08Vul+5qXgnfy0uWENEOYdQ1o6qcEdA/WAdT5xBWOAmjZgwjEp\r\nk/VaB6/1/lQLNiVSB9rdUOWcq6EWUPE3tI21c8HXCqY41kYdz8PhI3Nbt9iE\r\n6LD/cRDZh81/Q7nhG5xY3QNF01h2GyonaLdCMM9kAestXd5AbNdWzg9fG8vv\r\nbwJzR+6xr18eO5EBiDfC/guYM6xjOEl6Osw=\r\n=aFFT\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"coexyaedi","email":"yves.coriton@coexya.eu"},"directories":{},"maintainers":[{"name":"coexyaedi","email":"yves.coriton@coexya.eu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cyb-sdk_1.0.4-rc1_1664198232119_0.49126611711481916"},"_hasShrinkwrap":false}},"maintainers":[{"name":"coexyaedi","email":"yves.coriton@coexya.eu"}],"description":"SDK for Choose Your Baker","author":{"name":"Coexya"},"license":"MIT","readme":"# Choose Your Baker SDK v1.0.1\n\nThe SDK for Choose Your Baker. It enables issuers to issue Tezos transactions to a chosen baker.\n\n## Installation\n\nUsing npm:\n```shell\nnpm install @coexyaedi/cyb-sdk\n```\n\n## Configuration\n\n### SDK configuration\n\nThe constructor of `CybAuth` takes a **Choose Your Baker Transaction Manager** URL and an authentication token as parameters.\nThe constructor of `CybSdk` takes a Tezos node URL as parameter.\n\n```typescript\nimport {CybSdk, CybAuth} from '@coexyaedi/cyb-sdk'\n\nconst auth = new CybAuth('https://TRANSACTION_MANAGER_URL', 'ISSUER_TOKEN')\nconst sdk: CybSdk = new CybSdk(auth, 'https://YOUR_PREFERRED_RPC_URL')\n```\n\nIf the transaction manager is configured to accept unauthenticated submission of operations, the SDk can be used without a token.\n\n```typescript\nimport {CybSdk, CybAuth} from '@coexyaedi/cyb-sdk'\n\nconst auth = new CybAuth('https://TRANSACTION_MANAGER_URL')\nconst sdk: CybSdk = new CybSdk(auth, 'https://YOUR_PREFERRED_RPC_URL')\n```\n\n### Tezos keys configuration\n\nIn order to sign operations, Tezos private key has to be provided to a signer.\n\n```typescript\nimport {InMemorySigner} from \"@taquito/signer\"\n\nsdk.setProvider({\n    signer: new InMemorySigner('SECRET_KEY')\n})\n```\n\n## Examples\n\n### Transfer some XTZ\n\nIt's mandatory to call the *cybEstimate* function before sending the request in order to get the right gas limit, storage limit, and the fees related to the transaction manager of the certified baker.\n\n```typescript\n// Build a transaction to transfer 0.1 XTZ to destinationAddress\nconst params : ParamsWithKind[] = [\n    {\n        kind: OpKind.TRANSACTION,\n        to: destinationAddress,\n        amount: 0.1,\n        fee: 0,\n    }\n]\n\n // Estimate for CYB\nconst estimateCyb = await sdk.cybEstimate(params)\n\n// Send the operation\nconst response = await sdk.generateBatch(estimateCyb).send()\n```\n\n### Transfer some XTZ and call a smart contract\n\n```typescript\n// Smart Contract with on method: updateName\nconst simpleContract = await sdk.wallet.at('SMART_CONTRACT_ADDRESS')\n\nconst params : ParamsWithKind[] =[\n    {\n        kind: OpKind.TRANSACTION,\n        to: destinationAddress,\n        amount: 0.1,\n        fee: 0,\n    },\n    {\n        kind: OpKind.TRANSACTION,\n        ...simpleContract.methods.updateName('MY_STRING').toTransferParams({})\n    },\n]\n\n// Estimate for CYB\nconst estimateCyb = await sdk.cybEstimate(params)\n\n// Send the operation\nconst response = await sdk.generateBatch(estimateCyb).send()\n```\n\n### Specify a level\n\nIt is possible to specify at which level we want our operation to be baked (it has to be a baking slot of the chosen baker).\n\n```typescript\n// Change context for next call\nif (!sdk.isContextLocked) {\n    sdk.modifyContext({\n        level: WANTED_LEVEL,\n    })\n}\n\n// Prepare and send operation\n// ...\nconst response = await sdk.generateBatch(estimateCyb).send()\n \n// Reset context for next call\nif (!sdk.isContextLocked) {\n    sdk.modifyContext({\n        level: undefined,\n    })\n}\n```\n\n### Get CYB information about an operation\n\n```typescript\n// Send the operation\nconst response = await sdk.generateBatch(estimateCyb).send()\n\n// Get operation\nconst operation = await sdk.operationService.getOperation({hash: response.opHash})\n```\n\n### Delete an operation\n\nIt is possible to delete an operation from the mempool of CYB only if the operation has the PENDING status.\n\n```typescript\n// Send the operation\nconst response = await sdk.generateBatch(estimateCyb).send()\n\n// Delete the operation\nconst deletedOperation = await sdk.operationService.deleteOperation({hash: response.opHash})\n```\n\nYou might want to verify the validity of the operation that was sent back.\n```typescript\n// Verify the signature\nconst tzOperation = deletedOperation.tzOperation\nconst forgeParams: ForgeParams = {\n    branch: tzOperation.branch,\n    contents: tzOperation.contents,\n}\nconst bytes = await sdk.cybRpc.forgeOperations(forgeParams)\nconst signature = await sdk.signer.sign(bytes, new Uint8Array([3]))\n\nif (signature.prefixSig === tzOperation.signature) {\n    console.log(\"Deleted operation is valid\")\n}\n```\n\n### Update an operation\n\n```typescript\n// Send the operation\nconst response = await sdk.generateBatch(estimateCyb).send()\n\n// Delete and make a new batch from deleted operation\nconst deletedOperation = await sdk.operationService.deleteOperation({hash: response.opHash})\nconst batch = sdk.generateBatchFrom(deletedOperation)\nbatch.withTransfer({\n    to: \"tz1aSkwEot3L2kmUvcoxzjMomb9mvBNuzFK6\",\n    amount: 1,\n})\n\n// Re-submit the operation\nconst secondOp = await batch.send()\nconst operation = await sdk.operationService.getOperation({hash: secondOp.opHash})\n```\n","readmeFilename":"README.md"}