Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@rabbitholegg/questdk-plugin-utils

Package Overview
Dependencies
Maintainers
3
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rabbitholegg/questdk-plugin-utils - npm Package Compare versions

Comparing version 1.0.0-alpha.3 to 1.0.0-alpha.4

12

CHANGELOG.md
# @rabbitholegg/questdk-plugin-utils
## 1.0.0-alpha.4
### Minor Changes
- [#195](https://github.com/rabbitholegg/questdk-plugins/pull/195) [`9f081c7`](https://github.com/rabbitholegg/questdk-plugins/commit/9f081c7e89479aa8e29abd8d36908515dfc16e3b) Thanks [@mmackz](https://github.com/mmackz)! - export Chains enum from index.ts
- [#200](https://github.com/rabbitholegg/questdk-plugins/pull/200) [`9fe746a`](https://github.com/rabbitholegg/questdk-plugins/commit/9fe746ad29ba042d40dc8ab610cd531c83a878c3) Thanks [@Quazia](https://github.com/Quazia)! - Adjust utils export to avoid \*
### Patch Changes
- [#194](https://github.com/rabbitholegg/questdk-plugins/pull/194) [`85c8cd8`](https://github.com/rabbitholegg/questdk-plugins/commit/85c8cd82070ba9a17f5181183533b4f1a5b117d7) Thanks [@mmackz](https://github.com/mmackz)! - add Zora Chain Id to Chains enum
## 1.0.0-alpha.3

@@ -4,0 +16,0 @@

8

coverage/coverage-final.json

@@ -1,7 +0,7 @@

{"/home/runner/work/questdk-plugins/questdk-plugins/packages/utils/src/index.ts": {"path":"/home/runner/work/questdk-plugins/questdk-plugins/packages/utils/src/index.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":27}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":25}}},"s":{"0":1,"1":1},"branchMap":{},"b":{},"fnMap":{},"f":{}}
,"/home/runner/work/questdk-plugins/questdk-plugins/packages/utils/src/constants/chain-ids.ts": {"path":"/home/runner/work/questdk-plugins/questdk-plugins/packages/utils/src/constants/chain-ids.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":20}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":15}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":16}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":27}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":15}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":20}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":20}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":20}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":16}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":14}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":23}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":20}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":16}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":18}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":1}}},"s":{"0":1,"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":1},"branchMap":{"0":{"type":"branch","line":1,"loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":20}},"locations":[{"start":{"line":1,"column":7},"end":{"line":1,"column":20}}]}},"b":{"0":[1]},"fnMap":{},"f":{}}
,"/home/runner/work/questdk-plugins/questdk-plugins/packages/utils/src/constants/contract-addresses.ts": {"path":"/home/runner/work/questdk-plugins/questdk-plugins/packages/utils/src/constants/contract-addresses.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":63}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":36}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":0}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":43}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":21}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":54}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":55}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":55}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":55}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":55}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":55}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":55}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":54}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":55}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":56}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":1}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":0}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":43}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":21}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":54}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":55}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":55}},"22":{"start":{"line":23,"column":0},"end":{"line":23,"column":53}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":55}},"24":{"start":{"line":25,"column":0},"end":{"line":25,"column":56}},"25":{"start":{"line":26,"column":0},"end":{"line":26,"column":55}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":55}},"27":{"start":{"line":28,"column":0},"end":{"line":28,"column":55}},"28":{"start":{"line":29,"column":0},"end":{"line":29,"column":1}},"29":{"start":{"line":30,"column":0},"end":{"line":30,"column":0}},"30":{"start":{"line":31,"column":0},"end":{"line":31,"column":42}},"31":{"start":{"line":32,"column":0},"end":{"line":32,"column":23}},"32":{"start":{"line":33,"column":0},"end":{"line":33,"column":54}},"33":{"start":{"line":34,"column":0},"end":{"line":34,"column":55}},"34":{"start":{"line":35,"column":0},"end":{"line":35,"column":54}},"35":{"start":{"line":36,"column":0},"end":{"line":36,"column":55}},"36":{"start":{"line":37,"column":0},"end":{"line":37,"column":56}},"37":{"start":{"line":38,"column":0},"end":{"line":38,"column":55}},"38":{"start":{"line":39,"column":0},"end":{"line":39,"column":56}},"39":{"start":{"line":40,"column":0},"end":{"line":40,"column":55}},"40":{"start":{"line":41,"column":0},"end":{"line":41,"column":55}},"41":{"start":{"line":42,"column":0},"end":{"line":42,"column":55}},"42":{"start":{"line":43,"column":0},"end":{"line":43,"column":57}},"43":{"start":{"line":44,"column":0},"end":{"line":44,"column":1}},"44":{"start":{"line":45,"column":0},"end":{"line":45,"column":0}},"45":{"start":{"line":46,"column":0},"end":{"line":46,"column":39}},"46":{"start":{"line":47,"column":0},"end":{"line":47,"column":21}},"47":{"start":{"line":48,"column":0},"end":{"line":48,"column":54}},"48":{"start":{"line":49,"column":0},"end":{"line":49,"column":56}},"49":{"start":{"line":50,"column":0},"end":{"line":50,"column":54}},"50":{"start":{"line":51,"column":0},"end":{"line":51,"column":56}},"51":{"start":{"line":52,"column":0},"end":{"line":52,"column":55}},"52":{"start":{"line":53,"column":0},"end":{"line":53,"column":55}},"53":{"start":{"line":54,"column":0},"end":{"line":54,"column":1}},"54":{"start":{"line":55,"column":0},"end":{"line":55,"column":0}},"55":{"start":{"line":56,"column":0},"end":{"line":56,"column":43}},"56":{"start":{"line":57,"column":0},"end":{"line":57,"column":21}},"57":{"start":{"line":58,"column":0},"end":{"line":58,"column":54}},"58":{"start":{"line":59,"column":0},"end":{"line":59,"column":54}},"59":{"start":{"line":60,"column":0},"end":{"line":60,"column":56}},"60":{"start":{"line":61,"column":0},"end":{"line":61,"column":55}},"61":{"start":{"line":62,"column":0},"end":{"line":62,"column":56}},"62":{"start":{"line":63,"column":0},"end":{"line":63,"column":55}},"63":{"start":{"line":64,"column":0},"end":{"line":64,"column":55}},"64":{"start":{"line":65,"column":0},"end":{"line":65,"column":55}},"65":{"start":{"line":66,"column":0},"end":{"line":66,"column":1}},"66":{"start":{"line":67,"column":0},"end":{"line":67,"column":0}},"67":{"start":{"line":68,"column":0},"end":{"line":68,"column":78}},"68":{"start":{"line":69,"column":0},"end":{"line":69,"column":44}},"69":{"start":{"line":70,"column":0},"end":{"line":70,"column":44}},"70":{"start":{"line":71,"column":0},"end":{"line":71,"column":48}},"71":{"start":{"line":72,"column":0},"end":{"line":72,"column":46}},"72":{"start":{"line":73,"column":0},"end":{"line":73,"column":36}},"73":{"start":{"line":74,"column":0},"end":{"line":74,"column":1}}},"s":{"0":1,"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"58":1,"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1,"71":1,"72":1,"73":1},"branchMap":{},"b":{},"fnMap":{},"f":{}}
,"/home/runner/work/questdk-plugins/questdk-plugins/packages/utils/src/constants/index.ts": {"path":"/home/runner/work/questdk-plugins/questdk-plugins/packages/utils/src/constants/index.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":36}}},"s":{"0":1},"branchMap":{},"b":{},"fnMap":{},"f":{}}
{"/home/runner/work/questdk-plugins/questdk-plugins/packages/utils/src/index.ts": {"path":"/home/runner/work/questdk-plugins/questdk-plugins/packages/utils/src/index.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":53}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":74}}},"s":{"0":1,"1":1},"branchMap":{},"b":{},"fnMap":{},"f":{}}
,"/home/runner/work/questdk-plugins/questdk-plugins/packages/utils/src/constants/chain-ids.ts": {"path":"/home/runner/work/questdk-plugins/questdk-plugins/packages/utils/src/constants/chain-ids.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":20}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":15}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":16}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":27}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":15}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":20}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":20}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":20}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":16}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":14}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":23}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":20}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":16}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":18}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":17}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":1}}},"s":{"0":1,"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":1,"15":1},"branchMap":{"0":{"type":"branch","line":1,"loc":{"start":{"line":1,"column":7},"end":{"line":1,"column":20}},"locations":[{"start":{"line":1,"column":7},"end":{"line":1,"column":20}}]}},"b":{"0":[1]},"fnMap":{},"f":{}}
,"/home/runner/work/questdk-plugins/questdk-plugins/packages/utils/src/constants/contract-addresses.ts": {"path":"/home/runner/work/questdk-plugins/questdk-plugins/packages/utils/src/constants/contract-addresses.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":63}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":36}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":0}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":50}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":21}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":54}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":55}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":55}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":55}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":55}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":55}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":55}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":54}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":55}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":56}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":1}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":0}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":50}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":21}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":54}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":55}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":55}},"22":{"start":{"line":23,"column":0},"end":{"line":23,"column":53}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":55}},"24":{"start":{"line":25,"column":0},"end":{"line":25,"column":56}},"25":{"start":{"line":26,"column":0},"end":{"line":26,"column":55}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":55}},"27":{"start":{"line":28,"column":0},"end":{"line":28,"column":55}},"28":{"start":{"line":29,"column":0},"end":{"line":29,"column":1}},"29":{"start":{"line":30,"column":0},"end":{"line":30,"column":0}},"30":{"start":{"line":31,"column":0},"end":{"line":31,"column":49}},"31":{"start":{"line":32,"column":0},"end":{"line":32,"column":23}},"32":{"start":{"line":33,"column":0},"end":{"line":33,"column":54}},"33":{"start":{"line":34,"column":0},"end":{"line":34,"column":55}},"34":{"start":{"line":35,"column":0},"end":{"line":35,"column":54}},"35":{"start":{"line":36,"column":0},"end":{"line":36,"column":55}},"36":{"start":{"line":37,"column":0},"end":{"line":37,"column":56}},"37":{"start":{"line":38,"column":0},"end":{"line":38,"column":55}},"38":{"start":{"line":39,"column":0},"end":{"line":39,"column":56}},"39":{"start":{"line":40,"column":0},"end":{"line":40,"column":55}},"40":{"start":{"line":41,"column":0},"end":{"line":41,"column":55}},"41":{"start":{"line":42,"column":0},"end":{"line":42,"column":55}},"42":{"start":{"line":43,"column":0},"end":{"line":43,"column":57}},"43":{"start":{"line":44,"column":0},"end":{"line":44,"column":1}},"44":{"start":{"line":45,"column":0},"end":{"line":45,"column":0}},"45":{"start":{"line":46,"column":0},"end":{"line":46,"column":46}},"46":{"start":{"line":47,"column":0},"end":{"line":47,"column":21}},"47":{"start":{"line":48,"column":0},"end":{"line":48,"column":54}},"48":{"start":{"line":49,"column":0},"end":{"line":49,"column":56}},"49":{"start":{"line":50,"column":0},"end":{"line":50,"column":54}},"50":{"start":{"line":51,"column":0},"end":{"line":51,"column":56}},"51":{"start":{"line":52,"column":0},"end":{"line":52,"column":55}},"52":{"start":{"line":53,"column":0},"end":{"line":53,"column":55}},"53":{"start":{"line":54,"column":0},"end":{"line":54,"column":1}},"54":{"start":{"line":55,"column":0},"end":{"line":55,"column":0}},"55":{"start":{"line":56,"column":0},"end":{"line":56,"column":50}},"56":{"start":{"line":57,"column":0},"end":{"line":57,"column":21}},"57":{"start":{"line":58,"column":0},"end":{"line":58,"column":54}},"58":{"start":{"line":59,"column":0},"end":{"line":59,"column":54}},"59":{"start":{"line":60,"column":0},"end":{"line":60,"column":56}},"60":{"start":{"line":61,"column":0},"end":{"line":61,"column":55}},"61":{"start":{"line":62,"column":0},"end":{"line":62,"column":56}},"62":{"start":{"line":63,"column":0},"end":{"line":63,"column":55}},"63":{"start":{"line":64,"column":0},"end":{"line":64,"column":55}},"64":{"start":{"line":65,"column":0},"end":{"line":65,"column":55}},"65":{"start":{"line":66,"column":0},"end":{"line":66,"column":1}},"66":{"start":{"line":67,"column":0},"end":{"line":67,"column":0}},"67":{"start":{"line":68,"column":0},"end":{"line":68,"column":78}},"68":{"start":{"line":69,"column":0},"end":{"line":69,"column":44}},"69":{"start":{"line":70,"column":0},"end":{"line":70,"column":44}},"70":{"start":{"line":71,"column":0},"end":{"line":71,"column":48}},"71":{"start":{"line":72,"column":0},"end":{"line":72,"column":46}},"72":{"start":{"line":73,"column":0},"end":{"line":73,"column":36}},"73":{"start":{"line":74,"column":0},"end":{"line":74,"column":1}}},"s":{"0":1,"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"58":1,"59":1,"60":1,"61":1,"62":1,"63":1,"64":1,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1,"71":1,"72":1,"73":1},"branchMap":{},"b":{},"fnMap":{},"f":{}}
,"/home/runner/work/questdk-plugins/questdk-plugins/packages/utils/src/constants/index.ts": {"path":"/home/runner/work/questdk-plugins/questdk-plugins/packages/utils/src/constants/index.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":54}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":36}}},"s":{"0":1,"1":1},"branchMap":{},"b":{},"fnMap":{},"f":{}}
,"/home/runner/work/questdk-plugins/questdk-plugins/packages/utils/src/helpers/index.ts": {"path":"/home/runner/work/questdk-plugins/questdk-plugins/packages/utils/src/helpers/index.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":79}}},"s":{"0":1},"branchMap":{},"b":{},"fnMap":{},"f":{}}
,"/home/runner/work/questdk-plugins/questdk-plugins/packages/utils/src/helpers/test-helpers.ts": {"path":"/home/runner/work/questdk-plugins/questdk-plugins/packages/utils/src/helpers/test-helpers.ts","all":false,"statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":41}},"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":0}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":57}},"3":{"start":{"line":4,"column":0},"end":{"line":4,"column":0}},"4":{"start":{"line":5,"column":0},"end":{"line":5,"column":23}},"5":{"start":{"line":6,"column":0},"end":{"line":6,"column":17}},"6":{"start":{"line":7,"column":0},"end":{"line":7,"column":15}},"7":{"start":{"line":8,"column":0},"end":{"line":8,"column":13}},"8":{"start":{"line":9,"column":0},"end":{"line":9,"column":15}},"9":{"start":{"line":10,"column":0},"end":{"line":10,"column":13}},"10":{"start":{"line":11,"column":0},"end":{"line":11,"column":15}},"11":{"start":{"line":12,"column":0},"end":{"line":12,"column":1}},"12":{"start":{"line":13,"column":0},"end":{"line":13,"column":0}},"13":{"start":{"line":14,"column":0},"end":{"line":14,"column":51}},"14":{"start":{"line":15,"column":0},"end":{"line":15,"column":26}},"15":{"start":{"line":16,"column":0},"end":{"line":16,"column":11}},"16":{"start":{"line":17,"column":0},"end":{"line":17,"column":21}},"17":{"start":{"line":18,"column":0},"end":{"line":18,"column":1}},"18":{"start":{"line":19,"column":0},"end":{"line":19,"column":0}},"19":{"start":{"line":20,"column":0},"end":{"line":20,"column":50}},"20":{"start":{"line":21,"column":0},"end":{"line":21,"column":26}},"21":{"start":{"line":22,"column":0},"end":{"line":22,"column":11}},"22":{"start":{"line":23,"column":0},"end":{"line":23,"column":1}},"23":{"start":{"line":24,"column":0},"end":{"line":24,"column":0}},"24":{"start":{"line":25,"column":0},"end":{"line":25,"column":3}},"25":{"start":{"line":26,"column":0},"end":{"line":26,"column":65}},"26":{"start":{"line":27,"column":0},"end":{"line":27,"column":2}},"27":{"start":{"line":28,"column":0},"end":{"line":28,"column":83}},"28":{"start":{"line":29,"column":0},"end":{"line":29,"column":83}},"29":{"start":{"line":30,"column":0},"end":{"line":30,"column":91}},"30":{"start":{"line":31,"column":0},"end":{"line":31,"column":82}},"31":{"start":{"line":32,"column":0},"end":{"line":32,"column":2}},"32":{"start":{"line":33,"column":0},"end":{"line":33,"column":98}},"33":{"start":{"line":34,"column":0},"end":{"line":34,"column":70}},"34":{"start":{"line":35,"column":0},"end":{"line":35,"column":82}},"35":{"start":{"line":36,"column":0},"end":{"line":36,"column":91}},"36":{"start":{"line":37,"column":0},"end":{"line":37,"column":3}},"37":{"start":{"line":38,"column":0},"end":{"line":38,"column":55}},"38":{"start":{"line":39,"column":0},"end":{"line":39,"column":28}},"39":{"start":{"line":40,"column":0},"end":{"line":40,"column":22}},"40":{"start":{"line":41,"column":0},"end":{"line":41,"column":29}},"41":{"start":{"line":42,"column":0},"end":{"line":42,"column":16}},"42":{"start":{"line":43,"column":0},"end":{"line":43,"column":10}},"43":{"start":{"line":44,"column":0},"end":{"line":44,"column":40}},"44":{"start":{"line":45,"column":0},"end":{"line":45,"column":51}},"45":{"start":{"line":46,"column":0},"end":{"line":46,"column":16}},"46":{"start":{"line":47,"column":0},"end":{"line":47,"column":3}},"47":{"start":{"line":48,"column":0},"end":{"line":48,"column":1}}},"s":{"0":1,"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1},"branchMap":{"0":{"type":"branch","line":38,"loc":{"start":{"line":38,"column":7},"end":{"line":48,"column":1}},"locations":[{"start":{"line":38,"column":7},"end":{"line":48,"column":1}}]}},"b":{"0":[1]},"fnMap":{"0":{"name":"createTestCase","decl":{"start":{"line":38,"column":7},"end":{"line":48,"column":1}},"loc":{"start":{"line":38,"column":7},"end":{"line":48,"column":1}},"line":38}},"f":{"0":1}}
}

