{"_id":"@agrozyme/types-tronweb","_rev":"3-efb2d03744506d299e17f085b9732b21","name":"@agrozyme/types-tronweb","dist-tags":{"latest":"5.3.2"},"versions":{"5.2.0":{"name":"@agrozyme/types-tronweb","version":"5.2.0","description":"TypeScript definitions for tronweb","type":"module","types":"./root/@types/tronweb/index.d.ts","keywords":[],"author":"","license":"ISC","devDependencies":{"@bufbuild/buf":"^1","@bufbuild/protobuf":"^1","@bufbuild/protoc-gen-es":"^1","@types/injectpromise":"^1","axios":"^1","bignumber.js":"^9","ethers":"^5","eventemitter3":"^5","recursive-rename":"^4","replace-in-files-cli":"^2","shx":"^0","yarpm":"^1"},"scripts":{"clean":"shx rm -rf out protocol","submodule":"git submodule add --force https://github.com/tronprotocol/protocol.git protocol","generate":"shx cp buf.* protocol && cd protocol && buf generate && cd ..","replace:enum":"replace-in-files --string=\"export enum \" --replacement=\"export declare const enum \" out/**/*.ts","replace:Uint8Array":"replace-in-files --string=Uint8Array --replacement=string out/**/*.ts","replace":"yarpm run replace:enum && yarpm run replace:Uint8Array","rename":"recursiveRename ts d.ts --path=out","move":"shx rm -rf root/@types/tronweb/protocol && shx mv out/ root/@types/tronweb/protocol/","build":"yarpm run clean && yarpm run submodule && yarpm run generate && yarpm run replace && yarpm run rename && yarpm run move"},"_id":"@agrozyme/types-tronweb@5.2.0","_integrity":"sha512-kdy321KNwtE9h1rX3wB0nLScd/Lart58Pt64yOObvtyKljzM7fwDIWZBXt7MGcIoGITr5R/RHqz7eEGtTqVSLw==","_resolved":"Z:\\Temp\\91ca1e4f22215dd0e82d3ce80b701c18\\agrozyme-types-tronweb-5.2.0.tgz","_from":"file:agrozyme-types-tronweb-5.2.0.tgz","_nodeVersion":"16.20.1","_npmVersion":"8.19.4","dist":{"integrity":"sha512-kdy321KNwtE9h1rX3wB0nLScd/Lart58Pt64yOObvtyKljzM7fwDIWZBXt7MGcIoGITr5R/RHqz7eEGtTqVSLw==","shasum":"6fe2dc85d479fb3bb6bdfca8646f5b5c657faacb","tarball":"https://registry.npmjs.org/@agrozyme/types-tronweb/-/types-tronweb-5.2.0.tgz","fileCount":91,"unpackedSize":190513,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDAxT1333HTKvt6vLQDsqfEAC3vArhrU3AwyEang/FQDgIhAMKKzMvtYNyrLRNApdJ9MBmA1WI9hrOJw5+QbxtBSfLQ"}]},"_npmUser":{"name":"agrozyme","email":"agrozyme@gmail.com"},"directories":{},"maintainers":[{"name":"agrozyme","email":"agrozyme@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/types-tronweb_5.2.0_1688025909366_0.023747685862926415"},"_hasShrinkwrap":false},"5.3.0":{"name":"@agrozyme/types-tronweb","version":"5.3.0","description":"TypeScript definitions for tronweb","type":"module","types":"./root/@types/tronweb/index.d.ts","keywords":[],"author":"","license":"ISC","devDependencies":{"@bufbuild/buf":"^1","@bufbuild/protobuf":"^1","@bufbuild/protoc-gen-es":"^1","@ethersproject/abi":"^5","@ethersproject/properties":"^5","@types/injectpromise":"^1","axios":"^1","bignumber.js":"^9","ethers":"^6","eventemitter3":"^5","recursive-rename":"^4","replace-in-files-cli":"^2","shx":"^0","yarpm":"^1"},"scripts":{"clean":"shx rm -rf out protocol","submodule":"git submodule add --force https://github.com/tronprotocol/protocol.git protocol","generate":"shx cp buf.* protocol && cd protocol && buf generate && cd ..","replace:enum":"replace-in-files --string=\"export enum \" --replacement=\"export declare const enum \" out/**/*.ts","replace:Uint8Array":"replace-in-files --string=Uint8Array --replacement=string out/**/*.ts","replace":"yarpm run replace:enum && yarpm run replace:Uint8Array","rename":"recursiveRename ts d.ts --path=out","move":"shx rm -rf root/@types/tronweb/protocol && shx mv out/ root/@types/tronweb/protocol/","build":"yarpm run clean && yarpm run submodule && yarpm run generate && yarpm run replace && yarpm run rename && yarpm run move"},"_id":"@agrozyme/types-tronweb@5.3.0","_integrity":"sha512-oLVjbA/+xfiwvjEDmDDCLKn2aM3RbbVs7viFe3l9Kvi+qOhVMKR7LfPX7PGPZNDxDsxe9XicqlK25rSHjuqJfg==","_resolved":"Z:\\Temp\\7b34634591a51a412b3356f7cf63a3e0\\agrozyme-types-tronweb-5.3.0.tgz","_from":"file:agrozyme-types-tronweb-5.3.0.tgz","_nodeVersion":"16.20.1","_npmVersion":"8.19.4","dist":{"integrity":"sha512-oLVjbA/+xfiwvjEDmDDCLKn2aM3RbbVs7viFe3l9Kvi+qOhVMKR7LfPX7PGPZNDxDsxe9XicqlK25rSHjuqJfg==","shasum":"9a7731085ce044e38069b19792d0348868e00afa","tarball":"https://registry.npmjs.org/@agrozyme/types-tronweb/-/types-tronweb-5.3.0.tgz","fileCount":94,"unpackedSize":207518,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCuZrju03v7mRCld9Ab2pcVbBxHplkXLX0vjh2Oi4jdbAIgef74Ys46Bhsjjn3bPmOWUB0twpbiAUEu6FQ+NT/b7W4="}]},"_npmUser":{"name":"agrozyme","email":"agrozyme@gmail.com"},"directories":{},"maintainers":[{"name":"agrozyme","email":"agrozyme@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/types-tronweb_5.3.0_1689832806696_0.10936868165112612"},"_hasShrinkwrap":false},"5.3.1":{"name":"@agrozyme/types-tronweb","version":"5.3.1","description":"TypeScript definitions for tronweb","type":"module","types":"./root/@types/tronweb/index.d.ts","repository":{"type":"git","url":"git+https://gitlab.com/agrozyme-package/TypeScript/types-tronweb.git"},"homepage":"https://gitlab.com/agrozyme-package/TypeScript/types-tronweb","keywords":[],"author":"","license":"ISC","devDependencies":{"@bufbuild/buf":"^1","@bufbuild/protobuf":"^1","@bufbuild/protoc-gen-es":"^1","@ethersproject/abi":"^5","@ethersproject/properties":"^5","@types/injectpromise":"^1","axios":"^1","bignumber.js":"^9","ethers":"^6","eventemitter3":"^5","recursive-rename":"^4","replace-in-files-cli":"^2","shx":"^0","yarpm":"^1"},"scripts":{"clean":"shx rm -rf out protocol","submodule":"git submodule add --force https://github.com/tronprotocol/protocol.git protocol","generate":"buf mod update && shx cp buf.yaml buf.lock protocol && buf generate","replace:enum":"replace-in-files --string=\"export enum \" --replacement=\"export declare const enum \" out/**/*.ts","replace:Uint8Array":"replace-in-files --string=Uint8Array --replacement=string out/**/*.ts","replace":"yarpm run replace:enum && yarpm run replace:Uint8Array","rename":"recursiveRename ts d.ts --path=out","move":"shx rm -rf root/@types/tronweb/protocol && shx mv out/ root/@types/tronweb/protocol/","build":"yarpm run clean && yarpm run submodule && yarpm run generate && yarpm run replace && yarpm run rename && yarpm run move"},"bugs":{"url":"https://gitlab.com/agrozyme-package/TypeScript/types-tronweb/issues"},"_id":"@agrozyme/types-tronweb@5.3.1","_integrity":"sha512-Zpdz19gd6cRQRSi30cQd5iTE3G4F97eEWiHuauh7Qa5ZHWmYycmbccBzT+O4qTLbvdILY8NxEVWt5c0nLt+bqA==","_resolved":"Z:\\Temp\\593754ed7e2e50e6e2c409641a93e1b9\\agrozyme-types-tronweb-5.3.1.tgz","_from":"file:agrozyme-types-tronweb-5.3.1.tgz","_nodeVersion":"20.6.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-Zpdz19gd6cRQRSi30cQd5iTE3G4F97eEWiHuauh7Qa5ZHWmYycmbccBzT+O4qTLbvdILY8NxEVWt5c0nLt+bqA==","shasum":"4c5dda0d57b9ba6a179a4231ab77f024b1459c36","tarball":"https://registry.npmjs.org/@agrozyme/types-tronweb/-/types-tronweb-5.3.1.tgz","fileCount":95,"unpackedSize":208065,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCtWXIAnmLjOcgjP0U1GJ+A/zvKG/5MDGDj7rF8P8i3yQIgKs6wkvO8bYugU1up9+L4FJxalzMvfnyX7sFv40+YlsY="}]},"_npmUser":{"name":"agrozyme","email":"agrozyme@gmail.com"},"directories":{},"maintainers":[{"name":"agrozyme","email":"agrozyme@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/types-tronweb_5.3.1_1693987183377_0.7702609824650015"},"_hasShrinkwrap":false},"5.3.2":{"name":"@agrozyme/types-tronweb","version":"5.3.2","description":"TypeScript definitions for tronweb","type":"module","types":"./root/@types/tronweb/index.d.ts","repository":{"type":"git","url":"git+https://gitlab.com/agrozyme-package/TypeScript/types-tronweb.git"},"homepage":"https://gitlab.com/agrozyme-package/TypeScript/types-tronweb","keywords":[],"author":"","license":"ISC","devDependencies":{"@bufbuild/buf":"^1","@bufbuild/protobuf":"^1","@bufbuild/protoc-gen-es":"^1","@ethersproject/abi":"^5","@ethersproject/properties":"^5","@types/injectpromise":"^1","axios":"^1","bignumber.js":"^9","ethers":"^6","eventemitter3":"^5","recursive-rename":"^4","replace-in-files-cli":"^2","shx":"^0","yarpm":"^1"},"scripts":{"clean":"shx rm -rf out protocol","submodule":"git submodule add --force https://github.com/tronprotocol/protocol.git protocol","generate":"buf mod update && shx cp buf.yaml buf.lock protocol && buf generate","replace:enum":"replace-in-files --string=\"export enum \" --replacement=\"export declare const enum \" out/**/*.ts","replace:Uint8Array":"replace-in-files --string=Uint8Array --replacement=string out/**/*.ts","replace":"yarpm run replace:enum && yarpm run replace:Uint8Array","rename":"recursiveRename ts d.ts --path=out","move":"shx rm -rf root/@types/tronweb/protocol && shx mv out/ root/@types/tronweb/protocol/","build":"yarpm run clean && yarpm run submodule && yarpm run generate && yarpm run replace && yarpm run rename && yarpm run move"},"bugs":{"url":"https://gitlab.com/agrozyme-package/TypeScript/types-tronweb/issues"},"_id":"@agrozyme/types-tronweb@5.3.2","_integrity":"sha512-j02xjgxiHoKz779dea6Zf1zH/sDN2B0sCzb1drpW50KFPtAe3nPNN3h7ThLsMMmvZpLZgqqGiasw7YDnJOx7Zw==","_resolved":"Z:\\Temp\\4363f4375703de51c2f91ebc3c76ad09\\agrozyme-types-tronweb-5.3.2.tgz","_from":"file:agrozyme-types-tronweb-5.3.2.tgz","_nodeVersion":"20.6.1","_npmVersion":"9.8.1","dist":{"integrity":"sha512-j02xjgxiHoKz779dea6Zf1zH/sDN2B0sCzb1drpW50KFPtAe3nPNN3h7ThLsMMmvZpLZgqqGiasw7YDnJOx7Zw==","shasum":"29e2fac8fd812873a9d1473a3ce4a02d46cfc5e8","tarball":"https://registry.npmjs.org/@agrozyme/types-tronweb/-/types-tronweb-5.3.2.tgz","fileCount":95,"unpackedSize":208103,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBNekfDn9X+if+Ugxs1K3+MdBJXEK+BmTX000M4etRSNAiEA5sRT2SJzoPh8XpB0eoAZm6ry2LF6bQitnKZZ3STzJ/o="}]},"_npmUser":{"name":"agrozyme","email":"agrozyme@gmail.com"},"directories":{},"maintainers":[{"name":"agrozyme","email":"agrozyme@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/types-tronweb_5.3.2_1694499328475_0.6552918376599681"},"_hasShrinkwrap":false}},"time":{"created":"2023-06-29T08:05:09.308Z","5.2.0":"2023-06-29T08:05:09.543Z","modified":"2023-09-12T06:15:28.829Z","5.3.0":"2023-07-20T06:00:06.869Z","5.3.1":"2023-09-06T07:59:43.584Z","5.3.2":"2023-09-12T06:15:28.647Z"},"maintainers":[{"name":"agrozyme","email":"agrozyme@gmail.com"}],"description":"TypeScript definitions for tronweb","keywords":[],"license":"ISC","readme":"# types-tronweb\n\nTypeScript definitions for TronWeb\n\n- Include all TronWeb and TronLink types from source code\n- convert protobuf definitions to typescript definitions and re-export types with prefix `Tron`\n- TronLink types with prefix `TronLink`\n- only the TronWeb class can use `new TronWeb` by `import TronWeb from 'tronweb'`\n- other declare class always use for type hint\n- use this package, to create folder `@types/tronweb` under the source folder and put the code in `index.d.ts`\n\n```ts\ndeclare module 'tronweb' {\n  export * from '@agrozyme/types-tronweb';\n  import TronWeb from '@agrozyme/types-tronweb';\n  export default TronWeb;\n}\n```\n\n- In browser project, it can manually define the `TronLink` injected object type\n\n```ts\ndeclare global {\n  interface Window {\n    tron?: Tron;\n    tronLink?: TronLink;\n    tronWeb?: TronWeb;\n  }\n}\n```\n","readmeFilename":"README.md","homepage":"https://gitlab.com/agrozyme-package/TypeScript/types-tronweb","repository":{"type":"git","url":"git+https://gitlab.com/agrozyme-package/TypeScript/types-tronweb.git"},"bugs":{"url":"https://gitlab.com/agrozyme-package/TypeScript/types-tronweb/issues"}}