@@ -19,3 +19,4 @@ "use strict";

Chains[Chains["SCROLL"] = 534352] = "SCROLL";
Chains[Chains["ZORA"] = 7777777] = "ZORA";
})(Chains || (exports.Chains = Chains = {}));
//# sourceMappingURL=chain-ids.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CHAIN_TO_TOKENS = void 0;
exports.CHAIN_TO_TOKENS = exports.arbitrumTokenAddresses = exports.baseTokenAddresses = exports.polygonTokenAddresses = exports.optimismTokenAddresses = exports.ethereumTokenAddresses = void 0;
const viem_1 = require("viem");
const chain_ids_1 = require("./chain-ids");
const ethereumTokenAddresses = [
exports.ethereumTokenAddresses = [
viem_1.zeroAddress,

@@ -19,3 +19,3 @@ '0x6B175474E89094C44Da98b954EedeAC495271d0F',

];
const optimismTokenAddresses = [
exports.optimismTokenAddresses = [
viem_1.zeroAddress,

@@ -32,3 +32,3 @@ '0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1',

];
const polygonTokenAddresses = [
exports.polygonTokenAddresses = [
viem_1.zeroAddress,

@@ -47,3 +47,3 @@ '0x9a71012B13CA4d3D0Cdc72A177DF3ef03b0E76A3',

];
const baseTokenAddresses = [
exports.baseTokenAddresses = [
viem_1.zeroAddress,

@@ -57,3 +57,3 @@ '0x4158734D47Fc9692176B5085E0F52ee0Da5d47F1',

];
const arbitrumTokenAddresses = [
exports.arbitrumTokenAddresses = [
viem_1.zeroAddress,

@@ -70,8 +70,8 @@ '0x912CE59144191C1204E64559FE8253a0e49E6548',

exports.CHAIN_TO_TOKENS = {
[chain_ids_1.Chains.ETHEREUM]: ethereumTokenAddresses,
[chain_ids_1.Chains.OPTIMISM]: optimismTokenAddresses,
[chain_ids_1.Chains.ARBITRUM_ONE]: arbitrumTokenAddresses,
[chain_ids_1.Chains.POLYGON_POS]: polygonTokenAddresses,
[chain_ids_1.Chains.BASE]: baseTokenAddresses,
[chain_ids_1.Chains.ETHEREUM]: exports.ethereumTokenAddresses,
[chain_ids_1.Chains.OPTIMISM]: exports.optimismTokenAddresses,
[chain_ids_1.Chains.ARBITRUM_ONE]: exports.arbitrumTokenAddresses,
[chain_ids_1.Chains.POLYGON_POS]: exports.polygonTokenAddresses,
[chain_ids_1.Chains.BASE]: exports.baseTokenAddresses,
};
//# sourceMappingURL=contract-addresses.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("./contract-addresses"), exports);
exports.Chains = exports.CHAIN_TO_TOKENS = void 0;
var contract_addresses_1 = require("./contract-addresses");
Object.defineProperty(exports, "CHAIN_TO_TOKENS", { enumerable: true, get: function () { return contract_addresses_1.CHAIN_TO_TOKENS; } });
var chain_ids_1 = require("./chain-ids");
Object.defineProperty(exports, "Chains", { enumerable: true, get: function () { return chain_ids_1.Chains; } });
//# sourceMappingURL=index.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("./constants"), exports);
tslib_1.__exportStar(require("./helpers"), exports);
exports.createTestCase = exports.Chains = exports.CHAIN_TO_TOKENS = void 0;
var constants_1 = require("./constants");
Object.defineProperty(exports, "CHAIN_TO_TOKENS", { enumerable: true, get: function () { return constants_1.CHAIN_TO_TOKENS; } });
Object.defineProperty(exports, "Chains", { enumerable: true, get: function () { return constants_1.Chains; } });
var helpers_1 = require("./helpers");
Object.defineProperty(exports, "createTestCase", { enumerable: true, get: function () { return helpers_1.createTestCase; } });
//# sourceMappingURL=index.js.map

@@ -16,3 +16,4 @@ export var Chains;

Chains[Chains["SCROLL"] = 534352] = "SCROLL";
Chains[Chains["ZORA"] = 7777777] = "ZORA";
})(Chains || (Chains = {}));
//# sourceMappingURL=chain-ids.js.map
import { zeroAddress as ETH_ADDRESS } from 'viem';
import { Chains } from './chain-ids';
const ethereumTokenAddresses = [
ETH_ADDRESS,
'0x6B175474E89094C44Da98b954EedeAC495271d0F',
'0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48',
'0xdAC17F958D2ee523a2206206994597C13D831ec7',
'0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599',
'0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2',
'0x514910771AF9Ca656af840dff83E8264EcF986CA',
'0xc00e94Cb662C3520282E6f5717214004A7f26888',
'0x6810e776880C02933D47DB1b9fc05908e5386b96',
'0x6De037ef9aD2725EB40118Bb1702EBb27e4Aeb24',
export const ethereumTokenAddresses = [
ETH_ADDRESS, // ETH
'0x6B175474E89094C44Da98b954EedeAC495271d0F', // DAI
'0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48', // USDC
'0xdAC17F958D2ee523a2206206994597C13D831ec7', // USDT
'0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599', // WBTC
'0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2', // WETH
'0x514910771AF9Ca656af840dff83E8264EcF986CA', // LINK
'0xc00e94Cb662C3520282E6f5717214004A7f26888', // COMP
'0x6810e776880C02933D47DB1b9fc05908e5386b96', // GNO
'0x6De037ef9aD2725EB40118Bb1702EBb27e4Aeb24', // RNDR
'0xd4d42F0b6DEF4CE0383636770eF773390d85c61A', // SUSHI
];
const optimismTokenAddresses = [
ETH_ADDRESS,
'0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1',
'0xFdb794692724153d1488CcdBE0C56c252596735F',
'0x350a791Bfc2C21F9Ed5d10980Dad2e2638ffa7f6',
'0x4200000000000000000000000000000000000042',
'0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85',
'0x7F5c764cBc14f9669B88837ca1490cCa17c31607',
'0x94b008aA00579c1307B0EF2c499aD98a8ce58e58',
'0x68f180fcCe6836688e9084f035309E29Bf0A2095',
export const optimismTokenAddresses = [
ETH_ADDRESS, // ETH
'0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1', // DAI
'0xFdb794692724153d1488CcdBE0C56c252596735F', // LIDO
'0x350a791Bfc2C21F9Ed5d10980Dad2e2638ffa7f6', // LINK
'0x4200000000000000000000000000000000000042', // OP
'0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85', // USDC
'0x7F5c764cBc14f9669B88837ca1490cCa17c31607', // USDCE
'0x94b008aA00579c1307B0EF2c499aD98a8ce58e58', // USDT
'0x68f180fcCe6836688e9084f035309E29Bf0A2095', // WBTC
'0x4200000000000000000000000000000000000006', // WETH
];
const polygonTokenAddresses = [
ETH_ADDRESS,
'0x9a71012B13CA4d3D0Cdc72A177DF3ef03b0E76A3',
'0x8505b9d2254A7Ae468c0E9dd10Ccea3A837aef5c',
'0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063',
'0xC3C7d422809852031b44ab29EEC9F1EfF2A58756',
'0x0b3F868E0BE5597D5DB7fEB59E1CADBb0fdDa50a',
'0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359',
'0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174',
'0xc2132D05D31c914a87C6611C10748AEb04B58e8F',
'0x1BFD67037B42Cf73acF2047067bd4F2C47D9BfD6',
'0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619',
export const polygonTokenAddresses = [
ETH_ADDRESS, // MATIC
'0x9a71012B13CA4d3D0Cdc72A177DF3ef03b0E76A3', // BAL
'0x8505b9d2254A7Ae468c0E9dd10Ccea3A837aef5c', // COMP
'0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063', // DAI
'0xC3C7d422809852031b44ab29EEC9F1EfF2A58756', // LIDO
'0x0b3F868E0BE5597D5DB7fEB59E1CADBb0fdDa50a', // SUSHI
'0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359', // USDC
'0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174', // USDCE
'0xc2132D05D31c914a87C6611C10748AEb04B58e8F', // USDT
'0x1BFD67037B42Cf73acF2047067bd4F2C47D9BfD6', // WBTC
'0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619', // WETH
'0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270', // WMATIC
];
const baseTokenAddresses = [
ETH_ADDRESS,
'0x4158734D47Fc9692176B5085E0F52ee0Da5d47F1',
'0x2Ae3F1Ec7F1F5012CFEab0185bfc7aa3cf0DEc22',
'0x50c5725949A6F0c72E6C4a641F24049A917DB0Cb',
'0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA',
'0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913',
export const baseTokenAddresses = [
ETH_ADDRESS, // ETH
'0x4158734D47Fc9692176B5085E0F52ee0Da5d47F1', // BAL
'0x2Ae3F1Ec7F1F5012CFEab0185bfc7aa3cf0DEc22', // cbETH
'0x50c5725949A6F0c72E6C4a641F24049A917DB0Cb', // DAI
'0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA', // USDbC
'0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913', // USDC
'0x4200000000000000000000000000000000000006', // WETH
];
const arbitrumTokenAddresses = [
ETH_ADDRESS,
'0x912CE59144191C1204E64559FE8253a0e49E6548',
'0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1',
'0xd4d42F0b6DEF4CE0383636770eF773390d85c61A',
'0xaf88d065e77c8cC2239327C5EDb3A432268e5831',
'0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8',
'0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9',
'0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f',
export const arbitrumTokenAddresses = [
ETH_ADDRESS, // ETH
'0x912CE59144191C1204E64559FE8253a0e49E6548', // ARB
'0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1', // DAI
'0xd4d42F0b6DEF4CE0383636770eF773390d85c61A', // SUSHI
'0xaf88d065e77c8cC2239327C5EDb3A432268e5831', // USDC
'0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8', // USDCE
'0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9', // USDT
'0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f', // WBTC
'0x82aF49447D8a07e3bd95BD0d56f35241523fBab1', // WETH

@@ -61,0 +61,0 @@ ];

@@ -1,2 +0,3 @@

export * from './contract-addresses';
export { CHAIN_TO_TOKENS } from './contract-addresses';
export { Chains } from './chain-ids';
//# sourceMappingURL=index.js.map

@@ -1,3 +0,3 @@

export * from './constants';
export * from './helpers';
export { CHAIN_TO_TOKENS, Chains } from './constants';
export { createTestCase } from './helpers';
//# sourceMappingURL=index.js.map

@@ -14,4 +14,5 @@ export declare enum Chains {

LINEA = 59144,
SCROLL = 534352
SCROLL = 534352,
ZORA = 7777777
}
//# sourceMappingURL=chain-ids.d.ts.map
import { type Address } from 'viem';
export declare const ethereumTokenAddresses: Address[];
export declare const optimismTokenAddresses: Address[];
export declare const polygonTokenAddresses: Address[];
export declare const baseTokenAddresses: Address[];
export declare const arbitrumTokenAddresses: Address[];
export declare const CHAIN_TO_TOKENS: {

@@ -3,0 +8,0 @@ [chainId: number]: Address[] | undefined;

@@ -1,2 +0,3 @@

export * from './contract-addresses';
export { CHAIN_TO_TOKENS } from './contract-addresses';
export { Chains } from './chain-ids';
//# sourceMappingURL=index.d.ts.map

@@ -1,3 +0,3 @@

export * from './constants';
export * from './helpers';
export { CHAIN_TO_TOKENS, Chains } from './constants';
export { createTestCase, type TestCase, type TestParams } from './helpers';
//# sourceMappingURL=index.d.ts.map
{
"name": "@rabbitholegg/questdk-plugin-utils",
"version": "1.0.0-alpha.3",
"type": "module",
"version": "1.0.0-alpha.4",
"exports": {

@@ -6,0 +5,0 @@ "require": "./dist/cjs/index.js",

@@ -15,2 +15,3 @@ export enum Chains {

SCROLL = 534352,
ZORA = 7777777,
}
import { type Address, zeroAddress as ETH_ADDRESS } from 'viem'
import { Chains } from './chain-ids'
const ethereumTokenAddresses: Address[] = [
export const ethereumTokenAddresses: Address[] = [
ETH_ADDRESS, // ETH

@@ -18,3 +18,3 @@ '0x6B175474E89094C44Da98b954EedeAC495271d0F', // DAI

const optimismTokenAddresses: Address[] = [
export const optimismTokenAddresses: Address[] = [
ETH_ADDRESS, // ETH

@@ -32,3 +32,3 @@ '0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1', // DAI

const polygonTokenAddresses: Address[] = [
export const polygonTokenAddresses: Address[] = [
ETH_ADDRESS, // MATIC

@@ -48,3 +48,3 @@ '0x9a71012B13CA4d3D0Cdc72A177DF3ef03b0E76A3', // BAL

const baseTokenAddresses: Address[] = [
export const baseTokenAddresses: Address[] = [
ETH_ADDRESS, // ETH

@@ -59,3 +59,3 @@ '0x4158734D47Fc9692176B5085E0F52ee0Da5d47F1', // BAL

const arbitrumTokenAddresses: Address[] = [
export const arbitrumTokenAddresses: Address[] = [
ETH_ADDRESS, // ETH

@@ -62,0 +62,0 @@ '0x912CE59144191C1204E64559FE8253a0e49E6548', // ARB

@@ -1,1 +0,2 @@

export * from './contract-addresses'
export { CHAIN_TO_TOKENS } from './contract-addresses'
export { Chains } from './chain-ids'

@@ -1,2 +0,2 @@

export * from './constants'
export * from './helpers'
export { CHAIN_TO_TOKENS, Chains } from './constants'
export { createTestCase, type TestCase, type TestParams } from './helpers'

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc