diff --git a/CHANGELOG.md b/CHANGELOG.md index d0cdf75da..6f6c3b3ef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,106 @@ +# [7.0.0](https://github.com/starknet-io/starknet.js/compare/v6.11.0...v7.0.0) (2024-07-03) + +### Bug Fixes + +- acc deploy_acc ([732cd94](https://github.com/starknet-io/starknet.js/commit/732cd946f26c2b0fe893067f25c1fe712d72d49b)) +- adjust max amount bound calculation for RPC v0.7.0 ([dd34cdb](https://github.com/starknet-io/starknet.js/commit/dd34cdb8b9817a55a16a97d960b1544d75c0059a)) +- apply bound for contract address from hash calculation ([6d8c291](https://github.com/starknet-io/starknet.js/commit/6d8c291bce130d7b00ae6d81aff071c4986f04af)) +- **beta:** deploy account ([#880](https://github.com/starknet-io/starknet.js/issues/880)) ([00c58e3](https://github.com/starknet-io/starknet.js/commit/00c58e3c6d03b716b68c1b96b5a4adc1cff87dd0)) +- byteArray encoding for less than 31 chars ([#1011](https://github.com/starknet-io/starknet.js/issues/1011)) ([653acc4](https://github.com/starknet-io/starknet.js/commit/653acc44c841540214dd6f6b8956b354d7c27644)) +- **Calldata.compile:** do not split long `entrypoint` names before calling `getSelectorFromName` ([89715da](https://github.com/starknet-io/starknet.js/commit/89715da3fdb4b497cc5771eb83a88460007740b6)) +- **Calldata.compile:** do not split long `entrypoint` names before calling `getSelectorFromName` ([9434bcd](https://github.com/starknet-io/starknet.js/commit/9434bcddf74069c7e5bdecbac94017ae23cd2a45)) +- cannot infer ts2742 types from starknet-types@0.7 ([#1098](https://github.com/starknet-io/starknet.js/issues/1098)) ([f1c3b8e](https://github.com/starknet-io/starknet.js/commit/f1c3b8e3aeb96f6efb7e512ac3ba689253004c9d)) +- change build cjs and mjs to unbuild ([#1163](https://github.com/starknet-io/starknet.js/issues/1163)) ([bb4a93d](https://github.com/starknet-io/starknet.js/commit/bb4a93d6639cf90298e0b1003fb31a79f11691f0)) +- drop abi-wan-kanabi-v1 support ([30a4681](https://github.com/starknet-io/starknet.js/commit/30a46815fa9fb88bbcb98df2f4a8dafc5a32b4ab)) +- estimateFeeBulk provided version ([da717be](https://github.com/starknet-io/starknet.js/commit/da717be8e656087eaba21c865a6dd0b648664491)) +- expand encoding type for preset types ([b992446](https://github.com/starknet-io/starknet.js/commit/b9924465a1f01ac4273638f3fa258b36192d2101)) +- move abiwan from dev dependencies to regular dependencies ([#925](https://github.com/starknet-io/starknet.js/issues/925)) ([6b7ee49](https://github.com/starknet-io/starknet.js/commit/6b7ee49918d704f8143f51ab7a0360446ea4cf5e)) +- next version ([#1024](https://github.com/starknet-io/starknet.js/issues/1024)) ([07d4a26](https://github.com/starknet-io/starknet.js/commit/07d4a26c8b93413fcf1b8b54549e11555df86ca9)) +- prioritize error states in waitForTransaction evaluation ([ac54404](https://github.com/starknet-io/starknet.js/commit/ac544045e2079b68042d850a09b203fc5536c0d0)) +- provider rpc 0.5-0.6 getTransactionReceipt response standardization ([76b6ab4](https://github.com/starknet-io/starknet.js/commit/76b6ab49f6721d1f76c3f30d3d88d6dbc8b80bda)) +- remove [warning] from typedoc for external usage ([#1095](https://github.com/starknet-io/starknet.js/issues/1095)) ([195186f](https://github.com/starknet-io/starknet.js/commit/195186fc2974ab0d164b1a48c68f7bf026329df5)), closes [#1121](https://github.com/starknet-io/starknet.js/issues/1121) [#1126](https://github.com/starknet-io/starknet.js/issues/1126) +- remove account_deployment_data from deploy Account ([ede83bf](https://github.com/starknet-io/starknet.js/commit/ede83bfda3c6fcfa9dd397c92bd709293c8dda9b)) +- repair Cairo 1 nested and enum tuple handling ([ce2e541](https://github.com/starknet-io/starknet.js/commit/ce2e5417e6c42af17418408dc1ca6aab4c570473)) +- revert enums partially & tsup build ([#1165](https://github.com/starknet-io/starknet.js/issues/1165)) ([57b2c72](https://github.com/starknet-io/starknet.js/commit/57b2c7210147f3ff33ebffa844351b50bee6534e)) +- rpc event ([ae3e265](https://github.com/starknet-io/starknet.js/commit/ae3e265f6617bd79c8435483916b0f24be036fa6)) +- **RpcChannel:** allow client to provide `specVersion` ([ae8cf8e](https://github.com/starknet-io/starknet.js/commit/ae8cf8e19d8ba73c52376d83d2e084da008daba1)) +- second option bump semantic release to 0.5 ([c90f9b2](https://github.com/starknet-io/starknet.js/commit/c90f9b285afb455d2404bff67137d5e6ae44cd5f)) +- solve wrong response for account.verifyMessage ([05f4095](https://github.com/starknet-io/starknet.js/commit/05f4095599f89dd508fac9316e1c24fc0dceaa8a)) +- starkne types 0.7 ([#1087](https://github.com/starknet-io/starknet.js/issues/1087)) ([b038c76](https://github.com/starknet-io/starknet.js/commit/b038c76fe204746f1d1023c2ad3b46c022f6edbd)) +- test ci fix ([3a6c924](https://github.com/starknet-io/starknet.js/commit/3a6c9247717cb979842d9b37905ae423267959a5)) +- throw on negative param cairo.uint256 and bnToUint256 ([e1ead14](https://github.com/starknet-io/starknet.js/commit/e1ead1466984f26ff91d7fe6174fc87be8c3aede)) +- tslib ([#1068](https://github.com/starknet-io/starknet.js/issues/1068)) ([dd7dc10](https://github.com/starknet-io/starknet.js/commit/dd7dc10c57fc3cc35298c0d584a178666e9cfed1)) +- typos ([#862](https://github.com/starknet-io/starknet.js/issues/862)) ([b2431d3](https://github.com/starknet-io/starknet.js/commit/b2431d36d636821b32403ef0aa4def2312b10254)) +- update fetch-cookie dependency ([518330c](https://github.com/starknet-io/starknet.js/commit/518330c4ee00e671e716b018220f767e8118c431)) +- update starknetid sepolia contract addresses ([#1016](https://github.com/starknet-io/starknet.js/issues/1016)) ([b50a3bd](https://github.com/starknet-io/starknet.js/commit/b50a3bdada4345a9d601734762bc7a600766ec25)) +- update to latest get-starknet dev ([017702f](https://github.com/starknet-io/starknet.js/commit/017702fd8c579ab62c98bc78fd6e8dd3022ef9ec)) +- utilize provided resourceBounds value ([65bea53](https://github.com/starknet-io/starknet.js/commit/65bea53ab03a04fdd4c122ba2fecbb1010100e18)) +- **utils:** fix block identifier ([#1076](https://github.com/starknet-io/starknet.js/issues/1076)) ([0a3499d](https://github.com/starknet-io/starknet.js/commit/0a3499d49751061ceae1a4d6023b34f402376efc)) +- wallet circular dependency fix ([621ae2d](https://github.com/starknet-io/starknet.js/commit/621ae2d4a015f3bb3b2e63ddbaeb5fa843509a88)) + +### Features + +- abi-wan trigger ([c10150a](https://github.com/starknet-io/starknet.js/commit/c10150a328051054a7bba1260296c0c92fdd2051)) +- abiwan v2 intergation ([87d15d3](https://github.com/starknet-io/starknet.js/commit/87d15d3d4ada1138ed5b66620a4de56189195f4c)) +- account preferred transaction version, setup v3 ([5652eb2](https://github.com/starknet-io/starknet.js/commit/5652eb211e1accaefbb2f24bcb756ccf9170c07a)) +- add getGasPrice rpc provider method ([#1056](https://github.com/starknet-io/starknet.js/issues/1056)) ([d396275](https://github.com/starknet-io/starknet.js/commit/d396275348aff9c932d2bb7466b2a55f96214e4e)) +- add provider.decodeParameters ([39595f3](https://github.com/starknet-io/starknet.js/commit/39595f3303204b273fadd53764c59767ce6c5b36)) +- add provider.decodeParameters ([be6eec9](https://github.com/starknet-io/starknet.js/commit/be6eec94c8ae5d92df631502c9a1d61663d80101)) +- add string types of cairo v2.4.0 ([a8a73c1](https://github.com/starknet-io/starknet.js/commit/a8a73c1f5b0bc72bc42460f3735eeec6f95edcbe)) +- add type coverage ([#1120](https://github.com/starknet-io/starknet.js/issues/1120)) ([eceda5d](https://github.com/starknet-io/starknet.js/commit/eceda5dc1c39e472e1105e07797e76aaac3c1531)) +- curves ([405de46](https://github.com/starknet-io/starknet.js/commit/405de462032579ef0e8e434c62976dcb84ee1af8)) +- def rpc 0_6, sepolia nodes ([4f59a8f](https://github.com/starknet-io/starknet.js/commit/4f59a8f01439662ae7eb785cafcf781c68b2cb04)) +- default account UniversalDetails, rpc spec update, update interface ([8dc9b8a](https://github.com/starknet-io/starknet.js/commit/8dc9b8ab28a82a9a0eaa47e0271c12b79e8cff39)) +- dual specification with 0.6 implementation, not yet integrated ([ac8c763](https://github.com/starknet-io/starknet.js/commit/ac8c76383bb3f566164bc4f38c477e3e3dc45f31)) +- enable cairo 2.6.0 contract declaration ([0104c59](https://github.com/starknet-io/starknet.js/commit/0104c59739a9dbe70091e14372a73ca84550f639)) +- ethereum signer ([8473adb](https://github.com/starknet-io/starknet.js/commit/8473adbcfa5ef642297b8a7f448a0d789703037f)) +- ethereum-signer ([f37bfb2](https://github.com/starknet-io/starknet.js/commit/f37bfb2788b7c6befc10efca8b102ee2a975ee55)) +- expand structured data hashing in line with SNIP-12 ([#920](https://github.com/starknet-io/starknet.js/issues/920)) ([cb20590](https://github.com/starknet-io/starknet.js/commit/cb2059039e3b42501cdfefec7802da83eb73645b)) +- Export function parseCalldataField() ([4d59658](https://github.com/starknet-io/starknet.js/commit/4d596582023f24522c25a1a515ee0246d2eca90a)) +- get-starknet-core repacked for mjs, and initial implementation ([ab7fa19](https://github.com/starknet-io/starknet.js/commit/ab7fa19f44ad1fc27292313589247b74943fe3d0)) +- hashes, signer, vip account, types, versions as string enum ([6ceb9e3](https://github.com/starknet-io/starknet.js/commit/6ceb9e31e51d51a6ce374144fd3ddb82a6ea01b3)) +- implement RPC v0.7.0-rc2 specification ([de32936](https://github.com/starknet-io/starknet.js/commit/de329361d838157b4fbe2b37bb043c3235b97a14)) +- make Abi and CONTRACT_ABI types compatible with abiwan ([9007816](https://github.com/starknet-io/starknet.js/commit/9007816689528a79bd8bb4267e0098be2e6d71d2)) +- make fee margins configurable ([cedd984](https://github.com/starknet-io/starknet.js/commit/cedd984e1106db5b73d17630e282eb956d344a97)) +- new CairoUint256 cairo datatype model ([b64abcc](https://github.com/starknet-io/starknet.js/commit/b64abccf3888eba49460124a4d7aabbdca1592d1)) +- next-version ([1687dd2](https://github.com/starknet-io/starknet.js/commit/1687dd28f3390e770f66ac5dad52860a1dd92289)) +- pretty print rpc LibraryError params, make env.DEBUG usefull ([cca723f](https://github.com/starknet-io/starknet.js/commit/cca723f13009ce7048c7be6b8a6f466aca0d5e19)) +- provider.getL1MessageHash ([#1123](https://github.com/starknet-io/starknet.js/issues/1123)) ([1489cf2](https://github.com/starknet-io/starknet.js/commit/1489cf25e7e8598ab161cecc62c82495f64daa33)) +- **provider:** fix and clean provider response and response parser, removed seqeuncer api ([7ecb069](https://github.com/starknet-io/starknet.js/commit/7ecb069e3d2c37653cedc44dfbb635c5bc8eec7f)) +- **provider:** pending response discrimination, pending type guards ([013a22b](https://github.com/starknet-io/starknet.js/commit/013a22bf4dd8cb6df817ccf6ff2d82837fe91693)) +- readme & trigger release ([5341c42](https://github.com/starknet-io/starknet.js/commit/5341c42da8bf5d2f82e4446a60b5e4fdc9c4e2fe)) +- remove old version constants, default types api rpc ([ed9cb08](https://github.com/starknet-io/starknet.js/commit/ed9cb089460640af96a73eca66e9971ca5832041)) +- replace in verifyMessage : response by Error ([1abf91f](https://github.com/starknet-io/starknet.js/commit/1abf91f170c46d4f4cf5f493dc3d6717c6d3c1e7)) +- req id counter ([cedd1ea](https://github.com/starknet-io/starknet.js/commit/cedd1ea32cd58107c504d357a3dd5e9a40010a80)) +- rpc 0.6 implementation as superset of 0.5 tx ([5b2b299](https://github.com/starknet-io/starknet.js/commit/5b2b2997ee7e54144864315ed20175017e4218b4)) +- rpc 0.6.0-rc3 implementation ([c2607ed](https://github.com/starknet-io/starknet.js/commit/c2607ed64f26d18ea66f2184acf34d3ca9ee4766)) +- rpc 0.7.1 ([#1071](https://github.com/starknet-io/starknet.js/issues/1071)) ([11dc600](https://github.com/starknet-io/starknet.js/commit/11dc6003c74b6b6d0408b3f5894b5b6739d4bfba)) +- rpc provider ([0d9c2e5](https://github.com/starknet-io/starknet.js/commit/0d9c2e5ba0298af7b608ccbd9dd2eff3dc0bb69a)) +- rpcChannel ([181eea3](https://github.com/starknet-io/starknet.js/commit/181eea3e4eabc52cdf46b796f0861e2641d59668)) +- sepolia ([26d7044](https://github.com/starknet-io/starknet.js/commit/26d70446edd7c098b7f257d9242cc9d9d220b11e)) +- sepolia constants, rpc open change ([6de46b5](https://github.com/starknet-io/starknet.js/commit/6de46b59d22bfda959c083b3ac5570cb8d4c6d0a)) +- simulate skip validate by default, spec deploy acc fix ([1b3e7ae](https://github.com/starknet-io/starknet.js/commit/1b3e7aeadaba5b7d59377e249b535f6a8cb8862e)) +- skip signatures when skipValidate is true ([6f784ea](https://github.com/starknet-io/starknet.js/commit/6f784ea4e4edd298f1950dac956fd1c81b953497)) +- the WalletAccount handle changed channel ([73603e1](https://github.com/starknet-io/starknet.js/commit/73603e175bcc7925aa896be81fb666ffb225890d)) +- trigger release ([fbf983f](https://github.com/starknet-io/starknet.js/commit/fbf983f7820768f919cddb2c5806178a20e38bdd)) +- update default rpc nodes and version ([9b9fe0e](https://github.com/starknet-io/starknet.js/commit/9b9fe0e4c5d8d54323bb82ab7ceed3a78d6fc1bc)) +- update starknetId class and add getStarkProfile function ([ae71c97](https://github.com/starknet-io/starknet.js/commit/ae71c97b38974d4d7b3392532388957e1ea499bb)) +- update verson ([5dfe445](https://github.com/starknet-io/starknet.js/commit/5dfe445a5ed09dd531d91156633321fdae4b70cd)) +- use fetch-cookie package for cookie based sticky sessions ([5a56485](https://github.com/starknet-io/starknet.js/commit/5a56485052e773c8b0a3f9dbdc2f4ba3626362fb)) +- v3 transaction hashes ([4fe40a1](https://github.com/starknet-io/starknet.js/commit/4fe40a1419031cd6328509e2439744d0ff98c8e7)) +- v3 tx hashes calculation ([f0e760d](https://github.com/starknet-io/starknet.js/commit/f0e760d109e488b70b16eed24e94b889d708d257)) +- v3 wip with est ([b95c462](https://github.com/starknet-io/starknet.js/commit/b95c462df0bd59293b7b42b5474311a3bbbfab1d)) +- wallet deploy contract and patches ([dbf53b6](https://github.com/starknet-io/starknet.js/commit/dbf53b6e57948e433186cae6209998dece04fe4a)) +- walletAccount extract methods and update new ones ([0dfb5db](https://github.com/starknet-io/starknet.js/commit/0dfb5db1032dd7c946ee514647e8abb3eda87996)) + +### Reverts + +- Revert "chore: add examples to JsDoc for transaction.ts file ([#1105](https://github.com/starknet-io/starknet.js/issues/1105))" ([#1108](https://github.com/starknet-io/starknet.js/issues/1108)) ([59eb01e](https://github.com/starknet-io/starknet.js/commit/59eb01e451cf64dfdacd6d34b2a709e0a1029f15)) + +### BREAKING CHANGES + +- v3 transactions + # [6.11.0](https://github.com/starknet-io/starknet.js/compare/v6.10.3...v6.11.0) (2024-07-02) ### Features diff --git a/package-lock.json b/package-lock.json index 99436b915..d55aabfe7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { - "name": "starknet", - "version": "6.11.0", + "name": "@penovicp/starknet", + "version": "7.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "starknet", - "version": "6.11.0", + "name": "@penovicp/starknet", + "version": "7.0.0", "license": "MIT", "dependencies": { "@noble/curves": "~1.4.0", @@ -15,7 +15,6 @@ "@scure/starknet": "~1.0.0", "abi-wan-kanabi": "^2.2.2", "fetch-cookie": "^3.0.0", - "get-starknet-core": "^4.0.0-next.3", "isomorphic-fetch": "^3.0.0", "lossless-json": "^4.0.1", "pako": "^2.0.4", @@ -30,10 +29,10 @@ "@commitlint/cli": "^19.0.0", "@commitlint/config-conventional": "^19.0.0", "@semantic-release/changelog": "^6.0.1", - "@semantic-release/commit-analyzer": "^12.0.0", + "@semantic-release/commit-analyzer": "^13.0.0", "@semantic-release/git": "^10.0.1", "@semantic-release/npm": "^12.0.0", - "@semantic-release/release-notes-generator": "^13.0.0", + "@semantic-release/release-notes-generator": "^14.0.0", "@types/isomorphic-fetch": "^0.0.39", "@types/jest": "^29.5.0", "@types/jest-json-schema": "^6.1.1", @@ -58,56 +57,21 @@ "lint-staged": "^15.2.2", "prettier": "^3.2.5", "prettier-plugin-import-sort": "^0.0.7", - "semantic-release": "^23.0.5", + "semantic-release": "^24.0.0", "starknet_specs": "github:starkware-libs/starknet-specs#v0.7.1", "tsup": "^8.0.2", "type-coverage": "^2.28.2", - "typedoc": "^0.25.7", + "typedoc": "~0.26.0", "typescript": "~5.4.0", "typescript-coverage-report": "npm:@penovicp/typescript-coverage-report@^1.0.0-beta.2" } }, - "../starknet-types": { - "extraneous": true - }, - "../types-js": { - "name": "starknet-types", - "version": "0.7.1", - "extraneous": true, - "license": "MIT", - "devDependencies": { - "@typescript-eslint/eslint-plugin": "^7.4.0", - "@typescript-eslint/parser": "^7.4.0", - "cz-conventional-changelog": "^3.3.0", - "eslint": "^8.57.0", - "eslint-config-airbnb-base": "^15.0.0", - "eslint-config-airbnb-typescript": "^18.0.0", - "eslint-config-prettier": "^9.1.0", - "eslint-plugin-import": "^2.29.1", - "eslint-plugin-prettier": "^5.1.3", - "prettier": "^3.2.5", - "prettier-plugin-import-sort": "^0.0.7", - "semantic-release": "^23.0.8", - "typescript": "^5.4.3" - } - }, - "../types-js/dist": { - "extraneous": true - }, - "node_modules/@aashutoshrathi/word-wrap": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz", - "integrity": "sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/@ampproject/remapping": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.3.0.tgz", "integrity": "sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==", "dev": true, + "license": "Apache-2.0", "dependencies": { "@jridgewell/gen-mapping": "^0.3.5", "@jridgewell/trace-mapping": "^0.3.24" @@ -117,12 +81,13 @@ } }, "node_modules/@babel/code-frame": { - "version": "7.24.2", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.24.2.tgz", - "integrity": "sha512-y5+tLQyV8pg3fsiln67BVLD1P13Eg4lh5RW9mF0zUuvLrv9uIQ4MCL+CRT+FTsBlBjcIan6PGsLcBN0m3ClUyQ==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.24.7.tgz", + "integrity": "sha512-BcYH1CVJBO9tvyIZ2jVeXgSIMvGZ2FDRvDdOIVQyuklNKSsx+eppDEBq/g47Ayw+RqNFE+URvOShmf+f/qwAlA==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/highlight": "^7.24.2", + "@babel/highlight": "^7.24.7", "picocolors": "^1.0.0" }, "engines": { @@ -130,30 +95,32 @@ } }, "node_modules/@babel/compat-data": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.24.1.tgz", - "integrity": "sha512-Pc65opHDliVpRHuKfzI+gSA4zcgr65O4cl64fFJIWEEh8JoHIHh0Oez1Eo8Arz8zq/JhgKodQaxEwUPRtZylVA==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.24.7.tgz", + "integrity": "sha512-qJzAIcv03PyaWqxRgO4mSU3lihncDT296vnyuE2O8uA4w3UHWI4S3hgeZd1L8W1Bft40w9JxJ2b412iDUFFRhw==", "dev": true, + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/core": { - "version": "7.24.3", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.24.3.tgz", - "integrity": "sha512-5FcvN1JHw2sHJChotgx8Ek0lyuh4kCKelgMTTqhYJJtloNvUfpAFMeNQUtdlIaktwrSV9LtCdqwk48wL2wBacQ==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.24.7.tgz", + "integrity": "sha512-nykK+LEK86ahTkX/3TgauT0ikKoNCfKHEaZYTUVupJdTLzGNvrblu4u6fa7DhZONAltdf8e662t/abY8idrd/g==", "dev": true, + "license": "MIT", "dependencies": { "@ampproject/remapping": "^2.2.0", - "@babel/code-frame": "^7.24.2", - "@babel/generator": "^7.24.1", - "@babel/helper-compilation-targets": "^7.23.6", - "@babel/helper-module-transforms": "^7.23.3", - "@babel/helpers": "^7.24.1", - "@babel/parser": "^7.24.1", - "@babel/template": "^7.24.0", - "@babel/traverse": "^7.24.1", - "@babel/types": "^7.24.0", + "@babel/code-frame": "^7.24.7", + "@babel/generator": "^7.24.7", + "@babel/helper-compilation-targets": "^7.24.7", + "@babel/helper-module-transforms": "^7.24.7", + "@babel/helpers": "^7.24.7", + "@babel/parser": "^7.24.7", + "@babel/template": "^7.24.7", + "@babel/traverse": "^7.24.7", + "@babel/types": "^7.24.7", "convert-source-map": "^2.0.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", @@ -169,12 +136,13 @@ } }, "node_modules/@babel/generator": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.24.1.tgz", - "integrity": "sha512-DfCRfZsBcrPEHUfuBMgbJ1Ut01Y/itOs+hY2nFLgqsqXd52/iSiVq5TITtUasIUgm+IIKdY2/1I7auiQOEeC9A==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.24.7.tgz", + "integrity": "sha512-oipXieGC3i45Y1A41t4tAqpnEZWgB/lC6Ehh6+rOviR5XWpTtMmLN+fGjz9vOiNRt0p6RtO6DtD0pdU3vpqdSA==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/types": "^7.24.0", + "@babel/types": "^7.24.7", "@jridgewell/gen-mapping": "^0.3.5", "@jridgewell/trace-mapping": "^0.3.25", "jsesc": "^2.5.1" @@ -184,37 +152,41 @@ } }, "node_modules/@babel/helper-annotate-as-pure": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.22.5.tgz", - "integrity": "sha512-LvBTxu8bQSQkcyKOU+a1btnNFQ1dMAd0R6PyW3arXes06F6QLWLIrd681bxRPIXlrMGR3XYnW9JyML7dP3qgxg==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.24.7.tgz", + "integrity": "sha512-BaDeOonYvhdKw+JoMVkAixAAJzG2jVPIwWoKBPdYuY9b452e2rPuI9QPYh3KpofZ3pW2akOmwZLOiOsHMiqRAg==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/types": "^7.22.5" + "@babel/types": "^7.24.7" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-builder-binary-assignment-operator-visitor": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.22.15.tgz", - "integrity": "sha512-QkBXwGgaoC2GtGZRoma6kv7Szfv06khvhFav67ZExau2RaXzy8MpHSMO2PNoP2XtmQphJQRHFfg77Bq731Yizw==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.24.7.tgz", + "integrity": "sha512-xZeCVVdwb4MsDBkkyZ64tReWYrLRHlMN72vP7Bdm3OUOuyFZExhsHUUnuWnm2/XOlAJzR0LfPpB56WXZn0X/lA==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/types": "^7.22.15" + "@babel/traverse": "^7.24.7", + "@babel/types": "^7.24.7" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-compilation-targets": { - "version": "7.23.6", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.23.6.tgz", - "integrity": "sha512-9JB548GZoQVmzrFgp8o7KxdgkTGm6xs9DW0o/Pim72UDjzr5ObUQ6ZzYPqA+g9OTS2bBQoctLJrky0RDCAWRgQ==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.24.7.tgz", + "integrity": "sha512-ctSdRHBi20qWOfy27RUb4Fhp07KSJ3sXcuSvTrXrc4aG8NSYDo1ici3Vhg9bg69y5bj0Mr1lh0aeEgTvc12rMg==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/compat-data": "^7.23.5", - "@babel/helper-validator-option": "^7.23.5", + "@babel/compat-data": "^7.24.7", + "@babel/helper-validator-option": "^7.24.7", "browserslist": "^4.22.2", "lru-cache": "^5.1.1", "semver": "^6.3.1" @@ -224,19 +196,20 @@ } }, "node_modules/@babel/helper-create-class-features-plugin": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.24.1.tgz", - "integrity": "sha512-1yJa9dX9g//V6fDebXoEfEsxkZHk3Hcbm+zLhyu6qVgYFLvmTALTeV+jNU9e5RnYtioBrGEOdoI2joMSNQ/+aA==", - "dev": true, - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.22.5", - "@babel/helper-environment-visitor": "^7.22.20", - "@babel/helper-function-name": "^7.23.0", - "@babel/helper-member-expression-to-functions": "^7.23.0", - "@babel/helper-optimise-call-expression": "^7.22.5", - "@babel/helper-replace-supers": "^7.24.1", - "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5", - "@babel/helper-split-export-declaration": "^7.22.6", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.24.7.tgz", + "integrity": "sha512-kTkaDl7c9vO80zeX1rJxnuRpEsD5tA81yh11X1gQo+PhSti3JS+7qeZo9U4RHobKRiFPKaGK3svUAeb8D0Q7eg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.24.7", + "@babel/helper-environment-visitor": "^7.24.7", + "@babel/helper-function-name": "^7.24.7", + "@babel/helper-member-expression-to-functions": "^7.24.7", + "@babel/helper-optimise-call-expression": "^7.24.7", + "@babel/helper-replace-supers": "^7.24.7", + "@babel/helper-skip-transparent-expression-wrappers": "^7.24.7", + "@babel/helper-split-export-declaration": "^7.24.7", "semver": "^6.3.1" }, "engines": { @@ -247,12 +220,13 @@ } }, "node_modules/@babel/helper-create-regexp-features-plugin": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.22.15.tgz", - "integrity": "sha512-29FkPLFjn4TPEa3RE7GpW+qbE8tlsu3jntNYNfcGsc49LphF1PQIiD+vMZ1z1xVOKt+93khA9tc2JBs3kBjA7w==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.24.7.tgz", + "integrity": "sha512-03TCmXy2FtXJEZfbXDTSqq1fRJArk7lX9DOFC/47VthYcxyIOx+eXQmdo6DOQvrbpIix+KfXwvuXdFDZHxt+rA==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-annotate-as-pure": "^7.22.5", + "@babel/helper-annotate-as-pure": "^7.24.7", "regexpu-core": "^5.3.1", "semver": "^6.3.1" }, @@ -264,10 +238,11 @@ } }, "node_modules/@babel/helper-define-polyfill-provider": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.6.1.tgz", - "integrity": "sha512-o7SDgTJuvx5vLKD6SFvkydkSMBvahDKGiNJzG22IZYXhiqoe9efY7zocICBgzHV4IRg5wdgl2nEL/tulKIEIbA==", + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.6.2.tgz", + "integrity": "sha512-LV76g+C502biUK6AyZ3LK10vDpDyCzZnhZFXkH1L75zHPj68+qc8Zfpx2th+gzwA2MzyK+1g/3EPl62yFnVttQ==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-compilation-targets": "^7.22.6", "@babel/helper-plugin-utils": "^7.22.5", @@ -280,74 +255,85 @@ } }, "node_modules/@babel/helper-environment-visitor": { - "version": "7.22.20", - "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz", - "integrity": "sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.24.7.tgz", + "integrity": "sha512-DoiN84+4Gnd0ncbBOM9AZENV4a5ZiL39HYMyZJGZ/AZEykHYdJw0wW3kdcsh9/Kn+BRXHLkkklZ51ecPKmI1CQ==", "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.24.7" + }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-function-name": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz", - "integrity": "sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.24.7.tgz", + "integrity": "sha512-FyoJTsj/PEUWu1/TYRiXTIHc8lbw+TDYkZuoE43opPS5TrI7MyONBE1oNvfguEXAD9yhQRrVBnXdXzSLQl9XnA==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/template": "^7.22.15", - "@babel/types": "^7.23.0" + "@babel/template": "^7.24.7", + "@babel/types": "^7.24.7" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-hoist-variables": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz", - "integrity": "sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.24.7.tgz", + "integrity": "sha512-MJJwhkoGy5c4ehfoRyrJ/owKeMl19U54h27YYftT0o2teQ3FJ3nQUf/I3LlJsX4l3qlw7WRXUmiyajvHXoTubQ==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/types": "^7.22.5" + "@babel/types": "^7.24.7" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-member-expression-to-functions": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.23.0.tgz", - "integrity": "sha512-6gfrPwh7OuT6gZyJZvd6WbTfrqAo7vm4xCzAXOusKqq/vWdKXphTpj5klHKNmRUU6/QRGlBsyU9mAIPaWHlqJA==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.24.7.tgz", + "integrity": "sha512-LGeMaf5JN4hAT471eJdBs/GK1DoYIJ5GCtZN/EsL6KUiiDZOvO/eKE11AMZJa2zP4zk4qe9V2O/hxAmkRc8p6w==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/types": "^7.23.0" + "@babel/traverse": "^7.24.7", + "@babel/types": "^7.24.7" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-module-imports": { - "version": "7.24.3", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.24.3.tgz", - "integrity": "sha512-viKb0F9f2s0BCS22QSF308z/+1YWKV/76mwt61NBzS5izMzDPwdq1pTrzf+Li3npBWX9KdQbkeCt1jSAM7lZqg==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.24.7.tgz", + "integrity": "sha512-8AyH3C+74cgCVVXow/myrynrAGv+nTVg5vKu2nZph9x7RcRwzmh0VFallJuFTZ9mx6u4eSdXZfcOzSqTUm0HCA==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/types": "^7.24.0" + "@babel/traverse": "^7.24.7", + "@babel/types": "^7.24.7" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-module-transforms": { - "version": "7.23.3", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.23.3.tgz", - "integrity": "sha512-7bBs4ED9OmswdfDzpz4MpWgSrV7FXlc3zIagvLFjS5H+Mk7Snr21vQ6QwrsoCGMfNC4e4LQPdoULEt4ykz0SRQ==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.24.7.tgz", + "integrity": "sha512-1fuJEwIrp+97rM4RWdO+qrRsZlAeL1lQJoPqtCYWv0NL115XM93hIH4CSRln2w52SqvmY5hqdtauB6QFCDiZNQ==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-environment-visitor": "^7.22.20", - "@babel/helper-module-imports": "^7.22.15", - "@babel/helper-simple-access": "^7.22.5", - "@babel/helper-split-export-declaration": "^7.22.6", - "@babel/helper-validator-identifier": "^7.22.20" + "@babel/helper-environment-visitor": "^7.24.7", + "@babel/helper-module-imports": "^7.24.7", + "@babel/helper-simple-access": "^7.24.7", + "@babel/helper-split-export-declaration": "^7.24.7", + "@babel/helper-validator-identifier": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -357,35 +343,38 @@ } }, "node_modules/@babel/helper-optimise-call-expression": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.22.5.tgz", - "integrity": "sha512-HBwaojN0xFRx4yIvpwGqxiV2tUfl7401jlok564NgB9EHS1y6QT17FmKWm4ztqjeVdXLuC4fSvHc5ePpQjoTbw==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.24.7.tgz", + "integrity": "sha512-jKiTsW2xmWwxT1ixIdfXUZp+P5yURx2suzLZr5Hi64rURpDYdMW0pv+Uf17EYk2Rd428Lx4tLsnjGJzYKDM/6A==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/types": "^7.22.5" + "@babel/types": "^7.24.7" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-plugin-utils": { - "version": "7.24.0", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.24.0.tgz", - "integrity": "sha512-9cUznXMG0+FxRuJfvL82QlTqIzhVW9sL0KjMPHhAOOvpQGL8QtdxnBKILjBqxlHyliz0yCa1G903ZXI/FuHy2w==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.24.7.tgz", + "integrity": "sha512-Rq76wjt7yz9AAc1KnlRKNAi/dMSVWgDRx43FHoJEbcYU6xOWaE2dVPwcdTukJrjxS65GITyfbvEYHvkirZ6uEg==", "dev": true, + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-remap-async-to-generator": { - "version": "7.22.20", - "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.22.20.tgz", - "integrity": "sha512-pBGyV4uBqOns+0UvhsTO8qgl8hO89PmiDYv+/COyp1aeMcmfrfruz+/nCMFiYyFF/Knn0yfrC85ZzNFjembFTw==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.24.7.tgz", + "integrity": "sha512-9pKLcTlZ92hNZMQfGCHImUpDOlAgkkpqalWEeftW5FBya75k8Li2ilerxkM/uBEj01iBZXcCIB/bwvDYgWyibA==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-annotate-as-pure": "^7.22.5", - "@babel/helper-environment-visitor": "^7.22.20", - "@babel/helper-wrap-function": "^7.22.20" + "@babel/helper-annotate-as-pure": "^7.24.7", + "@babel/helper-environment-visitor": "^7.24.7", + "@babel/helper-wrap-function": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -395,14 +384,15 @@ } }, "node_modules/@babel/helper-replace-supers": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.24.1.tgz", - "integrity": "sha512-QCR1UqC9BzG5vZl8BMicmZ28RuUBnHhAMddD8yHFHDRH9lLTZ9uUPehX8ctVPT8l0TKblJidqcgUUKGVrePleQ==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.24.7.tgz", + "integrity": "sha512-qTAxxBM81VEyoAY0TtLrx1oAEJc09ZK67Q9ljQToqCnA+55eNwCORaxlKyu+rNfX86o8OXRUSNUnrtsAZXM9sg==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-environment-visitor": "^7.22.20", - "@babel/helper-member-expression-to-functions": "^7.23.0", - "@babel/helper-optimise-call-expression": "^7.22.5" + "@babel/helper-environment-visitor": "^7.24.7", + "@babel/helper-member-expression-to-functions": "^7.24.7", + "@babel/helper-optimise-call-expression": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -412,103 +402,114 @@ } }, "node_modules/@babel/helper-simple-access": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.22.5.tgz", - "integrity": "sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.24.7.tgz", + "integrity": "sha512-zBAIvbCMh5Ts+b86r/CjU+4XGYIs+R1j951gxI3KmmxBMhCg4oQMsv6ZXQ64XOm/cvzfU1FmoCyt6+owc5QMYg==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/types": "^7.22.5" + "@babel/traverse": "^7.24.7", + "@babel/types": "^7.24.7" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-skip-transparent-expression-wrappers": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.22.5.tgz", - "integrity": "sha512-tK14r66JZKiC43p8Ki33yLBVJKlQDFoA8GYN67lWCDCqoL6EMMSuM9b+Iff2jHaM/RRFYl7K+iiru7hbRqNx8Q==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.24.7.tgz", + "integrity": "sha512-IO+DLT3LQUElMbpzlatRASEyQtfhSE0+m465v++3jyyXeBTBUjtVZg28/gHeV5mrTJqvEKhKroBGAvhW+qPHiQ==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/types": "^7.22.5" + "@babel/traverse": "^7.24.7", + "@babel/types": "^7.24.7" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-split-export-declaration": { - "version": "7.22.6", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz", - "integrity": "sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.24.7.tgz", + "integrity": "sha512-oy5V7pD+UvfkEATUKvIjvIAH/xCzfsFVw7ygW2SI6NClZzquT+mwdTfgfdbUiceh6iQO0CHtCPsyze/MZ2YbAA==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/types": "^7.22.5" + "@babel/types": "^7.24.7" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-string-parser": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.24.1.tgz", - "integrity": "sha512-2ofRCjnnA9y+wk8b9IAREroeUP02KHp431N2mhKniy2yKIDKpbrHv9eXwm8cBeWQYcJmzv5qKCu65P47eCF7CQ==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.24.7.tgz", + "integrity": "sha512-7MbVt6xrwFQbunH2DNQsAP5sTGxfqQtErvBIvIMi6EQnbgUOuVYanvREcmFrOPhoXBrTtjhhP+lW+o5UfK+tDg==", "dev": true, + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-validator-identifier": { - "version": "7.22.20", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz", - "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.24.7.tgz", + "integrity": "sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w==", "dev": true, + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-validator-option": { - "version": "7.23.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.23.5.tgz", - "integrity": "sha512-85ttAOMLsr53VgXkTbkx8oA6YTfT4q7/HzXSLEYmjcSTJPMPQtvq1BD79Byep5xMUYbGRzEpDsjUf3dyp54IKw==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.24.7.tgz", + "integrity": "sha512-yy1/KvjhV/ZCL+SM7hBrvnZJ3ZuT9OuZgIJAGpPEToANvc3iM6iDvBnRjtElWibHU6n8/LPR/EjX9EtIEYO3pw==", "dev": true, + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-wrap-function": { - "version": "7.22.20", - "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.22.20.tgz", - "integrity": "sha512-pms/UwkOpnQe/PDAEdV/d7dVCoBbB+R4FvYoHGZz+4VPcg7RtYy2KP7S2lbuWM6FCSgob5wshfGESbC/hzNXZw==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.24.7.tgz", + "integrity": "sha512-N9JIYk3TD+1vq/wn77YnJOqMtfWhNewNE+DJV4puD2X7Ew9J4JvrzrFDfTfyv5EgEXVy9/Wt8QiOErzEmv5Ifw==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-function-name": "^7.22.5", - "@babel/template": "^7.22.15", - "@babel/types": "^7.22.19" + "@babel/helper-function-name": "^7.24.7", + "@babel/template": "^7.24.7", + "@babel/traverse": "^7.24.7", + "@babel/types": "^7.24.7" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helpers": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.24.1.tgz", - "integrity": "sha512-BpU09QqEe6ZCHuIHFphEFgvNSrubve1FtyMton26ekZ85gRGi6LrTF7zArARp2YvyFxloeiRmtSCq5sjh1WqIg==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.24.7.tgz", + "integrity": "sha512-NlmJJtvcw72yRJRcnCmGvSi+3jDEg8qFu3z0AFoymmzLx5ERVWyzd9kVXr7Th9/8yIJi2Zc6av4Tqz3wFs8QWg==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/template": "^7.24.0", - "@babel/traverse": "^7.24.1", - "@babel/types": "^7.24.0" + "@babel/template": "^7.24.7", + "@babel/types": "^7.24.7" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/highlight": { - "version": "7.24.2", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.24.2.tgz", - "integrity": "sha512-Yac1ao4flkTxTteCDZLEvdxg2fZfz1v8M4QpaGypq/WPDqg3ijHYbDfs+LG5hvzSoqaSZ9/Z9lKSP3CjZjv+pA==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.24.7.tgz", + "integrity": "sha512-EStJpq4OuY8xYfhGVXngigBJRWxftKX9ksiGDnmlY3o7B/V7KIAc9X4oiK87uPJSc/vs5L869bem5fhZa8caZw==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-validator-identifier": "^7.22.20", + "@babel/helper-validator-identifier": "^7.24.7", "chalk": "^2.4.2", "js-tokens": "^4.0.0", "picocolors": "^1.0.0" @@ -518,10 +519,11 @@ } }, "node_modules/@babel/parser": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.24.1.tgz", - "integrity": "sha512-Zo9c7N3xdOIQrNip7Lc9wvRPzlRtovHVE4lkz8WEDr7uYh/GMQhSiIgFxGIArRHYdJE5kxtZjAf8rT0xhdLCzg==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.24.7.tgz", + "integrity": "sha512-9uUYRm6OqQrCqQdG1iCBwBPZgN8ciDBro2nIOFaiRz1/BCxaI7CNvQbDHvsArAC7Tw9Hda/B3U+6ui9u4HWXPw==", "dev": true, + "license": "MIT", "bin": { "parser": "bin/babel-parser.js" }, @@ -529,13 +531,31 @@ "node": ">=6.0.0" } }, + "node_modules/@babel/plugin-bugfix-firefox-class-in-computed-class-key": { + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-firefox-class-in-computed-class-key/-/plugin-bugfix-firefox-class-in-computed-class-key-7.24.7.tgz", + "integrity": "sha512-TiT1ss81W80eQsN+722OaeQMY/G4yTb4G9JrqeiDADs3N8lbPMGldWi9x8tyqCW5NLx1Jh2AvkE6r6QvEltMMQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-environment-visitor": "^7.24.7", + "@babel/helper-plugin-utils": "^7.24.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, "node_modules/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.24.1.tgz", - "integrity": "sha512-y4HqEnkelJIOQGd+3g1bTeKsA5c6qM7eOn7VggGVbBc0y8MLSKHacwcIE2PplNlQSj0PqS9rrXL/nkPVK+kUNg==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.24.7.tgz", + "integrity": "sha512-unaQgZ/iRu/By6tsjMZzpeBZjChYfLYry6HrEXPoz3KmfF0sVBQ1l8zKMQ4xRGLWVsjuvB8nQfjNP/DcfEOCsg==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.0" + "@babel/helper-plugin-utils": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -545,14 +565,15 @@ } }, "node_modules/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.24.1.tgz", - "integrity": "sha512-Hj791Ii4ci8HqnaKHAlLNs+zaLXb0EzSDhiAWp5VNlyvCNymYfacs64pxTxbH1znW/NcArSmwpmG9IKE/TUVVQ==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.24.7.tgz", + "integrity": "sha512-+izXIbke1T33mY4MSNnrqhPXDz01WYhEf3yF5NbnUtkiNnm+XBZJl3kNfoK6NKmYlz/D07+l2GWVK/QfDkNCuQ==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.0", - "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5", - "@babel/plugin-transform-optional-chaining": "^7.24.1" + "@babel/helper-plugin-utils": "^7.24.7", + "@babel/helper-skip-transparent-expression-wrappers": "^7.24.7", + "@babel/plugin-transform-optional-chaining": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -562,13 +583,14 @@ } }, "node_modules/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly/-/plugin-bugfix-v8-static-class-fields-redefine-readonly-7.24.1.tgz", - "integrity": "sha512-m9m/fXsXLiHfwdgydIFnpk+7jlVbnvlK5B2EKiPdLUb6WX654ZaaEWJUjk8TftRbZpK0XibovlLWX4KIZhV6jw==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly/-/plugin-bugfix-v8-static-class-fields-redefine-readonly-7.24.7.tgz", + "integrity": "sha512-utA4HuR6F4Vvcr+o4DnjL8fCOlgRFGbeeBEGNg3ZTrLFw6VWG5XmUrvcQ0FjIYMU2ST4XcR2Wsp7t9qOAPnxMg==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-environment-visitor": "^7.22.20", - "@babel/helper-plugin-utils": "^7.24.0" + "@babel/helper-environment-visitor": "^7.24.7", + "@babel/helper-plugin-utils": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -582,6 +604,7 @@ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.21.0-placeholder-for-preset-env.2.tgz", "integrity": "sha512-SOSkfJDddaM7mak6cPEpswyTRnuRltl429hMraQEglW+OkovnCzsiszTmsrlY//qLFjCpQDFRvjdm2wA5pPm9w==", "dev": true, + "license": "MIT", "engines": { "node": ">=6.9.0" }, @@ -594,6 +617,7 @@ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz", "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, @@ -606,6 +630,7 @@ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz", "integrity": "sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, @@ -618,6 +643,7 @@ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz", "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.12.13" }, @@ -630,6 +656,7 @@ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz", "integrity": "sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.14.5" }, @@ -645,6 +672,7 @@ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz", "integrity": "sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, @@ -657,6 +685,7 @@ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.8.3.tgz", "integrity": "sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.8.3" }, @@ -665,12 +694,13 @@ } }, "node_modules/@babel/plugin-syntax-import-assertions": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.24.1.tgz", - "integrity": "sha512-IuwnI5XnuF189t91XbxmXeCDz3qs6iDRO7GJ++wcfgeXNs/8FmIlKcpDSXNVyuLQxlwvskmI3Ct73wUODkJBlQ==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.24.7.tgz", + "integrity": "sha512-Ec3NRUMoi8gskrkBe3fNmEQfxDvY8bgfQpz6jlk/41kX9eUjvpyqWU7PBP/pLAvMaSQjbMNKJmvX57jP+M6bPg==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.0" + "@babel/helper-plugin-utils": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -680,12 +710,13 @@ } }, "node_modules/@babel/plugin-syntax-import-attributes": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.24.1.tgz", - "integrity": "sha512-zhQTMH0X2nVLnb04tz+s7AMuasX8U0FnpE+nHTOhSOINjWMnopoZTxtIKsd45n4GQ/HIZLyfIpoul8e2m0DnRA==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.24.7.tgz", + "integrity": "sha512-hbX+lKKeUMGihnK8nvKqmXBInriT3GVjzXKFriV3YC6APGxMbP8RZNFwy91+hocLXq90Mta+HshoB31802bb8A==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.0" + "@babel/helper-plugin-utils": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -699,6 +730,7 @@ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz", "integrity": "sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.10.4" }, @@ -711,6 +743,7 @@ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz", "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, @@ -719,12 +752,13 @@ } }, "node_modules/@babel/plugin-syntax-jsx": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.24.1.tgz", - "integrity": "sha512-2eCtxZXf+kbkMIsXS4poTvT4Yu5rXiRa+9xGVT56raghjmBTKMpFNc9R4IDiB4emao9eO22Ox7CxuJG7BgExqA==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.24.7.tgz", + "integrity": "sha512-6ddciUPe/mpMnOKv/U+RSd2vvVy+Yw/JfBB0ZHYjEZt9NLHmCUylNYlsbqCCS1Bffjlb0fCwC9Vqz+sBz6PsiQ==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.0" + "@babel/helper-plugin-utils": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -738,6 +772,7 @@ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz", "integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.10.4" }, @@ -750,6 +785,7 @@ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz", "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, @@ -762,6 +798,7 @@ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz", "integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.10.4" }, @@ -774,6 +811,7 @@ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz", "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, @@ -786,6 +824,7 @@ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz", "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, @@ -798,6 +837,7 @@ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz", "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, @@ -810,6 +850,7 @@ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz", "integrity": "sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.14.5" }, @@ -825,6 +866,7 @@ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz", "integrity": "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.14.5" }, @@ -836,12 +878,13 @@ } }, "node_modules/@babel/plugin-syntax-typescript": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.24.1.tgz", - "integrity": "sha512-Yhnmvy5HZEnHUty6i++gcfH1/l68AHnItFHnaCv6hn9dNh0hQvvQJsxpi4BMBFN5DLeHBuucT/0DgzXif/OyRw==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.24.7.tgz", + "integrity": "sha512-c/+fVeJBB0FeKsFvwytYiUD+LBvhHjGSI0g446PRGdSVGZLRNArBUno2PETbAly3tpiNAQR5XaZ+JslxkotsbA==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.0" + "@babel/helper-plugin-utils": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -855,6 +898,7 @@ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-unicode-sets-regex/-/plugin-syntax-unicode-sets-regex-7.18.6.tgz", "integrity": "sha512-727YkEAPwSIQTv5im8QHz3upqp92JTWhidIC81Tdx4VJYIte/VndKf1qKrfnnhPLiPghStWfvC/iFaMCQu7Nqg==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-create-regexp-features-plugin": "^7.18.6", "@babel/helper-plugin-utils": "^7.18.6" @@ -867,12 +911,13 @@ } }, "node_modules/@babel/plugin-transform-arrow-functions": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.24.1.tgz", - "integrity": "sha512-ngT/3NkRhsaep9ck9uj2Xhv9+xB1zShY3tM3g6om4xxCELwCDN4g4Aq5dRn48+0hasAql7s2hdBOysCfNpr4fw==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.24.7.tgz", + "integrity": "sha512-Dt9LQs6iEY++gXUwY03DNFat5C2NbO48jj+j/bSAz6b3HgPs39qcPiYt77fDObIcFwj3/C2ICX9YMwGflUoSHQ==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.0" + "@babel/helper-plugin-utils": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -882,14 +927,15 @@ } }, "node_modules/@babel/plugin-transform-async-generator-functions": { - "version": "7.24.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.24.3.tgz", - "integrity": "sha512-Qe26CMYVjpQxJ8zxM1340JFNjZaF+ISWpr1Kt/jGo+ZTUzKkfw/pphEWbRCb+lmSM6k/TOgfYLvmbHkUQ0asIg==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.24.7.tgz", + "integrity": "sha512-o+iF77e3u7ZS4AoAuJvapz9Fm001PuD2V3Lp6OSE4FYQke+cSewYtnek+THqGRWyQloRCyvWL1OkyfNEl9vr/g==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-environment-visitor": "^7.22.20", - "@babel/helper-plugin-utils": "^7.24.0", - "@babel/helper-remap-async-to-generator": "^7.22.20", + "@babel/helper-environment-visitor": "^7.24.7", + "@babel/helper-plugin-utils": "^7.24.7", + "@babel/helper-remap-async-to-generator": "^7.24.7", "@babel/plugin-syntax-async-generators": "^7.8.4" }, "engines": { @@ -900,14 +946,15 @@ } }, "node_modules/@babel/plugin-transform-async-to-generator": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.24.1.tgz", - "integrity": "sha512-AawPptitRXp1y0n4ilKcGbRYWfbbzFWz2NqNu7dacYDtFtz0CMjG64b3LQsb3KIgnf4/obcUL78hfaOS7iCUfw==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.24.7.tgz", + "integrity": "sha512-SQY01PcJfmQ+4Ash7NE+rpbLFbmqA2GPIgqzxfFTL4t1FKRq4zTms/7htKpoCUI9OcFYgzqfmCdH53s6/jn5fA==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-module-imports": "^7.24.1", - "@babel/helper-plugin-utils": "^7.24.0", - "@babel/helper-remap-async-to-generator": "^7.22.20" + "@babel/helper-module-imports": "^7.24.7", + "@babel/helper-plugin-utils": "^7.24.7", + "@babel/helper-remap-async-to-generator": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -917,12 +964,13 @@ } }, "node_modules/@babel/plugin-transform-block-scoped-functions": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.24.1.tgz", - "integrity": "sha512-TWWC18OShZutrv9C6mye1xwtam+uNi2bnTOCBUd5sZxyHOiWbU6ztSROofIMrK84uweEZC219POICK/sTYwfgg==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.24.7.tgz", + "integrity": "sha512-yO7RAz6EsVQDaBH18IDJcMB1HnrUn2FJ/Jslc/WtPPWcjhpUJXU/rjbwmluzp7v/ZzWcEhTMXELnnsz8djWDwQ==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.0" + "@babel/helper-plugin-utils": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -932,12 +980,13 @@ } }, "node_modules/@babel/plugin-transform-block-scoping": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.24.1.tgz", - "integrity": "sha512-h71T2QQvDgM2SmT29UYU6ozjMlAt7s7CSs5Hvy8f8cf/GM/Z4a2zMfN+fjVGaieeCrXR3EdQl6C4gQG+OgmbKw==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.24.7.tgz", + "integrity": "sha512-Nd5CvgMbWc+oWzBsuaMcbwjJWAcp5qzrbg69SZdHSP7AMY0AbWFqFO0WTFCA1jxhMCwodRwvRec8k0QUbZk7RQ==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.0" + "@babel/helper-plugin-utils": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -947,13 +996,14 @@ } }, "node_modules/@babel/plugin-transform-class-properties": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-properties/-/plugin-transform-class-properties-7.24.1.tgz", - "integrity": "sha512-OMLCXi0NqvJfORTaPQBwqLXHhb93wkBKZ4aNwMl6WtehO7ar+cmp+89iPEQPqxAnxsOKTaMcs3POz3rKayJ72g==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-properties/-/plugin-transform-class-properties-7.24.7.tgz", + "integrity": "sha512-vKbfawVYayKcSeSR5YYzzyXvsDFWU2mD8U5TFeXtbCPLFUqe7GyCgvO6XDHzje862ODrOwy6WCPmKeWHbCFJ4w==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.24.1", - "@babel/helper-plugin-utils": "^7.24.0" + "@babel/helper-create-class-features-plugin": "^7.24.7", + "@babel/helper-plugin-utils": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -963,13 +1013,14 @@ } }, "node_modules/@babel/plugin-transform-class-static-block": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-static-block/-/plugin-transform-class-static-block-7.24.1.tgz", - "integrity": "sha512-FUHlKCn6J3ERiu8Dv+4eoz7w8+kFLSyeVG4vDAikwADGjUCoHw/JHokyGtr8OR4UjpwPVivyF+h8Q5iv/JmrtA==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-static-block/-/plugin-transform-class-static-block-7.24.7.tgz", + "integrity": "sha512-HMXK3WbBPpZQufbMG4B46A90PkuuhN9vBCb5T8+VAHqvAqvcLi+2cKoukcpmUYkszLhScU3l1iudhrks3DggRQ==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.24.1", - "@babel/helper-plugin-utils": "^7.24.0", + "@babel/helper-create-class-features-plugin": "^7.24.7", + "@babel/helper-plugin-utils": "^7.24.7", "@babel/plugin-syntax-class-static-block": "^7.14.5" }, "engines": { @@ -980,18 +1031,19 @@ } }, "node_modules/@babel/plugin-transform-classes": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.24.1.tgz", - "integrity": "sha512-ZTIe3W7UejJd3/3R4p7ScyyOoafetUShSf4kCqV0O7F/RiHxVj/wRaRnQlrGwflvcehNA8M42HkAiEDYZu2F1Q==", - "dev": true, - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.22.5", - "@babel/helper-compilation-targets": "^7.23.6", - "@babel/helper-environment-visitor": "^7.22.20", - "@babel/helper-function-name": "^7.23.0", - "@babel/helper-plugin-utils": "^7.24.0", - "@babel/helper-replace-supers": "^7.24.1", - "@babel/helper-split-export-declaration": "^7.22.6", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.24.7.tgz", + "integrity": "sha512-CFbbBigp8ln4FU6Bpy6g7sE8B/WmCmzvivzUC6xDAdWVsjYTXijpuuGJmYkAaoWAzcItGKT3IOAbxRItZ5HTjw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.24.7", + "@babel/helper-compilation-targets": "^7.24.7", + "@babel/helper-environment-visitor": "^7.24.7", + "@babel/helper-function-name": "^7.24.7", + "@babel/helper-plugin-utils": "^7.24.7", + "@babel/helper-replace-supers": "^7.24.7", + "@babel/helper-split-export-declaration": "^7.24.7", "globals": "^11.1.0" }, "engines": { @@ -1002,13 +1054,14 @@ } }, "node_modules/@babel/plugin-transform-computed-properties": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.24.1.tgz", - "integrity": "sha512-5pJGVIUfJpOS+pAqBQd+QMaTD2vCL/HcePooON6pDpHgRp4gNRmzyHTPIkXntwKsq3ayUFVfJaIKPw2pOkOcTw==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.24.7.tgz", + "integrity": "sha512-25cS7v+707Gu6Ds2oY6tCkUwsJ9YIDbggd9+cu9jzzDgiNq7hR/8dkzxWfKWnTic26vsI3EsCXNd4iEB6e8esQ==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.0", - "@babel/template": "^7.24.0" + "@babel/helper-plugin-utils": "^7.24.7", + "@babel/template": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -1018,12 +1071,13 @@ } }, "node_modules/@babel/plugin-transform-destructuring": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.24.1.tgz", - "integrity": "sha512-ow8jciWqNxR3RYbSNVuF4U2Jx130nwnBnhRw6N6h1bOejNkABmcI5X5oz29K4alWX7vf1C+o6gtKXikzRKkVdw==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.24.7.tgz", + "integrity": "sha512-19eJO/8kdCQ9zISOf+SEUJM/bAUIsvY3YDnXZTupUCQ8LgrWnsG/gFB9dvXqdXnRXMAM8fvt7b0CBKQHNGy1mw==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.0" + "@babel/helper-plugin-utils": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -1033,13 +1087,14 @@ } }, "node_modules/@babel/plugin-transform-dotall-regex": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.24.1.tgz", - "integrity": "sha512-p7uUxgSoZwZ2lPNMzUkqCts3xlp8n+o05ikjy7gbtFJSt9gdU88jAmtfmOxHM14noQXBxfgzf2yRWECiNVhTCw==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.24.7.tgz", + "integrity": "sha512-ZOA3W+1RRTSWvyqcMJDLqbchh7U4NRGqwRfFSVbOLS/ePIP4vHB5e8T8eXcuqyN1QkgKyj5wuW0lcS85v4CrSw==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.22.15", - "@babel/helper-plugin-utils": "^7.24.0" + "@babel/helper-create-regexp-features-plugin": "^7.24.7", + "@babel/helper-plugin-utils": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -1049,12 +1104,13 @@ } }, "node_modules/@babel/plugin-transform-duplicate-keys": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.24.1.tgz", - "integrity": "sha512-msyzuUnvsjsaSaocV6L7ErfNsa5nDWL1XKNnDePLgmz+WdU4w/J8+AxBMrWfi9m4IxfL5sZQKUPQKDQeeAT6lA==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.24.7.tgz", + "integrity": "sha512-JdYfXyCRihAe46jUIliuL2/s0x0wObgwwiGxw/UbgJBr20gQBThrokO4nYKgWkD7uBaqM7+9x5TU7NkExZJyzw==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.0" + "@babel/helper-plugin-utils": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -1064,12 +1120,13 @@ } }, "node_modules/@babel/plugin-transform-dynamic-import": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dynamic-import/-/plugin-transform-dynamic-import-7.24.1.tgz", - "integrity": "sha512-av2gdSTyXcJVdI+8aFZsCAtR29xJt0S5tas+Ef8NvBNmD1a+N/3ecMLeMBgfcK+xzsjdLDT6oHt+DFPyeqUbDA==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dynamic-import/-/plugin-transform-dynamic-import-7.24.7.tgz", + "integrity": "sha512-sc3X26PhZQDb3JhORmakcbvkeInvxz+A8oda99lj7J60QRuPZvNAk9wQlTBS1ZynelDrDmTU4pw1tyc5d5ZMUg==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.0", + "@babel/helper-plugin-utils": "^7.24.7", "@babel/plugin-syntax-dynamic-import": "^7.8.3" }, "engines": { @@ -1080,13 +1137,14 @@ } }, "node_modules/@babel/plugin-transform-exponentiation-operator": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.24.1.tgz", - "integrity": "sha512-U1yX13dVBSwS23DEAqU+Z/PkwE9/m7QQy8Y9/+Tdb8UWYaGNDYwTLi19wqIAiROr8sXVum9A/rtiH5H0boUcTw==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.24.7.tgz", + "integrity": "sha512-Rqe/vSc9OYgDajNIK35u7ot+KeCoetqQYFXM4Epf7M7ez3lWlOjrDjrwMei6caCVhfdw+mIKD4cgdGNy5JQotQ==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-builder-binary-assignment-operator-visitor": "^7.22.15", - "@babel/helper-plugin-utils": "^7.24.0" + "@babel/helper-builder-binary-assignment-operator-visitor": "^7.24.7", + "@babel/helper-plugin-utils": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -1096,12 +1154,13 @@ } }, "node_modules/@babel/plugin-transform-export-namespace-from": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-export-namespace-from/-/plugin-transform-export-namespace-from-7.24.1.tgz", - "integrity": "sha512-Ft38m/KFOyzKw2UaJFkWG9QnHPG/Q/2SkOrRk4pNBPg5IPZ+dOxcmkK5IyuBcxiNPyyYowPGUReyBvrvZs7IlQ==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-export-namespace-from/-/plugin-transform-export-namespace-from-7.24.7.tgz", + "integrity": "sha512-v0K9uNYsPL3oXZ/7F9NNIbAj2jv1whUEtyA6aujhekLs56R++JDQuzRcP2/z4WX5Vg/c5lE9uWZA0/iUoFhLTA==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.0", + "@babel/helper-plugin-utils": "^7.24.7", "@babel/plugin-syntax-export-namespace-from": "^7.8.3" }, "engines": { @@ -1112,13 +1171,14 @@ } }, "node_modules/@babel/plugin-transform-for-of": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.24.1.tgz", - "integrity": "sha512-OxBdcnF04bpdQdR3i4giHZNZQn7cm8RQKcSwA17wAAqEELo1ZOwp5FFgeptWUQXFyT9kwHo10aqqauYkRZPCAg==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.24.7.tgz", + "integrity": "sha512-wo9ogrDG1ITTTBsy46oGiN1dS9A7MROBTcYsfS8DtsImMkHk9JXJ3EWQM6X2SUw4x80uGPlwj0o00Uoc6nEE3g==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.0", - "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5" + "@babel/helper-plugin-utils": "^7.24.7", + "@babel/helper-skip-transparent-expression-wrappers": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -1128,14 +1188,15 @@ } }, "node_modules/@babel/plugin-transform-function-name": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.24.1.tgz", - "integrity": "sha512-BXmDZpPlh7jwicKArQASrj8n22/w6iymRnvHYYd2zO30DbE277JO20/7yXJT3QxDPtiQiOxQBbZH4TpivNXIxA==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.24.7.tgz", + "integrity": "sha512-U9FcnA821YoILngSmYkW6FjyQe2TyZD5pHt4EVIhmcTkrJw/3KqcrRSxuOo5tFZJi7TE19iDyI1u+weTI7bn2w==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-compilation-targets": "^7.23.6", - "@babel/helper-function-name": "^7.23.0", - "@babel/helper-plugin-utils": "^7.24.0" + "@babel/helper-compilation-targets": "^7.24.7", + "@babel/helper-function-name": "^7.24.7", + "@babel/helper-plugin-utils": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -1145,12 +1206,13 @@ } }, "node_modules/@babel/plugin-transform-json-strings": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-json-strings/-/plugin-transform-json-strings-7.24.1.tgz", - "integrity": "sha512-U7RMFmRvoasscrIFy5xA4gIp8iWnWubnKkKuUGJjsuOH7GfbMkB+XZzeslx2kLdEGdOJDamEmCqOks6e8nv8DQ==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-json-strings/-/plugin-transform-json-strings-7.24.7.tgz", + "integrity": "sha512-2yFnBGDvRuxAaE/f0vfBKvtnvvqU8tGpMHqMNpTN2oWMKIR3NqFkjaAgGwawhqK/pIN2T3XdjGPdaG0vDhOBGw==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.0", + "@babel/helper-plugin-utils": "^7.24.7", "@babel/plugin-syntax-json-strings": "^7.8.3" }, "engines": { @@ -1161,12 +1223,13 @@ } }, "node_modules/@babel/plugin-transform-literals": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.24.1.tgz", - "integrity": "sha512-zn9pwz8U7nCqOYIiBaOxoQOtYmMODXTJnkxG4AtX8fPmnCRYWBOHD0qcpwS9e2VDSp1zNJYpdnFMIKb8jmwu6g==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.24.7.tgz", + "integrity": "sha512-vcwCbb4HDH+hWi8Pqenwnjy+UiklO4Kt1vfspcQYFhJdpthSnW8XvWGyDZWKNVrVbVViI/S7K9PDJZiUmP2fYQ==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.0" + "@babel/helper-plugin-utils": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -1176,12 +1239,13 @@ } }, "node_modules/@babel/plugin-transform-logical-assignment-operators": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-logical-assignment-operators/-/plugin-transform-logical-assignment-operators-7.24.1.tgz", - "integrity": "sha512-OhN6J4Bpz+hIBqItTeWJujDOfNP+unqv/NJgyhlpSqgBTPm37KkMmZV6SYcOj+pnDbdcl1qRGV/ZiIjX9Iy34w==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-logical-assignment-operators/-/plugin-transform-logical-assignment-operators-7.24.7.tgz", + "integrity": "sha512-4D2tpwlQ1odXmTEIFWy9ELJcZHqrStlzK/dAOWYyxX3zT0iXQB6banjgeOJQXzEc4S0E0a5A+hahxPaEFYftsw==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.0", + "@babel/helper-plugin-utils": "^7.24.7", "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4" }, "engines": { @@ -1192,12 +1256,13 @@ } }, "node_modules/@babel/plugin-transform-member-expression-literals": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.24.1.tgz", - "integrity": "sha512-4ojai0KysTWXzHseJKa1XPNXKRbuUrhkOPY4rEGeR+7ChlJVKxFa3H3Bz+7tWaGKgJAXUWKOGmltN+u9B3+CVg==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.24.7.tgz", + "integrity": "sha512-T/hRC1uqrzXMKLQ6UCwMT85S3EvqaBXDGf0FaMf4446Qx9vKwlghvee0+uuZcDUCZU5RuNi4781UQ7R308zzBw==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.0" + "@babel/helper-plugin-utils": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -1207,13 +1272,14 @@ } }, "node_modules/@babel/plugin-transform-modules-amd": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.24.1.tgz", - "integrity": "sha512-lAxNHi4HVtjnHd5Rxg3D5t99Xm6H7b04hUS7EHIXcUl2EV4yl1gWdqZrNzXnSrHveL9qMdbODlLF55mvgjAfaQ==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.24.7.tgz", + "integrity": "sha512-9+pB1qxV3vs/8Hdmz/CulFB8w2tuu6EB94JZFsjdqxQokwGa9Unap7Bo2gGBGIvPmDIVvQrom7r5m/TCDMURhg==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-module-transforms": "^7.23.3", - "@babel/helper-plugin-utils": "^7.24.0" + "@babel/helper-module-transforms": "^7.24.7", + "@babel/helper-plugin-utils": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -1223,14 +1289,15 @@ } }, "node_modules/@babel/plugin-transform-modules-commonjs": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.24.1.tgz", - "integrity": "sha512-szog8fFTUxBfw0b98gEWPaEqF42ZUD/T3bkynW/wtgx2p/XCP55WEsb+VosKceRSd6njipdZvNogqdtI4Q0chw==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.24.7.tgz", + "integrity": "sha512-iFI8GDxtevHJ/Z22J5xQpVqFLlMNstcLXh994xifFwxxGslr2ZXXLWgtBeLctOD63UFDArdvN6Tg8RFw+aEmjQ==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-module-transforms": "^7.23.3", - "@babel/helper-plugin-utils": "^7.24.0", - "@babel/helper-simple-access": "^7.22.5" + "@babel/helper-module-transforms": "^7.24.7", + "@babel/helper-plugin-utils": "^7.24.7", + "@babel/helper-simple-access": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -1240,15 +1307,16 @@ } }, "node_modules/@babel/plugin-transform-modules-systemjs": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.24.1.tgz", - "integrity": "sha512-mqQ3Zh9vFO1Tpmlt8QPnbwGHzNz3lpNEMxQb1kAemn/erstyqw1r9KeOlOfo3y6xAnFEcOv2tSyrXfmMk+/YZA==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.24.7.tgz", + "integrity": "sha512-GYQE0tW7YoaN13qFh3O1NCY4MPkUiAH3fiF7UcV/I3ajmDKEdG3l+UOcbAm4zUE3gnvUU+Eni7XrVKo9eO9auw==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-hoist-variables": "^7.22.5", - "@babel/helper-module-transforms": "^7.23.3", - "@babel/helper-plugin-utils": "^7.24.0", - "@babel/helper-validator-identifier": "^7.22.20" + "@babel/helper-hoist-variables": "^7.24.7", + "@babel/helper-module-transforms": "^7.24.7", + "@babel/helper-plugin-utils": "^7.24.7", + "@babel/helper-validator-identifier": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -1258,13 +1326,14 @@ } }, "node_modules/@babel/plugin-transform-modules-umd": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.24.1.tgz", - "integrity": "sha512-tuA3lpPj+5ITfcCluy6nWonSL7RvaG0AOTeAuvXqEKS34lnLzXpDb0dcP6K8jD0zWZFNDVly90AGFJPnm4fOYg==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.24.7.tgz", + "integrity": "sha512-3aytQvqJ/h9z4g8AsKPLvD4Zqi2qT+L3j7XoFFu1XBlZWEl2/1kWnhmAbxpLgPrHSY0M6UA02jyTiwUVtiKR6A==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-module-transforms": "^7.23.3", - "@babel/helper-plugin-utils": "^7.24.0" + "@babel/helper-module-transforms": "^7.24.7", + "@babel/helper-plugin-utils": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -1274,13 +1343,14 @@ } }, "node_modules/@babel/plugin-transform-named-capturing-groups-regex": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.22.5.tgz", - "integrity": "sha512-YgLLKmS3aUBhHaxp5hi1WJTgOUb/NCuDHzGT9z9WTt3YG+CPRhJs6nprbStx6DnWM4dh6gt7SU3sZodbZ08adQ==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.24.7.tgz", + "integrity": "sha512-/jr7h/EWeJtk1U/uz2jlsCioHkZk1JJZVcc8oQsJ1dUlaJD83f4/6Zeh2aHt9BIFokHIsSeDfhUmju0+1GPd6g==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.22.5", - "@babel/helper-plugin-utils": "^7.22.5" + "@babel/helper-create-regexp-features-plugin": "^7.24.7", + "@babel/helper-plugin-utils": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -1290,12 +1360,13 @@ } }, "node_modules/@babel/plugin-transform-new-target": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.24.1.tgz", - "integrity": "sha512-/rurytBM34hYy0HKZQyA0nHbQgQNFm4Q/BOc9Hflxi2X3twRof7NaE5W46j4kQitm7SvACVRXsa6N/tSZxvPug==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.24.7.tgz", + "integrity": "sha512-RNKwfRIXg4Ls/8mMTza5oPF5RkOW8Wy/WgMAp1/F1yZ8mMbtwXW+HDoJiOsagWrAhI5f57Vncrmr9XeT4CVapA==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.0" + "@babel/helper-plugin-utils": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -1305,12 +1376,13 @@ } }, "node_modules/@babel/plugin-transform-nullish-coalescing-operator": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-nullish-coalescing-operator/-/plugin-transform-nullish-coalescing-operator-7.24.1.tgz", - "integrity": "sha512-iQ+caew8wRrhCikO5DrUYx0mrmdhkaELgFa+7baMcVuhxIkN7oxt06CZ51D65ugIb1UWRQ8oQe+HXAVM6qHFjw==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-nullish-coalescing-operator/-/plugin-transform-nullish-coalescing-operator-7.24.7.tgz", + "integrity": "sha512-Ts7xQVk1OEocqzm8rHMXHlxvsfZ0cEF2yomUqpKENHWMF4zKk175Y4q8H5knJes6PgYad50uuRmt3UJuhBw8pQ==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.0", + "@babel/helper-plugin-utils": "^7.24.7", "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3" }, "engines": { @@ -1321,12 +1393,13 @@ } }, "node_modules/@babel/plugin-transform-numeric-separator": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-numeric-separator/-/plugin-transform-numeric-separator-7.24.1.tgz", - "integrity": "sha512-7GAsGlK4cNL2OExJH1DzmDeKnRv/LXq0eLUSvudrehVA5Rgg4bIrqEUW29FbKMBRT0ztSqisv7kjP+XIC4ZMNw==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-numeric-separator/-/plugin-transform-numeric-separator-7.24.7.tgz", + "integrity": "sha512-e6q1TiVUzvH9KRvicuxdBTUj4AdKSRwzIyFFnfnezpCfP2/7Qmbb8qbU2j7GODbl4JMkblitCQjKYUaX/qkkwA==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.0", + "@babel/helper-plugin-utils": "^7.24.7", "@babel/plugin-syntax-numeric-separator": "^7.10.4" }, "engines": { @@ -1337,15 +1410,16 @@ } }, "node_modules/@babel/plugin-transform-object-rest-spread": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-rest-spread/-/plugin-transform-object-rest-spread-7.24.1.tgz", - "integrity": "sha512-XjD5f0YqOtebto4HGISLNfiNMTTs6tbkFf2TOqJlYKYmbo+mN9Dnpl4SRoofiziuOWMIyq3sZEUqLo3hLITFEA==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-rest-spread/-/plugin-transform-object-rest-spread-7.24.7.tgz", + "integrity": "sha512-4QrHAr0aXQCEFni2q4DqKLD31n2DL+RxcwnNjDFkSG0eNQ/xCavnRkfCUjsyqGC2OviNJvZOF/mQqZBw7i2C5Q==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-compilation-targets": "^7.23.6", - "@babel/helper-plugin-utils": "^7.24.0", + "@babel/helper-compilation-targets": "^7.24.7", + "@babel/helper-plugin-utils": "^7.24.7", "@babel/plugin-syntax-object-rest-spread": "^7.8.3", - "@babel/plugin-transform-parameters": "^7.24.1" + "@babel/plugin-transform-parameters": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -1355,13 +1429,14 @@ } }, "node_modules/@babel/plugin-transform-object-super": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.24.1.tgz", - "integrity": "sha512-oKJqR3TeI5hSLRxudMjFQ9re9fBVUU0GICqM3J1mi8MqlhVr6hC/ZN4ttAyMuQR6EZZIY6h/exe5swqGNNIkWQ==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.24.7.tgz", + "integrity": "sha512-A/vVLwN6lBrMFmMDmPPz0jnE6ZGx7Jq7d6sT/Ev4H65RER6pZ+kczlf1DthF5N0qaPHBsI7UXiE8Zy66nmAovg==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.0", - "@babel/helper-replace-supers": "^7.24.1" + "@babel/helper-plugin-utils": "^7.24.7", + "@babel/helper-replace-supers": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -1371,12 +1446,13 @@ } }, "node_modules/@babel/plugin-transform-optional-catch-binding": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-catch-binding/-/plugin-transform-optional-catch-binding-7.24.1.tgz", - "integrity": "sha512-oBTH7oURV4Y+3EUrf6cWn1OHio3qG/PVwO5J03iSJmBg6m2EhKjkAu/xuaXaYwWW9miYtvbWv4LNf0AmR43LUA==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-catch-binding/-/plugin-transform-optional-catch-binding-7.24.7.tgz", + "integrity": "sha512-uLEndKqP5BfBbC/5jTwPxLh9kqPWWgzN/f8w6UwAIirAEqiIVJWWY312X72Eub09g5KF9+Zn7+hT7sDxmhRuKA==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.0", + "@babel/helper-plugin-utils": "^7.24.7", "@babel/plugin-syntax-optional-catch-binding": "^7.8.3" }, "engines": { @@ -1387,13 +1463,14 @@ } }, "node_modules/@babel/plugin-transform-optional-chaining": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.24.1.tgz", - "integrity": "sha512-n03wmDt+987qXwAgcBlnUUivrZBPZ8z1plL0YvgQalLm+ZE5BMhGm94jhxXtA1wzv1Cu2aaOv1BM9vbVttrzSg==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.24.7.tgz", + "integrity": "sha512-tK+0N9yd4j+x/4hxF3F0e0fu/VdcxU18y5SevtyM/PCFlQvXbR0Zmlo2eBrKtVipGNFzpq56o8WsIIKcJFUCRQ==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.0", - "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5", + "@babel/helper-plugin-utils": "^7.24.7", + "@babel/helper-skip-transparent-expression-wrappers": "^7.24.7", "@babel/plugin-syntax-optional-chaining": "^7.8.3" }, "engines": { @@ -1404,12 +1481,13 @@ } }, "node_modules/@babel/plugin-transform-parameters": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.24.1.tgz", - "integrity": "sha512-8Jl6V24g+Uw5OGPeWNKrKqXPDw2YDjLc53ojwfMcKwlEoETKU9rU0mHUtcg9JntWI/QYzGAXNWEcVHZ+fR+XXg==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.24.7.tgz", + "integrity": "sha512-yGWW5Rr+sQOhK0Ot8hjDJuxU3XLRQGflvT4lhlSY0DFvdb3TwKaY26CJzHtYllU0vT9j58hc37ndFPsqT1SrzA==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.0" + "@babel/helper-plugin-utils": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -1419,13 +1497,14 @@ } }, "node_modules/@babel/plugin-transform-private-methods": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-methods/-/plugin-transform-private-methods-7.24.1.tgz", - "integrity": "sha512-tGvisebwBO5em4PaYNqt4fkw56K2VALsAbAakY0FjTYqJp7gfdrgr7YX76Or8/cpik0W6+tj3rZ0uHU9Oil4tw==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-methods/-/plugin-transform-private-methods-7.24.7.tgz", + "integrity": "sha512-COTCOkG2hn4JKGEKBADkA8WNb35TGkkRbI5iT845dB+NyqgO8Hn+ajPbSnIQznneJTa3d30scb6iz/DhH8GsJQ==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.24.1", - "@babel/helper-plugin-utils": "^7.24.0" + "@babel/helper-create-class-features-plugin": "^7.24.7", + "@babel/helper-plugin-utils": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -1435,14 +1514,15 @@ } }, "node_modules/@babel/plugin-transform-private-property-in-object": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-property-in-object/-/plugin-transform-private-property-in-object-7.24.1.tgz", - "integrity": "sha512-pTHxDVa0BpUbvAgX3Gat+7cSciXqUcY9j2VZKTbSB6+VQGpNgNO9ailxTGHSXlqOnX1Hcx1Enme2+yv7VqP9bg==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-property-in-object/-/plugin-transform-private-property-in-object-7.24.7.tgz", + "integrity": "sha512-9z76mxwnwFxMyxZWEgdgECQglF2Q7cFLm0kMf8pGwt+GSJsY0cONKj/UuO4bOH0w/uAel3ekS4ra5CEAyJRmDA==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-annotate-as-pure": "^7.22.5", - "@babel/helper-create-class-features-plugin": "^7.24.1", - "@babel/helper-plugin-utils": "^7.24.0", + "@babel/helper-annotate-as-pure": "^7.24.7", + "@babel/helper-create-class-features-plugin": "^7.24.7", + "@babel/helper-plugin-utils": "^7.24.7", "@babel/plugin-syntax-private-property-in-object": "^7.14.5" }, "engines": { @@ -1453,12 +1533,13 @@ } }, "node_modules/@babel/plugin-transform-property-literals": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.24.1.tgz", - "integrity": "sha512-LetvD7CrHmEx0G442gOomRr66d7q8HzzGGr4PMHGr+5YIm6++Yke+jxj246rpvsbyhJwCLxcTn6zW1P1BSenqA==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.24.7.tgz", + "integrity": "sha512-EMi4MLQSHfd2nrCqQEWxFdha2gBCqU4ZcCng4WBGZ5CJL4bBRW0ptdqqDdeirGZcpALazVVNJqRmsO8/+oNCBA==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.0" + "@babel/helper-plugin-utils": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -1468,12 +1549,13 @@ } }, "node_modules/@babel/plugin-transform-regenerator": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.24.1.tgz", - "integrity": "sha512-sJwZBCzIBE4t+5Q4IGLaaun5ExVMRY0lYwos/jNecjMrVCygCdph3IKv0tkP5Fc87e/1+bebAmEAGBfnRD+cnw==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.24.7.tgz", + "integrity": "sha512-lq3fvXPdimDrlg6LWBoqj+r/DEWgONuwjuOuQCSYgRroXDH/IdM1C0IZf59fL5cHLpjEH/O6opIRBbqv7ELnuA==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.0", + "@babel/helper-plugin-utils": "^7.24.7", "regenerator-transform": "^0.15.2" }, "engines": { @@ -1484,12 +1566,13 @@ } }, "node_modules/@babel/plugin-transform-reserved-words": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.24.1.tgz", - "integrity": "sha512-JAclqStUfIwKN15HrsQADFgeZt+wexNQ0uLhuqvqAUFoqPMjEcFCYZBhq0LUdz6dZK/mD+rErhW71fbx8RYElg==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.24.7.tgz", + "integrity": "sha512-0DUq0pHcPKbjFZCfTss/pGkYMfy3vFWydkUBd9r0GHpIyfs2eCDENvqadMycRS9wZCXR41wucAfJHJmwA0UmoQ==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.0" + "@babel/helper-plugin-utils": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -1499,12 +1582,13 @@ } }, "node_modules/@babel/plugin-transform-shorthand-properties": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.24.1.tgz", - "integrity": "sha512-LyjVB1nsJ6gTTUKRjRWx9C1s9hE7dLfP/knKdrfeH9UPtAGjYGgxIbFfx7xyLIEWs7Xe1Gnf8EWiUqfjLhInZA==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.24.7.tgz", + "integrity": "sha512-KsDsevZMDsigzbA09+vacnLpmPH4aWjcZjXdyFKGzpplxhbeB4wYtury3vglQkg6KM/xEPKt73eCjPPf1PgXBA==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.0" + "@babel/helper-plugin-utils": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -1514,13 +1598,14 @@ } }, "node_modules/@babel/plugin-transform-spread": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.24.1.tgz", - "integrity": "sha512-KjmcIM+fxgY+KxPVbjelJC6hrH1CgtPmTvdXAfn3/a9CnWGSTY7nH4zm5+cjmWJybdcPSsD0++QssDsjcpe47g==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.24.7.tgz", + "integrity": "sha512-x96oO0I09dgMDxJaANcRyD4ellXFLLiWhuwDxKZX5g2rWP1bTPkBSwCYv96VDXVT1bD9aPj8tppr5ITIh8hBng==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.0", - "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5" + "@babel/helper-plugin-utils": "^7.24.7", + "@babel/helper-skip-transparent-expression-wrappers": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -1530,12 +1615,13 @@ } }, "node_modules/@babel/plugin-transform-sticky-regex": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.24.1.tgz", - "integrity": "sha512-9v0f1bRXgPVcPrngOQvLXeGNNVLc8UjMVfebo9ka0WF3/7+aVUHmaJVT3sa0XCzEFioPfPHZiOcYG9qOsH63cw==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.24.7.tgz", + "integrity": "sha512-kHPSIJc9v24zEml5geKg9Mjx5ULpfncj0wRpYtxbvKyTtHCYDkVE3aHQ03FrpEo4gEe2vrJJS1Y9CJTaThA52g==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.0" + "@babel/helper-plugin-utils": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -1545,12 +1631,13 @@ } }, "node_modules/@babel/plugin-transform-template-literals": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.24.1.tgz", - "integrity": "sha512-WRkhROsNzriarqECASCNu/nojeXCDTE/F2HmRgOzi7NGvyfYGq1NEjKBK3ckLfRgGc6/lPAqP0vDOSw3YtG34g==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.24.7.tgz", + "integrity": "sha512-AfDTQmClklHCOLxtGoP7HkeMw56k1/bTQjwsfhL6pppo/M4TOBSq+jjBUBLmV/4oeFg4GWMavIl44ZeCtmmZTw==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.0" + "@babel/helper-plugin-utils": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -1560,12 +1647,13 @@ } }, "node_modules/@babel/plugin-transform-typeof-symbol": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.24.1.tgz", - "integrity": "sha512-CBfU4l/A+KruSUoW+vTQthwcAdwuqbpRNB8HQKlZABwHRhsdHZ9fezp4Sn18PeAlYxTNiLMlx4xUBV3AWfg1BA==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.24.7.tgz", + "integrity": "sha512-VtR8hDy7YLB7+Pet9IarXjg/zgCMSF+1mNS/EQEiEaUPoFXCVsHG64SIxcaaI2zJgRiv+YmgaQESUfWAdbjzgg==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.0" + "@babel/helper-plugin-utils": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -1575,15 +1663,16 @@ } }, "node_modules/@babel/plugin-transform-typescript": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.24.1.tgz", - "integrity": "sha512-liYSESjX2fZ7JyBFkYG78nfvHlMKE6IpNdTVnxmlYUR+j5ZLsitFbaAE+eJSK2zPPkNWNw4mXL51rQ8WrvdK0w==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.24.7.tgz", + "integrity": "sha512-iLD3UNkgx2n/HrjBesVbYX6j0yqn/sJktvbtKKgcaLIQ4bTTQ8obAypc1VpyHPD2y4Phh9zHOaAt8e/L14wCpw==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-annotate-as-pure": "^7.22.5", - "@babel/helper-create-class-features-plugin": "^7.24.1", - "@babel/helper-plugin-utils": "^7.24.0", - "@babel/plugin-syntax-typescript": "^7.24.1" + "@babel/helper-annotate-as-pure": "^7.24.7", + "@babel/helper-create-class-features-plugin": "^7.24.7", + "@babel/helper-plugin-utils": "^7.24.7", + "@babel/plugin-syntax-typescript": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -1593,12 +1682,13 @@ } }, "node_modules/@babel/plugin-transform-unicode-escapes": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.24.1.tgz", - "integrity": "sha512-RlkVIcWT4TLI96zM660S877E7beKlQw7Ig+wqkKBiWfj0zH5Q4h50q6er4wzZKRNSYpfo6ILJ+hrJAGSX2qcNw==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.24.7.tgz", + "integrity": "sha512-U3ap1gm5+4edc2Q/P+9VrBNhGkfnf+8ZqppY71Bo/pzZmXhhLdqgaUl6cuB07O1+AQJtCLfaOmswiNbSQ9ivhw==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.0" + "@babel/helper-plugin-utils": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -1608,13 +1698,14 @@ } }, "node_modules/@babel/plugin-transform-unicode-property-regex": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-property-regex/-/plugin-transform-unicode-property-regex-7.24.1.tgz", - "integrity": "sha512-Ss4VvlfYV5huWApFsF8/Sq0oXnGO+jB+rijFEFugTd3cwSObUSnUi88djgR5528Csl0uKlrI331kRqe56Ov2Ng==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-property-regex/-/plugin-transform-unicode-property-regex-7.24.7.tgz", + "integrity": "sha512-uH2O4OV5M9FZYQrwc7NdVmMxQJOCCzFeYudlZSzUAHRFeOujQefa92E74TQDVskNHCzOXoigEuoyzHDhaEaK5w==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.22.15", - "@babel/helper-plugin-utils": "^7.24.0" + "@babel/helper-create-regexp-features-plugin": "^7.24.7", + "@babel/helper-plugin-utils": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -1624,13 +1715,14 @@ } }, "node_modules/@babel/plugin-transform-unicode-regex": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.24.1.tgz", - "integrity": "sha512-2A/94wgZgxfTsiLaQ2E36XAOdcZmGAaEEgVmxQWwZXWkGhvoHbaqXcKnU8zny4ycpu3vNqg0L/PcCiYtHtA13g==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.24.7.tgz", + "integrity": "sha512-hlQ96MBZSAXUq7ltkjtu3FJCCSMx/j629ns3hA3pXnBXjanNP0LHi+JpPeA81zaWgVK1VGH95Xuy7u0RyQ8kMg==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.22.15", - "@babel/helper-plugin-utils": "^7.24.0" + "@babel/helper-create-regexp-features-plugin": "^7.24.7", + "@babel/helper-plugin-utils": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -1640,13 +1732,14 @@ } }, "node_modules/@babel/plugin-transform-unicode-sets-regex": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-sets-regex/-/plugin-transform-unicode-sets-regex-7.24.1.tgz", - "integrity": "sha512-fqj4WuzzS+ukpgerpAoOnMfQXwUHFxXUZUE84oL2Kao2N8uSlvcpnAidKASgsNgzZHBsHWvcm8s9FPWUhAb8fA==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-sets-regex/-/plugin-transform-unicode-sets-regex-7.24.7.tgz", + "integrity": "sha512-2G8aAvF4wy1w/AGZkemprdGMRg5o6zPNhbHVImRz3lss55TYCBd6xStN19rt8XJHq20sqV0JbyWjOWwQRwV/wg==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.22.15", - "@babel/helper-plugin-utils": "^7.24.0" + "@babel/helper-create-regexp-features-plugin": "^7.24.7", + "@babel/helper-plugin-utils": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -1656,26 +1749,28 @@ } }, "node_modules/@babel/preset-env": { - "version": "7.24.3", - "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.24.3.tgz", - "integrity": "sha512-fSk430k5c2ff8536JcPvPWK4tZDwehWLGlBp0wrsBUjZVdeQV6lePbwKWZaZfK2vnh/1kQX1PzAJWsnBmVgGJA==", - "dev": true, - "dependencies": { - "@babel/compat-data": "^7.24.1", - "@babel/helper-compilation-targets": "^7.23.6", - "@babel/helper-plugin-utils": "^7.24.0", - "@babel/helper-validator-option": "^7.23.5", - "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.24.1", - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.24.1", - "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": "^7.24.1", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.24.7.tgz", + "integrity": "sha512-1YZNsc+y6cTvWlDHidMBsQZrZfEFjRIo/BZCT906PMdzOyXtSLTgqGdrpcuTDCXyd11Am5uQULtDIcCfnTc8fQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.24.7", + "@babel/helper-compilation-targets": "^7.24.7", + "@babel/helper-plugin-utils": "^7.24.7", + "@babel/helper-validator-option": "^7.24.7", + "@babel/plugin-bugfix-firefox-class-in-computed-class-key": "^7.24.7", + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.24.7", + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.24.7", + "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": "^7.24.7", "@babel/plugin-proposal-private-property-in-object": "7.21.0-placeholder-for-preset-env.2", "@babel/plugin-syntax-async-generators": "^7.8.4", "@babel/plugin-syntax-class-properties": "^7.12.13", "@babel/plugin-syntax-class-static-block": "^7.14.5", "@babel/plugin-syntax-dynamic-import": "^7.8.3", "@babel/plugin-syntax-export-namespace-from": "^7.8.3", - "@babel/plugin-syntax-import-assertions": "^7.24.1", - "@babel/plugin-syntax-import-attributes": "^7.24.1", + "@babel/plugin-syntax-import-assertions": "^7.24.7", + "@babel/plugin-syntax-import-attributes": "^7.24.7", "@babel/plugin-syntax-import-meta": "^7.10.4", "@babel/plugin-syntax-json-strings": "^7.8.3", "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4", @@ -1687,54 +1782,54 @@ "@babel/plugin-syntax-private-property-in-object": "^7.14.5", "@babel/plugin-syntax-top-level-await": "^7.14.5", "@babel/plugin-syntax-unicode-sets-regex": "^7.18.6", - "@babel/plugin-transform-arrow-functions": "^7.24.1", - "@babel/plugin-transform-async-generator-functions": "^7.24.3", - "@babel/plugin-transform-async-to-generator": "^7.24.1", - "@babel/plugin-transform-block-scoped-functions": "^7.24.1", - "@babel/plugin-transform-block-scoping": "^7.24.1", - "@babel/plugin-transform-class-properties": "^7.24.1", - "@babel/plugin-transform-class-static-block": "^7.24.1", - "@babel/plugin-transform-classes": "^7.24.1", - "@babel/plugin-transform-computed-properties": "^7.24.1", - "@babel/plugin-transform-destructuring": "^7.24.1", - "@babel/plugin-transform-dotall-regex": "^7.24.1", - "@babel/plugin-transform-duplicate-keys": "^7.24.1", - "@babel/plugin-transform-dynamic-import": "^7.24.1", - "@babel/plugin-transform-exponentiation-operator": "^7.24.1", - "@babel/plugin-transform-export-namespace-from": "^7.24.1", - "@babel/plugin-transform-for-of": "^7.24.1", - "@babel/plugin-transform-function-name": "^7.24.1", - "@babel/plugin-transform-json-strings": "^7.24.1", - "@babel/plugin-transform-literals": "^7.24.1", - "@babel/plugin-transform-logical-assignment-operators": "^7.24.1", - "@babel/plugin-transform-member-expression-literals": "^7.24.1", - "@babel/plugin-transform-modules-amd": "^7.24.1", - "@babel/plugin-transform-modules-commonjs": "^7.24.1", - "@babel/plugin-transform-modules-systemjs": "^7.24.1", - "@babel/plugin-transform-modules-umd": "^7.24.1", - "@babel/plugin-transform-named-capturing-groups-regex": "^7.22.5", - "@babel/plugin-transform-new-target": "^7.24.1", - "@babel/plugin-transform-nullish-coalescing-operator": "^7.24.1", - "@babel/plugin-transform-numeric-separator": "^7.24.1", - "@babel/plugin-transform-object-rest-spread": "^7.24.1", - "@babel/plugin-transform-object-super": "^7.24.1", - "@babel/plugin-transform-optional-catch-binding": "^7.24.1", - "@babel/plugin-transform-optional-chaining": "^7.24.1", - "@babel/plugin-transform-parameters": "^7.24.1", - "@babel/plugin-transform-private-methods": "^7.24.1", - "@babel/plugin-transform-private-property-in-object": "^7.24.1", - "@babel/plugin-transform-property-literals": "^7.24.1", - "@babel/plugin-transform-regenerator": "^7.24.1", - "@babel/plugin-transform-reserved-words": "^7.24.1", - "@babel/plugin-transform-shorthand-properties": "^7.24.1", - "@babel/plugin-transform-spread": "^7.24.1", - "@babel/plugin-transform-sticky-regex": "^7.24.1", - "@babel/plugin-transform-template-literals": "^7.24.1", - "@babel/plugin-transform-typeof-symbol": "^7.24.1", - "@babel/plugin-transform-unicode-escapes": "^7.24.1", - "@babel/plugin-transform-unicode-property-regex": "^7.24.1", - "@babel/plugin-transform-unicode-regex": "^7.24.1", - "@babel/plugin-transform-unicode-sets-regex": "^7.24.1", + "@babel/plugin-transform-arrow-functions": "^7.24.7", + "@babel/plugin-transform-async-generator-functions": "^7.24.7", + "@babel/plugin-transform-async-to-generator": "^7.24.7", + "@babel/plugin-transform-block-scoped-functions": "^7.24.7", + "@babel/plugin-transform-block-scoping": "^7.24.7", + "@babel/plugin-transform-class-properties": "^7.24.7", + "@babel/plugin-transform-class-static-block": "^7.24.7", + "@babel/plugin-transform-classes": "^7.24.7", + "@babel/plugin-transform-computed-properties": "^7.24.7", + "@babel/plugin-transform-destructuring": "^7.24.7", + "@babel/plugin-transform-dotall-regex": "^7.24.7", + "@babel/plugin-transform-duplicate-keys": "^7.24.7", + "@babel/plugin-transform-dynamic-import": "^7.24.7", + "@babel/plugin-transform-exponentiation-operator": "^7.24.7", + "@babel/plugin-transform-export-namespace-from": "^7.24.7", + "@babel/plugin-transform-for-of": "^7.24.7", + "@babel/plugin-transform-function-name": "^7.24.7", + "@babel/plugin-transform-json-strings": "^7.24.7", + "@babel/plugin-transform-literals": "^7.24.7", + "@babel/plugin-transform-logical-assignment-operators": "^7.24.7", + "@babel/plugin-transform-member-expression-literals": "^7.24.7", + "@babel/plugin-transform-modules-amd": "^7.24.7", + "@babel/plugin-transform-modules-commonjs": "^7.24.7", + "@babel/plugin-transform-modules-systemjs": "^7.24.7", + "@babel/plugin-transform-modules-umd": "^7.24.7", + "@babel/plugin-transform-named-capturing-groups-regex": "^7.24.7", + "@babel/plugin-transform-new-target": "^7.24.7", + "@babel/plugin-transform-nullish-coalescing-operator": "^7.24.7", + "@babel/plugin-transform-numeric-separator": "^7.24.7", + "@babel/plugin-transform-object-rest-spread": "^7.24.7", + "@babel/plugin-transform-object-super": "^7.24.7", + "@babel/plugin-transform-optional-catch-binding": "^7.24.7", + "@babel/plugin-transform-optional-chaining": "^7.24.7", + "@babel/plugin-transform-parameters": "^7.24.7", + "@babel/plugin-transform-private-methods": "^7.24.7", + "@babel/plugin-transform-private-property-in-object": "^7.24.7", + "@babel/plugin-transform-property-literals": "^7.24.7", + "@babel/plugin-transform-regenerator": "^7.24.7", + "@babel/plugin-transform-reserved-words": "^7.24.7", + "@babel/plugin-transform-shorthand-properties": "^7.24.7", + "@babel/plugin-transform-spread": "^7.24.7", + "@babel/plugin-transform-sticky-regex": "^7.24.7", + "@babel/plugin-transform-template-literals": "^7.24.7", + "@babel/plugin-transform-typeof-symbol": "^7.24.7", + "@babel/plugin-transform-unicode-escapes": "^7.24.7", + "@babel/plugin-transform-unicode-property-regex": "^7.24.7", + "@babel/plugin-transform-unicode-regex": "^7.24.7", + "@babel/plugin-transform-unicode-sets-regex": "^7.24.7", "@babel/preset-modules": "0.1.6-no-external-plugins", "babel-plugin-polyfill-corejs2": "^0.4.10", "babel-plugin-polyfill-corejs3": "^0.10.4", @@ -1754,6 +1849,7 @@ "resolved": "https://registry.npmjs.org/@babel/preset-modules/-/preset-modules-0.1.6-no-external-plugins.tgz", "integrity": "sha512-HrcgcIESLm9aIR842yhJ5RWan/gebQUJ6E/E5+rf0y9o6oj7w0Br+sWuL6kEQ/o/AdfvR1Je9jG18/gnpwjEyA==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.0.0", "@babel/types": "^7.4.4", @@ -1764,16 +1860,17 @@ } }, "node_modules/@babel/preset-typescript": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/preset-typescript/-/preset-typescript-7.24.1.tgz", - "integrity": "sha512-1DBaMmRDpuYQBPWD8Pf/WEwCrtgRHxsZnP4mIy9G/X+hFfbI47Q2G4t1Paakld84+qsk2fSsUPMKg71jkoOOaQ==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/preset-typescript/-/preset-typescript-7.24.7.tgz", + "integrity": "sha512-SyXRe3OdWwIwalxDg5UtJnJQO+YPcTfwiIY2B0Xlddh9o7jpWLvv8X1RthIeDOxQ+O1ML5BLPCONToObyVQVuQ==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.0", - "@babel/helper-validator-option": "^7.23.5", - "@babel/plugin-syntax-jsx": "^7.24.1", - "@babel/plugin-transform-modules-commonjs": "^7.24.1", - "@babel/plugin-transform-typescript": "^7.24.1" + "@babel/helper-plugin-utils": "^7.24.7", + "@babel/helper-validator-option": "^7.24.7", + "@babel/plugin-syntax-jsx": "^7.24.7", + "@babel/plugin-transform-modules-commonjs": "^7.24.7", + "@babel/plugin-transform-typescript": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -1786,13 +1883,15 @@ "version": "0.8.0", "resolved": "https://registry.npmjs.org/@babel/regjsgen/-/regjsgen-0.8.0.tgz", "integrity": "sha512-x/rqGMdzj+fWZvCOYForTghzbtqPDZ5gPwaoNGHdgDfF2QA/XZbCBp4Moo5scrkAMPhB7z26XM/AaHuIJdgauA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@babel/runtime": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.24.1.tgz", - "integrity": "sha512-+BIznRzyqBf+2wCTxcKE3wDjfGeCoVE61KSHGpkzqrLi8qxqFwBeUFyId2cxkTmm55fzDGnm0+yCxaxygrLUnQ==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.24.7.tgz", + "integrity": "sha512-UwgBRMjJP+xv857DCngvqXI3Iq6J4v0wXmwc6sapg+zyhbwmQX67LUEFrkK5tbyJ30jGuG3ZvWpBiB9LCy1kWw==", "dev": true, + "license": "MIT", "dependencies": { "regenerator-runtime": "^0.14.0" }, @@ -1801,33 +1900,35 @@ } }, "node_modules/@babel/template": { - "version": "7.24.0", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.24.0.tgz", - "integrity": "sha512-Bkf2q8lMB0AFpX0NFEqSbx1OkTHf0f+0j82mkw+ZpzBnkk7e9Ql0891vlfgi+kHwOk8tQjiQHpqh4LaSa0fKEA==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.24.7.tgz", + "integrity": "sha512-jYqfPrU9JTF0PmPy1tLYHW4Mp4KlgxJD9l2nP9fD6yT/ICi554DmrWBAEYpIelzjHf1msDP3PxJIRt/nFNfBig==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/code-frame": "^7.23.5", - "@babel/parser": "^7.24.0", - "@babel/types": "^7.24.0" + "@babel/code-frame": "^7.24.7", + "@babel/parser": "^7.24.7", + "@babel/types": "^7.24.7" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/traverse": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.24.1.tgz", - "integrity": "sha512-xuU6o9m68KeqZbQuDt2TcKSxUw/mrsvavlEqQ1leZ/B+C9tk6E4sRWy97WaXgvq5E+nU3cXMxv3WKOCanVMCmQ==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.24.1", - "@babel/generator": "^7.24.1", - "@babel/helper-environment-visitor": "^7.22.20", - "@babel/helper-function-name": "^7.23.0", - "@babel/helper-hoist-variables": "^7.22.5", - "@babel/helper-split-export-declaration": "^7.22.6", - "@babel/parser": "^7.24.1", - "@babel/types": "^7.24.0", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.24.7.tgz", + "integrity": "sha512-yb65Ed5S/QAcewNPh0nZczy9JdYXkkAbIsEo+P7BE7yO3txAY30Y/oPa3QkQ5It3xVG2kpKMg9MsdxZaO31uKA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.24.7", + "@babel/generator": "^7.24.7", + "@babel/helper-environment-visitor": "^7.24.7", + "@babel/helper-function-name": "^7.24.7", + "@babel/helper-hoist-variables": "^7.24.7", + "@babel/helper-split-export-declaration": "^7.24.7", + "@babel/parser": "^7.24.7", + "@babel/types": "^7.24.7", "debug": "^4.3.1", "globals": "^11.1.0" }, @@ -1836,13 +1937,14 @@ } }, "node_modules/@babel/types": { - "version": "7.24.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.24.0.tgz", - "integrity": "sha512-+j7a5c253RfKh8iABBhywc8NSfP5LURe7Uh4qpsh6jc+aLJguvmIUBdjSdEMQv2bENrCR5MfRdjGo7vzS/ob7w==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.24.7.tgz", + "integrity": "sha512-XEFXSlxiG5td2EJRe8vOmRbaXVgfcBlszKujvVmWIK/UpywWljQCfzAv3RQCGujWQ1RD4YYWEAqDXfuJiy8f5Q==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-string-parser": "^7.23.4", - "@babel/helper-validator-identifier": "^7.22.20", + "@babel/helper-string-parser": "^7.24.7", + "@babel/helper-validator-identifier": "^7.24.7", "to-fast-properties": "^2.0.0" }, "engines": { @@ -1853,26 +1955,29 @@ "version": "0.2.3", "resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz", "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@colors/colors": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz", "integrity": "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==", "dev": true, + "license": "MIT", "optional": true, "engines": { "node": ">=0.1.90" } }, "node_modules/@commitlint/cli": { - "version": "19.2.1", - "resolved": "https://registry.npmjs.org/@commitlint/cli/-/cli-19.2.1.tgz", - "integrity": "sha512-cbkYUJsLqRomccNxvoJTyv5yn0bSy05BBizVyIcLACkRbVUqYorC351Diw/XFSWC/GtpwiwT2eOvQgFZa374bg==", + "version": "19.3.0", + "resolved": "https://registry.npmjs.org/@commitlint/cli/-/cli-19.3.0.tgz", + "integrity": "sha512-LgYWOwuDR7BSTQ9OLZ12m7F/qhNY+NpAyPBgo4YNMkACE7lGuUnuQq1yi9hz1KA4+3VqpOYl8H1rY/LYK43v7g==", "dev": true, + "license": "MIT", "dependencies": { - "@commitlint/format": "^19.0.3", - "@commitlint/lint": "^19.1.0", + "@commitlint/format": "^19.3.0", + "@commitlint/lint": "^19.2.2", "@commitlint/load": "^19.2.0", "@commitlint/read": "^19.2.1", "@commitlint/types": "^19.0.3", @@ -1886,222 +1991,95 @@ "node": ">=v18" } }, - "node_modules/@commitlint/cli/node_modules/execa": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/execa/-/execa-8.0.1.tgz", - "integrity": "sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==", + "node_modules/@commitlint/config-conventional": { + "version": "19.2.2", + "resolved": "https://registry.npmjs.org/@commitlint/config-conventional/-/config-conventional-19.2.2.tgz", + "integrity": "sha512-mLXjsxUVLYEGgzbxbxicGPggDuyWNkf25Ht23owXIH+zV2pv1eJuzLK3t1gDY5Gp6pxdE60jZnWUY5cvgL3ufw==", "dev": true, + "license": "MIT", "dependencies": { - "cross-spawn": "^7.0.3", - "get-stream": "^8.0.1", - "human-signals": "^5.0.0", - "is-stream": "^3.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^5.1.0", - "onetime": "^6.0.0", - "signal-exit": "^4.1.0", - "strip-final-newline": "^3.0.0" + "@commitlint/types": "^19.0.3", + "conventional-changelog-conventionalcommits": "^7.0.2" }, "engines": { - "node": ">=16.17" - }, - "funding": { - "url": "https://github.com/sindresorhus/execa?sponsor=1" + "node": ">=v18" } }, - "node_modules/@commitlint/cli/node_modules/get-stream": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-8.0.1.tgz", - "integrity": "sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==", + "node_modules/@commitlint/config-validator": { + "version": "19.0.3", + "resolved": "https://registry.npmjs.org/@commitlint/config-validator/-/config-validator-19.0.3.tgz", + "integrity": "sha512-2D3r4PKjoo59zBc2auodrSCaUnCSALCx54yveOFwwP/i2kfEAQrygwOleFWswLqK0UL/F9r07MFi5ev2ohyM4Q==", "dev": true, - "engines": { - "node": ">=16" + "license": "MIT", + "dependencies": { + "@commitlint/types": "^19.0.3", + "ajv": "^8.11.0" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "engines": { + "node": ">=v18" } }, - "node_modules/@commitlint/cli/node_modules/human-signals": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-5.0.0.tgz", - "integrity": "sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==", + "node_modules/@commitlint/ensure": { + "version": "19.0.3", + "resolved": "https://registry.npmjs.org/@commitlint/ensure/-/ensure-19.0.3.tgz", + "integrity": "sha512-SZEpa/VvBLoT+EFZVb91YWbmaZ/9rPH3ESrINOl0HD2kMYsjvl0tF7nMHh0EpTcv4+gTtZBAe1y/SS6/OhfZzQ==", "dev": true, + "license": "MIT", + "dependencies": { + "@commitlint/types": "^19.0.3", + "lodash.camelcase": "^4.3.0", + "lodash.kebabcase": "^4.1.1", + "lodash.snakecase": "^4.1.1", + "lodash.startcase": "^4.4.0", + "lodash.upperfirst": "^4.3.1" + }, "engines": { - "node": ">=16.17.0" + "node": ">=v18" } }, - "node_modules/@commitlint/cli/node_modules/is-stream": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz", - "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==", + "node_modules/@commitlint/execute-rule": { + "version": "19.0.0", + "resolved": "https://registry.npmjs.org/@commitlint/execute-rule/-/execute-rule-19.0.0.tgz", + "integrity": "sha512-mtsdpY1qyWgAO/iOK0L6gSGeR7GFcdW7tIjcNFxcWkfLDF5qVbPHKuGATFqRMsxcO8OUKNj0+3WOHB7EHm4Jdw==", "dev": true, + "license": "MIT", "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=v18" } }, - "node_modules/@commitlint/cli/node_modules/mimic-fn": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz", - "integrity": "sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==", + "node_modules/@commitlint/format": { + "version": "19.3.0", + "resolved": "https://registry.npmjs.org/@commitlint/format/-/format-19.3.0.tgz", + "integrity": "sha512-luguk5/aF68HiF4H23ACAfk8qS8AHxl4LLN5oxPc24H+2+JRPsNr1OS3Gaea0CrH7PKhArBMKBz5RX9sA5NtTg==", "dev": true, - "engines": { - "node": ">=12" + "license": "MIT", + "dependencies": { + "@commitlint/types": "^19.0.3", + "chalk": "^5.3.0" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "engines": { + "node": ">=v18" } }, - "node_modules/@commitlint/cli/node_modules/npm-run-path": { + "node_modules/@commitlint/format/node_modules/chalk": { "version": "5.3.0", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.3.0.tgz", - "integrity": "sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ==", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz", + "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==", "dev": true, - "dependencies": { - "path-key": "^4.0.0" - }, + "license": "MIT", "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@commitlint/cli/node_modules/onetime": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-6.0.0.tgz", - "integrity": "sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==", - "dev": true, - "dependencies": { - "mimic-fn": "^4.0.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@commitlint/cli/node_modules/path-key": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz", - "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@commitlint/cli/node_modules/signal-exit": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", - "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", - "dev": true, - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/@commitlint/cli/node_modules/strip-final-newline": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-3.0.0.tgz", - "integrity": "sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@commitlint/config-conventional": { - "version": "19.1.0", - "resolved": "https://registry.npmjs.org/@commitlint/config-conventional/-/config-conventional-19.1.0.tgz", - "integrity": "sha512-KIKD2xrp6Uuk+dcZVj3++MlzIr/Su6zLE8crEDQCZNvWHNQSeeGbzOlNtsR32TUy6H3JbP7nWgduAHCaiGQ6EA==", - "dev": true, - "dependencies": { - "@commitlint/types": "^19.0.3", - "conventional-changelog-conventionalcommits": "^7.0.2" - }, - "engines": { - "node": ">=v18" - } - }, - "node_modules/@commitlint/config-validator": { - "version": "19.0.3", - "resolved": "https://registry.npmjs.org/@commitlint/config-validator/-/config-validator-19.0.3.tgz", - "integrity": "sha512-2D3r4PKjoo59zBc2auodrSCaUnCSALCx54yveOFwwP/i2kfEAQrygwOleFWswLqK0UL/F9r07MFi5ev2ohyM4Q==", - "dev": true, - "dependencies": { - "@commitlint/types": "^19.0.3", - "ajv": "^8.11.0" - }, - "engines": { - "node": ">=v18" - } - }, - "node_modules/@commitlint/ensure": { - "version": "19.0.3", - "resolved": "https://registry.npmjs.org/@commitlint/ensure/-/ensure-19.0.3.tgz", - "integrity": "sha512-SZEpa/VvBLoT+EFZVb91YWbmaZ/9rPH3ESrINOl0HD2kMYsjvl0tF7nMHh0EpTcv4+gTtZBAe1y/SS6/OhfZzQ==", - "dev": true, - "dependencies": { - "@commitlint/types": "^19.0.3", - "lodash.camelcase": "^4.3.0", - "lodash.kebabcase": "^4.1.1", - "lodash.snakecase": "^4.1.1", - "lodash.startcase": "^4.4.0", - "lodash.upperfirst": "^4.3.1" - }, - "engines": { - "node": ">=v18" - } - }, - "node_modules/@commitlint/execute-rule": { - "version": "19.0.0", - "resolved": "https://registry.npmjs.org/@commitlint/execute-rule/-/execute-rule-19.0.0.tgz", - "integrity": "sha512-mtsdpY1qyWgAO/iOK0L6gSGeR7GFcdW7tIjcNFxcWkfLDF5qVbPHKuGATFqRMsxcO8OUKNj0+3WOHB7EHm4Jdw==", - "dev": true, - "engines": { - "node": ">=v18" - } - }, - "node_modules/@commitlint/format": { - "version": "19.0.3", - "resolved": "https://registry.npmjs.org/@commitlint/format/-/format-19.0.3.tgz", - "integrity": "sha512-QjjyGyoiVWzx1f5xOteKHNLFyhyweVifMgopozSgx1fGNrGV8+wp7k6n1t6StHdJ6maQJ+UUtO2TcEiBFRyR6Q==", - "dev": true, - "dependencies": { - "@commitlint/types": "^19.0.3", - "chalk": "^5.3.0" - }, - "engines": { - "node": ">=v18" - } - }, - "node_modules/@commitlint/format/node_modules/chalk": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz", - "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==", - "dev": true, - "engines": { - "node": "^12.17.0 || ^14.13 || >=16.0.0" + "node": "^12.17.0 || ^14.13 || >=16.0.0" }, "funding": { "url": "https://github.com/chalk/chalk?sponsor=1" } }, "node_modules/@commitlint/is-ignored": { - "version": "19.0.3", - "resolved": "https://registry.npmjs.org/@commitlint/is-ignored/-/is-ignored-19.0.3.tgz", - "integrity": "sha512-MqDrxJaRSVSzCbPsV6iOKG/Lt52Y+PVwFVexqImmYYFhe51iVJjK2hRhOG2jUAGiUHk4jpdFr0cZPzcBkSzXDQ==", + "version": "19.2.2", + "resolved": "https://registry.npmjs.org/@commitlint/is-ignored/-/is-ignored-19.2.2.tgz", + "integrity": "sha512-eNX54oXMVxncORywF4ZPFtJoBm3Tvp111tg1xf4zWXGfhBPKpfKG6R+G3G4v5CPlRROXpAOpQ3HMhA9n1Tck1g==", "dev": true, + "license": "MIT", "dependencies": { "@commitlint/types": "^19.0.3", "semver": "^7.6.0" @@ -2110,26 +2088,12 @@ "node": ">=v18" } }, - "node_modules/@commitlint/is-ignored/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/@commitlint/is-ignored/node_modules/semver": { - "version": "7.6.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", - "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", + "version": "7.6.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz", + "integrity": "sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==", "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, + "license": "ISC", "bin": { "semver": "bin/semver.js" }, @@ -2137,19 +2101,14 @@ "node": ">=10" } }, - "node_modules/@commitlint/is-ignored/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, "node_modules/@commitlint/lint": { - "version": "19.1.0", - "resolved": "https://registry.npmjs.org/@commitlint/lint/-/lint-19.1.0.tgz", - "integrity": "sha512-ESjaBmL/9cxm+eePyEr6SFlBUIYlYpI80n+Ltm7IA3MAcrmiP05UMhJdAD66sO8jvo8O4xdGn/1Mt2G5VzfZKw==", + "version": "19.2.2", + "resolved": "https://registry.npmjs.org/@commitlint/lint/-/lint-19.2.2.tgz", + "integrity": "sha512-xrzMmz4JqwGyKQKTpFzlN0dx0TAiT7Ran1fqEBgEmEj+PU98crOFtysJgY+QdeSagx6EDRigQIXJVnfrI0ratA==", "dev": true, + "license": "MIT", "dependencies": { - "@commitlint/is-ignored": "^19.0.3", + "@commitlint/is-ignored": "^19.2.2", "@commitlint/parse": "^19.0.3", "@commitlint/rules": "^19.0.3", "@commitlint/types": "^19.0.3" @@ -2163,6 +2122,7 @@ "resolved": "https://registry.npmjs.org/@commitlint/load/-/load-19.2.0.tgz", "integrity": "sha512-XvxxLJTKqZojCxaBQ7u92qQLFMMZc4+p9qrIq/9kJDy8DOrEa7P1yx7Tjdc2u2JxIalqT4KOGraVgCE7eCYJyQ==", "dev": true, + "license": "MIT", "dependencies": { "@commitlint/config-validator": "^19.0.3", "@commitlint/execute-rule": "^19.0.0", @@ -2184,6 +2144,7 @@ "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz", "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==", "dev": true, + "license": "MIT", "engines": { "node": "^12.17.0 || ^14.13 || >=16.0.0" }, @@ -2196,6 +2157,7 @@ "resolved": "https://registry.npmjs.org/@commitlint/message/-/message-19.0.0.tgz", "integrity": "sha512-c9czf6lU+9oF9gVVa2lmKaOARJvt4soRsVmbR7Njwp9FpbBgste5i7l/2l5o8MmbwGh4yE1snfnsy2qyA2r/Fw==", "dev": true, + "license": "MIT", "engines": { "node": ">=v18" } @@ -2205,6 +2167,7 @@ "resolved": "https://registry.npmjs.org/@commitlint/parse/-/parse-19.0.3.tgz", "integrity": "sha512-Il+tNyOb8VDxN3P6XoBBwWJtKKGzHlitEuXA5BP6ir/3loWlsSqDr5aecl6hZcC/spjq4pHqNh0qPlfeWu38QA==", "dev": true, + "license": "MIT", "dependencies": { "@commitlint/types": "^19.0.3", "conventional-changelog-angular": "^7.0.0", @@ -2219,6 +2182,7 @@ "resolved": "https://registry.npmjs.org/@commitlint/read/-/read-19.2.1.tgz", "integrity": "sha512-qETc4+PL0EUv7Q36lJbPG+NJiBOGg7SSC7B5BsPWOmei+Dyif80ErfWQ0qXoW9oCh7GTpTNRoaVhiI8RbhuaNw==", "dev": true, + "license": "MIT", "dependencies": { "@commitlint/top-level": "^19.0.0", "@commitlint/types": "^19.0.3", @@ -2230,409 +2194,62 @@ "node": ">=v18" } }, - "node_modules/@commitlint/read/node_modules/execa": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/execa/-/execa-8.0.1.tgz", - "integrity": "sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==", - "dev": true, - "dependencies": { - "cross-spawn": "^7.0.3", - "get-stream": "^8.0.1", - "human-signals": "^5.0.0", - "is-stream": "^3.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^5.1.0", - "onetime": "^6.0.0", - "signal-exit": "^4.1.0", - "strip-final-newline": "^3.0.0" - }, - "engines": { - "node": ">=16.17" - }, - "funding": { - "url": "https://github.com/sindresorhus/execa?sponsor=1" - } - }, - "node_modules/@commitlint/read/node_modules/get-stream": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-8.0.1.tgz", - "integrity": "sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==", - "dev": true, - "engines": { - "node": ">=16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@commitlint/read/node_modules/human-signals": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-5.0.0.tgz", - "integrity": "sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==", - "dev": true, - "engines": { - "node": ">=16.17.0" - } - }, - "node_modules/@commitlint/read/node_modules/is-stream": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz", - "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==", - "dev": true, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@commitlint/read/node_modules/mimic-fn": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz", - "integrity": "sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@commitlint/read/node_modules/npm-run-path": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.3.0.tgz", - "integrity": "sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ==", - "dev": true, - "dependencies": { - "path-key": "^4.0.0" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@commitlint/read/node_modules/onetime": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-6.0.0.tgz", - "integrity": "sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==", - "dev": true, - "dependencies": { - "mimic-fn": "^4.0.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@commitlint/read/node_modules/path-key": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz", - "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@commitlint/read/node_modules/signal-exit": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", - "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", - "dev": true, - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/@commitlint/read/node_modules/strip-final-newline": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-3.0.0.tgz", - "integrity": "sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/@commitlint/resolve-extends": { "version": "19.1.0", "resolved": "https://registry.npmjs.org/@commitlint/resolve-extends/-/resolve-extends-19.1.0.tgz", "integrity": "sha512-z2riI+8G3CET5CPgXJPlzftH+RiWYLMYv4C9tSLdLXdr6pBNimSKukYP9MS27ejmscqCTVA4almdLh0ODD2KYg==", "dev": true, + "license": "MIT", "dependencies": { - "@commitlint/config-validator": "^19.0.3", - "@commitlint/types": "^19.0.3", - "global-directory": "^4.0.1", - "import-meta-resolve": "^4.0.0", - "lodash.mergewith": "^4.6.2", - "resolve-from": "^5.0.0" - }, - "engines": { - "node": ">=v18" - } - }, - "node_modules/@commitlint/rules": { - "version": "19.0.3", - "resolved": "https://registry.npmjs.org/@commitlint/rules/-/rules-19.0.3.tgz", - "integrity": "sha512-TspKb9VB6svklxNCKKwxhELn7qhtY1rFF8ls58DcFd0F97XoG07xugPjjbVnLqmMkRjZDbDIwBKt9bddOfLaPw==", - "dev": true, - "dependencies": { - "@commitlint/ensure": "^19.0.3", - "@commitlint/message": "^19.0.0", - "@commitlint/to-lines": "^19.0.0", - "@commitlint/types": "^19.0.3", - "execa": "^8.0.1" - }, - "engines": { - "node": ">=v18" - } - }, - "node_modules/@commitlint/rules/node_modules/execa": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/execa/-/execa-8.0.1.tgz", - "integrity": "sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==", - "dev": true, - "dependencies": { - "cross-spawn": "^7.0.3", - "get-stream": "^8.0.1", - "human-signals": "^5.0.0", - "is-stream": "^3.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^5.1.0", - "onetime": "^6.0.0", - "signal-exit": "^4.1.0", - "strip-final-newline": "^3.0.0" - }, - "engines": { - "node": ">=16.17" - }, - "funding": { - "url": "https://github.com/sindresorhus/execa?sponsor=1" - } - }, - "node_modules/@commitlint/rules/node_modules/get-stream": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-8.0.1.tgz", - "integrity": "sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==", - "dev": true, - "engines": { - "node": ">=16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@commitlint/rules/node_modules/human-signals": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-5.0.0.tgz", - "integrity": "sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==", - "dev": true, - "engines": { - "node": ">=16.17.0" - } - }, - "node_modules/@commitlint/rules/node_modules/is-stream": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz", - "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==", - "dev": true, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@commitlint/rules/node_modules/mimic-fn": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz", - "integrity": "sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@commitlint/rules/node_modules/npm-run-path": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.3.0.tgz", - "integrity": "sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ==", - "dev": true, - "dependencies": { - "path-key": "^4.0.0" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@commitlint/rules/node_modules/onetime": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-6.0.0.tgz", - "integrity": "sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==", - "dev": true, - "dependencies": { - "mimic-fn": "^4.0.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@commitlint/rules/node_modules/path-key": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz", - "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@commitlint/rules/node_modules/signal-exit": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", - "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", - "dev": true, - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/@commitlint/rules/node_modules/strip-final-newline": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-3.0.0.tgz", - "integrity": "sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@commitlint/to-lines": { - "version": "19.0.0", - "resolved": "https://registry.npmjs.org/@commitlint/to-lines/-/to-lines-19.0.0.tgz", - "integrity": "sha512-vkxWo+VQU5wFhiP9Ub9Sre0FYe019JxFikrALVoD5UGa8/t3yOJEpEhxC5xKiENKKhUkTpEItMTRAjHw2SCpZw==", - "dev": true, - "engines": { - "node": ">=v18" - } - }, - "node_modules/@commitlint/top-level": { - "version": "19.0.0", - "resolved": "https://registry.npmjs.org/@commitlint/top-level/-/top-level-19.0.0.tgz", - "integrity": "sha512-KKjShd6u1aMGNkCkaX4aG1jOGdn7f8ZI8TR1VEuNqUOjWTOdcDSsmglinglJ18JTjuBX5I1PtjrhQCRcixRVFQ==", - "dev": true, - "dependencies": { - "find-up": "^7.0.0" - }, - "engines": { - "node": ">=v18" - } - }, - "node_modules/@commitlint/top-level/node_modules/find-up": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-7.0.0.tgz", - "integrity": "sha512-YyZM99iHrqLKjmt4LJDj58KI+fYyufRLBSYcqycxf//KpBk9FoewoGX0450m9nB44qrZnovzC2oeP5hUibxc/g==", - "dev": true, - "dependencies": { - "locate-path": "^7.2.0", - "path-exists": "^5.0.0", - "unicorn-magic": "^0.1.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@commitlint/top-level/node_modules/locate-path": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-7.2.0.tgz", - "integrity": "sha512-gvVijfZvn7R+2qyPX8mAuKcFGDf6Nc61GdvGafQsHL0sBIxfKzA+usWn4GFC/bk+QdwPUD4kWFJLhElipq+0VA==", - "dev": true, - "dependencies": { - "p-locate": "^6.0.0" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@commitlint/top-level/node_modules/p-limit": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-4.0.0.tgz", - "integrity": "sha512-5b0R4txpzjPWVw/cXXUResoD4hb6U/x9BH08L7nw+GN1sezDzPdxeRvpc9c433fZhBan/wusjbCsqwqm4EIBIQ==", - "dev": true, - "dependencies": { - "yocto-queue": "^1.0.0" + "@commitlint/config-validator": "^19.0.3", + "@commitlint/types": "^19.0.3", + "global-directory": "^4.0.1", + "import-meta-resolve": "^4.0.0", + "lodash.mergewith": "^4.6.2", + "resolve-from": "^5.0.0" }, "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=v18" } }, - "node_modules/@commitlint/top-level/node_modules/p-locate": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-6.0.0.tgz", - "integrity": "sha512-wPrq66Llhl7/4AGC6I+cqxT07LhXvWL08LNXz1fENOw0Ap4sRZZ/gZpTTJ5jpurzzzfS2W/Ge9BY3LgLjCShcw==", + "node_modules/@commitlint/rules": { + "version": "19.0.3", + "resolved": "https://registry.npmjs.org/@commitlint/rules/-/rules-19.0.3.tgz", + "integrity": "sha512-TspKb9VB6svklxNCKKwxhELn7qhtY1rFF8ls58DcFd0F97XoG07xugPjjbVnLqmMkRjZDbDIwBKt9bddOfLaPw==", "dev": true, + "license": "MIT", "dependencies": { - "p-limit": "^4.0.0" + "@commitlint/ensure": "^19.0.3", + "@commitlint/message": "^19.0.0", + "@commitlint/to-lines": "^19.0.0", + "@commitlint/types": "^19.0.3", + "execa": "^8.0.1" }, "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=v18" } }, - "node_modules/@commitlint/top-level/node_modules/path-exists": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-5.0.0.tgz", - "integrity": "sha512-RjhtfwJOxzcFmNOi6ltcbcu4Iu+FL3zEj83dk4kAS+fVpTxXLO1b38RvJgT/0QwvV/L3aY9TAnyv0EOqW4GoMQ==", + "node_modules/@commitlint/to-lines": { + "version": "19.0.0", + "resolved": "https://registry.npmjs.org/@commitlint/to-lines/-/to-lines-19.0.0.tgz", + "integrity": "sha512-vkxWo+VQU5wFhiP9Ub9Sre0FYe019JxFikrALVoD5UGa8/t3yOJEpEhxC5xKiENKKhUkTpEItMTRAjHw2SCpZw==", "dev": true, + "license": "MIT", "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + "node": ">=v18" } }, - "node_modules/@commitlint/top-level/node_modules/yocto-queue": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-1.0.0.tgz", - "integrity": "sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g==", + "node_modules/@commitlint/top-level": { + "version": "19.0.0", + "resolved": "https://registry.npmjs.org/@commitlint/top-level/-/top-level-19.0.0.tgz", + "integrity": "sha512-KKjShd6u1aMGNkCkaX4aG1jOGdn7f8ZI8TR1VEuNqUOjWTOdcDSsmglinglJ18JTjuBX5I1PtjrhQCRcixRVFQ==", "dev": true, - "engines": { - "node": ">=12.20" + "license": "MIT", + "dependencies": { + "find-up": "^7.0.0" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "engines": { + "node": ">=v18" } }, "node_modules/@commitlint/types": { @@ -2640,6 +2257,7 @@ "resolved": "https://registry.npmjs.org/@commitlint/types/-/types-19.0.3.tgz", "integrity": "sha512-tpyc+7i6bPG9mvaBbtKUeghfyZSDgWquIDfMgqYtTbmZ9Y9VzEm2je9EYcQ0aoz5o7NvGS+rcDec93yO08MHYA==", "dev": true, + "license": "MIT", "dependencies": { "@types/conventional-commits-parser": "^5.0.0", "chalk": "^5.3.0" @@ -2653,6 +2271,7 @@ "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz", "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==", "dev": true, + "license": "MIT", "engines": { "node": "^12.17.0 || ^14.13 || >=16.0.0" }, @@ -2661,13 +2280,14 @@ } }, "node_modules/@esbuild/aix-ppc64": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.19.12.tgz", - "integrity": "sha512-bmoCYyWdEL3wDQIVbcyzRyeKLgk2WtWLTWz1ZIAZF/EGbNOwSA6ew3PftJ1PqMiOOGu0OyFMzG53L0zqIpPeNA==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.21.5.tgz", + "integrity": "sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==", "cpu": [ "ppc64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "aix" @@ -2677,13 +2297,14 @@ } }, "node_modules/@esbuild/android-arm": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.19.12.tgz", - "integrity": "sha512-qg/Lj1mu3CdQlDEEiWrlC4eaPZ1KztwGJ9B6J+/6G+/4ewxJg7gqj8eVYWvao1bXrqGiW2rsBZFSX3q2lcW05w==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.21.5.tgz", + "integrity": "sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==", "cpu": [ "arm" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "android" @@ -2693,13 +2314,14 @@ } }, "node_modules/@esbuild/android-arm64": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.19.12.tgz", - "integrity": "sha512-P0UVNGIienjZv3f5zq0DP3Nt2IE/3plFzuaS96vihvD0Hd6H/q4WXUGpCxD/E8YrSXfNyRPbpTq+T8ZQioSuPA==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.21.5.tgz", + "integrity": "sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==", "cpu": [ "arm64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "android" @@ -2709,13 +2331,14 @@ } }, "node_modules/@esbuild/android-x64": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.19.12.tgz", - "integrity": "sha512-3k7ZoUW6Q6YqhdhIaq/WZ7HwBpnFBlW905Fa4s4qWJyiNOgT1dOqDiVAQFwBH7gBRZr17gLrlFCRzF6jFh7Kew==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.21.5.tgz", + "integrity": "sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==", "cpu": [ "x64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "android" @@ -2725,13 +2348,14 @@ } }, "node_modules/@esbuild/darwin-arm64": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.19.12.tgz", - "integrity": "sha512-B6IeSgZgtEzGC42jsI+YYu9Z3HKRxp8ZT3cqhvliEHovq8HSX2YX8lNocDn79gCKJXOSaEot9MVYky7AKjCs8g==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.21.5.tgz", + "integrity": "sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==", "cpu": [ "arm64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "darwin" @@ -2741,13 +2365,14 @@ } }, "node_modules/@esbuild/darwin-x64": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.19.12.tgz", - "integrity": "sha512-hKoVkKzFiToTgn+41qGhsUJXFlIjxI/jSYeZf3ugemDYZldIXIxhvwN6erJGlX4t5h417iFuheZ7l+YVn05N3A==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.21.5.tgz", + "integrity": "sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==", "cpu": [ "x64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "darwin" @@ -2757,13 +2382,14 @@ } }, "node_modules/@esbuild/freebsd-arm64": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.12.tgz", - "integrity": "sha512-4aRvFIXmwAcDBw9AueDQ2YnGmz5L6obe5kmPT8Vd+/+x/JMVKCgdcRwH6APrbpNXsPz+K653Qg8HB/oXvXVukA==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.21.5.tgz", + "integrity": "sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==", "cpu": [ "arm64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "freebsd" @@ -2773,13 +2399,14 @@ } }, "node_modules/@esbuild/freebsd-x64": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.19.12.tgz", - "integrity": "sha512-EYoXZ4d8xtBoVN7CEwWY2IN4ho76xjYXqSXMNccFSx2lgqOG/1TBPW0yPx1bJZk94qu3tX0fycJeeQsKovA8gg==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.21.5.tgz", + "integrity": "sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==", "cpu": [ "x64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "freebsd" @@ -2789,13 +2416,14 @@ } }, "node_modules/@esbuild/linux-arm": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.19.12.tgz", - "integrity": "sha512-J5jPms//KhSNv+LO1S1TX1UWp1ucM6N6XuL6ITdKWElCu8wXP72l9MM0zDTzzeikVyqFE6U8YAV9/tFyj0ti+w==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.21.5.tgz", + "integrity": "sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==", "cpu": [ "arm" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" @@ -2805,13 +2433,14 @@ } }, "node_modules/@esbuild/linux-arm64": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.19.12.tgz", - "integrity": "sha512-EoTjyYyLuVPfdPLsGVVVC8a0p1BFFvtpQDB/YLEhaXyf/5bczaGeN15QkR+O4S5LeJ92Tqotve7i1jn35qwvdA==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.21.5.tgz", + "integrity": "sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==", "cpu": [ "arm64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" @@ -2821,13 +2450,14 @@ } }, "node_modules/@esbuild/linux-ia32": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.19.12.tgz", - "integrity": "sha512-Thsa42rrP1+UIGaWz47uydHSBOgTUnwBwNq59khgIwktK6x60Hivfbux9iNR0eHCHzOLjLMLfUMLCypBkZXMHA==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.21.5.tgz", + "integrity": "sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==", "cpu": [ "ia32" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" @@ -2837,13 +2467,14 @@ } }, "node_modules/@esbuild/linux-loong64": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.19.12.tgz", - "integrity": "sha512-LiXdXA0s3IqRRjm6rV6XaWATScKAXjI4R4LoDlvO7+yQqFdlr1Bax62sRwkVvRIrwXxvtYEHHI4dm50jAXkuAA==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.21.5.tgz", + "integrity": "sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==", "cpu": [ "loong64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" @@ -2853,13 +2484,14 @@ } }, "node_modules/@esbuild/linux-mips64el": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.19.12.tgz", - "integrity": "sha512-fEnAuj5VGTanfJ07ff0gOA6IPsvrVHLVb6Lyd1g2/ed67oU1eFzL0r9WL7ZzscD+/N6i3dWumGE1Un4f7Amf+w==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.21.5.tgz", + "integrity": "sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==", "cpu": [ "mips64el" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" @@ -2869,13 +2501,14 @@ } }, "node_modules/@esbuild/linux-ppc64": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.19.12.tgz", - "integrity": "sha512-nYJA2/QPimDQOh1rKWedNOe3Gfc8PabU7HT3iXWtNUbRzXS9+vgB0Fjaqr//XNbd82mCxHzik2qotuI89cfixg==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.21.5.tgz", + "integrity": "sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==", "cpu": [ "ppc64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" @@ -2885,13 +2518,14 @@ } }, "node_modules/@esbuild/linux-riscv64": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.19.12.tgz", - "integrity": "sha512-2MueBrlPQCw5dVJJpQdUYgeqIzDQgw3QtiAHUC4RBz9FXPrskyyU3VI1hw7C0BSKB9OduwSJ79FTCqtGMWqJHg==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.21.5.tgz", + "integrity": "sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==", "cpu": [ "riscv64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" @@ -2901,13 +2535,14 @@ } }, "node_modules/@esbuild/linux-s390x": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.19.12.tgz", - "integrity": "sha512-+Pil1Nv3Umes4m3AZKqA2anfhJiVmNCYkPchwFJNEJN5QxmTs1uzyy4TvmDrCRNT2ApwSari7ZIgrPeUx4UZDg==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.21.5.tgz", + "integrity": "sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==", "cpu": [ "s390x" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" @@ -2917,13 +2552,14 @@ } }, "node_modules/@esbuild/linux-x64": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.19.12.tgz", - "integrity": "sha512-B71g1QpxfwBvNrfyJdVDexenDIt1CiDN1TIXLbhOw0KhJzE78KIFGX6OJ9MrtC0oOqMWf+0xop4qEU8JrJTwCg==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.21.5.tgz", + "integrity": "sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==", "cpu": [ "x64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" @@ -2933,13 +2569,14 @@ } }, "node_modules/@esbuild/netbsd-x64": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.19.12.tgz", - "integrity": "sha512-3ltjQ7n1owJgFbuC61Oj++XhtzmymoCihNFgT84UAmJnxJfm4sYCiSLTXZtE00VWYpPMYc+ZQmB6xbSdVh0JWA==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.21.5.tgz", + "integrity": "sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==", "cpu": [ "x64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "netbsd" @@ -2949,13 +2586,14 @@ } }, "node_modules/@esbuild/openbsd-x64": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.19.12.tgz", - "integrity": "sha512-RbrfTB9SWsr0kWmb9srfF+L933uMDdu9BIzdA7os2t0TXhCRjrQyCeOt6wVxr79CKD4c+p+YhCj31HBkYcXebw==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.21.5.tgz", + "integrity": "sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==", "cpu": [ "x64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "openbsd" @@ -2965,13 +2603,14 @@ } }, "node_modules/@esbuild/sunos-x64": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.19.12.tgz", - "integrity": "sha512-HKjJwRrW8uWtCQnQOz9qcU3mUZhTUQvi56Q8DPTLLB+DawoiQdjsYq+j+D3s9I8VFtDr+F9CjgXKKC4ss89IeA==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.21.5.tgz", + "integrity": "sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==", "cpu": [ "x64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "sunos" @@ -2981,13 +2620,14 @@ } }, "node_modules/@esbuild/win32-arm64": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.19.12.tgz", - "integrity": "sha512-URgtR1dJnmGvX864pn1B2YUYNzjmXkuJOIqG2HdU62MVS4EHpU2946OZoTMnRUHklGtJdJZ33QfzdjGACXhn1A==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.21.5.tgz", + "integrity": "sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==", "cpu": [ "arm64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "win32" @@ -2997,13 +2637,14 @@ } }, "node_modules/@esbuild/win32-ia32": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.19.12.tgz", - "integrity": "sha512-+ZOE6pUkMOJfmxmBZElNOx72NKpIa/HFOMGzu8fqzQJ5kgf6aTGrcJaFsNiVMH4JKpMipyK+7k0n2UXN7a8YKQ==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.21.5.tgz", + "integrity": "sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==", "cpu": [ "ia32" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "win32" @@ -3013,13 +2654,14 @@ } }, "node_modules/@esbuild/win32-x64": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.19.12.tgz", - "integrity": "sha512-T1QyPSDCyMXaO3pzBkF96E8xMkiRYbUEZADd29SyPGabqxMViNoii+NcK7eWJAEoU6RZyEm5lVSIjTmcdoB9HA==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.21.5.tgz", + "integrity": "sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==", "cpu": [ "x64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "win32" @@ -3033,6 +2675,7 @@ "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==", "dev": true, + "license": "MIT", "dependencies": { "eslint-visitor-keys": "^3.3.0" }, @@ -3044,10 +2687,11 @@ } }, "node_modules/@eslint-community/regexpp": { - "version": "4.10.0", - "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.10.0.tgz", - "integrity": "sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA==", + "version": "4.11.0", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.11.0.tgz", + "integrity": "sha512-G/M/tIiMrTAxEWRfLfQJMmGNX28IxBg4PBz8XqQhqUHLFI6TL2htpIB1iQCj144V5ee/JaKyT9/WZ0MGZWfA7A==", "dev": true, + "license": "MIT", "engines": { "node": "^12.0.0 || ^14.0.0 || >=16.0.0" } @@ -3057,6 +2701,7 @@ "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.4.tgz", "integrity": "sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==", "dev": true, + "license": "MIT", "dependencies": { "ajv": "^6.12.4", "debug": "^4.3.2", @@ -3080,6 +2725,7 @@ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", "dev": true, + "license": "MIT", "dependencies": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", @@ -3096,6 +2742,7 @@ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "dev": true, + "license": "MIT", "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -3106,6 +2753,7 @@ "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz", "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==", "dev": true, + "license": "MIT", "dependencies": { "type-fest": "^0.20.2" }, @@ -3120,13 +2768,15 @@ "version": "0.4.1", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@eslint/eslintrc/node_modules/minimatch": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", "dev": true, + "license": "ISC", "dependencies": { "brace-expansion": "^1.1.7" }, @@ -3139,6 +2789,7 @@ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", "dev": true, + "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=10" }, @@ -3151,6 +2802,7 @@ "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.0.tgz", "integrity": "sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==", "dev": true, + "license": "MIT", "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } @@ -3159,7 +2811,9 @@ "version": "0.11.14", "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.14.tgz", "integrity": "sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==", + "deprecated": "Use @eslint/config-array instead", "dev": true, + "license": "Apache-2.0", "dependencies": { "@humanwhocodes/object-schema": "^2.0.2", "debug": "^4.3.1", @@ -3174,6 +2828,7 @@ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "dev": true, + "license": "MIT", "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -3184,6 +2839,7 @@ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", "dev": true, + "license": "ISC", "dependencies": { "brace-expansion": "^1.1.7" }, @@ -3196,6 +2852,7 @@ "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", "dev": true, + "license": "Apache-2.0", "engines": { "node": ">=12.22" }, @@ -3205,30 +2862,19 @@ } }, "node_modules/@humanwhocodes/object-schema": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.2.tgz", - "integrity": "sha512-6EwiSjwWYP7pTckG6I5eyFANjPhmPjUX9JRLUSfNPC7FX7zK9gyZAfUEaECL6ALTpGX5AjnBq3C9XmVWPitNpw==", - "dev": true - }, - "node_modules/@hypnosphi/create-react-context": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/@hypnosphi/create-react-context/-/create-react-context-0.3.1.tgz", - "integrity": "sha512-V1klUed202XahrWJLLOT3EXNeCpFHCcJntdFGI15ntCwau+jfT386w7OFTMaCqOgXUH1fa0w/I1oZs+i/Rfr0A==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz", + "integrity": "sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==", + "deprecated": "Use @eslint/object-schema instead", "dev": true, - "dependencies": { - "gud": "^1.0.0", - "warning": "^4.0.3" - }, - "peerDependencies": { - "prop-types": "^15.0.0", - "react": ">=0.14.0" - } + "license": "BSD-3-Clause" }, "node_modules/@isaacs/cliui": { "version": "8.0.2", "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", "dev": true, + "license": "ISC", "dependencies": { "string-width": "^5.1.2", "string-width-cjs": "npm:string-width@^4.2.0", @@ -3246,6 +2892,7 @@ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -3258,6 +2905,7 @@ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -3269,13 +2917,15 @@ "version": "9.2.2", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@isaacs/cliui/node_modules/string-width": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", "dev": true, + "license": "MIT", "dependencies": { "eastasianwidth": "^0.2.0", "emoji-regex": "^9.2.2", @@ -3293,6 +2943,7 @@ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", "dev": true, + "license": "MIT", "dependencies": { "ansi-regex": "^6.0.1" }, @@ -3308,6 +2959,7 @@ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^6.1.0", "string-width": "^5.0.1", @@ -3325,6 +2977,7 @@ "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz", "integrity": "sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==", "dev": true, + "license": "ISC", "dependencies": { "camelcase": "^5.3.1", "find-up": "^4.1.0", @@ -3341,6 +2994,7 @@ "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", "dev": true, + "license": "MIT", "dependencies": { "sprintf-js": "~1.0.2" } @@ -3350,6 +3004,7 @@ "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", "dev": true, + "license": "MIT", "dependencies": { "locate-path": "^5.0.0", "path-exists": "^4.0.0" @@ -3363,6 +3018,7 @@ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", "dev": true, + "license": "MIT", "dependencies": { "argparse": "^1.0.7", "esprima": "^4.0.0" @@ -3376,6 +3032,7 @@ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", "dev": true, + "license": "MIT", "dependencies": { "p-locate": "^4.1.0" }, @@ -3388,6 +3045,7 @@ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", "dev": true, + "license": "MIT", "dependencies": { "p-try": "^2.0.0" }, @@ -3403,6 +3061,7 @@ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", "dev": true, + "license": "MIT", "dependencies": { "p-limit": "^2.2.0" }, @@ -3410,11 +3069,22 @@ "node": ">=8" } }, + "node_modules/@istanbuljs/load-nyc-config/node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, "node_modules/@istanbuljs/schema": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz", "integrity": "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -3424,6 +3094,7 @@ "resolved": "https://registry.npmjs.org/@jest/console/-/console-29.7.0.tgz", "integrity": "sha512-5Ni4CU7XHQi32IJ398EEP4RrB8eV09sXP2ROqD4bksHrnTree52PsxvX8tpL8LvTZ3pFzXyPbNQReSN41CAhOg==", "dev": true, + "license": "MIT", "dependencies": { "@jest/types": "^29.6.3", "@types/node": "*", @@ -3441,6 +3112,7 @@ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, + "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, @@ -3456,6 +3128,7 @@ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -3472,6 +3145,7 @@ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, + "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, @@ -3483,13 +3157,15 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@jest/console/node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -3499,6 +3175,7 @@ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -3511,6 +3188,7 @@ "resolved": "https://registry.npmjs.org/@jest/core/-/core-29.7.0.tgz", "integrity": "sha512-n7aeXWKMnGtDA48y8TLWJPJmLmmZ642Ceo78cYWEpiD7FzDgmNDV/GCVRorPABdXLJZ/9wzzgZAlHjXjxDHGsg==", "dev": true, + "license": "MIT", "dependencies": { "@jest/console": "^29.7.0", "@jest/reporters": "^29.7.0", @@ -3558,6 +3236,7 @@ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, + "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, @@ -3573,6 +3252,7 @@ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -3589,6 +3269,7 @@ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, + "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, @@ -3600,13 +3281,15 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@jest/core/node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -3616,6 +3299,7 @@ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -3628,6 +3312,7 @@ "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-29.7.0.tgz", "integrity": "sha512-aQIfHDq33ExsN4jP1NWGXhxgQ/wixs60gDiKO+XVMd8Mn0NWPWgc34ZQDTb2jKaUWQ7MuwoitXAsN2XVXNMpAw==", "dev": true, + "license": "MIT", "dependencies": { "@jest/fake-timers": "^29.7.0", "@jest/types": "^29.6.3", @@ -3643,6 +3328,7 @@ "resolved": "https://registry.npmjs.org/@jest/expect/-/expect-29.7.0.tgz", "integrity": "sha512-8uMeAMycttpva3P1lBHB8VciS9V0XAr3GymPpipdyQXbBcuhkLQOSe8E/p92RyAdToS6ZD1tFkX+CkhoECE0dQ==", "dev": true, + "license": "MIT", "dependencies": { "expect": "^29.7.0", "jest-snapshot": "^29.7.0" @@ -3656,6 +3342,7 @@ "resolved": "https://registry.npmjs.org/@jest/expect-utils/-/expect-utils-29.7.0.tgz", "integrity": "sha512-GlsNBWiFQFCVi9QVSx7f5AgMeLxe9YCCs5PuP2O2LdjDAA8Jh9eX7lA1Jq/xdXw3Wb3hyvlFNfZIfcRetSzYcA==", "dev": true, + "license": "MIT", "dependencies": { "jest-get-type": "^29.6.3" }, @@ -3668,6 +3355,7 @@ "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-29.7.0.tgz", "integrity": "sha512-q4DH1Ha4TTFPdxLsqDXK1d3+ioSL7yL5oCMJZgDYm6i+6CygW5E5xVr/D1HdsGxjt1ZWSfUAs9OxSB/BNelWrQ==", "dev": true, + "license": "MIT", "dependencies": { "@jest/types": "^29.6.3", "@sinonjs/fake-timers": "^10.0.2", @@ -3685,6 +3373,7 @@ "resolved": "https://registry.npmjs.org/@jest/globals/-/globals-29.7.0.tgz", "integrity": "sha512-mpiz3dutLbkW2MNFubUGUEVLkTGiqW6yLVTA+JbP6fI6J5iL9Y0Nlg8k95pcF8ctKwCS7WVxteBs29hhfAotzQ==", "dev": true, + "license": "MIT", "dependencies": { "@jest/environment": "^29.7.0", "@jest/expect": "^29.7.0", @@ -3700,6 +3389,7 @@ "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-29.7.0.tgz", "integrity": "sha512-DApq0KJbJOEzAFYjHADNNxAE3KbhxQB1y5Kplb5Waqw6zVbuWatSnMjE5gs8FUgEPmNsnZA3NCWl9NG0ia04Pg==", "dev": true, + "license": "MIT", "dependencies": { "@bcoe/v8-coverage": "^0.2.3", "@jest/console": "^29.7.0", @@ -3743,6 +3433,7 @@ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, + "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, @@ -3758,6 +3449,7 @@ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -3774,6 +3466,7 @@ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, + "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, @@ -3785,13 +3478,15 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@jest/reporters/node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -3801,6 +3496,7 @@ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -3813,6 +3509,7 @@ "resolved": "https://registry.npmjs.org/@jest/schemas/-/schemas-29.6.3.tgz", "integrity": "sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==", "dev": true, + "license": "MIT", "dependencies": { "@sinclair/typebox": "^0.27.8" }, @@ -3825,6 +3522,7 @@ "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-29.6.3.tgz", "integrity": "sha512-MHjT95QuipcPrpLM+8JMSzFx6eHp5Bm+4XeFDJlwsvVBjmKNiIAvasGK2fxz2WbGRlnvqehFbh07MMa7n3YJnw==", "dev": true, + "license": "MIT", "dependencies": { "@jridgewell/trace-mapping": "^0.3.18", "callsites": "^3.0.0", @@ -3839,6 +3537,7 @@ "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-29.7.0.tgz", "integrity": "sha512-Fdx+tv6x1zlkJPcWXmMDAG2HBnaR9XPSd5aDWQVsfrZmLVT3lU1cwyxLgRmXR9yrq4NBoEm9BMsfgFzTQAbJYA==", "dev": true, + "license": "MIT", "dependencies": { "@jest/console": "^29.7.0", "@jest/types": "^29.6.3", @@ -3854,6 +3553,7 @@ "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-29.7.0.tgz", "integrity": "sha512-GQwJ5WZVrKnOJuiYiAF52UNUJXgTZx1NHjFSEB0qEMmSZKAkdMoIzw/Cj6x6NF4AvV23AUqDpFzQkN/eYCYTxw==", "dev": true, + "license": "MIT", "dependencies": { "@jest/test-result": "^29.7.0", "graceful-fs": "^4.2.9", @@ -3869,6 +3569,7 @@ "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-29.7.0.tgz", "integrity": "sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw==", "dev": true, + "license": "MIT", "dependencies": { "@babel/core": "^7.11.6", "@jest/types": "^29.6.3", @@ -3895,6 +3596,7 @@ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, + "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, @@ -3910,6 +3612,7 @@ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -3926,6 +3629,7 @@ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, + "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, @@ -3937,13 +3641,15 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@jest/transform/node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -3953,6 +3659,7 @@ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -3965,6 +3672,7 @@ "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.6.3.tgz", "integrity": "sha512-u3UPsIilWKOM3F9CXtrG8LEJmNxwoCQC/XVj4IKYXvvpx7QIi/Kg1LI5uDmDpKlac62NUtX7eLjRh+jVZcLOzw==", "dev": true, + "license": "MIT", "dependencies": { "@jest/schemas": "^29.6.3", "@types/istanbul-lib-coverage": "^2.0.0", @@ -3982,6 +3690,7 @@ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, + "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, @@ -3997,6 +3706,7 @@ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -4013,6 +3723,7 @@ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, + "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, @@ -4024,13 +3735,15 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@jest/types/node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -4040,6 +3753,7 @@ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -4052,6 +3766,7 @@ "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz", "integrity": "sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==", "dev": true, + "license": "MIT", "dependencies": { "@jridgewell/set-array": "^1.2.1", "@jridgewell/sourcemap-codec": "^1.4.10", @@ -4066,6 +3781,7 @@ "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", "dev": true, + "license": "MIT", "engines": { "node": ">=6.0.0" } @@ -4075,6 +3791,7 @@ "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz", "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==", "dev": true, + "license": "MIT", "engines": { "node": ">=6.0.0" } @@ -4083,13 +3800,15 @@ "version": "1.4.15", "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@jridgewell/trace-mapping": { "version": "0.3.25", "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz", "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==", "dev": true, + "license": "MIT", "dependencies": { "@jridgewell/resolve-uri": "^3.1.0", "@jridgewell/sourcemap-codec": "^1.4.14" @@ -4099,13 +3818,15 @@ "version": "0.1.2", "resolved": "https://registry.npmjs.org/@json-schema-spec/json-pointer/-/json-pointer-0.1.2.tgz", "integrity": "sha512-BYY7IavBjwsWWSmVcMz2A9mKiDD9RvacnsItgmy1xV8cmgbtxFfKmKMtkVpD7pYtkx4mIW4800yZBXueVFIWPw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@json-schema-tools/dereferencer": { "version": "1.5.4", "resolved": "https://registry.npmjs.org/@json-schema-tools/dereferencer/-/dereferencer-1.5.4.tgz", "integrity": "sha512-4cmEdRPIG7WrcSWGRV6HBDCLXEOXGkaOZnopqBxoG24mKYuCHWg4M6N9nioTQyNfKqlPkOPvT4lStQqkPnhLgA==", "dev": true, + "license": "Apache-2.0", "dependencies": { "@json-schema-tools/reference-resolver": "^1.2.4", "@json-schema-tools/traverse": "^1.7.8", @@ -4116,13 +3837,15 @@ "version": "1.6.19", "resolved": "https://registry.npmjs.org/@json-schema-tools/meta-schema/-/meta-schema-1.6.19.tgz", "integrity": "sha512-55zuWFW7tr4tf/G5AYmybcPdGOkVAreQbt2JdnogX4I2r/zkxZiimYPJESDf5je9BI2oRveak2p296HzDppeaA==", - "dev": true + "dev": true, + "license": "Apache-2.0" }, "node_modules/@json-schema-tools/reference-resolver": { "version": "1.2.6", "resolved": "https://registry.npmjs.org/@json-schema-tools/reference-resolver/-/reference-resolver-1.2.6.tgz", "integrity": "sha512-4QZu5ROb5EpLSvV+buzk8WR30W+dffSNaKqD3VGFYJ3y0BLDi2OHoSz5e6NKcLYTyUYXV8IKxocNOszeVBJI4Q==", "dev": true, + "license": "Apache-2.0", "dependencies": { "@json-schema-spec/json-pointer": "^0.1.2", "isomorphic-fetch": "^3.0.0" @@ -4132,12 +3855,14 @@ "version": "1.10.4", "resolved": "https://registry.npmjs.org/@json-schema-tools/traverse/-/traverse-1.10.4.tgz", "integrity": "sha512-9e42zjhLIxzBONroNC4SGsTqdB877tzwH2S6lqgTav9K24kWJR9vNieeMVSuyqnY8FlclH21D8wsm/tuD9WA9Q==", - "dev": true + "dev": true, + "license": "Apache-2.0" }, "node_modules/@noble/curves": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.4.0.tgz", - "integrity": "sha512-p+4cb332SFCrReJkCYe8Xzm0OWi4Jji5jVdIZRL/PmacmDkFNw6MrrV+gGpiPxLHbV+zKFRywUWbaseT+tZRXg==", + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.4.2.tgz", + "integrity": "sha512-TavHr8qycMChk8UwMld0ZDRvatedkzWfH8IiaeGCfymOP5i0hSCozz9vHOL0nkwk7HRMlFnAiKpS2jrUmSybcw==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.4.0" }, @@ -4149,6 +3874,7 @@ "version": "1.4.0", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.4.0.tgz", "integrity": "sha512-V1JJ1WTRUqHHrOSh597hURcMqVKVGL/ea3kv0gSnEdsEZ0/+VyPghM1lMNGc00z7CIQorSvbKpuJkxvuHbvdbg==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -4161,6 +3887,7 @@ "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", "dev": true, + "license": "MIT", "dependencies": { "@nodelib/fs.stat": "2.0.5", "run-parallel": "^1.1.9" @@ -4174,6 +3901,7 @@ "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", "dev": true, + "license": "MIT", "engines": { "node": ">= 8" } @@ -4183,6 +3911,7 @@ "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", "dev": true, + "license": "MIT", "dependencies": { "@nodelib/fs.scandir": "2.1.5", "fastq": "^1.6.0" @@ -4192,25 +3921,27 @@ } }, "node_modules/@octokit/auth-token": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-5.0.1.tgz", - "integrity": "sha512-RTmWsLfig8SBoiSdgvCht4BXl1CHU89Co5xiQ5JF19my/sIRDFCQ1RPrmK0exgqUZuNm39C/bV8+/83+MJEjGg==", + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-5.1.1.tgz", + "integrity": "sha512-rh3G3wDO8J9wSjfI436JUKzHIxq8NaiL0tVeB2aXmG6p/9859aUOAjA9pmSPNGGZxfwmaJ9ozOJImuNVJdpvbA==", "dev": true, + "license": "MIT", "engines": { "node": ">= 18" } }, "node_modules/@octokit/core": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/@octokit/core/-/core-6.0.1.tgz", - "integrity": "sha512-MIpPQXu8Y8GjHwXM81JLveiV+DHJZtLMcB5nKekBGOl3iAtk0HT3i12Xl8Biybu+bCS1+k4qbuKEq5d0RxNRnQ==", + "version": "6.1.2", + "resolved": "https://registry.npmjs.org/@octokit/core/-/core-6.1.2.tgz", + "integrity": "sha512-hEb7Ma4cGJGEUNOAVmyfdB/3WirWMg5hDuNFVejGEDFqupeOysLc2sG6HJxY2etBp5YQu5Wtxwi020jS9xlUwg==", "dev": true, + "license": "MIT", "dependencies": { "@octokit/auth-token": "^5.0.0", "@octokit/graphql": "^8.0.0", "@octokit/request": "^9.0.0", "@octokit/request-error": "^6.0.1", - "@octokit/types": "^12.0.0", + "@octokit/types": "^13.0.0", "before-after-hook": "^3.0.2", "universal-user-agent": "^7.0.0" }, @@ -4219,12 +3950,13 @@ } }, "node_modules/@octokit/endpoint": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-10.0.0.tgz", - "integrity": "sha512-emBcNDxBdC1y3+knJonS5zhUB/CG6TihubxM2U1/pG/Z1y3a4oV0Gzz3lmkCvWWQI6h3tqBAX9MgCBFp+M68Jw==", + "version": "10.1.1", + "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-10.1.1.tgz", + "integrity": "sha512-JYjh5rMOwXMJyUpj028cu0Gbp7qe/ihxfJMLc8VZBMMqSwLgOxDI1911gV4Enl1QSavAQNJcwmwBF9M0VvLh6Q==", "dev": true, + "license": "MIT", "dependencies": { - "@octokit/types": "^12.0.0", + "@octokit/types": "^13.0.0", "universal-user-agent": "^7.0.2" }, "engines": { @@ -4232,13 +3964,14 @@ } }, "node_modules/@octokit/graphql": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-8.0.1.tgz", - "integrity": "sha512-lLDb6LhC1gBj2CxEDa5Xk10+H/boonhs+3Mi6jpRyetskDKNHe6crMeKmUE2efoLofMP8ruannLlCUgpTFmVzQ==", + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-8.1.1.tgz", + "integrity": "sha512-ukiRmuHTi6ebQx/HFRCXKbDlOh/7xEV6QUXaE7MJEKGNAncGI/STSbOkl12qVXZrfZdpXctx5O9X1AIaebiDBg==", "dev": true, + "license": "MIT", "dependencies": { "@octokit/request": "^9.0.0", - "@octokit/types": "^12.0.0", + "@octokit/types": "^13.0.0", "universal-user-agent": "^7.0.0" }, "engines": { @@ -4246,18 +3979,20 @@ } }, "node_modules/@octokit/openapi-types": { - "version": "20.0.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-20.0.0.tgz", - "integrity": "sha512-EtqRBEjp1dL/15V7WiX5LJMIxxkdiGJnabzYx5Apx4FkQIFgAfKumXeYAqqJCj1s+BMX4cPFIFC4OLCR6stlnA==", - "dev": true + "version": "22.2.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-22.2.0.tgz", + "integrity": "sha512-QBhVjcUa9W7Wwhm6DBFu6ZZ+1/t/oYxqc2tp81Pi41YNuJinbFRx8B133qVOrAaBbF7D/m0Et6f9/pZt9Rc+tg==", + "dev": true, + "license": "MIT" }, "node_modules/@octokit/plugin-paginate-rest": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-10.0.0.tgz", - "integrity": "sha512-G1Z67qOiFneKDJyMafHQkWnKm1kU3FfbRZLzxgsFg4dOa3pRNdABbdk+xo/oev6P88lnbt7GKdBNB6dJZuPphA==", + "version": "11.3.3", + "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-11.3.3.tgz", + "integrity": "sha512-o4WRoOJZlKqEEgj+i9CpcmnByvtzoUYC6I8PD2SA95M+BJ2x8h7oLcVOg9qcowWXBOdcTRsMZiwvM3EyLm9AfA==", "dev": true, + "license": "MIT", "dependencies": { - "@octokit/types": "^12.6.0" + "@octokit/types": "^13.5.0" }, "engines": { "node": ">= 18" @@ -4267,13 +4002,14 @@ } }, "node_modules/@octokit/plugin-retry": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/@octokit/plugin-retry/-/plugin-retry-7.0.3.tgz", - "integrity": "sha512-T9l5Z7XnDZ7dkyNmhJPSUq0YjbqUT/xn4yQbhcSuv4WGC/LqM73/mKwkl68VDPoLw20e8oz4L7qQopWt9v6sow==", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/@octokit/plugin-retry/-/plugin-retry-7.1.1.tgz", + "integrity": "sha512-G9Ue+x2odcb8E1XIPhaFBnTTIrrUDfXN05iFXiqhR+SeeeDMMILcAnysOsxUpEWcQp2e5Ft397FCXTcPkiPkLw==", "dev": true, + "license": "MIT", "dependencies": { "@octokit/request-error": "^6.0.0", - "@octokit/types": "^12.0.0", + "@octokit/types": "^13.0.0", "bottleneck": "^2.15.3" }, "engines": { @@ -4284,12 +4020,13 @@ } }, "node_modules/@octokit/plugin-throttling": { - "version": "9.0.3", - "resolved": "https://registry.npmjs.org/@octokit/plugin-throttling/-/plugin-throttling-9.0.3.tgz", - "integrity": "sha512-DReKamrLBJOzld73dmmxV2H137QKJfsxszAczEZXeAJQ/Po6bzQacKajPdodA6T1jfmP9+waImus+d/R2j+R7Q==", + "version": "9.3.0", + "resolved": "https://registry.npmjs.org/@octokit/plugin-throttling/-/plugin-throttling-9.3.0.tgz", + "integrity": "sha512-B5YTToSRTzNSeEyssnrT7WwGhpIdbpV9NKIs3KyTWHX6PhpYn7gqF/+lL3BvsASBM3Sg5BAUYk7KZx5p/Ec77w==", "dev": true, + "license": "MIT", "dependencies": { - "@octokit/types": "^12.6.0", + "@octokit/types": "^13.0.0", "bottleneck": "^2.15.3" }, "engines": { @@ -4300,14 +4037,15 @@ } }, "node_modules/@octokit/request": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/@octokit/request/-/request-9.0.1.tgz", - "integrity": "sha512-kL+cAcbSl3dctYLuJmLfx6Iku2MXXy0jszhaEIjQNaCp4zjHXrhVAHeuaRdNvJjW9qjl3u1MJ72+OuBP0YW/pg==", + "version": "9.1.1", + "resolved": "https://registry.npmjs.org/@octokit/request/-/request-9.1.1.tgz", + "integrity": "sha512-pyAguc0p+f+GbQho0uNetNQMmLG1e80WjkIaqqgUkihqUp0boRU6nKItXO4VWnr+nbZiLGEyy4TeKRwqaLvYgw==", "dev": true, + "license": "MIT", "dependencies": { "@octokit/endpoint": "^10.0.0", "@octokit/request-error": "^6.0.1", - "@octokit/types": "^12.0.0", + "@octokit/types": "^13.1.0", "universal-user-agent": "^7.0.2" }, "engines": { @@ -4315,37 +4053,41 @@ } }, "node_modules/@octokit/request-error": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-6.0.2.tgz", - "integrity": "sha512-WtRVpoHcNXs84+s9s/wqfHaxM68NGMg8Av7h59B50OVO0PwwMx+2GgQ/OliUd0iQBSNWgR6N8afi/KjSHbXHWw==", + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-6.1.1.tgz", + "integrity": "sha512-1mw1gqT3fR/WFvnoVpY/zUM2o/XkMs/2AszUUG9I69xn0JFLv6PGkPhNk5lbfvROs79wiS0bqiJNxfCZcRJJdg==", "dev": true, + "license": "MIT", "dependencies": { - "@octokit/types": "^12.0.0" + "@octokit/types": "^13.0.0" }, "engines": { "node": ">= 18" } }, "node_modules/@octokit/types": { - "version": "12.6.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-12.6.0.tgz", - "integrity": "sha512-1rhSOfRa6H9w4YwK0yrf5faDaDTb+yLyBUKOCV4xtCDB5VmIPqd/v9yr9o6SAzOAlRxMiRiCic6JVM1/kunVkw==", + "version": "13.5.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-13.5.0.tgz", + "integrity": "sha512-HdqWTf5Z3qwDVlzCrP8UJquMwunpDiMPt5er+QjGzL4hqr/vBVY/MauQgS1xWxCDT1oMx1EULyqxncdCY/NVSQ==", "dev": true, + "license": "MIT", "dependencies": { - "@octokit/openapi-types": "^20.0.0" + "@octokit/openapi-types": "^22.2.0" } }, "node_modules/@open-rpc/meta-schema": { "version": "1.14.2", "resolved": "https://registry.npmjs.org/@open-rpc/meta-schema/-/meta-schema-1.14.2.tgz", "integrity": "sha512-vD4Nbkrb7wYFRcSQf+j228LwOy1C6/KKpy5NADlpMElGrAWPRxhTa2yTi6xG+x88OHzg2+cydQ0GAD6o40KUcg==", - "dev": true + "dev": true, + "license": "Apache-2.0" }, "node_modules/@open-rpc/schema-utils-js": { "version": "1.16.2", "resolved": "https://registry.npmjs.org/@open-rpc/schema-utils-js/-/schema-utils-js-1.16.2.tgz", "integrity": "sha512-55vQov3o8KkXD+wiw1nKZaYws2LHSntjK5Sfja4vfGN7A6Xis0r0d0MUDVj32E3pKF9Z2sTZL3sKO/nB0DKUDg==", "dev": true, + "license": "Apache-2.0", "dependencies": { "@json-schema-tools/dereferencer": "1.5.5", "@json-schema-tools/meta-schema": "1.6.19", @@ -4364,6 +4106,7 @@ "resolved": "https://registry.npmjs.org/@json-schema-tools/dereferencer/-/dereferencer-1.5.5.tgz", "integrity": "sha512-ntnTXO47DOLTLmcU9yJ7Fu29L8Du9+ly4rwxLaYd/aWVhBDtvG8VIQRMJVrrTZOQo0Cv/wHHuEj47n43MFqIjA==", "dev": true, + "license": "Apache-2.0", "dependencies": { "@json-schema-tools/reference-resolver": "^1.2.4", "@json-schema-tools/traverse": "^1.7.8", @@ -4375,6 +4118,7 @@ "resolved": "https://registry.npmjs.org/@json-schema-tools/reference-resolver/-/reference-resolver-1.2.4.tgz", "integrity": "sha512-Oag20zDuapO6nBQp00k8Rd5sDTb8Gfz9uH43Tf7dHKNx7nHDK/WdeTe7OxkOmLQCL6aS+mCJx1Zv+fZBCD+tzQ==", "dev": true, + "license": "Apache-2.0", "dependencies": { "@json-schema-spec/json-pointer": "^0.1.2", "isomorphic-fetch": "^3.0.0" @@ -4385,6 +4129,7 @@ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", "dev": true, + "license": "MIT", "dependencies": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", @@ -4401,6 +4146,7 @@ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz", "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", "dev": true, + "license": "MIT", "dependencies": { "graceful-fs": "^4.2.0", "jsonfile": "^6.0.1", @@ -4414,13 +4160,15 @@ "version": "0.4.1", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@pkgjs/parseargs": { "version": "0.11.0", "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", "dev": true, + "license": "MIT", "optional": true, "engines": { "node": ">=14" @@ -4431,6 +4179,7 @@ "resolved": "https://registry.npmjs.org/@pkgr/core/-/core-0.1.1.tgz", "integrity": "sha512-cq8o4cWH0ibXh9VGi5P20Tu9XF/0fFXl9EUinr9QfTM7a7p0oTA4iJRCQWppXR1Pg8dSM0UCItCkPwsk9qWWYA==", "dev": true, + "license": "MIT", "engines": { "node": "^12.20.0 || ^14.18.0 || >=16.0.0" }, @@ -4443,6 +4192,7 @@ "resolved": "https://registry.npmjs.org/@pnpm/config.env-replace/-/config.env-replace-1.1.0.tgz", "integrity": "sha512-htyl8TWnKL7K/ESFa1oW2UB5lVDxuF5DpM7tBi6Hu2LNL3mWkIzNLG6N4zoCUP1lCKNxWy/3iu8mS8MvToGd6w==", "dev": true, + "license": "MIT", "engines": { "node": ">=12.22.0" } @@ -4452,6 +4202,7 @@ "resolved": "https://registry.npmjs.org/@pnpm/network.ca-file/-/network.ca-file-1.0.2.tgz", "integrity": "sha512-YcPQ8a0jwYU9bTdJDpXjMi7Brhkr1mXsXrUJvjqM2mQDgkRiz8jFaQGOdaLxgjtUfQgZhKy/O3cG/YwmgKaxLA==", "dev": true, + "license": "MIT", "dependencies": { "graceful-fs": "4.2.10" }, @@ -4463,13 +4214,15 @@ "version": "4.2.10", "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz", "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/@pnpm/npm-conf": { "version": "2.2.2", "resolved": "https://registry.npmjs.org/@pnpm/npm-conf/-/npm-conf-2.2.2.tgz", "integrity": "sha512-UA91GwWPhFExt3IizW6bOeY/pQ0BkuNwKjk9iQW9KqxluGCrg4VenZ0/L+2Y0+ZOtme72EVvg6v0zo3AMQRCeA==", "dev": true, + "license": "MIT", "dependencies": { "@pnpm/config.env-replace": "^1.1.0", "@pnpm/network.ca-file": "^1.0.1", @@ -4480,204 +4233,234 @@ } }, "node_modules/@rollup/rollup-android-arm-eabi": { - "version": "4.13.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.13.2.tgz", - "integrity": "sha512-3XFIDKWMFZrMnao1mJhnOT1h2g0169Os848NhhmGweEcfJ4rCi+3yMCOLG4zA61rbJdkcrM/DjVZm9Hg5p5w7g==", + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.18.0.tgz", + "integrity": "sha512-Tya6xypR10giZV1XzxmH5wr25VcZSncG0pZIjfePT0OVBvqNEurzValetGNarVrGiq66EBVAFn15iYX4w6FKgQ==", "cpu": [ "arm" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "android" ] }, "node_modules/@rollup/rollup-android-arm64": { - "version": "4.13.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.13.2.tgz", - "integrity": "sha512-GdxxXbAuM7Y/YQM9/TwwP+L0omeE/lJAR1J+olu36c3LqqZEBdsIWeQ91KBe6nxwOnb06Xh7JS2U5ooWU5/LgQ==", + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.18.0.tgz", + "integrity": "sha512-avCea0RAP03lTsDhEyfy+hpfr85KfyTctMADqHVhLAF3MlIkq83CP8UfAHUssgXTYd+6er6PaAhx/QGv4L1EiA==", "cpu": [ "arm64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "android" ] }, "node_modules/@rollup/rollup-darwin-arm64": { - "version": "4.13.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.13.2.tgz", - "integrity": "sha512-mCMlpzlBgOTdaFs83I4XRr8wNPveJiJX1RLfv4hggyIVhfB5mJfN4P8Z6yKh+oE4Luz+qq1P3kVdWrCKcMYrrA==", + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.18.0.tgz", + "integrity": "sha512-IWfdwU7KDSm07Ty0PuA/W2JYoZ4iTj3TUQjkVsO/6U+4I1jN5lcR71ZEvRh52sDOERdnNhhHU57UITXz5jC1/w==", "cpu": [ "arm64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "darwin" ] }, "node_modules/@rollup/rollup-darwin-x64": { - "version": "4.13.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.13.2.tgz", - "integrity": "sha512-yUoEvnH0FBef/NbB1u6d3HNGyruAKnN74LrPAfDQL3O32e3k3OSfLrPgSJmgb3PJrBZWfPyt6m4ZhAFa2nZp2A==", + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.18.0.tgz", + "integrity": "sha512-n2LMsUz7Ynu7DoQrSQkBf8iNrjOGyPLrdSg802vk6XT3FtsgX6JbE8IHRvposskFm9SNxzkLYGSq9QdpLYpRNA==", "cpu": [ "x64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "darwin" ] }, "node_modules/@rollup/rollup-linux-arm-gnueabihf": { - "version": "4.13.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.13.2.tgz", - "integrity": "sha512-GYbLs5ErswU/Xs7aGXqzc3RrdEjKdmoCrgzhJWyFL0r5fL3qd1NPcDKDowDnmcoSiGJeU68/Vy+OMUluRxPiLQ==", + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.18.0.tgz", + "integrity": "sha512-C/zbRYRXFjWvz9Z4haRxcTdnkPt1BtCkz+7RtBSuNmKzMzp3ZxdM28Mpccn6pt28/UWUCTXa+b0Mx1k3g6NOMA==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm-musleabihf": { + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.18.0.tgz", + "integrity": "sha512-l3m9ewPgjQSXrUMHg93vt0hYCGnrMOcUpTz6FLtbwljo2HluS4zTXFy2571YQbisTnfTKPZ01u/ukJdQTLGh9A==", "cpu": [ "arm" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" ] }, "node_modules/@rollup/rollup-linux-arm64-gnu": { - "version": "4.13.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.13.2.tgz", - "integrity": "sha512-L1+D8/wqGnKQIlh4Zre9i4R4b4noxzH5DDciyahX4oOz62CphY7WDWqJoQ66zNR4oScLNOqQJfNSIAe/6TPUmQ==", + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.18.0.tgz", + "integrity": "sha512-rJ5D47d8WD7J+7STKdCUAgmQk49xuFrRi9pZkWoRD1UeSMakbcepWXPF8ycChBoAqs1pb2wzvbY6Q33WmN2ftw==", "cpu": [ "arm64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" ] }, "node_modules/@rollup/rollup-linux-arm64-musl": { - "version": "4.13.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.13.2.tgz", - "integrity": "sha512-tK5eoKFkXdz6vjfkSTCupUzCo40xueTOiOO6PeEIadlNBkadH1wNOH8ILCPIl8by/Gmb5AGAeQOFeLev7iZDOA==", + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.18.0.tgz", + "integrity": "sha512-be6Yx37b24ZwxQ+wOQXXLZqpq4jTckJhtGlWGZs68TgdKXJgw54lUUoFYrg6Zs/kjzAQwEwYbp8JxZVzZLRepQ==", "cpu": [ "arm64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" ] }, "node_modules/@rollup/rollup-linux-powerpc64le-gnu": { - "version": "4.13.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.13.2.tgz", - "integrity": "sha512-zvXvAUGGEYi6tYhcDmb9wlOckVbuD+7z3mzInCSTACJ4DQrdSLPNUeDIcAQW39M3q6PDquqLWu7pnO39uSMRzQ==", + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.18.0.tgz", + "integrity": "sha512-hNVMQK+qrA9Todu9+wqrXOHxFiD5YmdEi3paj6vP02Kx1hjd2LLYR2eaN7DsEshg09+9uzWi2W18MJDlG0cxJA==", "cpu": [ - "ppc64le" + "ppc64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" ] }, "node_modules/@rollup/rollup-linux-riscv64-gnu": { - "version": "4.13.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.13.2.tgz", - "integrity": "sha512-C3GSKvMtdudHCN5HdmAMSRYR2kkhgdOfye4w0xzyii7lebVr4riCgmM6lRiSCnJn2w1Xz7ZZzHKuLrjx5620kw==", + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.18.0.tgz", + "integrity": "sha512-ROCM7i+m1NfdrsmvwSzoxp9HFtmKGHEqu5NNDiZWQtXLA8S5HBCkVvKAxJ8U+CVctHwV2Gb5VUaK7UAkzhDjlg==", "cpu": [ "riscv64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" ] }, "node_modules/@rollup/rollup-linux-s390x-gnu": { - "version": "4.13.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.13.2.tgz", - "integrity": "sha512-l4U0KDFwzD36j7HdfJ5/TveEQ1fUTjFFQP5qIt9gBqBgu1G8/kCaq5Ok05kd5TG9F8Lltf3MoYsUMw3rNlJ0Yg==", + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.18.0.tgz", + "integrity": "sha512-0UyyRHyDN42QL+NbqevXIIUnKA47A+45WyasO+y2bGJ1mhQrfrtXUpTxCOrfxCR4esV3/RLYyucGVPiUsO8xjg==", "cpu": [ "s390x" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" ] }, "node_modules/@rollup/rollup-linux-x64-gnu": { - "version": "4.13.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.13.2.tgz", - "integrity": "sha512-xXMLUAMzrtsvh3cZ448vbXqlUa7ZL8z0MwHp63K2IIID2+DeP5iWIT6g1SN7hg1VxPzqx0xZdiDM9l4n9LRU1A==", + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.18.0.tgz", + "integrity": "sha512-xuglR2rBVHA5UsI8h8UbX4VJ470PtGCf5Vpswh7p2ukaqBGFTnsfzxUBetoWBWymHMxbIG0Cmx7Y9qDZzr648w==", "cpu": [ "x64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" ] }, "node_modules/@rollup/rollup-linux-x64-musl": { - "version": "4.13.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.13.2.tgz", - "integrity": "sha512-M/JYAWickafUijWPai4ehrjzVPKRCyDb1SLuO+ZyPfoXgeCEAlgPkNXewFZx0zcnoIe3ay4UjXIMdXQXOZXWqA==", + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.18.0.tgz", + "integrity": "sha512-LKaqQL9osY/ir2geuLVvRRs+utWUNilzdE90TpyoX0eNqPzWjRm14oMEE+YLve4k/NAqCdPkGYDaDF5Sw+xBfg==", "cpu": [ "x64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" ] }, "node_modules/@rollup/rollup-win32-arm64-msvc": { - "version": "4.13.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.13.2.tgz", - "integrity": "sha512-2YWwoVg9KRkIKaXSh0mz3NmfurpmYoBBTAXA9qt7VXk0Xy12PoOP40EFuau+ajgALbbhi4uTj3tSG3tVseCjuA==", + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.18.0.tgz", + "integrity": "sha512-7J6TkZQFGo9qBKH0pk2cEVSRhJbL6MtfWxth7Y5YmZs57Pi+4x6c2dStAUvaQkHQLnEQv1jzBUW43GvZW8OFqA==", "cpu": [ "arm64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "win32" ] }, "node_modules/@rollup/rollup-win32-ia32-msvc": { - "version": "4.13.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.13.2.tgz", - "integrity": "sha512-2FSsE9aQ6OWD20E498NYKEQLneShWes0NGMPQwxWOdws35qQXH+FplabOSP5zEe1pVjurSDOGEVCE2agFwSEsw==", + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.18.0.tgz", + "integrity": "sha512-Txjh+IxBPbkUB9+SXZMpv+b/vnTEtFyfWZgJ6iyCmt2tdx0OF5WhFowLmnh8ENGNpfUlUZkdI//4IEmhwPieNg==", "cpu": [ "ia32" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "win32" ] }, "node_modules/@rollup/rollup-win32-x64-msvc": { - "version": "4.13.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.13.2.tgz", - "integrity": "sha512-7h7J2nokcdPePdKykd8wtc8QqqkqxIrUz7MHj6aNr8waBRU//NLDVnNjQnqQO6fqtjrtCdftpbTuOKAyrAQETQ==", + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.18.0.tgz", + "integrity": "sha512-UOo5FdvOL0+eIVTgS4tIdbW+TtnBLWg1YBCcU2KWM7nuNwRz9bksDX1bekJJCpu25N1DVWaCwnT39dVQxzqS8g==", "cpu": [ "x64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "win32" ] }, "node_modules/@scure/base": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/@scure/base/-/base-1.1.6.tgz", - "integrity": "sha512-ok9AWwhcgYuGG3Zfhyqg+zwl+Wn5uE+dwC0NV/2qQkx4dABbb/bx96vWu8NSj+BNjjSjno+JRYRjle1jV08k3g==", + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/@scure/base/-/base-1.1.7.tgz", + "integrity": "sha512-PPNYBslrLNNUQ/Yad37MHYsNQtK67EhWb6WtSvNLLPo7SdVZgkUjD6Dg+5On7zNwmskf8OX7I7Nx5oN+MIWE0g==", + "license": "MIT", "funding": { "url": "https://paulmillr.com/funding/" } @@ -4686,6 +4469,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/@scure/starknet/-/starknet-1.0.0.tgz", "integrity": "sha512-o5J57zY0f+2IL/mq8+AYJJ4Xpc1fOtDhr+mFQKbHnYFmm3WQrC+8zj2HEgxak1a+x86mhmBC1Kq305KUpVf0wg==", + "license": "MIT", "dependencies": { "@noble/curves": "~1.3.0", "@noble/hashes": "~1.3.3" @@ -4698,6 +4482,7 @@ "version": "1.3.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.3.0.tgz", "integrity": "sha512-t01iSXPuN+Eqzb4eBX0S5oubSqXbK/xXa1Ne18Hj8f9pStxztHCE2gfboSp/dZRLSqfuLpRK2nDXDK+W9puocA==", + "license": "MIT", "dependencies": { "@noble/hashes": "1.3.3" }, @@ -4709,6 +4494,7 @@ "version": "1.3.3", "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.3.tgz", "integrity": "sha512-V7/fPHgl+jsVPXqqeOzT8egNj2iBIVt+ECeMMG8TdcnTikP3oaBtUVqpT/gYCR68aEBJSF+XbYUxStjbFMqIIA==", + "license": "MIT", "engines": { "node": ">= 16" }, @@ -4716,11 +4502,19 @@ "url": "https://paulmillr.com/funding/" } }, + "node_modules/@sec-ant/readable-stream": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/@sec-ant/readable-stream/-/readable-stream-0.4.1.tgz", + "integrity": "sha512-831qok9r2t8AlxLko40y2ebgSDhenenCatLVeW/uBtnHPyhHOvG0C7TvfgecV+wHzIm5KUICgzmVpWS+IMEAeg==", + "dev": true, + "license": "MIT" + }, "node_modules/@semantic-release/changelog": { "version": "6.0.3", "resolved": "https://registry.npmjs.org/@semantic-release/changelog/-/changelog-6.0.3.tgz", "integrity": "sha512-dZuR5qByyfe3Y03TpmCvAxCyTnp7r5XwtHRf/8vD9EAn4ZWbavUX8adMtXYzE86EVh0gyLA7lm5yW4IV30XUag==", "dev": true, + "license": "MIT", "dependencies": { "@semantic-release/error": "^3.0.0", "aggregate-error": "^3.0.0", @@ -4735,14 +4529,16 @@ } }, "node_modules/@semantic-release/commit-analyzer": { - "version": "12.0.0", - "resolved": "https://registry.npmjs.org/@semantic-release/commit-analyzer/-/commit-analyzer-12.0.0.tgz", - "integrity": "sha512-qG+md5gdes+xa8zP7lIo1fWE17zRdO8yMCaxh9lyL65TQleoSv8WHHOqRURfghTytUh+NpkSyBprQ5hrkxOKVQ==", + "version": "13.0.0", + "resolved": "https://registry.npmjs.org/@semantic-release/commit-analyzer/-/commit-analyzer-13.0.0.tgz", + "integrity": "sha512-KtXWczvTAB1ZFZ6B4O+w8HkfYm/OgQb1dUGNFZtDgQ0csggrmkq8sTxhd+lwGF8kMb59/RnG9o4Tn7M/I8dQ9Q==", "dev": true, + "license": "MIT", "dependencies": { - "conventional-changelog-angular": "^7.0.0", - "conventional-commits-filter": "^4.0.0", - "conventional-commits-parser": "^5.0.0", + "conventional-changelog-angular": "^8.0.0", + "conventional-changelog-writer": "^8.0.0", + "conventional-commits-filter": "^5.0.0", + "conventional-commits-parser": "^6.0.0", "debug": "^4.0.0", "import-from-esm": "^1.0.3", "lodash-es": "^4.17.21", @@ -4755,11 +4551,41 @@ "semantic-release": ">=20.1.0" } }, + "node_modules/@semantic-release/commit-analyzer/node_modules/conventional-changelog-angular": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-8.0.0.tgz", + "integrity": "sha512-CLf+zr6St0wIxos4bmaKHRXWAcsCXrJU6F4VdNDrGRK3B8LDLKoX3zuMV5GhtbGkVR/LohZ6MT6im43vZLSjmA==", + "dev": true, + "license": "ISC", + "dependencies": { + "compare-func": "^2.0.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@semantic-release/commit-analyzer/node_modules/conventional-commits-parser": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-6.0.0.tgz", + "integrity": "sha512-TbsINLp48XeMXR8EvGjTnKGsZqBemisPoyWESlpRyR8lif0lcwzqz+NMtYSj1ooF/WYjSuu7wX0CtdeeMEQAmA==", + "dev": true, + "license": "MIT", + "dependencies": { + "meow": "^13.0.0" + }, + "bin": { + "conventional-commits-parser": "dist/cli/index.js" + }, + "engines": { + "node": ">=18" + } + }, "node_modules/@semantic-release/error": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/@semantic-release/error/-/error-3.0.0.tgz", "integrity": "sha512-5hiM4Un+tpl4cKw3lV4UgzJj+SmfNIDCLLw0TepzQxz9ZGV5ixnqkzIVF+3tp0ZHgcMKE+VNGHJjEeyFG2dcSw==", "dev": true, + "license": "MIT", "engines": { "node": ">=14.17" } @@ -4769,6 +4595,7 @@ "resolved": "https://registry.npmjs.org/@semantic-release/git/-/git-10.0.1.tgz", "integrity": "sha512-eWrx5KguUcU2wUPaO6sfvZI0wPafUKAMNC18aXY4EnNcrZL86dEmpNVnC9uMpGZkmZJ9EfCVJBQx4pV4EMGT1w==", "dev": true, + "license": "MIT", "dependencies": { "@semantic-release/error": "^3.0.0", "aggregate-error": "^3.0.0", @@ -4786,14 +4613,131 @@ "semantic-release": ">=18.0.0" } }, + "node_modules/@semantic-release/git/node_modules/execa": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", + "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", + "dev": true, + "license": "MIT", + "dependencies": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" + } + }, + "node_modules/@semantic-release/git/node_modules/get-stream": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", + "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@semantic-release/git/node_modules/human-signals": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", + "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=10.17.0" + } + }, + "node_modules/@semantic-release/git/node_modules/is-stream": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@semantic-release/git/node_modules/mimic-fn": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", + "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/@semantic-release/git/node_modules/npm-run-path": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", + "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", + "dev": true, + "license": "MIT", + "dependencies": { + "path-key": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@semantic-release/git/node_modules/onetime": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", + "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", + "dev": true, + "license": "MIT", + "dependencies": { + "mimic-fn": "^2.1.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@semantic-release/git/node_modules/signal-exit": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/@semantic-release/git/node_modules/strip-final-newline": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", + "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, "node_modules/@semantic-release/github": { - "version": "10.0.2", - "resolved": "https://registry.npmjs.org/@semantic-release/github/-/github-10.0.2.tgz", - "integrity": "sha512-SP5ihhv/uQa8vPuWKmbJrrzfv8lRUkDFC6qwgaWoorrflN1DEW0IGCa9w/PxUp8Ad3dbvXZPmpXdGiP3eyTzhg==", + "version": "10.0.7", + "resolved": "https://registry.npmjs.org/@semantic-release/github/-/github-10.0.7.tgz", + "integrity": "sha512-J7JiFvOu/8QKqFF5FDTk/k19Z/Jku4LdDof/+LsjaGgLOISJR7TL66q89c2YXV6Dh5Jw5VmiT4uK4q6SSfbQGA==", "dev": true, + "license": "MIT", "dependencies": { "@octokit/core": "^6.0.0", - "@octokit/plugin-paginate-rest": "^10.0.0", + "@octokit/plugin-paginate-rest": "^11.0.0", "@octokit/plugin-retry": "^7.0.0", "@octokit/plugin-throttling": "^9.0.0", "@semantic-release/error": "^4.0.0", @@ -4821,6 +4765,7 @@ "resolved": "https://registry.npmjs.org/@semantic-release/error/-/error-4.0.0.tgz", "integrity": "sha512-mgdxrHTLOjOddRVYIYDo0fR3/v61GNN1YGkfbrjuIKg/uMgCd+Qzo3UAXJ+woLQQpos4pl5Esuw5A7AoNlzjUQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=18" } @@ -4830,6 +4775,7 @@ "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.1.tgz", "integrity": "sha512-H0TSyFNDMomMNJQBn8wFV5YC/2eJ+VXECwOadZJT554xP6cODZHPX3H9QMQECxvrgiSOP1pHjy1sMWQVYJOUOA==", "dev": true, + "license": "MIT", "dependencies": { "debug": "^4.3.4" }, @@ -4842,6 +4788,7 @@ "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-5.0.0.tgz", "integrity": "sha512-gOsf2YwSlleG6IjRYG2A7k0HmBMEo6qVNk9Bp/EaLgAJT5ngH6PXbqa4ItvnEwCm/velL5jAnQgsHsWnjhGmvw==", "dev": true, + "license": "MIT", "dependencies": { "clean-stack": "^5.2.0", "indent-string": "^5.0.0" @@ -4858,6 +4805,7 @@ "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-5.2.0.tgz", "integrity": "sha512-TyUIUJgdFnCISzG5zu3291TAsE77ddchd0bepon1VVQrKLGKFED4iXFEDQ24mIPdPBbyE16PK3F8MYE1CmcBEQ==", "dev": true, + "license": "MIT", "dependencies": { "escape-string-regexp": "5.0.0" }, @@ -4873,6 +4821,7 @@ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -4881,10 +4830,11 @@ } }, "node_modules/@semantic-release/github/node_modules/globby": { - "version": "14.0.1", - "resolved": "https://registry.npmjs.org/globby/-/globby-14.0.1.tgz", - "integrity": "sha512-jOMLD2Z7MAhyG8aJpNOpmziMOP4rPLcc95oQPKXBazW82z+CEgPFBQvEpRUa1KeIMUJo4Wsm+q6uzO/Q/4BksQ==", + "version": "14.0.2", + "resolved": "https://registry.npmjs.org/globby/-/globby-14.0.2.tgz", + "integrity": "sha512-s3Fq41ZVh7vbbe2PN3nrW7yC7U7MFVc5c98/iTl9c2GawNMKx/J648KQRW6WKkuU8GIbbh2IXfIRQjOZnXcTnw==", "dev": true, + "license": "MIT", "dependencies": { "@sindresorhus/merge-streams": "^2.1.0", "fast-glob": "^3.3.2", @@ -4905,6 +4855,7 @@ "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz", "integrity": "sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==", "dev": true, + "license": "MIT", "dependencies": { "agent-base": "^7.1.0", "debug": "^4.3.4" @@ -4914,10 +4865,11 @@ } }, "node_modules/@semantic-release/github/node_modules/https-proxy-agent": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.4.tgz", - "integrity": "sha512-wlwpilI7YdjSkWaQ/7omYBMTliDcmCN8OLihO6I9B86g06lMyAoqgoDpV0XqoaPOKj+0DIdAvnsWfyAAhmimcg==", + "version": "7.0.5", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.5.tgz", + "integrity": "sha512-1e4Wqeblerz+tMKPIq2EMGiiWW1dIjZOksyHWSUm1rmuvw/how9hBHZ38lAGj5ID4Ik6EdkOw7NmWPy6LAwalw==", "dev": true, + "license": "MIT", "dependencies": { "agent-base": "^7.0.2", "debug": "4" @@ -4931,6 +4883,7 @@ "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-5.0.0.tgz", "integrity": "sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -4943,6 +4896,7 @@ "resolved": "https://registry.npmjs.org/path-type/-/path-type-5.0.0.tgz", "integrity": "sha512-5HviZNaZcfqP95rwpv+1HDgUamezbqdSYTyzjTvwtJSnIH+3vnbmWsItli8OFEndS984VT55M3jduxZbX351gg==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -4955,6 +4909,7 @@ "resolved": "https://registry.npmjs.org/slash/-/slash-5.1.0.tgz", "integrity": "sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg==", "dev": true, + "license": "MIT", "engines": { "node": ">=14.16" }, @@ -4967,19 +4922,21 @@ "resolved": "https://registry.npmjs.org/url-join/-/url-join-5.0.0.tgz", "integrity": "sha512-n2huDr9h9yzd6exQVnH/jU5mr+Pfx08LRXXZhkLLetAMESRj+anQsTAh940iMrIetKAmry9coFuZQ2jY8/p3WA==", "dev": true, + "license": "MIT", "engines": { "node": "^12.20.0 || ^14.13.1 || >=16.0.0" } }, "node_modules/@semantic-release/npm": { - "version": "12.0.0", - "resolved": "https://registry.npmjs.org/@semantic-release/npm/-/npm-12.0.0.tgz", - "integrity": "sha512-72TVYQCH9NvVsO/y13eF8vE4bNnfls518+4KcFwJUKi7AtA/ZXoNgSg9gTTfw5eMZMkiH0izUrpGXgZE/cSQhA==", + "version": "12.0.1", + "resolved": "https://registry.npmjs.org/@semantic-release/npm/-/npm-12.0.1.tgz", + "integrity": "sha512-/6nntGSUGK2aTOI0rHPwY3ZjgY9FkXmEHbW9Kr+62NVOsyqpKKeP0lrCH+tphv+EsNdJNmqqwijTEnVWUMQ2Nw==", "dev": true, + "license": "MIT", "dependencies": { "@semantic-release/error": "^4.0.0", "aggregate-error": "^5.0.0", - "execa": "^8.0.0", + "execa": "^9.0.0", "fs-extra": "^11.0.0", "lodash-es": "^4.17.21", "nerf-dart": "^1.0.0", @@ -5003,19 +4960,17 @@ "resolved": "https://registry.npmjs.org/@semantic-release/error/-/error-4.0.0.tgz", "integrity": "sha512-mgdxrHTLOjOddRVYIYDo0fR3/v61GNN1YGkfbrjuIKg/uMgCd+Qzo3UAXJ+woLQQpos4pl5Esuw5A7AoNlzjUQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=18" } }, - "node_modules/@semantic-release/npm/node_modules/aggregate-error": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-5.0.0.tgz", - "integrity": "sha512-gOsf2YwSlleG6IjRYG2A7k0HmBMEo6qVNk9Bp/EaLgAJT5ngH6PXbqa4ItvnEwCm/velL5jAnQgsHsWnjhGmvw==", + "node_modules/@semantic-release/npm/node_modules/@sindresorhus/merge-streams": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@sindresorhus/merge-streams/-/merge-streams-4.0.0.tgz", + "integrity": "sha512-tlqY9xq5ukxTUZBmoOp+m61cqwQD5pHJtFY3Mn8CA8ps6yghLH/Hw8UPdqg4OLmFW3IFlcXnQNmo/dh8HzXYIQ==", "dev": true, - "dependencies": { - "clean-stack": "^5.2.0", - "indent-string": "^5.0.0" - }, + "license": "MIT", "engines": { "node": ">=18" }, @@ -5023,148 +4978,112 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@semantic-release/npm/node_modules/clean-stack": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-5.2.0.tgz", - "integrity": "sha512-TyUIUJgdFnCISzG5zu3291TAsE77ddchd0bepon1VVQrKLGKFED4iXFEDQ24mIPdPBbyE16PK3F8MYE1CmcBEQ==", - "dev": true, - "dependencies": { - "escape-string-regexp": "5.0.0" - }, - "engines": { - "node": ">=14.16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@semantic-release/npm/node_modules/escape-string-regexp": { + "node_modules/@semantic-release/npm/node_modules/aggregate-error": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", - "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@semantic-release/npm/node_modules/execa": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/execa/-/execa-8.0.1.tgz", - "integrity": "sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==", + "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-5.0.0.tgz", + "integrity": "sha512-gOsf2YwSlleG6IjRYG2A7k0HmBMEo6qVNk9Bp/EaLgAJT5ngH6PXbqa4ItvnEwCm/velL5jAnQgsHsWnjhGmvw==", "dev": true, + "license": "MIT", "dependencies": { - "cross-spawn": "^7.0.3", - "get-stream": "^8.0.1", - "human-signals": "^5.0.0", - "is-stream": "^3.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^5.1.0", - "onetime": "^6.0.0", - "signal-exit": "^4.1.0", - "strip-final-newline": "^3.0.0" - }, - "engines": { - "node": ">=16.17" + "clean-stack": "^5.2.0", + "indent-string": "^5.0.0" }, - "funding": { - "url": "https://github.com/sindresorhus/execa?sponsor=1" - } - }, - "node_modules/@semantic-release/npm/node_modules/get-stream": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-8.0.1.tgz", - "integrity": "sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==", - "dev": true, "engines": { - "node": ">=16" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@semantic-release/npm/node_modules/human-signals": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-5.0.0.tgz", - "integrity": "sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==", - "dev": true, - "engines": { - "node": ">=16.17.0" - } - }, - "node_modules/@semantic-release/npm/node_modules/indent-string": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-5.0.0.tgz", - "integrity": "sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==", + "node_modules/@semantic-release/npm/node_modules/clean-stack": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-5.2.0.tgz", + "integrity": "sha512-TyUIUJgdFnCISzG5zu3291TAsE77ddchd0bepon1VVQrKLGKFED4iXFEDQ24mIPdPBbyE16PK3F8MYE1CmcBEQ==", "dev": true, + "license": "MIT", + "dependencies": { + "escape-string-regexp": "5.0.0" + }, "engines": { - "node": ">=12" + "node": ">=14.16" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@semantic-release/npm/node_modules/is-stream": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz", - "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==", + "node_modules/@semantic-release/npm/node_modules/escape-string-regexp": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", + "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==", "dev": true, + "license": "MIT", "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + "node": ">=12" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@semantic-release/npm/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "node_modules/@semantic-release/npm/node_modules/execa": { + "version": "9.3.0", + "resolved": "https://registry.npmjs.org/execa/-/execa-9.3.0.tgz", + "integrity": "sha512-l6JFbqnHEadBoVAVpN5dl2yCyfX28WoBAGaoQcNmLLSedOxTxcn2Qa83s8I/PA5i56vWru2OHOtrwF7Om2vqlg==", "dev": true, + "license": "MIT", "dependencies": { - "yallist": "^4.0.0" + "@sindresorhus/merge-streams": "^4.0.0", + "cross-spawn": "^7.0.3", + "figures": "^6.1.0", + "get-stream": "^9.0.0", + "human-signals": "^7.0.0", + "is-plain-obj": "^4.1.0", + "is-stream": "^4.0.1", + "npm-run-path": "^5.2.0", + "pretty-ms": "^9.0.0", + "signal-exit": "^4.1.0", + "strip-final-newline": "^4.0.0", + "yoctocolors": "^2.0.0" }, "engines": { - "node": ">=10" - } - }, - "node_modules/@semantic-release/npm/node_modules/mimic-fn": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz", - "integrity": "sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==", - "dev": true, - "engines": { - "node": ">=12" + "node": "^18.19.0 || >=20.5.0" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://github.com/sindresorhus/execa?sponsor=1" } }, - "node_modules/@semantic-release/npm/node_modules/npm-run-path": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.3.0.tgz", - "integrity": "sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ==", + "node_modules/@semantic-release/npm/node_modules/get-stream": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-9.0.1.tgz", + "integrity": "sha512-kVCxPF3vQM/N0B1PmoqVUqgHP+EeVjmZSQn+1oCRPxd2P21P2F19lIgbR3HBosbB1PUhOAoctJnfEn2GbN2eZA==", "dev": true, + "license": "MIT", "dependencies": { - "path-key": "^4.0.0" + "@sec-ant/readable-stream": "^0.4.1", + "is-stream": "^4.0.1" }, "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@semantic-release/npm/node_modules/onetime": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-6.0.0.tgz", - "integrity": "sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==", + "node_modules/@semantic-release/npm/node_modules/human-signals": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-7.0.0.tgz", + "integrity": "sha512-74kytxOUSvNbjrT9KisAbaTZ/eJwD/LrbM/kh5j0IhPuJzwuA19dWvniFGwBzN9rVjg+O/e+F310PjObDXS+9Q==", "dev": true, - "dependencies": { - "mimic-fn": "^4.0.0" - }, + "license": "Apache-2.0", + "engines": { + "node": ">=18.18.0" + } + }, + "node_modules/@semantic-release/npm/node_modules/indent-string": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-5.0.0.tgz", + "integrity": "sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==", + "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -5172,26 +5091,25 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@semantic-release/npm/node_modules/path-key": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz", - "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==", + "node_modules/@semantic-release/npm/node_modules/is-stream": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-4.0.1.tgz", + "integrity": "sha512-Dnz92NInDqYckGEUJv689RbRiTSEHCQ7wOVeALbkOz999YpqT46yMRIGtSNl2iCL1waAZSx40+h59NV/EwzV/A==", "dev": true, + "license": "MIT", "engines": { - "node": ">=12" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/@semantic-release/npm/node_modules/semver": { - "version": "7.6.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", - "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", + "version": "7.6.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz", + "integrity": "sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==", "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, + "license": "ISC", "bin": { "semver": "bin/semver.js" }, @@ -5199,52 +5117,36 @@ "node": ">=10" } }, - "node_modules/@semantic-release/npm/node_modules/signal-exit": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", - "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", - "dev": true, - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/@semantic-release/npm/node_modules/strip-final-newline": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-3.0.0.tgz", - "integrity": "sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-4.0.0.tgz", + "integrity": "sha512-aulFJcD6YK8V1G7iRB5tigAP4TsHBZZrOV8pjV++zdUwmeV8uzbY7yn6h9MswN62adStNZFuCIx4haBnRuMDaw==", "dev": true, + "license": "MIT", "engines": { - "node": ">=12" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@semantic-release/npm/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, "node_modules/@semantic-release/release-notes-generator": { - "version": "13.0.0", - "resolved": "https://registry.npmjs.org/@semantic-release/release-notes-generator/-/release-notes-generator-13.0.0.tgz", - "integrity": "sha512-LEeZWb340keMYuREMyxrODPXJJ0JOL8D/mCl74B4LdzbxhtXV2LrPN2QBEcGJrlQhoqLO0RhxQb6masHytKw+A==", + "version": "14.0.1", + "resolved": "https://registry.npmjs.org/@semantic-release/release-notes-generator/-/release-notes-generator-14.0.1.tgz", + "integrity": "sha512-K0w+5220TM4HZTthE5dDpIuFrnkN1NfTGPidJFm04ULT1DEZ9WG89VNXN7F0c+6nMEpWgqmPvb7vY7JkB2jyyA==", "dev": true, + "license": "MIT", "dependencies": { - "conventional-changelog-angular": "^7.0.0", - "conventional-changelog-writer": "^7.0.0", - "conventional-commits-filter": "^4.0.0", - "conventional-commits-parser": "^5.0.0", + "conventional-changelog-angular": "^8.0.0", + "conventional-changelog-writer": "^8.0.0", + "conventional-commits-filter": "^5.0.0", + "conventional-commits-parser": "^6.0.0", "debug": "^4.0.0", "get-stream": "^7.0.0", "import-from-esm": "^1.0.3", "into-stream": "^7.0.0", "lodash-es": "^4.17.21", - "read-pkg-up": "^11.0.0" + "read-package-up": "^11.0.0" }, "engines": { "node": ">=20.8.1" @@ -5253,31 +5155,55 @@ "semantic-release": ">=20.1.0" } }, - "node_modules/@semantic-ui-react/event-stack": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/@semantic-ui-react/event-stack/-/event-stack-3.1.3.tgz", - "integrity": "sha512-FdTmJyWvJaYinHrKRsMLDrz4tTMGdFfds299Qory53hBugiDvGC0tEJf+cHsi5igDwWb/CLOgOiChInHwq8URQ==", + "node_modules/@semantic-release/release-notes-generator/node_modules/conventional-changelog-angular": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-8.0.0.tgz", + "integrity": "sha512-CLf+zr6St0wIxos4bmaKHRXWAcsCXrJU6F4VdNDrGRK3B8LDLKoX3zuMV5GhtbGkVR/LohZ6MT6im43vZLSjmA==", "dev": true, + "license": "ISC", "dependencies": { - "exenv": "^1.2.2", - "prop-types": "^15.6.2" + "compare-func": "^2.0.0" }, - "peerDependencies": { - "react": "^16.0.0 || ^17.0.0 || ^18.0.0", - "react-dom": "^16.0.0 || ^17.0.0 || ^18.0.0" + "engines": { + "node": ">=18" + } + }, + "node_modules/@semantic-release/release-notes-generator/node_modules/conventional-commits-parser": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-6.0.0.tgz", + "integrity": "sha512-TbsINLp48XeMXR8EvGjTnKGsZqBemisPoyWESlpRyR8lif0lcwzqz+NMtYSj1ooF/WYjSuu7wX0CtdeeMEQAmA==", + "dev": true, + "license": "MIT", + "dependencies": { + "meow": "^13.0.0" + }, + "bin": { + "conventional-commits-parser": "dist/cli/index.js" + }, + "engines": { + "node": ">=18" } }, + "node_modules/@shikijs/core": { + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/@shikijs/core/-/core-1.10.1.tgz", + "integrity": "sha512-qdiJS5a/QGCff7VUFIqd0hDdWly9rDp8lhVmXVrS11aazX8LOTRLHAXkkEeONNsS43EcCd7gax9LLoOz4vlFQA==", + "dev": true, + "license": "MIT" + }, "node_modules/@sinclair/typebox": { "version": "0.27.8", "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.8.tgz", "integrity": "sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@sindresorhus/is": { "version": "4.6.0", "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-4.6.0.tgz", "integrity": "sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" }, @@ -5290,6 +5216,7 @@ "resolved": "https://registry.npmjs.org/@sindresorhus/merge-streams/-/merge-streams-2.3.0.tgz", "integrity": "sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg==", "dev": true, + "license": "MIT", "engines": { "node": ">=18" }, @@ -5302,6 +5229,7 @@ "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.1.tgz", "integrity": "sha512-K3mCHKQ9sVh8o1C9cxkwxaOmXoAMlDxC1mYyHrjqOWEcBjYr76t96zL2zlj5dUGZ3HSw240X1qgH3Mjf1yJWpQ==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "type-detect": "4.0.8" } @@ -5311,6 +5239,7 @@ "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-10.3.0.tgz", "integrity": "sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "@sinonjs/commons": "^3.0.0" } @@ -5320,6 +5249,7 @@ "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz", "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==", "dev": true, + "license": "MIT", "engines": { "node": ">= 10" } @@ -5329,6 +5259,7 @@ "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz", "integrity": "sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==", "dev": true, + "license": "MIT", "dependencies": { "@babel/parser": "^7.20.7", "@babel/types": "^7.20.7", @@ -5342,6 +5273,7 @@ "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.8.tgz", "integrity": "sha512-ASsj+tpEDsEiFr1arWrlN6V3mdfjRMZt6LtK/Vp/kreFLnr5QH5+DhvD5nINYZXzwJvXeGq+05iUXcAzVrqWtw==", "dev": true, + "license": "MIT", "dependencies": { "@babel/types": "^7.0.0" } @@ -5351,16 +5283,18 @@ "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.4.tgz", "integrity": "sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==", "dev": true, + "license": "MIT", "dependencies": { "@babel/parser": "^7.1.0", "@babel/types": "^7.0.0" } }, "node_modules/@types/babel__traverse": { - "version": "7.20.5", - "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.20.5.tgz", - "integrity": "sha512-WXCyOcRtH37HAUkpXhUduaxdm82b4GSlyTqajXviN4EfiuPgNYR109xMCKvpl6zPIpua0DGlMEDCq+g8EdoheQ==", + "version": "7.20.6", + "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.20.6.tgz", + "integrity": "sha512-r1bzfrm0tomOI8g1SzvCaQHo6Lcv6zu0EA+W2kHrt8dyrHQxGzBBL4kdkzIS+jBMV+EYcMAEAqXqYaLJq5rOZg==", "dev": true, + "license": "MIT", "dependencies": { "@babel/types": "^7.20.7" } @@ -5370,6 +5304,7 @@ "resolved": "https://registry.npmjs.org/@types/conventional-commits-parser/-/conventional-commits-parser-5.0.0.tgz", "integrity": "sha512-loB369iXNmAZglwWATL+WRe+CRMmmBPtpolYzIebFaX4YA3x+BEfLqhUAV9WanycKI3TG1IMr5bMJDajDKLlUQ==", "dev": true, + "license": "MIT", "dependencies": { "@types/node": "*" } @@ -5378,13 +5313,15 @@ "version": "1.0.5", "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz", "integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/graceful-fs": { "version": "4.1.9", "resolved": "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.9.tgz", "integrity": "sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==", "dev": true, + "license": "MIT", "dependencies": { "@types/node": "*" } @@ -5393,19 +5330,22 @@ "version": "0.0.39", "resolved": "https://registry.npmjs.org/@types/isomorphic-fetch/-/isomorphic-fetch-0.0.39.tgz", "integrity": "sha512-I0gou/ZdA1vMG7t7gMzL7VYu2xAKU78rW9U1l10MI0nn77pEHq3tQqHQ8hMmXdMpBlkxZOorjI4sO594Z3kKJw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/istanbul-lib-coverage": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.6.tgz", "integrity": "sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/istanbul-lib-report": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.3.tgz", "integrity": "sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA==", "dev": true, + "license": "MIT", "dependencies": { "@types/istanbul-lib-coverage": "*" } @@ -5415,6 +5355,7 @@ "resolved": "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-3.0.4.tgz", "integrity": "sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ==", "dev": true, + "license": "MIT", "dependencies": { "@types/istanbul-lib-report": "*" } @@ -5424,6 +5365,7 @@ "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.5.12.tgz", "integrity": "sha512-eDC8bTvT/QhYdxJAulQikueigY5AsdBRH2yDKW3yveW7svY3+DzN84/2NUgkw10RTiJbWqZrTtoGVdYlvFJdLw==", "dev": true, + "license": "MIT", "dependencies": { "expect": "^29.0.0", "pretty-format": "^29.0.0" @@ -5434,6 +5376,7 @@ "resolved": "https://registry.npmjs.org/@types/jest-json-schema/-/jest-json-schema-6.1.4.tgz", "integrity": "sha512-cqU3LDfg7jWYzNVubdGGgr/aPT4NsnIz8SZ4Z+jHUg6us8E+rkP6DMkv3n4c1y2+9/Pa5+vwfAKtTnLmcXBDow==", "dev": true, + "license": "MIT", "dependencies": { "@types/jest": "*", "ajv": "^6.10.2" @@ -5444,6 +5387,7 @@ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", "dev": true, + "license": "MIT", "dependencies": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", @@ -5459,36 +5403,34 @@ "version": "0.4.1", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/jsdom": { "version": "20.0.1", "resolved": "https://registry.npmjs.org/@types/jsdom/-/jsdom-20.0.1.tgz", "integrity": "sha512-d0r18sZPmMQr1eG35u12FZfhIXNrnsPU/g5wvRKCUf/tOGilKKwYMYGqh33BNR6ba+2gkHw1EUiHoN3mn7E5IQ==", "dev": true, + "license": "MIT", "dependencies": { "@types/node": "*", "@types/tough-cookie": "*", "parse5": "^7.0.0" } }, - "node_modules/@types/json-schema": { - "version": "7.0.15", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", - "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", - "dev": true - }, "node_modules/@types/json5": { "version": "0.0.29", "resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz", "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/node": { - "version": "20.12.2", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.2.tgz", - "integrity": "sha512-zQ0NYO87hyN6Xrclcqp7f8ZbXNbRfoGWNcMvHTPQp9UUrwI0mI7XBz+cu7/W6/VClYo2g63B0cjull/srU7LgQ==", + "version": "20.14.9", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.9.tgz", + "integrity": "sha512-06OCtnTXtWOZBJlRApleWndH4JsRVs1pDCc8dLSQp+7PpUpX3ePdHyeNSFTeSe7FtKyQkrlPvHwJOW3SLd8Oyg==", "dev": true, + "license": "MIT", "dependencies": { "undici-types": "~5.26.4" } @@ -5497,43 +5439,50 @@ "version": "2.4.4", "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.4.tgz", "integrity": "sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/pako": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/@types/pako/-/pako-2.0.3.tgz", "integrity": "sha512-bq0hMV9opAcrmE0Byyo0fY3Ew4tgOevJmQ9grUhpXQhYfyLJ1Kqg3P33JT5fdbT2AjeAjR51zqqVjAL/HMkx7Q==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/semver": { "version": "7.5.8", "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.8.tgz", "integrity": "sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/stack-utils": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.3.tgz", "integrity": "sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/tough-cookie": { "version": "4.0.5", "resolved": "https://registry.npmjs.org/@types/tough-cookie/-/tough-cookie-4.0.5.tgz", "integrity": "sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/url-join": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/@types/url-join/-/url-join-4.0.3.tgz", "integrity": "sha512-3l1qMm3wqO0iyC5gkADzT95UVW7C/XXcdvUcShOideKF0ddgVRErEQQJXBd2kvQm+aSgqhBGHGB38TgMeT57Ww==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/yargs": { "version": "17.0.32", "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.32.tgz", "integrity": "sha512-xQ67Yc/laOG5uMfX/093MRlGGCIBzZMarVa+gfNKJxWAIgykYpVGkBdbqEzGDDfCrVUj6Hiff4mTZ5BA6TmAog==", "dev": true, + "license": "MIT", "dependencies": { "@types/yargs-parser": "*" } @@ -5542,25 +5491,25 @@ "version": "21.0.3", "resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.3.tgz", "integrity": "sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "7.4.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-7.4.0.tgz", - "integrity": "sha512-yHMQ/oFaM7HZdVrVm/M2WHaNPgyuJH4WelkSVEWSSsir34kxW2kDJCxlXRhhGWEsMN0WAW/vLpKfKVcm8k+MPw==", + "version": "7.15.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-7.15.0.tgz", + "integrity": "sha512-uiNHpyjZtFrLwLDpHnzaDlP3Tt6sGMqTCiqmxaN4n4RP0EfYZDODJyddiFDF44Hjwxr5xAcaYxVKm9QKQFJFLA==", "dev": true, + "license": "MIT", "dependencies": { - "@eslint-community/regexpp": "^4.5.1", - "@typescript-eslint/scope-manager": "7.4.0", - "@typescript-eslint/type-utils": "7.4.0", - "@typescript-eslint/utils": "7.4.0", - "@typescript-eslint/visitor-keys": "7.4.0", - "debug": "^4.3.4", + "@eslint-community/regexpp": "^4.10.0", + "@typescript-eslint/scope-manager": "7.15.0", + "@typescript-eslint/type-utils": "7.15.0", + "@typescript-eslint/utils": "7.15.0", + "@typescript-eslint/visitor-keys": "7.15.0", "graphemer": "^1.4.0", - "ignore": "^5.2.4", + "ignore": "^5.3.1", "natural-compare": "^1.4.0", - "semver": "^7.5.4", - "ts-api-utils": "^1.0.1" + "ts-api-utils": "^1.3.0" }, "engines": { "node": "^18.18.0 || >=20.0.0" @@ -5579,49 +5528,17 @@ } } }, - "node_modules/@typescript-eslint/eslint-plugin/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@typescript-eslint/eslint-plugin/node_modules/semver": { - "version": "7.6.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", - "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@typescript-eslint/eslint-plugin/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, "node_modules/@typescript-eslint/parser": { - "version": "7.4.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-7.4.0.tgz", - "integrity": "sha512-ZvKHxHLusweEUVwrGRXXUVzFgnWhigo4JurEj0dGF1tbcGh6buL+ejDdjxOQxv6ytcY1uhun1p2sm8iWStlgLQ==", + "version": "7.15.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-7.15.0.tgz", + "integrity": "sha512-k9fYuQNnypLFcqORNClRykkGOMOj+pV6V91R4GO/l1FDGwpqmSwoOQrOHo3cGaH63e+D3ZiCAOsuS/D2c99j/A==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { - "@typescript-eslint/scope-manager": "7.4.0", - "@typescript-eslint/types": "7.4.0", - "@typescript-eslint/typescript-estree": "7.4.0", - "@typescript-eslint/visitor-keys": "7.4.0", + "@typescript-eslint/scope-manager": "7.15.0", + "@typescript-eslint/types": "7.15.0", + "@typescript-eslint/typescript-estree": "7.15.0", + "@typescript-eslint/visitor-keys": "7.15.0", "debug": "^4.3.4" }, "engines": { @@ -5641,13 +5558,14 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "7.4.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-7.4.0.tgz", - "integrity": "sha512-68VqENG5HK27ypafqLVs8qO+RkNc7TezCduYrx8YJpXq2QGZ30vmNZGJJJC48+MVn4G2dCV8m5ZTVnzRexTVtw==", + "version": "7.15.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-7.15.0.tgz", + "integrity": "sha512-Q/1yrF/XbxOTvttNVPihxh1b9fxamjEoz2Os/Pe38OHwxC24CyCqXxGTOdpb4lt6HYtqw9HetA/Rf6gDGaMPlw==", "dev": true, + "license": "MIT", "dependencies": { - "@typescript-eslint/types": "7.4.0", - "@typescript-eslint/visitor-keys": "7.4.0" + "@typescript-eslint/types": "7.15.0", + "@typescript-eslint/visitor-keys": "7.15.0" }, "engines": { "node": "^18.18.0 || >=20.0.0" @@ -5658,15 +5576,16 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "7.4.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-7.4.0.tgz", - "integrity": "sha512-247ETeHgr9WTRMqHbbQdzwzhuyaJ8dPTuyuUEMANqzMRB1rj/9qFIuIXK7l0FX9i9FXbHeBQl/4uz6mYuCE7Aw==", + "version": "7.15.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-7.15.0.tgz", + "integrity": "sha512-SkgriaeV6PDvpA6253PDVep0qCqgbO1IOBiycjnXsszNTVQe5flN5wR5jiczoEoDEnAqYFSFFc9al9BSGVltkg==", "dev": true, + "license": "MIT", "dependencies": { - "@typescript-eslint/typescript-estree": "7.4.0", - "@typescript-eslint/utils": "7.4.0", + "@typescript-eslint/typescript-estree": "7.15.0", + "@typescript-eslint/utils": "7.15.0", "debug": "^4.3.4", - "ts-api-utils": "^1.0.1" + "ts-api-utils": "^1.3.0" }, "engines": { "node": "^18.18.0 || >=20.0.0" @@ -5685,10 +5604,11 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "7.4.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-7.4.0.tgz", - "integrity": "sha512-mjQopsbffzJskos5B4HmbsadSJQWaRK0UxqQ7GuNA9Ga4bEKeiO6b2DnB6cM6bpc8lemaPseh0H9B/wyg+J7rw==", + "version": "7.15.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-7.15.0.tgz", + "integrity": "sha512-aV1+B1+ySXbQH0pLK0rx66I3IkiZNidYobyfn0WFsdGhSXw+P3YOqeTq5GED458SfB24tg+ux3S+9g118hjlTw==", "dev": true, + "license": "MIT", "engines": { "node": "^18.18.0 || >=20.0.0" }, @@ -5698,19 +5618,20 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "7.4.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-7.4.0.tgz", - "integrity": "sha512-A99j5AYoME/UBQ1ucEbbMEmGkN7SE0BvZFreSnTd1luq7yulcHdyGamZKizU7canpGDWGJ+Q6ZA9SyQobipePg==", + "version": "7.15.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-7.15.0.tgz", + "integrity": "sha512-gjyB/rHAopL/XxfmYThQbXbzRMGhZzGw6KpcMbfe8Q3nNQKStpxnUKeXb0KiN/fFDR42Z43szs6rY7eHk0zdGQ==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { - "@typescript-eslint/types": "7.4.0", - "@typescript-eslint/visitor-keys": "7.4.0", + "@typescript-eslint/types": "7.15.0", + "@typescript-eslint/visitor-keys": "7.15.0", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", - "minimatch": "9.0.3", - "semver": "^7.5.4", - "ts-api-utils": "^1.0.1" + "minimatch": "^9.0.4", + "semver": "^7.6.0", + "ts-api-utils": "^1.3.0" }, "engines": { "node": "^18.18.0 || >=20.0.0" @@ -5725,26 +5646,12 @@ } } }, - "node_modules/@typescript-eslint/typescript-estree/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/@typescript-eslint/typescript-estree/node_modules/semver": { - "version": "7.6.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", - "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", + "version": "7.6.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz", + "integrity": "sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==", "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, + "license": "ISC", "bin": { "semver": "bin/semver.js" }, @@ -5752,25 +5659,17 @@ "node": ">=10" } }, - "node_modules/@typescript-eslint/typescript-estree/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, "node_modules/@typescript-eslint/utils": { - "version": "7.4.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-7.4.0.tgz", - "integrity": "sha512-NQt9QLM4Tt8qrlBVY9lkMYzfYtNz8/6qwZg8pI3cMGlPnj6mOpRxxAm7BMJN9K0AiY+1BwJ5lVC650YJqYOuNg==", + "version": "7.15.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-7.15.0.tgz", + "integrity": "sha512-hfDMDqaqOqsUVGiEPSMLR/AjTSCsmJwjpKkYQRo1FNbmW4tBwBspYDwO9eh7sKSTwMQgBw9/T4DHudPaqshRWA==", "dev": true, + "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@types/json-schema": "^7.0.12", - "@types/semver": "^7.5.0", - "@typescript-eslint/scope-manager": "7.4.0", - "@typescript-eslint/types": "7.4.0", - "@typescript-eslint/typescript-estree": "7.4.0", - "semver": "^7.5.4" + "@typescript-eslint/scope-manager": "7.15.0", + "@typescript-eslint/types": "7.15.0", + "@typescript-eslint/typescript-estree": "7.15.0" }, "engines": { "node": "^18.18.0 || >=20.0.0" @@ -5783,47 +5682,15 @@ "eslint": "^8.56.0" } }, - "node_modules/@typescript-eslint/utils/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@typescript-eslint/utils/node_modules/semver": { - "version": "7.6.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", - "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@typescript-eslint/utils/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "7.4.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-7.4.0.tgz", - "integrity": "sha512-0zkC7YM0iX5Y41homUUeW1CHtZR01K3ybjM1l6QczoMuay0XKtrb93kv95AxUGwdjGr64nNqnOCwmEl616N8CA==", + "version": "7.15.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-7.15.0.tgz", + "integrity": "sha512-Hqgy/ETgpt2L5xueA/zHHIl4fJI2O4XUE9l4+OIfbJIRSnTJb/QscncdqqZzofQegIJugRIF57OJea1khw2SDw==", "dev": true, + "license": "MIT", "dependencies": { - "@typescript-eslint/types": "7.4.0", - "eslint-visitor-keys": "^3.4.1" + "@typescript-eslint/types": "7.15.0", + "eslint-visitor-keys": "^3.4.3" }, "engines": { "node": "^18.18.0 || >=20.0.0" @@ -5837,19 +5704,22 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz", "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/abab": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.6.tgz", "integrity": "sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==", "deprecated": "Use your platform's native atob() and btoa() methods instead", - "dev": true + "dev": true, + "license": "BSD-3-Clause" }, "node_modules/abi-wan-kanabi": { "version": "2.2.2", "resolved": "https://registry.npmjs.org/abi-wan-kanabi/-/abi-wan-kanabi-2.2.2.tgz", "integrity": "sha512-sTCv2HyNIj1x2WFUoc9oL8ZT9liosrL+GoqEGZJK1kDND096CfA7lwx06vLxLWMocQ41FQXO3oliwoh/UZHYdQ==", + "license": "ISC", "dependencies": { "ansicolors": "^0.3.2", "cardinal": "^2.1.1", @@ -5864,6 +5734,7 @@ "version": "10.1.0", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz", "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", + "license": "MIT", "dependencies": { "graceful-fs": "^4.2.0", "jsonfile": "^6.0.1", @@ -5874,10 +5745,11 @@ } }, "node_modules/acorn": { - "version": "8.11.3", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz", - "integrity": "sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==", + "version": "8.12.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.12.1.tgz", + "integrity": "sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==", "dev": true, + "license": "MIT", "bin": { "acorn": "bin/acorn" }, @@ -5890,6 +5762,7 @@ "resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-7.0.1.tgz", "integrity": "sha512-umOSDSDrfHbTNPuNpC2NSnnA3LUrqpevPb4T9jRx4MagXNS0rs+gwiTcAvqCRmsD6utzsrzNt+ebm00SNWiC3Q==", "dev": true, + "license": "MIT", "dependencies": { "acorn": "^8.1.0", "acorn-walk": "^8.0.2" @@ -5900,15 +5773,20 @@ "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", "dev": true, + "license": "MIT", "peerDependencies": { "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" } }, "node_modules/acorn-walk": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.2.tgz", - "integrity": "sha512-cjkyv4OtNCIeqhHrfS81QWXoCBPExR/J62oyEqepVw8WaQeSqpW2uhuLPh1m9eWhDuOo/jUXVTlifvesOWp/4A==", + "version": "8.3.3", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.3.tgz", + "integrity": "sha512-MxXdReSRhGO7VlFe1bRG/oI7/mdLV9B9JJT0N8vZOhF7gFRR5l3M8W9G8JxmKV+JC5mGqJ0QvqfSOLsCPa4nUw==", "dev": true, + "license": "MIT", + "dependencies": { + "acorn": "^8.11.0" + }, "engines": { "node": ">=0.4.0" } @@ -5918,6 +5796,7 @@ "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", "dev": true, + "license": "MIT", "dependencies": { "debug": "4" }, @@ -5930,6 +5809,7 @@ "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz", "integrity": "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==", "dev": true, + "license": "MIT", "dependencies": { "clean-stack": "^2.0.0", "indent-string": "^4.0.0" @@ -5939,15 +5819,16 @@ } }, "node_modules/ajv": { - "version": "8.12.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", - "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", + "version": "8.16.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.16.0.tgz", + "integrity": "sha512-F0twR8U1ZU67JIEtekUcLkXkoO5mMMmgGD8sK/xUFzJ805jxHQl92hImFAqqXMyMYjSPOyUPAwHYhB72g5sTXw==", "dev": true, + "license": "MIT", "dependencies": { - "fast-deep-equal": "^3.1.1", + "fast-deep-equal": "^3.1.3", "json-schema-traverse": "^1.0.0", "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" + "uri-js": "^4.4.1" }, "funding": { "type": "github", @@ -5959,6 +5840,7 @@ "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-2.1.1.tgz", "integrity": "sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==", "dev": true, + "license": "MIT", "dependencies": { "ajv": "^8.0.0" }, @@ -5976,6 +5858,7 @@ "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-5.1.0.tgz", "integrity": "sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==", "dev": true, + "license": "MIT", "dependencies": { "fast-deep-equal": "^3.1.3" }, @@ -5988,6 +5871,7 @@ "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", "dev": true, + "license": "MIT", "dependencies": { "type-fest": "^0.21.3" }, @@ -6002,21 +5886,17 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "license": "MIT", "engines": { "node": ">=8" } }, - "node_modules/ansi-sequence-parser": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/ansi-sequence-parser/-/ansi-sequence-parser-1.1.1.tgz", - "integrity": "sha512-vJXt3yiaUL4UU546s3rPXlsry/RnM730G1+HkpKE012AN0sx1eOrxSu95oKDIonskeLTijMgqWZ3uDEe3NFvyg==", - "dev": true - }, "node_modules/ansi-styles": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", "dev": true, + "license": "MIT", "dependencies": { "color-convert": "^1.9.0" }, @@ -6027,19 +5907,22 @@ "node_modules/ansicolors": { "version": "0.3.2", "resolved": "https://registry.npmjs.org/ansicolors/-/ansicolors-0.3.2.tgz", - "integrity": "sha512-QXu7BPrP29VllRxH8GwB7x5iX5qWKAAMLqKQGWTeLWVlNHNOpVMJ91dsxQAIWXpjuW5wqvxu3Jd/nRjrJ+0pqg==" + "integrity": "sha512-QXu7BPrP29VllRxH8GwB7x5iX5qWKAAMLqKQGWTeLWVlNHNOpVMJ91dsxQAIWXpjuW5wqvxu3Jd/nRjrJ+0pqg==", + "license": "MIT" }, "node_modules/any-promise": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz", "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/anymatch": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", "dev": true, + "license": "ISC", "dependencies": { "normalize-path": "^3.0.0", "picomatch": "^2.0.4" @@ -6052,19 +5935,22 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", - "dev": true + "dev": true, + "license": "Python-2.0" }, "node_modules/argv-formatter": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/argv-formatter/-/argv-formatter-1.0.0.tgz", "integrity": "sha512-F2+Hkm9xFaRg+GkaNnbwXNDV5O6pnCFEmqyhvfC/Ic5LbgOWjJh3L+mN/s91rxVL3znE7DYVpW0GJFT+4YBgWw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/array-buffer-byte-length": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.1.tgz", "integrity": "sha512-ahC5W1xgou+KTXix4sAO8Ki12Q+jf4i0+tmk3sC+zgcynshkHxzpXdImBehiUYKKKDwvfFiJl1tZt6ewscS1Mg==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.5", "is-array-buffer": "^3.0.4" @@ -6080,13 +5966,15 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/array-ify/-/array-ify-1.0.0.tgz", "integrity": "sha512-c5AMf34bKdvPhQ7tBGhqkgKNUzMr4WUs+WDtC2ZUGOUncbxKMTvqxYctiseW3+L4bA8ec+GcZ6/A/FW4m8ukng==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/array-includes": { "version": "3.1.8", "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.8.tgz", "integrity": "sha512-itaWrbYbqpGXkGhZPGUulwnhVf5Hpy1xiCFsGqyIGglbBxmG5vSjxQen3/WGOjPpNEv1RtBLKxbmVXm8HpJStQ==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.7", "define-properties": "^1.2.1", @@ -6107,6 +5995,7 @@ "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -6116,6 +6005,7 @@ "resolved": "https://registry.npmjs.org/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.5.tgz", "integrity": "sha512-zfETvRFA8o7EiNn++N5f/kaCw221hrpGsDmcpndVupkPzEc1Wuf3VgC0qby1BbHs7f5DVYjgtEU2LLh5bqeGfQ==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.7", "define-properties": "^1.2.1", @@ -6136,6 +6026,7 @@ "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.2.tgz", "integrity": "sha512-djYB+Zx2vLewY8RWlNCUdHjDXs2XOgm602S9E7P/UpHgfeHL00cRiIF+IN/G/aUJ7kGPb6yO/ErDI5V2s8iycA==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "define-properties": "^1.2.0", @@ -6154,6 +6045,7 @@ "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.2.tgz", "integrity": "sha512-Ewyx0c9PmpcsByhSW4r+9zDU7sGjFc86qf/kKtuSCRdhfbk0SNLLkaT5qvcHnRGgc5NP/ly/y+qkXkqONX54CQ==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "define-properties": "^1.2.0", @@ -6172,6 +6064,7 @@ "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.3.tgz", "integrity": "sha512-bMxMKAjg13EBSVscxTaYA4mRc5t1UAXa2kXiGTNfZ079HIWXEkKmkgFrh/nJqamaLSrXO5H4WFFkPEaLJWbs3A==", "dev": true, + "license": "MIT", "dependencies": { "array-buffer-byte-length": "^1.0.1", "call-bind": "^1.0.5", @@ -6193,13 +6086,15 @@ "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/available-typed-arrays": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz", "integrity": "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==", "dev": true, + "license": "MIT", "dependencies": { "possible-typed-array-names": "^1.0.0" }, @@ -6215,6 +6110,7 @@ "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-29.7.0.tgz", "integrity": "sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg==", "dev": true, + "license": "MIT", "dependencies": { "@jest/transform": "^29.7.0", "@types/babel__core": "^7.1.14", @@ -6236,6 +6132,7 @@ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, + "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, @@ -6251,6 +6148,7 @@ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -6267,6 +6165,7 @@ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, + "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, @@ -6278,13 +6177,15 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/babel-jest/node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -6294,6 +6195,7 @@ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -6306,6 +6208,7 @@ "resolved": "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz", "integrity": "sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "@babel/helper-plugin-utils": "^7.0.0", "@istanbuljs/load-nyc-config": "^1.0.0", @@ -6322,6 +6225,7 @@ "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.1.tgz", "integrity": "sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "@babel/core": "^7.12.3", "@babel/parser": "^7.14.7", @@ -6338,6 +6242,7 @@ "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-29.6.3.tgz", "integrity": "sha512-ESAc/RJvGTFEzRwOTT4+lNDk/GNHMkKbNzsvT0qKRfDyyYTskxB5rnU2njIDYVxXCBHHEI1c0YwHob3WaYujOg==", "dev": true, + "license": "MIT", "dependencies": { "@babel/template": "^7.3.3", "@babel/types": "^7.3.3", @@ -6349,13 +6254,14 @@ } }, "node_modules/babel-plugin-polyfill-corejs2": { - "version": "0.4.10", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.10.tgz", - "integrity": "sha512-rpIuu//y5OX6jVU+a5BCn1R5RSZYWAl2Nar76iwaOdycqb6JPxediskWFMMl7stfwNJR4b7eiQvh5fB5TEQJTQ==", + "version": "0.4.11", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.11.tgz", + "integrity": "sha512-sMEJ27L0gRHShOh5G54uAAPaiCOygY/5ratXuiyb2G46FmlSpc9eFCzYVyDiPxfNbwzA7mYahmjQc5q+CZQ09Q==", "dev": true, + "license": "MIT", "dependencies": { "@babel/compat-data": "^7.22.6", - "@babel/helper-define-polyfill-provider": "^0.6.1", + "@babel/helper-define-polyfill-provider": "^0.6.2", "semver": "^6.3.1" }, "peerDependencies": { @@ -6367,6 +6273,7 @@ "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.10.4.tgz", "integrity": "sha512-25J6I8NGfa5YkCDogHRID3fVCadIR8/pGl1/spvCkzb6lVn6SR3ojpx9nOn9iEBcUsjY24AmdKm5khcfKdylcg==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-define-polyfill-provider": "^0.6.1", "core-js-compat": "^3.36.1" @@ -6376,12 +6283,13 @@ } }, "node_modules/babel-plugin-polyfill-regenerator": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.6.1.tgz", - "integrity": "sha512-JfTApdE++cgcTWjsiCQlLyFBMbTUft9ja17saCc93lgV33h4tuCVj7tlvu//qpLwaG+3yEz7/KhahGrUMkVq9g==", + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.6.2.tgz", + "integrity": "sha512-2R25rQZWP63nGwaAswvDazbPXfrM3HwVoBXK6HcqeKrSrL/JqcC/rDcf95l4r7LXLyxDXc8uQDa064GubtCABg==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-define-polyfill-provider": "^0.6.1" + "@babel/helper-define-polyfill-provider": "^0.6.2" }, "peerDependencies": { "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" @@ -6392,6 +6300,7 @@ "resolved": "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.0.1.tgz", "integrity": "sha512-M7LQ0bxarkxQoN+vz5aJPsLBn77n8QgTFmo8WK0/44auK2xlCXrYcUxHFxgU7qW5Yzw/CjmLRK2uJzaCd7LvqQ==", "dev": true, + "license": "MIT", "dependencies": { "@babel/plugin-syntax-async-generators": "^7.8.4", "@babel/plugin-syntax-bigint": "^7.8.3", @@ -6415,6 +6324,7 @@ "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-29.6.3.tgz", "integrity": "sha512-0B3bhxR6snWXJZtR/RliHTDPRgn1sNHOR0yVtq/IiQFyuOVjFS+wuio/R4gSNkyYmKmJB4wGZv2NZanmKmTnNA==", "dev": true, + "license": "MIT", "dependencies": { "babel-plugin-jest-hoist": "^29.6.3", "babel-preset-current-node-syntax": "^1.0.0" @@ -6430,19 +6340,22 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/before-after-hook": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-3.0.2.tgz", "integrity": "sha512-Nik3Sc0ncrMK4UUdXQmAnRtzmNQTAAXmXIopizwZ1W1t8QmfJj+zL4OA2I7XPTPW5z5TDqv4hRo/JzouDJnX3A==", - "dev": true + "dev": true, + "license": "Apache-2.0" }, "node_modules/binary-extensions": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz", "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" }, @@ -6454,13 +6367,15 @@ "version": "2.19.5", "resolved": "https://registry.npmjs.org/bottleneck/-/bottleneck-2.19.5.tgz", "integrity": "sha512-VHiNCbI1lKdl44tGrhNfU3lup0Tj/ZBMJB5/2ZbNXRCPuRCO7ed2mgcK4r17y+KB2EfuYuRaVlwNbAeaWGSpbw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/brace-expansion": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", "dev": true, + "license": "MIT", "dependencies": { "balanced-match": "^1.0.0" } @@ -6470,6 +6385,7 @@ "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", "dev": true, + "license": "MIT", "dependencies": { "fill-range": "^7.1.1" }, @@ -6496,6 +6412,7 @@ "url": "https://github.com/sponsors/ai" } ], + "license": "MIT", "dependencies": { "caniuse-lite": "^1.0.30001629", "electron-to-chromium": "^1.4.796", @@ -6514,6 +6431,7 @@ "resolved": "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz", "integrity": "sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==", "dev": true, + "license": "Apache-2.0", "dependencies": { "node-int64": "^0.4.0" } @@ -6522,13 +6440,15 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/builtin-modules": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-3.3.0.tgz", "integrity": "sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" }, @@ -6537,10 +6457,11 @@ } }, "node_modules/bundle-require": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/bundle-require/-/bundle-require-4.0.2.tgz", - "integrity": "sha512-jwzPOChofl67PSTW2SGubV9HBQAhhR2i6nskiOThauo9dzwDUgOWQScFVaJkjEfYX+UXiD+LEx8EblQMc2wIag==", + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/bundle-require/-/bundle-require-4.2.1.tgz", + "integrity": "sha512-7Q/6vkyYAwOmQNRw75x+4yRtZCZJXUDmHHlFdkiV0wgv/reNjtJwpu1jPJ0w2kbEpIM0uoKI3S4/f39dU7AjSA==", "dev": true, + "license": "MIT", "dependencies": { "load-tsconfig": "^0.2.3" }, @@ -6556,6 +6477,7 @@ "resolved": "https://registry.npmjs.org/cac/-/cac-6.7.14.tgz", "integrity": "sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -6565,6 +6487,7 @@ "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", "dev": true, + "license": "MIT", "dependencies": { "es-define-property": "^1.0.0", "es-errors": "^1.3.0", @@ -6584,6 +6507,7 @@ "resolved": "https://registry.npmjs.org/caller-callsite/-/caller-callsite-2.0.0.tgz", "integrity": "sha512-JuG3qI4QOftFsZyOn1qq87fq5grLIyk1JYd5lJmdA+fG7aQ9pA/i3JIJGcO3q0MrRcHlOt1U+ZeHW8Dq9axALQ==", "dev": true, + "license": "MIT", "dependencies": { "callsites": "^2.0.0" }, @@ -6596,6 +6520,7 @@ "resolved": "https://registry.npmjs.org/callsites/-/callsites-2.0.0.tgz", "integrity": "sha512-ksWePWBloaWPxJYQ8TL0JHvtci6G5QTKwQ95RcWAa/lzoAKuAOflGdAK92hpHXjkwb8zLxoLNUoNYZgVsaJzvQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } @@ -6605,6 +6530,7 @@ "resolved": "https://registry.npmjs.org/caller-path/-/caller-path-2.0.0.tgz", "integrity": "sha512-MCL3sf6nCSXOwCTzvPKhN18TU7AHTvdtam8DAogxcrJ8Rjfbbg7Lgng64H9Iy+vUV6VGFClN/TyxBkAebLRR4A==", "dev": true, + "license": "MIT", "dependencies": { "caller-callsite": "^2.0.0" }, @@ -6617,6 +6543,7 @@ "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } @@ -6626,14 +6553,15 @@ "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/caniuse-lite": { - "version": "1.0.30001638", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001638.tgz", - "integrity": "sha512-5SuJUJ7cZnhPpeLHaH0c/HPAnAHZvS6ElWyHK9GSIbVOQABLzowiI2pjmpvZ1WEbkyz46iFd4UXlOHR5SqgfMQ==", + "version": "1.0.30001640", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001640.tgz", + "integrity": "sha512-lA4VMpW0PSUrFnkmVuEKBUovSWKhj7puyCg8StBChgu298N1AtuF1sKWEvfDuimSEDbhlb/KqPKC3fs1HbuQUA==", "dev": true, "funding": [ { @@ -6648,12 +6576,14 @@ "type": "github", "url": "https://github.com/sponsors/ai" } - ] + ], + "license": "CC-BY-4.0" }, "node_modules/cardinal": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/cardinal/-/cardinal-2.1.1.tgz", "integrity": "sha512-JSr5eOgoEymtYHBjNWyjrMqet9Am2miJhlfKNdqLp6zoeAh0KN5dRAcxlecj5mAJrmQomgiOBj35xHLrFjqBpw==", + "license": "MIT", "dependencies": { "ansicolors": "~0.3.2", "redeyed": "~2.1.0" @@ -6667,6 +6597,7 @@ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", @@ -6681,6 +6612,7 @@ "resolved": "https://registry.npmjs.org/char-regex/-/char-regex-1.0.2.tgz", "integrity": "sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" } @@ -6690,6 +6622,7 @@ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", "dev": true, + "license": "MIT", "dependencies": { "anymatch": "~3.1.2", "braces": "~3.0.2", @@ -6714,6 +6647,7 @@ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", "dev": true, + "license": "ISC", "dependencies": { "is-glob": "^4.0.1" }, @@ -6732,27 +6666,24 @@ "url": "https://github.com/sponsors/sibiraj-s" } ], + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/cjs-module-lexer": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.2.3.tgz", - "integrity": "sha512-0TNiGstbQmCFwt4akjjBg5pLRTSyj/PkWQ1ZoO2zntmg9yLqSRxwEa4iCfQLGjqhiqBfOJa7W/E8wfGrTDmlZQ==", - "dev": true - }, - "node_modules/classnames": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/classnames/-/classnames-2.5.1.tgz", - "integrity": "sha512-saHYOzhIQs6wy2sVxTM6bUDsQO4F50V9RQ22qBpEdCW+I+/Wmke2HOl6lS6dTpdxVhb88/I6+Hs+438c3lfUow==", - "dev": true + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.3.1.tgz", + "integrity": "sha512-a3KdPAANPbNE4ZUv9h6LckSl9zLsYOP4MBmhIPkRaeyybt+r4UghLvq+xw/YwUcC1gqylCkL4rdVs3Lwupjm4Q==", + "dev": true, + "license": "MIT" }, "node_modules/clean-stack": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } @@ -6762,6 +6693,7 @@ "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-4.0.0.tgz", "integrity": "sha512-VGtlMu3x/4DOtIUwEkRezxUZ2lBacNJCHash0N0WeZDBS+7Ux1dm3XWAgWYxLJFMMdOeXMHXorshEFhbMSGelg==", "dev": true, + "license": "MIT", "dependencies": { "restore-cursor": "^4.0.0" }, @@ -6777,6 +6709,7 @@ "resolved": "https://registry.npmjs.org/cli-highlight/-/cli-highlight-2.1.11.tgz", "integrity": "sha512-9KDcoEVwyUXrjcJNvHD0NFc/hiwe/WPVYIleQh2O1N2Zro5gWJZ/K+3DGn8w8P/F6FxOgzyC5bxDyHIgCSPhGg==", "dev": true, + "license": "ISC", "dependencies": { "chalk": "^4.0.0", "highlight.js": "^10.7.1", @@ -6798,6 +6731,7 @@ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, + "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, @@ -6813,6 +6747,7 @@ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -6829,6 +6764,7 @@ "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", "dev": true, + "license": "ISC", "dependencies": { "string-width": "^4.2.0", "strip-ansi": "^6.0.0", @@ -6840,6 +6776,7 @@ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, + "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, @@ -6851,19 +6788,22 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/cli-highlight/node_modules/emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/cli-highlight/node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -6873,6 +6813,7 @@ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -6881,13 +6822,15 @@ "version": "5.1.1", "resolved": "https://registry.npmjs.org/parse5/-/parse5-5.1.1.tgz", "integrity": "sha512-ugq4DFI0Ptb+WWjAdOK16+u/nHfiIrcE+sh8kZMaM0WllQKLI9rOUq6c2b7cwPkXdzfQESqvoqK6ug7U/Yyzug==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/cli-highlight/node_modules/string-width": { "version": "4.2.3", "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", "dev": true, + "license": "MIT", "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", @@ -6902,6 +6845,7 @@ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -6914,6 +6858,7 @@ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", @@ -6931,6 +6876,7 @@ "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", "dev": true, + "license": "MIT", "dependencies": { "cliui": "^7.0.2", "escalade": "^3.1.1", @@ -6949,15 +6895,17 @@ "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", "dev": true, + "license": "ISC", "engines": { "node": ">=10" } }, "node_modules/cli-table3": { - "version": "0.6.4", - "resolved": "https://registry.npmjs.org/cli-table3/-/cli-table3-0.6.4.tgz", - "integrity": "sha512-Lm3L0p+/npIQWNIiyF/nAn7T5dnOwR3xNTHXYEBFBFVPXzCVNZ5lqEC/1eo/EVfpDsQ1I+TX4ORPQgp+UI0CRw==", + "version": "0.6.5", + "resolved": "https://registry.npmjs.org/cli-table3/-/cli-table3-0.6.5.tgz", + "integrity": "sha512-+W/5efTR7y5HRD7gACw9yQjqMVvEMLBHmboM/kPWam+H+Hmyrgjh6YncVKK122YZkXrLudzTuAukUw9FnMf7IQ==", "dev": true, + "license": "MIT", "dependencies": { "string-width": "^4.2.0" }, @@ -6972,13 +6920,15 @@ "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/cli-table3/node_modules/is-fullwidth-code-point": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -6988,6 +6938,7 @@ "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", "dev": true, + "license": "MIT", "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", @@ -7002,6 +6953,7 @@ "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-4.0.0.tgz", "integrity": "sha512-nPdaFdQ0h/GEigbPClz11D0v/ZJEwxmeVZGeMo3Z5StPtUTkA9o1lD6QwoirYiSDzbcwn2XcjwmCp68W1IS4TA==", "dev": true, + "license": "MIT", "dependencies": { "slice-ansi": "^5.0.0", "string-width": "^7.0.0" @@ -7017,6 +6969,7 @@ "version": "8.0.1", "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "license": "ISC", "dependencies": { "string-width": "^4.2.0", "strip-ansi": "^6.0.1", @@ -7030,6 +6983,7 @@ "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, @@ -7044,6 +6998,7 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, @@ -7054,17 +7009,20 @@ "node_modules/cliui/node_modules/color-name": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "license": "MIT" }, "node_modules/cliui/node_modules/emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "license": "MIT" }, "node_modules/cliui/node_modules/is-fullwidth-code-point": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "license": "MIT", "engines": { "node": ">=8" } @@ -7073,6 +7031,7 @@ "version": "4.2.3", "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "license": "MIT", "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", @@ -7086,6 +7045,7 @@ "version": "7.0.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "license": "MIT", "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", @@ -7103,6 +7063,7 @@ "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", "integrity": "sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==", "dev": true, + "license": "MIT", "engines": { "iojs": ">= 1.0.0", "node": ">= 0.12.0" @@ -7112,13 +7073,15 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/collect-v8-coverage/-/collect-v8-coverage-1.0.2.tgz", "integrity": "sha512-lHl4d5/ONEbLlJvaJNtsF/Lz+WvB07u2ycqTYbdrq7UypDXailES4valYb2eWiJFxZlVmpGekfqoxQhzyFdT4Q==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/color-convert": { "version": "1.9.3", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", "dev": true, + "license": "MIT", "dependencies": { "color-name": "1.1.3" } @@ -7127,19 +7090,22 @@ "version": "1.1.3", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/colorette": { "version": "2.0.20", "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.20.tgz", "integrity": "sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/combined-stream": { "version": "1.0.8", "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", "dev": true, + "license": "MIT", "dependencies": { "delayed-stream": "~1.0.0" }, @@ -7148,12 +7114,13 @@ } }, "node_modules/commander": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-11.1.0.tgz", - "integrity": "sha512-yPVavfyCcRhmorC7rWlkHn15b4wDVgVmBA7kV4QVBsF7kv/9TKJAbAXVTxvTnwP8HHKjRCJDClKbciiYS7p0DQ==", + "version": "12.1.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-12.1.0.tgz", + "integrity": "sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA==", "dev": true, + "license": "MIT", "engines": { - "node": ">=16" + "node": ">=18" } }, "node_modules/compare-func": { @@ -7161,6 +7128,7 @@ "resolved": "https://registry.npmjs.org/compare-func/-/compare-func-2.0.0.tgz", "integrity": "sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA==", "dev": true, + "license": "MIT", "dependencies": { "array-ify": "^1.0.0", "dot-prop": "^5.1.0" @@ -7170,29 +7138,40 @@ "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/config-chain": { "version": "1.1.13", "resolved": "https://registry.npmjs.org/config-chain/-/config-chain-1.1.13.tgz", "integrity": "sha512-qj+f8APARXHrM0hraqXYb2/bOVSV4PvJQlNZ/DVj0QrmNM2q2euizkeuVckQ57J+W0mRH6Hvi+k50M4Jul2VRQ==", "dev": true, + "license": "MIT", "dependencies": { "ini": "^1.3.4", "proto-list": "~1.2.1" } }, + "node_modules/config-chain/node_modules/ini": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", + "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", + "dev": true, + "license": "ISC" + }, "node_modules/confusing-browser-globals": { "version": "1.0.11", "resolved": "https://registry.npmjs.org/confusing-browser-globals/-/confusing-browser-globals-1.0.11.tgz", "integrity": "sha512-JsPKdmh8ZkmnHxDk55FZ1TqVLvEQTvoByJZRN9jzI0UjxK/QgAmsphz7PGtqgPieQZ/CQcHWXCR7ATDNhGe+YA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/conventional-changelog-angular": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-7.0.0.tgz", "integrity": "sha512-ROjNchA9LgfNMTTFSIWPzebCwOGFdgkEq45EnvvrmSLvCtAw0HSmrCs7/ty+wAeYUZyNay0YMUNYFTRL72PkBQ==", "dev": true, + "license": "ISC", "dependencies": { "compare-func": "^2.0.0" }, @@ -7205,6 +7184,7 @@ "resolved": "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-7.0.2.tgz", "integrity": "sha512-NKXYmMR/Hr1DevQegFB4MwfM5Vv0m4UIxKZTTYuD98lpTknaZlSRrDOG4X7wIXpGkfsYxZTghUN+Qq+T0YQI7w==", "dev": true, + "license": "ISC", "dependencies": { "compare-func": "^2.0.0" }, @@ -7213,45 +7193,31 @@ } }, "node_modules/conventional-changelog-writer": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-7.0.1.tgz", - "integrity": "sha512-Uo+R9neH3r/foIvQ0MKcsXkX642hdm9odUp7TqgFS7BsalTcjzRlIfWZrZR1gbxOozKucaKt5KAbjW8J8xRSmA==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-8.0.0.tgz", + "integrity": "sha512-TQcoYGRatlAnT2qEWDON/XSfnVG38JzA7E0wcGScu7RElQBkg9WWgZd1peCWFcWDh1xfb2CfsrcvOn1bbSzztA==", "dev": true, + "license": "MIT", "dependencies": { - "conventional-commits-filter": "^4.0.0", + "@types/semver": "^7.5.5", + "conventional-commits-filter": "^5.0.0", "handlebars": "^4.7.7", - "json-stringify-safe": "^5.0.1", - "meow": "^12.0.1", - "semver": "^7.5.2", - "split2": "^4.0.0" + "meow": "^13.0.0", + "semver": "^7.5.2" }, "bin": { - "conventional-changelog-writer": "cli.mjs" - }, - "engines": { - "node": ">=16" - } - }, - "node_modules/conventional-changelog-writer/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" + "conventional-changelog-writer": "dist/cli/index.js" }, "engines": { - "node": ">=10" + "node": ">=18" } }, "node_modules/conventional-changelog-writer/node_modules/semver": { - "version": "7.6.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", - "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", + "version": "7.6.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz", + "integrity": "sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==", "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, + "license": "ISC", "bin": { "semver": "bin/semver.js" }, @@ -7259,19 +7225,14 @@ "node": ">=10" } }, - "node_modules/conventional-changelog-writer/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, "node_modules/conventional-commits-filter": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-4.0.0.tgz", - "integrity": "sha512-rnpnibcSOdFcdclpFwWa+pPlZJhXE7l+XK04zxhbWrhgpR96h33QLz8hITTXbcYICxVr3HZFtbtUAQ+4LdBo9A==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-5.0.0.tgz", + "integrity": "sha512-tQMagCOC59EVgNZcC5zl7XqO30Wki9i9J3acbUvkaosCT6JX3EeFwJD7Qqp4MCikRnzS18WXV3BLIQ66ytu6+Q==", "dev": true, + "license": "MIT", "engines": { - "node": ">=16" + "node": ">=18" } }, "node_modules/conventional-commits-parser": { @@ -7279,6 +7240,7 @@ "resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-5.0.0.tgz", "integrity": "sha512-ZPMl0ZJbw74iS9LuX9YIAiW8pfM5p3yh2o/NbXHbkFuZzY5jvdi5jFycEOkmBW5H5I7nA+D6f3UcsCLP2vvSEA==", "dev": true, + "license": "MIT", "dependencies": { "is-text-path": "^2.0.0", "JSONStream": "^1.3.5", @@ -7292,17 +7254,45 @@ "node": ">=16" } }, + "node_modules/conventional-commits-parser/node_modules/meow": { + "version": "12.1.1", + "resolved": "https://registry.npmjs.org/meow/-/meow-12.1.1.tgz", + "integrity": "sha512-BhXM0Au22RwUneMPwSCnyhTOizdWoIEPU9sp0Aqa1PnDMR5Wv2FGXYDjuzJEIX+Eo2Rb8xuYe5jrnm5QowQFkw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=16.10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/convert-hrtime": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/convert-hrtime/-/convert-hrtime-5.0.0.tgz", + "integrity": "sha512-lOETlkIeYSJWcbbcvjRKGxVMXJR+8+OQb/mTPbA4ObPMytYIsUbuOE0Jzy60hjARYszq1id0j8KgVhC+WGZVTg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/convert-source-map": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/core-js-compat": { - "version": "3.36.1", - "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.36.1.tgz", - "integrity": "sha512-Dk997v9ZCt3X/npqzyGdTlq6t7lDBhZwGvV94PKzDArjp7BTRm7WlDAXYd/OWdeFHO8OChQYRJNJvUCqCbrtKA==", + "version": "3.37.1", + "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.37.1.tgz", + "integrity": "sha512-9TNiImhKvQqSUkOvk/mMRZzOANTiEVC7WaBNhHcKM7x+/5E1l5NvsysR19zuDQScE8k+kfQXWRN3AtS/eOSHpg==", "dev": true, + "license": "MIT", "dependencies": { "browserslist": "^4.23.0" }, @@ -7315,13 +7305,15 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/cosmiconfig": { "version": "9.0.0", "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-9.0.0.tgz", "integrity": "sha512-itvL5h8RETACmOTFc4UfIyB2RfEHi71Ax6E/PivVxq9NseKbOWpeyHEOIbmAw1rs8Ak0VursQNww7lf7YtUwzg==", "dev": true, + "license": "MIT", "dependencies": { "env-paths": "^2.2.1", "import-fresh": "^3.3.0", @@ -7348,6 +7340,7 @@ "resolved": "https://registry.npmjs.org/cosmiconfig-typescript-loader/-/cosmiconfig-typescript-loader-5.0.0.tgz", "integrity": "sha512-+8cK7jRAReYkMwMiG+bxhcNKiHJDM6bR9FD/nGBXOWdMLuYawjF5cGrtLilJ+LGd3ZjCXnJjR5DkfWPoIVlqJA==", "dev": true, + "license": "MIT", "dependencies": { "jiti": "^1.19.1" }, @@ -7365,6 +7358,7 @@ "resolved": "https://registry.npmjs.org/create-jest/-/create-jest-29.7.0.tgz", "integrity": "sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==", "dev": true, + "license": "MIT", "dependencies": { "@jest/types": "^29.6.3", "chalk": "^4.0.0", @@ -7386,6 +7380,7 @@ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, + "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, @@ -7401,6 +7396,7 @@ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -7417,6 +7413,7 @@ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, + "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, @@ -7428,13 +7425,15 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/create-jest/node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -7444,6 +7443,7 @@ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -7456,6 +7456,7 @@ "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", "dev": true, + "license": "MIT", "dependencies": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", @@ -7470,6 +7471,7 @@ "resolved": "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-4.0.0.tgz", "integrity": "sha512-x8dy3RnvYdlUcPOjkEHqozhiwzKNSq7GcPuXFbnyMOCHxX8V3OgIg/pYuabl2sbUPfIJaeAQB7PMOK8DFIdoRA==", "dev": true, + "license": "MIT", "dependencies": { "type-fest": "^1.0.1" }, @@ -7485,6 +7487,7 @@ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-1.4.0.tgz", "integrity": "sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA==", "dev": true, + "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=10" }, @@ -7496,13 +7499,15 @@ "version": "0.5.0", "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.5.0.tgz", "integrity": "sha512-iKuQcq+NdHqlAcwUY0o/HL69XQrUaQdMjmStJ8JFmUaiiQErlhrmuigkg/CU4E2J0IyUKUrMAgl36TvN67MqTw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/cssstyle": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-2.3.0.tgz", "integrity": "sha512-AZL67abkUzIuvcHqk7c09cezpGNcxUxU4Ioi/05xHk4DQeTkWmGYftIE6ctU6AEt+Gn4n1lDStOtj7FKycP71A==", "dev": true, + "license": "MIT", "dependencies": { "cssom": "~0.3.6" }, @@ -7514,13 +7519,15 @@ "version": "0.3.8", "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.3.8.tgz", "integrity": "sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/dargs": { "version": "8.1.0", "resolved": "https://registry.npmjs.org/dargs/-/dargs-8.1.0.tgz", "integrity": "sha512-wAV9QHOsNbwnWdNW2FYvE1P56wtgSbM+3SZcdGiWQILwVjACCXDCI3Ai8QlCjMDB8YK5zySiXZYBiwGmNY3lnw==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -7533,6 +7540,7 @@ "resolved": "https://registry.npmjs.org/data-urls/-/data-urls-3.0.2.tgz", "integrity": "sha512-Jy/tj3ldjZJo63sVAvg6LHt2mHvl4V6AgRAmNDtLdm7faqtsx+aJG42rsyCo9JCoRVKwPFzKlIPx3DIibwSIaQ==", "dev": true, + "license": "MIT", "dependencies": { "abab": "^2.0.6", "whatwg-mimetype": "^3.0.0", @@ -7547,6 +7555,7 @@ "resolved": "https://registry.npmjs.org/data-view-buffer/-/data-view-buffer-1.0.1.tgz", "integrity": "sha512-0lht7OugA5x3iJLOWFhWK/5ehONdprk0ISXqVFn/NFrDu+cuc8iADFrGQz5BnRK7LLU3JmkbXSxaqX+/mXYtUA==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.6", "es-errors": "^1.3.0", @@ -7564,6 +7573,7 @@ "resolved": "https://registry.npmjs.org/data-view-byte-length/-/data-view-byte-length-1.0.1.tgz", "integrity": "sha512-4J7wRJD3ABAzr8wP+OcIcqq2dlUKp4DVflx++hs5h5ZKydWMI6/D/fAot+yh6g2tHh8fLFTvNOaVN357NvSrOQ==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.7", "es-errors": "^1.3.0", @@ -7581,6 +7591,7 @@ "resolved": "https://registry.npmjs.org/data-view-byte-offset/-/data-view-byte-offset-1.0.0.tgz", "integrity": "sha512-t/Ygsytq+R995EJ5PZlD4Cu56sWa8InXySaViRzw9apusqsOO2bQP+SbYzAhR0pFKoB+43lYy8rWban9JSuXnA==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.6", "es-errors": "^1.3.0", @@ -7594,10 +7605,11 @@ } }, "node_modules/debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.5.tgz", + "integrity": "sha512-pt0bNEmneDIvdL1Xsd9oDQ/wrQRkXDT4AUWlNZNPKvW5x/jyO9VFXkJUP07vQ2upmw5PlaITaPKc31jK13V+jg==", "dev": true, + "license": "MIT", "dependencies": { "ms": "2.1.2" }, @@ -7614,13 +7626,15 @@ "version": "10.4.3", "resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.4.3.tgz", "integrity": "sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/dedent": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/dedent/-/dedent-1.5.1.tgz", - "integrity": "sha512-+LxW+KLWxu3HW3M2w2ympwtqPrqYRzU8fqi6Fhd18fBALe15blJPI/I4+UHveMVG6lJqB4JNd4UG0S5cnVHwIg==", + "version": "1.5.3", + "resolved": "https://registry.npmjs.org/dedent/-/dedent-1.5.3.tgz", + "integrity": "sha512-NHQtfOOW68WD8lgypbLA5oT+Bt0xXJhiYvoR6SmmNXZfpzOGXwdKWmcwG8N7PwVVWV3eF/68nmD9BaJSsTBhyQ==", "dev": true, + "license": "MIT", "peerDependencies": { "babel-plugin-macros": "^3.1.0" }, @@ -7630,31 +7644,12 @@ } } }, - "node_modules/deep-equal": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-1.1.2.tgz", - "integrity": "sha512-5tdhKF6DbU7iIzrIOa1AOUt39ZRm13cmL1cGEh//aqR8x9+tNfbywRf0n5FD/18OKMdo7DNEtrX2t22ZAkI+eg==", - "dev": true, - "dependencies": { - "is-arguments": "^1.1.1", - "is-date-object": "^1.0.5", - "is-regex": "^1.1.4", - "object-is": "^1.1.5", - "object-keys": "^1.1.1", - "regexp.prototype.flags": "^1.5.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/deep-extend": { "version": "0.6.0", "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", "dev": true, + "license": "MIT", "engines": { "node": ">=4.0.0" } @@ -7663,13 +7658,15 @@ "version": "0.1.4", "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/deepmerge": { "version": "4.3.1", "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz", "integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } @@ -7679,6 +7676,7 @@ "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", "dev": true, + "license": "MIT", "dependencies": { "es-define-property": "^1.0.0", "es-errors": "^1.3.0", @@ -7696,6 +7694,7 @@ "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz", "integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==", "dev": true, + "license": "MIT", "dependencies": { "define-data-property": "^1.0.1", "has-property-descriptors": "^1.0.0", @@ -7713,6 +7712,7 @@ "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.4.0" } @@ -7722,6 +7722,7 @@ "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz", "integrity": "sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -7730,13 +7731,15 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/detect-node/-/detect-node-2.1.0.tgz", "integrity": "sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/diff-sequences": { "version": "29.6.3", "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-29.6.3.tgz", "integrity": "sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==", "dev": true, + "license": "MIT", "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } @@ -7746,6 +7749,7 @@ "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", "dev": true, + "license": "MIT", "dependencies": { "path-type": "^4.0.0" }, @@ -7758,6 +7762,7 @@ "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", "dev": true, + "license": "Apache-2.0", "dependencies": { "esutils": "^2.0.2" }, @@ -7771,6 +7776,7 @@ "integrity": "sha512-A2is4PLG+eeSfoTMA95/s4pvAoSo2mKtiM5jlHkAVewmiO8ISFTFKZjH7UAM1Atli/OT/7JHOrJRJiMKUZKYBw==", "deprecated": "Use your platform's native DOMException instead", "dev": true, + "license": "MIT", "dependencies": { "webidl-conversions": "^7.0.0" }, @@ -7783,6 +7789,7 @@ "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz", "integrity": "sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==", "dev": true, + "license": "MIT", "dependencies": { "is-obj": "^2.0.0" }, @@ -7795,6 +7802,7 @@ "resolved": "https://registry.npmjs.org/duplexer2/-/duplexer2-0.1.4.tgz", "integrity": "sha512-asLFVfWWtJ90ZyOUHMqk7/S2w2guQKxUI2itj3d92ADHhxUSbCMGi1f1cBcJ7xM1To+pE/Khbwo1yuNbMEPKeA==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "readable-stream": "^2.0.2" } @@ -7803,19 +7811,22 @@ "version": "0.2.0", "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/electron-to-chromium": { - "version": "1.4.814", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.814.tgz", - "integrity": "sha512-GVulpHjFu1Y9ZvikvbArHmAhZXtm3wHlpjTMcXNGKl4IQ4jMQjlnz8yMQYYqdLHKi/jEL2+CBC2akWVCoIGUdw==", - "dev": true + "version": "1.4.816", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.816.tgz", + "integrity": "sha512-EKH5X5oqC6hLmiS7/vYtZHZFTNdhsYG5NVPRN6Yn0kQHNBlT59+xSM8HBy66P5fxWpKgZbPqb+diC64ng295Jw==", + "dev": true, + "license": "ISC" }, "node_modules/emittery": { "version": "0.13.1", "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.13.1.tgz", "integrity": "sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -7827,19 +7838,22 @@ "version": "10.3.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.3.0.tgz", "integrity": "sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/emojilib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/emojilib/-/emojilib-2.4.0.tgz", "integrity": "sha512-5U0rVMU5Y2n2+ykNLQqMoqklN9ICBT/KsvC1Gz6vqHbz2AXXGkG+Pm5rMWk/8Vjrr/mY9985Hi8DYzn1F09Nyw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/entities": { "version": "4.5.0", "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", "dev": true, + "license": "BSD-2-Clause", "engines": { "node": ">=0.12" }, @@ -7852,6 +7866,7 @@ "resolved": "https://registry.npmjs.org/env-ci/-/env-ci-11.0.0.tgz", "integrity": "sha512-apikxMgkipkgTvMdRT9MNqWx5VLOci79F4VBd7Op/7OPjjoanjdAvn6fglMCCEf/1bAh8eOiuEVCUs4V3qP3nQ==", "dev": true, + "license": "MIT", "dependencies": { "execa": "^8.0.0", "java-properties": "^1.0.2" @@ -7860,154 +7875,35 @@ "node": "^18.17 || >=20.6.1" } }, - "node_modules/env-ci/node_modules/execa": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/execa/-/execa-8.0.1.tgz", - "integrity": "sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==", - "dev": true, - "dependencies": { - "cross-spawn": "^7.0.3", - "get-stream": "^8.0.1", - "human-signals": "^5.0.0", - "is-stream": "^3.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^5.1.0", - "onetime": "^6.0.0", - "signal-exit": "^4.1.0", - "strip-final-newline": "^3.0.0" - }, - "engines": { - "node": ">=16.17" - }, - "funding": { - "url": "https://github.com/sindresorhus/execa?sponsor=1" - } - }, - "node_modules/env-ci/node_modules/get-stream": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-8.0.1.tgz", - "integrity": "sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==", - "dev": true, - "engines": { - "node": ">=16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/env-ci/node_modules/human-signals": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-5.0.0.tgz", - "integrity": "sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==", - "dev": true, - "engines": { - "node": ">=16.17.0" - } - }, - "node_modules/env-ci/node_modules/is-stream": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz", - "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==", - "dev": true, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/env-ci/node_modules/mimic-fn": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz", - "integrity": "sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/env-ci/node_modules/npm-run-path": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.3.0.tgz", - "integrity": "sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ==", - "dev": true, - "dependencies": { - "path-key": "^4.0.0" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/env-ci/node_modules/onetime": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-6.0.0.tgz", - "integrity": "sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==", - "dev": true, - "dependencies": { - "mimic-fn": "^4.0.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/env-ci/node_modules/path-key": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz", - "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/env-ci/node_modules/signal-exit": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", - "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "node_modules/env-paths": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", + "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==", "dev": true, + "license": "MIT", "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" + "node": ">=6" } }, - "node_modules/env-ci/node_modules/strip-final-newline": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-3.0.0.tgz", - "integrity": "sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==", + "node_modules/environment": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/environment/-/environment-1.1.0.tgz", + "integrity": "sha512-xUtoPkMggbz0MPyPiIWr1Kp4aeWJjDZ6SMvURhimjdZgsRuDplF5/s9hcgGhyXMhs+6vpnuoiZ2kFiu3FMnS8Q==", "dev": true, + "license": "MIT", "engines": { - "node": ">=12" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/env-paths": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", - "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==", - "dev": true, - "engines": { - "node": ">=6" - } - }, "node_modules/error-ex": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", "dev": true, + "license": "MIT", "dependencies": { "is-arrayish": "^0.2.1" } @@ -8017,6 +7913,7 @@ "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.23.3.tgz", "integrity": "sha512-e+HfNH61Bj1X9/jLc5v1owaLYuHdeHHSQlkhCBiTK8rBvKaULl/beGMxwrMXjpYrv4pz22BlY570vVePA2ho4A==", "dev": true, + "license": "MIT", "dependencies": { "array-buffer-byte-length": "^1.0.1", "arraybuffer.prototype.slice": "^1.0.3", @@ -8077,6 +7974,7 @@ "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", "dev": true, + "license": "MIT", "dependencies": { "get-intrinsic": "^1.2.4" }, @@ -8089,6 +7987,7 @@ "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.4" } @@ -8098,6 +7997,7 @@ "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.0.0.tgz", "integrity": "sha512-MZ4iQ6JwHOBQjahnjwaC1ZtIBH+2ohjamzAO3oaHcXYup7qxjF2fixyH+Q71voWHeOkI2q/TnJao/KfXYIZWbw==", "dev": true, + "license": "MIT", "dependencies": { "es-errors": "^1.3.0" }, @@ -8110,6 +8010,7 @@ "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.3.tgz", "integrity": "sha512-3T8uNMC3OQTHkFUsFq8r/BwAXLHvU/9O9mE0fBc/MY5iq/8H7ncvO947LmYA6ldWw9Uh8Yhf25zu6n7nML5QWQ==", "dev": true, + "license": "MIT", "dependencies": { "get-intrinsic": "^1.2.4", "has-tostringtag": "^1.0.2", @@ -8124,6 +8025,7 @@ "resolved": "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.0.2.tgz", "integrity": "sha512-J3yBRXCzDu4ULnQwxyToo/OjdMx6akgVC7K6few0a7F/0wLtmKKN7I73AH5T2836UuXRqN7Qg+IIUw/+YJksRw==", "dev": true, + "license": "MIT", "dependencies": { "hasown": "^2.0.0" } @@ -8133,6 +8035,7 @@ "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", "dev": true, + "license": "MIT", "dependencies": { "is-callable": "^1.1.4", "is-date-object": "^1.0.1", @@ -8146,11 +8049,12 @@ } }, "node_modules/esbuild": { - "version": "0.19.12", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.19.12.tgz", - "integrity": "sha512-aARqgq8roFBj054KvQr5f1sFu0D65G+miZRCuJyJ0G13Zwx7vRar5Zhn2tkQNzIXcBrNVsv/8stehpj+GAjgbg==", + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.21.5.tgz", + "integrity": "sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==", "dev": true, "hasInstallScript": true, + "license": "MIT", "bin": { "esbuild": "bin/esbuild" }, @@ -8158,35 +8062,36 @@ "node": ">=12" }, "optionalDependencies": { - "@esbuild/aix-ppc64": "0.19.12", - "@esbuild/android-arm": "0.19.12", - "@esbuild/android-arm64": "0.19.12", - "@esbuild/android-x64": "0.19.12", - "@esbuild/darwin-arm64": "0.19.12", - "@esbuild/darwin-x64": "0.19.12", - "@esbuild/freebsd-arm64": "0.19.12", - "@esbuild/freebsd-x64": "0.19.12", - "@esbuild/linux-arm": "0.19.12", - "@esbuild/linux-arm64": "0.19.12", - "@esbuild/linux-ia32": "0.19.12", - "@esbuild/linux-loong64": "0.19.12", - "@esbuild/linux-mips64el": "0.19.12", - "@esbuild/linux-ppc64": "0.19.12", - "@esbuild/linux-riscv64": "0.19.12", - "@esbuild/linux-s390x": "0.19.12", - "@esbuild/linux-x64": "0.19.12", - "@esbuild/netbsd-x64": "0.19.12", - "@esbuild/openbsd-x64": "0.19.12", - "@esbuild/sunos-x64": "0.19.12", - "@esbuild/win32-arm64": "0.19.12", - "@esbuild/win32-ia32": "0.19.12", - "@esbuild/win32-x64": "0.19.12" + "@esbuild/aix-ppc64": "0.21.5", + "@esbuild/android-arm": "0.21.5", + "@esbuild/android-arm64": "0.21.5", + "@esbuild/android-x64": "0.21.5", + "@esbuild/darwin-arm64": "0.21.5", + "@esbuild/darwin-x64": "0.21.5", + "@esbuild/freebsd-arm64": "0.21.5", + "@esbuild/freebsd-x64": "0.21.5", + "@esbuild/linux-arm": "0.21.5", + "@esbuild/linux-arm64": "0.21.5", + "@esbuild/linux-ia32": "0.21.5", + "@esbuild/linux-loong64": "0.21.5", + "@esbuild/linux-mips64el": "0.21.5", + "@esbuild/linux-ppc64": "0.21.5", + "@esbuild/linux-riscv64": "0.21.5", + "@esbuild/linux-s390x": "0.21.5", + "@esbuild/linux-x64": "0.21.5", + "@esbuild/netbsd-x64": "0.21.5", + "@esbuild/openbsd-x64": "0.21.5", + "@esbuild/sunos-x64": "0.21.5", + "@esbuild/win32-arm64": "0.21.5", + "@esbuild/win32-ia32": "0.21.5", + "@esbuild/win32-x64": "0.21.5" } }, "node_modules/escalade": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.2.tgz", "integrity": "sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==", + "license": "MIT", "engines": { "node": ">=6" } @@ -8196,6 +8101,7 @@ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.8.0" } @@ -8205,6 +8111,7 @@ "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-2.1.0.tgz", "integrity": "sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "esprima": "^4.0.1", "estraverse": "^5.2.0", @@ -8226,6 +8133,7 @@ "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.0.tgz", "integrity": "sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==", "dev": true, + "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", @@ -8281,6 +8189,7 @@ "resolved": "https://registry.npmjs.org/eslint-config-airbnb-base/-/eslint-config-airbnb-base-15.0.0.tgz", "integrity": "sha512-xaX3z4ZZIcFLvh2oUNvcX5oEofXda7giYmuplVxoOg5A7EXJMrUyqRgR+mhDhPK8LZ4PttFOBvCYDbX3sUoUig==", "dev": true, + "license": "MIT", "dependencies": { "confusing-browser-globals": "^1.0.10", "object.assign": "^4.1.2", @@ -8300,6 +8209,7 @@ "resolved": "https://registry.npmjs.org/eslint-config-airbnb-typescript/-/eslint-config-airbnb-typescript-18.0.0.tgz", "integrity": "sha512-oc+Lxzgzsu8FQyFVa4QFaVKiitTYiiW3frB9KYW5OWdPrqFc7FzxgB20hP4cHMlr+MBzGcLl3jnCOVOydL9mIg==", "dev": true, + "license": "MIT", "dependencies": { "eslint-config-airbnb-base": "^15.0.0" }, @@ -8314,6 +8224,7 @@ "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-9.1.0.tgz", "integrity": "sha512-NSWl5BFQWEPi1j4TjVNItzYV7dZXZ+wP6I6ZhrBGpChQhZRUaElihE9uRRkcbRnNb76UMKDF3r+WTmNcGPKsqw==", "dev": true, + "license": "MIT", "bin": { "eslint-config-prettier": "bin/cli.js" }, @@ -8326,6 +8237,7 @@ "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.9.tgz", "integrity": "sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==", "dev": true, + "license": "MIT", "dependencies": { "debug": "^3.2.7", "is-core-module": "^2.13.0", @@ -8337,6 +8249,7 @@ "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", "dev": true, + "license": "MIT", "dependencies": { "ms": "^2.1.1" } @@ -8346,6 +8259,7 @@ "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.8.1.tgz", "integrity": "sha512-rXDXR3h7cs7dy9RNpUlQf80nX31XWJEyGq1tRMo+6GsO5VmTe4UTwtmonAD4ZkAsrfMVDA2wlGJ3790Ys+D49Q==", "dev": true, + "license": "MIT", "dependencies": { "debug": "^3.2.7" }, @@ -8363,6 +8277,7 @@ "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", "dev": true, + "license": "MIT", "dependencies": { "ms": "^2.1.1" } @@ -8372,6 +8287,7 @@ "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.29.1.tgz", "integrity": "sha512-BbPC0cuExzhiMo4Ff1BTVwHpjjv28C5R+btTOGaCRC7UEz801up0JadwkeSk5Ued6TG34uaczuVuH6qyy5YUxw==", "dev": true, + "license": "MIT", "dependencies": { "array-includes": "^3.1.7", "array.prototype.findlastindex": "^1.2.3", @@ -8403,6 +8319,7 @@ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "dev": true, + "license": "MIT", "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -8413,6 +8330,7 @@ "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", "dev": true, + "license": "MIT", "dependencies": { "ms": "^2.1.1" } @@ -8422,6 +8340,7 @@ "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", "dev": true, + "license": "Apache-2.0", "dependencies": { "esutils": "^2.0.2" }, @@ -8434,6 +8353,7 @@ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", "dev": true, + "license": "ISC", "dependencies": { "brace-expansion": "^1.1.7" }, @@ -8446,6 +8366,7 @@ "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-5.1.3.tgz", "integrity": "sha512-C9GCVAs4Eq7ZC/XFQHITLiHJxQngdtraXaM+LoUFoFp/lHNl2Zn8f3WQbe9HvTBBQ9YnKFB0/2Ajdqwo5D1EAw==", "dev": true, + "license": "MIT", "dependencies": { "prettier-linter-helpers": "^1.0.0", "synckit": "^0.8.6" @@ -8476,6 +8397,7 @@ "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "esrecurse": "^4.3.0", "estraverse": "^5.2.0" @@ -8492,6 +8414,7 @@ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", "dev": true, + "license": "Apache-2.0", "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, @@ -8504,6 +8427,7 @@ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", "dev": true, + "license": "MIT", "dependencies": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", @@ -8520,6 +8444,7 @@ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, + "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, @@ -8535,6 +8460,7 @@ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "dev": true, + "license": "MIT", "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -8545,6 +8471,7 @@ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -8561,6 +8488,7 @@ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, + "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, @@ -8572,13 +8500,32 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/eslint/node_modules/escape-string-regexp": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint/node_modules/find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dev": true, + "license": "MIT", + "dependencies": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + }, "engines": { "node": ">=10" }, @@ -8591,6 +8538,7 @@ "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz", "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==", "dev": true, + "license": "MIT", "dependencies": { "type-fest": "^0.20.2" }, @@ -8606,6 +8554,7 @@ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -8614,13 +8563,31 @@ "version": "0.4.1", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", - "dev": true + "dev": true, + "license": "MIT" + }, + "node_modules/eslint/node_modules/locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-locate": "^5.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } }, "node_modules/eslint/node_modules/minimatch": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", "dev": true, + "license": "ISC", "dependencies": { "brace-expansion": "^1.1.7" }, @@ -8628,11 +8595,38 @@ "node": "*" } }, + "node_modules/eslint/node_modules/p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-limit": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint/node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, "node_modules/eslint/node_modules/supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -8645,6 +8639,7 @@ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", "dev": true, + "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=10" }, @@ -8657,6 +8652,7 @@ "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "acorn": "^8.9.0", "acorn-jsx": "^5.3.2", @@ -8673,6 +8669,7 @@ "version": "4.0.1", "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "license": "BSD-2-Clause", "bin": { "esparse": "bin/esparse.js", "esvalidate": "bin/esvalidate.js" @@ -8686,6 +8683,7 @@ "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz", "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "estraverse": "^5.1.0" }, @@ -8698,6 +8696,7 @@ "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "estraverse": "^5.2.0" }, @@ -8710,6 +8709,7 @@ "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", "dev": true, + "license": "BSD-2-Clause", "engines": { "node": ">=4.0" } @@ -8719,6 +8719,7 @@ "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", "dev": true, + "license": "BSD-2-Clause", "engines": { "node": ">=0.10.0" } @@ -8727,49 +8728,46 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz", "integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/execa": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", - "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-8.0.1.tgz", + "integrity": "sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==", "dev": true, + "license": "MIT", "dependencies": { "cross-spawn": "^7.0.3", - "get-stream": "^6.0.0", - "human-signals": "^2.1.0", - "is-stream": "^2.0.0", + "get-stream": "^8.0.1", + "human-signals": "^5.0.0", + "is-stream": "^3.0.0", "merge-stream": "^2.0.0", - "npm-run-path": "^4.0.1", - "onetime": "^5.1.2", - "signal-exit": "^3.0.3", - "strip-final-newline": "^2.0.0" + "npm-run-path": "^5.1.0", + "onetime": "^6.0.0", + "signal-exit": "^4.1.0", + "strip-final-newline": "^3.0.0" }, "engines": { - "node": ">=10" + "node": ">=16.17" }, "funding": { "url": "https://github.com/sindresorhus/execa?sponsor=1" } }, "node_modules/execa/node_modules/get-stream": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", - "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-8.0.1.tgz", + "integrity": "sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==", "dev": true, + "license": "MIT", "engines": { - "node": ">=10" + "node": ">=16" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/exenv": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/exenv/-/exenv-1.2.2.tgz", - "integrity": "sha512-Z+ktTxTwv9ILfgKCk32OX3n/doe+OcLTRtqK9pcL+JsP3J1/VW8Uvl4ZjLlKqeW4rzK4oesDOGMEMRIZqtP4Iw==", - "dev": true - }, "node_modules/exit": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz", @@ -8784,6 +8782,7 @@ "resolved": "https://registry.npmjs.org/expect/-/expect-29.7.0.tgz", "integrity": "sha512-2Zks0hf1VLFYI1kbh0I5jP3KHHyCHpkfyHBzsSXRFgl/Bg9mWYfMW8oD+PdMPlEwy5HNsR9JutYy6pMeOh61nw==", "dev": true, + "license": "MIT", "dependencies": { "@jest/expect-utils": "^29.7.0", "jest-get-type": "^29.6.3", @@ -8799,19 +8798,22 @@ "version": "3.1.3", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/fast-diff": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.3.0.tgz", "integrity": "sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==", - "dev": true + "dev": true, + "license": "Apache-2.0" }, "node_modules/fast-glob": { "version": "3.3.2", "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz", "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==", "dev": true, + "license": "MIT", "dependencies": { "@nodelib/fs.stat": "^2.0.2", "@nodelib/fs.walk": "^1.2.3", @@ -8828,6 +8830,7 @@ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", "dev": true, + "license": "ISC", "dependencies": { "is-glob": "^4.0.1" }, @@ -8839,25 +8842,29 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/fast-levenshtein": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/fast-safe-stringify": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.1.1.tgz", "integrity": "sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/fastq": { "version": "1.17.1", "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz", "integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==", "dev": true, + "license": "ISC", "dependencies": { "reusify": "^1.0.4" } @@ -8867,6 +8874,7 @@ "resolved": "https://registry.npmjs.org/fb-watchman/-/fb-watchman-2.0.2.tgz", "integrity": "sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==", "dev": true, + "license": "Apache-2.0", "dependencies": { "bser": "2.1.1" } @@ -8875,6 +8883,7 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/fetch-cookie/-/fetch-cookie-3.0.1.tgz", "integrity": "sha512-ZGXe8Y5Z/1FWqQ9q/CrJhkUD73DyBU9VF0hBQmEO/wPHe4A9PKTjplFDLeFX8aOsYypZUcX5Ji/eByn3VCVO3Q==", + "license": "Unlicense", "dependencies": { "set-cookie-parser": "^2.4.8", "tough-cookie": "^4.0.0" @@ -8884,13 +8893,15 @@ "version": "2.4.0", "resolved": "https://registry.npmjs.org/fetch-intercept/-/fetch-intercept-2.4.0.tgz", "integrity": "sha512-BPZ2LM9Dh1ua2ovQf03N6rhWg1qxdVD5qK/G4llvcemt6M+jjxCuIDxJ+6IiG+uz//3UQmgfKEv0gOGvYIxZ7g==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/figures": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/figures/-/figures-6.1.0.tgz", "integrity": "sha512-d+l3qxjSesT4V7v2fh+QnmFnUWv9lSpjarhShNTgBOfA0ttejbQUAlHLitbjkoRiDulW0OPoQPYIGhIC8ohejg==", "dev": true, + "license": "MIT", "dependencies": { "is-unicode-supported": "^2.0.0" }, @@ -8906,6 +8917,7 @@ "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", "dev": true, + "license": "MIT", "dependencies": { "flat-cache": "^3.0.4" }, @@ -8918,6 +8930,7 @@ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", "dev": true, + "license": "MIT", "dependencies": { "to-regex-range": "^5.0.1" }, @@ -8929,25 +8942,29 @@ "version": "0.5.2", "resolved": "https://registry.npmjs.org/find-line-column/-/find-line-column-0.5.2.tgz", "integrity": "sha512-eNhNkDt5RbxY4X++JwyDURP62FYhV1bh9LF4dfOiwpVCTk5vvfEANhnui5ypUEELGR02QZSrWFtaTgd4ulW5tw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/find-root": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz", "integrity": "sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/find-up": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", - "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-7.0.0.tgz", + "integrity": "sha512-YyZM99iHrqLKjmt4LJDj58KI+fYyufRLBSYcqycxf//KpBk9FoewoGX0450m9nB44qrZnovzC2oeP5hUibxc/g==", "dev": true, + "license": "MIT", "dependencies": { - "locate-path": "^6.0.0", - "path-exists": "^4.0.0" + "locate-path": "^7.2.0", + "path-exists": "^5.0.0", + "unicorn-magic": "^0.1.0" }, "engines": { - "node": ">=10" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -8958,6 +8975,7 @@ "resolved": "https://registry.npmjs.org/find-up-simple/-/find-up-simple-1.0.0.tgz", "integrity": "sha512-q7Us7kcjj2VMePAa02hDAF6d+MzsdsAWEwYyOpwUtlerRBkOEPBCRZrAV4XfcSN8fHAgaD0hP7miwoay6DCprw==", "dev": true, + "license": "MIT", "engines": { "node": ">=18" }, @@ -8966,15 +8984,17 @@ } }, "node_modules/find-versions": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/find-versions/-/find-versions-5.1.0.tgz", - "integrity": "sha512-+iwzCJ7C5v5KgcBuueqVoNiHVoQpwiUK5XFLjf0affFTep+Wcw93tPvmb8tqujDNmzhBDPddnWV/qgWSXgq+Hg==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/find-versions/-/find-versions-6.0.0.tgz", + "integrity": "sha512-2kCCtc+JvcZ86IGAz3Z2Y0A1baIz9fL31pH/0S1IqZr9Iwnjq8izfPtrCyQKO6TLMPELLsQMre7VDqeIKCsHkA==", "dev": true, + "license": "MIT", "dependencies": { - "semver-regex": "^4.0.5" + "semver-regex": "^4.0.5", + "super-regex": "^1.0.0" }, "engines": { - "node": ">=12" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -8985,6 +9005,7 @@ "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz", "integrity": "sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==", "dev": true, + "license": "MIT", "dependencies": { "flatted": "^3.2.9", "keyv": "^4.5.3", @@ -8998,22 +9019,25 @@ "version": "3.3.1", "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.1.tgz", "integrity": "sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/for-each": { "version": "0.3.3", "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", "dev": true, + "license": "MIT", "dependencies": { "is-callable": "^1.1.3" } }, "node_modules/foreground-child": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz", - "integrity": "sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==", + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.2.1.tgz", + "integrity": "sha512-PXUUyLqrR2XCWICfv6ukppP96sdFwWbNEnfEMt7jNsISjMsvaLNinAHNDYyvkyU+SZG2BTSbT5NjG+vZslfGTA==", "dev": true, + "license": "ISC", "dependencies": { "cross-spawn": "^7.0.0", "signal-exit": "^4.0.1" @@ -9025,23 +9049,12 @@ "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/foreground-child/node_modules/signal-exit": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", - "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", - "dev": true, - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/form-data": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", "dev": true, + "license": "MIT", "dependencies": { "asynckit": "^0.4.0", "combined-stream": "^1.0.8", @@ -9056,6 +9069,7 @@ "resolved": "https://registry.npmjs.org/from2/-/from2-2.3.0.tgz", "integrity": "sha512-OMcX/4IC/uqEPVgGeyfN22LJk6AZrMkRZHxcHBMBvHScDGgwTm2GT2Wkgtocyd3JfZffjj2kYUDXXII0Fk9W0g==", "dev": true, + "license": "MIT", "dependencies": { "inherits": "^2.0.1", "readable-stream": "^2.0.0" @@ -9066,6 +9080,7 @@ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.2.0.tgz", "integrity": "sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==", "dev": true, + "license": "MIT", "dependencies": { "graceful-fs": "^4.2.0", "jsonfile": "^6.0.1", @@ -9079,7 +9094,8 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/fsevents": { "version": "2.3.3", @@ -9087,6 +9103,7 @@ "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", "dev": true, "hasInstallScript": true, + "license": "MIT", "optional": true, "os": [ "darwin" @@ -9100,15 +9117,30 @@ "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", "dev": true, + "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/function-timeout": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/function-timeout/-/function-timeout-1.0.2.tgz", + "integrity": "sha512-939eZS4gJ3htTHAldmyyuzlrD58P03fHG49v2JfFXbV6OhvZKRC9j2yAtdHw/zrp2zXHuv05zMIy40F0ge7spA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/function.prototype.name": { "version": "1.1.6", "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.6.tgz", "integrity": "sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "define-properties": "^1.2.0", @@ -9127,6 +9159,7 @@ "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz", "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==", "dev": true, + "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -9136,6 +9169,7 @@ "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", "dev": true, + "license": "MIT", "engines": { "node": ">=6.9.0" } @@ -9144,6 +9178,7 @@ "version": "2.0.5", "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "license": "ISC", "engines": { "node": "6.* || 8.* || >= 10.*" } @@ -9153,6 +9188,7 @@ "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.2.0.tgz", "integrity": "sha512-2nk+7SIVb14QrgXFHcm84tD4bKQz0RxPuMT8Ag5KPOq7J5fEmAg0UbXdTOSHqNuHSU28k55qnceesxXRZGzKWA==", "dev": true, + "license": "MIT", "engines": { "node": ">=18" }, @@ -9165,6 +9201,7 @@ "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", "dev": true, + "license": "MIT", "dependencies": { "es-errors": "^1.3.0", "function-bind": "^1.1.2", @@ -9184,20 +9221,17 @@ "resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz", "integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==", "dev": true, + "license": "MIT", "engines": { "node": ">=8.0.0" } }, - "node_modules/get-starknet-core": { - "version": "4.0.0-next.3", - "resolved": "https://registry.npmjs.org/get-starknet-core/-/get-starknet-core-4.0.0-next.3.tgz", - "integrity": "sha512-/9q0UpsshYHZyEMcd+XD7CVrnwQ50WfXhy0TNocyHQzn+/qxQIBn25ZYJ+DEzwLPoUtrajMYI4L6DMKu1CJ+ig==" - }, "node_modules/get-stream": { "version": "7.0.1", "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-7.0.1.tgz", "integrity": "sha512-3M8C1EOFN6r8AMUhwUAACIoXZJEOufDU5+0gFFN5uNs6XYOralD2Pqkl7m046va6x77FwposWXbAhPPIOus7mQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=16" }, @@ -9210,6 +9244,7 @@ "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.2.tgz", "integrity": "sha512-g0QYk1dZBxGwk+Ngc+ltRH2IBp2f7zBkBMBJZCDerh6EhlhSR6+9irMCuT/09zD6qkarHUSn529sK/yL4S27mg==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.5", "es-errors": "^1.3.0", @@ -9223,17 +9258,18 @@ } }, "node_modules/git-log-parser": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/git-log-parser/-/git-log-parser-1.2.0.tgz", - "integrity": "sha512-rnCVNfkTL8tdNryFuaY0fYiBWEBcgF748O6ZI61rslBvr2o7U65c2/6npCRqH40vuAhtgtDiqLTJjBVdrejCzA==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/git-log-parser/-/git-log-parser-1.2.1.tgz", + "integrity": "sha512-PI+sPDvHXNPl5WNOErAK05s3j0lgwUzMN6o8cyQrDaKfT3qd7TmNJKeXX+SknI5I0QhG5fVPAEwSY4tRGDtYoQ==", "dev": true, + "license": "MIT", "dependencies": { "argv-formatter": "~1.0.0", "spawn-error-forwarder": "~1.0.0", "split2": "~1.0.0", "stream-combiner2": "~1.1.1", "through2": "~2.0.0", - "traverse": "~0.6.6" + "traverse": "0.6.8" } }, "node_modules/git-log-parser/node_modules/split2": { @@ -9241,25 +9277,17 @@ "resolved": "https://registry.npmjs.org/split2/-/split2-1.0.0.tgz", "integrity": "sha512-NKywug4u4pX/AZBB1FCPzZ6/7O+Xhz1qMVbzTvvKvikjO99oPN87SkK08mEY9P63/5lWjK+wgOOgApnTg5r6qg==", "dev": true, + "license": "ISC", "dependencies": { "through2": "~2.0.0" } }, - "node_modules/git-log-parser/node_modules/through2": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", - "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", - "dev": true, - "dependencies": { - "readable-stream": "~2.3.6", - "xtend": "~4.0.1" - } - }, "node_modules/git-raw-commits": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/git-raw-commits/-/git-raw-commits-4.0.0.tgz", "integrity": "sha512-ICsMM1Wk8xSGMowkOmPrzo2Fgmfo4bMHLNX6ytHjajRJUqvHOw/TFapQ+QG75c3X/tTDDhOSRPGC52dDbNM8FQ==", "dev": true, + "license": "MIT", "dependencies": { "dargs": "^8.0.0", "meow": "^12.0.1", @@ -9272,11 +9300,26 @@ "node": ">=16" } }, + "node_modules/git-raw-commits/node_modules/meow": { + "version": "12.1.1", + "resolved": "https://registry.npmjs.org/meow/-/meow-12.1.1.tgz", + "integrity": "sha512-BhXM0Au22RwUneMPwSCnyhTOizdWoIEPU9sp0Aqa1PnDMR5Wv2FGXYDjuzJEIX+Eo2Rb8xuYe5jrnm5QowQFkw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=16.10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/glob": { "version": "7.2.3", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "deprecated": "Glob versions prior to v9 are no longer supported", "dev": true, + "license": "ISC", "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -9297,6 +9340,7 @@ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", "dev": true, + "license": "ISC", "dependencies": { "is-glob": "^4.0.3" }, @@ -9309,6 +9353,7 @@ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "dev": true, + "license": "MIT", "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -9319,6 +9364,7 @@ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", "dev": true, + "license": "ISC", "dependencies": { "brace-expansion": "^1.1.7" }, @@ -9331,6 +9377,7 @@ "resolved": "https://registry.npmjs.org/global-directory/-/global-directory-4.0.1.tgz", "integrity": "sha512-wHTUcDUoZ1H5/0iVqEudYW4/kAlN5cZ3j/bXn0Dpbizl9iaUVeWSHqiOjsgk6OW2bkLclbBjzewBz6weQ1zA2Q==", "dev": true, + "license": "MIT", "dependencies": { "ini": "4.1.1" }, @@ -9341,31 +9388,25 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/global-directory/node_modules/ini": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/ini/-/ini-4.1.1.tgz", - "integrity": "sha512-QQnnxNyfvmHFIsj7gkPcYymR8Jdw/o7mp5ZFihxn6h8Ci6fh3Dx4E1gPjpQEpIuPo9XVNY/ZUwh4BPMjGyL01g==", - "dev": true, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, "node_modules/globals": { "version": "11.12.0", "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/globalthis": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz", - "integrity": "sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.4.tgz", + "integrity": "sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==", "dev": true, + "license": "MIT", "dependencies": { - "define-properties": "^1.1.3" + "define-properties": "^1.2.1", + "gopd": "^1.0.1" }, "engines": { "node": ">= 0.4" @@ -9379,6 +9420,7 @@ "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", "dev": true, + "license": "MIT", "dependencies": { "array-union": "^2.1.0", "dir-glob": "^3.0.1", @@ -9399,6 +9441,7 @@ "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", "dev": true, + "license": "MIT", "dependencies": { "get-intrinsic": "^1.1.3" }, @@ -9409,25 +9452,22 @@ "node_modules/graceful-fs": { "version": "4.2.11", "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", - "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==" + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", + "license": "ISC" }, "node_modules/graphemer": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", - "dev": true - }, - "node_modules/gud": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/gud/-/gud-1.0.0.tgz", - "integrity": "sha512-zGEOVKFM5sVPPrYs7J5/hYEw2Pof8KCyOwyhG8sAF26mCAeUFAcYPu1mwB7hhpIP29zOIBaDqwuHdLp0jvZXjw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/handlebars": { "version": "4.7.8", "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.8.tgz", "integrity": "sha512-vafaFqs8MZkRrSX7sFVUdo3ap/eNiLnb4IakshzvP56X5Nr1iGKAIqdX6tMlm6HcNRIkr6AxO5jFEoJzzpT8aQ==", "dev": true, + "license": "MIT", "dependencies": { "minimist": "^1.2.5", "neo-async": "^2.6.2", @@ -9449,6 +9489,7 @@ "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz", "integrity": "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==", "dev": true, + "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -9458,6 +9499,7 @@ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } @@ -9467,6 +9509,7 @@ "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", "dev": true, + "license": "MIT", "dependencies": { "es-define-property": "^1.0.0" }, @@ -9479,6 +9522,7 @@ "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz", "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -9491,6 +9535,7 @@ "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -9503,6 +9548,7 @@ "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", "dev": true, + "license": "MIT", "dependencies": { "has-symbols": "^1.0.3" }, @@ -9518,6 +9564,7 @@ "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", "dev": true, + "license": "MIT", "dependencies": { "function-bind": "^1.1.2" }, @@ -9530,6 +9577,7 @@ "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-10.7.3.tgz", "integrity": "sha512-tzcUFauisWKNHaRkN4Wjl/ZA07gENAjFl3J/c480dprkGTg5EQstgaNFqBfUqCq54kZRIEcreTsAgF/m2quD7A==", "dev": true, + "license": "BSD-3-Clause", "engines": { "node": "*" } @@ -9539,6 +9587,7 @@ "resolved": "https://registry.npmjs.org/hook-std/-/hook-std-3.0.0.tgz", "integrity": "sha512-jHRQzjSDzMtFy34AGj1DN+vq54WVuhSvKgrHf0OMiFQTwDD4L/qqofVEWjLOBMTn5+lCD3fPg32W9yOfnEJTTw==", "dev": true, + "license": "MIT", "engines": { "node": "^12.20.0 || ^14.13.1 || >=16.0.0" }, @@ -9547,10 +9596,11 @@ } }, "node_modules/hosted-git-info": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-7.0.1.tgz", - "integrity": "sha512-+K84LB1DYwMHoHSgaOY/Jfhw3ucPmSET5v98Ke/HdNSw4a0UktWzyW1mjhjpuxxTqOOsfWT/7iVshHmVZ4IpOA==", + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-7.0.2.tgz", + "integrity": "sha512-puUZAUKT5m8Zzvs72XWy3HtvVbTWljRE66cP60bxJzAqf2DgICo7lYTY2IHUmLnNpjYvw5bvmoHvPc0QO2a62w==", "dev": true, + "license": "ISC", "dependencies": { "lru-cache": "^10.0.1" }, @@ -9559,10 +9609,11 @@ } }, "node_modules/hosted-git-info/node_modules/lru-cache": { - "version": "10.2.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.2.0.tgz", - "integrity": "sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q==", + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.3.0.tgz", + "integrity": "sha512-CQl19J/g+Hbjbv4Y3mFNNXFEL/5t/KCg8POCuUqd4rMKjGG+j1ybER83hxV58zL+dFI1PTkt3GNFSHRt+d8qEQ==", "dev": true, + "license": "ISC", "engines": { "node": "14 || >=16.14" } @@ -9572,6 +9623,7 @@ "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-3.0.0.tgz", "integrity": "sha512-oWv4T4yJ52iKrufjnyZPkrN0CH3QnrUqdB6In1g5Fe1mia8GmF36gnfNySxoZtxD5+NmYw1EElVXiBk93UeskA==", "dev": true, + "license": "MIT", "dependencies": { "whatwg-encoding": "^2.0.0" }, @@ -9583,13 +9635,15 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz", "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/http-proxy-agent": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz", "integrity": "sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==", "dev": true, + "license": "MIT", "dependencies": { "@tootallnate/once": "2", "agent-base": "6", @@ -9604,6 +9658,7 @@ "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", "dev": true, + "license": "MIT", "dependencies": { "agent-base": "6", "debug": "4" @@ -9613,12 +9668,13 @@ } }, "node_modules/human-signals": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", - "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-5.0.0.tgz", + "integrity": "sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==", "dev": true, + "license": "Apache-2.0", "engines": { - "node": ">=10.17.0" + "node": ">=16.17.0" } }, "node_modules/husky": { @@ -9626,6 +9682,7 @@ "resolved": "https://registry.npmjs.org/husky/-/husky-9.0.11.tgz", "integrity": "sha512-AB6lFlbwwyIqMdHYhwPe+kjOC3Oc5P3nThEoW/AaO2BX3vJDjWPFxYLxokUZOo6RNX20He3AaT8sESs9NJcmEw==", "dev": true, + "license": "MIT", "bin": { "husky": "bin.mjs" }, @@ -9641,6 +9698,7 @@ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", "dev": true, + "license": "MIT", "dependencies": { "safer-buffer": ">= 2.1.2 < 3.0.0" }, @@ -9653,6 +9711,7 @@ "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz", "integrity": "sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==", "dev": true, + "license": "MIT", "engines": { "node": ">= 4" } @@ -9662,6 +9721,7 @@ "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", "dev": true, + "license": "MIT", "dependencies": { "parent-module": "^1.0.0", "resolve-from": "^4.0.0" @@ -9678,15 +9738,17 @@ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/import-from-esm": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/import-from-esm/-/import-from-esm-1.3.3.tgz", - "integrity": "sha512-U3Qt/CyfFpTUv6LOP2jRTLYjphH6zg3okMfHbyqRa/W2w6hr8OsJWVggNlR4jxuojQy81TgTJTxgSkyoteRGMQ==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/import-from-esm/-/import-from-esm-1.3.4.tgz", + "integrity": "sha512-7EyUlPFC0HOlBDpUFGfYstsU7XHxZJKAAMzCT8wZ0hMW7b+hG51LIKTDcsgtz8Pu6YC0HqRVbX+rVUtsGMUKvg==", "dev": true, + "license": "MIT", "dependencies": { "debug": "^4.3.4", "import-meta-resolve": "^4.0.0" @@ -9700,6 +9762,7 @@ "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.1.0.tgz", "integrity": "sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg==", "dev": true, + "license": "MIT", "dependencies": { "pkg-dir": "^4.2.0", "resolve-cwd": "^3.0.0" @@ -9715,10 +9778,11 @@ } }, "node_modules/import-meta-resolve": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/import-meta-resolve/-/import-meta-resolve-4.0.0.tgz", - "integrity": "sha512-okYUR7ZQPH+efeuMJGlq4f8ubUgO50kByRPyt/Cy1Io4PSRsPjxME+YlVaCOx+NIToW7hCsZNFJyTPFFKepRSA==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/import-meta-resolve/-/import-meta-resolve-4.1.0.tgz", + "integrity": "sha512-I6fiaX09Xivtk+THaMfAwnA3MVA5Big1WHF1Dfx9hFuvNIWpXnorlkzhcQf6ehrqQiiZECRt1poOAkPmer3ruw==", "dev": true, + "license": "MIT", "funding": { "type": "github", "url": "https://github.com/sponsors/wooorm" @@ -9729,6 +9793,7 @@ "resolved": "https://registry.npmjs.org/import-sort/-/import-sort-6.0.0.tgz", "integrity": "sha512-XUwSQMGAGmcW/wfshFE0gXgb1NPF6ibbQD6wDr3KRDykZf/lZj0jf58Bwa02xNb8EE59oz7etFe9OHnJocUW5Q==", "dev": true, + "license": "ISC", "dependencies": { "detect-newline": "^2.1.0", "import-sort-parser": "^6.0.0", @@ -9742,6 +9807,7 @@ "resolved": "https://registry.npmjs.org/import-sort-config/-/import-sort-config-6.0.0.tgz", "integrity": "sha512-FJpF2F3+30JXqH1rJKeajxoSCHCueai3/0ntDN4y3GJL5pjnLDt/VjCy5FzjH7u0NHnllL/zVEf1wfmsVxJlPQ==", "dev": true, + "license": "ISC", "dependencies": { "cosmiconfig": "^5.0.5", "find-root": "^1.0.0", @@ -9754,6 +9820,7 @@ "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", "dev": true, + "license": "MIT", "dependencies": { "sprintf-js": "~1.0.2" } @@ -9763,6 +9830,7 @@ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "dev": true, + "license": "MIT", "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -9773,6 +9841,7 @@ "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-5.2.1.tgz", "integrity": "sha512-H65gsXo1SKjf8zmrJ67eJk8aIRKV5ff2D4uKZIBZShbhGSpEmsQOPW/SKMKYhSTrqR7ufy6RP69rPogdaPh/kA==", "dev": true, + "license": "MIT", "dependencies": { "import-fresh": "^2.0.0", "is-directory": "^0.3.1", @@ -9788,6 +9857,7 @@ "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-2.0.0.tgz", "integrity": "sha512-eZ5H8rcgYazHbKC3PG4ClHNykCSxtAhxSSEM+2mb+7evD2CKF5V7c0dNum7AdpDh0ZdICwZY9sRSn8f+KH96sg==", "dev": true, + "license": "MIT", "dependencies": { "caller-path": "^2.0.0", "resolve-from": "^3.0.0" @@ -9801,6 +9871,7 @@ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-3.0.0.tgz", "integrity": "sha512-GnlH6vxLymXJNMBo7XP1fJIzBFbdYt49CuTwmB/6N53t+kMPRMFKz783LlQ4tv28XoQfMWinAJX6WCGf2IlaIw==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } @@ -9810,6 +9881,7 @@ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", "dev": true, + "license": "MIT", "dependencies": { "argparse": "^1.0.7", "esprima": "^4.0.0" @@ -9823,6 +9895,7 @@ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", "dev": true, + "license": "ISC", "dependencies": { "brace-expansion": "^1.1.7" }, @@ -9835,6 +9908,7 @@ "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", "integrity": "sha512-aOIos8bujGN93/8Ox/jPLh7RwVnPEysynVFE+fQZyg6jKELEHwzgKdLRFHUgXJL6kylijVSBC4BvN9OmsB48Rw==", "dev": true, + "license": "MIT", "dependencies": { "error-ex": "^1.3.1", "json-parse-better-errors": "^1.0.1" @@ -9848,6 +9922,7 @@ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } @@ -9856,13 +9931,15 @@ "version": "6.0.0", "resolved": "https://registry.npmjs.org/import-sort-parser/-/import-sort-parser-6.0.0.tgz", "integrity": "sha512-H5L+d6HnqHvThB0GmAA3/43Sv74oCwL0iMk3/ixOv0LRJ69rCyHXeG/+UadMHrD2FefEmgPIWboEPAG7gsQrkA==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/import-sort-parser-babylon": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/import-sort-parser-babylon/-/import-sort-parser-babylon-6.0.0.tgz", "integrity": "sha512-NyShTiNhTh4Vy7kJUVe6CuvOaQAzzfSIT72wtp3CzGjz8bHjNj59DCAjncuviicmDOgVAgmLuSh1WMcLYAMWGg==", "dev": true, + "license": "ISC", "dependencies": { "@babel/core": "^7.2.2", "@babel/parser": "^7.0.0-beta.54", @@ -9876,6 +9953,7 @@ "resolved": "https://registry.npmjs.org/import-sort-parser-typescript/-/import-sort-parser-typescript-6.0.0.tgz", "integrity": "sha512-pgxnr3I156DonupQriNsgDb2zJN9TxrqCCIN1rwT/6SDO1rkJb+a0fjqshCjlgacTSA92oPAp1eAwmQUeZi3dw==", "dev": true, + "license": "ISC", "dependencies": { "typescript": "^3.2.4" } @@ -9885,6 +9963,7 @@ "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.10.tgz", "integrity": "sha512-w6fIxVE/H1PkLKcCPsFqKE7Kv7QUwhU8qQY2MueZXWx5cPZdwFupLgKK3vntcK98BtNHZtAF4LA/yl2a7k8R6Q==", "dev": true, + "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -9897,19 +9976,22 @@ "version": "6.0.0", "resolved": "https://registry.npmjs.org/import-sort-style/-/import-sort-style-6.0.0.tgz", "integrity": "sha512-z0H5PKs7YoDeKxNYXv2AA1mjjZFY07fjeNCXUdTM3ymJtWeeEoTm8CQkFm2l+KPZoMczIvdwzJpWkkOamBnsPw==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/import-sort-style-module": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/import-sort-style-module/-/import-sort-style-module-6.0.0.tgz", "integrity": "sha512-Oxd256EVt6TAgawhIDuKnNHWumzHMHFWhVncBBvlHVnx69B4GP/Gu4Xo+gjxtqSEKEvam5ajUkNvnsXLDMDjKg==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/import-sort/node_modules/detect-newline": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-2.1.0.tgz", "integrity": "sha512-CwffZFvlJffUg9zZA0uqrjQayUTC8ob94pnr5sFwaVv3IOmkfUHcWH+jXaQK3askE51Cqe8/9Ql/0uXNwqZ8Zg==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } @@ -9919,6 +10001,7 @@ "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.8.19" } @@ -9928,6 +10011,7 @@ "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -9937,6 +10021,7 @@ "resolved": "https://registry.npmjs.org/index-to-position/-/index-to-position-0.1.2.tgz", "integrity": "sha512-MWDKS3AS1bGCHLBA2VLImJz42f7bJh8wQsTGCzI3j519/CASStoDONUBVz2I/VID0MpiX3SGSnbOD2xUalbE5g==", "dev": true, + "license": "MIT", "engines": { "node": ">=18" }, @@ -9948,7 +10033,9 @@ "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", + "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.", "dev": true, + "license": "ISC", "dependencies": { "once": "^1.3.0", "wrappy": "1" @@ -9958,19 +10045,25 @@ "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/ini": { - "version": "1.3.8", - "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", - "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", - "dev": true + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/ini/-/ini-4.1.1.tgz", + "integrity": "sha512-QQnnxNyfvmHFIsj7gkPcYymR8Jdw/o7mp5ZFihxn6h8Ci6fh3Dx4E1gPjpQEpIuPo9XVNY/ZUwh4BPMjGyL01g==", + "dev": true, + "license": "ISC", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } }, "node_modules/internal-slot": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.7.tgz", "integrity": "sha512-NGnrKwXzSms2qUUih/ILZ5JBqNTSa1+ZmP6flaIp6KmSElgE9qdndzS3cqjrDovwFdmwsGsLdeFgB6suw+1e9g==", "dev": true, + "license": "MIT", "dependencies": { "es-errors": "^1.3.0", "hasown": "^2.0.0", @@ -9985,6 +10078,7 @@ "resolved": "https://registry.npmjs.org/into-stream/-/into-stream-7.0.0.tgz", "integrity": "sha512-2dYz766i9HprMBasCMvHMuazJ7u4WzhJwo5kb3iPSiW/iRYV6uPari3zHoqZlnuaR7V1bEiNMxikhp37rdBXbw==", "dev": true, + "license": "MIT", "dependencies": { "from2": "^2.3.0", "p-is-promise": "^3.0.0" @@ -9996,27 +10090,12 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/is-arguments": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz", - "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-array-buffer": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.4.tgz", "integrity": "sha512-wcjaerHw0ydZwfhiKbXJWLDY8A7yV7KhjQOpb83hGgGfId/aQa4TOvwyzn2PuswW2gPCYEL/nEAiSVpdOj1lXw==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "get-intrinsic": "^1.2.1" @@ -10032,13 +10111,15 @@ "version": "0.2.1", "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/is-bigint": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", "dev": true, + "license": "MIT", "dependencies": { "has-bigints": "^1.0.1" }, @@ -10051,6 +10132,7 @@ "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", "dev": true, + "license": "MIT", "dependencies": { "binary-extensions": "^2.0.0" }, @@ -10063,6 +10145,7 @@ "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "has-tostringtag": "^1.0.0" @@ -10079,6 +10162,7 @@ "resolved": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-3.2.1.tgz", "integrity": "sha512-BSLE3HnV2syZ0FK0iMA/yUGplUeMmNz4AW5fnTunbCIqZi4vG3WjJT9FHMy5D69xmAYBHXQhJdALdpwVxV501A==", "dev": true, + "license": "MIT", "dependencies": { "builtin-modules": "^3.3.0" }, @@ -10094,6 +10178,7 @@ "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -10102,12 +10187,16 @@ } }, "node_modules/is-core-module": { - "version": "2.13.1", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz", - "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==", + "version": "2.14.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.14.0.tgz", + "integrity": "sha512-a5dFJih5ZLYlRtDc0dZWP7RiKr6xIKzmn/oAYCDvdLThadVgyJwlaoQPmRtMSpz+rk0OGAgIu+TcM9HUF0fk1A==", "dev": true, + "license": "MIT", "dependencies": { - "hasown": "^2.0.0" + "hasown": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -10118,6 +10207,7 @@ "resolved": "https://registry.npmjs.org/is-data-view/-/is-data-view-1.0.1.tgz", "integrity": "sha512-AHkaJrsUVW6wq6JS8y3JnM/GJF/9cf+k20+iDzlSaJrinEo5+7vRiteOSwBhHRiAyQATN1AmY4hwzxJKPmYf+w==", "dev": true, + "license": "MIT", "dependencies": { "is-typed-array": "^1.1.13" }, @@ -10133,6 +10223,7 @@ "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", "dev": true, + "license": "MIT", "dependencies": { "has-tostringtag": "^1.0.0" }, @@ -10148,6 +10239,7 @@ "resolved": "https://registry.npmjs.org/is-directory/-/is-directory-0.3.1.tgz", "integrity": "sha512-yVChGzahRFvbkscn2MlwGismPO12i9+znNruC5gVEntG3qu0xQMzsGg/JFbrsqDOHtHFPci+V5aP5T9I+yeKqw==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } @@ -10157,6 +10249,7 @@ "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } @@ -10166,6 +10259,7 @@ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-4.0.0.tgz", "integrity": "sha512-O4L094N2/dZ7xqVdrXhh9r1KODPJpFms8B5sGdJLPy664AgvXsreZUyCQQNItZRDlYug4xStLjNp/sz3HvBowQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -10178,6 +10272,7 @@ "resolved": "https://registry.npmjs.org/is-generator-fn/-/is-generator-fn-2.1.0.tgz", "integrity": "sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } @@ -10187,6 +10282,7 @@ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", "dev": true, + "license": "MIT", "dependencies": { "is-extglob": "^2.1.1" }, @@ -10199,6 +10295,7 @@ "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.3.tgz", "integrity": "sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -10211,6 +10308,7 @@ "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.12.0" } @@ -10220,6 +10318,7 @@ "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz", "integrity": "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==", "dev": true, + "license": "MIT", "dependencies": { "has-tostringtag": "^1.0.0" }, @@ -10235,6 +10334,7 @@ "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz", "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -10244,21 +10344,37 @@ "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, + "node_modules/is-plain-obj": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", + "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/is-potential-custom-element-name": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz", "integrity": "sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/is-regex": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "has-tostringtag": "^1.0.0" @@ -10275,6 +10391,7 @@ "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.3.tgz", "integrity": "sha512-nA2hv5XIhLR3uVzDDfCIknerhx8XUKnstuOERPNNIinXG7v9u+ohXF67vxm4TPTEPU6lm61ZkwP3c9PCB97rhg==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.7" }, @@ -10286,12 +10403,13 @@ } }, "node_modules/is-stream": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", - "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz", + "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==", "dev": true, + "license": "MIT", "engines": { - "node": ">=8" + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -10302,6 +10420,7 @@ "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", "dev": true, + "license": "MIT", "dependencies": { "has-tostringtag": "^1.0.0" }, @@ -10317,6 +10436,7 @@ "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", "dev": true, + "license": "MIT", "dependencies": { "has-symbols": "^1.0.2" }, @@ -10332,6 +10452,7 @@ "resolved": "https://registry.npmjs.org/is-text-path/-/is-text-path-2.0.0.tgz", "integrity": "sha512-+oDTluR6WEjdXEJMnC2z6A4FRwFoYuvShVVEGsS7ewc0UTi2QtAKMDJuL4BDEVt+5T7MjFo12RP8ghOM75oKJw==", "dev": true, + "license": "MIT", "dependencies": { "text-extensions": "^2.0.0" }, @@ -10344,6 +10465,7 @@ "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.13.tgz", "integrity": "sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw==", "dev": true, + "license": "MIT", "dependencies": { "which-typed-array": "^1.1.14" }, @@ -10359,6 +10481,7 @@ "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-2.0.0.tgz", "integrity": "sha512-FRdAyx5lusK1iHG0TWpVtk9+1i+GjrzRffhDg4ovQ7mcidMQ6mj+MhKPmvh7Xwyv5gIS06ns49CA7Sqg7lC22Q==", "dev": true, + "license": "MIT", "engines": { "node": ">=18" }, @@ -10370,13 +10493,15 @@ "version": "1.2.4", "resolved": "https://registry.npmjs.org/is-url/-/is-url-1.2.4.tgz", "integrity": "sha512-ITvGim8FhRiYe4IQ5uHSkj7pVaPDrCTkNd3yq3cV7iZAcJdHTUMPMEHcqSOy9xZ9qFenQCvi+2wjH9a1nXqHww==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/is-weakref": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2" }, @@ -10388,28 +10513,32 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/isexe": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/isomorphic-fetch": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/isomorphic-fetch/-/isomorphic-fetch-3.0.0.tgz", "integrity": "sha512-qvUtwJ3j6qwsF3jLxkZ72qCgjMysPzDfeV240JHiGZsANBYd+EEuu35v7dfrJ9Up0Ak07D7GGSkGhCHTqg/5wA==", + "license": "MIT", "dependencies": { "node-fetch": "^2.6.1", "whatwg-fetch": "^3.4.1" } }, "node_modules/issue-parser": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/issue-parser/-/issue-parser-7.0.0.tgz", - "integrity": "sha512-jgAw78HO3gs9UrKqJNQvfDj9Ouy8Mhu40fbEJ8yXff4MW8+/Fcn9iFjyWUQ6SKbX8ipPk3X5A3AyfYHRu6uVLw==", + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/issue-parser/-/issue-parser-7.0.1.tgz", + "integrity": "sha512-3YZcUUR2Wt1WsapF+S/WiA2WmlW0cWAoPccMqne7AxEBhCdFeTPjfv/Axb8V2gyCgY3nRw+ksZ3xSUX+R47iAg==", "dev": true, + "license": "MIT", "dependencies": { "lodash.capitalize": "^4.2.1", "lodash.escaperegexp": "^4.1.2", @@ -10426,15 +10555,17 @@ "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz", "integrity": "sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==", "dev": true, + "license": "BSD-3-Clause", "engines": { "node": ">=8" } }, "node_modules/istanbul-lib-instrument": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-6.0.2.tgz", - "integrity": "sha512-1WUsZ9R1lA0HtBSohTkm39WTPlNKSJ5iFk7UwqXkBLoHQT+hfqPsfsTDVuZdKGaBwn7din9bS7SsnoAr943hvw==", + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-6.0.3.tgz", + "integrity": "sha512-Vtgk7L/R2JHyyGW07spoFlB8/lpjiOLTjMdms6AFMraYt3BaJauod/NGrfnVG/y4Ix1JEuMRPDPEj2ua+zz1/Q==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "@babel/core": "^7.23.9", "@babel/parser": "^7.23.9", @@ -10446,26 +10577,12 @@ "node": ">=10" } }, - "node_modules/istanbul-lib-instrument/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/istanbul-lib-instrument/node_modules/semver": { - "version": "7.6.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", - "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", + "version": "7.6.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz", + "integrity": "sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==", "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, + "license": "ISC", "bin": { "semver": "bin/semver.js" }, @@ -10473,17 +10590,12 @@ "node": ">=10" } }, - "node_modules/istanbul-lib-instrument/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, "node_modules/istanbul-lib-report": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz", "integrity": "sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "istanbul-lib-coverage": "^3.0.0", "make-dir": "^4.0.0", @@ -10498,6 +10610,7 @@ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -10507,6 +10620,7 @@ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -10519,6 +10633,7 @@ "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz", "integrity": "sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "debug": "^4.1.1", "istanbul-lib-coverage": "^3.0.0", @@ -10533,6 +10648,7 @@ "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.7.tgz", "integrity": "sha512-BewmUXImeuRk2YY0PVbxgKAysvhRPUQE0h5QRM++nVWyubKGV0l8qQ5op8+B2DOmwSe63Jivj0BjkPQVf8fP5g==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "html-escaper": "^2.0.0", "istanbul-lib-report": "^3.0.0" @@ -10542,10 +10658,11 @@ } }, "node_modules/jackspeak": { - "version": "2.3.6", - "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.3.6.tgz", - "integrity": "sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ==", + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.0.tgz", + "integrity": "sha512-JVYhQnN59LVPFCEcVa2C3CrEKYacvjRfqIQl+h8oi91aLYQVWRYbxjPcv1bUiUy/kLmQaANrYfNMCO3kuEDHfw==", "dev": true, + "license": "BlueOak-1.0.0", "dependencies": { "@isaacs/cliui": "^8.0.2" }, @@ -10564,6 +10681,7 @@ "resolved": "https://registry.npmjs.org/java-properties/-/java-properties-1.0.2.tgz", "integrity": "sha512-qjdpeo2yKlYTH7nFdK0vbZWuTCesk4o63v5iVOlhMQPfuIZQfW/HI35SjfhA+4qpg36rnFSvUK5b1m+ckIblQQ==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.6.0" } @@ -10573,6 +10691,7 @@ "resolved": "https://registry.npmjs.org/jest/-/jest-29.7.0.tgz", "integrity": "sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==", "dev": true, + "license": "MIT", "dependencies": { "@jest/core": "^29.7.0", "@jest/types": "^29.6.3", @@ -10599,6 +10718,7 @@ "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-29.7.0.tgz", "integrity": "sha512-fEArFiwf1BpQ+4bXSprcDc3/x4HSzL4al2tozwVpDFpsxALjLYdyiIK4e5Vz66GQJIbXJ82+35PtysofptNX2w==", "dev": true, + "license": "MIT", "dependencies": { "execa": "^5.0.0", "jest-util": "^29.7.0", @@ -10608,11 +10728,128 @@ "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, + "node_modules/jest-changed-files/node_modules/execa": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", + "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", + "dev": true, + "license": "MIT", + "dependencies": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" + } + }, + "node_modules/jest-changed-files/node_modules/get-stream": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", + "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/jest-changed-files/node_modules/human-signals": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", + "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=10.17.0" + } + }, + "node_modules/jest-changed-files/node_modules/is-stream": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/jest-changed-files/node_modules/mimic-fn": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", + "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/jest-changed-files/node_modules/npm-run-path": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", + "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", + "dev": true, + "license": "MIT", + "dependencies": { + "path-key": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-changed-files/node_modules/onetime": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", + "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", + "dev": true, + "license": "MIT", + "dependencies": { + "mimic-fn": "^2.1.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/jest-changed-files/node_modules/signal-exit": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/jest-changed-files/node_modules/strip-final-newline": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", + "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, "node_modules/jest-circus": { "version": "29.7.0", "resolved": "https://registry.npmjs.org/jest-circus/-/jest-circus-29.7.0.tgz", "integrity": "sha512-3E1nCMgipcTkCocFwM90XXQab9bS+GMsjdpmPrlelaxwD93Ad8iVEjX/vvHPdLPnFf+L40u+5+iutRdA1N9myw==", "dev": true, + "license": "MIT", "dependencies": { "@jest/environment": "^29.7.0", "@jest/expect": "^29.7.0", @@ -10644,6 +10881,7 @@ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, + "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, @@ -10659,6 +10897,7 @@ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -10675,6 +10914,7 @@ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, + "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, @@ -10686,13 +10926,15 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/jest-circus/node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -10702,6 +10944,7 @@ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -10714,6 +10957,7 @@ "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-29.7.0.tgz", "integrity": "sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg==", "dev": true, + "license": "MIT", "dependencies": { "@jest/core": "^29.7.0", "@jest/test-result": "^29.7.0", @@ -10747,6 +10991,7 @@ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, + "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, @@ -10762,6 +11007,7 @@ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -10778,6 +11024,7 @@ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, + "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, @@ -10789,13 +11036,15 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/jest-cli/node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -10805,6 +11054,7 @@ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -10817,6 +11067,7 @@ "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-29.7.0.tgz", "integrity": "sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==", "dev": true, + "license": "MIT", "dependencies": { "@babel/core": "^7.11.6", "@jest/test-sequencer": "^29.7.0", @@ -10862,6 +11113,7 @@ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, + "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, @@ -10877,6 +11129,7 @@ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -10893,6 +11146,7 @@ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, + "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, @@ -10904,13 +11158,15 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/jest-config/node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -10920,6 +11176,7 @@ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -10932,6 +11189,7 @@ "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-29.7.0.tgz", "integrity": "sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw==", "dev": true, + "license": "MIT", "dependencies": { "chalk": "^4.0.0", "diff-sequences": "^29.6.3", @@ -10947,6 +11205,7 @@ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, + "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, @@ -10962,6 +11221,7 @@ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -10978,6 +11238,7 @@ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, + "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, @@ -10989,13 +11250,15 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/jest-diff/node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -11005,6 +11268,7 @@ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -11017,6 +11281,7 @@ "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-29.7.0.tgz", "integrity": "sha512-q617Auw3A612guyaFgsbFeYpNP5t2aoUNLwBUbc/0kD1R4t9ixDbyFTHd1nok4epoVFpr7PmeWHrhvuV3XaJ4g==", "dev": true, + "license": "MIT", "dependencies": { "detect-newline": "^3.0.0" }, @@ -11029,6 +11294,7 @@ "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-29.7.0.tgz", "integrity": "sha512-gns+Er14+ZrEoC5fhOfYCY1LOHHr0TI+rQUHZS8Ttw2l7gl+80eHc/gFf2Ktkw0+SIACDTeWvpFcv3B04VembQ==", "dev": true, + "license": "MIT", "dependencies": { "@jest/types": "^29.6.3", "chalk": "^4.0.0", @@ -11045,6 +11311,7 @@ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, + "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, @@ -11060,6 +11327,7 @@ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -11076,6 +11344,7 @@ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, + "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, @@ -11087,13 +11356,15 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/jest-each/node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -11103,6 +11374,7 @@ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -11115,6 +11387,7 @@ "resolved": "https://registry.npmjs.org/jest-environment-jsdom/-/jest-environment-jsdom-29.7.0.tgz", "integrity": "sha512-k9iQbsf9OyOfdzWH8HDmrRT0gSIcX+FLNW7IQq94tFX0gynPwqDTW0Ho6iMVNjGz/nb+l/vW3dWM2bbLLpkbXA==", "dev": true, + "license": "MIT", "dependencies": { "@jest/environment": "^29.7.0", "@jest/fake-timers": "^29.7.0", @@ -11142,6 +11415,7 @@ "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-29.7.0.tgz", "integrity": "sha512-DOSwCRqXirTOyheM+4d5YZOrWcdu0LNZ87ewUoywbcb2XR4wKgqiG8vNeYwhjFMbEkfju7wx2GYH0P2gevGvFw==", "dev": true, + "license": "MIT", "dependencies": { "@jest/environment": "^29.7.0", "@jest/fake-timers": "^29.7.0", @@ -11159,6 +11433,7 @@ "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.6.3.tgz", "integrity": "sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw==", "dev": true, + "license": "MIT", "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } @@ -11168,6 +11443,7 @@ "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-29.7.0.tgz", "integrity": "sha512-fP8u2pyfqx0K1rGn1R9pyE0/KTn+G7PxktWidOBTqFPLYX0b9ksaMFkhK5vrS3DVun09pckLdlx90QthlW7AmA==", "dev": true, + "license": "MIT", "dependencies": { "@jest/types": "^29.6.3", "@types/graceful-fs": "^4.1.3", @@ -11193,6 +11469,7 @@ "resolved": "https://registry.npmjs.org/jest-json-schema/-/jest-json-schema-6.1.0.tgz", "integrity": "sha512-LMHuLmKjr/4X+H8v1xF5TEwfYEkzwGeWJ0epYQVQhlVTDDR5FWCdSO8vmsecb5cLf9NeWAqMKn3qhJvP9um0AA==", "dev": true, + "license": "Apache-2.0", "dependencies": { "ajv": "^8.8.2", "ajv-formats": "^2.1.1", @@ -11208,6 +11485,7 @@ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, + "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, @@ -11223,6 +11501,7 @@ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -11239,6 +11518,7 @@ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, + "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, @@ -11250,13 +11530,15 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/jest-json-schema/node_modules/diff-sequences": { "version": "27.5.1", "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-27.5.1.tgz", "integrity": "sha512-k1gCAXAsNgLwEL+Y8Wvl+M6oEFj5bgazfZULpS5CneoPPXRaCCW7dm+q21Ky2VEE5X+VeRDBVg1Pcvvsr4TtNQ==", "dev": true, + "license": "MIT", "engines": { "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" } @@ -11266,6 +11548,7 @@ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -11275,6 +11558,7 @@ "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-27.5.1.tgz", "integrity": "sha512-m0NvkX55LDt9T4mctTEgnZk3fmEg3NRYutvMPWM/0iPnkFj2wIeF45O1718cMSOFO1vINkqmxqD8vE37uTEbqw==", "dev": true, + "license": "MIT", "dependencies": { "chalk": "^4.0.0", "diff-sequences": "^27.5.1", @@ -11290,6 +11574,7 @@ "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-27.5.1.tgz", "integrity": "sha512-2KY95ksYSaK7DMBWQn6dQz3kqAf3BB64y2udeG+hv4KfSOb9qwcYQstTJc1KCbsix+wLZWZYN8t7nwX3GOBLRw==", "dev": true, + "license": "MIT", "engines": { "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" } @@ -11299,6 +11584,7 @@ "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-27.5.1.tgz", "integrity": "sha512-z2uTx/T6LBaCoNWNFWwChLBKYxTMcGBRjAt+2SbP929/Fflb9aa5LGma654Rz8z9HLxsrUaYzxE9T/EFIL/PAw==", "dev": true, + "license": "MIT", "dependencies": { "chalk": "^4.0.0", "jest-diff": "^27.5.1", @@ -11314,6 +11600,7 @@ "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz", "integrity": "sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==", "dev": true, + "license": "MIT", "dependencies": { "ansi-regex": "^5.0.1", "ansi-styles": "^5.0.0", @@ -11328,6 +11615,7 @@ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" }, @@ -11339,13 +11627,15 @@ "version": "17.0.2", "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/jest-json-schema/node_modules/supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -11358,6 +11648,7 @@ "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-29.7.0.tgz", "integrity": "sha512-kYA8IJcSYtST2BY9I+SMC32nDpBT3J2NvWJx8+JCuCdl/CR1I4EKUJROiP8XtCcxqgTTBGJNdbB1A8XRKbTetw==", "dev": true, + "license": "MIT", "dependencies": { "jest-get-type": "^29.6.3", "pretty-format": "^29.7.0" @@ -11371,6 +11662,7 @@ "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-29.7.0.tgz", "integrity": "sha512-sBkD+Xi9DtcChsI3L3u0+N0opgPYnCRPtGcQYrgXmR+hmt/fYfWAL0xRXYU8eWOdfuLgBe0YCW3AFtnRLagq/g==", "dev": true, + "license": "MIT", "dependencies": { "chalk": "^4.0.0", "jest-diff": "^29.7.0", @@ -11386,6 +11678,7 @@ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, + "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, @@ -11401,6 +11694,7 @@ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -11417,6 +11711,7 @@ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, + "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, @@ -11428,13 +11723,15 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/jest-matcher-utils/node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -11444,6 +11741,7 @@ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -11456,6 +11754,7 @@ "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-29.7.0.tgz", "integrity": "sha512-GBEV4GRADeP+qtB2+6u61stea8mGcOT4mCtrYISZwfu9/ISHFJ/5zOMXYbpBE9RsS5+Gb63DW4FgmnKJ79Kf6w==", "dev": true, + "license": "MIT", "dependencies": { "@babel/code-frame": "^7.12.13", "@jest/types": "^29.6.3", @@ -11476,6 +11775,7 @@ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, + "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, @@ -11491,6 +11791,7 @@ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -11507,6 +11808,7 @@ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, + "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, @@ -11518,13 +11820,15 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/jest-message-util/node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -11534,6 +11838,7 @@ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -11546,6 +11851,7 @@ "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-29.7.0.tgz", "integrity": "sha512-ITOMZn+UkYS4ZFh83xYAOzWStloNzJFO2s8DWrE4lhtGD+AorgnbkiKERe4wQVBydIGPx059g6riW5Btp6Llnw==", "dev": true, + "license": "MIT", "dependencies": { "@jest/types": "^29.6.3", "@types/node": "*", @@ -11560,6 +11866,7 @@ "resolved": "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.2.3.tgz", "integrity": "sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" }, @@ -11577,6 +11884,7 @@ "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-29.6.3.tgz", "integrity": "sha512-KJJBsRCyyLNWCNBOvZyRDnAIfUiRJ8v+hOBQYGn8gDyF3UegwiP4gwRR3/SDa42g1YbVycTidUF3rKjyLFDWbg==", "dev": true, + "license": "MIT", "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } @@ -11586,6 +11894,7 @@ "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-29.7.0.tgz", "integrity": "sha512-IOVhZSrg+UvVAshDSDtHyFCCBUl/Q3AAJv8iZ6ZjnZ74xzvwuzLXid9IIIPgTnY62SJjfuupMKZsZQRsCvxEgA==", "dev": true, + "license": "MIT", "dependencies": { "chalk": "^4.0.0", "graceful-fs": "^4.2.9", @@ -11606,6 +11915,7 @@ "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-29.7.0.tgz", "integrity": "sha512-un0zD/6qxJ+S0et7WxeI3H5XSe9lTBBR7bOHCHXkKR6luG5mwDDlIzVQ0V5cZCuoTgEdcdwzTghYkTWfubi+nA==", "dev": true, + "license": "MIT", "dependencies": { "jest-regex-util": "^29.6.3", "jest-snapshot": "^29.7.0" @@ -11619,6 +11929,7 @@ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, + "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, @@ -11634,6 +11945,7 @@ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -11650,6 +11962,7 @@ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, + "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, @@ -11661,13 +11974,15 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/jest-resolve/node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -11677,6 +11992,7 @@ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -11689,6 +12005,7 @@ "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-29.7.0.tgz", "integrity": "sha512-fsc4N6cPCAahybGBfTRcq5wFR6fpLznMg47sY5aDpsoejOcVYFb07AHuSnR0liMcPTgBsA3ZJL6kFOjPdoNipQ==", "dev": true, + "license": "MIT", "dependencies": { "@jest/console": "^29.7.0", "@jest/environment": "^29.7.0", @@ -11721,6 +12038,7 @@ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, + "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, @@ -11736,6 +12054,7 @@ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -11752,6 +12071,7 @@ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, + "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, @@ -11763,13 +12083,15 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/jest-runner/node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -11779,6 +12101,7 @@ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -11791,6 +12114,7 @@ "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-29.7.0.tgz", "integrity": "sha512-gUnLjgwdGqW7B4LvOIkbKs9WGbn+QLqRQQ9juC6HndeDiezIwhDP+mhMwHWCEcfQ5RUXa6OPnFF8BJh5xegwwQ==", "dev": true, + "license": "MIT", "dependencies": { "@jest/environment": "^29.7.0", "@jest/fake-timers": "^29.7.0", @@ -11824,6 +12148,7 @@ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, + "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, @@ -11839,6 +12164,7 @@ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -11855,6 +12181,7 @@ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, + "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, @@ -11866,13 +12193,15 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/jest-runtime/node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -11882,6 +12211,7 @@ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -11894,6 +12224,7 @@ "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-29.7.0.tgz", "integrity": "sha512-Rm0BMWtxBcioHr1/OX5YCP8Uov4riHvKPknOGs804Zg9JGZgmIBkbtlxJC/7Z4msKYVbIJtfU+tKb8xlYNfdkw==", "dev": true, + "license": "MIT", "dependencies": { "@babel/core": "^7.11.6", "@babel/generator": "^7.7.2", @@ -11925,6 +12256,7 @@ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, + "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, @@ -11940,6 +12272,7 @@ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -11956,6 +12289,7 @@ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, + "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, @@ -11967,37 +12301,25 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/jest-snapshot/node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, - "node_modules/jest-snapshot/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/jest-snapshot/node_modules/semver": { - "version": "7.6.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", - "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", + "version": "7.6.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz", + "integrity": "sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==", "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, + "license": "ISC", "bin": { "semver": "bin/semver.js" }, @@ -12010,6 +12332,7 @@ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -12017,17 +12340,12 @@ "node": ">=8" } }, - "node_modules/jest-snapshot/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, "node_modules/jest-util": { "version": "29.7.0", "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.7.0.tgz", "integrity": "sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA==", "dev": true, + "license": "MIT", "dependencies": { "@jest/types": "^29.6.3", "@types/node": "*", @@ -12045,6 +12363,7 @@ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, + "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, @@ -12060,6 +12379,7 @@ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -12076,6 +12396,7 @@ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, + "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, @@ -12087,13 +12408,15 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/jest-util/node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -12103,6 +12426,7 @@ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -12115,6 +12439,7 @@ "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-29.7.0.tgz", "integrity": "sha512-ZB7wHqaRGVw/9hST/OuFUReG7M8vKeq0/J2egIGLdvjHCmYqGARhzXmtgi+gVeZ5uXFF219aOc3Ls2yLg27tkw==", "dev": true, + "license": "MIT", "dependencies": { "@jest/types": "^29.6.3", "camelcase": "^6.2.0", @@ -12132,6 +12457,7 @@ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, + "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, @@ -12147,6 +12473,7 @@ "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" }, @@ -12159,6 +12486,7 @@ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -12175,6 +12503,7 @@ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, + "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, @@ -12186,13 +12515,15 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/jest-validate/node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -12202,6 +12533,7 @@ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -12214,6 +12546,7 @@ "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-29.7.0.tgz", "integrity": "sha512-49Fg7WXkU3Vl2h6LbLtMQ/HyB6rXSIX7SqvBLQmssRBGN9I0PNvPmAmCWSOY6SOvrjhI/F7/bGAv9RtnsPA03g==", "dev": true, + "license": "MIT", "dependencies": { "@jest/test-result": "^29.7.0", "@jest/types": "^29.6.3", @@ -12233,6 +12566,7 @@ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, + "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, @@ -12248,6 +12582,7 @@ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -12264,6 +12599,7 @@ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, + "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, @@ -12275,13 +12611,15 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/jest-watcher/node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -12291,6 +12629,7 @@ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -12303,6 +12642,7 @@ "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-29.7.0.tgz", "integrity": "sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==", "dev": true, + "license": "MIT", "dependencies": { "@types/node": "*", "jest-util": "^29.7.0", @@ -12318,6 +12658,7 @@ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -12327,6 +12668,7 @@ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -12342,6 +12684,7 @@ "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.6.tgz", "integrity": "sha512-2yTgeWTWzMWkHu6Jp9NKgePDaYHbntiwvYuuJLbbN9vl7DC9DvXKOB2BC3ZZ92D3cvV/aflH0osDfwpHepQ53w==", "dev": true, + "license": "MIT", "bin": { "jiti": "bin/jiti.js" } @@ -12351,6 +12694,7 @@ "resolved": "https://registry.npmjs.org/joycon/-/joycon-3.1.1.tgz", "integrity": "sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" } @@ -12359,13 +12703,15 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/js-yaml": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", "dev": true, + "license": "MIT", "dependencies": { "argparse": "^2.0.1" }, @@ -12378,6 +12724,7 @@ "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-20.0.3.tgz", "integrity": "sha512-SYhBvTh89tTfCD/CRdSOm13mOBa42iTaTyfyEWBdKcGdPxPtLFBXuHR8XHb33YNYaP+lLbmSvBTsnoesCNJEsQ==", "dev": true, + "license": "MIT", "dependencies": { "abab": "^2.0.6", "acorn": "^8.8.1", @@ -12423,6 +12770,7 @@ "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", "dev": true, + "license": "MIT", "bin": { "jsesc": "bin/jsesc" }, @@ -12434,43 +12782,43 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/json-parse-better-errors": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/json-parse-even-better-errors": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/json-schema-traverse": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/json-stable-stringify-without-jsonify": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", - "dev": true - }, - "node_modules/json-stringify-safe": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", - "integrity": "sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/json5": { "version": "2.2.3", "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", "dev": true, + "license": "MIT", "bin": { "json5": "lib/cli.js" }, @@ -12478,16 +12826,11 @@ "node": ">=6" } }, - "node_modules/jsonc-parser": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.1.tgz", - "integrity": "sha512-AilxAyFOAcK5wA1+LeaySVBrHsGQvUFCDWXKpZjzaL0PqW+xfBOttn8GNtWKFWqneyMZj41MWF9Kl6iPWLwgOA==", - "dev": true - }, "node_modules/jsonfile": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "license": "MIT", "dependencies": { "universalify": "^2.0.0" }, @@ -12502,13 +12845,15 @@ "dev": true, "engines": [ "node >= 0.2.0" - ] + ], + "license": "MIT" }, "node_modules/JSONStream": { "version": "1.3.5", "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz", "integrity": "sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==", "dev": true, + "license": "(MIT OR Apache-2.0)", "dependencies": { "jsonparse": "^1.2.0", "through": ">=2.2.7 <3" @@ -12520,17 +12865,12 @@ "node": "*" } }, - "node_modules/keyboard-key": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/keyboard-key/-/keyboard-key-1.1.0.tgz", - "integrity": "sha512-qkBzPTi3rlAKvX7k0/ub44sqOfXeLc/jcnGGmj5c7BJpU8eDrEVPyhCvNYAaoubbsLm9uGWwQJO1ytQK1a9/dQ==", - "dev": true - }, "node_modules/keyv": { "version": "4.5.4", "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", "dev": true, + "license": "MIT", "dependencies": { "json-buffer": "3.0.1" } @@ -12540,6 +12880,7 @@ "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } @@ -12549,222 +12890,108 @@ "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", "integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } }, - "node_modules/levn": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", - "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", - "dev": true, - "dependencies": { - "prelude-ls": "^1.2.1", - "type-check": "~0.4.0" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/lilconfig": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.0.0.tgz", - "integrity": "sha512-K2U4W2Ff5ibV7j7ydLr+zLAkIg5JJ4lPn1Ltsdt+Tz/IjQ8buJ55pZAxoP34lqIiwtF9iAvtLv3JGv7CAyAg+g==", - "dev": true, - "engines": { - "node": ">=14" - } - }, - "node_modules/lines-and-columns": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", - "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", - "dev": true - }, - "node_modules/lint-staged": { - "version": "15.2.2", - "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-15.2.2.tgz", - "integrity": "sha512-TiTt93OPh1OZOsb5B7k96A/ATl2AjIZo+vnzFZ6oHK5FuTk63ByDtxGQpHm+kFETjEWqgkF95M8FRXKR/LEBcw==", - "dev": true, - "dependencies": { - "chalk": "5.3.0", - "commander": "11.1.0", - "debug": "4.3.4", - "execa": "8.0.1", - "lilconfig": "3.0.0", - "listr2": "8.0.1", - "micromatch": "4.0.5", - "pidtree": "0.6.0", - "string-argv": "0.3.2", - "yaml": "2.3.4" - }, - "bin": { - "lint-staged": "bin/lint-staged.js" - }, - "engines": { - "node": ">=18.12.0" - }, - "funding": { - "url": "https://opencollective.com/lint-staged" - } - }, - "node_modules/lint-staged/node_modules/chalk": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz", - "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==", - "dev": true, - "engines": { - "node": "^12.17.0 || ^14.13 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/lint-staged/node_modules/execa": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/execa/-/execa-8.0.1.tgz", - "integrity": "sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==", - "dev": true, - "dependencies": { - "cross-spawn": "^7.0.3", - "get-stream": "^8.0.1", - "human-signals": "^5.0.0", - "is-stream": "^3.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^5.1.0", - "onetime": "^6.0.0", - "signal-exit": "^4.1.0", - "strip-final-newline": "^3.0.0" - }, - "engines": { - "node": ">=16.17" - }, - "funding": { - "url": "https://github.com/sindresorhus/execa?sponsor=1" - } - }, - "node_modules/lint-staged/node_modules/get-stream": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-8.0.1.tgz", - "integrity": "sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==", - "dev": true, - "engines": { - "node": ">=16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/lint-staged/node_modules/human-signals": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-5.0.0.tgz", - "integrity": "sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==", - "dev": true, - "engines": { - "node": ">=16.17.0" - } - }, - "node_modules/lint-staged/node_modules/is-stream": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz", - "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==", - "dev": true, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/lint-staged/node_modules/mimic-fn": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz", - "integrity": "sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/lint-staged/node_modules/npm-run-path": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.3.0.tgz", - "integrity": "sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ==", - "dev": true, - "dependencies": { - "path-key": "^4.0.0" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/lint-staged/node_modules/onetime": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-6.0.0.tgz", - "integrity": "sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==", + "node_modules/levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", "dev": true, + "license": "MIT", "dependencies": { - "mimic-fn": "^4.0.0" + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" }, "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">= 0.8.0" } }, - "node_modules/lint-staged/node_modules/path-key": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz", - "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==", + "node_modules/lilconfig": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.2.tgz", + "integrity": "sha512-eop+wDAvpItUys0FWkHIKeC9ybYrTGbU41U5K7+bttZZeohvnY7M9dZ5kB21GNWiFT2q1OoPTvncPCgSOVO5ow==", "dev": true, + "license": "MIT", "engines": { - "node": ">=12" + "node": ">=14" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://github.com/sponsors/antonk52" } }, - "node_modules/lint-staged/node_modules/signal-exit": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", - "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "node_modules/lines-and-columns": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", + "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", "dev": true, + "license": "MIT" + }, + "node_modules/linkify-it": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-5.0.0.tgz", + "integrity": "sha512-5aHCbzQRADcdP+ATqnDuhhJ/MRIqDkZX5pyjFHRRysS8vZ5AbqGEoFIb6pYHPZ+L/OC2Lc+xT8uHVVR5CAK/wQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "uc.micro": "^2.0.0" + } + }, + "node_modules/lint-staged": { + "version": "15.2.7", + "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-15.2.7.tgz", + "integrity": "sha512-+FdVbbCZ+yoh7E/RosSdqKJyUM2OEjTciH0TFNkawKgvFp1zbGlEC39RADg+xKBG1R4mhoH2j85myBQZ5wR+lw==", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "~5.3.0", + "commander": "~12.1.0", + "debug": "~4.3.4", + "execa": "~8.0.1", + "lilconfig": "~3.1.1", + "listr2": "~8.2.1", + "micromatch": "~4.0.7", + "pidtree": "~0.6.0", + "string-argv": "~0.3.2", + "yaml": "~2.4.2" + }, + "bin": { + "lint-staged": "bin/lint-staged.js" + }, "engines": { - "node": ">=14" + "node": ">=18.12.0" }, "funding": { - "url": "https://github.com/sponsors/isaacs" + "url": "https://opencollective.com/lint-staged" } }, - "node_modules/lint-staged/node_modules/strip-final-newline": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-3.0.0.tgz", - "integrity": "sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==", + "node_modules/lint-staged/node_modules/chalk": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz", + "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==", "dev": true, + "license": "MIT", "engines": { - "node": ">=12" + "node": "^12.17.0 || ^14.13 || >=16.0.0" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://github.com/chalk/chalk?sponsor=1" } }, "node_modules/listr2": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/listr2/-/listr2-8.0.1.tgz", - "integrity": "sha512-ovJXBXkKGfq+CwmKTjluEqFi3p4h8xvkxGQQAQan22YCgef4KZ1mKGjzfGh6PL6AW5Csw0QiQPNuQyH+6Xk3hA==", + "version": "8.2.3", + "resolved": "https://registry.npmjs.org/listr2/-/listr2-8.2.3.tgz", + "integrity": "sha512-Lllokma2mtoniUOS94CcOErHWAug5iu7HOmDrvWgpw8jyQH2fomgB+7lZS4HWZxytUuQwkGOwe49FvwVaA85Xw==", "dev": true, + "license": "MIT", "dependencies": { "cli-truncate": "^4.0.0", "colorette": "^2.0.20", "eventemitter3": "^5.0.1", "log-update": "^6.0.0", - "rfdc": "^1.3.0", + "rfdc": "^1.4.1", "wrap-ansi": "^9.0.0" }, "engines": { @@ -12776,6 +13003,7 @@ "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz", "integrity": "sha512-Kx8hMakjX03tiGTLAIdJ+lL0htKnXjEZN6hk/tozf/WOuYGdZBJrZ+rCJRbVCugsjB3jMLn9746NsQIf5VjBMw==", "dev": true, + "license": "MIT", "dependencies": { "graceful-fs": "^4.1.2", "parse-json": "^4.0.0", @@ -12791,6 +13019,7 @@ "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", "integrity": "sha512-aOIos8bujGN93/8Ox/jPLh7RwVnPEysynVFE+fQZyg6jKELEHwzgKdLRFHUgXJL6kylijVSBC4BvN9OmsB48Rw==", "dev": true, + "license": "MIT", "dependencies": { "error-ex": "^1.3.1", "json-parse-better-errors": "^1.0.1" @@ -12804,6 +13033,7 @@ "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } @@ -12813,20 +13043,22 @@ "resolved": "https://registry.npmjs.org/load-tsconfig/-/load-tsconfig-0.2.5.tgz", "integrity": "sha512-IXO6OCs9yg8tMKzfPZ1YmheJbZCiEsnBdcB03l0OcfK9prKnJb96siuHCr5Fl37/yo9DnKU+TLpxzTUspw9shg==", "dev": true, + "license": "MIT", "engines": { "node": "^12.20.0 || ^14.13.1 || >=16.0.0" } }, "node_modules/locate-path": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", - "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-7.2.0.tgz", + "integrity": "sha512-gvVijfZvn7R+2qyPX8mAuKcFGDf6Nc61GdvGafQsHL0sBIxfKzA+usWn4GFC/bk+QdwPUD4kWFJLhElipq+0VA==", "dev": true, + "license": "MIT", "dependencies": { - "p-locate": "^5.0.0" + "p-locate": "^6.0.0" }, "engines": { - "node": ">=10" + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -12836,109 +13068,127 @@ "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/lodash-es": { "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz", "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/lodash.camelcase": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", "integrity": "sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/lodash.capitalize": { "version": "4.2.1", "resolved": "https://registry.npmjs.org/lodash.capitalize/-/lodash.capitalize-4.2.1.tgz", "integrity": "sha512-kZzYOKspf8XVX5AvmQF94gQW0lejFVgb80G85bU4ZWzoJ6C03PQg3coYAUpSTpQWelrZELd3XWgHzw4Ck5kaIw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/lodash.debounce": { "version": "4.0.8", "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", "integrity": "sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/lodash.escaperegexp": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/lodash.escaperegexp/-/lodash.escaperegexp-4.1.2.tgz", "integrity": "sha512-TM9YBvyC84ZxE3rgfefxUWiQKLilstD6k7PTGt6wfbtXF8ixIJLOL3VYyV/z+ZiPLsVxAsKAFVwWlWeb2Y8Yyw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/lodash.isplainobject": { "version": "4.0.6", "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", "integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/lodash.isstring": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", "integrity": "sha512-0wJxfxH1wgO3GrbuP+dTTk7op+6L41QCXbGINEmD+ny/G/eCqGzxyCsh7159S+mgDDcoarnBw6PC1PS5+wUGgw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/lodash.kebabcase": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/lodash.kebabcase/-/lodash.kebabcase-4.1.1.tgz", "integrity": "sha512-N8XRTIMMqqDgSy4VLKPnJ/+hpGZN+PHQiJnSenYqPaVV/NCqEogTnAdZLQiGKhxX+JCs8waWq2t1XHWKOmlY8g==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/lodash.merge": { "version": "4.6.2", "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/lodash.mergewith": { "version": "4.6.2", "resolved": "https://registry.npmjs.org/lodash.mergewith/-/lodash.mergewith-4.6.2.tgz", "integrity": "sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/lodash.snakecase": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/lodash.snakecase/-/lodash.snakecase-4.1.1.tgz", "integrity": "sha512-QZ1d4xoBHYUeuouhEq3lk3Uq7ldgyFXGBhg04+oRLnIz8o9T65Eh+8YdroUwn846zchkA9yDsDl5CVVaV2nqYw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/lodash.sortby": { "version": "4.7.0", "resolved": "https://registry.npmjs.org/lodash.sortby/-/lodash.sortby-4.7.0.tgz", "integrity": "sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/lodash.startcase": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/lodash.startcase/-/lodash.startcase-4.4.0.tgz", "integrity": "sha512-+WKqsK294HMSc2jEbNgpHpd0JfIBhp7rEV4aqXWqFr6AlXov+SlcgB1Fv01y2kGe3Gc8nMW7VA0SrGuSkRfIEg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/lodash.uniq": { "version": "4.5.0", "resolved": "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz", "integrity": "sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/lodash.uniqby": { "version": "4.7.0", "resolved": "https://registry.npmjs.org/lodash.uniqby/-/lodash.uniqby-4.7.0.tgz", "integrity": "sha512-e/zcLx6CSbmaEgFHCA7BnoQKyCtKMxnuWrJygbwPs/AIn+IMKl66L8/s+wBUn5LRw2pZx3bUHibiV1b6aTWIww==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/lodash.upperfirst": { "version": "4.3.1", "resolved": "https://registry.npmjs.org/lodash.upperfirst/-/lodash.upperfirst-4.3.1.tgz", "integrity": "sha512-sReKOYJIJf74dhJONhU4e0/shzi1trVbSWDOhKYE5XV2O+H7Sb2Dihwuc7xWxVl+DgFPyTqIN3zMfT9cq5iWDg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/log-update": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/log-update/-/log-update-6.0.0.tgz", "integrity": "sha512-niTvB4gqvtof056rRIrTZvjNYE4rCUzO6X/X+kYjd7WFxXeJ0NwEFnRxX6ehkvv3jTwrXnNdtAak5XYZuIyPFw==", "dev": true, + "license": "MIT", "dependencies": { "ansi-escapes": "^6.2.0", "cli-cursor": "^4.0.0", @@ -12958,6 +13208,7 @@ "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-6.2.1.tgz", "integrity": "sha512-4nJ3yixlEthEJ9Rk4vPcdBRkZvQZlYyu8j4/Mqz5sgIkddmEnH2Yj2ZrnP9S3tQOvSNRUIgVNF/1yPpRAGNRig==", "dev": true, + "license": "MIT", "engines": { "node": ">=14.16" }, @@ -12970,6 +13221,7 @@ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -12982,6 +13234,7 @@ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -12994,6 +13247,7 @@ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-5.0.0.tgz", "integrity": "sha512-OVa3u9kkBbw7b8Xw5F9P+D/T9X+Z4+JruYVNapTjPYZYUznQ5YfWeFkOj606XYYW8yugTfC8Pj0hYqvi4ryAhA==", "dev": true, + "license": "MIT", "dependencies": { "get-east-asian-width": "^1.0.0" }, @@ -13009,6 +13263,7 @@ "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-7.1.0.tgz", "integrity": "sha512-bSiSngZ/jWeX93BqeIAbImyTbEihizcwNjFoRUIY/T1wWQsfsm2Vw1agPKylXvQTU7iASGdHhyqRlqQzfz+Htg==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^6.2.1", "is-fullwidth-code-point": "^5.0.0" @@ -13025,6 +13280,7 @@ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", "dev": true, + "license": "MIT", "dependencies": { "ansi-regex": "^6.0.1" }, @@ -13035,28 +13291,18 @@ "url": "https://github.com/chalk/strip-ansi?sponsor=1" } }, - "node_modules/loose-envify": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", - "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", - "dev": true, - "dependencies": { - "js-tokens": "^3.0.0 || ^4.0.0" - }, - "bin": { - "loose-envify": "cli.js" - } - }, "node_modules/lossless-json": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/lossless-json/-/lossless-json-4.0.1.tgz", - "integrity": "sha512-l0L+ppmgPDnb+JGxNLndPtJZGNf6+ZmVaQzoxQm3u6TXmhdnsA+YtdVR8DjzZd/em58686CQhOFDPewfJ4l7MA==" + "integrity": "sha512-l0L+ppmgPDnb+JGxNLndPtJZGNf6+ZmVaQzoxQm3u6TXmhdnsA+YtdVR8DjzZd/em58686CQhOFDPewfJ4l7MA==", + "license": "MIT" }, "node_modules/lru-cache": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", "dev": true, + "license": "ISC", "dependencies": { "yallist": "^3.0.2" } @@ -13065,13 +13311,15 @@ "version": "2.3.9", "resolved": "https://registry.npmjs.org/lunr/-/lunr-2.3.9.tgz", "integrity": "sha512-zTU3DaZaF3Rt9rhN3uBMGQD3dD2/vFQqnvZCDv4dl5iOzq2IZQqTxu90r4E5J+nP70J3ilqVCrbho2eWaeW8Ow==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/make-dir": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-4.0.0.tgz", "integrity": "sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==", "dev": true, + "license": "MIT", "dependencies": { "semver": "^7.5.3" }, @@ -13082,26 +13330,12 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/make-dir/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/make-dir/node_modules/semver": { - "version": "7.6.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", - "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", + "version": "7.6.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz", + "integrity": "sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==", "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, + "license": "ISC", "bin": { "semver": "bin/semver.js" }, @@ -13109,26 +13343,40 @@ "node": ">=10" } }, - "node_modules/make-dir/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, "node_modules/makeerror": { "version": "1.0.12", "resolved": "https://registry.npmjs.org/makeerror/-/makeerror-1.0.12.tgz", "integrity": "sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "tmpl": "1.0.5" } }, + "node_modules/markdown-it": { + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-14.1.0.tgz", + "integrity": "sha512-a54IwgWPaeBCAAsv13YgmALOF1elABB08FxO9i+r4VFk5Vl4pKokRPeX8u5TCgSsPi6ec1otfLjdOpVcgbpshg==", + "dev": true, + "license": "MIT", + "dependencies": { + "argparse": "^2.0.1", + "entities": "^4.4.0", + "linkify-it": "^5.0.0", + "mdurl": "^2.0.0", + "punycode.js": "^2.3.1", + "uc.micro": "^2.1.0" + }, + "bin": { + "markdown-it": "bin/markdown-it.mjs" + } + }, "node_modules/marked": { - "version": "12.0.1", - "resolved": "https://registry.npmjs.org/marked/-/marked-12.0.1.tgz", - "integrity": "sha512-Y1/V2yafOcOdWQCX0XpAKXzDakPOpn6U0YLxTJs3cww6VxOzZV1BTOOYWLvH3gX38cq+iLwljHHTnMtlDfg01Q==", + "version": "12.0.2", + "resolved": "https://registry.npmjs.org/marked/-/marked-12.0.2.tgz", + "integrity": "sha512-qXUm7e/YKFoqFPYPa3Ukg9xlI5cyAtGmyEIzMfW//m6kXwCy2Ps9DYf5ioijFKQ8qyuscrHoY04iJGctu2Kg0Q==", "dev": true, + "license": "MIT", "bin": { "marked": "bin/marked.js" }, @@ -13137,15 +13385,16 @@ } }, "node_modules/marked-terminal": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/marked-terminal/-/marked-terminal-7.0.0.tgz", - "integrity": "sha512-sNEx8nn9Ktcm6pL0TnRz8tnXq/mSS0Q1FRSwJOAqw4lAB4l49UeDf85Gm1n9RPFm5qurCPjwi1StAQT2XExhZw==", + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/marked-terminal/-/marked-terminal-7.1.0.tgz", + "integrity": "sha512-+pvwa14KZL74MVXjYdPR3nSInhGhNvPce/3mqLVZT2oUvt654sL1XImFuLZ1pkA866IYZ3ikDTOFUIC7XzpZZg==", "dev": true, + "license": "MIT", "dependencies": { - "ansi-escapes": "^6.2.0", + "ansi-escapes": "^7.0.0", "chalk": "^5.3.0", "cli-highlight": "^2.1.11", - "cli-table3": "^0.6.3", + "cli-table3": "^0.6.5", "node-emoji": "^2.1.3", "supports-hyperlinks": "^3.0.0" }, @@ -13153,16 +13402,20 @@ "node": ">=16.0.0" }, "peerDependencies": { - "marked": ">=1 <13" + "marked": ">=1 <14" } }, "node_modules/marked-terminal/node_modules/ansi-escapes": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-6.2.1.tgz", - "integrity": "sha512-4nJ3yixlEthEJ9Rk4vPcdBRkZvQZlYyu8j4/Mqz5sgIkddmEnH2Yj2ZrnP9S3tQOvSNRUIgVNF/1yPpRAGNRig==", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-7.0.0.tgz", + "integrity": "sha512-GdYO7a61mR0fOlAsvC9/rIHf7L96sBc6dEWzeOu+KAea5bZyQRPIpojrVoI4AXGJS/ycu/fBTdLrUkA4ODrvjw==", "dev": true, + "license": "MIT", + "dependencies": { + "environment": "^1.0.0" + }, "engines": { - "node": ">=14.16" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -13173,6 +13426,7 @@ "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz", "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==", "dev": true, + "license": "MIT", "engines": { "node": "^12.17.0 || ^14.13 || >=16.0.0" }, @@ -13180,13 +13434,21 @@ "url": "https://github.com/chalk/chalk?sponsor=1" } }, + "node_modules/mdurl": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/mdurl/-/mdurl-2.0.0.tgz", + "integrity": "sha512-Lf+9+2r+Tdp5wXDXC4PcIBjTDtq4UKjCPMQhKIuzpJNW0b96kVqSwW0bT7FhRSfmAiFYgP+SCRvdrDozfh0U5w==", + "dev": true, + "license": "MIT" + }, "node_modules/meow": { - "version": "12.1.1", - "resolved": "https://registry.npmjs.org/meow/-/meow-12.1.1.tgz", - "integrity": "sha512-BhXM0Au22RwUneMPwSCnyhTOizdWoIEPU9sp0Aqa1PnDMR5Wv2FGXYDjuzJEIX+Eo2Rb8xuYe5jrnm5QowQFkw==", + "version": "13.2.0", + "resolved": "https://registry.npmjs.org/meow/-/meow-13.2.0.tgz", + "integrity": "sha512-pxQJQzB6djGPXh08dacEloMFopsOqGVRKFPYvPOt9XDZ1HasbgDZA74CJGreSU4G3Ak7EFJGoiH2auq+yXISgA==", "dev": true, + "license": "MIT", "engines": { - "node": ">=16.10" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -13196,24 +13458,27 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/merge2": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", "dev": true, + "license": "MIT", "engines": { "node": ">= 8" } }, "node_modules/micromatch": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", - "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.7.tgz", + "integrity": "sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q==", "dev": true, + "license": "MIT", "dependencies": { - "braces": "^3.0.2", + "braces": "^3.0.3", "picomatch": "^2.3.1" }, "engines": { @@ -13221,13 +13486,14 @@ } }, "node_modules/mime": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/mime/-/mime-4.0.1.tgz", - "integrity": "sha512-5lZ5tyrIfliMXzFtkYyekWbtRXObT9OWa8IwQ5uxTBDHucNNwniRqo0yInflj+iYi5CBa6qxadGzGarDfuEOxA==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/mime/-/mime-4.0.3.tgz", + "integrity": "sha512-KgUb15Oorc0NEKPbvfa0wRU+PItIEZmiv+pyAO2i0oTIVTJhlzMclU7w4RXWQrSOVH5ax/p/CkIO7KI4OyFJTQ==", "dev": true, "funding": [ "https://github.com/sponsors/broofa" ], + "license": "MIT", "bin": { "mime": "bin/cli.js" }, @@ -13240,6 +13506,7 @@ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.6" } @@ -13249,6 +13516,7 @@ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", "dev": true, + "license": "MIT", "dependencies": { "mime-db": "1.52.0" }, @@ -13257,19 +13525,24 @@ } }, "node_modules/mimic-fn": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", - "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz", + "integrity": "sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==", "dev": true, + "license": "MIT", "engines": { - "node": ">=6" + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/minimatch": { - "version": "9.0.3", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", - "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", "dev": true, + "license": "ISC", "dependencies": { "brace-expansion": "^2.0.1" }, @@ -13285,15 +13558,17 @@ "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", "dev": true, + "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/minipass": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", - "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==", + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", "dev": true, + "license": "ISC", "engines": { "node": ">=16 || 14 >=14.17" } @@ -13302,50 +13577,34 @@ "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/mz": { "version": "2.7.0", "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz", "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==", "dev": true, + "license": "MIT", "dependencies": { "any-promise": "^1.0.0", "object-assign": "^4.0.1", "thenify-all": "^1.0.0" } }, - "node_modules/nanoid": { - "version": "3.3.7", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", - "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "optional": true, - "peer": true, - "bin": { - "nanoid": "bin/nanoid.cjs" - }, - "engines": { - "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" - } - }, "node_modules/natural-compare": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/ncp": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ncp/-/ncp-2.0.0.tgz", "integrity": "sha512-zIdGUrPRFTUELUvr3Gmc7KZ2Sw/h1PiVM0Af/oHB6zgnV1ikqSfRk+TOufi79aHYCW3NiOXmr1BP5nWbzojLaA==", "dev": true, + "license": "MIT", "bin": { "ncp": "bin/ncp" } @@ -13354,19 +13613,22 @@ "version": "2.6.2", "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/nerf-dart": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/nerf-dart/-/nerf-dart-1.0.0.tgz", "integrity": "sha512-EZSPZB70jiVsivaBLYDCyntd5eH8NTSMOn3rB+HxwdmKThGELLdYv8qVIMWvZEFy9w8ZZpW9h9OB32l1rGtj7g==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/node-emoji": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/node-emoji/-/node-emoji-2.1.3.tgz", "integrity": "sha512-E2WEOVsgs7O16zsURJ/eH8BqhF029wGpEOnv7Urwdo2wmQanOACwJQh0devF9D9RhoZru0+9JXIS0dBXIAz+lA==", "dev": true, + "license": "MIT", "dependencies": { "@sindresorhus/is": "^4.6.0", "char-regex": "^1.0.2", @@ -13381,6 +13643,7 @@ "version": "2.7.0", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", + "license": "MIT", "dependencies": { "whatwg-url": "^5.0.0" }, @@ -13399,17 +13662,20 @@ "node_modules/node-fetch/node_modules/tr46": { "version": "0.0.3", "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" + "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", + "license": "MIT" }, "node_modules/node-fetch/node_modules/webidl-conversions": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" + "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", + "license": "BSD-2-Clause" }, "node_modules/node-fetch/node_modules/whatwg-url": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", + "license": "MIT", "dependencies": { "tr46": "~0.0.3", "webidl-conversions": "^3.0.0" @@ -13419,49 +13685,37 @@ "version": "0.4.0", "resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz", "integrity": "sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/node-releases": { "version": "2.0.14", "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.14.tgz", "integrity": "sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/normalize-package-data": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-6.0.0.tgz", - "integrity": "sha512-UL7ELRVxYBHBgYEtZCXjxuD5vPxnmvMGq0jp/dGPKKrN7tfsBh2IY7TlJ15WWwdjRWD3RJbnsygUurTK3xkPkg==", + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-6.0.2.tgz", + "integrity": "sha512-V6gygoYb/5EmNI+MEGrWkC+e6+Rr7mTmfHrxDbLzxQogBkgzo76rkok0Am6thgSF7Mv2nLOajAJj5vDJZEFn7g==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "hosted-git-info": "^7.0.0", - "is-core-module": "^2.8.1", "semver": "^7.3.5", - "validate-npm-package-license": "^3.0.4" - }, - "engines": { - "node": "^16.14.0 || >=18.0.0" - } - }, - "node_modules/normalize-package-data/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" + "validate-npm-package-license": "^3.0.4" }, "engines": { - "node": ">=10" + "node": "^16.14.0 || >=18.0.0" } }, "node_modules/normalize-package-data/node_modules/semver": { - "version": "7.6.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", - "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", + "version": "7.6.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz", + "integrity": "sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==", "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, + "license": "ISC", "bin": { "semver": "bin/semver.js" }, @@ -13469,17 +13723,12 @@ "node": ">=10" } }, - "node_modules/normalize-package-data/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, "node_modules/normalize-path": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } @@ -13489,6 +13738,7 @@ "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-8.0.1.tgz", "integrity": "sha512-IO9QvjUMWxPQQhs60oOu10CRkWCiZzSUkzbXGGV9pviYl1fXYcvkzQ5jV9z8Y6un8ARoVRl4EtC6v6jNqbaJ/w==", "dev": true, + "license": "MIT", "engines": { "node": ">=14.16" }, @@ -13497,9 +13747,9 @@ } }, "node_modules/npm": { - "version": "10.5.2", - "resolved": "https://registry.npmjs.org/npm/-/npm-10.5.2.tgz", - "integrity": "sha512-cHVG7QEJwJdZyOrK0dKX5uf3R5Fd0E8AcmSES1jLtO52UT1enUKZ96Onw/xwq4CbrTZEnDuu2Vf9kCQh/Sd12w==", + "version": "10.8.1", + "resolved": "https://registry.npmjs.org/npm/-/npm-10.8.1.tgz", + "integrity": "sha512-Dp1C6SvSMYQI7YHq/y2l94uvI+59Eqbu1EpuKQHQ8p16txXRuRit5gH3Lnaagk2aXDIjg/Iru9pd05bnneKgdw==", "bundleDependencies": [ "@isaacs/string-locale-compare", "@npmcli/arborist", @@ -13517,8 +13767,6 @@ "chalk", "ci-info", "cli-columns", - "cli-table3", - "columnify", "fastest-levenshtein", "fs-minipass", "glob", @@ -13554,7 +13802,6 @@ "npm-profile", "npm-registry-fetch", "npm-user-validate", - "npmlog", "p-map", "pacote", "parse-conflict-json", @@ -13574,76 +13821,81 @@ "write-file-atomic" ], "dev": true, + "license": "Artistic-2.0", + "workspaces": [ + "docs", + "smoke-tests", + "mock-globals", + "mock-registry", + "workspaces/*" + ], "dependencies": { "@isaacs/string-locale-compare": "^1.1.0", - "@npmcli/arborist": "^7.2.1", - "@npmcli/config": "^8.0.2", - "@npmcli/fs": "^3.1.0", + "@npmcli/arborist": "^7.5.3", + "@npmcli/config": "^8.3.3", + "@npmcli/fs": "^3.1.1", "@npmcli/map-workspaces": "^3.0.6", - "@npmcli/package-json": "^5.0.2", - "@npmcli/promise-spawn": "^7.0.1", - "@npmcli/redact": "^1.1.0", - "@npmcli/run-script": "^7.0.4", - "@sigstore/tuf": "^2.3.2", + "@npmcli/package-json": "^5.1.1", + "@npmcli/promise-spawn": "^7.0.2", + "@npmcli/redact": "^2.0.0", + "@npmcli/run-script": "^8.1.0", + "@sigstore/tuf": "^2.3.4", "abbrev": "^2.0.0", "archy": "~1.0.0", - "cacache": "^18.0.2", + "cacache": "^18.0.3", "chalk": "^5.3.0", "ci-info": "^4.0.0", "cli-columns": "^4.0.0", - "cli-table3": "^0.6.4", - "columnify": "^1.6.0", "fastest-levenshtein": "^1.0.16", "fs-minipass": "^3.0.3", - "glob": "^10.3.12", + "glob": "^10.4.1", "graceful-fs": "^4.2.11", - "hosted-git-info": "^7.0.1", - "ini": "^4.1.2", - "init-package-json": "^6.0.2", - "is-cidr": "^5.0.5", - "json-parse-even-better-errors": "^3.0.1", - "libnpmaccess": "^8.0.1", - "libnpmdiff": "^6.0.3", - "libnpmexec": "^7.0.4", - "libnpmfund": "^5.0.1", - "libnpmhook": "^10.0.0", - "libnpmorg": "^6.0.1", - "libnpmpack": "^6.0.3", - "libnpmpublish": "^9.0.2", - "libnpmsearch": "^7.0.0", - "libnpmteam": "^6.0.0", - "libnpmversion": "^5.0.1", - "make-fetch-happen": "^13.0.0", + "hosted-git-info": "^7.0.2", + "ini": "^4.1.3", + "init-package-json": "^6.0.3", + "is-cidr": "^5.1.0", + "json-parse-even-better-errors": "^3.0.2", + "libnpmaccess": "^8.0.6", + "libnpmdiff": "^6.1.3", + "libnpmexec": "^8.1.2", + "libnpmfund": "^5.0.11", + "libnpmhook": "^10.0.5", + "libnpmorg": "^6.0.6", + "libnpmpack": "^7.0.3", + "libnpmpublish": "^9.0.9", + "libnpmsearch": "^7.0.6", + "libnpmteam": "^6.0.5", + "libnpmversion": "^6.0.3", + "make-fetch-happen": "^13.0.1", "minimatch": "^9.0.4", - "minipass": "^7.0.4", + "minipass": "^7.1.1", "minipass-pipeline": "^1.2.4", "ms": "^2.1.2", "node-gyp": "^10.1.0", - "nopt": "^7.2.0", - "normalize-package-data": "^6.0.0", + "nopt": "^7.2.1", + "normalize-package-data": "^6.0.1", "npm-audit-report": "^5.0.0", "npm-install-checks": "^6.3.0", - "npm-package-arg": "^11.0.1", - "npm-pick-manifest": "^9.0.0", - "npm-profile": "^9.0.0", - "npm-registry-fetch": "^16.2.0", - "npm-user-validate": "^2.0.0", - "npmlog": "^7.0.1", + "npm-package-arg": "^11.0.2", + "npm-pick-manifest": "^9.0.1", + "npm-profile": "^10.0.0", + "npm-registry-fetch": "^17.0.1", + "npm-user-validate": "^2.0.1", "p-map": "^4.0.0", - "pacote": "^17.0.6", + "pacote": "^18.0.6", "parse-conflict-json": "^3.0.1", - "proc-log": "^3.0.0", + "proc-log": "^4.2.0", "qrcode-terminal": "^0.12.0", "read": "^3.0.1", - "semver": "^7.6.0", + "semver": "^7.6.2", "spdx-expression-parse": "^4.0.0", - "ssri": "^10.0.5", + "ssri": "^10.0.6", "supports-color": "^9.4.0", "tar": "^6.2.1", "text-table": "~0.2.0", "tiny-relative-date": "^1.3.0", "treeverse": "^3.0.0", - "validate-npm-package-name": "^5.0.0", + "validate-npm-package-name": "^5.0.1", "which": "^4.0.0", "write-file-atomic": "^5.0.1" }, @@ -13656,33 +13908,36 @@ } }, "node_modules/npm-run-path": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", - "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.3.0.tgz", + "integrity": "sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ==", "dev": true, + "license": "MIT", "dependencies": { - "path-key": "^3.0.0" + "path-key": "^4.0.0" }, "engines": { - "node": ">=8" + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/npm/node_modules/@colors/colors": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz", - "integrity": "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==", + "node_modules/npm-run-path/node_modules/path-key": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz", + "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==", "dev": true, - "inBundle": true, "license": "MIT", - "optional": true, "engines": { - "node": ">=0.1.90" + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/npm/node_modules/@isaacs/cliui": { "version": "8.0.2", - "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", - "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", "dev": true, "inBundle": true, "license": "ISC", @@ -13700,8 +13955,6 @@ }, "node_modules/npm/node_modules/@isaacs/cliui/node_modules/ansi-regex": { "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", - "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", "dev": true, "inBundle": true, "license": "MIT", @@ -13714,16 +13967,12 @@ }, "node_modules/npm/node_modules/@isaacs/cliui/node_modules/emoji-regex": { "version": "9.2.2", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", - "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/@isaacs/cliui/node_modules/string-width": { "version": "5.1.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", - "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", "dev": true, "inBundle": true, "license": "MIT", @@ -13741,8 +13990,6 @@ }, "node_modules/npm/node_modules/@isaacs/cliui/node_modules/strip-ansi": { "version": "7.1.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", - "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", "dev": true, "inBundle": true, "license": "MIT", @@ -13758,8 +14005,6 @@ }, "node_modules/npm/node_modules/@isaacs/string-locale-compare": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@isaacs/string-locale-compare/-/string-locale-compare-1.1.0.tgz", - "integrity": "sha512-SQ7Kzhh9+D+ZW9MA0zkYv3VXhIDNx+LzM6EJ+/65I3QY+enU6Itte7E5XX7EWrqLW2FN4n06GWzBnPoC3th2aQ==", "dev": true, "inBundle": true, "license": "ISC" @@ -13781,43 +14026,44 @@ } }, "node_modules/npm/node_modules/@npmcli/arborist": { - "version": "7.4.2", + "version": "7.5.3", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { "@isaacs/string-locale-compare": "^1.1.0", - "@npmcli/fs": "^3.1.0", - "@npmcli/installed-package-contents": "^2.0.2", + "@npmcli/fs": "^3.1.1", + "@npmcli/installed-package-contents": "^2.1.0", "@npmcli/map-workspaces": "^3.0.2", - "@npmcli/metavuln-calculator": "^7.0.0", + "@npmcli/metavuln-calculator": "^7.1.1", "@npmcli/name-from-folder": "^2.0.0", "@npmcli/node-gyp": "^3.0.0", - "@npmcli/package-json": "^5.0.0", + "@npmcli/package-json": "^5.1.0", "@npmcli/query": "^3.1.0", - "@npmcli/redact": "^1.1.0", - "@npmcli/run-script": "^7.0.2", - "bin-links": "^4.0.1", - "cacache": "^18.0.0", + "@npmcli/redact": "^2.0.0", + "@npmcli/run-script": "^8.1.0", + "bin-links": "^4.0.4", + "cacache": "^18.0.3", "common-ancestor-path": "^1.0.1", - "hosted-git-info": "^7.0.1", - "json-parse-even-better-errors": "^3.0.0", + "hosted-git-info": "^7.0.2", + "json-parse-even-better-errors": "^3.0.2", "json-stringify-nice": "^1.1.4", + "lru-cache": "^10.2.2", "minimatch": "^9.0.4", - "nopt": "^7.0.0", + "nopt": "^7.2.1", "npm-install-checks": "^6.2.0", - "npm-package-arg": "^11.0.1", - "npm-pick-manifest": "^9.0.0", - "npm-registry-fetch": "^16.2.0", - "npmlog": "^7.0.1", - "pacote": "^17.0.4", + "npm-package-arg": "^11.0.2", + "npm-pick-manifest": "^9.0.1", + "npm-registry-fetch": "^17.0.1", + "pacote": "^18.0.6", "parse-conflict-json": "^3.0.0", - "proc-log": "^3.0.0", + "proc-log": "^4.2.0", + "proggy": "^2.0.0", "promise-all-reject-late": "^1.0.0", "promise-call-limit": "^3.0.1", "read-package-json-fast": "^3.0.2", "semver": "^7.3.7", - "ssri": "^10.0.5", + "ssri": "^10.0.6", "treeverse": "^3.0.0", "walk-up-path": "^3.0.1" }, @@ -13829,7 +14075,7 @@ } }, "node_modules/npm/node_modules/@npmcli/config": { - "version": "8.2.2", + "version": "8.3.3", "dev": true, "inBundle": true, "license": "ISC", @@ -13837,8 +14083,8 @@ "@npmcli/map-workspaces": "^3.0.2", "ci-info": "^4.0.0", "ini": "^4.1.2", - "nopt": "^7.0.0", - "proc-log": "^3.0.0", + "nopt": "^7.2.1", + "proc-log": "^4.2.0", "read-package-json-fast": "^3.0.2", "semver": "^7.3.5", "walk-up-path": "^3.0.1" @@ -13847,35 +14093,8 @@ "node": "^16.14.0 || >=18.0.0" } }, - "node_modules/npm/node_modules/@npmcli/disparity-colors": { - "version": "3.0.0", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "ansi-styles": "^4.3.0" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/npm/node_modules/@npmcli/disparity-colors/node_modules/ansi-styles": { - "version": "4.3.0", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, "node_modules/npm/node_modules/@npmcli/fs": { - "version": "3.1.0", + "version": "3.1.1", "dev": true, "inBundle": true, "license": "ISC", @@ -13887,7 +14106,7 @@ } }, "node_modules/npm/node_modules/@npmcli/git": { - "version": "5.0.5", + "version": "5.0.7", "dev": true, "inBundle": true, "license": "ISC", @@ -13895,7 +14114,7 @@ "@npmcli/promise-spawn": "^7.0.0", "lru-cache": "^10.0.1", "npm-pick-manifest": "^9.0.0", - "proc-log": "^3.0.0", + "proc-log": "^4.0.0", "promise-inflight": "^1.0.1", "promise-retry": "^2.0.1", "semver": "^7.3.5", @@ -13906,7 +14125,7 @@ } }, "node_modules/npm/node_modules/@npmcli/installed-package-contents": { - "version": "2.0.2", + "version": "2.1.0", "dev": true, "inBundle": true, "license": "ISC", @@ -13915,7 +14134,7 @@ "npm-normalize-package-bin": "^3.0.0" }, "bin": { - "installed-package-contents": "lib/index.js" + "installed-package-contents": "bin/index.js" }, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" @@ -13937,14 +14156,15 @@ } }, "node_modules/npm/node_modules/@npmcli/metavuln-calculator": { - "version": "7.0.0", + "version": "7.1.1", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { "cacache": "^18.0.0", "json-parse-even-better-errors": "^3.0.0", - "pacote": "^17.0.0", + "pacote": "^18.0.0", + "proc-log": "^4.1.0", "semver": "^7.3.5" }, "engines": { @@ -13953,8 +14173,6 @@ }, "node_modules/npm/node_modules/@npmcli/name-from-folder": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@npmcli/name-from-folder/-/name-from-folder-2.0.0.tgz", - "integrity": "sha512-pwK+BfEBZJbKdNYpHHRTNBwBoqrN/iIMO0AiGvYsp3Hoaq0WbgGSWQR6SCldZovoDpY3yje5lkFUe6gsDgJ2vg==", "dev": true, "inBundle": true, "license": "ISC", @@ -13964,8 +14182,6 @@ }, "node_modules/npm/node_modules/@npmcli/node-gyp": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@npmcli/node-gyp/-/node-gyp-3.0.0.tgz", - "integrity": "sha512-gp8pRXC2oOxu0DUE1/M3bYtb1b3/DbJ5aM113+XJBgfXdussRAsX0YOrOhdd8WvnAR6auDBvJomGAkLKA5ydxA==", "dev": true, "inBundle": true, "license": "ISC", @@ -13974,7 +14190,7 @@ } }, "node_modules/npm/node_modules/@npmcli/package-json": { - "version": "5.0.2", + "version": "5.1.1", "dev": true, "inBundle": true, "license": "ISC", @@ -13984,7 +14200,7 @@ "hosted-git-info": "^7.0.0", "json-parse-even-better-errors": "^3.0.0", "normalize-package-data": "^6.0.0", - "proc-log": "^3.0.0", + "proc-log": "^4.0.0", "semver": "^7.5.3" }, "engines": { @@ -13992,7 +14208,7 @@ } }, "node_modules/npm/node_modules/@npmcli/promise-spawn": { - "version": "7.0.1", + "version": "7.0.2", "dev": true, "inBundle": true, "license": "ISC", @@ -14005,8 +14221,6 @@ }, "node_modules/npm/node_modules/@npmcli/query": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@npmcli/query/-/query-3.1.0.tgz", - "integrity": "sha512-C/iR0tk7KSKGldibYIB9x8GtO/0Bd0I2mhOaDb8ucQL/bQVTmGoeREaFj64Z5+iCBRf3dQfed0CjJL7I8iTkiQ==", "dev": true, "inBundle": true, "license": "ISC", @@ -14018,7 +14232,7 @@ } }, "node_modules/npm/node_modules/@npmcli/redact": { - "version": "1.1.0", + "version": "2.0.0", "dev": true, "inBundle": true, "license": "ISC", @@ -14027,7 +14241,7 @@ } }, "node_modules/npm/node_modules/@npmcli/run-script": { - "version": "7.0.4", + "version": "8.1.0", "dev": true, "inBundle": true, "license": "ISC", @@ -14036,6 +14250,7 @@ "@npmcli/package-json": "^5.0.0", "@npmcli/promise-spawn": "^7.0.0", "node-gyp": "^10.0.0", + "proc-log": "^4.0.0", "which": "^4.0.0" }, "engines": { @@ -14044,8 +14259,6 @@ }, "node_modules/npm/node_modules/@pkgjs/parseargs": { "version": "0.11.0", - "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", - "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", "dev": true, "inBundle": true, "license": "MIT", @@ -14055,12 +14268,12 @@ } }, "node_modules/npm/node_modules/@sigstore/bundle": { - "version": "2.3.1", + "version": "2.3.2", "dev": true, "inBundle": true, "license": "Apache-2.0", "dependencies": { - "@sigstore/protobuf-specs": "^0.3.1" + "@sigstore/protobuf-specs": "^0.3.2" }, "engines": { "node": "^16.14.0 || >=18.0.0" @@ -14076,7 +14289,7 @@ } }, "node_modules/npm/node_modules/@sigstore/protobuf-specs": { - "version": "0.3.1", + "version": "0.3.2", "dev": true, "inBundle": true, "license": "Apache-2.0", @@ -14085,42 +14298,44 @@ } }, "node_modules/npm/node_modules/@sigstore/sign": { - "version": "2.3.0", + "version": "2.3.2", "dev": true, "inBundle": true, "license": "Apache-2.0", "dependencies": { - "@sigstore/bundle": "^2.3.0", + "@sigstore/bundle": "^2.3.2", "@sigstore/core": "^1.0.0", - "@sigstore/protobuf-specs": "^0.3.1", - "make-fetch-happen": "^13.0.0" + "@sigstore/protobuf-specs": "^0.3.2", + "make-fetch-happen": "^13.0.1", + "proc-log": "^4.2.0", + "promise-retry": "^2.0.1" }, "engines": { "node": "^16.14.0 || >=18.0.0" } }, "node_modules/npm/node_modules/@sigstore/tuf": { - "version": "2.3.2", + "version": "2.3.4", "dev": true, "inBundle": true, "license": "Apache-2.0", "dependencies": { - "@sigstore/protobuf-specs": "^0.3.0", - "tuf-js": "^2.2.0" + "@sigstore/protobuf-specs": "^0.3.2", + "tuf-js": "^2.2.1" }, "engines": { "node": "^16.14.0 || >=18.0.0" } }, "node_modules/npm/node_modules/@sigstore/verify": { - "version": "1.2.0", + "version": "1.2.1", "dev": true, "inBundle": true, "license": "Apache-2.0", "dependencies": { - "@sigstore/bundle": "^2.3.1", + "@sigstore/bundle": "^2.3.2", "@sigstore/core": "^1.1.0", - "@sigstore/protobuf-specs": "^0.3.1" + "@sigstore/protobuf-specs": "^0.3.2" }, "engines": { "node": "^16.14.0 || >=18.0.0" @@ -14128,8 +14343,6 @@ }, "node_modules/npm/node_modules/@tufjs/canonical-json": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@tufjs/canonical-json/-/canonical-json-2.0.0.tgz", - "integrity": "sha512-yVtV8zsdo8qFHe+/3kw81dSLyF7D576A5cCFCi4X7B39tWT7SekaEFUnvnWJHz+9qO7qJTah1JbrDjWKqFtdWA==", "dev": true, "inBundle": true, "license": "MIT", @@ -14138,13 +14351,13 @@ } }, "node_modules/npm/node_modules/@tufjs/models": { - "version": "2.0.0", + "version": "2.0.1", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { "@tufjs/canonical-json": "2.0.0", - "minimatch": "^9.0.3" + "minimatch": "^9.0.4" }, "engines": { "node": "^16.14.0 || >=18.0.0" @@ -14152,8 +14365,6 @@ }, "node_modules/npm/node_modules/abbrev": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-2.0.0.tgz", - "integrity": "sha512-6/mh1E2u2YgEsCHdY0Yx5oW+61gZU+1vXaoiHHrpKeuRNNgFvS+/jrwHiQhB5apAf5oB7UB7E19ol2R2LKH8hQ==", "dev": true, "inBundle": true, "license": "ISC", @@ -14163,8 +14374,6 @@ }, "node_modules/npm/node_modules/agent-base": { "version": "7.1.1", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.1.tgz", - "integrity": "sha512-H0TSyFNDMomMNJQBn8wFV5YC/2eJ+VXECwOadZJT554xP6cODZHPX3H9QMQECxvrgiSOP1pHjy1sMWQVYJOUOA==", "dev": true, "inBundle": true, "license": "MIT", @@ -14177,8 +14386,6 @@ }, "node_modules/npm/node_modules/aggregate-error": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz", - "integrity": "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==", "dev": true, "inBundle": true, "license": "MIT", @@ -14192,8 +14399,6 @@ }, "node_modules/npm/node_modules/ansi-regex": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", "dev": true, "inBundle": true, "license": "MIT", @@ -14203,8 +14408,6 @@ }, "node_modules/npm/node_modules/ansi-styles": { "version": "6.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", - "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", "dev": true, "inBundle": true, "license": "MIT", @@ -14217,39 +14420,24 @@ }, "node_modules/npm/node_modules/aproba": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/aproba/-/aproba-2.0.0.tgz", - "integrity": "sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ==", "dev": true, "inBundle": true, "license": "ISC" }, "node_modules/npm/node_modules/archy": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/archy/-/archy-1.0.0.tgz", - "integrity": "sha512-Xg+9RwCg/0p32teKdGMPTPnVXKD0w3DfHnFTficozsAgsvq2XenPJq/MYpzzQ/v8zrOyJn6Ds39VA4JIDwFfqw==", "dev": true, "inBundle": true, "license": "MIT" }, - "node_modules/npm/node_modules/are-we-there-yet": { - "version": "4.0.2", - "dev": true, - "inBundle": true, - "license": "ISC", - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, "node_modules/npm/node_modules/balanced-match": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/bin-links": { - "version": "4.0.3", + "version": "4.0.4", "dev": true, "inBundle": true, "license": "ISC", @@ -14277,8 +14465,6 @@ }, "node_modules/npm/node_modules/brace-expansion": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", "dev": true, "inBundle": true, "license": "MIT", @@ -14286,17 +14472,8 @@ "balanced-match": "^1.0.0" } }, - "node_modules/npm/node_modules/builtins": { - "version": "5.1.0", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "semver": "^7.0.0" - } - }, "node_modules/npm/node_modules/cacache": { - "version": "18.0.2", + "version": "18.0.3", "dev": true, "inBundle": true, "license": "ISC", @@ -14320,8 +14497,6 @@ }, "node_modules/npm/node_modules/chalk": { "version": "5.3.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz", - "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==", "dev": true, "inBundle": true, "license": "MIT", @@ -14334,8 +14509,6 @@ }, "node_modules/npm/node_modules/chownr": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz", - "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==", "dev": true, "inBundle": true, "license": "ISC", @@ -14345,8 +14518,6 @@ }, "node_modules/npm/node_modules/ci-info": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-4.0.0.tgz", - "integrity": "sha512-TdHqgGf9odd8SXNuxtUBVx8Nv+qZOejE6qyqiy5NtbYYQOeFa6zmHkxlPzmaLxWWHsU6nJmB7AETdVPi+2NBUg==", "dev": true, "funding": [ { @@ -14361,7 +14532,7 @@ } }, "node_modules/npm/node_modules/cidr-regex": { - "version": "4.0.5", + "version": "4.1.1", "dev": true, "inBundle": true, "license": "BSD-2-Clause", @@ -14374,8 +14545,6 @@ }, "node_modules/npm/node_modules/clean-stack": { "version": "2.2.0", - "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", - "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==", "dev": true, "inBundle": true, "license": "MIT", @@ -14385,8 +14554,6 @@ }, "node_modules/npm/node_modules/cli-columns": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/cli-columns/-/cli-columns-4.0.0.tgz", - "integrity": "sha512-XW2Vg+w+L9on9wtwKpyzluIPCWXjaBahI7mTcYjx+BVIYD9c3yqcv/yKC7CmdCZat4rq2yiE1UMSJC5ivKfMtQ==", "dev": true, "inBundle": true, "license": "MIT", @@ -14398,32 +14565,8 @@ "node": ">= 10" } }, - "node_modules/npm/node_modules/cli-table3": { - "version": "0.6.4", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "string-width": "^4.2.0" - }, - "engines": { - "node": "10.* || >= 12.*" - }, - "optionalDependencies": { - "@colors/colors": "1.5.0" - } - }, - "node_modules/npm/node_modules/clone": { - "version": "1.0.4", - "dev": true, - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">=0.8" - } - }, "node_modules/npm/node_modules/cmd-shim": { - "version": "6.0.2", + "version": "6.0.3", "dev": true, "inBundle": true, "license": "ISC", @@ -14433,8 +14576,6 @@ }, "node_modules/npm/node_modules/color-convert": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, "inBundle": true, "license": "MIT", @@ -14447,52 +14588,18 @@ }, "node_modules/npm/node_modules/color-name": { "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dev": true, "inBundle": true, "license": "MIT" }, - "node_modules/npm/node_modules/color-support": { - "version": "1.1.3", - "dev": true, - "inBundle": true, - "license": "ISC", - "bin": { - "color-support": "bin.js" - } - }, - "node_modules/npm/node_modules/columnify": { - "version": "1.6.0", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "strip-ansi": "^6.0.1", - "wcwidth": "^1.0.0" - }, - "engines": { - "node": ">=8.0.0" - } - }, "node_modules/npm/node_modules/common-ancestor-path": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/common-ancestor-path/-/common-ancestor-path-1.0.1.tgz", - "integrity": "sha512-L3sHRo1pXXEqX8VU28kfgUY+YGsk09hPqZiZmLacNib6XNTCM8ubYeT7ryXQw8asB1sKgcU5lkB7ONug08aB8w==", - "dev": true, - "inBundle": true, - "license": "ISC" - }, - "node_modules/npm/node_modules/console-control-strings": { - "version": "1.1.0", "dev": true, "inBundle": true, "license": "ISC" }, "node_modules/npm/node_modules/cross-spawn": { "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", "dev": true, "inBundle": true, "license": "MIT", @@ -14507,8 +14614,6 @@ }, "node_modules/npm/node_modules/cross-spawn/node_modules/which": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", "dev": true, "inBundle": true, "license": "ISC", @@ -14524,8 +14629,6 @@ }, "node_modules/npm/node_modules/cssesc": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", - "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", "dev": true, "inBundle": true, "license": "MIT", @@ -14538,8 +14641,6 @@ }, "node_modules/npm/node_modules/debug": { "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", "dev": true, "inBundle": true, "license": "MIT", @@ -14557,28 +14658,12 @@ }, "node_modules/npm/node_modules/debug/node_modules/ms": { "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", "dev": true, "inBundle": true, "license": "MIT" }, - "node_modules/npm/node_modules/defaults": { - "version": "1.0.4", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "clone": "^1.0.2" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/npm/node_modules/diff": { "version": "5.2.0", - "resolved": "https://registry.npmjs.org/diff/-/diff-5.2.0.tgz", - "integrity": "sha512-uIFDxqpRZGZ6ThOk84hEfqWoHx2devRFvpTZcTHur85vImfaxUbTW9Ryh4CpCuDnToOP1CEtXKIgytHBPVff5A==", "dev": true, "inBundle": true, "license": "BSD-3-Clause", @@ -14588,24 +14673,18 @@ }, "node_modules/npm/node_modules/eastasianwidth": { "version": "0.2.0", - "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", - "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/emoji-regex": { "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/encoding": { "version": "0.1.13", - "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", - "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", "dev": true, "inBundle": true, "license": "MIT", @@ -14616,8 +14695,6 @@ }, "node_modules/npm/node_modules/env-paths": { "version": "2.2.1", - "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", - "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==", "dev": true, "inBundle": true, "license": "MIT", @@ -14627,24 +14704,18 @@ }, "node_modules/npm/node_modules/err-code": { "version": "2.0.3", - "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.3.tgz", - "integrity": "sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==", "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/exponential-backoff": { "version": "3.1.1", - "resolved": "https://registry.npmjs.org/exponential-backoff/-/exponential-backoff-3.1.1.tgz", - "integrity": "sha512-dX7e/LHVJ6W3DE1MHWi9S1EYzDESENfLrYohG2G++ovZrYOkm4Knwa0mc1cn84xJOR4KEU0WSchhLbd0UklbHw==", "dev": true, "inBundle": true, "license": "Apache-2.0" }, "node_modules/npm/node_modules/fastest-levenshtein": { "version": "1.0.16", - "resolved": "https://registry.npmjs.org/fastest-levenshtein/-/fastest-levenshtein-1.0.16.tgz", - "integrity": "sha512-eRnCtTTtGZFpQCwhJiUOuxPQWRXVKYDn0b2PeHfXL6/Zi53SLAzAHfVhVWK2AryC/WH05kGfxhFIPvTF0SXQzg==", "dev": true, "inBundle": true, "license": "MIT", @@ -14654,8 +14725,6 @@ }, "node_modules/npm/node_modules/foreground-child": { "version": "3.1.1", - "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz", - "integrity": "sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==", "dev": true, "inBundle": true, "license": "ISC", @@ -14672,8 +14741,6 @@ }, "node_modules/npm/node_modules/fs-minipass": { "version": "3.0.3", - "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-3.0.3.tgz", - "integrity": "sha512-XUBA9XClHbnJWSfBzjkm6RvPsyg3sryZt06BEQoXcF7EK/xpGaQYJgQKDJSUH5SGZ76Y7pFx1QBnXz09rU5Fbw==", "dev": true, "inBundle": true, "license": "ISC", @@ -14686,8 +14753,6 @@ }, "node_modules/npm/node_modules/function-bind": { "version": "1.1.2", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", - "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", "dev": true, "inBundle": true, "license": "MIT", @@ -14695,44 +14760,23 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/npm/node_modules/gauge": { - "version": "5.0.1", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "aproba": "^1.0.3 || ^2.0.0", - "color-support": "^1.1.3", - "console-control-strings": "^1.1.0", - "has-unicode": "^2.0.1", - "signal-exit": "^4.0.1", - "string-width": "^4.2.3", - "strip-ansi": "^6.0.1", - "wide-align": "^1.1.5" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, "node_modules/npm/node_modules/glob": { - "version": "10.3.12", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.12.tgz", - "integrity": "sha512-TCNv8vJ+xz4QiqTpfOJA7HvYv+tNIRHKfUWw/q+v2jdgN4ebz+KY9tGx5J4rHP0o84mNP+ApH66HRX8us3Khqg==", + "version": "10.4.1", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { "foreground-child": "^3.1.0", - "jackspeak": "^2.3.6", - "minimatch": "^9.0.1", - "minipass": "^7.0.4", - "path-scurry": "^1.10.2" + "jackspeak": "^3.1.2", + "minimatch": "^9.0.4", + "minipass": "^7.1.2", + "path-scurry": "^1.11.1" }, "bin": { "glob": "dist/esm/bin.mjs" }, "engines": { - "node": ">=16 || 14 >=14.17" + "node": ">=16 || 14 >=14.18" }, "funding": { "url": "https://github.com/sponsors/isaacs" @@ -14740,22 +14784,12 @@ }, "node_modules/npm/node_modules/graceful-fs": { "version": "4.2.11", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", - "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", - "dev": true, - "inBundle": true, - "license": "ISC" - }, - "node_modules/npm/node_modules/has-unicode": { - "version": "2.0.1", "dev": true, "inBundle": true, "license": "ISC" }, "node_modules/npm/node_modules/hasown": { "version": "2.0.2", - "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", - "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", "dev": true, "inBundle": true, "license": "MIT", @@ -14767,9 +14801,7 @@ } }, "node_modules/npm/node_modules/hosted-git-info": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-7.0.1.tgz", - "integrity": "sha512-+K84LB1DYwMHoHSgaOY/Jfhw3ucPmSET5v98Ke/HdNSw4a0UktWzyW1mjhjpuxxTqOOsfWT/7iVshHmVZ4IpOA==", + "version": "7.0.2", "dev": true, "inBundle": true, "license": "ISC", @@ -14782,16 +14814,12 @@ }, "node_modules/npm/node_modules/http-cache-semantics": { "version": "4.1.1", - "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz", - "integrity": "sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==", "dev": true, "inBundle": true, "license": "BSD-2-Clause" }, "node_modules/npm/node_modules/http-proxy-agent": { "version": "7.0.2", - "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz", - "integrity": "sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==", "dev": true, "inBundle": true, "license": "MIT", @@ -14805,8 +14833,6 @@ }, "node_modules/npm/node_modules/https-proxy-agent": { "version": "7.0.4", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.4.tgz", - "integrity": "sha512-wlwpilI7YdjSkWaQ/7omYBMTliDcmCN8OLihO6I9B86g06lMyAoqgoDpV0XqoaPOKj+0DIdAvnsWfyAAhmimcg==", "dev": true, "inBundle": true, "license": "MIT", @@ -14820,8 +14846,6 @@ }, "node_modules/npm/node_modules/iconv-lite": { "version": "0.6.3", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", - "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", "dev": true, "inBundle": true, "license": "MIT", @@ -14834,7 +14858,7 @@ } }, "node_modules/npm/node_modules/ignore-walk": { - "version": "6.0.4", + "version": "6.0.5", "dev": true, "inBundle": true, "license": "ISC", @@ -14847,8 +14871,6 @@ }, "node_modules/npm/node_modules/imurmurhash": { "version": "0.1.4", - "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", - "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", "dev": true, "inBundle": true, "license": "MIT", @@ -14858,8 +14880,6 @@ }, "node_modules/npm/node_modules/indent-string": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", - "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", "dev": true, "inBundle": true, "license": "MIT", @@ -14868,7 +14888,7 @@ } }, "node_modules/npm/node_modules/ini": { - "version": "4.1.2", + "version": "4.1.3", "dev": true, "inBundle": true, "license": "ISC", @@ -14877,7 +14897,7 @@ } }, "node_modules/npm/node_modules/init-package-json": { - "version": "6.0.2", + "version": "6.0.3", "dev": true, "inBundle": true, "license": "ISC", @@ -14896,8 +14916,6 @@ }, "node_modules/npm/node_modules/ip-address": { "version": "9.0.5", - "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-9.0.5.tgz", - "integrity": "sha512-zHtQzGojZXTwZTHQqra+ETKd4Sn3vgi7uBmlPoXVWZqYvuKmtI0l/VZTjqGmJY9x88GGOaZ9+G9ES8hC4T4X8g==", "dev": true, "inBundle": true, "license": "MIT", @@ -14909,16 +14927,8 @@ "node": ">= 12" } }, - "node_modules/npm/node_modules/ip-address/node_modules/sprintf-js": { - "version": "1.1.3", - "dev": true, - "inBundle": true, - "license": "BSD-3-Clause" - }, "node_modules/npm/node_modules/ip-regex": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/ip-regex/-/ip-regex-5.0.0.tgz", - "integrity": "sha512-fOCG6lhoKKakwv+C6KdsOnGvgXnmgfmp0myi3bcNwj3qfwPAxRKWEuFhvEFF7ceYIz6+1jRZ+yguLFAmUNPEfw==", "dev": true, "inBundle": true, "license": "MIT", @@ -14930,12 +14940,12 @@ } }, "node_modules/npm/node_modules/is-cidr": { - "version": "5.0.5", + "version": "5.1.0", "dev": true, "inBundle": true, "license": "BSD-2-Clause", "dependencies": { - "cidr-regex": "^4.0.4" + "cidr-regex": "^4.1.1" }, "engines": { "node": ">=14" @@ -14943,8 +14953,6 @@ }, "node_modules/npm/node_modules/is-core-module": { "version": "2.13.1", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz", - "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==", "dev": true, "inBundle": true, "license": "MIT", @@ -14957,8 +14965,6 @@ }, "node_modules/npm/node_modules/is-fullwidth-code-point": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", "dev": true, "inBundle": true, "license": "MIT", @@ -14968,24 +14974,18 @@ }, "node_modules/npm/node_modules/is-lambda": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-lambda/-/is-lambda-1.0.1.tgz", - "integrity": "sha512-z7CMFGNrENq5iFB9Bqo64Xk6Y9sg+epq1myIcdHaGnbMTYOxvzsEtdYqQUylB7LxfkvgrrjP32T6Ywciio9UIQ==", "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/isexe": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", "dev": true, "inBundle": true, "license": "ISC" }, "node_modules/npm/node_modules/jackspeak": { - "version": "2.3.6", - "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.3.6.tgz", - "integrity": "sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ==", + "version": "3.1.2", "dev": true, "inBundle": true, "license": "BlueOak-1.0.0", @@ -15004,14 +15004,12 @@ }, "node_modules/npm/node_modules/jsbn": { "version": "1.1.0", - "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-1.1.0.tgz", - "integrity": "sha512-4bYVV3aAMtDTTu4+xsDYa6sy9GyJ69/amsu9sYF2zqjiEoZA5xJi3BrfX3uY+/IekIu7MwdObdbDWpoZdBv3/A==", "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/json-parse-even-better-errors": { - "version": "3.0.1", + "version": "3.0.2", "dev": true, "inBundle": true, "license": "MIT", @@ -15021,8 +15019,6 @@ }, "node_modules/npm/node_modules/json-stringify-nice": { "version": "1.1.4", - "resolved": "https://registry.npmjs.org/json-stringify-nice/-/json-stringify-nice-1.1.4.tgz", - "integrity": "sha512-5Z5RFW63yxReJ7vANgW6eZFGWaQvnPE3WNmZoOJrSkGju2etKA2L5rrOa1sm877TVTFt57A80BH1bArcmlLfPw==", "dev": true, "inBundle": true, "license": "ISC", @@ -15032,8 +15028,6 @@ }, "node_modules/npm/node_modules/jsonparse": { "version": "1.3.1", - "resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz", - "integrity": "sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg==", "dev": true, "engines": [ "node >= 0.2.0" @@ -15043,47 +15037,42 @@ }, "node_modules/npm/node_modules/just-diff": { "version": "6.0.2", - "resolved": "https://registry.npmjs.org/just-diff/-/just-diff-6.0.2.tgz", - "integrity": "sha512-S59eriX5u3/QhMNq3v/gm8Kd0w8OS6Tz2FS1NG4blv+z0MuQcBRJyFWjdovM0Rad4/P4aUPFtnkNjMjyMlMSYA==", "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/just-diff-apply": { "version": "5.5.0", - "resolved": "https://registry.npmjs.org/just-diff-apply/-/just-diff-apply-5.5.0.tgz", - "integrity": "sha512-OYTthRfSh55WOItVqwpefPtNt2VdKsq5AnAK6apdtR6yCH8pr0CmSr710J0Mf+WdQy7K/OzMy7K2MgAfdQURDw==", "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/libnpmaccess": { - "version": "8.0.3", + "version": "8.0.6", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "npm-package-arg": "^11.0.1", - "npm-registry-fetch": "^16.2.0" + "npm-package-arg": "^11.0.2", + "npm-registry-fetch": "^17.0.1" }, "engines": { "node": "^16.14.0 || >=18.0.0" } }, "node_modules/npm/node_modules/libnpmdiff": { - "version": "6.0.9", + "version": "6.1.3", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "@npmcli/arborist": "^7.2.1", - "@npmcli/disparity-colors": "^3.0.0", - "@npmcli/installed-package-contents": "^2.0.2", + "@npmcli/arborist": "^7.5.3", + "@npmcli/installed-package-contents": "^2.1.0", "binary-extensions": "^2.3.0", "diff": "^5.1.0", "minimatch": "^9.0.4", - "npm-package-arg": "^11.0.1", - "pacote": "^17.0.4", + "npm-package-arg": "^11.0.2", + "pacote": "^18.0.6", "tar": "^6.2.1" }, "engines": { @@ -15091,18 +15080,17 @@ } }, "node_modules/npm/node_modules/libnpmexec": { - "version": "7.0.10", + "version": "8.1.2", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "@npmcli/arborist": "^7.2.1", - "@npmcli/run-script": "^7.0.2", + "@npmcli/arborist": "^7.5.3", + "@npmcli/run-script": "^8.1.0", "ci-info": "^4.0.0", - "npm-package-arg": "^11.0.1", - "npmlog": "^7.0.1", - "pacote": "^17.0.4", - "proc-log": "^3.0.0", + "npm-package-arg": "^11.0.2", + "pacote": "^18.0.6", + "proc-log": "^4.2.0", "read": "^3.0.1", "read-package-json-fast": "^3.0.2", "semver": "^7.3.7", @@ -15113,112 +15101,112 @@ } }, "node_modules/npm/node_modules/libnpmfund": { - "version": "5.0.7", + "version": "5.0.11", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "@npmcli/arborist": "^7.2.1" + "@npmcli/arborist": "^7.5.3" }, "engines": { "node": "^16.14.0 || >=18.0.0" } }, "node_modules/npm/node_modules/libnpmhook": { - "version": "10.0.2", + "version": "10.0.5", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { "aproba": "^2.0.0", - "npm-registry-fetch": "^16.2.0" + "npm-registry-fetch": "^17.0.1" }, "engines": { "node": "^16.14.0 || >=18.0.0" } }, "node_modules/npm/node_modules/libnpmorg": { - "version": "6.0.3", + "version": "6.0.6", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { "aproba": "^2.0.0", - "npm-registry-fetch": "^16.2.0" + "npm-registry-fetch": "^17.0.1" }, "engines": { "node": "^16.14.0 || >=18.0.0" } }, "node_modules/npm/node_modules/libnpmpack": { - "version": "6.0.9", + "version": "7.0.3", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "@npmcli/arborist": "^7.2.1", - "@npmcli/run-script": "^7.0.2", - "npm-package-arg": "^11.0.1", - "pacote": "^17.0.4" + "@npmcli/arborist": "^7.5.3", + "@npmcli/run-script": "^8.1.0", + "npm-package-arg": "^11.0.2", + "pacote": "^18.0.6" }, "engines": { "node": "^16.14.0 || >=18.0.0" } }, "node_modules/npm/node_modules/libnpmpublish": { - "version": "9.0.5", + "version": "9.0.9", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { "ci-info": "^4.0.0", - "normalize-package-data": "^6.0.0", - "npm-package-arg": "^11.0.1", - "npm-registry-fetch": "^16.2.0", - "proc-log": "^3.0.0", + "normalize-package-data": "^6.0.1", + "npm-package-arg": "^11.0.2", + "npm-registry-fetch": "^17.0.1", + "proc-log": "^4.2.0", "semver": "^7.3.7", "sigstore": "^2.2.0", - "ssri": "^10.0.5" + "ssri": "^10.0.6" }, "engines": { "node": "^16.14.0 || >=18.0.0" } }, "node_modules/npm/node_modules/libnpmsearch": { - "version": "7.0.2", + "version": "7.0.6", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "npm-registry-fetch": "^16.2.0" + "npm-registry-fetch": "^17.0.1" }, "engines": { "node": "^16.14.0 || >=18.0.0" } }, "node_modules/npm/node_modules/libnpmteam": { - "version": "6.0.2", + "version": "6.0.5", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { "aproba": "^2.0.0", - "npm-registry-fetch": "^16.2.0" + "npm-registry-fetch": "^17.0.1" }, "engines": { "node": "^16.14.0 || >=18.0.0" } }, "node_modules/npm/node_modules/libnpmversion": { - "version": "5.0.2", + "version": "6.0.3", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "@npmcli/git": "^5.0.3", - "@npmcli/run-script": "^7.0.2", - "json-parse-even-better-errors": "^3.0.0", - "proc-log": "^3.0.0", + "@npmcli/git": "^5.0.7", + "@npmcli/run-script": "^8.1.0", + "json-parse-even-better-errors": "^3.0.2", + "proc-log": "^4.2.0", "semver": "^7.3.7" }, "engines": { @@ -15226,9 +15214,7 @@ } }, "node_modules/npm/node_modules/lru-cache": { - "version": "10.2.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.2.0.tgz", - "integrity": "sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q==", + "version": "10.2.2", "dev": true, "inBundle": true, "license": "ISC", @@ -15237,7 +15223,7 @@ } }, "node_modules/npm/node_modules/make-fetch-happen": { - "version": "13.0.0", + "version": "13.0.1", "dev": true, "inBundle": true, "license": "ISC", @@ -15251,6 +15237,7 @@ "minipass-flush": "^1.0.5", "minipass-pipeline": "^1.2.4", "negotiator": "^0.6.3", + "proc-log": "^4.2.0", "promise-retry": "^2.0.1", "ssri": "^10.0.0" }, @@ -15274,9 +15261,7 @@ } }, "node_modules/npm/node_modules/minipass": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", - "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==", + "version": "7.1.2", "dev": true, "inBundle": true, "license": "ISC", @@ -15286,8 +15271,6 @@ }, "node_modules/npm/node_modules/minipass-collect": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/minipass-collect/-/minipass-collect-2.0.1.tgz", - "integrity": "sha512-D7V8PO9oaz7PWGLbCACuI1qEOsq7UKfLotx/C0Aet43fCUB/wfQ7DYeq2oR/svFJGYDHPr38SHATeaj/ZoKHKw==", "dev": true, "inBundle": true, "license": "ISC", @@ -15299,7 +15282,7 @@ } }, "node_modules/npm/node_modules/minipass-fetch": { - "version": "3.0.4", + "version": "3.0.5", "dev": true, "inBundle": true, "license": "MIT", @@ -15317,8 +15300,6 @@ }, "node_modules/npm/node_modules/minipass-flush": { "version": "1.0.5", - "resolved": "https://registry.npmjs.org/minipass-flush/-/minipass-flush-1.0.5.tgz", - "integrity": "sha512-JmQSYYpPUqX5Jyn1mXaRwOda1uQ8HP5KAT/oDSLCzt1BYRhQU0/hDtsB1ufZfEEzMZ9aAVmsBw8+FWsIXlClWw==", "dev": true, "inBundle": true, "license": "ISC", @@ -15343,8 +15324,6 @@ }, "node_modules/npm/node_modules/minipass-json-stream": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/minipass-json-stream/-/minipass-json-stream-1.0.1.tgz", - "integrity": "sha512-ODqY18UZt/I8k+b7rl2AENgbWE8IDYam+undIJONvigAz8KR5GWblsFTEfQs0WODsjbSXWlm+JHEv8Gr6Tfdbg==", "dev": true, "inBundle": true, "license": "MIT", @@ -15367,8 +15346,6 @@ }, "node_modules/npm/node_modules/minipass-pipeline": { "version": "1.2.4", - "resolved": "https://registry.npmjs.org/minipass-pipeline/-/minipass-pipeline-1.2.4.tgz", - "integrity": "sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A==", "dev": true, "inBundle": true, "license": "ISC", @@ -15393,8 +15370,6 @@ }, "node_modules/npm/node_modules/minipass-sized": { "version": "1.0.3", - "resolved": "https://registry.npmjs.org/minipass-sized/-/minipass-sized-1.0.3.tgz", - "integrity": "sha512-MbkQQ2CTiBMlA2Dm/5cY+9SWFEN8pzzOXi6rlM5Xxq0Yqbda5ZQy9sU75a673FE9ZK0Zsbr6Y5iP6u9nktfg2g==", "dev": true, "inBundle": true, "license": "ISC", @@ -15419,8 +15394,6 @@ }, "node_modules/npm/node_modules/minizlib": { "version": "2.1.2", - "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz", - "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==", "dev": true, "inBundle": true, "license": "MIT", @@ -15446,8 +15419,6 @@ }, "node_modules/npm/node_modules/mkdirp": { "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", "dev": true, "inBundle": true, "license": "MIT", @@ -15460,8 +15431,6 @@ }, "node_modules/npm/node_modules/ms": { "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", "dev": true, "inBundle": true, "license": "MIT" @@ -15477,8 +15446,6 @@ }, "node_modules/npm/node_modules/negotiator": { "version": "0.6.3", - "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", - "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", "dev": true, "inBundle": true, "license": "MIT", @@ -15510,8 +15477,17 @@ "node": "^16.14.0 || >=18.0.0" } }, + "node_modules/npm/node_modules/node-gyp/node_modules/proc-log": { + "version": "3.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, "node_modules/npm/node_modules/nopt": { - "version": "7.2.0", + "version": "7.2.1", "dev": true, "inBundle": true, "license": "ISC", @@ -15526,9 +15502,7 @@ } }, "node_modules/npm/node_modules/normalize-package-data": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-6.0.0.tgz", - "integrity": "sha512-UL7ELRVxYBHBgYEtZCXjxuD5vPxnmvMGq0jp/dGPKKrN7tfsBh2IY7TlJ15WWwdjRWD3RJbnsygUurTK3xkPkg==", + "version": "6.0.1", "dev": true, "inBundle": true, "license": "BSD-2-Clause", @@ -15544,8 +15518,6 @@ }, "node_modules/npm/node_modules/npm-audit-report": { "version": "5.0.0", - "resolved": "https://registry.npmjs.org/npm-audit-report/-/npm-audit-report-5.0.0.tgz", - "integrity": "sha512-EkXrzat7zERmUhHaoren1YhTxFwsOu5jypE84k6632SXTHcQE1z8V51GC6GVZt8LxkC+tbBcKMUBZAgk8SUSbw==", "dev": true, "inBundle": true, "license": "ISC", @@ -15554,7 +15526,7 @@ } }, "node_modules/npm/node_modules/npm-bundled": { - "version": "3.0.0", + "version": "3.0.1", "dev": true, "inBundle": true, "license": "ISC", @@ -15567,8 +15539,6 @@ }, "node_modules/npm/node_modules/npm-install-checks": { "version": "6.3.0", - "resolved": "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-6.3.0.tgz", - "integrity": "sha512-W29RiK/xtpCGqn6f3ixfRYGk+zRyr+Ew9F2E20BfXxT5/euLdA/Nm7fO7OeTGuAmTs30cpgInyJ0cYe708YTZw==", "dev": true, "inBundle": true, "license": "BSD-2-Clause", @@ -15581,8 +15551,6 @@ }, "node_modules/npm/node_modules/npm-normalize-package-bin": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-3.0.1.tgz", - "integrity": "sha512-dMxCf+zZ+3zeQZXKxmyuCKlIDPGuv8EF940xbkC4kQVDTtqoh6rJFO+JTKSA6/Rwi0getWmtuy4Itup0AMcaDQ==", "dev": true, "inBundle": true, "license": "ISC", @@ -15591,13 +15559,13 @@ } }, "node_modules/npm/node_modules/npm-package-arg": { - "version": "11.0.1", + "version": "11.0.2", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { "hosted-git-info": "^7.0.0", - "proc-log": "^3.0.0", + "proc-log": "^4.0.0", "semver": "^7.3.5", "validate-npm-package-name": "^5.0.0" }, @@ -15607,8 +15575,6 @@ }, "node_modules/npm/node_modules/npm-packlist": { "version": "8.0.2", - "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-8.0.2.tgz", - "integrity": "sha512-shYrPFIS/JLP4oQmAwDyk5HcyysKW8/JLTEA32S0Z5TzvpaeeX2yMFfoK1fjEBnCBvVyIB/Jj/GBFdm0wsgzbA==", "dev": true, "inBundle": true, "license": "ISC", @@ -15620,7 +15586,7 @@ } }, "node_modules/npm/node_modules/npm-pick-manifest": { - "version": "9.0.0", + "version": "9.0.1", "dev": true, "inBundle": true, "license": "ISC", @@ -15635,39 +15601,39 @@ } }, "node_modules/npm/node_modules/npm-profile": { - "version": "9.0.0", + "version": "10.0.0", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "npm-registry-fetch": "^16.0.0", - "proc-log": "^3.0.0" + "npm-registry-fetch": "^17.0.1", + "proc-log": "^4.0.0" }, "engines": { - "node": "^16.14.0 || >=18.0.0" + "node": ">=18.0.0" } }, "node_modules/npm/node_modules/npm-registry-fetch": { - "version": "16.2.0", + "version": "17.0.1", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "@npmcli/redact": "^1.1.0", + "@npmcli/redact": "^2.0.0", "make-fetch-happen": "^13.0.0", "minipass": "^7.0.2", "minipass-fetch": "^3.0.0", "minipass-json-stream": "^1.0.1", "minizlib": "^2.1.2", "npm-package-arg": "^11.0.0", - "proc-log": "^3.0.0" + "proc-log": "^4.0.0" }, "engines": { "node": "^16.14.0 || >=18.0.0" } }, "node_modules/npm/node_modules/npm-user-validate": { - "version": "2.0.0", + "version": "2.0.1", "dev": true, "inBundle": true, "license": "BSD-2-Clause", @@ -15675,25 +15641,8 @@ "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/npm/node_modules/npmlog": { - "version": "7.0.1", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "are-we-there-yet": "^4.0.0", - "console-control-strings": "^1.1.0", - "gauge": "^5.0.0", - "set-blocking": "^2.0.0" - }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, "node_modules/npm/node_modules/p-map": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz", - "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==", "dev": true, "inBundle": true, "license": "MIT", @@ -15708,32 +15657,31 @@ } }, "node_modules/npm/node_modules/pacote": { - "version": "17.0.6", + "version": "18.0.6", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { "@npmcli/git": "^5.0.0", "@npmcli/installed-package-contents": "^2.0.1", + "@npmcli/package-json": "^5.1.0", "@npmcli/promise-spawn": "^7.0.0", - "@npmcli/run-script": "^7.0.0", + "@npmcli/run-script": "^8.0.0", "cacache": "^18.0.0", "fs-minipass": "^3.0.0", "minipass": "^7.0.2", "npm-package-arg": "^11.0.0", "npm-packlist": "^8.0.0", "npm-pick-manifest": "^9.0.0", - "npm-registry-fetch": "^16.0.0", - "proc-log": "^3.0.0", + "npm-registry-fetch": "^17.0.0", + "proc-log": "^4.0.0", "promise-retry": "^2.0.1", - "read-package-json": "^7.0.0", - "read-package-json-fast": "^3.0.0", "sigstore": "^2.2.0", "ssri": "^10.0.0", "tar": "^6.1.11" }, "bin": { - "pacote": "lib/bin.js" + "pacote": "bin/index.js" }, "engines": { "node": "^16.14.0 || >=18.0.0" @@ -15741,8 +15689,6 @@ }, "node_modules/npm/node_modules/parse-conflict-json": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/parse-conflict-json/-/parse-conflict-json-3.0.1.tgz", - "integrity": "sha512-01TvEktc68vwbJOtWZluyWeVGWjP+bZwXtPDMQVbBKzbJ/vZBif0L69KH1+cHv1SZ6e0FKLvjyHe8mqsIqYOmw==", "dev": true, "inBundle": true, "license": "ISC", @@ -15757,8 +15703,6 @@ }, "node_modules/npm/node_modules/path-key": { "version": "3.1.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", "dev": true, "inBundle": true, "license": "MIT", @@ -15767,9 +15711,7 @@ } }, "node_modules/npm/node_modules/path-scurry": { - "version": "1.10.2", - "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.10.2.tgz", - "integrity": "sha512-7xTavNy5RQXnsjANvVvMkEjvloOinkAjv/Z6Ildz9v2RinZ4SBKTWFOVRbaF8p0vpHnyjV/UwNDdKuUv6M5qcA==", + "version": "1.11.1", "dev": true, "inBundle": true, "license": "BlueOak-1.0.0", @@ -15778,14 +15720,14 @@ "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" }, "engines": { - "node": ">=16 || 14 >=14.17" + "node": ">=16 || 14 >=14.18" }, "funding": { "url": "https://github.com/sponsors/isaacs" } }, "node_modules/npm/node_modules/postcss-selector-parser": { - "version": "6.0.16", + "version": "6.1.0", "dev": true, "inBundle": true, "license": "MIT", @@ -15798,9 +15740,16 @@ } }, "node_modules/npm/node_modules/proc-log": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/proc-log/-/proc-log-3.0.0.tgz", - "integrity": "sha512-++Vn7NS4Xf9NacaU9Xq3URUuqZETPsf8L4j5/ckhaRYsfPeRyzGw+iDjFhV/Jr3uNmTvvddEJFWh5R1gRgUH8A==", + "version": "4.2.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm/node_modules/proggy": { + "version": "2.0.0", "dev": true, "inBundle": true, "license": "ISC", @@ -15810,8 +15759,6 @@ }, "node_modules/npm/node_modules/promise-all-reject-late": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/promise-all-reject-late/-/promise-all-reject-late-1.0.1.tgz", - "integrity": "sha512-vuf0Lf0lOxyQREH7GDIOUMLS7kz+gs8i6B+Yi8dC68a2sychGrHTJYghMBD6k7eUcH0H5P73EckCA48xijWqXw==", "dev": true, "inBundle": true, "license": "ISC", @@ -15821,8 +15768,6 @@ }, "node_modules/npm/node_modules/promise-call-limit": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/promise-call-limit/-/promise-call-limit-3.0.1.tgz", - "integrity": "sha512-utl+0x8gIDasV5X+PI5qWEPqH6fJS0pFtQ/4gZ95xfEFb/89dmh+/b895TbFDBLiafBvxD/PGTKfvxl4kH/pQg==", "dev": true, "inBundle": true, "license": "ISC", @@ -15832,16 +15777,12 @@ }, "node_modules/npm/node_modules/promise-inflight": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz", - "integrity": "sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g==", "dev": true, "inBundle": true, "license": "ISC" }, "node_modules/npm/node_modules/promise-retry": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/promise-retry/-/promise-retry-2.0.1.tgz", - "integrity": "sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g==", "dev": true, "inBundle": true, "license": "MIT", @@ -15854,7 +15795,7 @@ } }, "node_modules/npm/node_modules/promzard": { - "version": "1.0.1", + "version": "1.0.2", "dev": true, "inBundle": true, "license": "ISC", @@ -15867,8 +15808,6 @@ }, "node_modules/npm/node_modules/qrcode-terminal": { "version": "0.12.0", - "resolved": "https://registry.npmjs.org/qrcode-terminal/-/qrcode-terminal-0.12.0.tgz", - "integrity": "sha512-EXtzRZmC+YGmGlDFbXKxQiMZNwCLEO6BANKXG4iCtSIM0yqc/pappSx3RIKr4r0uh5JsBckOXeKrB3Iz7mdQpQ==", "dev": true, "inBundle": true, "bin": { @@ -15889,8 +15828,6 @@ }, "node_modules/npm/node_modules/read-cmd-shim": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/read-cmd-shim/-/read-cmd-shim-4.0.0.tgz", - "integrity": "sha512-yILWifhaSEEytfXI76kB9xEEiG1AiozaCJZ83A87ytjRiN+jVibXjedjCRNjoZviinhG+4UkalO3mWTd8u5O0Q==", "dev": true, "inBundle": true, "license": "ISC", @@ -15898,25 +15835,8 @@ "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/npm/node_modules/read-package-json": { - "version": "7.0.0", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "glob": "^10.2.2", - "json-parse-even-better-errors": "^3.0.0", - "normalize-package-data": "^6.0.0", - "npm-normalize-package-bin": "^3.0.0" - }, - "engines": { - "node": "^16.14.0 || >=18.0.0" - } - }, "node_modules/npm/node_modules/read-package-json-fast": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/read-package-json-fast/-/read-package-json-fast-3.0.2.tgz", - "integrity": "sha512-0J+Msgym3vrLOUB3hzQCuZHII0xkNGCtz/HJH9xZshwv9DbDwkw1KaE3gx/e2J5rpEY5rtOy6cyhKOPrkP7FZw==", "dev": true, "inBundle": true, "license": "ISC", @@ -15930,8 +15850,6 @@ }, "node_modules/npm/node_modules/retry": { "version": "0.12.0", - "resolved": "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz", - "integrity": "sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow==", "dev": true, "inBundle": true, "license": "MIT", @@ -15941,23 +15859,16 @@ }, "node_modules/npm/node_modules/safer-buffer": { "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", "dev": true, "inBundle": true, "license": "MIT", "optional": true }, "node_modules/npm/node_modules/semver": { - "version": "7.6.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", - "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", + "version": "7.6.2", "dev": true, "inBundle": true, "license": "ISC", - "dependencies": { - "lru-cache": "^6.0.0" - }, "bin": { "semver": "bin/semver.js" }, @@ -15965,30 +15876,8 @@ "node": ">=10" } }, - "node_modules/npm/node_modules/semver/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/npm/node_modules/set-blocking": { - "version": "2.0.0", - "dev": true, - "inBundle": true, - "license": "ISC" - }, "node_modules/npm/node_modules/shebang-command": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", - "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", "dev": true, "inBundle": true, "license": "MIT", @@ -16001,8 +15890,6 @@ }, "node_modules/npm/node_modules/shebang-regex": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", - "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", "dev": true, "inBundle": true, "license": "MIT", @@ -16012,8 +15899,6 @@ }, "node_modules/npm/node_modules/signal-exit": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", - "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", "dev": true, "inBundle": true, "license": "ISC", @@ -16025,17 +15910,17 @@ } }, "node_modules/npm/node_modules/sigstore": { - "version": "2.3.0", + "version": "2.3.1", "dev": true, "inBundle": true, "license": "Apache-2.0", "dependencies": { - "@sigstore/bundle": "^2.3.1", + "@sigstore/bundle": "^2.3.2", "@sigstore/core": "^1.0.0", - "@sigstore/protobuf-specs": "^0.3.1", - "@sigstore/sign": "^2.3.0", - "@sigstore/tuf": "^2.3.1", - "@sigstore/verify": "^1.2.0" + "@sigstore/protobuf-specs": "^0.3.2", + "@sigstore/sign": "^2.3.2", + "@sigstore/tuf": "^2.3.4", + "@sigstore/verify": "^1.2.1" }, "engines": { "node": "^16.14.0 || >=18.0.0" @@ -16043,8 +15928,6 @@ }, "node_modules/npm/node_modules/smart-buffer": { "version": "4.2.0", - "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz", - "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==", "dev": true, "inBundle": true, "license": "MIT", @@ -16083,8 +15966,6 @@ }, "node_modules/npm/node_modules/spdx-correct": { "version": "3.2.0", - "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.2.0.tgz", - "integrity": "sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==", "dev": true, "inBundle": true, "license": "Apache-2.0", @@ -16095,8 +15976,6 @@ }, "node_modules/npm/node_modules/spdx-correct/node_modules/spdx-expression-parse": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", - "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", "dev": true, "inBundle": true, "license": "MIT", @@ -16107,8 +15986,6 @@ }, "node_modules/npm/node_modules/spdx-exceptions": { "version": "2.5.0", - "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.5.0.tgz", - "integrity": "sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w==", "dev": true, "inBundle": true, "license": "CC-BY-3.0" @@ -16124,15 +16001,19 @@ } }, "node_modules/npm/node_modules/spdx-license-ids": { - "version": "3.0.17", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.17.tgz", - "integrity": "sha512-sh8PWc/ftMqAAdFiBu6Fy6JUOYjqDJBJvIhpfDMyHrr0Rbp5liZqd4TjtQ/RgfLjKFZb+LMx5hpml5qOWy0qvg==", + "version": "3.0.18", "dev": true, "inBundle": true, "license": "CC0-1.0" }, + "node_modules/npm/node_modules/sprintf-js": { + "version": "1.1.3", + "dev": true, + "inBundle": true, + "license": "BSD-3-Clause" + }, "node_modules/npm/node_modules/ssri": { - "version": "10.0.5", + "version": "10.0.6", "dev": true, "inBundle": true, "license": "ISC", @@ -16145,8 +16026,6 @@ }, "node_modules/npm/node_modules/string-width": { "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", "dev": true, "inBundle": true, "license": "MIT", @@ -16162,8 +16041,6 @@ "node_modules/npm/node_modules/string-width-cjs": { "name": "string-width", "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", "dev": true, "inBundle": true, "license": "MIT", @@ -16178,8 +16055,6 @@ }, "node_modules/npm/node_modules/strip-ansi": { "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", "dev": true, "inBundle": true, "license": "MIT", @@ -16193,8 +16068,6 @@ "node_modules/npm/node_modules/strip-ansi-cjs": { "name": "strip-ansi", "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", "dev": true, "inBundle": true, "license": "MIT", @@ -16207,8 +16080,6 @@ }, "node_modules/npm/node_modules/supports-color": { "version": "9.4.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-9.4.0.tgz", - "integrity": "sha512-VL+lNrEoIXww1coLPOmiEmK/0sGigko5COxI09KzHc2VJXJsQ37UaQ+8quuxjDeA7+KnLGTWRyOXSLLR2Wb4jw==", "dev": true, "inBundle": true, "license": "MIT", @@ -16271,24 +16142,18 @@ }, "node_modules/npm/node_modules/text-table": { "version": "0.2.0", - "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", - "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/tiny-relative-date": { "version": "1.3.0", - "resolved": "https://registry.npmjs.org/tiny-relative-date/-/tiny-relative-date-1.3.0.tgz", - "integrity": "sha512-MOQHpzllWxDCHHaDno30hhLfbouoYlOI8YlMNtvKe1zXbjEVhbcEovQxvZrPvtiYW630GQDoMMarCnjfyfHA+A==", "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/treeverse": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/treeverse/-/treeverse-3.0.0.tgz", - "integrity": "sha512-gcANaAnd2QDZFmHFEOF4k7uc1J/6a6z3DJMd/QwEyxLoKGiptJRwid582r7QIsFlFMIZ3SnxfS52S4hm2DHkuQ==", "dev": true, "inBundle": true, "license": "ISC", @@ -16297,14 +16162,14 @@ } }, "node_modules/npm/node_modules/tuf-js": { - "version": "2.2.0", + "version": "2.2.1", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { - "@tufjs/models": "2.0.0", + "@tufjs/models": "2.0.1", "debug": "^4.3.4", - "make-fetch-happen": "^13.0.0" + "make-fetch-happen": "^13.0.1" }, "engines": { "node": "^16.14.0 || >=18.0.0" @@ -16312,8 +16177,6 @@ }, "node_modules/npm/node_modules/unique-filename": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-3.0.0.tgz", - "integrity": "sha512-afXhuC55wkAmZ0P18QsVE6kp8JaxrEokN2HGIoIVv2ijHQd419H0+6EigAFcIzXeMIkcIkNBpB3L/DXB3cTS/g==", "dev": true, "inBundle": true, "license": "ISC", @@ -16326,8 +16189,6 @@ }, "node_modules/npm/node_modules/unique-slug": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-4.0.0.tgz", - "integrity": "sha512-WrcA6AyEfqDX5bWige/4NQfPZMtASNVxdmWR76WESYQVAACSgWcR6e9i0mofqqBxYFtL4oAxPIptY73/0YE1DQ==", "dev": true, "inBundle": true, "license": "ISC", @@ -16340,16 +16201,12 @@ }, "node_modules/npm/node_modules/util-deprecate": { "version": "1.0.2", - "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/validate-npm-package-license": { "version": "3.0.4", - "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", - "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", "dev": true, "inBundle": true, "license": "Apache-2.0", @@ -16360,8 +16217,6 @@ }, "node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-expression-parse": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", - "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", "dev": true, "inBundle": true, "license": "MIT", @@ -16371,38 +16226,22 @@ } }, "node_modules/npm/node_modules/validate-npm-package-name": { - "version": "5.0.0", + "version": "5.0.1", "dev": true, "inBundle": true, "license": "ISC", - "dependencies": { - "builtins": "^5.0.0" - }, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "node_modules/npm/node_modules/walk-up-path": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/walk-up-path/-/walk-up-path-3.0.1.tgz", - "integrity": "sha512-9YlCL/ynK3CTlrSRrDxZvUauLzAswPCrsaCgilqFevUYpeEW0/3ScEjaa3kbW/T0ghhkEr7mv+fpjqn1Y1YuTA==", "dev": true, "inBundle": true, "license": "ISC" }, - "node_modules/npm/node_modules/wcwidth": { - "version": "1.0.1", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "defaults": "^1.0.3" - } - }, "node_modules/npm/node_modules/which": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/which/-/which-4.0.0.tgz", - "integrity": "sha512-GlaYyEb07DPxYCKhKzplCWBJtvxZcZMrL+4UkrTSJHHPyZU4mYYTv3qaOe77H7EODLSSopAUFAc6W8U4yqvscg==", "dev": true, "inBundle": true, "license": "ISC", @@ -16425,19 +16264,8 @@ "node": ">=16" } }, - "node_modules/npm/node_modules/wide-align": { - "version": "1.1.5", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "string-width": "^1.0.2 || 2 || 3 || 4" - } - }, "node_modules/npm/node_modules/wrap-ansi": { "version": "8.1.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", - "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", "dev": true, "inBundle": true, "license": "MIT", @@ -16456,8 +16284,6 @@ "node_modules/npm/node_modules/wrap-ansi-cjs": { "name": "wrap-ansi", "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", "dev": true, "inBundle": true, "license": "MIT", @@ -16475,8 +16301,6 @@ }, "node_modules/npm/node_modules/wrap-ansi-cjs/node_modules/ansi-styles": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, "inBundle": true, "license": "MIT", @@ -16492,8 +16316,6 @@ }, "node_modules/npm/node_modules/wrap-ansi/node_modules/ansi-regex": { "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", - "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", "dev": true, "inBundle": true, "license": "MIT", @@ -16506,16 +16328,12 @@ }, "node_modules/npm/node_modules/wrap-ansi/node_modules/emoji-regex": { "version": "9.2.2", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", - "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/wrap-ansi/node_modules/string-width": { "version": "5.1.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", - "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", "dev": true, "inBundle": true, "license": "MIT", @@ -16533,8 +16351,6 @@ }, "node_modules/npm/node_modules/wrap-ansi/node_modules/strip-ansi": { "version": "7.1.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", - "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", "dev": true, "inBundle": true, "license": "MIT", @@ -16550,8 +16366,6 @@ }, "node_modules/npm/node_modules/write-file-atomic": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-5.0.1.tgz", - "integrity": "sha512-+QU2zd6OTD8XWIJCbffaiQeH9U73qIqafo1x6V1snCWYGJf6cVE0cDR4D8xRzcEnfI21IFrUPzPGtcPf8AC+Rw==", "dev": true, "inBundle": true, "license": "ISC", @@ -16565,45 +16379,33 @@ }, "node_modules/npm/node_modules/yallist": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", "dev": true, "inBundle": true, "license": "ISC" }, "node_modules/nwsapi": { - "version": "2.2.7", - "resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.7.tgz", - "integrity": "sha512-ub5E4+FBPKwAZx0UwIQOjYWGHTEq5sPqHQNRN8Z9e4A7u3Tj1weLJsL59yH9vmvqEtBHaOmT6cYQKIZOxp35FQ==", - "dev": true + "version": "2.2.10", + "resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.10.tgz", + "integrity": "sha512-QK0sRs7MKv0tKe1+5uZIQk/C8XGza4DAnztJG8iD+TpJIORARrCxczA738awHrZoHeTjSSoHqao2teO0dC/gFQ==", + "dev": true, + "license": "MIT" }, "node_modules/object-assign": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/object-inspect": { - "version": "1.13.1", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.1.tgz", - "integrity": "sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==", - "dev": true, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/object-is": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/object-is/-/object-is-1.1.6.tgz", - "integrity": "sha512-F8cZ+KfGlSGi09lJT7/Nd6KJZ9ygtvYC0/UYYLI9nmQKLMnydpB9yvbv9K1uSkEu7FU9vYPmVwLg328tX+ot3Q==", + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.2.tgz", + "integrity": "sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==", "dev": true, - "dependencies": { - "call-bind": "^1.0.7", - "define-properties": "^1.2.1" - }, + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -16616,6 +16418,7 @@ "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.4" } @@ -16625,6 +16428,7 @@ "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.5.tgz", "integrity": "sha512-byy+U7gp+FVwmyzKPYhW2h5l3crpmGsxl7X2s8y43IgxvG4g3QZ6CffDtsNQy1WsmZpQbO+ybo0AlW7TY6DcBQ==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.5", "define-properties": "^1.2.1", @@ -16643,6 +16447,7 @@ "resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.1.8.tgz", "integrity": "sha512-cmopxi8VwRIAw/fkijJohSfpef5PdN0pMQJN6VC/ZKvn0LIknWD8KtgY6KlQdEc4tIjcQ3HxSMmnvtzIscdaYQ==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.7", "define-properties": "^1.2.1", @@ -16657,6 +16462,7 @@ "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.8.tgz", "integrity": "sha512-k6E21FzySsSK5a21KRADBd/NGneRegFO5pLHfdQLpRDETUNJueLXs3WCzyQ3tFRDYgbq3KHGXfTbi2bs8WQ6rQ==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.7", "define-properties": "^1.2.1", @@ -16675,6 +16481,7 @@ "resolved": "https://registry.npmjs.org/object.groupby/-/object.groupby-1.0.3.tgz", "integrity": "sha512-+Lhy3TQTuzXI5hevh8sBGqbmurHbbIjAi0Z4S63nthVLmLxfbj4T54a4CfZrXIrt9iP4mVAPYMo/v99taj3wjQ==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.7", "define-properties": "^1.2.1", @@ -16689,6 +16496,7 @@ "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.2.0.tgz", "integrity": "sha512-yBYjY9QX2hnRmZHAjG/f13MzmBzxzYgQhFrke06TTyKY5zSTEqkOeukBzIdVA3j3ulu8Qa3MbVFShV7T2RmGtQ==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.7", "define-properties": "^1.2.1", @@ -16706,37 +16514,40 @@ "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", "dev": true, + "license": "ISC", "dependencies": { "wrappy": "1" } }, "node_modules/onetime": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", - "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-6.0.0.tgz", + "integrity": "sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==", "dev": true, + "license": "MIT", "dependencies": { - "mimic-fn": "^2.1.0" + "mimic-fn": "^4.0.0" }, "engines": { - "node": ">=6" + "node": ">=12" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/optionator": { - "version": "0.9.3", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz", - "integrity": "sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==", + "version": "0.9.4", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz", + "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==", "dev": true, + "license": "MIT", "dependencies": { - "@aashutoshrathi/word-wrap": "^1.2.3", "deep-is": "^0.1.3", "fast-levenshtein": "^2.0.6", "levn": "^0.4.1", "prelude-ls": "^1.2.1", - "type-check": "^0.4.0" + "type-check": "^0.4.0", + "word-wrap": "^1.2.5" }, "engines": { "node": ">= 0.8.0" @@ -16747,6 +16558,7 @@ "resolved": "https://registry.npmjs.org/p-each-series/-/p-each-series-3.0.0.tgz", "integrity": "sha512-lastgtAdoH9YaLyDa5i5z64q+kzOcQHsQ5SsZJD3q0VEyI8mq872S3geuNbRUQLVAE9siMfgKrpj7MloKFHruw==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -16759,6 +16571,7 @@ "resolved": "https://registry.npmjs.org/p-filter/-/p-filter-4.1.0.tgz", "integrity": "sha512-37/tPdZ3oJwHaS3gNJdenCDB3Tz26i9sjhnguBtvN0vYlRIiDNnvTWkuh+0hETV9rLPdJ3rlL3yVOYPIAnM8rw==", "dev": true, + "license": "MIT", "dependencies": { "p-map": "^7.0.1" }, @@ -16774,6 +16587,7 @@ "resolved": "https://registry.npmjs.org/p-is-promise/-/p-is-promise-3.0.0.tgz", "integrity": "sha512-Wo8VsW4IRQSKVXsJCn7TomUaVtyfjVDn3nUP7kE967BQk0CwFpdbZs0X0uk5sW9mkBa9eNM7hCMaG93WUAwxYQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -16783,36 +16597,68 @@ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", "dev": true, + "license": "MIT", + "dependencies": { + "yocto-queue": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-locate": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-6.0.0.tgz", + "integrity": "sha512-wPrq66Llhl7/4AGC6I+cqxT07LhXvWL08LNXz1fENOw0Ap4sRZZ/gZpTTJ5jpurzzzfS2W/Ge9BY3LgLjCShcw==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-limit": "^4.0.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-locate/node_modules/p-limit": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-4.0.0.tgz", + "integrity": "sha512-5b0R4txpzjPWVw/cXXUResoD4hb6U/x9BH08L7nw+GN1sezDzPdxeRvpc9c433fZhBan/wusjbCsqwqm4EIBIQ==", + "dev": true, + "license": "MIT", "dependencies": { - "yocto-queue": "^0.1.0" + "yocto-queue": "^1.0.0" }, "engines": { - "node": ">=10" + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/p-locate": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", - "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "node_modules/p-locate/node_modules/yocto-queue": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-1.1.1.tgz", + "integrity": "sha512-b4JR1PFR10y1mKjhHY9LaGo6tmrgjit7hxVIeAmyMw3jegXR4dhYqLaQF5zMXZxY7tLpMyJeLjr1C4rLmkVe8g==", "dev": true, - "dependencies": { - "p-limit": "^3.0.2" - }, + "license": "MIT", "engines": { - "node": ">=10" + "node": ">=12.20" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/p-map": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-7.0.1.tgz", - "integrity": "sha512-2wnaR0XL/FDOj+TgpDuRb2KTjLnu3Fma6b1ZUwGY7LcqenMcvP/YFpjpbPKY6WVGsbuJZRuoUz8iPrt8ORnAFw==", + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-7.0.2.tgz", + "integrity": "sha512-z4cYYMMdKHzw4O5UkWJImbZynVIo0lSGTXc7bzB1e/rrDqkgGUNysK/o4bTr+0+xKvvLoTyGqYC4Fgljy9qe1Q==", "dev": true, + "license": "MIT", "engines": { "node": ">=18" }, @@ -16825,6 +16671,7 @@ "resolved": "https://registry.npmjs.org/p-reduce/-/p-reduce-2.1.0.tgz", "integrity": "sha512-2USApvnsutq8uoxZBGbbWM0JIYLiEMJ9RlaN7fAzVNb9OZN0SHjjTTfIcb667XynS5Y1VhwDJVDa72TnPzAYWw==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -16834,20 +16681,30 @@ "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } }, + "node_modules/package-json-from-dist": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.0.tgz", + "integrity": "sha512-dATvCeZN/8wQsGywez1mzHtTlP22H8OEfPrVMLNr4/eGa+ijtLn/6M5f0dY8UKNrC2O9UCU6SSoG3qRKnt7STw==", + "dev": true, + "license": "BlueOak-1.0.0" + }, "node_modules/pako": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/pako/-/pako-2.1.0.tgz", - "integrity": "sha512-w+eufiZ1WuJYgPXbV/PO3NCMEc3xqylkKHzp8bxp1uW4qaSNQUkwmLLEc3kKsfz8lpV1F8Ht3U1Cm+9Srog2ug==" + "integrity": "sha512-w+eufiZ1WuJYgPXbV/PO3NCMEc3xqylkKHzp8bxp1uW4qaSNQUkwmLLEc3kKsfz8lpV1F8Ht3U1Cm+9Srog2ug==", + "license": "(MIT AND Zlib)" }, "node_modules/parent-module": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", "dev": true, + "license": "MIT", "dependencies": { "callsites": "^3.0.0" }, @@ -16860,6 +16717,7 @@ "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", "dev": true, + "license": "MIT", "dependencies": { "@babel/code-frame": "^7.0.0", "error-ex": "^1.3.1", @@ -16873,11 +16731,25 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/parse-ms": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/parse-ms/-/parse-ms-4.0.0.tgz", + "integrity": "sha512-TXfryirbmq34y8QBwgqCVLi+8oA3oWx2eAnSn62ITyEhEYaWRlVZ2DvMM9eZbMs/RfxPu/PK/aBLyGj4IrqMHw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/parse5": { "version": "7.1.2", "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.1.2.tgz", "integrity": "sha512-Czj1WaSVpaoj0wbhMzLmWD69anp2WH7FXMB9n1Sy8/ZFF9jolSQVMu1Ij5WIyGmcBmhk7EOndpO4mIpihVqAXw==", "dev": true, + "license": "MIT", "dependencies": { "entities": "^4.4.0" }, @@ -16890,6 +16762,7 @@ "resolved": "https://registry.npmjs.org/parse5-htmlparser2-tree-adapter/-/parse5-htmlparser2-tree-adapter-6.0.1.tgz", "integrity": "sha512-qPuWvbLgvDGilKc5BoicRovlT4MtYT6JfJyBOMDsKoiT+GiuP5qyrPCnR9HcPECIJJmZh5jRndyNThnhhb/vlA==", "dev": true, + "license": "MIT", "dependencies": { "parse5": "^6.0.1" } @@ -16898,15 +16771,17 @@ "version": "6.0.1", "resolved": "https://registry.npmjs.org/parse5/-/parse5-6.0.1.tgz", "integrity": "sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/path-exists": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-5.0.0.tgz", + "integrity": "sha512-RjhtfwJOxzcFmNOi6ltcbcu4Iu+FL3zEj83dk4kAS+fVpTxXLO1b38RvJgT/0QwvV/L3aY9TAnyv0EOqW4GoMQ==", "dev": true, + "license": "MIT", "engines": { - "node": ">=8" + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" } }, "node_modules/path-is-absolute": { @@ -16914,6 +16789,7 @@ "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } @@ -16923,6 +16799,7 @@ "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -16931,29 +16808,32 @@ "version": "1.0.7", "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/path-scurry": { - "version": "1.10.2", - "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.10.2.tgz", - "integrity": "sha512-7xTavNy5RQXnsjANvVvMkEjvloOinkAjv/Z6Ildz9v2RinZ4SBKTWFOVRbaF8p0vpHnyjV/UwNDdKuUv6M5qcA==", + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz", + "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==", "dev": true, + "license": "BlueOak-1.0.0", "dependencies": { "lru-cache": "^10.2.0", "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" }, "engines": { - "node": ">=16 || 14 >=14.17" + "node": ">=16 || 14 >=14.18" }, "funding": { "url": "https://github.com/sponsors/isaacs" } }, "node_modules/path-scurry/node_modules/lru-cache": { - "version": "10.2.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.2.0.tgz", - "integrity": "sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q==", + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.3.0.tgz", + "integrity": "sha512-CQl19J/g+Hbjbv4Y3mFNNXFEL/5t/KCg8POCuUqd4rMKjGG+j1ybER83hxV58zL+dFI1PTkt3GNFSHRt+d8qEQ==", "dev": true, + "license": "ISC", "engines": { "node": "14 || >=16.14" } @@ -16963,6 +16843,7 @@ "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -16971,13 +16852,15 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.1.tgz", "integrity": "sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/picomatch": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", "dev": true, + "license": "MIT", "engines": { "node": ">=8.6" }, @@ -16990,6 +16873,7 @@ "resolved": "https://registry.npmjs.org/pidtree/-/pidtree-0.6.0.tgz", "integrity": "sha512-eG2dWTVw5bzqGRztnHExczNxt5VGsE6OwTeCG3fdUf9KBsZzO3R5OIIIzWR+iZA0NtZ+RDVdaoE2dK1cn6jH4g==", "dev": true, + "license": "MIT", "bin": { "pidtree": "bin/pidtree.js" }, @@ -17002,6 +16886,7 @@ "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", "integrity": "sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } @@ -17011,6 +16896,7 @@ "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz", "integrity": "sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==", "dev": true, + "license": "MIT", "engines": { "node": ">= 6" } @@ -17020,6 +16906,7 @@ "resolved": "https://registry.npmjs.org/pkg-conf/-/pkg-conf-2.1.0.tgz", "integrity": "sha512-C+VUP+8jis7EsQZIhDYmS5qlNtjv2yP4SNtjXK9AP1ZcTRlnSfuumaTnRfYZnYgUUYVIKqL0fRvmUGDV2fmp6g==", "dev": true, + "license": "MIT", "dependencies": { "find-up": "^2.0.0", "load-json-file": "^4.0.0" @@ -17033,6 +16920,7 @@ "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", "integrity": "sha512-NWzkk0jSJtTt08+FBFMvXoeZnOJD+jTtsRmBYbAIzJdX6l7dLgR7CTubCM5/eDdPUBvLCeVasP1brfVR/9/EZQ==", "dev": true, + "license": "MIT", "dependencies": { "locate-path": "^2.0.0" }, @@ -17045,6 +16933,7 @@ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", "integrity": "sha512-NCI2kiDkyR7VeEKm27Kda/iQHyKJe1Bu0FlTbYp3CqJu+9IFe9bLyAjMxf5ZDDbEg+iMPzB5zYyUTSm8wVTKmA==", "dev": true, + "license": "MIT", "dependencies": { "p-locate": "^2.0.0", "path-exists": "^3.0.0" @@ -17058,6 +16947,7 @@ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", "dev": true, + "license": "MIT", "dependencies": { "p-try": "^1.0.0" }, @@ -17070,6 +16960,7 @@ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", "integrity": "sha512-nQja7m7gSKuewoVRen45CtVfODR3crN3goVQ0DDZ9N3yHxgpkuBhZqsaiotSQRrADUrne346peY7kT3TSACykg==", "dev": true, + "license": "MIT", "dependencies": { "p-limit": "^1.1.0" }, @@ -17082,6 +16973,7 @@ "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", "integrity": "sha512-U1etNYuMJoIz3ZXSrrySFjsXQTWOx2/jdi86L+2pRvph/qMKL6sbcCYdH23fqsbm8TH2Gn0OybpT4eSFlCVHww==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } @@ -17091,6 +16983,7 @@ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", "integrity": "sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } @@ -17100,6 +16993,7 @@ "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", "dev": true, + "license": "MIT", "dependencies": { "find-up": "^4.0.0" }, @@ -17112,6 +17006,7 @@ "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", "dev": true, + "license": "MIT", "dependencies": { "locate-path": "^5.0.0", "path-exists": "^4.0.0" @@ -17125,6 +17020,7 @@ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", "dev": true, + "license": "MIT", "dependencies": { "p-locate": "^4.1.0" }, @@ -17137,6 +17033,7 @@ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", "dev": true, + "license": "MIT", "dependencies": { "p-try": "^2.0.0" }, @@ -17152,6 +17049,7 @@ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", "dev": true, + "license": "MIT", "dependencies": { "p-limit": "^2.2.0" }, @@ -17159,15 +17057,14 @@ "node": ">=8" } }, - "node_modules/popper.js": { - "version": "1.16.1", - "resolved": "https://registry.npmjs.org/popper.js/-/popper.js-1.16.1.tgz", - "integrity": "sha512-Wb4p1J4zyFTbM+u6WuO4XstYx4Ky9Cewe4DWrel7B0w6VVICvPwdOpotjzcf6eD8TsckVnIMNONQyPIUFOUbCQ==", - "deprecated": "You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1", + "node_modules/pkg-dir/node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", "dev": true, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/popperjs" + "license": "MIT", + "engines": { + "node": ">=8" } }, "node_modules/possible-typed-array-names": { @@ -17175,40 +17072,11 @@ "resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz", "integrity": "sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.4" } }, - "node_modules/postcss": { - "version": "8.4.38", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.38.tgz", - "integrity": "sha512-Wglpdk03BSfXkHoQa3b/oulrotAkwrlLDRSOb9D0bN86FdRyE9lppSp33aHNPgBa0JKCoB+drFLZkQoRRYae5A==", - "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/postcss" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "optional": true, - "peer": true, - "dependencies": { - "nanoid": "^3.3.7", - "picocolors": "^1.0.0", - "source-map-js": "^1.2.0" - }, - "engines": { - "node": "^10 || ^12 || >=14" - } - }, "node_modules/postcss-load-config": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-4.0.2.tgz", @@ -17224,6 +17092,7 @@ "url": "https://github.com/sponsors/ai" } ], + "license": "MIT", "dependencies": { "lilconfig": "^3.0.0", "yaml": "^2.3.4" @@ -17249,15 +17118,17 @@ "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.8.0" } }, "node_modules/prettier": { - "version": "3.2.5", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.2.5.tgz", - "integrity": "sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==", + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.3.2.tgz", + "integrity": "sha512-rAVeHYMcv8ATV5d508CFdn+8/pHPpXeIid1DdrPwXnaAdH7cqjVbpJaT5eq4yRAFU/lsbwYwSF/n5iNrdJHPQA==", "dev": true, + "license": "MIT", "bin": { "prettier": "bin/prettier.cjs" }, @@ -17273,6 +17144,7 @@ "resolved": "https://registry.npmjs.org/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz", "integrity": "sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==", "dev": true, + "license": "MIT", "dependencies": { "fast-diff": "^1.1.2" }, @@ -17285,6 +17157,7 @@ "resolved": "https://registry.npmjs.org/prettier-plugin-import-sort/-/prettier-plugin-import-sort-0.0.7.tgz", "integrity": "sha512-O0KlUSq+lwvh+UiN3wZDT6wWkf7TNxTVv2/XXE5KqpRNbFJq3nRg2ftzBYFFO8QGpdWIrOB0uCTCtFjIxmVKQw==", "dev": true, + "license": "MIT", "dependencies": { "import-sort": "^6.0.0", "import-sort-config": "^6.0.0", @@ -17300,6 +17173,7 @@ "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.7.0.tgz", "integrity": "sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==", "dev": true, + "license": "MIT", "dependencies": { "@jest/schemas": "^29.6.3", "ansi-styles": "^5.0.0", @@ -17314,6 +17188,7 @@ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" }, @@ -17321,17 +17196,35 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, + "node_modules/pretty-ms": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/pretty-ms/-/pretty-ms-9.0.0.tgz", + "integrity": "sha512-E9e9HJ9R9NasGOgPaPE8VMeiPKAyWR5jcFpNnwIejslIhWqdqOrb2wShBsncMPUb+BcCd2OPYfh7p2W6oemTng==", + "dev": true, + "license": "MIT", + "dependencies": { + "parse-ms": "^4.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/process-nextick-args": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/prompts": { "version": "2.4.2", "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz", "integrity": "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==", "dev": true, + "license": "MIT", "dependencies": { "kleur": "^3.0.3", "sisteransi": "^1.0.5" @@ -17340,38 +17233,34 @@ "node": ">= 6" } }, - "node_modules/prop-types": { - "version": "15.8.1", - "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz", - "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==", - "dev": true, - "dependencies": { - "loose-envify": "^1.4.0", - "object-assign": "^4.1.1", - "react-is": "^16.13.1" - } - }, - "node_modules/prop-types/node_modules/react-is": { - "version": "16.13.1", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", - "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", - "dev": true - }, "node_modules/proto-list": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz", "integrity": "sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/psl": { "version": "1.9.0", "resolved": "https://registry.npmjs.org/psl/-/psl-1.9.0.tgz", - "integrity": "sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==" + "integrity": "sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==", + "license": "MIT" }, "node_modules/punycode": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/punycode.js": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode.js/-/punycode.js-2.3.1.tgz", + "integrity": "sha512-uxFIHU0YlHYhDQtV4R9J6a52SLx28BCjT+4ieh7IGbgwVJWO+km431c4yRlREUAsAmt/uMjQUyQHNEPf0M39CA==", + "dev": true, + "license": "MIT", "engines": { "node": ">=6" } @@ -17390,12 +17279,14 @@ "type": "opencollective", "url": "https://opencollective.com/fast-check" } - ] + ], + "license": "MIT" }, "node_modules/querystringify": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.2.0.tgz", - "integrity": "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==" + "integrity": "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==", + "license": "MIT" }, "node_modules/queue-microtask": { "version": "1.2.3", @@ -17415,13 +17306,15 @@ "type": "consulting", "url": "https://feross.org/support" } - ] + ], + "license": "MIT" }, "node_modules/rc": { "version": "1.2.8", "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", "dev": true, + "license": "(BSD-2-Clause OR MIT OR Apache-2.0)", "dependencies": { "deep-extend": "^0.6.0", "ini": "~1.3.0", @@ -17432,53 +17325,67 @@ "rc": "cli.js" } }, + "node_modules/rc/node_modules/ini": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", + "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", + "dev": true, + "license": "ISC" + }, "node_modules/rc/node_modules/strip-json-comments": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", "integrity": "sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, - "node_modules/react": { + "node_modules/react-is": { "version": "18.3.1", - "resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz", - "integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.3.1.tgz", + "integrity": "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==", + "dev": true, + "license": "MIT" + }, + "node_modules/read-package-up": { + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/read-package-up/-/read-package-up-11.0.0.tgz", + "integrity": "sha512-MbgfoNPANMdb4oRBNg5eqLbB2t2r+o5Ua1pNt8BqGp4I0FJZhuVSOj3PaBPni4azWuSzEdNn2evevzVmEk1ohQ==", "dev": true, - "peer": true, + "license": "MIT", "dependencies": { - "loose-envify": "^1.1.0" + "find-up-simple": "^1.0.0", + "read-pkg": "^9.0.0", + "type-fest": "^4.6.0" }, "engines": { - "node": ">=0.10.0" + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/react-dom": { - "version": "18.3.1", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz", - "integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==", + "node_modules/read-package-up/node_modules/type-fest": { + "version": "4.21.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.21.0.tgz", + "integrity": "sha512-ADn2w7hVPcK6w1I0uWnM//y1rLXZhzB9mr0a3OirzclKF1Wp6VzevUmzz/NRAWunOT6E8HrnpGY7xOfc6K57fA==", "dev": true, - "peer": true, - "dependencies": { - "loose-envify": "^1.1.0", - "scheduler": "^0.23.2" + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=16" }, - "peerDependencies": { - "react": "^18.3.1" + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/react-is": { - "version": "18.2.0", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz", - "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==", - "dev": true - }, "node_modules/read-pkg": { "version": "9.0.1", "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-9.0.1.tgz", "integrity": "sha512-9viLL4/n1BJUCT1NXVTdS1jtm80yDEgR5T4yCelII49Mbj0v1rZdKqj7zCiYdbB0CuCgdrvHcNogAKTFPBocFA==", "dev": true, + "license": "MIT", "dependencies": { "@types/normalize-package-data": "^2.4.3", "normalize-package-data": "^6.0.0", @@ -17493,41 +17400,12 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/read-pkg-up": { - "version": "11.0.0", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-11.0.0.tgz", - "integrity": "sha512-LOVbvF1Q0SZdjClSefZ0Nz5z8u+tIE7mV5NibzmE9VYmDe9CaBbAVtz1veOSZbofrdsilxuDAYnFenukZVp8/Q==", - "deprecated": "Renamed to read-package-up", - "dev": true, - "dependencies": { - "find-up-simple": "^1.0.0", - "read-pkg": "^9.0.0", - "type-fest": "^4.6.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/read-pkg-up/node_modules/type-fest": { - "version": "4.14.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.14.0.tgz", - "integrity": "sha512-on5/Cw89wwqGZQu+yWO0gGMGu8VNxsaW9SB2HE8yJjllEk7IDTwnSN1dUVldYILhYPN5HzD7WAaw2cc/jBfn0Q==", - "dev": true, - "engines": { - "node": ">=16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/read-pkg/node_modules/parse-json": { "version": "8.1.0", "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-8.1.0.tgz", "integrity": "sha512-rum1bPifK5SSar35Z6EKZuYPJx85pkNaFrxBK3mwdfSJ1/WKbYrjoW/zTPSjRRamfmVX1ACBIdFAO0VRErW/EA==", "dev": true, + "license": "MIT", "dependencies": { "@babel/code-frame": "^7.22.13", "index-to-position": "^0.1.2", @@ -17541,10 +17419,11 @@ } }, "node_modules/read-pkg/node_modules/type-fest": { - "version": "4.14.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.14.0.tgz", - "integrity": "sha512-on5/Cw89wwqGZQu+yWO0gGMGu8VNxsaW9SB2HE8yJjllEk7IDTwnSN1dUVldYILhYPN5HzD7WAaw2cc/jBfn0Q==", + "version": "4.21.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.21.0.tgz", + "integrity": "sha512-ADn2w7hVPcK6w1I0uWnM//y1rLXZhzB9mr0a3OirzclKF1Wp6VzevUmzz/NRAWunOT6E8HrnpGY7xOfc6K57fA==", "dev": true, + "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=16" }, @@ -17557,6 +17436,7 @@ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", "dev": true, + "license": "MIT", "dependencies": { "core-util-is": "~1.0.0", "inherits": "~2.0.3", @@ -17572,6 +17452,7 @@ "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", "dev": true, + "license": "MIT", "dependencies": { "picomatch": "^2.2.1" }, @@ -17583,6 +17464,7 @@ "version": "2.1.1", "resolved": "https://registry.npmjs.org/redeyed/-/redeyed-2.1.1.tgz", "integrity": "sha512-FNpGGo1DycYAdnrKFxCMmKYgo/mILAqtRYbkdQD8Ep/Hk2PQ5+aEAEx+IU713RTDmuBaH0c8P5ZozurNu5ObRQ==", + "license": "MIT", "dependencies": { "esprima": "~4.0.0" } @@ -17591,13 +17473,15 @@ "version": "1.4.2", "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz", "integrity": "sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/regenerate-unicode-properties": { "version": "10.1.1", "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-10.1.1.tgz", "integrity": "sha512-X007RyZLsCJVVrjgEFVpLUTZwyOZk3oiL75ZcuYjlIWd6rNJtOjkBwQc5AsRrpbKVkxN6sklw/k/9m2jJYOf8Q==", "dev": true, + "license": "MIT", "dependencies": { "regenerate": "^1.4.2" }, @@ -17609,13 +17493,15 @@ "version": "0.14.1", "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz", "integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/regenerator-transform": { "version": "0.15.2", "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.15.2.tgz", "integrity": "sha512-hfMp2BoF0qOk3uc5V20ALGDS2ddjQaLrdl7xrGXvAIow7qeWRM2VA2HuCHkUKk9slq3VwEwLNK3DFBqDfPGYtg==", "dev": true, + "license": "MIT", "dependencies": { "@babel/runtime": "^7.8.4" } @@ -17625,6 +17511,7 @@ "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.2.tgz", "integrity": "sha512-NcDiDkTLuPR+++OCKB0nWafEmhg/Da8aUPLPMQbK+bxKKCm1/S5he+AqYa4PlMCVBalb4/yxIRub6qkEx5yJbw==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.6", "define-properties": "^1.2.1", @@ -17643,6 +17530,7 @@ "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-5.3.2.tgz", "integrity": "sha512-RAM5FlZz+Lhmo7db9L298p2vHP5ZywrVXmVXpmAD9GuL5MPH6t9ROw1iA/wfHkQ76Qe7AaPF0nGuim96/IrQMQ==", "dev": true, + "license": "MIT", "dependencies": { "@babel/regjsgen": "^0.8.0", "regenerate": "^1.4.2", @@ -17660,6 +17548,7 @@ "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-5.0.2.tgz", "integrity": "sha512-o/3ikDxtXaA59BmZuZrJZDJv8NMDGSj+6j6XaeBmHw8eY1i1qd9+6H+LjVvQXx3HN6aRCGa1cUdJ9RaJZUugnQ==", "dev": true, + "license": "MIT", "dependencies": { "@pnpm/npm-conf": "^2.1.0" }, @@ -17672,6 +17561,7 @@ "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.9.1.tgz", "integrity": "sha512-dQUtn90WanSNl+7mQKcXAgZxvUe7Z0SqXlgzv0za4LwiUhyzBC58yQO3liFoUgu8GiJVInAhJjkj1N0EtQ5nkQ==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "jsesc": "~0.5.0" }, @@ -17692,6 +17582,7 @@ "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", + "license": "MIT", "engines": { "node": ">=0.10.0" } @@ -17701,6 +17592,7 @@ "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } @@ -17708,13 +17600,15 @@ "node_modules/requires-port": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz", - "integrity": "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==" + "integrity": "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==", + "license": "MIT" }, "node_modules/resolve": { "version": "1.22.8", "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", "dev": true, + "license": "MIT", "dependencies": { "is-core-module": "^2.13.0", "path-parse": "^1.0.7", @@ -17732,6 +17626,7 @@ "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz", "integrity": "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==", "dev": true, + "license": "MIT", "dependencies": { "resolve-from": "^5.0.0" }, @@ -17744,6 +17639,7 @@ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -17753,47 +17649,86 @@ "resolved": "https://registry.npmjs.org/resolve.exports/-/resolve.exports-2.0.2.tgz", "integrity": "sha512-X2UW6Nw3n/aMgDVy+0rSqgHlv39WZAlZrXCdnbyEiKm17DSqHX4MmQMaST3FbeWR5FTuRcUwYAziZajji0Y7mg==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" } }, - "node_modules/restore-cursor": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-4.0.0.tgz", - "integrity": "sha512-I9fPXU9geO9bHOt9pHHOhOkYerIMsmVaWB0rA2AI9ERh/+x/i7MV5HKBNrg+ljO5eoPVgCcnFuRjJ9uH6I/3eg==", + "node_modules/restore-cursor": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-4.0.0.tgz", + "integrity": "sha512-I9fPXU9geO9bHOt9pHHOhOkYerIMsmVaWB0rA2AI9ERh/+x/i7MV5HKBNrg+ljO5eoPVgCcnFuRjJ9uH6I/3eg==", + "dev": true, + "license": "MIT", + "dependencies": { + "onetime": "^5.1.0", + "signal-exit": "^3.0.2" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/restore-cursor/node_modules/mimic-fn": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", + "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/restore-cursor/node_modules/onetime": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", + "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", "dev": true, + "license": "MIT", "dependencies": { - "onetime": "^5.1.0", - "signal-exit": "^3.0.2" + "mimic-fn": "^2.1.0" }, "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + "node": ">=6" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/restore-cursor/node_modules/signal-exit": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", + "dev": true, + "license": "ISC" + }, "node_modules/reusify": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", "dev": true, + "license": "MIT", "engines": { "iojs": ">=1.0.0", "node": ">=0.10.0" } }, "node_modules/rfdc": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/rfdc/-/rfdc-1.3.1.tgz", - "integrity": "sha512-r5a3l5HzYlIC68TpmYKlxWjmOP6wiPJ1vWv2HeLhNsRZMrCkxeqxiHlQ21oXmQ4F3SiryXBHhAD7JZqvOJjFmg==", - "dev": true + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/rfdc/-/rfdc-1.4.1.tgz", + "integrity": "sha512-q1b3N5QkRUWUl7iyylaaj3kOpIT0N2i9MqIEQXP73GVsN9cw3fdx8X63cEmWhJGi2PPCF23Ijp7ktmd39rawIA==", + "dev": true, + "license": "MIT" }, "node_modules/rimraf": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "deprecated": "Rimraf versions prior to v4 are no longer supported", "dev": true, + "license": "ISC", "dependencies": { "glob": "^7.1.3" }, @@ -17805,10 +17740,11 @@ } }, "node_modules/rollup": { - "version": "4.13.2", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.13.2.tgz", - "integrity": "sha512-MIlLgsdMprDBXC+4hsPgzWUasLO9CE4zOkj/u6j+Z6j5A4zRY+CtiXAdJyPtgCsc42g658Aeh1DlrdVEJhsL2g==", + "version": "4.18.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.18.0.tgz", + "integrity": "sha512-QmJz14PX3rzbJCN1SG4Xe/bAAX2a6NpCP8ab2vfu2GiUr8AQcr2nCV/oEO3yneFarB67zk8ShlIyWb2LGTb3Sg==", "dev": true, + "license": "MIT", "dependencies": { "@types/estree": "1.0.5" }, @@ -17820,21 +17756,22 @@ "npm": ">=8.0.0" }, "optionalDependencies": { - "@rollup/rollup-android-arm-eabi": "4.13.2", - "@rollup/rollup-android-arm64": "4.13.2", - "@rollup/rollup-darwin-arm64": "4.13.2", - "@rollup/rollup-darwin-x64": "4.13.2", - "@rollup/rollup-linux-arm-gnueabihf": "4.13.2", - "@rollup/rollup-linux-arm64-gnu": "4.13.2", - "@rollup/rollup-linux-arm64-musl": "4.13.2", - "@rollup/rollup-linux-powerpc64le-gnu": "4.13.2", - "@rollup/rollup-linux-riscv64-gnu": "4.13.2", - "@rollup/rollup-linux-s390x-gnu": "4.13.2", - "@rollup/rollup-linux-x64-gnu": "4.13.2", - "@rollup/rollup-linux-x64-musl": "4.13.2", - "@rollup/rollup-win32-arm64-msvc": "4.13.2", - "@rollup/rollup-win32-ia32-msvc": "4.13.2", - "@rollup/rollup-win32-x64-msvc": "4.13.2", + "@rollup/rollup-android-arm-eabi": "4.18.0", + "@rollup/rollup-android-arm64": "4.18.0", + "@rollup/rollup-darwin-arm64": "4.18.0", + "@rollup/rollup-darwin-x64": "4.18.0", + "@rollup/rollup-linux-arm-gnueabihf": "4.18.0", + "@rollup/rollup-linux-arm-musleabihf": "4.18.0", + "@rollup/rollup-linux-arm64-gnu": "4.18.0", + "@rollup/rollup-linux-arm64-musl": "4.18.0", + "@rollup/rollup-linux-powerpc64le-gnu": "4.18.0", + "@rollup/rollup-linux-riscv64-gnu": "4.18.0", + "@rollup/rollup-linux-s390x-gnu": "4.18.0", + "@rollup/rollup-linux-x64-gnu": "4.18.0", + "@rollup/rollup-linux-x64-musl": "4.18.0", + "@rollup/rollup-win32-arm64-msvc": "4.18.0", + "@rollup/rollup-win32-ia32-msvc": "4.18.0", + "@rollup/rollup-win32-x64-msvc": "4.18.0", "fsevents": "~2.3.2" } }, @@ -17857,6 +17794,7 @@ "url": "https://feross.org/support" } ], + "license": "MIT", "dependencies": { "queue-microtask": "^1.2.2" } @@ -17866,6 +17804,7 @@ "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.1.2.tgz", "integrity": "sha512-vj6RsCsWBCf19jIeHEfkRMw8DPiBb+DMXklQ/1SGDHOMlHdPUkZXFQ2YdplS23zESTijAcurb1aSgJA3AgMu1Q==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.7", "get-intrinsic": "^1.2.4", @@ -17883,19 +17822,22 @@ "version": "2.0.5", "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/safe-buffer": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/safe-regex-test": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.3.tgz", "integrity": "sha512-CdASjNJPvRa7roO6Ra/gLYBTzYzzPyyBXxIMdGW3USQLyjWEls2RgW5UBTXaQVp+OrpeCK3bLem8smtmheoRuw==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.6", "es-errors": "^1.3.0", @@ -17912,13 +17854,15 @@ "version": "2.1.2", "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/saxes": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/saxes/-/saxes-6.0.0.tgz", "integrity": "sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA==", "dev": true, + "license": "ISC", "dependencies": { "xmlchars": "^2.2.0" }, @@ -17926,34 +17870,25 @@ "node": ">=v12.22.7" } }, - "node_modules/scheduler": { - "version": "0.23.2", - "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz", - "integrity": "sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==", - "dev": true, - "peer": true, - "dependencies": { - "loose-envify": "^1.1.0" - } - }, "node_modules/semantic-release": { - "version": "23.0.6", - "resolved": "https://registry.npmjs.org/semantic-release/-/semantic-release-23.0.6.tgz", - "integrity": "sha512-/r62F4PNhJZhyZYMobcpcACGwpFNQyaVcSmqZQXG50GMbHSBVZQLCvwafqxO1lDQKVgmGmyCEtOVYzwvzvyhVw==", + "version": "24.0.0", + "resolved": "https://registry.npmjs.org/semantic-release/-/semantic-release-24.0.0.tgz", + "integrity": "sha512-v46CRPw+9eI3ZuYGF2oAjqPqsfbnfFTwLBgQsv/lch4goD09ytwOTESMN4QIrx/wPLxUGey60/NMx+ANQtWRsA==", "dev": true, + "license": "MIT", "dependencies": { - "@semantic-release/commit-analyzer": "^12.0.0", + "@semantic-release/commit-analyzer": "^13.0.0-beta.1", "@semantic-release/error": "^4.0.0", "@semantic-release/github": "^10.0.0", "@semantic-release/npm": "^12.0.0", - "@semantic-release/release-notes-generator": "^13.0.0", + "@semantic-release/release-notes-generator": "^14.0.0-beta.1", "aggregate-error": "^5.0.0", "cosmiconfig": "^9.0.0", "debug": "^4.0.0", "env-ci": "^11.0.0", - "execa": "^8.0.0", + "execa": "^9.0.0", "figures": "^6.0.0", - "find-versions": "^5.1.0", + "find-versions": "^6.0.0", "get-stream": "^6.0.0", "git-log-parser": "^1.2.0", "hook-std": "^3.0.0", @@ -17965,7 +17900,7 @@ "micromatch": "^4.0.2", "p-each-series": "^3.0.0", "p-reduce": "^3.0.0", - "read-pkg-up": "^11.0.0", + "read-package-up": "^11.0.0", "resolve-from": "^5.0.0", "semver": "^7.3.2", "semver-diff": "^4.0.0", @@ -17984,8 +17919,22 @@ "resolved": "https://registry.npmjs.org/@semantic-release/error/-/error-4.0.0.tgz", "integrity": "sha512-mgdxrHTLOjOddRVYIYDo0fR3/v61GNN1YGkfbrjuIKg/uMgCd+Qzo3UAXJ+woLQQpos4pl5Esuw5A7AoNlzjUQ==", "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + } + }, + "node_modules/semantic-release/node_modules/@sindresorhus/merge-streams": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@sindresorhus/merge-streams/-/merge-streams-4.0.0.tgz", + "integrity": "sha512-tlqY9xq5ukxTUZBmoOp+m61cqwQD5pHJtFY3Mn8CA8ps6yghLH/Hw8UPdqg4OLmFW3IFlcXnQNmo/dh8HzXYIQ==", + "dev": true, + "license": "MIT", "engines": { "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/semantic-release/node_modules/aggregate-error": { @@ -17993,6 +17942,7 @@ "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-5.0.0.tgz", "integrity": "sha512-gOsf2YwSlleG6IjRYG2A7k0HmBMEo6qVNk9Bp/EaLgAJT5ngH6PXbqa4ItvnEwCm/velL5jAnQgsHsWnjhGmvw==", "dev": true, + "license": "MIT", "dependencies": { "clean-stack": "^5.2.0", "indent-string": "^5.0.0" @@ -18009,6 +17959,7 @@ "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-5.2.0.tgz", "integrity": "sha512-TyUIUJgdFnCISzG5zu3291TAsE77ddchd0bepon1VVQrKLGKFED4iXFEDQ24mIPdPBbyE16PK3F8MYE1CmcBEQ==", "dev": true, + "license": "MIT", "dependencies": { "escape-string-regexp": "5.0.0" }, @@ -18024,6 +17975,7 @@ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -18032,35 +17984,44 @@ } }, "node_modules/semantic-release/node_modules/execa": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/execa/-/execa-8.0.1.tgz", - "integrity": "sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==", + "version": "9.3.0", + "resolved": "https://registry.npmjs.org/execa/-/execa-9.3.0.tgz", + "integrity": "sha512-l6JFbqnHEadBoVAVpN5dl2yCyfX28WoBAGaoQcNmLLSedOxTxcn2Qa83s8I/PA5i56vWru2OHOtrwF7Om2vqlg==", "dev": true, + "license": "MIT", "dependencies": { + "@sindresorhus/merge-streams": "^4.0.0", "cross-spawn": "^7.0.3", - "get-stream": "^8.0.1", - "human-signals": "^5.0.0", - "is-stream": "^3.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^5.1.0", - "onetime": "^6.0.0", + "figures": "^6.1.0", + "get-stream": "^9.0.0", + "human-signals": "^7.0.0", + "is-plain-obj": "^4.1.0", + "is-stream": "^4.0.1", + "npm-run-path": "^5.2.0", + "pretty-ms": "^9.0.0", "signal-exit": "^4.1.0", - "strip-final-newline": "^3.0.0" + "strip-final-newline": "^4.0.0", + "yoctocolors": "^2.0.0" }, "engines": { - "node": ">=16.17" + "node": "^18.19.0 || >=20.5.0" }, "funding": { "url": "https://github.com/sindresorhus/execa?sponsor=1" } }, "node_modules/semantic-release/node_modules/execa/node_modules/get-stream": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-8.0.1.tgz", - "integrity": "sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==", + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-9.0.1.tgz", + "integrity": "sha512-kVCxPF3vQM/N0B1PmoqVUqgHP+EeVjmZSQn+1oCRPxd2P21P2F19lIgbR3HBosbB1PUhOAoctJnfEn2GbN2eZA==", "dev": true, + "license": "MIT", + "dependencies": { + "@sec-ant/readable-stream": "^0.4.1", + "is-stream": "^4.0.1" + }, "engines": { - "node": ">=16" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -18071,6 +18032,7 @@ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" }, @@ -18079,12 +18041,13 @@ } }, "node_modules/semantic-release/node_modules/human-signals": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-5.0.0.tgz", - "integrity": "sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-7.0.0.tgz", + "integrity": "sha512-74kytxOUSvNbjrT9KisAbaTZ/eJwD/LrbM/kh5j0IhPuJzwuA19dWvniFGwBzN9rVjg+O/e+F310PjObDXS+9Q==", "dev": true, + "license": "Apache-2.0", "engines": { - "node": ">=16.17.0" + "node": ">=18.18.0" } }, "node_modules/semantic-release/node_modules/indent-string": { @@ -18092,6 +18055,7 @@ "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-5.0.0.tgz", "integrity": "sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -18100,66 +18064,13 @@ } }, "node_modules/semantic-release/node_modules/is-stream": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz", - "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==", - "dev": true, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/semantic-release/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/semantic-release/node_modules/mimic-fn": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz", - "integrity": "sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/semantic-release/node_modules/npm-run-path": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.3.0.tgz", - "integrity": "sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ==", - "dev": true, - "dependencies": { - "path-key": "^4.0.0" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/semantic-release/node_modules/onetime": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-6.0.0.tgz", - "integrity": "sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-4.0.1.tgz", + "integrity": "sha512-Dnz92NInDqYckGEUJv689RbRiTSEHCQ7wOVeALbkOz999YpqT46yMRIGtSNl2iCL1waAZSx40+h59NV/EwzV/A==", "dev": true, - "dependencies": { - "mimic-fn": "^4.0.0" - }, + "license": "MIT", "engines": { - "node": ">=12" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -18170,18 +18081,7 @@ "resolved": "https://registry.npmjs.org/p-reduce/-/p-reduce-3.0.0.tgz", "integrity": "sha512-xsrIUgI0Kn6iyDYm9StOpOeK29XM1aboGji26+QEortiFST1hGZaUQOLhtEbqHErPpGW/aSz6allwK2qcptp0Q==", "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/semantic-release/node_modules/path-key": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz", - "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==", - "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -18190,13 +18090,11 @@ } }, "node_modules/semantic-release/node_modules/semver": { - "version": "7.6.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", - "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", + "version": "7.6.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz", + "integrity": "sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==", "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, + "license": "ISC", "bin": { "semver": "bin/semver.js" }, @@ -18204,117 +18102,25 @@ "node": ">=10" } }, - "node_modules/semantic-release/node_modules/signal-exit": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", - "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", - "dev": true, - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/semantic-release/node_modules/strip-final-newline": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-3.0.0.tgz", - "integrity": "sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-4.0.0.tgz", + "integrity": "sha512-aulFJcD6YK8V1G7iRB5tigAP4TsHBZZrOV8pjV++zdUwmeV8uzbY7yn6h9MswN62adStNZFuCIx4haBnRuMDaw==", "dev": true, + "license": "MIT", "engines": { - "node": ">=12" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/semantic-release/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, - "node_modules/semantic-ui-react": { - "version": "0.88.2", - "resolved": "https://registry.npmjs.org/semantic-ui-react/-/semantic-ui-react-0.88.2.tgz", - "integrity": "sha512-+02kN2z8PuA/cMdvDUsHhbJmBzxxgOXVHMFr9XK7zGb0wkW9A6OPQMFokWz7ozlVtKjN6r7zsb+Qvjk/qq1OWw==", - "dev": true, - "dependencies": { - "@babel/runtime": "^7.1.2", - "@semantic-ui-react/event-stack": "^3.1.0", - "@stardust-ui/react-component-event-listener": "~0.38.0", - "@stardust-ui/react-component-ref": "~0.38.0", - "classnames": "^2.2.6", - "keyboard-key": "^1.0.4", - "lodash": "^4.17.15", - "prop-types": "^15.7.2", - "react-is": "^16.8.6", - "react-popper": "^1.3.4", - "shallowequal": "^1.1.0" - }, - "peerDependencies": { - "react": "^16.8.0", - "react-dom": "^16.8.0" - } - }, - "node_modules/semantic-ui-react/node_modules/@stardust-ui/react-component-event-listener": { - "version": "0.38.0", - "resolved": "https://registry.npmjs.org/@stardust-ui/react-component-event-listener/-/react-component-event-listener-0.38.0.tgz", - "integrity": "sha512-sIP/e0dyOrrlb8K7KWumfMxj/gAifswTBC4o68Aa+C/GA73ccRp/6W1VlHvF/dlOR4KLsA+5SKnhjH36xzPsWg==", - "dev": true, - "dependencies": { - "@babel/runtime": "^7.1.2", - "prop-types": "^15.7.2" - }, - "peerDependencies": { - "react": "^16.8.0", - "react-dom": "^16.8.0" - } - }, - "node_modules/semantic-ui-react/node_modules/@stardust-ui/react-component-ref": { - "version": "0.38.0", - "resolved": "https://registry.npmjs.org/@stardust-ui/react-component-ref/-/react-component-ref-0.38.0.tgz", - "integrity": "sha512-xjs6WnvJVueSIXMWw0C3oWIgAPpcD03qw43oGOjUXqFktvpNkB73JoKIhS4sCrtQxBdct75qqr4ZL6JiyPcESw==", - "dev": true, - "dependencies": { - "@babel/runtime": "^7.1.2", - "prop-types": "^15.7.2", - "react-is": "^16.6.3" - }, - "peerDependencies": { - "react": "^16.8.0", - "react-dom": "^16.8.0" - } - }, - "node_modules/semantic-ui-react/node_modules/react-is": { - "version": "16.13.1", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", - "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", - "dev": true - }, - "node_modules/semantic-ui-react/node_modules/react-popper": { - "version": "1.3.11", - "resolved": "https://registry.npmjs.org/react-popper/-/react-popper-1.3.11.tgz", - "integrity": "sha512-VSA/bS+pSndSF2fiasHK/PTEEAyOpX60+H5EPAjoArr8JGm+oihu4UbrqcEBpQibJxBVCpYyjAX7abJ+7DoYVg==", - "dev": true, - "dependencies": { - "@babel/runtime": "^7.1.2", - "@hypnosphi/create-react-context": "^0.3.1", - "deep-equal": "^1.1.1", - "popper.js": "^1.14.4", - "prop-types": "^15.6.1", - "typed-styles": "^0.0.7", - "warning": "^4.0.2" - }, - "peerDependencies": { - "react": "0.14.x || ^15.0.0 || ^16.0.0 || ^17.0.0" - } - }, "node_modules/semver": { "version": "6.3.1", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, + "license": "ISC", "bin": { "semver": "bin/semver.js" } @@ -18324,6 +18130,7 @@ "resolved": "https://registry.npmjs.org/semver-diff/-/semver-diff-4.0.0.tgz", "integrity": "sha512-0Ju4+6A8iOnpL/Thra7dZsSlOHYAHIeMxfhWQRI1/VLcT3WDBZKKtQt/QkBOsiIN9ZpuvHE6cGZ0x4glCMmfiA==", "dev": true, + "license": "MIT", "dependencies": { "semver": "^7.3.5" }, @@ -18334,26 +18141,12 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/semver-diff/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/semver-diff/node_modules/semver": { - "version": "7.6.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", - "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", + "version": "7.6.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz", + "integrity": "sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==", "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, + "license": "ISC", "bin": { "semver": "bin/semver.js" }, @@ -18361,17 +18154,12 @@ "node": ">=10" } }, - "node_modules/semver-diff/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, "node_modules/semver-regex": { "version": "4.0.5", "resolved": "https://registry.npmjs.org/semver-regex/-/semver-regex-4.0.5.tgz", "integrity": "sha512-hunMQrEy1T6Jr2uEVjrAIqjwWcQTgOAcIM52C8MY1EZSD3DDNft04XzvYKPqjED65bNVVko0YI38nYeEHCX3yw==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -18382,13 +18170,15 @@ "node_modules/set-cookie-parser": { "version": "2.6.0", "resolved": "https://registry.npmjs.org/set-cookie-parser/-/set-cookie-parser-2.6.0.tgz", - "integrity": "sha512-RVnVQxTXuerk653XfuliOxBP81Sf0+qfQE73LIYKcyMYHG94AuH0kgrQpRDuTZnSmjpysHmzxJXKNfa6PjFhyQ==" + "integrity": "sha512-RVnVQxTXuerk653XfuliOxBP81Sf0+qfQE73LIYKcyMYHG94AuH0kgrQpRDuTZnSmjpysHmzxJXKNfa6PjFhyQ==", + "license": "MIT" }, "node_modules/set-function-length": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", "dev": true, + "license": "MIT", "dependencies": { "define-data-property": "^1.1.4", "es-errors": "^1.3.0", @@ -18406,6 +18196,7 @@ "resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.2.tgz", "integrity": "sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==", "dev": true, + "license": "MIT", "dependencies": { "define-data-property": "^1.1.4", "es-errors": "^1.3.0", @@ -18416,17 +18207,12 @@ "node": ">= 0.4" } }, - "node_modules/shallowequal": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/shallowequal/-/shallowequal-1.1.0.tgz", - "integrity": "sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ==", - "dev": true - }, "node_modules/shebang-command": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", "dev": true, + "license": "MIT", "dependencies": { "shebang-regex": "^3.0.0" }, @@ -18439,20 +18225,19 @@ "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/shiki": { - "version": "0.14.7", - "resolved": "https://registry.npmjs.org/shiki/-/shiki-0.14.7.tgz", - "integrity": "sha512-dNPAPrxSc87ua2sKJ3H5dQ/6ZaY8RNnaAqK+t0eG7p0Soi2ydiqbGOTaZCqaYvA/uZYfS1LJnemt3Q+mSfcPCg==", + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/shiki/-/shiki-1.10.1.tgz", + "integrity": "sha512-uafV7WCgN4YYrccH6yxpnps6k38sSTlFRrwc4jycWmhWxJIm9dPrk+XkY1hZ2t0I7jmacMNb15Lf2fspa/Y3lg==", "dev": true, + "license": "MIT", "dependencies": { - "ansi-sequence-parser": "^1.1.0", - "jsonc-parser": "^3.2.0", - "vscode-oniguruma": "^1.7.0", - "vscode-textmate": "^8.0.0" + "@shikijs/core": "1.10.1" } }, "node_modules/side-channel": { @@ -18460,6 +18245,7 @@ "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.6.tgz", "integrity": "sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.7", "es-errors": "^1.3.0", @@ -18474,16 +18260,24 @@ } }, "node_modules/signal-exit": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", - "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", - "dev": true + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } }, "node_modules/signale": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/signale/-/signale-1.4.0.tgz", "integrity": "sha512-iuh+gPf28RkltuJC7W5MRi6XAjTDCAPC/prJUpQoG4vIP3MJZ+GTydVnodXA7pwvTKb2cA0m9OFZW/cdWy/I/w==", "dev": true, + "license": "MIT", "dependencies": { "chalk": "^2.3.2", "figures": "^2.0.0", @@ -18498,6 +18292,7 @@ "resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz", "integrity": "sha512-Oa2M9atig69ZkfwiApY8F2Yy+tzMbazyvqv21R0NsSC8floSOC09BbT1ITWAdoMGQvJ/aZnR1KMwdx9tvHnTNA==", "dev": true, + "license": "MIT", "dependencies": { "escape-string-regexp": "^1.0.5" }, @@ -18509,13 +18304,15 @@ "version": "1.0.5", "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz", "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/skin-tone": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/skin-tone/-/skin-tone-2.0.0.tgz", "integrity": "sha512-kUMbT1oBJCpgrnKoSr0o6wPtvRWT9W9UKvGLwfJYO2WuahZRHOpEyL1ckyMGgMWh0UdpmaoFqKKD29WTomNEGA==", "dev": true, + "license": "MIT", "dependencies": { "unicode-emoji-modifier-base": "^1.0.0" }, @@ -18528,6 +18325,7 @@ "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -18537,6 +18335,7 @@ "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-5.0.0.tgz", "integrity": "sha512-FC+lgizVPfie0kkhqUScwRu1O/lF6NOgJmlCgK+/LYxDCTk8sGelYaHDhFcDN+Sn3Cv+3VSa4Byeo+IMCzpMgQ==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^6.0.0", "is-fullwidth-code-point": "^4.0.0" @@ -18553,6 +18352,7 @@ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -18560,22 +18360,12 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/source-map-js": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.0.tgz", - "integrity": "sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==", + "node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", "dev": true, - "optional": true, - "peer": true, + "license": "BSD-3-Clause", "engines": { "node": ">=0.10.0" } @@ -18585,6 +18375,7 @@ "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.13.tgz", "integrity": "sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==", "dev": true, + "license": "MIT", "dependencies": { "buffer-from": "^1.0.0", "source-map": "^0.6.0" @@ -18594,13 +18385,15 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/spawn-error-forwarder/-/spawn-error-forwarder-1.0.0.tgz", "integrity": "sha512-gRjMgK5uFjbCvdibeGJuy3I5OYz6VLoVdsOJdA6wV0WlfQVLFueoqMxwwYD9RODdgb6oUIvlRlsyFSiQkMKu0g==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/spdx-correct": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.2.0.tgz", "integrity": "sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==", "dev": true, + "license": "Apache-2.0", "dependencies": { "spdx-expression-parse": "^3.0.0", "spdx-license-ids": "^3.0.0" @@ -18610,29 +18403,33 @@ "version": "2.5.0", "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.5.0.tgz", "integrity": "sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w==", - "dev": true + "dev": true, + "license": "CC-BY-3.0" }, "node_modules/spdx-expression-parse": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", "dev": true, + "license": "MIT", "dependencies": { "spdx-exceptions": "^2.1.0", "spdx-license-ids": "^3.0.0" } }, "node_modules/spdx-license-ids": { - "version": "3.0.17", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.17.tgz", - "integrity": "sha512-sh8PWc/ftMqAAdFiBu6Fy6JUOYjqDJBJvIhpfDMyHrr0Rbp5liZqd4TjtQ/RgfLjKFZb+LMx5hpml5qOWy0qvg==", - "dev": true + "version": "3.0.18", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.18.tgz", + "integrity": "sha512-xxRs31BqRYHwiMzudOrpSiHtZ8i/GeionCBDSilhYRj+9gIcI8wCZTlXZKu9vZIVqViP3dcp9qE5G6AlIaD+TQ==", + "dev": true, + "license": "CC0-1.0" }, "node_modules/split2": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/split2/-/split2-4.2.0.tgz", "integrity": "sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==", "dev": true, + "license": "ISC", "engines": { "node": ">= 10.x" } @@ -18641,13 +18438,15 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", - "dev": true + "dev": true, + "license": "BSD-3-Clause" }, "node_modules/stack-utils": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.6.tgz", "integrity": "sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==", "dev": true, + "license": "MIT", "dependencies": { "escape-string-regexp": "^2.0.0" }, @@ -18660,6 +18459,7 @@ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -18668,6 +18468,7 @@ "version": "0.6.0", "resolved": "git+ssh://git@github.com/starkware-libs/starknet-specs.git#76bdde23c7dae370a3340e40f7ca2ef2520e75b9", "dev": true, + "license": "MIT", "dependencies": { "@json-schema-tools/dereferencer": "1.5.4", "@open-rpc/schema-utils-js": "^1.16.1", @@ -18679,6 +18480,7 @@ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz", "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", "dev": true, + "license": "MIT", "dependencies": { "graceful-fs": "^4.2.0", "jsonfile": "^6.0.1", @@ -18692,13 +18494,15 @@ "name": "@starknet-io/types-js", "version": "0.7.7", "resolved": "https://registry.npmjs.org/@starknet-io/types-js/-/types-js-0.7.7.tgz", - "integrity": "sha512-WLrpK7LIaIb8Ymxu6KF/6JkGW1sso988DweWu7p5QY/3y7waBIiPvzh27D9bX5KIJNRDyOoOVoHVEKYUYWZ/RQ==" + "integrity": "sha512-WLrpK7LIaIb8Ymxu6KF/6JkGW1sso988DweWu7p5QY/3y7waBIiPvzh27D9bX5KIJNRDyOoOVoHVEKYUYWZ/RQ==", + "license": "MIT" }, "node_modules/stream-combiner2": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/stream-combiner2/-/stream-combiner2-1.1.1.tgz", "integrity": "sha512-3PnJbYgS56AeWgtKF5jtJRT6uFJe56Z0Hc5Ngg/6sI6rIt8iiMBTa9cvdyFfpMQjaVHr8dusbNeFGIIonxOvKw==", "dev": true, + "license": "MIT", "dependencies": { "duplexer2": "~0.1.0", "readable-stream": "^2.0.2" @@ -18709,6 +18513,7 @@ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", "dev": true, + "license": "MIT", "dependencies": { "safe-buffer": "~5.1.0" } @@ -18718,6 +18523,7 @@ "resolved": "https://registry.npmjs.org/string-argv/-/string-argv-0.3.2.tgz", "integrity": "sha512-aqD2Q0144Z+/RqG52NeHEkZauTAUWJO8c6yTftGJKO3Tja5tUgIfmIl6kExvhtxSDP7fXB6DvzkfMpCd/F3G+Q==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.6.19" } @@ -18727,6 +18533,7 @@ "resolved": "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz", "integrity": "sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==", "dev": true, + "license": "MIT", "dependencies": { "char-regex": "^1.0.2", "strip-ansi": "^6.0.0" @@ -18736,10 +18543,11 @@ } }, "node_modules/string-width": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.1.0.tgz", - "integrity": "sha512-SEIJCWiX7Kg4c129n48aDRwLbFb2LJmXXFrWBG4NGaRtMQ3myKPKbwrD1BKqQn74oCoNMBVrfDEr5M9YxCsrkw==", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz", + "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==", "dev": true, + "license": "MIT", "dependencies": { "emoji-regex": "^10.3.0", "get-east-asian-width": "^1.0.0", @@ -18758,6 +18566,7 @@ "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", "dev": true, + "license": "MIT", "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", @@ -18771,13 +18580,15 @@ "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/string-width-cjs/node_modules/is-fullwidth-code-point": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -18787,6 +18598,7 @@ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -18799,6 +18611,7 @@ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", "dev": true, + "license": "MIT", "dependencies": { "ansi-regex": "^6.0.1" }, @@ -18814,6 +18627,7 @@ "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.9.tgz", "integrity": "sha512-klHuCNxiMZ8MlsOihJhJEBJAiMVqU3Z2nEXWfWnIqjN0gEFS9J9+IxKozWWtQGcgoa1WUZzLjKPTr4ZHNFTFxw==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.7", "define-properties": "^1.2.1", @@ -18832,6 +18646,7 @@ "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.8.tgz", "integrity": "sha512-p73uL5VCHCO2BZZ6krwwQE3kCzM7NKmis8S//xEC6fQonchbum4eP6kR4DLEjQFO3Wnj3Fuo8NM0kOSjVdHjZQ==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.7", "define-properties": "^1.2.1", @@ -18846,6 +18661,7 @@ "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.8.tgz", "integrity": "sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.7", "define-properties": "^1.2.1", @@ -18862,6 +18678,7 @@ "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "license": "MIT", "dependencies": { "ansi-regex": "^5.0.1" }, @@ -18875,6 +18692,7 @@ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", "dev": true, + "license": "MIT", "dependencies": { "ansi-regex": "^5.0.1" }, @@ -18887,17 +18705,22 @@ "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz", "integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/strip-final-newline": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", - "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-3.0.0.tgz", + "integrity": "sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==", "dev": true, + "license": "MIT", "engines": { - "node": ">=6" + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/strip-json-comments": { @@ -18905,6 +18728,7 @@ "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" }, @@ -18917,6 +18741,7 @@ "resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.35.0.tgz", "integrity": "sha512-8EbVDiu9iN/nESwxeSxDKe0dunta1GOlHufmSSXxMD2z2/tMZpDMpvXQGsc+ajGo8y2uYUmixaSRUc/QPoQ0GA==", "dev": true, + "license": "MIT", "dependencies": { "@jridgewell/gen-mapping": "^0.3.2", "commander": "^4.0.0", @@ -18939,37 +18764,58 @@ "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==", "dev": true, + "license": "MIT", "engines": { "node": ">= 6" } }, "node_modules/sucrase/node_modules/glob": { - "version": "10.3.12", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.12.tgz", - "integrity": "sha512-TCNv8vJ+xz4QiqTpfOJA7HvYv+tNIRHKfUWw/q+v2jdgN4ebz+KY9tGx5J4rHP0o84mNP+ApH66HRX8us3Khqg==", + "version": "10.4.2", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.2.tgz", + "integrity": "sha512-GwMlUF6PkPo3Gk21UxkCohOv0PLcIXVtKyLlpEI28R/cO/4eNOdmLk3CMW1wROV/WR/EsZOWAfBbBOqYvs88/w==", "dev": true, + "license": "ISC", "dependencies": { "foreground-child": "^3.1.0", - "jackspeak": "^2.3.6", - "minimatch": "^9.0.1", - "minipass": "^7.0.4", - "path-scurry": "^1.10.2" + "jackspeak": "^3.1.2", + "minimatch": "^9.0.4", + "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", + "path-scurry": "^1.11.1" }, "bin": { "glob": "dist/esm/bin.mjs" }, "engines": { - "node": ">=16 || 14 >=14.17" + "node": ">=16 || 14 >=14.18" }, "funding": { "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/super-regex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/super-regex/-/super-regex-1.0.0.tgz", + "integrity": "sha512-CY8u7DtbvucKuquCmOFEKhr9Besln7n9uN8eFbwcoGYWXOMW07u2o8njWaiXt11ylS3qoGF55pILjRmPlbodyg==", + "dev": true, + "license": "MIT", + "dependencies": { + "function-timeout": "^1.0.1", + "time-span": "^5.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/supports-color": { "version": "5.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^3.0.0" }, @@ -18982,6 +18828,7 @@ "resolved": "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-3.0.0.tgz", "integrity": "sha512-QBDPHyPQDRTy9ku4URNGY5Lah8PAaXs6tAAwp55sL5WCsSW7GIfdf6W5ixfziW+t7wh3GVvHyHHyQ1ESsoRvaA==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^4.0.0", "supports-color": "^7.0.0" @@ -18995,6 +18842,7 @@ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -19004,6 +18852,7 @@ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -19016,6 +18865,7 @@ "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -19027,13 +18877,15 @@ "version": "3.2.4", "resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz", "integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/synckit": { "version": "0.8.8", "resolved": "https://registry.npmjs.org/synckit/-/synckit-0.8.8.tgz", "integrity": "sha512-HwOKAP7Wc5aRGYdKH+dw0PRRpbO841v2DENBtjnR5HFWoiNByAl7vrx3p0G/rCyYXQsrxqtX48TImFtPcIHSpQ==", "dev": true, + "license": "MIT", "dependencies": { "@pkgr/core": "^0.1.0", "tslib": "^2.6.2" @@ -19050,6 +18902,7 @@ "resolved": "https://registry.npmjs.org/temp-dir/-/temp-dir-3.0.0.tgz", "integrity": "sha512-nHc6S/bwIilKHNRgK/3jlhDoIHcp45YgyiwcAk46Tr0LfEqGBVpmiAyuiuxeVE44m3mXnEeVhaipLOEWmH+Njw==", "dev": true, + "license": "MIT", "engines": { "node": ">=14.16" } @@ -19059,6 +18912,7 @@ "resolved": "https://registry.npmjs.org/tempy/-/tempy-3.1.0.tgz", "integrity": "sha512-7jDLIdD2Zp0bDe5r3D2qtkd1QOCacylBuL7oa4udvN6v2pqr4+LcCr67C8DR1zkpaZ8XosF5m1yQSabKAW6f2g==", "dev": true, + "license": "MIT", "dependencies": { "is-stream": "^3.0.0", "temp-dir": "^3.0.0", @@ -19072,23 +18926,12 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/tempy/node_modules/is-stream": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz", - "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==", - "dev": true, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/tempy/node_modules/type-fest": { "version": "2.19.0", "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.19.0.tgz", "integrity": "sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==", "dev": true, + "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=12.20" }, @@ -19101,6 +18944,7 @@ "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz", "integrity": "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==", "dev": true, + "license": "ISC", "dependencies": { "@istanbuljs/schema": "^0.1.2", "glob": "^7.1.4", @@ -19115,6 +18959,7 @@ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "dev": true, + "license": "MIT", "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -19125,6 +18970,7 @@ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", "dev": true, + "license": "ISC", "dependencies": { "brace-expansion": "^1.1.7" }, @@ -19137,6 +18983,7 @@ "resolved": "https://registry.npmjs.org/text-extensions/-/text-extensions-2.4.0.tgz", "integrity": "sha512-te/NtwBwfiNRLf9Ijqx3T0nlqZiQ2XrrtBvu+cLL8ZRrGkO0NHTug8MYFKyoSrv/sHTaSKfilUkizV6XhxMJ3g==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" }, @@ -19148,13 +18995,15 @@ "version": "0.2.0", "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/thenify": { "version": "3.3.1", "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz", "integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==", "dev": true, + "license": "MIT", "dependencies": { "any-promise": "^1.0.0" } @@ -19164,6 +19013,7 @@ "resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz", "integrity": "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==", "dev": true, + "license": "MIT", "dependencies": { "thenify": ">= 3.1.0 < 4" }, @@ -19175,19 +19025,49 @@ "version": "2.3.8", "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==", - "dev": true + "dev": true, + "license": "MIT" + }, + "node_modules/through2": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", + "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "readable-stream": "~2.3.6", + "xtend": "~4.0.1" + } + }, + "node_modules/time-span": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/time-span/-/time-span-5.1.0.tgz", + "integrity": "sha512-75voc/9G4rDIJleOo4jPvN4/YC4GRZrY8yy1uU4lwrB3XEQbWve8zXoO5No4eFrGcTAMYyoY67p8jRQdtA1HbA==", + "dev": true, + "license": "MIT", + "dependencies": { + "convert-hrtime": "^5.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } }, "node_modules/tmpl": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz", "integrity": "sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==", - "dev": true + "dev": true, + "license": "BSD-3-Clause" }, "node_modules/to-fast-properties": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } @@ -19197,6 +19077,7 @@ "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", "dev": true, + "license": "MIT", "dependencies": { "is-number": "^7.0.0" }, @@ -19205,9 +19086,10 @@ } }, "node_modules/tough-cookie": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.3.tgz", - "integrity": "sha512-aX/y5pVRkfRnfmuX+OdbSdXvPe6ieKX/G2s7e98f4poJHnqH3281gDPm/metm6E/WRamfx7WC4HUqkWHfQHprw==", + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.4.tgz", + "integrity": "sha512-Loo5UUvLD9ScZ6jh8beX1T6sO1w2/MpCRpEP7V280GKMVUQ0Jzar2U3UJPsrdbziLEMMhu3Ujnq//rhiFuIeag==", + "license": "BSD-3-Clause", "dependencies": { "psl": "^1.1.33", "punycode": "^2.1.1", @@ -19222,6 +19104,7 @@ "version": "0.2.0", "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.2.0.tgz", "integrity": "sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==", + "license": "MIT", "engines": { "node": ">= 4.0.0" } @@ -19231,6 +19114,7 @@ "resolved": "https://registry.npmjs.org/tr46/-/tr46-3.0.0.tgz", "integrity": "sha512-l7FvfAHlcmulp8kr+flpQZmVwtu7nfRV7NZujtN0OqES8EL4O4e0qqzL0DC5gAvx/ZC/9lk6rhcUwYvkBnBnYA==", "dev": true, + "license": "MIT", "dependencies": { "punycode": "^2.1.1" }, @@ -19243,6 +19127,7 @@ "resolved": "https://registry.npmjs.org/traverse/-/traverse-0.6.8.tgz", "integrity": "sha512-aXJDbk6SnumuaZSANd21XAo15ucCDE38H4fkqiGsc3MhCK+wOlZvLP9cB/TvpHT0mOyWgC4Z8EwRlzqYSUzdsA==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -19255,6 +19140,7 @@ "resolved": "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.2.tgz", "integrity": "sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==", "dev": true, + "license": "MIT", "bin": { "tree-kill": "cli.js" } @@ -19264,6 +19150,7 @@ "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.3.0.tgz", "integrity": "sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=16" }, @@ -19275,18 +19162,21 @@ "version": "0.1.13", "resolved": "https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz", "integrity": "sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==", - "dev": true + "dev": true, + "license": "Apache-2.0" }, "node_modules/ts-mixer": { "version": "6.0.4", "resolved": "https://registry.npmjs.org/ts-mixer/-/ts-mixer-6.0.4.tgz", - "integrity": "sha512-ufKpbmrugz5Aou4wcr5Wc1UUFWOLhq+Fm6qa6P0w0K5Qw2yhaUoiWszhCVuNQyNwrlGiscHOmqYoAox1PtvgjA==" + "integrity": "sha512-ufKpbmrugz5Aou4wcr5Wc1UUFWOLhq+Fm6qa6P0w0K5Qw2yhaUoiWszhCVuNQyNwrlGiscHOmqYoAox1PtvgjA==", + "license": "MIT" }, "node_modules/tsconfig-paths": { "version": "3.15.0", "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.15.0.tgz", "integrity": "sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg==", "dev": true, + "license": "MIT", "dependencies": { "@types/json5": "^0.0.29", "json5": "^1.0.2", @@ -19299,6 +19189,7 @@ "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz", "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==", "dev": true, + "license": "MIT", "dependencies": { "minimist": "^1.2.0" }, @@ -19311,27 +19202,30 @@ "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/tslib": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", - "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==", - "dev": true + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.3.tgz", + "integrity": "sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==", + "dev": true, + "license": "0BSD" }, "node_modules/tsup": { - "version": "8.0.2", - "resolved": "https://registry.npmjs.org/tsup/-/tsup-8.0.2.tgz", - "integrity": "sha512-NY8xtQXdH7hDUAZwcQdY/Vzlw9johQsaqf7iwZ6g1DOUlFYQ5/AtVAjTvihhEyeRlGo4dLRVHtrRaL35M1daqQ==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/tsup/-/tsup-8.1.0.tgz", + "integrity": "sha512-UFdfCAXukax+U6KzeTNO2kAARHcWxmKsnvSPXUcfA1D+kU05XDccCrkffCQpFaWDsZfV0jMyTsxU39VfCp6EOg==", "dev": true, + "license": "MIT", "dependencies": { "bundle-require": "^4.0.0", "cac": "^6.7.12", "chokidar": "^3.5.1", "debug": "^4.3.1", - "esbuild": "^0.19.2", + "esbuild": "^0.21.4", "execa": "^5.0.0", "globby": "^11.0.3", "joycon": "^3.0.1", @@ -19347,34 +19241,141 @@ "tsup-node": "dist/cli-node.js" }, "engines": { - "node": ">=18" - }, - "peerDependencies": { - "@microsoft/api-extractor": "^7.36.0", - "@swc/core": "^1", - "postcss": "^8.4.12", - "typescript": ">=4.5.0" + "node": ">=18" + }, + "peerDependencies": { + "@microsoft/api-extractor": "^7.36.0", + "@swc/core": "^1", + "postcss": "^8.4.12", + "typescript": ">=4.5.0" + }, + "peerDependenciesMeta": { + "@microsoft/api-extractor": { + "optional": true + }, + "@swc/core": { + "optional": true + }, + "postcss": { + "optional": true + }, + "typescript": { + "optional": true + } + } + }, + "node_modules/tsup/node_modules/execa": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", + "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", + "dev": true, + "license": "MIT", + "dependencies": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" + } + }, + "node_modules/tsup/node_modules/get-stream": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", + "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/tsup/node_modules/human-signals": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", + "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=10.17.0" + } + }, + "node_modules/tsup/node_modules/is-stream": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/tsup/node_modules/mimic-fn": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", + "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/tsup/node_modules/npm-run-path": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", + "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", + "dev": true, + "license": "MIT", + "dependencies": { + "path-key": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/tsup/node_modules/onetime": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", + "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", + "dev": true, + "license": "MIT", + "dependencies": { + "mimic-fn": "^2.1.0" + }, + "engines": { + "node": ">=6" }, - "peerDependenciesMeta": { - "@microsoft/api-extractor": { - "optional": true - }, - "@swc/core": { - "optional": true - }, - "postcss": { - "optional": true - }, - "typescript": { - "optional": true - } + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/tsup/node_modules/signal-exit": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", + "dev": true, + "license": "ISC" + }, "node_modules/tsup/node_modules/source-map": { "version": "0.8.0-beta.0", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.8.0-beta.0.tgz", "integrity": "sha512-2ymg6oRBpebeZi9UUNsgQ89bhx01TcTkmNTGnNO88imTmbSgy4nfujrgVEFKWpMTEGA11EDkTt7mqObTPdigIA==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "whatwg-url": "^7.0.0" }, @@ -19382,11 +19383,22 @@ "node": ">= 8" } }, + "node_modules/tsup/node_modules/strip-final-newline": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", + "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, "node_modules/tsup/node_modules/tr46": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/tr46/-/tr46-1.0.1.tgz", "integrity": "sha512-dTpowEjclQ7Kgx5SdBkqRzVhERQXov8/l9Ft9dVM9fmg0W0KQSVaXX9T4i6twCPNtYiZM53lpSSUAwJbFPOHxA==", "dev": true, + "license": "MIT", "dependencies": { "punycode": "^2.1.0" } @@ -19395,13 +19407,15 @@ "version": "4.0.2", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-4.0.2.tgz", "integrity": "sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==", - "dev": true + "dev": true, + "license": "BSD-2-Clause" }, "node_modules/tsup/node_modules/whatwg-url": { "version": "7.1.0", "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-7.1.0.tgz", "integrity": "sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==", "dev": true, + "license": "MIT", "dependencies": { "lodash.sortby": "^4.7.0", "tr46": "^1.0.1", @@ -19413,6 +19427,7 @@ "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz", "integrity": "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==", "dev": true, + "license": "MIT", "dependencies": { "tslib": "^1.8.1" }, @@ -19427,13 +19442,15 @@ "version": "1.14.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", - "dev": true + "dev": true, + "license": "0BSD" }, "node_modules/type-check": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", "dev": true, + "license": "MIT", "dependencies": { "prelude-ls": "^1.2.1" }, @@ -19442,11 +19459,13 @@ } }, "node_modules/type-coverage": { - "version": "2.28.2", - "resolved": "https://registry.npmjs.org/type-coverage/-/type-coverage-2.28.2.tgz", - "integrity": "sha512-mTANnzAeuH7ldrg0fzPnhh+aCCSVAO7V7hlBoVg4XxuUtQyD3ogir/R7Z6Q7W0H1JREtDIY4I91SGHAgEPi6Bw==", + "version": "2.29.0", + "resolved": "https://registry.npmjs.org/type-coverage/-/type-coverage-2.29.0.tgz", + "integrity": "sha512-1YGnQo6kK7cq8PwPoW27EnyKsvpzM7pPPo7bcS4u/7Sb4zs0WX1rGBm1eou3ZHslu56AsmPt/pgIuhCgN1EriQ==", "dev": true, + "license": "MIT", "dependencies": { + "chalk": "4.1.2", "minimist": "1", "type-coverage-core": "^2.28.1" }, @@ -19459,6 +19478,7 @@ "resolved": "https://registry.npmjs.org/type-coverage-core/-/type-coverage-core-2.28.1.tgz", "integrity": "sha512-NniLJtLiDg0+dhrf/9ACGwi3OAhIfvd20f1CB0yxIUBMECwmJp7e7me3lM8djkrDBJtqSY+uXA6PRs+yv3HTnA==", "dev": true, + "license": "MIT", "dependencies": { "fast-glob": "3", "minimatch": "6 || 7 || 8 || 9", @@ -19470,11 +19490,88 @@ "typescript": "2 || 3 || 4 || 5" } }, + "node_modules/type-coverage/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/type-coverage/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/type-coverage/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/type-coverage/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, + "license": "MIT" + }, + "node_modules/type-coverage/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/type-coverage/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/type-detect": { "version": "4.0.8", "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } @@ -19484,6 +19581,7 @@ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", "dev": true, + "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=10" }, @@ -19496,6 +19594,7 @@ "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.2.tgz", "integrity": "sha512-gEymJYKZtKXzzBzM4jqa9w6Q1Jjm7x2d+sh19AdsD4wqnMPDYyvwpsIc2Q/835kHuo3BEQ7CjelGhfTsoBb2MQ==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.7", "es-errors": "^1.3.0", @@ -19510,6 +19609,7 @@ "resolved": "https://registry.npmjs.org/typed-array-byte-length/-/typed-array-byte-length-1.0.1.tgz", "integrity": "sha512-3iMJ9q0ao7WE9tWcaYKIptkNBuOIcZCCT0d4MRvuuH88fEoEH62IuQe0OtraD3ebQEoTRk8XCBoknUNc1Y67pw==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.7", "for-each": "^0.3.3", @@ -19529,6 +19629,7 @@ "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.2.tgz", "integrity": "sha512-Ous0vodHa56FviZucS2E63zkgtgrACj7omjwd/8lTEMEPFFyjfixMZ1ZXenpgCFBBt4EC1J2XsyVS2gkG0eTFA==", "dev": true, + "license": "MIT", "dependencies": { "available-typed-arrays": "^1.0.7", "call-bind": "^1.0.7", @@ -19549,6 +19650,7 @@ "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.6.tgz", "integrity": "sha512-/OxDN6OtAk5KBpGb28T+HZc2M+ADtvRxXrKKbUwtsLgdoxgX13hyy7ek6bFRl5+aBs2yZzB0c4CnQfAtVypW/g==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.7", "for-each": "^0.3.3", @@ -19564,50 +19666,35 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/typed-styles": { - "version": "0.0.7", - "resolved": "https://registry.npmjs.org/typed-styles/-/typed-styles-0.0.7.tgz", - "integrity": "sha512-pzP0PWoZUhsECYjABgCGQlRGL1n7tOHsgwYv3oIiEpJwGhFTuty/YNeduxQYzXXa3Ge5BdT6sHYIQYpl4uJ+5Q==", - "dev": true - }, "node_modules/typedoc": { - "version": "0.25.12", - "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.25.12.tgz", - "integrity": "sha512-F+qhkK2VoTweDXd1c42GS/By2DvI2uDF4/EpG424dTexSHdtCH52C6IcAvMA6jR3DzAWZjHpUOW+E02kyPNUNw==", + "version": "0.26.3", + "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.26.3.tgz", + "integrity": "sha512-6d2Sw9disvvpdk4K7VNjKr5/3hzijtfQVHRthhDqJgnhMHy1wQz4yPMJVKXElvnZhFr0nkzo+GzjXDTRV5yLpg==", "dev": true, + "license": "Apache-2.0", "dependencies": { "lunr": "^2.3.9", - "marked": "^4.3.0", - "minimatch": "^9.0.3", - "shiki": "^0.14.7" + "markdown-it": "^14.1.0", + "minimatch": "^9.0.5", + "shiki": "^1.9.1", + "yaml": "^2.4.5" }, "bin": { "typedoc": "bin/typedoc" }, "engines": { - "node": ">= 16" + "node": ">= 18" }, "peerDependencies": { - "typescript": "4.6.x || 4.7.x || 4.8.x || 4.9.x || 5.0.x || 5.1.x || 5.2.x || 5.3.x || 5.4.x" - } - }, - "node_modules/typedoc/node_modules/marked": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/marked/-/marked-4.3.0.tgz", - "integrity": "sha512-PRsaiG84bK+AMvxziE/lCFss8juXjNaWzVbN5tXAm4XjeaS9NAHhop+PjQxz2A9h8Q4M/xGmzP8vqNwy6JeK0A==", - "dev": true, - "bin": { - "marked": "bin/marked.js" - }, - "engines": { - "node": ">= 12" + "typescript": "4.6.x || 4.7.x || 4.8.x || 4.9.x || 5.0.x || 5.1.x || 5.2.x || 5.3.x || 5.4.x || 5.5.x" } }, "node_modules/typescript": { - "version": "5.4.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.3.tgz", - "integrity": "sha512-KrPd3PKaCLr78MalgiwJnA25Nm8HAmdwN3mYUYZgG/wizIo9EainNVQI9/yDavtVFRN2h3k8uf3GLHuhDMgEHg==", + "version": "5.4.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz", + "integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==", "dev": true, + "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -19617,25 +19704,24 @@ } }, "node_modules/typescript-coverage-report": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/typescript-coverage-report/-/typescript-coverage-report-1.0.0.tgz", - "integrity": "sha512-ys/DG6eaO0XaHZIPZobJQLj9lUPSOIa1xt5Pz6tvr7QAWRt3OSCuMLiPduWtg7oTeZcOHqG90owA/zOeyZdq3g==", + "name": "@penovicp/typescript-coverage-report", + "version": "1.0.0-beta.2", + "resolved": "https://registry.npmjs.org/@penovicp/typescript-coverage-report/-/typescript-coverage-report-1.0.0-beta.2.tgz", + "integrity": "sha512-keiS1Y/v85n17yQldW0ZsV3Q9erdA1qedjGeuGlVohgrBRvoqr5bXMKWJRWVMmjY1Isc0EVygOx7duCDVbpntg==", "dev": true, + "license": "MIT", "dependencies": { "chalk": "4.1.2", "cli-table3": "^0.6.1", "commander": "^5.0.0", "ncp": "^2.0.0", "rimraf": "^3.0.2", - "semantic-ui-react": "^0.88.2", "type-coverage-core": "^2.23.0" }, "bin": { "typescript-coverage-report": "dist/bin/typescript-coverage-report.js" }, "peerDependencies": { - "react": "^18.2.0", - "react-dom": "^18.2.0", "typescript": "2 || 3 || 4 || 5" } }, @@ -19644,6 +19730,7 @@ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, + "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, @@ -19659,6 +19746,7 @@ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -19675,6 +19763,7 @@ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, + "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, @@ -19686,13 +19775,15 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/typescript-coverage-report/node_modules/commander": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/commander/-/commander-5.1.0.tgz", "integrity": "sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg==", "dev": true, + "license": "MIT", "engines": { "node": ">= 6" } @@ -19702,6 +19793,7 @@ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -19711,6 +19803,7 @@ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -19718,11 +19811,19 @@ "node": ">=8" } }, + "node_modules/uc.micro": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-2.1.0.tgz", + "integrity": "sha512-ARDJmphmdvUk6Glw7y9DQ2bFkKBHwQHLi2lsaH6PPmz/Ka9sFOBsBluozhDltWmnv9u/cF6Rt87znRTPV+yp/A==", + "dev": true, + "license": "MIT" + }, "node_modules/uglify-js": { - "version": "3.17.4", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.4.tgz", - "integrity": "sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==", + "version": "3.18.0", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.18.0.tgz", + "integrity": "sha512-SyVVbcNBCk0dzr9XL/R/ySrmYf0s372K6/hFklzgcp2lBFyXtw4I7BOdDjlLhE1aVqaI/SHWXWmYdlZxuyF38A==", "dev": true, + "license": "BSD-2-Clause", "optional": true, "bin": { "uglifyjs": "bin/uglifyjs" @@ -19736,6 +19837,7 @@ "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz", "integrity": "sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==", "dev": true, + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "has-bigints": "^1.0.2", @@ -19750,13 +19852,15 @@ "version": "5.26.5", "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/unicode-canonical-property-names-ecmascript": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz", "integrity": "sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } @@ -19766,6 +19870,7 @@ "resolved": "https://registry.npmjs.org/unicode-emoji-modifier-base/-/unicode-emoji-modifier-base-1.0.0.tgz", "integrity": "sha512-yLSH4py7oFH3oG/9K+XWrz1pSi3dfUrWEnInbxMfArOfc1+33BlGPQtLsOYwvdMy11AwUBetYuaRxSPqgkq+8g==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } @@ -19775,6 +19880,7 @@ "resolved": "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-2.0.0.tgz", "integrity": "sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q==", "dev": true, + "license": "MIT", "dependencies": { "unicode-canonical-property-names-ecmascript": "^2.0.0", "unicode-property-aliases-ecmascript": "^2.0.0" @@ -19788,6 +19894,7 @@ "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.1.0.tgz", "integrity": "sha512-qxkjQt6qjg/mYscYMC0XKRn3Rh0wFPlfxB0xkt9CfyTvpX1Ra0+rAmdX2QyAobptSEvuy4RtpPRui6XkV+8wjA==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } @@ -19797,6 +19904,7 @@ "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.1.0.tgz", "integrity": "sha512-6t3foTQI9qne+OZoVQB/8x8rk2k1eVy1gRXhV3oFQ5T6R1dqQ1xtin3XqSlx3+ATBkliTaR/hHyJBm+LVPNM8w==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } @@ -19806,6 +19914,7 @@ "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.1.0.tgz", "integrity": "sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=18" }, @@ -19818,6 +19927,7 @@ "resolved": "https://registry.npmjs.org/unique-string/-/unique-string-3.0.0.tgz", "integrity": "sha512-VGXBUVwxKMBUznyffQweQABPRRW1vHZAbadFZud4pLFAqRGvv/96vafgjWFqzourzr8YonlQiPgH0YCJfawoGQ==", "dev": true, + "license": "MIT", "dependencies": { "crypto-random-string": "^4.0.0" }, @@ -19832,20 +19942,22 @@ "version": "7.0.2", "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-7.0.2.tgz", "integrity": "sha512-0JCqzSKnStlRRQfCdowvqy3cy0Dvtlb8xecj/H8JFZuCze4rwjPZQOgvFvn0Ws/usCHQFGpyr+pB9adaGwXn4Q==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/universalify": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", + "license": "MIT", "engines": { "node": ">= 10.0.0" } }, "node_modules/update-browserslist-db": { - "version": "1.0.16", - "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.16.tgz", - "integrity": "sha512-KVbTxlBYlckhF5wgfyZXTWnMn7MMZjMu9XG8bPlliUOP9ThaF4QnhP8qrjrH7DRzHfSk0oQv1wToW+iA5GajEQ==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.0.tgz", + "integrity": "sha512-EdRAaAyk2cUE1wOf2DkEhzxqOQvFOoRJFNS6NeyJ01Gp2beMRpBAINjM2iDXE3KCuKhwnvHIQCJm6ThL2Z+HzQ==", "dev": true, "funding": [ { @@ -19861,6 +19973,7 @@ "url": "https://github.com/sponsors/ai" } ], + "license": "MIT", "dependencies": { "escalade": "^3.1.2", "picocolors": "^1.0.1" @@ -19877,6 +19990,7 @@ "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "punycode": "^2.1.0" } @@ -19884,12 +19998,14 @@ "node_modules/url-join": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/url-join/-/url-join-4.0.1.tgz", - "integrity": "sha512-jk1+QP6ZJqyOiuEI9AEWQfju/nB2Pw466kbA0LEZljHwKeMgd9WrAEgEGxjPDD2+TNbbb37rTyhEfrCXfuKXnA==" + "integrity": "sha512-jk1+QP6ZJqyOiuEI9AEWQfju/nB2Pw466kbA0LEZljHwKeMgd9WrAEgEGxjPDD2+TNbbb37rTyhEfrCXfuKXnA==", + "license": "MIT" }, "node_modules/url-parse": { "version": "1.5.10", "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.10.tgz", "integrity": "sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==", + "license": "MIT", "dependencies": { "querystringify": "^2.1.1", "requires-port": "^1.0.0" @@ -19899,13 +20015,15 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/v8-to-istanbul": { - "version": "9.2.0", - "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.2.0.tgz", - "integrity": "sha512-/EH/sDgxU2eGxajKdwLCDmQ4FWq+kpi3uCmBGpw1xJtnAxEjlD8j8PEiGWpCIMIs3ciNAgH0d3TTJiUkYzyZjA==", + "version": "9.3.0", + "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.3.0.tgz", + "integrity": "sha512-kiGUalWN+rgBJ/1OHZsBtU4rXZOfj/7rKQxULKlIzwzQSvMJUUNgPwJEEh7gU6xEVxC0ahoOBvN2YI8GH6FNgA==", "dev": true, + "license": "ISC", "dependencies": { "@jridgewell/trace-mapping": "^0.3.12", "@types/istanbul-lib-coverage": "^2.0.1", @@ -19920,28 +20038,18 @@ "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", "dev": true, + "license": "Apache-2.0", "dependencies": { "spdx-correct": "^3.0.0", "spdx-expression-parse": "^3.0.0" } }, - "node_modules/vscode-oniguruma": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/vscode-oniguruma/-/vscode-oniguruma-1.7.0.tgz", - "integrity": "sha512-L9WMGRfrjOhgHSdOYgCt/yRMsXzLDJSL7BPrOZt73gU0iWO4mpqzqQzOz5srxqTvMBaR0XZTSrVWo4j55Rc6cA==", - "dev": true - }, - "node_modules/vscode-textmate": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/vscode-textmate/-/vscode-textmate-8.0.0.tgz", - "integrity": "sha512-AFbieoL7a5LMqcnOF04ji+rpXadgOXnZsxQr//r83kLPr7biP7am3g9zbaZIaBGwBRWeSvoMD4mgPdX3e4NWBg==", - "dev": true - }, "node_modules/w3c-xmlserializer": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-4.0.0.tgz", "integrity": "sha512-d+BFHzbiCx6zGfz0HyQ6Rg69w9k19nviJspaj4yNscGjrHu94sVP+aRm75yEbCh+r2/yR+7q6hux9LVtbuTGBw==", "dev": true, + "license": "MIT", "dependencies": { "xml-name-validator": "^4.0.0" }, @@ -19954,24 +20062,17 @@ "resolved": "https://registry.npmjs.org/walker/-/walker-1.0.8.tgz", "integrity": "sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==", "dev": true, + "license": "Apache-2.0", "dependencies": { "makeerror": "1.0.12" } }, - "node_modules/warning": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/warning/-/warning-4.0.3.tgz", - "integrity": "sha512-rpJyN222KWIvHJ/F53XSZv0Zl/accqHR8et1kpaMTD/fLCRxtV8iX8czMzY7sVZupTI3zcUTg8eycS2kNF9l6w==", - "dev": true, - "dependencies": { - "loose-envify": "^1.0.0" - } - }, "node_modules/webidl-conversions": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-7.0.0.tgz", "integrity": "sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==", "dev": true, + "license": "BSD-2-Clause", "engines": { "node": ">=12" } @@ -19981,6 +20082,7 @@ "resolved": "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-2.0.0.tgz", "integrity": "sha512-p41ogyeMUrw3jWclHWTQg1k05DSVXPLcVxRTYsXUk+ZooOCZLcoYgPZ/HL/D/N+uQPOtcp1me1WhBEaX02mhWg==", "dev": true, + "license": "MIT", "dependencies": { "iconv-lite": "0.6.3" }, @@ -19991,13 +20093,15 @@ "node_modules/whatwg-fetch": { "version": "3.6.20", "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.6.20.tgz", - "integrity": "sha512-EqhiFU6daOA8kpjOWTL0olhVOF3i7OrFzSYiGsEMB8GcXS+RrzauAERX65xMeNWVqxA6HXH2m69Z9LaKKdisfg==" + "integrity": "sha512-EqhiFU6daOA8kpjOWTL0olhVOF3i7OrFzSYiGsEMB8GcXS+RrzauAERX65xMeNWVqxA6HXH2m69Z9LaKKdisfg==", + "license": "MIT" }, "node_modules/whatwg-mimetype": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-3.0.0.tgz", "integrity": "sha512-nt+N2dzIutVRxARx1nghPKGv1xHikU7HKdfafKkLNLindmPU/ch3U31NOCGGA/dmPcmb1VlofO0vnKAcsm0o/Q==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" } @@ -20007,6 +20111,7 @@ "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-11.0.0.tgz", "integrity": "sha512-RKT8HExMpoYx4igMiVMY83lN6UeITKJlBQ+vR/8ZJ8OCdSiN3RwCq+9gH0+Xzj0+5IrM6i4j/6LuvzbZIQgEcQ==", "dev": true, + "license": "MIT", "dependencies": { "tr46": "^3.0.0", "webidl-conversions": "^7.0.0" @@ -20020,6 +20125,7 @@ "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", "dev": true, + "license": "ISC", "dependencies": { "isexe": "^2.0.0" }, @@ -20035,6 +20141,7 @@ "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", "dev": true, + "license": "MIT", "dependencies": { "is-bigint": "^1.0.1", "is-boolean-object": "^1.1.0", @@ -20051,6 +20158,7 @@ "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.15.tgz", "integrity": "sha512-oV0jmFtUky6CXfkqehVvBP/LSWJ2sy4vWMioiENyJLePrBO/yKyV9OyJySfAKosh+RYkIl5zJCNZ8/4JncrpdA==", "dev": true, + "license": "MIT", "dependencies": { "available-typed-arrays": "^1.0.7", "call-bind": "^1.0.7", @@ -20065,17 +20173,29 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/word-wrap": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", + "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/wordwrap": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", "integrity": "sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/wrap-ansi": { "version": "9.0.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.0.tgz", "integrity": "sha512-G8ura3S+3Z2G+mkgNRq8dqaFZAuxfsxpBB8OCTGRTCtp+l/v9nbFNmCUP1BZMts3G1142MsZfn6eeUKrr4PD1Q==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^6.2.1", "string-width": "^7.0.0", @@ -20094,6 +20214,7 @@ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", @@ -20111,6 +20232,7 @@ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, + "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, @@ -20126,6 +20248,7 @@ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, + "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, @@ -20137,19 +20260,22 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/wrap-ansi-cjs/node_modules/emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/wrap-ansi-cjs/node_modules/is-fullwidth-code-point": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -20159,6 +20285,7 @@ "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", "dev": true, + "license": "MIT", "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", @@ -20173,6 +20300,7 @@ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -20185,6 +20313,7 @@ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -20197,6 +20326,7 @@ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", "dev": true, + "license": "MIT", "dependencies": { "ansi-regex": "^6.0.1" }, @@ -20211,13 +20341,15 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/write-file-atomic": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-4.0.2.tgz", "integrity": "sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==", "dev": true, + "license": "ISC", "dependencies": { "imurmurhash": "^0.1.4", "signal-exit": "^3.0.7" @@ -20226,11 +20358,19 @@ "node": "^12.13.0 || ^14.15.0 || >=16.0.0" } }, + "node_modules/write-file-atomic/node_modules/signal-exit": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", + "dev": true, + "license": "ISC" + }, "node_modules/ws": { "version": "8.17.1", "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=10.0.0" }, @@ -20252,6 +20392,7 @@ "resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-4.0.0.tgz", "integrity": "sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==", "dev": true, + "license": "Apache-2.0", "engines": { "node": ">=12" } @@ -20260,13 +20401,15 @@ "version": "2.2.0", "resolved": "https://registry.npmjs.org/xmlchars/-/xmlchars-2.2.0.tgz", "integrity": "sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/xtend": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.4" } @@ -20275,6 +20418,7 @@ "version": "5.0.8", "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "license": "ISC", "engines": { "node": ">=10" } @@ -20283,13 +20427,18 @@ "version": "3.1.1", "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/yaml": { - "version": "2.3.4", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.4.tgz", - "integrity": "sha512-8aAvwVUSHpfEqTQ4w/KMlf3HcRdt50E5ODIQJBw1fQ5RL34xabzxtUlzTXVqc4rkZsPbvrXKWnABCD7kWSmocA==", + "version": "2.4.5", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.4.5.tgz", + "integrity": "sha512-aBx2bnqDzVOyNKfsysjA2ms5ZlnjSAW2eG3/L5G/CSujfjLJTJsEw1bGw8kCf04KodQWk1pxlGnZ56CRxiawmg==", "dev": true, + "license": "ISC", + "bin": { + "yaml": "bin.mjs" + }, "engines": { "node": ">= 14" } @@ -20298,6 +20447,7 @@ "version": "17.7.2", "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", + "license": "MIT", "dependencies": { "cliui": "^8.0.1", "escalade": "^3.1.1", @@ -20315,6 +20465,7 @@ "version": "21.1.1", "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", + "license": "ISC", "engines": { "node": ">=12" } @@ -20322,12 +20473,14 @@ "node_modules/yargs/node_modules/emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "license": "MIT" }, "node_modules/yargs/node_modules/is-fullwidth-code-point": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "license": "MIT", "engines": { "node": ">=8" } @@ -20336,6 +20489,7 @@ "version": "4.2.3", "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "license": "MIT", "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", @@ -20350,12 +20504,26 @@ "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } + }, + "node_modules/yoctocolors": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/yoctocolors/-/yoctocolors-2.1.0.tgz", + "integrity": "sha512-FsQpXXeOEe05tcJN4Z2eicuC6+6KiJdBbPOAChanSkwwjZ277XGsh8wh/HaPuGeifTiw/7dgAzabitu2bnDvRg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } } } } diff --git a/package.json b/package.json index 20d6b0b9e..be8d24529 100644 --- a/package.json +++ b/package.json @@ -58,10 +58,10 @@ "@commitlint/cli": "^19.0.0", "@commitlint/config-conventional": "^19.0.0", "@semantic-release/changelog": "^6.0.1", - "@semantic-release/commit-analyzer": "^12.0.0", + "@semantic-release/commit-analyzer": "^13.0.0", "@semantic-release/git": "^10.0.1", "@semantic-release/npm": "^12.0.0", - "@semantic-release/release-notes-generator": "^13.0.0", + "@semantic-release/release-notes-generator": "^14.0.0", "@types/isomorphic-fetch": "^0.0.39", "@types/jest": "^29.5.0", "@types/jest-json-schema": "^6.1.1", @@ -86,11 +86,11 @@ "lint-staged": "^15.2.2", "prettier": "^3.2.5", "prettier-plugin-import-sort": "^0.0.7", - "semantic-release": "^23.0.5", + "semantic-release": "^24.0.0", "starknet_specs": "github:starkware-libs/starknet-specs#v0.7.1", "tsup": "^8.0.2", "type-coverage": "^2.28.2", - "typedoc": "^0.25.7", + "typedoc": "~0.26.0", "typescript": "~5.4.0", "typescript-coverage-report": "npm:@penovicp/typescript-coverage-report@^1.0.0-beta.2" }, @@ -101,7 +101,6 @@ "@scure/starknet": "~1.0.0", "abi-wan-kanabi": "^2.2.2", "fetch-cookie": "^3.0.0", - "get-starknet-core": "^4.0.0-next.3", "isomorphic-fetch": "^3.0.0", "lossless-json": "^4.0.1", "pako": "^2.0.4", diff --git a/www/versioned_docs/version-6.11.0/API/_category_.yml b/www/versioned_docs/version-6.11.0/API/_category_.yml new file mode 100644 index 000000000..3c0dfeba4 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/_category_.yml @@ -0,0 +1 @@ +label: 'API' diff --git a/www/versioned_docs/version-6.11.0/API/classes/Account.md b/www/versioned_docs/version-6.11.0/API/classes/Account.md new file mode 100644 index 000000000..31d964b23 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/classes/Account.md @@ -0,0 +1,2621 @@ +--- +id: 'Account' +title: 'Class: Account' +sidebar_label: 'Account' +sidebar_position: 0 +custom_edit_url: null +--- + +## Hierarchy + +- [`Provider`](Provider.md) + + ↳ **`Account`** + + ↳↳ [`WalletAccount`](WalletAccount.md) + +## Implements + +- [`AccountInterface`](AccountInterface.md) + +## Constructors + +### constructor + +• **new Account**(`providerOrOptions`, `address`, `pkOrSigner`, `cairoVersion?`, `transactionVersion?`): [`Account`](Account.md) + +#### Parameters + +| Name | Type | Default value | +| :------------------- | :--------------------------------------------------------------------------------------------------------- | :----------------------- | +| `providerOrOptions` | [`ProviderOptions`](../interfaces/types.ProviderOptions.md) \| [`ProviderInterface`](ProviderInterface.md) | `undefined` | +| `address` | `string` | `undefined` | +| `pkOrSigner` | `string` \| `Uint8Array` \| [`SignerInterface`](SignerInterface.md) | `undefined` | +| `cairoVersion?` | [`CairoVersion`](../namespaces/types.md#cairoversion) | `undefined` | +| `transactionVersion` | `"0x2"` \| `"0x3"` | `ETransactionVersion.V2` | + +#### Returns + +[`Account`](Account.md) + +#### Overrides + +[Provider](Provider.md).[constructor](Provider.md#constructor) + +#### Defined in + +[src/account/default.ts:72](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L72) + +## Properties + +### signer + +• **signer**: [`SignerInterface`](SignerInterface.md) + +#### Implementation of + +[AccountInterface](AccountInterface.md).[signer](AccountInterface.md#signer) + +#### Defined in + +[src/account/default.ts:64](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L64) + +--- + +### address + +• **address**: `string` + +#### Implementation of + +[AccountInterface](AccountInterface.md).[address](AccountInterface.md#address) + +#### Defined in + +[src/account/default.ts:66](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L66) + +--- + +### cairoVersion + +• **cairoVersion**: [`CairoVersion`](../namespaces/types.md#cairoversion) + +#### Implementation of + +[AccountInterface](AccountInterface.md).[cairoVersion](AccountInterface.md#cairoversion) + +#### Defined in + +[src/account/default.ts:68](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L68) + +--- + +### transactionVersion + +• `Readonly` **transactionVersion**: `"0x2"` \| `"0x3"` + +#### Defined in + +[src/account/default.ts:70](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L70) + +--- + +### deploySelf + +• **deploySelf**: (`__namedParameters`: [`DeployAccountContractPayload`](../namespaces/types.md#deployaccountcontractpayload), `details`: [`UniversalDetails`](../interfaces/types.UniversalDetails.md)) => `Promise`<[`DeployContractResponse`](../interfaces/types.DeployContractResponse.md)\> + +#### Type declaration + +▸ (`«destructured»`, `details?`): `Promise`<[`DeployContractResponse`](../interfaces/types.DeployContractResponse.md)\> + +##### Parameters + +| Name | Type | +| :--------------- | :------------------------------------------------------------------------------------ | +| `«destructured»` | [`DeployAccountContractPayload`](../namespaces/types.md#deployaccountcontractpayload) | +| `details` | [`UniversalDetails`](../interfaces/types.UniversalDetails.md) | + +##### Returns + +`Promise`<[`DeployContractResponse`](../interfaces/types.DeployContractResponse.md)\> + +#### Defined in + +[src/account/default.ts:476](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L476) + +--- + +### responseParser + +• **responseParser**: [`RPCResponseParser`](RPCResponseParser.md) + +#### Inherited from + +[Provider](Provider.md).[responseParser](Provider.md#responseparser) + +#### Defined in + +[src/provider/rpc.ts:46](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L46) + +--- + +### channel + +• **channel**: [`RpcChannel`](RPC06.RpcChannel.md) \| [`RpcChannel`](RPC07.RpcChannel.md) + +#### Implementation of + +[AccountInterface](AccountInterface.md).[channel](AccountInterface.md#channel) + +#### Inherited from + +[Provider](Provider.md).[channel](Provider.md#channel) + +#### Defined in + +[src/provider/rpc.ts:48](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L48) + +--- + +### getStateUpdate + +• **getStateUpdate**: () => `Promise`<\{ `block_hash`: `never` ; `old_root`: `string` ; `state_diff`: \{ storage_diffs: \{ address: string; storage_entries: \{ key: string; value: string; }[]; }[]; deprecated_declared_classes: string[]; declared_classes: \{ class_hash: string; compiled_class_hash: string; }[]; deployed_contracts: \{ ...; }[]; replaced_classes: \{ ...; }[]; nonces: \{ ...; }[]; } }\>(`blockIdentifier`: `"pending"`) => `Promise`<\{ `block_hash`: `never` ; `old_root`: `string` ; `state_diff`: \{ storage_diffs: \{ address: string; storage_entries: \{ key: string; value: string; }[]; }[]; deprecated_declared_classes: string[]; declared_classes: \{ class_hash: string; compiled_class_hash: string; }[]; deployed_contracts: \{ ...; }[]; replaced_classes: \{ ...; }[]; nonces: \{ ...; }[]; } }\>(`blockIdentifier`: `"latest"`) => `Promise`<\{ `block_hash`: `string` ; `old_root`: `string` ; `new_root`: `string` ; `state_diff`: \{ storage_diffs: \{ address: string; storage_entries: \{ key: string; value: string; }[]; }[]; deprecated_declared_classes: string[]; declared_classes: \{ class_hash: string; compiled_class_hash: string; }[]; deployed_contracts: \{ ...; }[]; replaced_classes: \{ ...; }[]; nonces: \{ ...; }[]; } }\>(`blockIdentifier?`: [`BlockIdentifier`](../namespaces/types.md#blockidentifier)) => `Promise`<[`StateUpdateResponse`](../namespaces/types.md#stateupdateresponse)\> + +#### Type declaration + +▸ (): `Promise`<\{ `block_hash`: `never` ; `old_root`: `string` ; `state_diff`: \{ storage_diffs: \{ address: string; storage_entries: \{ key: string; value: string; }[]; }[]; deprecated_declared_classes: string[]; declared_classes: \{ class_hash: string; compiled_class_hash: string; }[]; deployed_contracts: \{ ...; }[]; replaced_classes: \{ ...; }[]; nonces: \{ ...; }[]; } }\> + +##### Returns + +`Promise`<\{ `block_hash`: `never` ; `old_root`: `string` ; `state_diff`: \{ storage_diffs: \{ address: string; storage_entries: \{ key: string; value: string; }[]; }[]; deprecated_declared_classes: string[]; declared_classes: \{ class_hash: string; compiled_class_hash: string; }[]; deployed_contracts: \{ ...; }[]; replaced_classes: \{ ...; }[]; nonces: \{ ...; }[]; } }\> + +▸ (`blockIdentifier`): `Promise`<\{ `block_hash`: `never` ; `old_root`: `string` ; `state_diff`: \{ storage_diffs: \{ address: string; storage_entries: \{ key: string; value: string; }[]; }[]; deprecated_declared_classes: string[]; declared_classes: \{ class_hash: string; compiled_class_hash: string; }[]; deployed_contracts: \{ ...; }[]; replaced_classes: \{ ...; }[]; nonces: \{ ...; }[]; } }\> + +##### Parameters + +| Name | Type | +| :---------------- | :---------- | +| `blockIdentifier` | `"pending"` | + +##### Returns + +`Promise`<\{ `block_hash`: `never` ; `old_root`: `string` ; `state_diff`: \{ storage_diffs: \{ address: string; storage_entries: \{ key: string; value: string; }[]; }[]; deprecated_declared_classes: string[]; declared_classes: \{ class_hash: string; compiled_class_hash: string; }[]; deployed_contracts: \{ ...; }[]; replaced_classes: \{ ...; }[]; nonces: \{ ...; }[]; } }\> + +▸ (`blockIdentifier`): `Promise`<\{ `block_hash`: `string` ; `old_root`: `string` ; `new_root`: `string` ; `state_diff`: \{ storage_diffs: \{ address: string; storage_entries: \{ key: string; value: string; }[]; }[]; deprecated_declared_classes: string[]; declared_classes: \{ class_hash: string; compiled_class_hash: string; }[]; deployed_contracts: \{ ...; }[]; replaced_classes: \{ ...; }[]; nonces: \{ ...; }[]; } }\> + +##### Parameters + +| Name | Type | +| :---------------- | :--------- | +| `blockIdentifier` | `"latest"` | + +##### Returns + +`Promise`<\{ `block_hash`: `string` ; `old_root`: `string` ; `new_root`: `string` ; `state_diff`: \{ storage_diffs: \{ address: string; storage_entries: \{ key: string; value: string; }[]; }[]; deprecated_declared_classes: string[]; declared_classes: \{ class_hash: string; compiled_class_hash: string; }[]; deployed_contracts: \{ ...; }[]; replaced_classes: \{ ...; }[]; nonces: \{ ...; }[]; } }\> + +▸ (`blockIdentifier?`): `Promise`<[`StateUpdateResponse`](../namespaces/types.md#stateupdateresponse)\> + +##### Parameters + +| Name | Type | +| :----------------- | :---------------------------------------------------------- | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +##### Returns + +`Promise`<[`StateUpdateResponse`](../namespaces/types.md#stateupdateresponse)\> + +#### Implementation of + +[AccountInterface](AccountInterface.md).[getStateUpdate](AccountInterface.md#getstateupdate) + +#### Inherited from + +[Provider](Provider.md).[getStateUpdate](Provider.md#getstateupdate) + +#### Defined in + +[src/provider/rpc.ts:192](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L192) + +## Methods + +### getStarkName + +▸ **getStarkName**(`provider`, `address`, `StarknetIdContract?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :-------------------- | :---------------------------------------------------- | +| `provider` | [`ProviderInterface`](ProviderInterface.md) | +| `address` | [`BigNumberish`](../namespaces/types.md#bignumberish) | +| `StarknetIdContract?` | `string` | + +#### Returns + +`Promise`<`string`\> + +#### Inherited from + +[Provider](Provider.md).[getStarkName](Provider.md#getstarkname) + +#### Defined in + +[src/provider/extensions/starknetId.ts:61](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/extensions/starknetId.ts#L61) + +--- + +### getAddressFromStarkName + +▸ **getAddressFromStarkName**(`provider`, `name`, `StarknetIdContract?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :-------------------- | :------------------------------------------ | +| `provider` | [`ProviderInterface`](ProviderInterface.md) | +| `name` | `string` | +| `StarknetIdContract?` | `string` | + +#### Returns + +`Promise`<`string`\> + +#### Inherited from + +[Provider](Provider.md).[getAddressFromStarkName](Provider.md#getaddressfromstarkname) + +#### Defined in + +[src/provider/extensions/starknetId.ts:95](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/extensions/starknetId.ts#L95) + +--- + +### getStarkProfile + +▸ **getStarkProfile**(`provider`, `address`, `StarknetIdContract?`, `StarknetIdIdentityContract?`, `StarknetIdVerifierContract?`, `StarknetIdPfpContract?`, `StarknetIdPopContract?`, `StarknetIdMulticallContract?`): `Promise`<[`StarkProfile`](../namespaces/types.md#starkprofile)\> + +#### Parameters + +| Name | Type | +| :----------------------------- | :---------------------------------------------------- | +| `provider` | [`ProviderInterface`](ProviderInterface.md) | +| `address` | [`BigNumberish`](../namespaces/types.md#bignumberish) | +| `StarknetIdContract?` | `string` | +| `StarknetIdIdentityContract?` | `string` | +| `StarknetIdVerifierContract?` | `string` | +| `StarknetIdPfpContract?` | `string` | +| `StarknetIdPopContract?` | `string` | +| `StarknetIdMulticallContract?` | `string` | + +#### Returns + +`Promise`<[`StarkProfile`](../namespaces/types.md#starkprofile)\> + +#### Inherited from + +[Provider](Provider.md).[getStarkProfile](Provider.md#getstarkprofile) + +#### Defined in + +[src/provider/extensions/starknetId.ts:121](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/extensions/starknetId.ts#L121) + +--- + +### getPreferredVersion + +▸ **getPreferredVersion**(`type12`, `type3`): [`ETransactionVersion`](../namespaces/types.RPC.RPCSPEC07.API.md#etransactionversion-1) + +#### Parameters + +| Name | Type | +| :------- | :-------------------------------------------------------------------------------------- | +| `type12` | [`ETransactionVersion`](../namespaces/types.RPC.RPCSPEC07.API.md#etransactionversion-1) | +| `type3` | [`ETransactionVersion`](../namespaces/types.RPC.RPCSPEC07.API.md#etransactionversion-1) | + +#### Returns + +[`ETransactionVersion`](../namespaces/types.RPC.RPCSPEC07.API.md#etransactionversion-1) + +#### Defined in + +[src/account/default.ts:95](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L95) + +--- + +### getNonce + +▸ **getNonce**(`blockIdentifier?`): `Promise`<`string`\> + +Gets the nonce of the account with respect to a specific block + +#### Parameters + +| Name | Type | Description | +| :----------------- | :---------------------------------------------------------- | :---------------------------------------------- | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | optional blockIdentifier. Defaults to 'pending' | + +#### Returns + +`Promise`<`string`\> + +nonce of the account + +#### Implementation of + +[AccountInterface](AccountInterface.md).[getNonce](AccountInterface.md#getnonce) + +#### Defined in + +[src/account/default.ts:102](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L102) + +--- + +### getNonceSafe + +▸ **getNonceSafe**(`nonce?`): `Promise`<`bigint`\> + +#### Parameters + +| Name | Type | +| :------- | :---------------------------------------------------- | +| `nonce?` | [`BigNumberish`](../namespaces/types.md#bignumberish) | + +#### Returns + +`Promise`<`bigint`\> + +#### Defined in + +[src/account/default.ts:106](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L106) + +--- + +### getCairoVersion + +▸ **getCairoVersion**(`classHash?`): `Promise`<[`CairoVersion`](../namespaces/types.md#cairoversion)\> + +Retrieves the Cairo version from the network and sets `cairoVersion` if not already set in the constructor. + +#### Parameters + +| Name | Type | Description | +| :----------- | :------- | :----------------------------------------------------------------------------------- | +| `classHash?` | `string` | if provided detects Cairo version from classHash, otherwise from the account address | + +#### Returns + +`Promise`<[`CairoVersion`](../namespaces/types.md#cairoversion)\> + +#### Defined in + +[src/account/default.ts:119](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L119) + +--- + +### estimateFee + +▸ **estimateFee**(`calls`, `estimateFeeDetails?`): `Promise`<[`EstimateFee`](../interfaces/types.EstimateFee.md)\> + +#### Parameters + +| Name | Type | +| :------------------- | :---------------------------------------------------------------------------------------- | +| `calls` | [`AllowArray`](../namespaces/types.md#allowarray)<[`Call`](../namespaces/types.md#call)\> | +| `estimateFeeDetails` | [`UniversalDetails`](../interfaces/types.UniversalDetails.md) | + +#### Returns + +`Promise`<[`EstimateFee`](../interfaces/types.EstimateFee.md)\> + +#### Defined in + +[src/account/default.ts:129](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L129) + +--- + +### estimateInvokeFee + +▸ **estimateInvokeFee**(`calls`, `details?`): `Promise`<[`EstimateFee`](../interfaces/types.EstimateFee.md)\> + +Estimate Fee for executing an INVOKE transaction on starknet + +#### Parameters + +| Name | Type | Description | +| :-------- | :---------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `calls` | [`AllowArray`](../namespaces/types.md#allowarray)<[`Call`](../namespaces/types.md#call)\> | the invocation object containing: - contractAddress - the address of the contract - entrypoint - the entrypoint of the contract - calldata? - (defaults to []) the calldata | +| `details` | [`UniversalDetails`](../interfaces/types.UniversalDetails.md) | blockIdentifier? - nonce? = 0 - skipValidate? - default true - tip? - prioritize order of transactions in the mempool. - accountDeploymentData? - deploy an account contract (substitution for deploy account transaction) - paymasterData? - entity other than the transaction sender to pay the transaction fees(EIP-4337) - nonceDataAvailabilityMode? - allows users to choose their preferred data availability mode (Volition) - feeDataAvailabilityMode? - allows users to choose their preferred data availability mode (Volition) - version? - specify ETransactionVersion - V3 Transactions fee is in fri, oldV transactions fee is in wei | + +#### Returns + +`Promise`<[`EstimateFee`](../interfaces/types.EstimateFee.md)\> + +response from estimate_fee + +#### Implementation of + +[AccountInterface](AccountInterface.md).[estimateInvokeFee](AccountInterface.md#estimateinvokefee) + +#### Defined in + +[src/account/default.ts:136](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L136) + +--- + +### estimateDeclareFee + +▸ **estimateDeclareFee**(`payload`, `details?`): `Promise`<[`EstimateFee`](../interfaces/types.EstimateFee.md)\> + +Estimate Fee for executing a DECLARE transaction on starknet + +#### Parameters + +| Name | Type | Description | +| :-------- | :------------------------------------------------------------------------ | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `payload` | [`DeclareContractPayload`](../namespaces/types.md#declarecontractpayload) | the payload object containing: - contract - the compiled contract to be declared - casm? - compiled cairo assembly. Cairo1(casm or compiledClassHash are required) - classHash? - the class hash of the compiled contract. Precalculate for faster execution. - compiledClassHash?: class hash of the cairo assembly. Cairo1(casm or compiledClassHash are required) | +| `details` | [`UniversalDetails`](../interfaces/types.UniversalDetails.md) | blockIdentifier? - nonce? = 0 - skipValidate? - default true - tip? - prioritize order of transactions in the mempool. - accountDeploymentData? - deploy an account contract (substitution for deploy account transaction) - paymasterData? - entity other than the transaction sender to pay the transaction fees(EIP-4337) - nonceDataAvailabilityMode? - allows users to choose their preferred data availability mode (Volition) - feeDataAvailabilityMode? - allows users to choose their preferred data availability mode (Volition) - version? - specify ETransactionVersion - V3 Transactions fee is in fri, oldV transactions fee is in wei | + +#### Returns + +`Promise`<[`EstimateFee`](../interfaces/types.EstimateFee.md)\> + +response from estimate_fee + +#### Implementation of + +[AccountInterface](AccountInterface.md).[estimateDeclareFee](AccountInterface.md#estimatedeclarefee) + +#### Defined in + +[src/account/default.ts:175](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L175) + +--- + +### estimateAccountDeployFee + +▸ **estimateAccountDeployFee**(`«destructured»`, `details?`): `Promise`<[`EstimateFee`](../interfaces/types.EstimateFee.md)\> + +Estimate Fee for executing a DEPLOY_ACCOUNT transaction on starknet + +#### Parameters + +| Name | Type | Description | +| :--------------- | :------------------------------------------------------------------------------------ | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `«destructured»` | [`DeployAccountContractPayload`](../namespaces/types.md#deployaccountcontractpayload) | classHash - the class hash of the compiled contract. - constructorCalldata? - constructor data; - contractAddress? - future account contract address. Precalculate for faster execution. - addressSalt? - salt used for calculation of the contractAddress. Required if contractAddress is provided. | +| `details` | [`UniversalDetails`](../interfaces/types.UniversalDetails.md) | blockIdentifier? - nonce? = 0 - skipValidate? - default true - tip? - prioritize order of transactions in the mempool. - paymasterData? - entity other than the transaction sender to pay the transaction fees(EIP-4337) - nonceDataAvailabilityMode? - allows users to choose their preferred data availability mode (Volition) - feeDataAvailabilityMode? - allows users to choose their preferred data availability mode (Volition) - version? - specify ETransactionVersion - V3 Transactions fee is in fri, oldV transactions fee is in wei | + +#### Returns + +`Promise`<[`EstimateFee`](../interfaces/types.EstimateFee.md)\> + +response from estimate_fee + +#### Implementation of + +[AccountInterface](AccountInterface.md).[estimateAccountDeployFee](AccountInterface.md#estimateaccountdeployfee) + +#### Defined in + +[src/account/default.ts:213](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L213) + +--- + +### estimateDeployFee + +▸ **estimateDeployFee**(`payload`, `details?`): `Promise`<[`EstimateFee`](../interfaces/types.EstimateFee.md)\> + +Estimate Fee for executing a UDC DEPLOY transaction on starknet +This is different from the normal DEPLOY transaction as it goes through the Universal Deployer Contract (UDC) + +#### Parameters + +| Name | Type | Description | +| :-------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `payload` | [`UniversalDeployerContractPayload`](../namespaces/types.md#universaldeployercontractpayload) \| [`UniversalDeployerContractPayload`](../namespaces/types.md#universaldeployercontractpayload)[] | array or singular - classHash: computed class hash of compiled contract - salt: address salt - unique: bool if true ensure unique salt - constructorCalldata: constructor calldata | +| `details` | [`UniversalDetails`](../interfaces/types.UniversalDetails.md) | blockIdentifier? - nonce? - skipValidate? - default true - tip? - prioritize order of transactions in the mempool. - accountDeploymentData? - deploy an account contract (substitution for deploy account transaction) - paymasterData? - entity other than the transaction sender to pay the transaction fees(EIP-4337) - nonceDataAvailabilityMode? - allows users to choose their preferred data availability mode (Volition) - feeDataAvailabilityMode? - allows users to choose their preferred data availability mode (Volition) - version? - specify ETransactionVersion - V3 Transactions fee is in fri, oldV transactions fee is in wei | + +#### Returns + +`Promise`<[`EstimateFee`](../interfaces/types.EstimateFee.md)\> + +#### Implementation of + +[AccountInterface](AccountInterface.md).[estimateDeployFee](AccountInterface.md#estimatedeployfee) + +#### Defined in + +[src/account/default.ts:252](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L252) + +--- + +### estimateFeeBulk + +▸ **estimateFeeBulk**(`invocations`, `details?`): `Promise`<[`EstimateFeeBulk`](../namespaces/types.md#estimatefeebulk)\> + +Estimate Fee for executing a list of transactions on starknet +Contract must be deployed for fee estimation to be possible + +#### Parameters + +| Name | Type | Description | +| :------------ | :------------------------------------------------------------ | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `invocations` | [`Invocations`](../namespaces/types.md#invocations) | array of transaction object containing : - type - the type of transaction : 'DECLARE' \| (multi)'DEPLOY' \| (multi)'INVOKE_FUNCTION' \| 'DEPLOY_ACCOUNT' - payload - the payload of the transaction | +| `details` | [`UniversalDetails`](../interfaces/types.UniversalDetails.md) | blockIdentifier? - nonce? - skipValidate? - default true - tip? - prioritize order of transactions in the mempool. - accountDeploymentData? - deploy an account contract (substitution for deploy account transaction) - paymasterData? - entity other than the transaction sender to pay the transaction fees(EIP-4337) - nonceDataAvailabilityMode? - allows users to choose their preferred data availability mode (Volition) - feeDataAvailabilityMode? - allows users to choose their preferred data availability mode (Volition) - version? - specify ETransactionVersion - V3 Transactions fee is in fri, oldV transactions fee is in wei | + +#### Returns + +`Promise`<[`EstimateFeeBulk`](../namespaces/types.md#estimatefeebulk)\> + +response from estimate_fee + +#### Implementation of + +[AccountInterface](AccountInterface.md).[estimateFeeBulk](AccountInterface.md#estimatefeebulk) + +#### Defined in + +[src/account/default.ts:260](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L260) + +--- + +### simulateTransaction + +▸ **simulateTransaction**(`invocations`, `details?`): `Promise`<[`SimulateTransactionResponse`](../namespaces/types.md#simulatetransactionresponse)\> + +Simulates an array of transaction and returns an array of transaction trace and estimated fee. + +#### Parameters + +| Name | Type | Description | +| :------------ | :-------------------------------------------------------------------------------- | :---------------------------------------------------------------------------------------------------------------- | +| `invocations` | [`Invocations`](../namespaces/types.md#invocations) | Invocations containing: - type - transaction type: DECLARE, (multi)DEPLOY, DEPLOY_ACCOUNT, (multi)INVOKE_FUNCTION | +| `details` | [`SimulateTransactionDetails`](../namespaces/types.md#simulatetransactiondetails) | SimulateTransactionDetails | + +#### Returns + +`Promise`<[`SimulateTransactionResponse`](../namespaces/types.md#simulatetransactionresponse)\> + +response from simulate_transaction + +#### Implementation of + +[AccountInterface](AccountInterface.md).[simulateTransaction](AccountInterface.md#simulatetransaction) + +#### Defined in + +[src/account/default.ts:285](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L285) + +--- + +### execute + +▸ **execute**(`transactions`, `transactionsDetail?`): `Promise`<\{ `transaction_hash`: `string` }\> + +Invoke execute function in account contract + +#### Parameters + +| Name | Type | Description | +| :-------------------- | :---------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `transactions` | [`AllowArray`](../namespaces/types.md#allowarray)<[`Call`](../namespaces/types.md#call)\> | the invocation object or an array of them, containing: - contractAddress - the address of the contract - entrypoint - the entrypoint of the contract - calldata - (defaults to []) the calldata - signature - (defaults to []) the signature | +| `transactionsDetail?` | [`UniversalDetails`](../interfaces/types.UniversalDetails.md) | Additional optional parameters for the transaction | + +#### Returns + +`Promise`<\{ `transaction_hash`: `string` }\> + +response from addTransaction + +#### Implementation of + +[AccountInterface](AccountInterface.md).[execute](AccountInterface.md#execute) + +#### Defined in + +[src/account/default.ts:311](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L311) + +▸ **execute**(`transactions`, `abis?`, `transactionsDetail?`): `Promise`<\{ `transaction_hash`: `string` }\> + +#### Parameters + +| Name | Type | Description | +| :-------------------- | :---------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `transactions` | [`AllowArray`](../namespaces/types.md#allowarray)<[`Call`](../namespaces/types.md#call)\> | the invocation object or an array of them, containing: - contractAddress - the address of the contract - entrypoint - the entrypoint of the contract - calldata - (defaults to []) the calldata - signature - (defaults to []) the signature | +| `abis?` | [`Abi`](../namespaces/types.md#abi)[] | (optional) the abi of the contract for better displaying | +| `transactionsDetail?` | [`UniversalDetails`](../interfaces/types.UniversalDetails.md) | Additional optional parameters for the transaction \* | + +#### Returns + +`Promise`<\{ `transaction_hash`: `string` }\> + +response from addTransaction + +**`Deprecated`** + +#### Implementation of + +[AccountInterface](AccountInterface.md).[execute](AccountInterface.md#execute) + +#### Defined in + +[src/account/default.ts:315](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L315) + +--- + +### declareIfNot + +▸ **declareIfNot**(`payload`, `transactionsDetail?`): `Promise`<\{ `class_hash`: `string` ; `transaction_hash`: `string` }\> + +First check if contract is already declared, if not declare it +If contract already declared returned transaction_hash is ''. +Method will pass even if contract is already declared + +#### Parameters + +| Name | Type | Description | +| :------------------- | :------------------------------------------------------------------------ | :---------- | +| `payload` | [`DeclareContractPayload`](../namespaces/types.md#declarecontractpayload) | - | +| `transactionsDetail` | [`UniversalDetails`](../interfaces/types.UniversalDetails.md) | (optional) | + +#### Returns + +`Promise`<\{ `class_hash`: `string` ; `transaction_hash`: `string` }\> + +#### Defined in + +[src/account/default.ts:377](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L377) + +--- + +### declare + +▸ **declare**(`payload`, `details?`): `Promise`<\{ `class_hash`: `string` ; `transaction_hash`: `string` }\> + +Declares a given compiled contract (json) to starknet + +#### Parameters + +| Name | Type | Description | +| :-------- | :------------------------------------------------------------------------ | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `payload` | [`DeclareContractPayload`](../namespaces/types.md#declarecontractpayload) | transaction payload to be deployed containing: - contract: compiled contract code - (optional) classHash: computed class hash of compiled contract. Pre-compute it for faster execution. - (required for Cairo1 without compiledClassHash) casm: CompiledContract \| string; - (optional for Cairo1 with casm) compiledClassHash: compiled class hash from casm. Pre-compute it for faster execution. | +| `details` | [`UniversalDetails`](../interfaces/types.UniversalDetails.md) | InvocationsDetails | + +#### Returns + +`Promise`<\{ `class_hash`: `string` ; `transaction_hash`: `string` }\> + +a confirmation of sending a transaction on the starknet contract + +#### Implementation of + +[AccountInterface](AccountInterface.md).[declare](AccountInterface.md#declare) + +#### Defined in + +[src/account/default.ts:393](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L393) + +--- + +### deploy + +▸ **deploy**(`payload`, `details?`): `Promise`<[`MultiDeployContractResponse`](../namespaces/types.md#multideploycontractresponse)\> + +Deploys a declared contract to starknet - using Universal Deployer Contract (UDC) +support multicall + +#### Parameters + +| Name | Type | Description | +| :-------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `payload` | [`UniversalDeployerContractPayload`](../namespaces/types.md#universaldeployercontractpayload) \| [`UniversalDeployerContractPayload`](../namespaces/types.md#universaldeployercontractpayload)[] | classHash: computed class hash of compiled contract - [constructorCalldata] contract constructor calldata - [salt=pseudorandom] deploy address salt - [unique=true] ensure unique salt | +| `details` | [`UniversalDetails`](../interfaces/types.UniversalDetails.md) | InvocationsDetails | + +#### Returns + +`Promise`<[`MultiDeployContractResponse`](../namespaces/types.md#multideploycontractresponse)\> + +- contract_address[] +- transaction_hash + +#### Implementation of + +[AccountInterface](AccountInterface.md).[deploy](AccountInterface.md#deploy) + +#### Defined in + +[src/account/default.ts:437](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L437) + +--- + +### deployContract + +▸ **deployContract**(`payload`, `details?`): `Promise`<[`DeployContractUDCResponse`](../namespaces/types.md#deploycontractudcresponse)\> + +Simplify deploy simulating old DeployContract with same response + UDC specific response +Internal wait for L2 transaction, support multicall + +#### Parameters + +| Name | Type | Description | +| :-------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `payload` | [`UniversalDeployerContractPayload`](../namespaces/types.md#universaldeployercontractpayload) \| [`UniversalDeployerContractPayload`](../namespaces/types.md#universaldeployercontractpayload)[] | classHash: computed class hash of compiled contract - [constructorCalldata] contract constructor calldata - [salt=pseudorandom] deploy address salt - [unique=true] ensure unique salt | +| `details` | [`UniversalDetails`](../interfaces/types.UniversalDetails.md) | InvocationsDetails | + +#### Returns + +`Promise`<[`DeployContractUDCResponse`](../namespaces/types.md#deploycontractudcresponse)\> + +- contract_address +- transaction_hash +- address +- deployer +- unique +- classHash +- calldata_len +- calldata +- salt + +#### Implementation of + +[AccountInterface](AccountInterface.md).[deployContract](AccountInterface.md#deploycontract) + +#### Defined in + +[src/account/default.ts:450](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L450) + +--- + +### declareAndDeploy + +▸ **declareAndDeploy**(`payload`, `details?`): `Promise`<[`DeclareDeployUDCResponse`](../namespaces/types.md#declaredeployudcresponse)\> + +Declares and Deploy a given compiled contract (json) to starknet using UDC +Internal wait for L2 transaction, do not support multicall +Method will pass even if contract is already declared (internal using DeclareIfNot) + +#### Parameters + +| Name | Type | Description | +| :-------- | :------------------------------------------------------------------------------------------ | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `payload` | [`DeclareAndDeployContractPayload`](../namespaces/types.md#declareanddeploycontractpayload) | contract: compiled contract code - [casm=cairo1]: CairoAssembly \| undefined; - [compiledClassHash]: string \| undefined; - [classHash]: computed class hash of compiled contract - [constructorCalldata] contract constructor calldata - [salt=pseudorandom] deploy address salt - [unique=true] ensure unique salt | +| `details` | [`UniversalDetails`](../interfaces/types.UniversalDetails.md) | InvocationsDetails | + +#### Returns + +`Promise`<[`DeclareDeployUDCResponse`](../namespaces/types.md#declaredeployudcresponse)\> + +- declare + - transaction_hash +- deploy + - contract_address + - transaction_hash + - address + - deployer + - unique + - classHash + - calldata_len + - calldata + - salt + +#### Implementation of + +[AccountInterface](AccountInterface.md).[declareAndDeploy](AccountInterface.md#declareanddeploy) + +#### Defined in + +[src/account/default.ts:459](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L459) + +--- + +### deployAccount + +▸ **deployAccount**(`«destructured»`, `details?`): `Promise`<[`DeployContractResponse`](../interfaces/types.DeployContractResponse.md)\> + +Deploy the account on Starknet + +#### Parameters + +| Name | Type | Description | +| :--------------- | :------------------------------------------------------------------------------------ | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `«destructured»` | [`DeployAccountContractPayload`](../namespaces/types.md#deployaccountcontractpayload) | transaction payload to be deployed containing: - classHash: computed class hash of compiled contract - optional constructor calldata - optional address salt - optional contractAddress | +| `details` | [`UniversalDetails`](../interfaces/types.UniversalDetails.md) | InvocationsDetails | + +#### Returns + +`Promise`<[`DeployContractResponse`](../interfaces/types.DeployContractResponse.md)\> + +a confirmation of sending a transaction on the starknet contract + +#### Implementation of + +[AccountInterface](AccountInterface.md).[deployAccount](AccountInterface.md#deployaccount) + +#### Defined in + +[src/account/default.ts:478](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L478) + +--- + +### signMessage + +▸ **signMessage**(`typedData`): `Promise`<[`Signature`](../namespaces/types.md#signature)\> + +Signs a TypedData object for off-chain usage with the Starknet private key and returns the signature +This adds a message prefix so it can't be interchanged with transactions + +#### Parameters + +| Name | Type | Description | +| :---------- | :----------------------------------------------------------------------- | :---------------------------- | +| `typedData` | [`TypedData`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.TypedData.md) | TypedData object to be signed | + +#### Returns + +`Promise`<[`Signature`](../namespaces/types.md#signature)\> + +the signature of the TypedData object + +**`Throws`** + +if typedData is not a valid TypedData + +#### Implementation of + +[AccountInterface](AccountInterface.md).[signMessage](AccountInterface.md#signmessage) + +#### Defined in + +[src/account/default.ts:538](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L538) + +--- + +### hashMessage + +▸ **hashMessage**(`typedData`): `Promise`<`string`\> + +Hash a TypedData object with Pedersen hash and return the hash +This adds a message prefix so it can't be interchanged with transactions + +#### Parameters + +| Name | Type | Description | +| :---------- | :----------------------------------------------------------------------- | :---------------------------- | +| `typedData` | [`TypedData`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.TypedData.md) | TypedData object to be hashed | + +#### Returns + +`Promise`<`string`\> + +the hash of the TypedData object + +**`Throws`** + +if typedData is not a valid TypedData + +#### Implementation of + +[AccountInterface](AccountInterface.md).[hashMessage](AccountInterface.md#hashmessage) + +#### Defined in + +[src/account/default.ts:542](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L542) + +--- + +### verifyMessageHash + +▸ **verifyMessageHash**(`hash`, `signature`, `signatureVerificationFunctionName?`, `signatureVerificationResponse?`): `Promise`<`boolean`\> + +Verify a signature of a given hash + +#### Parameters + +| Name | Type | Description | +| :------------------------------------------ | :---------------------------------------------------- | :-------------------- | +| `hash` | [`BigNumberish`](../namespaces/types.md#bignumberish) | hash to be verified | +| `signature` | [`Signature`](../namespaces/types.md#signature) | signature of the hash | +| `signatureVerificationFunctionName?` | `string` | - | +| `signatureVerificationResponse?` | `Object` | - | +| `signatureVerificationResponse.okResponse` | `string`[] | - | +| `signatureVerificationResponse.nokResponse` | `string`[] | - | +| `signatureVerificationResponse.error` | `string`[] | - | + +#### Returns + +`Promise`<`boolean`\> + +true if the signature is valid, false otherwise + +**`Warning`** + +This method is not recommended, use verifyMessage instead + +**`Throws`** + +if the signature is not a valid signature + +#### Implementation of + +[AccountInterface](AccountInterface.md).[verifyMessageHash](AccountInterface.md#verifymessagehash) + +#### Defined in + +[src/account/default.ts:546](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L546) + +--- + +### verifyMessage + +▸ **verifyMessage**(`typedData`, `signature`, `signatureVerificationFunctionName?`, `signatureVerificationResponse?`): `Promise`<`boolean`\> + +Verify a signature of a TypedData object + +#### Parameters + +| Name | Type | Description | +| :------------------------------------------ | :----------------------------------------------------------------------- | :-------------------------------- | +| `typedData` | [`TypedData`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.TypedData.md) | TypedData object to be verified | +| `signature` | [`Signature`](../namespaces/types.md#signature) | signature of the TypedData object | +| `signatureVerificationFunctionName?` | `string` | - | +| `signatureVerificationResponse?` | `Object` | - | +| `signatureVerificationResponse.okResponse` | `string`[] | - | +| `signatureVerificationResponse.nokResponse` | `string`[] | - | +| `signatureVerificationResponse.error` | `string`[] | - | + +#### Returns + +`Promise`<`boolean`\> + +true if the signature is valid, false otherwise + +**`Throws`** + +if typedData is not a valid TypedData or the signature is not a valid signature + +#### Implementation of + +[AccountInterface](AccountInterface.md).[verifyMessage](AccountInterface.md#verifymessage) + +#### Defined in + +[src/account/default.ts:617](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L617) + +--- + +### getUniversalSuggestedFee + +▸ **getUniversalSuggestedFee**(`version`, `«destructured»`, `details`): `Promise`<\{ `maxFee`: [`BigNumberish`](../namespaces/types.md#bignumberish) ; `resourceBounds`: [`RESOURCE_BOUNDS_MAPPING`](../namespaces/types.RPC.RPCSPEC07.API.SPEC.md#resource_bounds_mapping) }\> + +#### Parameters + +| Name | Type | +| :--------------- | :-------------------------------------------------------------------------------------- | +| `version` | [`ETransactionVersion`](../namespaces/types.RPC.RPCSPEC07.API.md#etransactionversion-1) | +| `«destructured»` | [`EstimateFeeAction`](../namespaces/types.md#estimatefeeaction) | +| `details` | [`UniversalDetails`](../interfaces/types.UniversalDetails.md) | + +#### Returns + +`Promise`<\{ `maxFee`: [`BigNumberish`](../namespaces/types.md#bignumberish) ; `resourceBounds`: [`RESOURCE_BOUNDS_MAPPING`](../namespaces/types.RPC.RPCSPEC07.API.SPEC.md#resource_bounds_mapping) }\> + +#### Defined in + +[src/account/default.ts:636](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L636) + +--- + +### getSuggestedFee + +▸ **getSuggestedFee**(`«destructured»`, `details`): `Promise`<[`EstimateFee`](../interfaces/types.EstimateFee.md)\> + +Gets Suggested Max Fee based on the transaction type + +#### Parameters + +| Name | Type | +| :--------------- | :-------------------------------------------------------------- | +| `«destructured»` | [`EstimateFeeAction`](../namespaces/types.md#estimatefeeaction) | +| `details` | [`UniversalDetails`](../interfaces/types.UniversalDetails.md) | + +#### Returns + +`Promise`<[`EstimateFee`](../interfaces/types.EstimateFee.md)\> + +EstimateFee (...response, resourceBounds, suggestedMaxFee) + +#### Implementation of + +[AccountInterface](AccountInterface.md).[getSuggestedFee](AccountInterface.md#getsuggestedfee) + +#### Defined in + +[src/account/default.ts:659](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L659) + +--- + +### buildInvocation + +▸ **buildInvocation**(`call`, `details`): `Promise`<[`Invocation`](../namespaces/types.md#invocation)\> + +#### Parameters + +| Name | Type | +| :-------- | :---------------------------------------------------------------------------- | +| `call` | [`Call`](../namespaces/types.md#call)[] | +| `details` | [`InvocationsSignerDetails`](../namespaces/types.md#invocationssignerdetails) | + +#### Returns + +`Promise`<[`Invocation`](../namespaces/types.md#invocation)\> + +#### Defined in + +[src/account/default.ts:696](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L696) + +--- + +### buildDeclarePayload + +▸ **buildDeclarePayload**(`payload`, `details`): `Promise`<[`DeclareContractTransaction`](../namespaces/types.md#declarecontracttransaction)\> + +#### Parameters + +| Name | Type | +| :-------- | :---------------------------------------------------------------------------- | +| `payload` | [`DeclareContractPayload`](../namespaces/types.md#declarecontractpayload) | +| `details` | [`InvocationsSignerDetails`](../namespaces/types.md#invocationssignerdetails) | + +#### Returns + +`Promise`<[`DeclareContractTransaction`](../namespaces/types.md#declarecontracttransaction)\> + +#### Defined in + +[src/account/default.ts:711](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L711) + +--- + +### buildAccountDeployPayload + +▸ **buildAccountDeployPayload**(`«destructured»`, `details`): `Promise`<[`DeployAccountContractTransaction`](../namespaces/types.md#deployaccountcontracttransaction)\> + +#### Parameters + +| Name | Type | +| :--------------- | :------------------------------------------------------------------------------------ | +| `«destructured»` | [`DeployAccountContractPayload`](../namespaces/types.md#deployaccountcontractpayload) | +| `details` | [`InvocationsSignerDetails`](../namespaces/types.md#invocationssignerdetails) | + +#### Returns + +`Promise`<[`DeployAccountContractTransaction`](../namespaces/types.md#deployaccountcontracttransaction)\> + +#### Defined in + +[src/account/default.ts:743](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L743) + +--- + +### buildUDCContractPayload + +▸ **buildUDCContractPayload**(`payload`): [`Call`](../namespaces/types.md#call)[] + +#### Parameters + +| Name | Type | +| :-------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `payload` | [`UniversalDeployerContractPayload`](../namespaces/types.md#universaldeployercontractpayload) \| [`UniversalDeployerContractPayload`](../namespaces/types.md#universaldeployercontractpayload)[] | + +#### Returns + +[`Call`](../namespaces/types.md#call)[] + +#### Defined in + +[src/account/default.ts:777](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L777) + +--- + +### accountInvocationsFactory + +▸ **accountInvocationsFactory**(`invocations`, `details`): `Promise`<[`AccountInvocations`](../namespaces/types.md#accountinvocations)\> + +#### Parameters + +| Name | Type | +| :------------ | :-------------------------------------------------------------------------------------------- | +| `invocations` | [`Invocations`](../namespaces/types.md#invocations) | +| `details` | [`AccountInvocationsFactoryDetails`](../namespaces/types.md#accountinvocationsfactorydetails) | + +#### Returns + +`Promise`<[`AccountInvocations`](../namespaces/types.md#accountinvocations)\> + +#### Defined in + +[src/account/default.ts:804](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L804) + +--- + +### getStarkName + +▸ **getStarkName**(`address?`, `StarknetIdContract?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :-------------------- | :---------------------------------------------------- | +| `address` | [`BigNumberish`](../namespaces/types.md#bignumberish) | +| `StarknetIdContract?` | `string` | + +#### Returns + +`Promise`<`string`\> + +#### Overrides + +[Provider](Provider.md).[getStarkName](Provider.md#getstarkname-1) + +#### Defined in + +[src/account/default.ts:898](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L898) + +--- + +### fetch + +▸ **fetch**(`method`, `params?`, `id?`): `Promise`<`Response`\> + +#### Parameters + +| Name | Type | Default value | +| :-------- | :------------------- | :------------ | +| `method` | `string` | `undefined` | +| `params?` | `object` | `undefined` | +| `id` | `string` \| `number` | `0` | + +#### Returns + +`Promise`<`Response`\> + +#### Inherited from + +[Provider](Provider.md).[fetch](Provider.md#fetch) + +#### Defined in + +[src/provider/rpc.ts:63](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L63) + +--- + +### getChainId + +▸ **getChainId**(): `Promise`<[`StarknetChainId`](../enums/constants.StarknetChainId.md)\> + +Gets the Starknet chain Id + +#### Returns + +`Promise`<[`StarknetChainId`](../enums/constants.StarknetChainId.md)\> + +the chain Id + +#### Implementation of + +[AccountInterface](AccountInterface.md).[getChainId](AccountInterface.md#getchainid) + +#### Inherited from + +[Provider](Provider.md).[getChainId](Provider.md#getchainid) + +#### Defined in + +[src/provider/rpc.ts:67](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L67) + +--- + +### getSpecVersion + +▸ **getSpecVersion**(): `Promise`<`string`\> + +#### Returns + +`Promise`<`string`\> + +#### Inherited from + +[Provider](Provider.md).[getSpecVersion](Provider.md#getspecversion) + +#### Defined in + +[src/provider/rpc.ts:71](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L71) + +--- + +### getNonceForAddress + +▸ **getNonceForAddress**(`contractAddress`, `blockIdentifier?`): `Promise`<`string`\> + +Returns the nonce associated with the given address in the given block + +#### Parameters + +| Name | Type | Description | +| :----------------- | :---------------------------------------------------------- | :--------------- | +| `contractAddress` | [`BigNumberish`](../namespaces/types.md#bignumberish) | contract address | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | - | + +#### Returns + +`Promise`<`string`\> + +the hex nonce + +#### Implementation of + +[AccountInterface](AccountInterface.md).[getNonceForAddress](AccountInterface.md#getnonceforaddress) + +#### Inherited from + +[Provider](Provider.md).[getNonceForAddress](Provider.md#getnonceforaddress) + +#### Defined in + +[src/provider/rpc.ts:75](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L75) + +--- + +### getBlock + +▸ **getBlock**(): `Promise`<[`PendingBlock`](../namespaces/types.md#pendingblock)\> + +Gets the block information + +#### Returns + +`Promise`<[`PendingBlock`](../namespaces/types.md#pendingblock)\> + +the block object + +#### Implementation of + +[AccountInterface](AccountInterface.md).[getBlock](AccountInterface.md#getblock) + +#### Inherited from + +[Provider](Provider.md).[getBlock](Provider.md#getblock) + +#### Defined in + +[src/provider/rpc.ts:82](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L82) + +▸ **getBlock**(`blockIdentifier`): `Promise`<[`PendingBlock`](../namespaces/types.md#pendingblock)\> + +#### Parameters + +| Name | Type | +| :---------------- | :---------- | +| `blockIdentifier` | `"pending"` | + +#### Returns + +`Promise`<[`PendingBlock`](../namespaces/types.md#pendingblock)\> + +#### Implementation of + +[AccountInterface](AccountInterface.md).[getBlock](AccountInterface.md#getblock) + +#### Inherited from + +[Provider](Provider.md).[getBlock](Provider.md#getblock) + +#### Defined in + +[src/provider/rpc.ts:83](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L83) + +▸ **getBlock**(`blockIdentifier`): `Promise`<[`Block`](../namespaces/types.md#block)\> + +#### Parameters + +| Name | Type | +| :---------------- | :--------- | +| `blockIdentifier` | `"latest"` | + +#### Returns + +`Promise`<[`Block`](../namespaces/types.md#block)\> + +#### Implementation of + +[AccountInterface](AccountInterface.md).[getBlock](AccountInterface.md#getblock) + +#### Inherited from + +[Provider](Provider.md).[getBlock](Provider.md#getblock) + +#### Defined in + +[src/provider/rpc.ts:84](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L84) + +▸ **getBlock**(`blockIdentifier?`): `Promise`<[`GetBlockResponse`](../namespaces/types.md#getblockresponse)\> + +#### Parameters + +| Name | Type | +| :----------------- | :---------------------------------------------------------- | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<[`GetBlockResponse`](../namespaces/types.md#getblockresponse)\> + +#### Implementation of + +AccountInterface.getBlock + +#### Inherited from + +[Provider](Provider.md).[getBlock](Provider.md#getblock) + +#### Defined in + +[src/provider/rpc.ts:85](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L85) + +--- + +### getBlockLatestAccepted + +▸ **getBlockLatestAccepted**(): `Promise`<[`BlockHashAndNumber`](../namespaces/types.RPC.RPCSPEC06.md#blockhashandnumber)\> + +Get the most recent accepted block hash and number + +#### Returns + +`Promise`<[`BlockHashAndNumber`](../namespaces/types.RPC.RPCSPEC06.md#blockhashandnumber)\> + +#### Inherited from + +[Provider](Provider.md).[getBlockLatestAccepted](Provider.md#getblocklatestaccepted) + +#### Defined in + +[src/provider/rpc.ts:95](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L95) + +--- + +### getBlockNumber + +▸ **getBlockNumber**(): `Promise`<`number`\> + +Get the most recent accepted block number +redundant use getBlockLatestAccepted(); + +#### Returns + +`Promise`<`number`\> + +Number of the latest block + +#### Inherited from + +[Provider](Provider.md).[getBlockNumber](Provider.md#getblocknumber) + +#### Defined in + +[src/provider/rpc.ts:104](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L104) + +--- + +### getBlockWithTxHashes + +▸ **getBlockWithTxHashes**(`blockIdentifier?`): `Promise`<[`BlockWithTxHashes`](../namespaces/types.RPC.RPCSPEC06.md#blockwithtxhashes)\> + +#### Parameters + +| Name | Type | +| :----------------- | :---------------------------------------------------------- | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<[`BlockWithTxHashes`](../namespaces/types.RPC.RPCSPEC06.md#blockwithtxhashes)\> + +#### Inherited from + +[Provider](Provider.md).[getBlockWithTxHashes](Provider.md#getblockwithtxhashes) + +#### Defined in + +[src/provider/rpc.ts:108](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L108) + +--- + +### getBlockWithTxs + +▸ **getBlockWithTxs**(`blockIdentifier?`): `Promise`<[`BlockWithTxs`](../namespaces/types.RPC.RPCSPEC06.md#blockwithtxs)\> + +#### Parameters + +| Name | Type | +| :----------------- | :---------------------------------------------------------- | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<[`BlockWithTxs`](../namespaces/types.RPC.RPCSPEC06.md#blockwithtxs)\> + +#### Inherited from + +[Provider](Provider.md).[getBlockWithTxs](Provider.md#getblockwithtxs) + +#### Defined in + +[src/provider/rpc.ts:112](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L112) + +--- + +### waitForBlock + +▸ **waitForBlock**(`blockIdentifier?`, `retryInterval?`): `Promise`<`void`\> + +Pause the execution of the script until a specified block is created. + +#### Parameters + +| Name | Type | Default value | Description | +| :---------------- | :---------------------------------------------------------- | :------------ | :------------------------------------------------------------------------------------------------------------------------- | +| `blockIdentifier` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | `'pending'` | bloc number (BigNumberisk) or 'pending' or 'latest'. Use of 'latest" or of a block already created will generate no pause. | +| `retryInterval?` | `number` | `5000` | number of milliseconds between 2 requests to the node | + +#### Returns + +`Promise`<`void`\> + +**`Example`** + +```typescript +await myProvider.waitForBlock(); +// wait the creation of the pending block +``` + +#### Inherited from + +[Provider](Provider.md).[waitForBlock](Provider.md#waitforblock) + +#### Defined in + +[src/provider/rpc.ts:127](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L127) + +--- + +### getL1GasPrice + +▸ **getL1GasPrice**(`blockIdentifier?`): `Promise`<`string`\> + +Gets the price of l1 gas in the block + +#### Parameters + +| Name | Type | Description | +| :----------------- | :---------------------------------------------------------- | :--------------- | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | block identifier | + +#### Returns + +`Promise`<`string`\> + +gas price of the block + +#### Implementation of + +[AccountInterface](AccountInterface.md).[getL1GasPrice](AccountInterface.md#getl1gasprice) + +#### Inherited from + +[Provider](Provider.md).[getL1GasPrice](Provider.md#getl1gasprice) + +#### Defined in + +[src/provider/rpc.ts:157](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L157) + +--- + +### getL1MessageHash + +▸ **getL1MessageHash**(`l2TxHash`): `Promise`<`string`\> + +Get L1 message hash from L2 transaction hash + +#### Parameters + +| Name | Type | Description | +| :--------- | :---------------------------------------------------- | :------------------ | +| `l2TxHash` | [`BigNumberish`](../namespaces/types.md#bignumberish) | L2 transaction hash | + +#### Returns + +`Promise`<`string`\> + +Hex string of L1 message hash + +**`Example`** + +In Sepolia Testnet : + +```typescript +const result = provider.getL1MessageHash( + '0x28dfc05eb4f261b37ddad451ff22f1d08d4e3c24dc646af0ec69fa20e096819' +); +// result = '0x55b3f8b6e607fffd9b4d843dfe8f9b5c05822cd94fcad8797deb01d77805532a' +``` + +#### Implementation of + +[AccountInterface](AccountInterface.md).[getL1MessageHash](AccountInterface.md#getl1messagehash) + +#### Inherited from + +[Provider](Provider.md).[getL1MessageHash](Provider.md#getl1messagehash) + +#### Defined in + +[src/provider/rpc.ts:163](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L163) + +--- + +### getBlockWithReceipts + +▸ **getBlockWithReceipts**(`blockIdentifier?`): `Promise`<[`BlockWithTxReceipts`](../namespaces/types.RPC.RPCSPEC07.API.md#blockwithtxreceipts)\> + +#### Parameters + +| Name | Type | +| :----------------- | :---------------------------------------------------------- | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<[`BlockWithTxReceipts`](../namespaces/types.RPC.RPCSPEC07.API.md#blockwithtxreceipts)\> + +#### Inherited from + +[Provider](Provider.md).[getBlockWithReceipts](Provider.md#getblockwithreceipts) + +#### Defined in + +[src/provider/rpc.ts:185](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L185) + +--- + +### getBlockStateUpdate + +▸ **getBlockStateUpdate**(): `Promise`<\{ `block_hash`: `never` ; `old_root`: `string` ; `state_diff`: \{ storage_diffs: \{ address: string; storage_entries: \{ key: string; value: string; }[]; }[]; deprecated_declared_classes: string[]; declared_classes: \{ class_hash: string; compiled_class_hash: string; }[]; deployed_contracts: \{ ...; }[]; replaced_classes: \{ ...; }[]; nonces: \{ ...; }[]; } }\> + +#### Returns + +`Promise`<\{ `block_hash`: `never` ; `old_root`: `string` ; `state_diff`: \{ storage_diffs: \{ address: string; storage_entries: \{ key: string; value: string; }[]; }[]; deprecated_declared_classes: string[]; declared_classes: \{ class_hash: string; compiled_class_hash: string; }[]; deployed_contracts: \{ ...; }[]; replaced_classes: \{ ...; }[]; nonces: \{ ...; }[]; } }\> + +#### Inherited from + +[Provider](Provider.md).[getBlockStateUpdate](Provider.md#getblockstateupdate) + +#### Defined in + +[src/provider/rpc.ts:194](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L194) + +▸ **getBlockStateUpdate**(`blockIdentifier`): `Promise`<\{ `block_hash`: `never` ; `old_root`: `string` ; `state_diff`: \{ storage_diffs: \{ address: string; storage_entries: \{ key: string; value: string; }[]; }[]; deprecated_declared_classes: string[]; declared_classes: \{ class_hash: string; compiled_class_hash: string; }[]; deployed_contracts: \{ ...; }[]; replaced_classes: \{ ...; }[]; nonces: \{ ...; }[]; } }\> + +#### Parameters + +| Name | Type | +| :---------------- | :---------- | +| `blockIdentifier` | `"pending"` | + +#### Returns + +`Promise`<\{ `block_hash`: `never` ; `old_root`: `string` ; `state_diff`: \{ storage_diffs: \{ address: string; storage_entries: \{ key: string; value: string; }[]; }[]; deprecated_declared_classes: string[]; declared_classes: \{ class_hash: string; compiled_class_hash: string; }[]; deployed_contracts: \{ ...; }[]; replaced_classes: \{ ...; }[]; nonces: \{ ...; }[]; } }\> + +#### Inherited from + +[Provider](Provider.md).[getBlockStateUpdate](Provider.md#getblockstateupdate) + +#### Defined in + +[src/provider/rpc.ts:195](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L195) + +▸ **getBlockStateUpdate**(`blockIdentifier`): `Promise`<\{ `block_hash`: `string` ; `old_root`: `string` ; `new_root`: `string` ; `state_diff`: \{ storage_diffs: \{ address: string; storage_entries: \{ key: string; value: string; }[]; }[]; deprecated_declared_classes: string[]; declared_classes: \{ class_hash: string; compiled_class_hash: string; }[]; deployed_contracts: \{ ...; }[]; replaced_classes: \{ ...; }[]; nonces: \{ ...; }[]; } }\> + +#### Parameters + +| Name | Type | +| :---------------- | :--------- | +| `blockIdentifier` | `"latest"` | + +#### Returns + +`Promise`<\{ `block_hash`: `string` ; `old_root`: `string` ; `new_root`: `string` ; `state_diff`: \{ storage_diffs: \{ address: string; storage_entries: \{ key: string; value: string; }[]; }[]; deprecated_declared_classes: string[]; declared_classes: \{ class_hash: string; compiled_class_hash: string; }[]; deployed_contracts: \{ ...; }[]; replaced_classes: \{ ...; }[]; nonces: \{ ...; }[]; } }\> + +#### Inherited from + +[Provider](Provider.md).[getBlockStateUpdate](Provider.md#getblockstateupdate) + +#### Defined in + +[src/provider/rpc.ts:196](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L196) + +▸ **getBlockStateUpdate**(`blockIdentifier?`): `Promise`<[`StateUpdateResponse`](../namespaces/types.md#stateupdateresponse)\> + +#### Parameters + +| Name | Type | +| :----------------- | :---------------------------------------------------------- | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<[`StateUpdateResponse`](../namespaces/types.md#stateupdateresponse)\> + +#### Inherited from + +[Provider](Provider.md).[getBlockStateUpdate](Provider.md#getblockstateupdate) + +#### Defined in + +[src/provider/rpc.ts:197](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L197) + +--- + +### getBlockTransactionsTraces + +▸ **getBlockTransactionsTraces**(`blockIdentifier?`): `Promise`<[`BlockTransactionsTraces`](../namespaces/types.RPC.RPCSPEC06.md#blocktransactionstraces)\> + +#### Parameters + +| Name | Type | +| :----------------- | :---------------------------------------------------------- | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<[`BlockTransactionsTraces`](../namespaces/types.RPC.RPCSPEC06.md#blocktransactionstraces)\> + +#### Inherited from + +[Provider](Provider.md).[getBlockTransactionsTraces](Provider.md#getblocktransactionstraces) + +#### Defined in + +[src/provider/rpc.ts:202](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L202) + +--- + +### getBlockTransactionCount + +▸ **getBlockTransactionCount**(`blockIdentifier?`): `Promise`<`number`\> + +#### Parameters + +| Name | Type | +| :----------------- | :---------------------------------------------------------- | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<`number`\> + +#### Inherited from + +[Provider](Provider.md).[getBlockTransactionCount](Provider.md#getblocktransactioncount) + +#### Defined in + +[src/provider/rpc.ts:206](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L206) + +--- + +### getPendingTransactions + +▸ **getPendingTransactions**(): `Promise`<[`TransactionWithHash`](../namespaces/types.RPC.RPCSPEC06.md#transactionwithhash)[]\> + +Return transactions from pending block + +#### Returns + +`Promise`<[`TransactionWithHash`](../namespaces/types.RPC.RPCSPEC06.md#transactionwithhash)[]\> + +**`Deprecated`** + +Instead use getBlock(BlockTag.PENDING); (will be removed in next minor version) +Utility method, same result can be achieved using getBlockWithTxHashes(BlockTag.pending); + +#### Inherited from + +[Provider](Provider.md).[getPendingTransactions](Provider.md#getpendingtransactions) + +#### Defined in + +[src/provider/rpc.ts:215](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L215) + +--- + +### getTransaction + +▸ **getTransaction**(`txHash`): `Promise`<[`TransactionWithHash`](../namespaces/types.RPC.RPCSPEC06.md#transactionwithhash)\> + +Gets the transaction information from a tx id. + +#### Parameters + +| Name | Type | +| :------- | :---------------------------------------------------- | +| `txHash` | [`BigNumberish`](../namespaces/types.md#bignumberish) | + +#### Returns + +`Promise`<[`TransactionWithHash`](../namespaces/types.RPC.RPCSPEC06.md#transactionwithhash)\> + +the transaction object { transaction_id, status, transaction, block_number?, block_number?, transaction_index?, transaction_failure_reason? } + +#### Implementation of + +[AccountInterface](AccountInterface.md).[getTransaction](AccountInterface.md#gettransaction) + +#### Inherited from + +[Provider](Provider.md).[getTransaction](Provider.md#gettransaction) + +#### Defined in + +[src/provider/rpc.ts:222](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L222) + +--- + +### getTransactionByHash + +▸ **getTransactionByHash**(`txHash`): `Promise`<[`TransactionWithHash`](../namespaces/types.RPC.RPCSPEC06.md#transactionwithhash)\> + +#### Parameters + +| Name | Type | +| :------- | :---------------------------------------------------- | +| `txHash` | [`BigNumberish`](../namespaces/types.md#bignumberish) | + +#### Returns + +`Promise`<[`TransactionWithHash`](../namespaces/types.RPC.RPCSPEC06.md#transactionwithhash)\> + +#### Inherited from + +[Provider](Provider.md).[getTransactionByHash](Provider.md#gettransactionbyhash) + +#### Defined in + +[src/provider/rpc.ts:226](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L226) + +--- + +### getTransactionByBlockIdAndIndex + +▸ **getTransactionByBlockIdAndIndex**(`blockIdentifier`, `index`): `Promise`<[`TransactionWithHash`](../namespaces/types.RPC.RPCSPEC06.md#transactionwithhash)\> + +#### Parameters + +| Name | Type | +| :---------------- | :---------------------------------------------------------- | +| `blockIdentifier` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | +| `index` | `number` | + +#### Returns + +`Promise`<[`TransactionWithHash`](../namespaces/types.RPC.RPCSPEC06.md#transactionwithhash)\> + +#### Inherited from + +[Provider](Provider.md).[getTransactionByBlockIdAndIndex](Provider.md#gettransactionbyblockidandindex) + +#### Defined in + +[src/provider/rpc.ts:230](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L230) + +--- + +### getTransactionReceipt + +▸ **getTransactionReceipt**(`txHash`): `Promise`<[`GetTransactionReceiptResponse`](../modules.md#gettransactionreceiptresponse)\> + +Gets the transaction receipt from a tx hash. + +#### Parameters + +| Name | Type | +| :------- | :---------------------------------------------------- | +| `txHash` | [`BigNumberish`](../namespaces/types.md#bignumberish) | + +#### Returns + +`Promise`<[`GetTransactionReceiptResponse`](../modules.md#gettransactionreceiptresponse)\> + +the transaction receipt object + +#### Implementation of + +[AccountInterface](AccountInterface.md).[getTransactionReceipt](AccountInterface.md#gettransactionreceipt) + +#### Inherited from + +[Provider](Provider.md).[getTransactionReceipt](Provider.md#gettransactionreceipt) + +#### Defined in + +[src/provider/rpc.ts:234](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L234) + +--- + +### getTransactionTrace + +▸ **getTransactionTrace**(`txHash`): `Promise`<[`TRANSACTION_TRACE`](../namespaces/types.RPC.RPCSPEC06.SPEC.md#transaction_trace)\> + +#### Parameters + +| Name | Type | +| :------- | :---------------------------------------------------- | +| `txHash` | [`BigNumberish`](../namespaces/types.md#bignumberish) | + +#### Returns + +`Promise`<[`TRANSACTION_TRACE`](../namespaces/types.RPC.RPCSPEC06.SPEC.md#transaction_trace)\> + +#### Inherited from + +[Provider](Provider.md).[getTransactionTrace](Provider.md#gettransactiontrace) + +#### Defined in + +[src/provider/rpc.ts:241](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L241) + +--- + +### getTransactionStatus + +▸ **getTransactionStatus**(`transactionHash`): `Promise`<[`TransactionStatus`](../namespaces/types.RPC.RPCSPEC06.md#transactionstatus)\> + +Get the status of a transaction + +#### Parameters + +| Name | Type | +| :---------------- | :---------------------------------------------------- | +| `transactionHash` | [`BigNumberish`](../namespaces/types.md#bignumberish) | + +#### Returns + +`Promise`<[`TransactionStatus`](../namespaces/types.RPC.RPCSPEC06.md#transactionstatus)\> + +#### Inherited from + +[Provider](Provider.md).[getTransactionStatus](Provider.md#gettransactionstatus) + +#### Defined in + +[src/provider/rpc.ts:248](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L248) + +--- + +### getSimulateTransaction + +▸ **getSimulateTransaction**(`invocations`, `options?`): `Promise`<[`SimulateTransactionResponse`](../namespaces/types.md#simulatetransactionresponse)\> + +#### Parameters + +| Name | Type | Description | +| :------------ | :-------------------------------------------------------------------------------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `invocations` | [`AccountInvocations`](../namespaces/types.md#accountinvocations) | AccountInvocations | +| `options?` | [`getSimulateTransactionOptions`](../namespaces/types.md#getsimulatetransactionoptions) | blockIdentifier and flags to skip validation and fee charge
- blockIdentifier
- skipValidate (default false)
- skipFeeCharge (default true)
| + +#### Returns + +`Promise`<[`SimulateTransactionResponse`](../namespaces/types.md#simulatetransactionresponse)\> + +#### Implementation of + +[AccountInterface](AccountInterface.md).[getSimulateTransaction](AccountInterface.md#getsimulatetransaction) + +#### Inherited from + +[Provider](Provider.md).[getSimulateTransaction](Provider.md#getsimulatetransaction) + +#### Defined in + +[src/provider/rpc.ts:259](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L259) + +--- + +### waitForTransaction + +▸ **waitForTransaction**(`txHash`, `options?`): `Promise`<[`GetTransactionReceiptResponse`](../modules.md#gettransactionreceiptresponse)\> + +Wait for the transaction to be accepted + +#### Parameters + +| Name | Type | Description | +| :--------- | :------------------------------------------------------------------------------ | :--------------------------------------------------------------------------------------------------------------------------------------- | +| `txHash` | [`BigNumberish`](../namespaces/types.md#bignumberish) | transaction hash | +| `options?` | [`waitForTransactionOptions`](../namespaces/types.md#waitfortransactionoptions) | waitForTransactionOptions - (optional) retryInterval: number \| undefined; - (optional) successStates: TransactionStatus[] \| undefined; | + +#### Returns + +`Promise`<[`GetTransactionReceiptResponse`](../modules.md#gettransactionreceiptresponse)\> + +GetTransactionReceiptResponse + +#### Implementation of + +[AccountInterface](AccountInterface.md).[waitForTransaction](AccountInterface.md#waitfortransaction) + +#### Inherited from + +[Provider](Provider.md).[waitForTransaction](Provider.md#waitfortransaction) + +#### Defined in + +[src/provider/rpc.ts:269](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L269) + +--- + +### getStorageAt + +▸ **getStorageAt**(`contractAddress`, `key`, `blockIdentifier?`): `Promise`<`string`\> + +Get the value of the storage (contract's variable) at the given address and key + +#### Parameters + +| Name | Type | Description | +| :----------------- | :---------------------------------------------------------- | :--------------------------------------------------------- | +| `contractAddress` | [`BigNumberish`](../namespaces/types.md#bignumberish) | | +| `key` | [`BigNumberish`](../namespaces/types.md#bignumberish) | from getStorageVarAddress('') (WIP) | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | block identifier | + +#### Returns + +`Promise`<`string`\> + +the value of the storage variable + +#### Implementation of + +[AccountInterface](AccountInterface.md).[getStorageAt](AccountInterface.md#getstorageat) + +#### Inherited from + +[Provider](Provider.md).[getStorageAt](Provider.md#getstorageat) + +#### Defined in + +[src/provider/rpc.ts:281](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L281) + +--- + +### getClassHashAt + +▸ **getClassHashAt**(`contractAddress`, `blockIdentifier?`): `Promise`<`string`\> + +Returns the contract class hash in the given block for the contract deployed at the given address + +#### Parameters + +| Name | Type | Description | +| :----------------- | :---------------------------------------------------------- | :--------------- | +| `contractAddress` | [`BigNumberish`](../namespaces/types.md#bignumberish) | contract address | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | block identifier | + +#### Returns + +`Promise`<`string`\> + +Class hash + +#### Implementation of + +[AccountInterface](AccountInterface.md).[getClassHashAt](AccountInterface.md#getclasshashat) + +#### Inherited from + +[Provider](Provider.md).[getClassHashAt](Provider.md#getclasshashat) + +#### Defined in + +[src/provider/rpc.ts:289](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L289) + +--- + +### getClassByHash + +▸ **getClassByHash**(`classHash`): `Promise`<[`LegacyContractClass`](../namespaces/types.md#legacycontractclass) \| `Omit`<[`CompiledSierra`](../namespaces/types.md#compiledsierra), `"sierra_program_debug_info"`\>\> + +Returns the contract class deployed under the given class hash. + +#### Parameters + +| Name | Type | Description | +| :---------- | :---------------------------------------------------- | :---------- | +| `classHash` | [`BigNumberish`](../namespaces/types.md#bignumberish) | class hash | + +#### Returns + +`Promise`<[`LegacyContractClass`](../namespaces/types.md#legacycontractclass) \| `Omit`<[`CompiledSierra`](../namespaces/types.md#compiledsierra), `"sierra_program_debug_info"`\>\> + +Contract class of compiled contract + +#### Implementation of + +[AccountInterface](AccountInterface.md).[getClassByHash](AccountInterface.md#getclassbyhash) + +#### Inherited from + +[Provider](Provider.md).[getClassByHash](Provider.md#getclassbyhash) + +#### Defined in + +[src/provider/rpc.ts:293](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L293) + +--- + +### getClass + +▸ **getClass**(`classHash`, `blockIdentifier?`): `Promise`<[`LegacyContractClass`](../namespaces/types.md#legacycontractclass) \| `Omit`<[`CompiledSierra`](../namespaces/types.md#compiledsierra), `"sierra_program_debug_info"`\>\> + +#### Parameters + +| Name | Type | +| :----------------- | :---------------------------------------------------------- | +| `classHash` | [`BigNumberish`](../namespaces/types.md#bignumberish) | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<[`LegacyContractClass`](../namespaces/types.md#legacycontractclass) \| `Omit`<[`CompiledSierra`](../namespaces/types.md#compiledsierra), `"sierra_program_debug_info"`\>\> + +#### Inherited from + +[Provider](Provider.md).[getClass](Provider.md#getclass) + +#### Defined in + +[src/provider/rpc.ts:297](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L297) + +--- + +### getClassAt + +▸ **getClassAt**(`contractAddress`, `blockIdentifier?`): `Promise`<[`LegacyContractClass`](../namespaces/types.md#legacycontractclass) \| `Omit`<[`CompiledSierra`](../namespaces/types.md#compiledsierra), `"sierra_program_debug_info"`\>\> + +Gets the contract class of the deployed contract. + +#### Parameters + +| Name | Type | Description | +| :----------------- | :---------------------------------------------------------- | :--------------- | +| `contractAddress` | [`BigNumberish`](../namespaces/types.md#bignumberish) | contract address | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | block identifier | + +#### Returns + +`Promise`<[`LegacyContractClass`](../namespaces/types.md#legacycontractclass) \| `Omit`<[`CompiledSierra`](../namespaces/types.md#compiledsierra), `"sierra_program_debug_info"`\>\> + +Contract class of compiled contract + +#### Implementation of + +[AccountInterface](AccountInterface.md).[getClassAt](AccountInterface.md#getclassat) + +#### Inherited from + +[Provider](Provider.md).[getClassAt](Provider.md#getclassat) + +#### Defined in + +[src/provider/rpc.ts:303](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L303) + +--- + +### getContractVersion + +▸ **getContractVersion**(`contractAddress`, `classHash?`, `options?`): `Promise`<[`ContractVersion`](../namespaces/types.md#contractversion)\> + +Gets the contract version from the provided address + +#### Parameters + +| Name | Type | Description | +| :---------------- | :------------------------------------------------------------------------------ | :------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `contractAddress` | [`BigNumberish`](../namespaces/types.md#bignumberish) | string | +| `classHash?` | `undefined` | undefined | +| `options?` | [`getContractVersionOptions`](../namespaces/types.md#getcontractversionoptions) | getContractVersionOptions - (optional) compiler - (default true) extract compiler version using type tactic from abi - (optional) blockIdentifier - block identifier | + +#### Returns + +`Promise`<[`ContractVersion`](../namespaces/types.md#contractversion)\> + +#### Implementation of + +[AccountInterface](AccountInterface.md).[getContractVersion](AccountInterface.md#getcontractversion) + +#### Inherited from + +[Provider](Provider.md).[getContractVersion](Provider.md#getcontractversion) + +#### Defined in + +[src/provider/rpc.ts:309](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L309) + +▸ **getContractVersion**(`contractAddress`, `classHash`, `options?`): `Promise`<[`ContractVersion`](../namespaces/types.md#contractversion)\> + +Gets the contract version from the provided address + +#### Parameters + +| Name | Type | Description | +| :---------------- | :------------------------------------------------------------------------------ | :------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `contractAddress` | `undefined` | undefined | +| `classHash` | [`BigNumberish`](../namespaces/types.md#bignumberish) | | +| `options?` | [`getContractVersionOptions`](../namespaces/types.md#getcontractversionoptions) | getContractVersionOptions - (optional) compiler - (default true) extract compiler version using type tactic from abi - (optional) blockIdentifier - block identifier | + +#### Returns + +`Promise`<[`ContractVersion`](../namespaces/types.md#contractversion)\> + +#### Implementation of + +[AccountInterface](AccountInterface.md).[getContractVersion](AccountInterface.md#getcontractversion) + +#### Inherited from + +[Provider](Provider.md).[getContractVersion](Provider.md#getcontractversion) + +#### Defined in + +[src/provider/rpc.ts:314](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L314) + +--- + +### getEstimateFee + +▸ **getEstimateFee**(`invocation`, `invocationDetails`, `blockIdentifier?`, `skipValidate?`): `Promise`<[`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md)\> + +#### Parameters + +| Name | Type | +| :------------------ | :---------------------------------------------------------------------------------- | +| `invocation` | [`Invocation`](../namespaces/types.md#invocation) | +| `invocationDetails` | [`InvocationsDetailsWithNonce`](../namespaces/types.md#invocationsdetailswithnonce) | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | +| `skipValidate?` | `boolean` | + +#### Returns + +`Promise`<[`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md)\> + +**`Deprecated`** + +use get*type*EstimateFee (will be refactored based on type after sequencer deprecation) + +#### Implementation of + +[AccountInterface](AccountInterface.md).[getEstimateFee](AccountInterface.md#getestimatefee) + +#### Inherited from + +[Provider](Provider.md).[getEstimateFee](Provider.md#getestimatefee) + +#### Defined in + +[src/provider/rpc.ts:350](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L350) + +--- + +### getInvokeEstimateFee + +▸ **getInvokeEstimateFee**(`invocation`, `invocationDetails`, `blockIdentifier?`, `skipValidate?`): `Promise`<[`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md)\> + +Estimates the fee for a given INVOKE transaction + +#### Parameters + +| Name | Type | Description | +| :------------------ | :---------------------------------------------------------------------------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `invocation` | [`Invocation`](../namespaces/types.md#invocation) | the invocation object containing: - contractAddress - the address of the contract - entrypoint - the entrypoint of the contract - calldata - (defaults to []) the calldata - signature - (defaults to []) the signature | +| `invocationDetails` | [`InvocationsDetailsWithNonce`](../namespaces/types.md#invocationsdetailswithnonce) | optional details containing: - nonce - optional nonce - version - optional version | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | (optional) block identifier | +| `skipValidate?` | `boolean` | (optional) skip cairo **validate** method | + +#### Returns + +`Promise`<[`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md)\> + +the estimated fee + +#### Implementation of + +[AccountInterface](AccountInterface.md).[getInvokeEstimateFee](AccountInterface.md#getinvokeestimatefee) + +#### Inherited from + +[Provider](Provider.md).[getInvokeEstimateFee](Provider.md#getinvokeestimatefee) + +#### Defined in + +[src/provider/rpc.ts:359](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L359) + +--- + +### getDeclareEstimateFee + +▸ **getDeclareEstimateFee**(`invocation`, `details`, `blockIdentifier?`, `skipValidate?`): `Promise`<[`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md)\> + +Estimates the fee for a given DECLARE transaction + +#### Parameters + +| Name | Type | Description | +| :----------------- | :---------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------ | +| `invocation` | [`DeclareContractTransaction`](../namespaces/types.md#declarecontracttransaction) | transaction payload to be declared containing: - compiled contract code - sender address - signature - (defaults to []) the signature | +| `details` | [`InvocationsDetailsWithNonce`](../namespaces/types.md#invocationsdetailswithnonce) | optional details containing: - nonce - version - optional version - optional maxFee | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | (optional) block identifier | +| `skipValidate?` | `boolean` | (optional) skip cairo **validate** method | + +#### Returns + +`Promise`<[`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md)\> + +the estimated fee + +#### Implementation of + +[AccountInterface](AccountInterface.md).[getDeclareEstimateFee](AccountInterface.md#getdeclareestimatefee) + +#### Inherited from + +[Provider](Provider.md).[getDeclareEstimateFee](Provider.md#getdeclareestimatefee) + +#### Defined in + +[src/provider/rpc.ts:379](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L379) + +--- + +### getDeployAccountEstimateFee + +▸ **getDeployAccountEstimateFee**(`invocation`, `details`, `blockIdentifier?`, `skipValidate?`): `Promise`<[`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md)\> + +Estimates the fee for a given DEPLOY_ACCOUNT transaction + +#### Parameters + +| Name | Type | Description | +| :----------------- | :-------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------ | +| `invocation` | [`DeployAccountContractTransaction`](../namespaces/types.md#deployaccountcontracttransaction) | transaction payload to be deployed containing: - classHash - constructorCalldata - addressSalt - signature - (defaults to []) the signature | +| `details` | [`InvocationsDetailsWithNonce`](../namespaces/types.md#invocationsdetailswithnonce) | optional details containing: - nonce - version - optional version - optional maxFee | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | (optional) block identifier | +| `skipValidate?` | `boolean` | (optional) skip cairo **validate** method | + +#### Returns + +`Promise`<[`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md)\> + +the estimated fee + +#### Implementation of + +[AccountInterface](AccountInterface.md).[getDeployAccountEstimateFee](AccountInterface.md#getdeployaccountestimatefee) + +#### Inherited from + +[Provider](Provider.md).[getDeployAccountEstimateFee](Provider.md#getdeployaccountestimatefee) + +#### Defined in + +[src/provider/rpc.ts:399](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L399) + +--- + +### getEstimateFeeBulk + +▸ **getEstimateFeeBulk**(`invocations`, `options`): `Promise`<[`EstimateFeeResponseBulk`](../namespaces/types.md#estimatefeeresponsebulk)\> + +Estimates the fee for a list of INVOKE transaction + +#### Parameters + +| Name | Type | Description | +| :------------ | :------------------------------------------------------------------------------ | :----------------------------------------------------------------------- | +| `invocations` | [`AccountInvocations`](../namespaces/types.md#accountinvocations) | AccountInvocations - Complete invocations array with account details | +| `options` | [`getEstimateFeeBulkOptions`](../namespaces/types.md#getestimatefeebulkoptions) | getEstimateFeeBulkOptions - (optional) blockIdentifier - BlockIdentifier | + +#### Returns + +`Promise`<[`EstimateFeeResponseBulk`](../namespaces/types.md#estimatefeeresponsebulk)\> + +the estimated fee + +#### Implementation of + +[AccountInterface](AccountInterface.md).[getEstimateFeeBulk](AccountInterface.md#getestimatefeebulk) + +#### Inherited from + +[Provider](Provider.md).[getEstimateFeeBulk](Provider.md#getestimatefeebulk) + +#### Defined in + +[src/provider/rpc.ts:419](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L419) + +--- + +### invokeFunction + +▸ **invokeFunction**(`functionInvocation`, `details`): `Promise`<[`InvokedTransaction`](../namespaces/types.RPC.RPCSPEC07.API.md#invokedtransaction)\> + +Invokes a function on starknet + +#### Parameters + +| Name | Type | Description | +| :------------------- | :---------------------------------------------------------------------------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `functionInvocation` | [`Invocation`](../namespaces/types.md#invocation) | the invocation object containing: - contractAddress - the address of the contract - entrypoint - the entrypoint of the contract - calldata - (defaults to []) the calldata - signature - (defaults to []) the signature | +| `details` | [`InvocationsDetailsWithNonce`](../namespaces/types.md#invocationsdetailswithnonce) | optional details containing: - nonce - optional nonce - version - optional version - maxFee - optional maxFee | + +#### Returns + +`Promise`<[`InvokedTransaction`](../namespaces/types.RPC.RPCSPEC07.API.md#invokedtransaction)\> + +response from addTransaction + +**`Deprecated`** + +This method won't be supported as soon as fees are mandatory. Should not be used outside of Account class + +#### Implementation of + +[AccountInterface](AccountInterface.md).[invokeFunction](AccountInterface.md#invokefunction) + +#### Inherited from + +[Provider](Provider.md).[invokeFunction](Provider.md#invokefunction) + +#### Defined in + +[src/provider/rpc.ts:428](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L428) + +--- + +### declareContract + +▸ **declareContract**(`transaction`, `details`): `Promise`<[`DeclaredTransaction`](../namespaces/types.RPC.RPCSPEC07.API.md#declaredtransaction)\> + +Declares a given compiled contract (json) to starknet + +#### Parameters + +| Name | Type | Description | +| :------------ | :---------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------------------- | +| `transaction` | [`DeclareContractTransaction`](../namespaces/types.md#declarecontracttransaction) | transaction payload to be deployed containing: - compiled contract code - sender address - signature | +| `details` | [`InvocationsDetailsWithNonce`](../namespaces/types.md#invocationsdetailswithnonce) | Invocation Details containing: - nonce - optional version - optional maxFee | + +#### Returns + +`Promise`<[`DeclaredTransaction`](../namespaces/types.RPC.RPCSPEC07.API.md#declaredtransaction)\> + +a confirmation of sending a transaction on the starknet contract + +#### Implementation of + +[AccountInterface](AccountInterface.md).[declareContract](AccountInterface.md#declarecontract) + +#### Inherited from + +[Provider](Provider.md).[declareContract](Provider.md#declarecontract) + +#### Defined in + +[src/provider/rpc.ts:435](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L435) + +--- + +### deployAccountContract + +▸ **deployAccountContract**(`transaction`, `details`): `Promise`<[`DeployedAccountTransaction`](../namespaces/types.RPC.RPCSPEC07.API.md#deployedaccounttransaction)\> + +Deploys a given compiled Account contract (json) to starknet + +#### Parameters + +| Name | Type | Description | +| :------------ | :-------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------ | +| `transaction` | [`DeployAccountContractTransaction`](../namespaces/types.md#deployaccountcontracttransaction) | payload to be deployed containing: - compiled contract code - constructor calldata - address salt | +| `details` | [`InvocationsDetailsWithNonce`](../namespaces/types.md#invocationsdetailswithnonce) | - | + +#### Returns + +`Promise`<[`DeployedAccountTransaction`](../namespaces/types.RPC.RPCSPEC07.API.md#deployedaccounttransaction)\> + +a confirmation of sending a transaction on the starknet contract + +#### Implementation of + +[AccountInterface](AccountInterface.md).[deployAccountContract](AccountInterface.md#deployaccountcontract) + +#### Inherited from + +[Provider](Provider.md).[deployAccountContract](Provider.md#deployaccountcontract) + +#### Defined in + +[src/provider/rpc.ts:442](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L442) + +--- + +### callContract + +▸ **callContract**(`call`, `blockIdentifier?`): `Promise`<`string`[]\> + +Calls a function on the Starknet contract. + +#### Parameters + +| Name | Type | Description | +| :----------------- | :---------------------------------------------------------- | :----------------------- | +| `call` | [`Call`](../namespaces/types.md#call) | transaction to be called | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | block identifier | + +#### Returns + +`Promise`<`string`[]\> + +the result of the function on the smart contract. + +#### Implementation of + +[AccountInterface](AccountInterface.md).[callContract](AccountInterface.md#callcontract) + +#### Inherited from + +[Provider](Provider.md).[callContract](Provider.md#callcontract) + +#### Defined in + +[src/provider/rpc.ts:452](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L452) + +--- + +### estimateMessageFee + +▸ **estimateMessageFee**(`message`, `blockIdentifier?`): `Promise`<[`FEE_ESTIMATE`](../namespaces/types.RPC.RPCSPEC06.SPEC.md#fee_estimate)\> + +NEW: Estimate the fee for a message from L1 + +#### Parameters + +| Name | Type | Description | +| :----------------- | :------------------------------------------------------------------------- | :-------------- | +| `message` | [`MSG_FROM_L1`](../namespaces/types.RPC.RPCSPEC07.API.SPEC.md#msg_from_l1) | Message From L1 | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | - | + +#### Returns + +`Promise`<[`FEE_ESTIMATE`](../namespaces/types.RPC.RPCSPEC06.SPEC.md#fee_estimate)\> + +#### Inherited from + +[Provider](Provider.md).[estimateMessageFee](Provider.md#estimatemessagefee) + +#### Defined in + +[src/provider/rpc.ts:460](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L460) + +--- + +### getSyncingStats + +▸ **getSyncingStats**(): `Promise`<[`Syncing`](../namespaces/types.RPC.RPCSPEC06.md#syncing)\> + +Returns an object about the sync status, or false if the node is not synching + +#### Returns + +`Promise`<[`Syncing`](../namespaces/types.RPC.RPCSPEC06.md#syncing)\> + +Object with the stats data + +#### Inherited from + +[Provider](Provider.md).[getSyncingStats](Provider.md#getsyncingstats) + +#### Defined in + +[src/provider/rpc.ts:468](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L468) + +--- + +### getEvents + +▸ **getEvents**(`eventFilter`): `Promise`<[`EVENTS_CHUNK`](../namespaces/types.RPC.RPCSPEC06.SPEC.md#events_chunk)\> + +Returns all events matching the given filter + +#### Parameters + +| Name | Type | +| :------------ | :-------------------------------------------------------------------- | +| `eventFilter` | [`EventFilter`](../namespaces/types.RPC.RPCSPEC07.API.md#eventfilter) | + +#### Returns + +`Promise`<[`EVENTS_CHUNK`](../namespaces/types.RPC.RPCSPEC06.SPEC.md#events_chunk)\> + +events and the pagination of the events + +#### Inherited from + +[Provider](Provider.md).[getEvents](Provider.md#getevents) + +#### Defined in + +[src/provider/rpc.ts:476](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L476) + +--- + +### getAddressFromStarkName + +▸ **getAddressFromStarkName**(`name`, `StarknetIdContract?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :-------------------- | :------- | +| `name` | `string` | +| `StarknetIdContract?` | `string` | + +#### Returns + +`Promise`<`string`\> + +#### Inherited from + +[Provider](Provider.md).[getAddressFromStarkName](Provider.md#getaddressfromstarkname-1) + +#### Defined in + +[src/provider/extensions/starknetId.ts:30](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/extensions/starknetId.ts#L30) + +--- + +### getStarkProfile + +▸ **getStarkProfile**(`address`, `StarknetIdContract?`, `StarknetIdIdentityContract?`, `StarknetIdVerifierContract?`, `StarknetIdPfpContract?`, `StarknetIdPopContract?`, `StarknetIdMulticallContract?`): `Promise`<[`StarkProfile`](../namespaces/types.md#starkprofile)\> + +#### Parameters + +| Name | Type | +| :----------------------------- | :---------------------------------------------------- | +| `address` | [`BigNumberish`](../namespaces/types.md#bignumberish) | +| `StarknetIdContract?` | `string` | +| `StarknetIdIdentityContract?` | `string` | +| `StarknetIdVerifierContract?` | `string` | +| `StarknetIdPfpContract?` | `string` | +| `StarknetIdPopContract?` | `string` | +| `StarknetIdMulticallContract?` | `string` | + +#### Returns + +`Promise`<[`StarkProfile`](../namespaces/types.md#starkprofile)\> + +#### Inherited from + +[Provider](Provider.md).[getStarkProfile](Provider.md#getstarkprofile-1) + +#### Defined in + +[src/provider/extensions/starknetId.ts:39](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/extensions/starknetId.ts#L39) diff --git a/www/versioned_docs/version-6.11.0/API/classes/AccountInterface.md b/www/versioned_docs/version-6.11.0/API/classes/AccountInterface.md new file mode 100644 index 000000000..cac3b76d7 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/classes/AccountInterface.md @@ -0,0 +1,1364 @@ +--- +id: 'AccountInterface' +title: 'Class: AccountInterface' +sidebar_label: 'AccountInterface' +sidebar_position: 0 +custom_edit_url: null +--- + +## Hierarchy + +- [`ProviderInterface`](ProviderInterface.md) + + ↳ **`AccountInterface`** + +## Implemented by + +- [`Account`](Account.md) +- [`WalletAccount`](WalletAccount.md) + +## Constructors + +### constructor + +• **new AccountInterface**(): [`AccountInterface`](AccountInterface.md) + +#### Returns + +[`AccountInterface`](AccountInterface.md) + +#### Inherited from + +[ProviderInterface](ProviderInterface.md).[constructor](ProviderInterface.md#constructor) + +## Properties + +### address + +• `Abstract` **address**: `string` + +#### Defined in + +[src/account/interface.ts:35](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/interface.ts#L35) + +--- + +### signer + +• `Abstract` **signer**: [`SignerInterface`](SignerInterface.md) + +#### Defined in + +[src/account/interface.ts:37](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/interface.ts#L37) + +--- + +### cairoVersion + +• `Abstract` **cairoVersion**: [`CairoVersion`](../namespaces/types.md#cairoversion) + +#### Defined in + +[src/account/interface.ts:39](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/interface.ts#L39) + +--- + +### channel + +• `Abstract` **channel**: [`RpcChannel`](RPC06.RpcChannel.md) \| [`RpcChannel`](RPC07.RpcChannel.md) + +#### Inherited from + +[ProviderInterface](ProviderInterface.md).[channel](ProviderInterface.md#channel) + +#### Defined in + +[src/provider/interface.ts:37](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L37) + +## Methods + +### estimateInvokeFee + +▸ **estimateInvokeFee**(`calls`, `estimateFeeDetails?`): `Promise`<[`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md)\> + +Estimate Fee for executing an INVOKE transaction on starknet + +#### Parameters + +| Name | Type | Description | +| :-------------------- | :---------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `calls` | [`AllowArray`](../namespaces/types.md#allowarray)<[`Call`](../namespaces/types.md#call)\> | the invocation object containing: - contractAddress - the address of the contract - entrypoint - the entrypoint of the contract - calldata? - (defaults to []) the calldata | +| `estimateFeeDetails?` | [`EstimateFeeDetails`](../interfaces/types.EstimateFeeDetails.md) | blockIdentifier? - nonce? = 0 - skipValidate? - default true - tip? - prioritize order of transactions in the mempool. - accountDeploymentData? - deploy an account contract (substitution for deploy account transaction) - paymasterData? - entity other than the transaction sender to pay the transaction fees(EIP-4337) - nonceDataAvailabilityMode? - allows users to choose their preferred data availability mode (Volition) - feeDataAvailabilityMode? - allows users to choose their preferred data availability mode (Volition) - version? - specify ETransactionVersion - V3 Transactions fee is in fri, oldV transactions fee is in wei | + +#### Returns + +`Promise`<[`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md)\> + +response from estimate_fee + +#### Defined in + +[src/account/interface.ts:62](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/interface.ts#L62) + +--- + +### estimateDeclareFee + +▸ **estimateDeclareFee**(`contractPayload`, `estimateFeeDetails?`): `Promise`<[`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md)\> + +Estimate Fee for executing a DECLARE transaction on starknet + +#### Parameters + +| Name | Type | Description | +| :-------------------- | :------------------------------------------------------------------------ | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `contractPayload` | [`DeclareContractPayload`](../namespaces/types.md#declarecontractpayload) | the payload object containing: - contract - the compiled contract to be declared - casm? - compiled cairo assembly. Cairo1(casm or compiledClassHash are required) - classHash? - the class hash of the compiled contract. Precalculate for faster execution. - compiledClassHash?: class hash of the cairo assembly. Cairo1(casm or compiledClassHash are required) | +| `estimateFeeDetails?` | [`EstimateFeeDetails`](../interfaces/types.EstimateFeeDetails.md) | blockIdentifier? - nonce? = 0 - skipValidate? - default true - tip? - prioritize order of transactions in the mempool. - accountDeploymentData? - deploy an account contract (substitution for deploy account transaction) - paymasterData? - entity other than the transaction sender to pay the transaction fees(EIP-4337) - nonceDataAvailabilityMode? - allows users to choose their preferred data availability mode (Volition) - feeDataAvailabilityMode? - allows users to choose their preferred data availability mode (Volition) - version? - specify ETransactionVersion - V3 Transactions fee is in fri, oldV transactions fee is in wei | + +#### Returns + +`Promise`<[`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md)\> + +response from estimate_fee + +#### Defined in + +[src/account/interface.ts:89](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/interface.ts#L89) + +--- + +### estimateAccountDeployFee + +▸ **estimateAccountDeployFee**(`contractPayload`, `estimateFeeDetails?`): `Promise`<[`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md)\> + +Estimate Fee for executing a DEPLOY_ACCOUNT transaction on starknet + +#### Parameters + +| Name | Type | Description | +| :-------------------- | :------------------------------------------------------------------------------------ | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `contractPayload` | [`DeployAccountContractPayload`](../namespaces/types.md#deployaccountcontractpayload) | classHash - the class hash of the compiled contract. - constructorCalldata? - constructor data; - contractAddress? - future account contract address. Precalculate for faster execution. - addressSalt? - salt used for calculation of the contractAddress. Required if contractAddress is provided. | +| `estimateFeeDetails?` | [`EstimateFeeDetails`](../interfaces/types.EstimateFeeDetails.md) | blockIdentifier? - nonce? = 0 - skipValidate? - default true - tip? - prioritize order of transactions in the mempool. - paymasterData? - entity other than the transaction sender to pay the transaction fees(EIP-4337) - nonceDataAvailabilityMode? - allows users to choose their preferred data availability mode (Volition) - feeDataAvailabilityMode? - allows users to choose their preferred data availability mode (Volition) - version? - specify ETransactionVersion - V3 Transactions fee is in fri, oldV transactions fee is in wei | + +#### Returns + +`Promise`<[`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md)\> + +response from estimate_fee + +#### Defined in + +[src/account/interface.ts:115](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/interface.ts#L115) + +--- + +### estimateDeployFee + +▸ **estimateDeployFee**(`deployContractPayload`, `estimateFeeDetails?`): `Promise`<[`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md)\> + +Estimate Fee for executing a UDC DEPLOY transaction on starknet +This is different from the normal DEPLOY transaction as it goes through the Universal Deployer Contract (UDC) + +#### Parameters + +| Name | Type | Description | +| :---------------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `deployContractPayload` | [`UniversalDeployerContractPayload`](../namespaces/types.md#universaldeployercontractpayload) \| [`UniversalDeployerContractPayload`](../namespaces/types.md#universaldeployercontractpayload)[] | array or singular - classHash: computed class hash of compiled contract - salt: address salt - unique: bool if true ensure unique salt - constructorCalldata: constructor calldata | +| `estimateFeeDetails?` | [`EstimateFeeDetails`](../interfaces/types.EstimateFeeDetails.md) | blockIdentifier? - nonce? - skipValidate? - default true - tip? - prioritize order of transactions in the mempool. - accountDeploymentData? - deploy an account contract (substitution for deploy account transaction) - paymasterData? - entity other than the transaction sender to pay the transaction fees(EIP-4337) - nonceDataAvailabilityMode? - allows users to choose their preferred data availability mode (Volition) - feeDataAvailabilityMode? - allows users to choose their preferred data availability mode (Volition) - version? - specify ETransactionVersion - V3 Transactions fee is in fri, oldV transactions fee is in wei | + +#### Returns + +`Promise`<[`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md)\> + +#### Defined in + +[src/account/interface.ts:141](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/interface.ts#L141) + +--- + +### estimateFeeBulk + +▸ **estimateFeeBulk**(`invocations`, `details?`): `Promise`<[`EstimateFeeResponseBulk`](../namespaces/types.md#estimatefeeresponsebulk)\> + +Estimate Fee for executing a list of transactions on starknet +Contract must be deployed for fee estimation to be possible + +#### Parameters + +| Name | Type | Description | +| :------------ | :---------------------------------------------------------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `invocations` | [`Invocations`](../namespaces/types.md#invocations) | array of transaction object containing : - type - the type of transaction : 'DECLARE' \| (multi)'DEPLOY' \| (multi)'INVOKE_FUNCTION' \| 'DEPLOY_ACCOUNT' - payload - the payload of the transaction | +| `details?` | [`EstimateFeeDetails`](../interfaces/types.EstimateFeeDetails.md) | blockIdentifier? - nonce? - skipValidate? - default true - tip? - prioritize order of transactions in the mempool. - accountDeploymentData? - deploy an account contract (substitution for deploy account transaction) - paymasterData? - entity other than the transaction sender to pay the transaction fees(EIP-4337) - nonceDataAvailabilityMode? - allows users to choose their preferred data availability mode (Volition) - feeDataAvailabilityMode? - allows users to choose their preferred data availability mode (Volition) - version? - specify ETransactionVersion - V3 Transactions fee is in fri, oldV transactions fee is in wei | + +#### Returns + +`Promise`<[`EstimateFeeResponseBulk`](../namespaces/types.md#estimatefeeresponsebulk)\> + +response from estimate_fee + +#### Defined in + +[src/account/interface.ts:167](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/interface.ts#L167) + +--- + +### getSuggestedFee + +▸ **getSuggestedFee**(`estimateFeeAction`, `details`): `Promise`<[`EstimateFee`](../interfaces/types.EstimateFee.md)\> + +Gets Suggested Max Fee based on the transaction type + +#### Parameters + +| Name | Type | +| :------------------ | :---------------------------------------------------------------- | +| `estimateFeeAction` | [`EstimateFeeAction`](../namespaces/types.md#estimatefeeaction) | +| `details` | [`EstimateFeeDetails`](../interfaces/types.EstimateFeeDetails.md) | + +#### Returns + +`Promise`<[`EstimateFee`](../interfaces/types.EstimateFee.md)\> + +EstimateFee (...response, resourceBounds, suggestedMaxFee) + +#### Defined in + +[src/account/interface.ts:179](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/interface.ts#L179) + +--- + +### simulateTransaction + +▸ **simulateTransaction**(`invocations`, `details?`): `Promise`<[`SimulateTransactionResponse`](../namespaces/types.md#simulatetransactionresponse)\> + +Simulates an array of transaction and returns an array of transaction trace and estimated fee. + +#### Parameters + +| Name | Type | Description | +| :------------ | :-------------------------------------------------------------------------------- | :---------------------------------------------------------------------------------------------------------------- | +| `invocations` | [`Invocations`](../namespaces/types.md#invocations) | Invocations containing: - type - transaction type: DECLARE, (multi)DEPLOY, DEPLOY_ACCOUNT, (multi)INVOKE_FUNCTION | +| `details?` | [`SimulateTransactionDetails`](../namespaces/types.md#simulatetransactiondetails) | SimulateTransactionDetails | + +#### Returns + +`Promise`<[`SimulateTransactionResponse`](../namespaces/types.md#simulatetransactionresponse)\> + +response from simulate_transaction + +#### Defined in + +[src/account/interface.ts:193](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/interface.ts#L193) + +--- + +### execute + +▸ **execute**(`transactions`, `transactionsDetail?`): `Promise`<\{ `transaction_hash`: `string` }\> + +Invoke execute function in account contract + +#### Parameters + +| Name | Type | Description | +| :-------------------- | :---------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `transactions` | [`AllowArray`](../namespaces/types.md#allowarray)<[`Call`](../namespaces/types.md#call)\> | the invocation object or an array of them, containing: - contractAddress - the address of the contract - entrypoint - the entrypoint of the contract - calldata - (defaults to []) the calldata - signature - (defaults to []) the signature | +| `transactionsDetail?` | [`InvocationsDetails`](../namespaces/types.md#invocationsdetails) | Additional optional parameters for the transaction | + +#### Returns + +`Promise`<\{ `transaction_hash`: `string` }\> + +response from addTransaction + +#### Defined in + +[src/account/interface.ts:210](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/interface.ts#L210) + +▸ **execute**(`transactions`, `abis?`, `transactionsDetail?`): `Promise`<\{ `transaction_hash`: `string` }\> + +#### Parameters + +| Name | Type | Description | +| :-------------------- | :---------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `transactions` | [`AllowArray`](../namespaces/types.md#allowarray)<[`Call`](../namespaces/types.md#call)\> | the invocation object or an array of them, containing: - contractAddress - the address of the contract - entrypoint - the entrypoint of the contract - calldata - (defaults to []) the calldata - signature - (defaults to []) the signature | +| `abis?` | [`Abi`](../namespaces/types.md#abi)[] | (optional) the abi of the contract for better displaying | +| `transactionsDetail?` | [`InvocationsDetails`](../namespaces/types.md#invocationsdetails) | Additional optional parameters for the transaction \* | + +#### Returns + +`Promise`<\{ `transaction_hash`: `string` }\> + +response from addTransaction + +**`Deprecated`** + +#### Defined in + +[src/account/interface.ts:225](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/interface.ts#L225) + +--- + +### declare + +▸ **declare**(`contractPayload`, `transactionsDetail?`): `Promise`<\{ `class_hash`: `string` ; `transaction_hash`: `string` }\> + +Declares a given compiled contract (json) to starknet + +#### Parameters + +| Name | Type | Description | +| :-------------------- | :------------------------------------------------------------------------ | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `contractPayload` | [`DeclareContractPayload`](../namespaces/types.md#declarecontractpayload) | transaction payload to be deployed containing: - contract: compiled contract code - (optional) classHash: computed class hash of compiled contract. Pre-compute it for faster execution. - (required for Cairo1 without compiledClassHash) casm: CompiledContract \| string; - (optional for Cairo1 with casm) compiledClassHash: compiled class hash from casm. Pre-compute it for faster execution. | +| `transactionsDetail?` | [`InvocationsDetails`](../namespaces/types.md#invocationsdetails) | InvocationsDetails | + +#### Returns + +`Promise`<\{ `class_hash`: `string` ; `transaction_hash`: `string` }\> + +a confirmation of sending a transaction on the starknet contract + +#### Defined in + +[src/account/interface.ts:243](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/interface.ts#L243) + +--- + +### deploy + +▸ **deploy**(`payload`, `details?`): `Promise`<[`MultiDeployContractResponse`](../namespaces/types.md#multideploycontractresponse)\> + +Deploys a declared contract to starknet - using Universal Deployer Contract (UDC) +support multicall + +#### Parameters + +| Name | Type | Description | +| :--------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `payload` | [`UniversalDeployerContractPayload`](../namespaces/types.md#universaldeployercontractpayload) \| [`UniversalDeployerContractPayload`](../namespaces/types.md#universaldeployercontractpayload)[] | classHash: computed class hash of compiled contract - [constructorCalldata] contract constructor calldata - [salt=pseudorandom] deploy address salt - [unique=true] ensure unique salt | +| `details?` | [`InvocationsDetails`](../namespaces/types.md#invocationsdetails) | InvocationsDetails | + +#### Returns + +`Promise`<[`MultiDeployContractResponse`](../namespaces/types.md#multideploycontractresponse)\> + +- contract_address[] +- transaction_hash + +#### Defined in + +[src/account/interface.ts:263](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/interface.ts#L263) + +--- + +### deployContract + +▸ **deployContract**(`payload`, `details?`): `Promise`<[`DeployContractUDCResponse`](../namespaces/types.md#deploycontractudcresponse)\> + +Simplify deploy simulating old DeployContract with same response + UDC specific response +Internal wait for L2 transaction, support multicall + +#### Parameters + +| Name | Type | Description | +| :--------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `payload` | [`UniversalDeployerContractPayload`](../namespaces/types.md#universaldeployercontractpayload) \| [`UniversalDeployerContractPayload`](../namespaces/types.md#universaldeployercontractpayload)[] | classHash: computed class hash of compiled contract - [constructorCalldata] contract constructor calldata - [salt=pseudorandom] deploy address salt - [unique=true] ensure unique salt | +| `details?` | [`InvocationsDetails`](../namespaces/types.md#invocationsdetails) | InvocationsDetails | + +#### Returns + +`Promise`<[`DeployContractUDCResponse`](../namespaces/types.md#deploycontractudcresponse)\> + +- contract_address +- transaction_hash +- address +- deployer +- unique +- classHash +- calldata_len +- calldata +- salt + +#### Defined in + +[src/account/interface.ts:290](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/interface.ts#L290) + +--- + +### declareAndDeploy + +▸ **declareAndDeploy**(`payload`, `details?`): `Promise`<[`DeclareDeployUDCResponse`](../namespaces/types.md#declaredeployudcresponse)\> + +Declares and Deploy a given compiled contract (json) to starknet using UDC +Internal wait for L2 transaction, do not support multicall +Method will pass even if contract is already declared (internal using DeclareIfNot) + +#### Parameters + +| Name | Type | Description | +| :--------- | :------------------------------------------------------------------------------------------ | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `payload` | [`DeclareAndDeployContractPayload`](../namespaces/types.md#declareanddeploycontractpayload) | contract: compiled contract code - [casm=cairo1]: CairoAssembly \| undefined; - [compiledClassHash]: string \| undefined; - [classHash]: computed class hash of compiled contract - [constructorCalldata] contract constructor calldata - [salt=pseudorandom] deploy address salt - [unique=true] ensure unique salt | +| `details?` | [`InvocationsDetails`](../namespaces/types.md#invocationsdetails) | InvocationsDetails | + +#### Returns + +`Promise`<[`DeclareDeployUDCResponse`](../namespaces/types.md#declaredeployudcresponse)\> + +- declare + - transaction_hash +- deploy + - contract_address + - transaction_hash + - address + - deployer + - unique + - classHash + - calldata_len + - calldata + - salt + +#### Defined in + +[src/account/interface.ts:324](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/interface.ts#L324) + +--- + +### deployAccount + +▸ **deployAccount**(`contractPayload`, `transactionsDetail?`): `Promise`<[`DeployContractResponse`](../interfaces/types.DeployContractResponse.md)\> + +Deploy the account on Starknet + +#### Parameters + +| Name | Type | Description | +| :-------------------- | :------------------------------------------------------------------------------------ | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `contractPayload` | [`DeployAccountContractPayload`](../namespaces/types.md#deployaccountcontractpayload) | transaction payload to be deployed containing: - classHash: computed class hash of compiled contract - optional constructor calldata - optional address salt - optional contractAddress | +| `transactionsDetail?` | [`InvocationsDetails`](../namespaces/types.md#invocationsdetails) | InvocationsDetails | + +#### Returns + +`Promise`<[`DeployContractResponse`](../interfaces/types.DeployContractResponse.md)\> + +a confirmation of sending a transaction on the starknet contract + +#### Defined in + +[src/account/interface.ts:341](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/interface.ts#L341) + +--- + +### signMessage + +▸ **signMessage**(`typedData`): `Promise`<[`Signature`](../namespaces/types.md#signature)\> + +Signs a TypedData object for off-chain usage with the Starknet private key and returns the signature +This adds a message prefix so it can't be interchanged with transactions + +#### Parameters + +| Name | Type | Description | +| :---------- | :----------------------------------------------------------------------- | :---------------------------- | +| `typedData` | [`TypedData`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.TypedData.md) | TypedData object to be signed | + +#### Returns + +`Promise`<[`Signature`](../namespaces/types.md#signature)\> + +the signature of the TypedData object + +**`Throws`** + +if typedData is not a valid TypedData + +#### Defined in + +[src/account/interface.ts:354](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/interface.ts#L354) + +--- + +### hashMessage + +▸ **hashMessage**(`typedData`): `Promise`<`string`\> + +Hash a TypedData object with Pedersen hash and return the hash +This adds a message prefix so it can't be interchanged with transactions + +#### Parameters + +| Name | Type | Description | +| :---------- | :----------------------------------------------------------------------- | :---------------------------- | +| `typedData` | [`TypedData`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.TypedData.md) | TypedData object to be hashed | + +#### Returns + +`Promise`<`string`\> + +the hash of the TypedData object + +**`Throws`** + +if typedData is not a valid TypedData + +#### Defined in + +[src/account/interface.ts:364](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/interface.ts#L364) + +--- + +### verifyMessage + +▸ **verifyMessage**(`typedData`, `signature`): `Promise`<`boolean`\> + +Verify a signature of a TypedData object + +#### Parameters + +| Name | Type | Description | +| :---------- | :----------------------------------------------------------------------- | :-------------------------------- | +| `typedData` | [`TypedData`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.TypedData.md) | TypedData object to be verified | +| `signature` | [`Signature`](../namespaces/types.md#signature) | signature of the TypedData object | + +#### Returns + +`Promise`<`boolean`\> + +true if the signature is valid, false otherwise + +**`Throws`** + +if typedData is not a valid TypedData or the signature is not a valid signature + +#### Defined in + +[src/account/interface.ts:374](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/interface.ts#L374) + +--- + +### verifyMessageHash + +▸ **verifyMessageHash**(`hash`, `signature`): `Promise`<`boolean`\> + +Verify a signature of a given hash + +#### Parameters + +| Name | Type | Description | +| :---------- | :---------------------------------------------------- | :-------------------- | +| `hash` | [`BigNumberish`](../namespaces/types.md#bignumberish) | hash to be verified | +| `signature` | [`Signature`](../namespaces/types.md#signature) | signature of the hash | + +#### Returns + +`Promise`<`boolean`\> + +true if the signature is valid, false otherwise + +**`Warning`** + +This method is not recommended, use verifyMessage instead + +**`Throws`** + +if the signature is not a valid signature + +#### Defined in + +[src/account/interface.ts:385](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/interface.ts#L385) + +--- + +### getNonce + +▸ **getNonce**(`blockIdentifier?`): `Promise`<`string`\> + +Gets the nonce of the account with respect to a specific block + +#### Parameters + +| Name | Type | Description | +| :----------------- | :---------------------------------------------------------- | :---------------------------------------------- | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | optional blockIdentifier. Defaults to 'pending' | + +#### Returns + +`Promise`<`string`\> + +nonce of the account + +#### Defined in + +[src/account/interface.ts:393](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/interface.ts#L393) + +--- + +### getChainId + +▸ **getChainId**(): `Promise`<[`StarknetChainId`](../enums/constants.StarknetChainId.md)\> + +Gets the Starknet chain Id + +#### Returns + +`Promise`<[`StarknetChainId`](../enums/constants.StarknetChainId.md)\> + +the chain Id + +#### Inherited from + +[ProviderInterface](ProviderInterface.md).[getChainId](ProviderInterface.md#getchainid) + +#### Defined in + +[src/provider/interface.ts:44](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L44) + +--- + +### callContract + +▸ **callContract**(`call`, `blockIdentifier?`): `Promise`<[`CallContractResponse`](../namespaces/types.md#callcontractresponse)\> + +Calls a function on the Starknet contract. + +#### Parameters + +| Name | Type | Description | +| :----------------- | :---------------------------------------------------------- | :----------------------- | +| `call` | [`Call`](../namespaces/types.md#call) | transaction to be called | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | block identifier | + +#### Returns + +`Promise`<[`CallContractResponse`](../namespaces/types.md#callcontractresponse)\> + +the result of the function on the smart contract. + +#### Inherited from + +[ProviderInterface](ProviderInterface.md).[callContract](ProviderInterface.md#callcontract) + +#### Defined in + +[src/provider/interface.ts:53](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L53) + +--- + +### getBlock + +▸ **getBlock**(`blockIdentifier?`): `Promise`<[`PendingBlock`](../namespaces/types.md#pendingblock)\> + +Gets the block information + +#### Parameters + +| Name | Type | Description | +| :----------------- | :---------- | :--------------- | +| `blockIdentifier?` | `"pending"` | block identifier | + +#### Returns + +`Promise`<[`PendingBlock`](../namespaces/types.md#pendingblock)\> + +the block object + +#### Inherited from + +[ProviderInterface](ProviderInterface.md).[getBlock](ProviderInterface.md#getblock) + +#### Defined in + +[src/provider/interface.ts:64](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L64) + +▸ **getBlock**(`blockIdentifier`): `Promise`<[`Block`](../namespaces/types.md#block)\> + +#### Parameters + +| Name | Type | +| :---------------- | :--------- | +| `blockIdentifier` | `"latest"` | + +#### Returns + +`Promise`<[`Block`](../namespaces/types.md#block)\> + +#### Inherited from + +[ProviderInterface](ProviderInterface.md).[getBlock](ProviderInterface.md#getblock) + +#### Defined in + +[src/provider/interface.ts:65](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L65) + +▸ **getBlock**(`blockIdentifier`): `Promise`<[`GetBlockResponse`](../namespaces/types.md#getblockresponse)\> + +#### Parameters + +| Name | Type | +| :---------------- | :---------------------------------------------------------- | +| `blockIdentifier` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<[`GetBlockResponse`](../namespaces/types.md#getblockresponse)\> + +#### Inherited from + +[ProviderInterface](ProviderInterface.md).[getBlock](ProviderInterface.md#getblock) + +#### Defined in + +[src/provider/interface.ts:66](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L66) + +--- + +### getClassAt + +▸ **getClassAt**(`contractAddress`, `blockIdentifier?`): `Promise`<[`ContractClassResponse`](../namespaces/types.md#contractclassresponse)\> + +Gets the contract class of the deployed contract. + +#### Parameters + +| Name | Type | Description | +| :----------------- | :---------------------------------------------------------- | :--------------- | +| `contractAddress` | `string` | contract address | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | block identifier | + +#### Returns + +`Promise`<[`ContractClassResponse`](../namespaces/types.md#contractclassresponse)\> + +Contract class of compiled contract + +#### Inherited from + +[ProviderInterface](ProviderInterface.md).[getClassAt](ProviderInterface.md#getclassat) + +#### Defined in + +[src/provider/interface.ts:75](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L75) + +--- + +### getL1GasPrice + +▸ **getL1GasPrice**(`blockIdentifier`): `Promise`<`string`\> + +Gets the price of l1 gas in the block + +#### Parameters + +| Name | Type | Description | +| :---------------- | :---------------------------------------------------------- | :--------------- | +| `blockIdentifier` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | block identifier | + +#### Returns + +`Promise`<`string`\> + +gas price of the block + +#### Inherited from + +[ProviderInterface](ProviderInterface.md).[getL1GasPrice](ProviderInterface.md#getl1gasprice) + +#### Defined in + +[src/provider/interface.ts:86](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L86) + +--- + +### getL1MessageHash + +▸ **getL1MessageHash**(`l2TxHash`): `Promise`<`string`\> + +Get L1 message hash from L2 transaction hash + +#### Parameters + +| Name | Type | Description | +| :--------- | :---------------------------------------------------- | :------------------ | +| `l2TxHash` | [`BigNumberish`](../namespaces/types.md#bignumberish) | L2 transaction hash | + +#### Returns + +`Promise`<`string`\> + +Hex string of L1 message hash + +**`Example`** + +In Sepolia Testnet : + +```typescript +const result = provider.getL1MessageHash( + '0x28dfc05eb4f261b37ddad451ff22f1d08d4e3c24dc646af0ec69fa20e096819' +); +// result = '0x55b3f8b6e607fffd9b4d843dfe8f9b5c05822cd94fcad8797deb01d77805532a' +``` + +#### Inherited from + +[ProviderInterface](ProviderInterface.md).[getL1MessageHash](ProviderInterface.md#getl1messagehash) + +#### Defined in + +[src/provider/interface.ts:99](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L99) + +--- + +### getClassHashAt + +▸ **getClassHashAt**(`contractAddress`, `blockIdentifier?`): `Promise`<`string`\> + +Returns the contract class hash in the given block for the contract deployed at the given address + +#### Parameters + +| Name | Type | Description | +| :----------------- | :---------------------------------------------------------- | :--------------- | +| `contractAddress` | `string` | contract address | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | block identifier | + +#### Returns + +`Promise`<`string`\> + +Class hash + +#### Inherited from + +[ProviderInterface](ProviderInterface.md).[getClassHashAt](ProviderInterface.md#getclasshashat) + +#### Defined in + +[src/provider/interface.ts:108](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L108) + +--- + +### getClassByHash + +▸ **getClassByHash**(`classHash`): `Promise`<[`ContractClassResponse`](../namespaces/types.md#contractclassresponse)\> + +Returns the contract class deployed under the given class hash. + +#### Parameters + +| Name | Type | Description | +| :---------- | :------- | :---------- | +| `classHash` | `string` | class hash | + +#### Returns + +`Promise`<[`ContractClassResponse`](../namespaces/types.md#contractclassresponse)\> + +Contract class of compiled contract + +#### Inherited from + +[ProviderInterface](ProviderInterface.md).[getClassByHash](ProviderInterface.md#getclassbyhash) + +#### Defined in + +[src/provider/interface.ts:119](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L119) + +--- + +### getNonceForAddress + +▸ **getNonceForAddress**(`contractAddress`, `blockIdentifier?`): `Promise`<`string`\> + +Returns the nonce associated with the given address in the given block + +#### Parameters + +| Name | Type | Description | +| :----------------- | :---------------------------------------------------------- | :--------------- | +| `contractAddress` | `string` | contract address | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | - | + +#### Returns + +`Promise`<`string`\> + +the hex nonce + +#### Inherited from + +[ProviderInterface](ProviderInterface.md).[getNonceForAddress](ProviderInterface.md#getnonceforaddress) + +#### Defined in + +[src/provider/interface.ts:127](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L127) + +--- + +### getStorageAt + +▸ **getStorageAt**(`contractAddress`, `key`, `blockIdentifier?`): `Promise`<`string`\> + +Get the value of the storage (contract's variable) at the given address and key + +#### Parameters + +| Name | Type | Description | +| :----------------- | :---------------------------------------------------------- | :--------------------------------------------------------- | +| `contractAddress` | `string` | | +| `key` | [`BigNumberish`](../namespaces/types.md#bignumberish) | from getStorageVarAddress('') (WIP) | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | block identifier | + +#### Returns + +`Promise`<`string`\> + +the value of the storage variable + +#### Inherited from + +[ProviderInterface](ProviderInterface.md).[getStorageAt](ProviderInterface.md#getstorageat) + +#### Defined in + +[src/provider/interface.ts:140](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L140) + +--- + +### getTransaction + +▸ **getTransaction**(`transactionHash`): `Promise`<`TransactionWithHash`\> + +Gets the transaction information from a tx id. + +#### Parameters + +| Name | Type | +| :---------------- | :---------------------------------------------------- | +| `transactionHash` | [`BigNumberish`](../namespaces/types.md#bignumberish) | + +#### Returns + +`Promise`<`TransactionWithHash`\> + +the transaction object { transaction_id, status, transaction, block_number?, block_number?, transaction_index?, transaction_failure_reason? } + +#### Inherited from + +[ProviderInterface](ProviderInterface.md).[getTransaction](ProviderInterface.md#gettransaction) + +#### Defined in + +[src/provider/interface.ts:152](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L152) + +--- + +### getTransactionReceipt + +▸ **getTransactionReceipt**(`transactionHash`): `Promise`<[`GetTransactionReceiptResponse`](../modules.md#gettransactionreceiptresponse)\> + +Gets the transaction receipt from a tx hash. + +#### Parameters + +| Name | Type | +| :---------------- | :---------------------------------------------------- | +| `transactionHash` | [`BigNumberish`](../namespaces/types.md#bignumberish) | + +#### Returns + +`Promise`<[`GetTransactionReceiptResponse`](../modules.md#gettransactionreceiptresponse)\> + +the transaction receipt object + +#### Inherited from + +[ProviderInterface](ProviderInterface.md).[getTransactionReceipt](ProviderInterface.md#gettransactionreceipt) + +#### Defined in + +[src/provider/interface.ts:160](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L160) + +--- + +### deployAccountContract + +▸ **deployAccountContract**(`payload`, `details`): `Promise`<[`DeployContractResponse`](../interfaces/types.DeployContractResponse.md)\> + +Deploys a given compiled Account contract (json) to starknet + +#### Parameters + +| Name | Type | Description | +| :-------- | :------------------------------------------------------------------------------------ | :------------------------------------------------------------------------------------------------ | +| `payload` | [`DeployAccountContractPayload`](../namespaces/types.md#deployaccountcontractpayload) | payload to be deployed containing: - compiled contract code - constructor calldata - address salt | +| `details` | [`InvocationsDetailsWithNonce`](../namespaces/types.md#invocationsdetailswithnonce) | - | + +#### Returns + +`Promise`<[`DeployContractResponse`](../interfaces/types.DeployContractResponse.md)\> + +a confirmation of sending a transaction on the starknet contract + +#### Inherited from + +[ProviderInterface](ProviderInterface.md).[deployAccountContract](ProviderInterface.md#deployaccountcontract) + +#### Defined in + +[src/provider/interface.ts:173](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L173) + +--- + +### invokeFunction + +▸ **invokeFunction**(`invocation`, `details`): `Promise`<\{ `transaction_hash`: `string` }\> + +Invokes a function on starknet + +#### Parameters + +| Name | Type | Description | +| :----------- | :---------------------------------------------------------------------------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `invocation` | [`Invocation`](../namespaces/types.md#invocation) | the invocation object containing: - contractAddress - the address of the contract - entrypoint - the entrypoint of the contract - calldata - (defaults to []) the calldata - signature - (defaults to []) the signature | +| `details` | [`InvocationsDetailsWithNonce`](../namespaces/types.md#invocationsdetailswithnonce) | optional details containing: - nonce - optional nonce - version - optional version - maxFee - optional maxFee | + +#### Returns + +`Promise`<\{ `transaction_hash`: `string` }\> + +response from addTransaction + +**`Deprecated`** + +This method won't be supported as soon as fees are mandatory. Should not be used outside of Account class + +#### Inherited from + +[ProviderInterface](ProviderInterface.md).[invokeFunction](ProviderInterface.md#invokefunction) + +#### Defined in + +[src/provider/interface.ts:193](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L193) + +--- + +### declareContract + +▸ **declareContract**(`transaction`, `details`): `Promise`<\{ `class_hash`: `string` ; `transaction_hash`: `string` }\> + +Declares a given compiled contract (json) to starknet + +#### Parameters + +| Name | Type | Description | +| :------------ | :---------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------------------- | +| `transaction` | [`DeclareContractTransaction`](../namespaces/types.md#declarecontracttransaction) | transaction payload to be deployed containing: - compiled contract code - sender address - signature | +| `details` | [`InvocationsDetailsWithNonce`](../namespaces/types.md#invocationsdetailswithnonce) | Invocation Details containing: - nonce - optional version - optional maxFee | + +#### Returns + +`Promise`<\{ `class_hash`: `string` ; `transaction_hash`: `string` }\> + +a confirmation of sending a transaction on the starknet contract + +#### Inherited from + +[ProviderInterface](ProviderInterface.md).[declareContract](ProviderInterface.md#declarecontract) + +#### Defined in + +[src/provider/interface.ts:210](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L210) + +--- + +### getEstimateFee + +▸ **getEstimateFee**(`invocation`, `details`, `blockIdentifier?`, `skipValidate?`): `Promise`<[`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md)\> + +Estimates the fee for a given INVOKE transaction + +#### Parameters + +| Name | Type | Description | +| :----------------- | :---------------------------------------------------------------------------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `invocation` | [`Invocation`](../namespaces/types.md#invocation) | the invocation object containing: - contractAddress - the address of the contract - entrypoint - the entrypoint of the contract - calldata - (defaults to []) the calldata - signature - (defaults to []) the signature | +| `details` | [`InvocationsDetailsWithNonce`](../namespaces/types.md#invocationsdetailswithnonce) | optional details containing: - nonce - optional nonce - version - optional version | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | (optional) block identifier | +| `skipValidate?` | `boolean` | (optional) skip cairo **validate** method | + +#### Returns + +`Promise`<[`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md)\> + +the estimated fee + +**`Deprecated`** + +Please use getInvokeEstimateFee or getDeclareEstimateFee instead. Should not be used outside of Account class + +#### Inherited from + +[ProviderInterface](ProviderInterface.md).[getEstimateFee](ProviderInterface.md#getestimatefee) + +#### Defined in + +[src/provider/interface.ts:231](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L231) + +--- + +### getInvokeEstimateFee + +▸ **getInvokeEstimateFee**(`invocation`, `details`, `blockIdentifier?`, `skipValidate?`): `Promise`<[`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md)\> + +Estimates the fee for a given INVOKE transaction + +#### Parameters + +| Name | Type | Description | +| :----------------- | :---------------------------------------------------------------------------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `invocation` | [`Invocation`](../namespaces/types.md#invocation) | the invocation object containing: - contractAddress - the address of the contract - entrypoint - the entrypoint of the contract - calldata - (defaults to []) the calldata - signature - (defaults to []) the signature | +| `details` | [`InvocationsDetailsWithNonce`](../namespaces/types.md#invocationsdetailswithnonce) | optional details containing: - nonce - optional nonce - version - optional version | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | (optional) block identifier | +| `skipValidate?` | `boolean` | (optional) skip cairo **validate** method | + +#### Returns + +`Promise`<[`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md)\> + +the estimated fee + +#### Inherited from + +[ProviderInterface](ProviderInterface.md).[getInvokeEstimateFee](ProviderInterface.md#getinvokeestimatefee) + +#### Defined in + +[src/provider/interface.ts:253](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L253) + +--- + +### getDeclareEstimateFee + +▸ **getDeclareEstimateFee**(`transaction`, `details`, `blockIdentifier?`, `skipValidate?`): `Promise`<[`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md)\> + +Estimates the fee for a given DECLARE transaction + +#### Parameters + +| Name | Type | Description | +| :----------------- | :---------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------ | +| `transaction` | [`DeclareContractTransaction`](../namespaces/types.md#declarecontracttransaction) | transaction payload to be declared containing: - compiled contract code - sender address - signature - (defaults to []) the signature | +| `details` | [`InvocationsDetailsWithNonce`](../namespaces/types.md#invocationsdetailswithnonce) | optional details containing: - nonce - version - optional version - optional maxFee | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | (optional) block identifier | +| `skipValidate?` | `boolean` | (optional) skip cairo **validate** method | + +#### Returns + +`Promise`<[`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md)\> + +the estimated fee + +#### Inherited from + +[ProviderInterface](ProviderInterface.md).[getDeclareEstimateFee](ProviderInterface.md#getdeclareestimatefee) + +#### Defined in + +[src/provider/interface.ts:275](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L275) + +--- + +### getDeployAccountEstimateFee + +▸ **getDeployAccountEstimateFee**(`transaction`, `details`, `blockIdentifier?`, `skipValidate?`): `Promise`<[`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md)\> + +Estimates the fee for a given DEPLOY_ACCOUNT transaction + +#### Parameters + +| Name | Type | Description | +| :----------------- | :-------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------ | +| `transaction` | [`DeployAccountContractTransaction`](../namespaces/types.md#deployaccountcontracttransaction) | transaction payload to be deployed containing: - classHash - constructorCalldata - addressSalt - signature - (defaults to []) the signature | +| `details` | [`InvocationsDetailsWithNonce`](../namespaces/types.md#invocationsdetailswithnonce) | optional details containing: - nonce - version - optional version - optional maxFee | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | (optional) block identifier | +| `skipValidate?` | `boolean` | (optional) skip cairo **validate** method | + +#### Returns + +`Promise`<[`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md)\> + +the estimated fee + +#### Inherited from + +[ProviderInterface](ProviderInterface.md).[getDeployAccountEstimateFee](ProviderInterface.md#getdeployaccountestimatefee) + +#### Defined in + +[src/provider/interface.ts:298](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L298) + +--- + +### getEstimateFeeBulk + +▸ **getEstimateFeeBulk**(`invocations`, `options?`): `Promise`<[`EstimateFeeResponseBulk`](../namespaces/types.md#estimatefeeresponsebulk)\> + +Estimates the fee for a list of INVOKE transaction + +#### Parameters + +| Name | Type | Description | +| :------------ | :------------------------------------------------------------------------------ | :----------------------------------------------------------------------- | +| `invocations` | [`AccountInvocations`](../namespaces/types.md#accountinvocations) | AccountInvocations - Complete invocations array with account details | +| `options?` | [`getEstimateFeeBulkOptions`](../namespaces/types.md#getestimatefeebulkoptions) | getEstimateFeeBulkOptions - (optional) blockIdentifier - BlockIdentifier | + +#### Returns + +`Promise`<[`EstimateFeeResponseBulk`](../namespaces/types.md#estimatefeeresponsebulk)\> + +the estimated fee + +#### Inherited from + +[ProviderInterface](ProviderInterface.md).[getEstimateFeeBulk](ProviderInterface.md#getestimatefeebulk) + +#### Defined in + +[src/provider/interface.ts:313](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L313) + +--- + +### waitForTransaction + +▸ **waitForTransaction**(`txHash`, `options?`): `Promise`<[`GetTransactionReceiptResponse`](../modules.md#gettransactionreceiptresponse)\> + +Wait for the transaction to be accepted + +#### Parameters + +| Name | Type | Description | +| :--------- | :------------------------------------------------------------------------------ | :--------------------------------------------------------------------------------------------------------------------------------------- | +| `txHash` | [`BigNumberish`](../namespaces/types.md#bignumberish) | transaction hash | +| `options?` | [`waitForTransactionOptions`](../namespaces/types.md#waitfortransactionoptions) | waitForTransactionOptions - (optional) retryInterval: number \| undefined; - (optional) successStates: TransactionStatus[] \| undefined; | + +#### Returns + +`Promise`<[`GetTransactionReceiptResponse`](../modules.md#gettransactionreceiptresponse)\> + +GetTransactionReceiptResponse + +#### Inherited from + +[ProviderInterface](ProviderInterface.md).[waitForTransaction](ProviderInterface.md#waitfortransaction) + +#### Defined in + +[src/provider/interface.ts:326](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L326) + +--- + +### getSimulateTransaction + +▸ **getSimulateTransaction**(`invocations`, `options?`): `Promise`<[`SimulateTransactionResponse`](../namespaces/types.md#simulatetransactionresponse)\> + +Simulates the transaction and returns the transaction trace and estimated fee. + +#### Parameters + +| Name | Type | Description | +| :------------ | :-------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `invocations` | [`AccountInvocations`](../namespaces/types.md#accountinvocations) | AccountInvocations - Complete invocations array with account details | +| `options?` | [`getSimulateTransactionOptions`](../namespaces/types.md#getsimulatetransactionoptions) | getSimulateTransactionOptions - (optional) blockIdentifier - block identifier - (optional) skipValidate - skip cairo **validate** method - (optional) skipExecute - skip cairo **execute** method | + +#### Returns + +`Promise`<[`SimulateTransactionResponse`](../namespaces/types.md#simulatetransactionresponse)\> + +an array of transaction trace and estimated fee + +#### Inherited from + +[ProviderInterface](ProviderInterface.md).[getSimulateTransaction](ProviderInterface.md#getsimulatetransaction) + +#### Defined in + +[src/provider/interface.ts:341](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L341) + +--- + +### getStateUpdate + +▸ **getStateUpdate**(`blockIdentifier?`): `Promise`<[`StateUpdateResponse`](../namespaces/types.md#stateupdateresponse)\> + +Gets the state changes in a specific block (result of executing the requested block) + +#### Parameters + +| Name | Type | Description | +| :----------------- | :---------------------------------------------------------- | :--------------- | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | block identifier | + +#### Returns + +`Promise`<[`StateUpdateResponse`](../namespaces/types.md#stateupdateresponse)\> + +StateUpdateResponse + +#### Inherited from + +[ProviderInterface](ProviderInterface.md).[getStateUpdate](ProviderInterface.md#getstateupdate) + +#### Defined in + +[src/provider/interface.ts:352](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L352) + +--- + +### getContractVersion + +▸ **getContractVersion**(`contractAddress`, `classHash?`, `options?`): `Promise`<[`ContractVersion`](../namespaces/types.md#contractversion)\> + +Gets the contract version from the provided address + +#### Parameters + +| Name | Type | Description | +| :---------------- | :------------------------------------------------------------------------------ | :------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `contractAddress` | `string` | string | +| `classHash?` | `undefined` | undefined | +| `options?` | [`getContractVersionOptions`](../namespaces/types.md#getcontractversionoptions) | getContractVersionOptions - (optional) compiler - (default true) extract compiler version using type tactic from abi - (optional) blockIdentifier - block identifier | + +#### Returns + +`Promise`<[`ContractVersion`](../namespaces/types.md#contractversion)\> + +#### Inherited from + +[ProviderInterface](ProviderInterface.md).[getContractVersion](ProviderInterface.md#getcontractversion) + +#### Defined in + +[src/provider/interface.ts:362](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L362) + +▸ **getContractVersion**(`contractAddress`, `classHash`, `options?`): `Promise`<[`ContractVersion`](../namespaces/types.md#contractversion)\> + +Gets the contract version from the provided address + +#### Parameters + +| Name | Type | Description | +| :---------------- | :------------------------------------------------------------------------------ | :------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `contractAddress` | `undefined` | undefined | +| `classHash` | `string` | | +| `options?` | [`getContractVersionOptions`](../namespaces/types.md#getcontractversionoptions) | getContractVersionOptions - (optional) compiler - (default true) extract compiler version using type tactic from abi - (optional) blockIdentifier - block identifier | + +#### Returns + +`Promise`<[`ContractVersion`](../namespaces/types.md#contractversion)\> + +#### Inherited from + +[ProviderInterface](ProviderInterface.md).[getContractVersion](ProviderInterface.md#getcontractversion) + +#### Defined in + +[src/provider/interface.ts:376](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L376) diff --git a/www/versioned_docs/version-6.11.0/API/classes/CairoCustomEnum.md b/www/versioned_docs/version-6.11.0/API/classes/CairoCustomEnum.md new file mode 100644 index 000000000..5db413b3f --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/classes/CairoCustomEnum.md @@ -0,0 +1,95 @@ +--- +id: 'CairoCustomEnum' +title: 'Class: CairoCustomEnum' +sidebar_label: 'CairoCustomEnum' +sidebar_position: 0 +custom_edit_url: null +--- + +Class to handle Cairo custom Enum + +**`Param`** + +object containing the variants and its content. Example : +{Success: 234, Warning: undefined, Error: undefined}. +Only one variant with a value, object, array. + +**`Example`** + +```typescript +const myCairoEnum = new CairoCustomEnum({ + Success: undefined, + Warning: '0x7f32ea', + Error: undefined, +}); +``` + +## Constructors + +### constructor + +• **new CairoCustomEnum**(`enumContent`): [`CairoCustomEnum`](CairoCustomEnum.md) + +#### Parameters + +| Name | Type | Description | +| :------------ | :------------------------------------------- | :----------------------------------------------------------------------------------------------- | +| `enumContent` | [`CairoEnumRaw`](../modules.md#cairoenumraw) | an object with the variants as keys and the content as value. Only one content shall be defined. | + +#### Returns + +[`CairoCustomEnum`](CairoCustomEnum.md) + +#### Defined in + +[src/utils/calldata/enum/CairoCustomEnum.ts:29](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/enum/CairoCustomEnum.ts#L29) + +## Properties + +### variant + +• `Readonly` **variant**: [`CairoEnumRaw`](../modules.md#cairoenumraw) + +direct readonly access to variants of the Cairo Custom Enum. + +**`Example`** + +```typescript +const successValue = myCairoEnum.variant.Success; + +#### Defined in + +[src/utils/calldata/enum/CairoCustomEnum.ts:24](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/enum/CairoCustomEnum.ts#L24) + +## Methods + +### unwrap + +▸ **unwrap**(): `any` + +#### Returns + +`any` + +the content of the valid variant of a Cairo custom Enum. + +#### Defined in + +[src/utils/calldata/enum/CairoCustomEnum.ts:47](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/enum/CairoCustomEnum.ts#L47) + +___ + +### activeVariant + +▸ **activeVariant**(): `string` + +#### Returns + +`string` + +the name of the valid variant of a Cairo custom Enum. + +#### Defined in + +[src/utils/calldata/enum/CairoCustomEnum.ts:60](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/enum/CairoCustomEnum.ts#L60) +``` diff --git a/www/versioned_docs/version-6.11.0/API/classes/CairoOption.md b/www/versioned_docs/version-6.11.0/API/classes/CairoOption.md new file mode 100644 index 000000000..e0f396660 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/classes/CairoOption.md @@ -0,0 +1,125 @@ +--- +id: 'CairoOption' +title: 'Class: CairoOption' +sidebar_label: 'CairoOption' +sidebar_position: 0 +custom_edit_url: null +--- + +Class to handle Cairo Option + +**`Param`** + +CairoOptionVariant.Some or CairoOptionVariant.None + +**`Param`** + +value of type T. + +**`Example`** + +```typescript +const myOption = new CairoOption(CairoOptionVariant.Some, '0x54dda8'); +``` + +## Type parameters + +| Name | +| :--- | +| `T` | + +## Constructors + +### constructor + +• **new CairoOption**<`T`\>(`variant`, `someContent?`): [`CairoOption`](CairoOption.md)<`T`\> + +#### Type parameters + +| Name | +| :--- | +| `T` | + +#### Parameters + +| Name | Type | +| :------------- | :----------------------------------------------------- | +| `variant` | [`CairoOptionVariant`](../enums/CairoOptionVariant.md) | +| `someContent?` | `T` | + +#### Returns + +[`CairoOption`](CairoOption.md)<`T`\> + +#### Defined in + +[src/utils/calldata/enum/CairoOption.ts:21](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/enum/CairoOption.ts#L21) + +## Properties + +### Some + +• `Optional` `Readonly` **Some**: `T` + +#### Defined in + +[src/utils/calldata/enum/CairoOption.ts:17](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/enum/CairoOption.ts#L17) + +--- + +### None + +• `Optional` `Readonly` **None**: `boolean` + +#### Defined in + +[src/utils/calldata/enum/CairoOption.ts:19](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/enum/CairoOption.ts#L19) + +## Methods + +### unwrap + +▸ **unwrap**(): `undefined` \| `T` + +#### Returns + +`undefined` \| `T` + +the content of the valid variant of a Cairo custom Enum. +If None, returns 'undefined'. + +#### Defined in + +[src/utils/calldata/enum/CairoOption.ts:44](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/enum/CairoOption.ts#L44) + +--- + +### isSome + +▸ **isSome**(): `boolean` + +#### Returns + +`boolean` + +true if the valid variant is 'isSome'. + +#### Defined in + +[src/utils/calldata/enum/CairoOption.ts:55](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/enum/CairoOption.ts#L55) + +--- + +### isNone + +▸ **isNone**(): `boolean` + +#### Returns + +`boolean` + +true if the valid variant is 'isNone'. + +#### Defined in + +[src/utils/calldata/enum/CairoOption.ts:63](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/enum/CairoOption.ts#L63) diff --git a/www/versioned_docs/version-6.11.0/API/classes/CairoResult.md b/www/versioned_docs/version-6.11.0/API/classes/CairoResult.md new file mode 100644 index 000000000..791c43227 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/classes/CairoResult.md @@ -0,0 +1,126 @@ +--- +id: 'CairoResult' +title: 'Class: CairoResult' +sidebar_label: 'CairoResult' +sidebar_position: 0 +custom_edit_url: null +--- + +Class to handle Cairo Result + +**`Param`** + +CairoResultVariant.Ok or CairoResultVariant.Err + +**`Param`** + +value of type T or U. + +**`Example`** + +```typescript +const myOption = new CairoResult(CairoResultVariant.Ok, '0x54dda8'); +``` + +## Type parameters + +| Name | +| :--- | +| `T` | +| `U` | + +## Constructors + +### constructor + +• **new CairoResult**<`T`, `U`\>(`variant`, `resultContent`): [`CairoResult`](CairoResult.md)<`T`, `U`\> + +#### Type parameters + +| Name | +| :--- | +| `T` | +| `U` | + +#### Parameters + +| Name | Type | +| :-------------- | :----------------------------------------------------- | +| `variant` | [`CairoResultVariant`](../enums/CairoResultVariant.md) | +| `resultContent` | `T` \| `U` | + +#### Returns + +[`CairoResult`](CairoResult.md)<`T`, `U`\> + +#### Defined in + +[src/utils/calldata/enum/CairoResult.ts:21](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/enum/CairoResult.ts#L21) + +## Properties + +### Ok + +• `Optional` `Readonly` **Ok**: `T` + +#### Defined in + +[src/utils/calldata/enum/CairoResult.ts:17](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/enum/CairoResult.ts#L17) + +--- + +### Err + +• `Optional` `Readonly` **Err**: `U` + +#### Defined in + +[src/utils/calldata/enum/CairoResult.ts:19](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/enum/CairoResult.ts#L19) + +## Methods + +### unwrap + +▸ **unwrap**(): `T` \| `U` + +#### Returns + +`T` \| `U` + +the content of the valid variant of a Cairo Result. + +#### Defined in + +[src/utils/calldata/enum/CairoResult.ts:38](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/enum/CairoResult.ts#L38) + +--- + +### isOk + +▸ **isOk**(): `boolean` + +#### Returns + +`boolean` + +true if the valid variant is 'Ok'. + +#### Defined in + +[src/utils/calldata/enum/CairoResult.ts:52](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/enum/CairoResult.ts#L52) + +--- + +### isErr + +▸ **isErr**(): `boolean` + +#### Returns + +`boolean` + +true if the valid variant is 'isErr'. + +#### Defined in + +[src/utils/calldata/enum/CairoResult.ts:60](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/enum/CairoResult.ts#L60) diff --git a/www/versioned_docs/version-6.11.0/API/classes/CairoUint256.md b/www/versioned_docs/version-6.11.0/API/classes/CairoUint256.md new file mode 100644 index 000000000..d8da3a8da --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/classes/CairoUint256.md @@ -0,0 +1,266 @@ +--- +id: 'CairoUint256' +title: 'Class: CairoUint256' +sidebar_label: 'CairoUint256' +sidebar_position: 0 +custom_edit_url: null +--- + +## Constructors + +### constructor + +• **new CairoUint256**(`bigNumberish`): [`CairoUint256`](CairoUint256.md) + +Default constructor (Lib usage) + +#### Parameters + +| Name | Type | Description | +| :------------- | :---------------------------------------------------- | :------------------------------------- | +| `bigNumberish` | [`BigNumberish`](../namespaces/types.md#bignumberish) | BigNumberish value representing uin256 | + +#### Returns + +[`CairoUint256`](CairoUint256.md) + +#### Defined in + +[src/utils/cairoDataTypes/uint256.ts:29](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/cairoDataTypes/uint256.ts#L29) + +• **new CairoUint256**(`low`, `high`): [`CairoUint256`](CairoUint256.md) + +Direct props initialization (Api response) + +#### Parameters + +| Name | Type | +| :----- | :---------------------------------------------------- | +| `low` | [`BigNumberish`](../namespaces/types.md#bignumberish) | +| `high` | [`BigNumberish`](../namespaces/types.md#bignumberish) | + +#### Returns + +[`CairoUint256`](CairoUint256.md) + +#### Defined in + +[src/utils/cairoDataTypes/uint256.ts:33](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/cairoDataTypes/uint256.ts#L33) + +• **new CairoUint256**(`uint256`): [`CairoUint256`](CairoUint256.md) + +Initialization from Uint256 object + +#### Parameters + +| Name | Type | +| :-------- | :------------------------------------------ | +| `uint256` | [`Uint256`](../interfaces/types.Uint256.md) | + +#### Returns + +[`CairoUint256`](CairoUint256.md) + +#### Defined in + +[src/utils/cairoDataTypes/uint256.ts:37](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/cairoDataTypes/uint256.ts#L37) + +## Properties + +### abiSelector + +▪ `Static` **abiSelector**: `string` = `'core::integer::u256'` + +#### Defined in + +[src/utils/cairoDataTypes/uint256.ts:23](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/cairoDataTypes/uint256.ts#L23) + +--- + +### low + +• **low**: `bigint` + +#### Defined in + +[src/utils/cairoDataTypes/uint256.ts:19](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/cairoDataTypes/uint256.ts#L19) + +--- + +### high + +• **high**: `bigint` + +#### Defined in + +[src/utils/cairoDataTypes/uint256.ts:21](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/cairoDataTypes/uint256.ts#L21) + +## Methods + +### validate + +▸ **validate**(`bigNumberish`): `bigint` + +Validate if BigNumberish can be represented as Unit256 + +#### Parameters + +| Name | Type | +| :------------- | :---------------------------------------------------- | +| `bigNumberish` | [`BigNumberish`](../namespaces/types.md#bignumberish) | + +#### Returns + +`bigint` + +#### Defined in + +[src/utils/cairoDataTypes/uint256.ts:60](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/cairoDataTypes/uint256.ts#L60) + +--- + +### validateProps + +▸ **validateProps**(`low`, `high`): `Object` + +Validate if low and high can be represented as Unit256 + +#### Parameters + +| Name | Type | +| :----- | :---------------------------------------------------- | +| `low` | [`BigNumberish`](../namespaces/types.md#bignumberish) | +| `high` | [`BigNumberish`](../namespaces/types.md#bignumberish) | + +#### Returns + +`Object` + +| Name | Type | +| :----- | :------- | +| `low` | `bigint` | +| `high` | `bigint` | + +#### Defined in + +[src/utils/cairoDataTypes/uint256.ts:70](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/cairoDataTypes/uint256.ts#L70) + +--- + +### is + +▸ **is**(`bigNumberish`): `boolean` + +Check if BigNumberish can be represented as Unit256 + +#### Parameters + +| Name | Type | +| :------------- | :---------------------------------------------------- | +| `bigNumberish` | [`BigNumberish`](../namespaces/types.md#bignumberish) | + +#### Returns + +`boolean` + +#### Defined in + +[src/utils/cairoDataTypes/uint256.ts:85](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/cairoDataTypes/uint256.ts#L85) + +--- + +### isAbiType + +▸ **isAbiType**(`abiType`): `boolean` + +Check if provided abi type is this data type + +#### Parameters + +| Name | Type | +| :-------- | :------- | +| `abiType` | `string` | + +#### Returns + +`boolean` + +#### Defined in + +[src/utils/cairoDataTypes/uint256.ts:97](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/cairoDataTypes/uint256.ts#L97) + +--- + +### toBigInt + +▸ **toBigInt**(): `bigint` + +Return bigint representation + +#### Returns + +`bigint` + +#### Defined in + +[src/utils/cairoDataTypes/uint256.ts:104](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/cairoDataTypes/uint256.ts#L104) + +--- + +### toUint256HexString + +▸ **toUint256HexString**(): `Object` + +Return Uint256 structure with HexString props +{low: HexString, high: HexString} + +#### Returns + +`Object` + +| Name | Type | +| :----- | :------- | +| `low` | `string` | +| `high` | `string` | + +#### Defined in + +[src/utils/cairoDataTypes/uint256.ts:112](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/cairoDataTypes/uint256.ts#L112) + +--- + +### toUint256DecimalString + +▸ **toUint256DecimalString**(): `Object` + +Return Uint256 structure with DecimalString props +{low: DecString, high: DecString} + +#### Returns + +`Object` + +| Name | Type | +| :----- | :------- | +| `low` | `string` | +| `high` | `string` | + +#### Defined in + +[src/utils/cairoDataTypes/uint256.ts:123](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/cairoDataTypes/uint256.ts#L123) + +--- + +### toApiRequest + +▸ **toApiRequest**(): `string`[] + +Return api requests representation witch is felt array + +#### Returns + +`string`[] + +#### Defined in + +[src/utils/cairoDataTypes/uint256.ts:133](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/cairoDataTypes/uint256.ts#L133) diff --git a/www/versioned_docs/version-6.11.0/API/classes/CairoUint512.md b/www/versioned_docs/version-6.11.0/API/classes/CairoUint512.md new file mode 100644 index 000000000..8d0f04e95 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/classes/CairoUint512.md @@ -0,0 +1,296 @@ +--- +id: 'CairoUint512' +title: 'Class: CairoUint512' +sidebar_label: 'CairoUint512' +sidebar_position: 0 +custom_edit_url: null +--- + +## Constructors + +### constructor + +• **new CairoUint512**(`bigNumberish`): [`CairoUint512`](CairoUint512.md) + +Default constructor (Lib usage) + +#### Parameters + +| Name | Type | Description | +| :------------- | :---------------------------------------------------- | :----------------------------------- | +| `bigNumberish` | [`BigNumberish`](../namespaces/types.md#bignumberish) | BigNumberish value representing u512 | + +#### Returns + +[`CairoUint512`](CairoUint512.md) + +#### Defined in + +[src/utils/cairoDataTypes/uint512.ts:30](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/cairoDataTypes/uint512.ts#L30) + +• **new CairoUint512**(`limb0`, `limb1`, `limb2`, `limb3`): [`CairoUint512`](CairoUint512.md) + +Direct props initialization (Api response) + +#### Parameters + +| Name | Type | +| :------ | :---------------------------------------------------- | +| `limb0` | [`BigNumberish`](../namespaces/types.md#bignumberish) | +| `limb1` | [`BigNumberish`](../namespaces/types.md#bignumberish) | +| `limb2` | [`BigNumberish`](../namespaces/types.md#bignumberish) | +| `limb3` | [`BigNumberish`](../namespaces/types.md#bignumberish) | + +#### Returns + +[`CairoUint512`](CairoUint512.md) + +#### Defined in + +[src/utils/cairoDataTypes/uint512.ts:34](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/cairoDataTypes/uint512.ts#L34) + +• **new CairoUint512**(`uint512`): [`CairoUint512`](CairoUint512.md) + +Initialization from Uint512 object + +#### Parameters + +| Name | Type | +| :-------- | :------------------------------------------ | +| `uint512` | [`Uint512`](../interfaces/types.Uint512.md) | + +#### Returns + +[`CairoUint512`](CairoUint512.md) + +#### Defined in + +[src/utils/cairoDataTypes/uint512.ts:43](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/cairoDataTypes/uint512.ts#L43) + +## Properties + +### abiSelector + +▪ `Static` **abiSelector**: `string` = `'core::integer::u512'` + +#### Defined in + +[src/utils/cairoDataTypes/uint512.ts:24](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/cairoDataTypes/uint512.ts#L24) + +--- + +### limb0 + +• **limb0**: `bigint` + +#### Defined in + +[src/utils/cairoDataTypes/uint512.ts:16](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/cairoDataTypes/uint512.ts#L16) + +--- + +### limb1 + +• **limb1**: `bigint` + +#### Defined in + +[src/utils/cairoDataTypes/uint512.ts:18](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/cairoDataTypes/uint512.ts#L18) + +--- + +### limb2 + +• **limb2**: `bigint` + +#### Defined in + +[src/utils/cairoDataTypes/uint512.ts:20](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/cairoDataTypes/uint512.ts#L20) + +--- + +### limb3 + +• **limb3**: `bigint` + +#### Defined in + +[src/utils/cairoDataTypes/uint512.ts:22](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/cairoDataTypes/uint512.ts#L22) + +## Methods + +### validate + +▸ **validate**(`bigNumberish`): `bigint` + +Validate if BigNumberish can be represented as Uint512 + +#### Parameters + +| Name | Type | +| :------------- | :---------------------------------------------------- | +| `bigNumberish` | [`BigNumberish`](../namespaces/types.md#bignumberish) | + +#### Returns + +`bigint` + +#### Defined in + +[src/utils/cairoDataTypes/uint512.ts:84](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/cairoDataTypes/uint512.ts#L84) + +--- + +### validateProps + +▸ **validateProps**(`limb0`, `limb1`, `limb2`, `limb3`): `Object` + +Validate if limbs can be represented as Uint512 + +#### Parameters + +| Name | Type | +| :------ | :---------------------------------------------------- | +| `limb0` | [`BigNumberish`](../namespaces/types.md#bignumberish) | +| `limb1` | [`BigNumberish`](../namespaces/types.md#bignumberish) | +| `limb2` | [`BigNumberish`](../namespaces/types.md#bignumberish) | +| `limb3` | [`BigNumberish`](../namespaces/types.md#bignumberish) | + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------- | +| `limb0` | `bigint` | +| `limb1` | `bigint` | +| `limb2` | `bigint` | +| `limb3` | `bigint` | + +#### Defined in + +[src/utils/cairoDataTypes/uint512.ts:94](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/cairoDataTypes/uint512.ts#L94) + +--- + +### is + +▸ **is**(`bigNumberish`): `boolean` + +Check if BigNumberish can be represented as Uint512 + +#### Parameters + +| Name | Type | +| :------------- | :---------------------------------------------------- | +| `bigNumberish` | [`BigNumberish`](../namespaces/types.md#bignumberish) | + +#### Returns + +`boolean` + +#### Defined in + +[src/utils/cairoDataTypes/uint512.ts:115](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/cairoDataTypes/uint512.ts#L115) + +--- + +### isAbiType + +▸ **isAbiType**(`abiType`): `boolean` + +Check if provided abi type is this data type + +#### Parameters + +| Name | Type | +| :-------- | :------- | +| `abiType` | `string` | + +#### Returns + +`boolean` + +#### Defined in + +[src/utils/cairoDataTypes/uint512.ts:127](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/cairoDataTypes/uint512.ts#L127) + +--- + +### toBigInt + +▸ **toBigInt**(): `bigint` + +Return bigint representation + +#### Returns + +`bigint` + +#### Defined in + +[src/utils/cairoDataTypes/uint512.ts:134](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/cairoDataTypes/uint512.ts#L134) + +--- + +### toUint512HexString + +▸ **toUint512HexString**(): `Object` + +Return Uint512 structure with HexString props +limbx: HexString + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------- | +| `limb0` | `string` | +| `limb1` | `string` | +| `limb2` | `string` | +| `limb3` | `string` | + +#### Defined in + +[src/utils/cairoDataTypes/uint512.ts:142](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/cairoDataTypes/uint512.ts#L142) + +--- + +### toUint512DecimalString + +▸ **toUint512DecimalString**(): `Object` + +Return Uint512 structure with DecimalString props +limbx DecString + +#### Returns + +`Object` + +| Name | Type | +| :------ | :------- | +| `limb0` | `string` | +| `limb1` | `string` | +| `limb2` | `string` | +| `limb3` | `string` | + +#### Defined in + +[src/utils/cairoDataTypes/uint512.ts:155](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/cairoDataTypes/uint512.ts#L155) + +--- + +### toApiRequest + +▸ **toApiRequest**(): `string`[] + +Return api requests representation witch is felt array + +#### Returns + +`string`[] + +#### Defined in + +[src/utils/cairoDataTypes/uint512.ts:167](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/cairoDataTypes/uint512.ts#L167) diff --git a/www/versioned_docs/version-6.11.0/API/classes/CallData.md b/www/versioned_docs/version-6.11.0/API/classes/CallData.md new file mode 100644 index 000000000..f17d4e27a --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/classes/CallData.md @@ -0,0 +1,331 @@ +--- +id: 'CallData' +title: 'Class: CallData' +sidebar_label: 'CallData' +sidebar_position: 0 +custom_edit_url: null +--- + +## Constructors + +### constructor + +• **new CallData**(`abi`): [`CallData`](CallData.md) + +#### Parameters + +| Name | Type | +| :---- | :---------------------------------- | +| `abi` | [`Abi`](../namespaces/types.md#abi) | + +#### Returns + +[`CallData`](CallData.md) + +#### Defined in + +[src/utils/calldata/index.ts:51](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/index.ts#L51) + +## Properties + +### abi + +• **abi**: [`Abi`](../namespaces/types.md#abi) + +#### Defined in + +[src/utils/calldata/index.ts:43](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/index.ts#L43) + +--- + +### parser + +• **parser**: `AbiParserInterface` + +#### Defined in + +[src/utils/calldata/index.ts:45](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/index.ts#L45) + +--- + +### structs + +• `Protected` `Readonly` **structs**: [`AbiStructs`](../namespaces/types.md#abistructs) + +#### Defined in + +[src/utils/calldata/index.ts:47](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/index.ts#L47) + +--- + +### enums + +• `Protected` `Readonly` **enums**: [`AbiEnums`](../namespaces/types.md#abienums) + +#### Defined in + +[src/utils/calldata/index.ts:49](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/index.ts#L49) + +## Methods + +### compile + +▸ **compile**(`rawArgs`): [`Calldata`](../namespaces/types.md#calldata) + +Compile contract callData without abi + +#### Parameters + +| Name | Type | Description | +| :-------- | :------------------------------------------ | :--------------------------------------------------------------------------- | +| `rawArgs` | [`RawArgs`](../namespaces/types.md#rawargs) | RawArgs representing cairo method arguments or string array of compiled data | + +#### Returns + +[`Calldata`](../namespaces/types.md#calldata) + +Calldata + +#### Defined in + +[src/utils/calldata/index.ts:164](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/index.ts#L164) + +--- + +### getAbiStruct + +▸ **getAbiStruct**(`abi`): [`AbiStructs`](../namespaces/types.md#abistructs) + +Helper to extract structs from abi + +#### Parameters + +| Name | Type | Description | +| :---- | :---------------------------------- | :---------- | +| `abi` | [`Abi`](../namespaces/types.md#abi) | Abi | + +#### Returns + +[`AbiStructs`](../namespaces/types.md#abistructs) + +AbiStructs - structs from abi + +#### Defined in + +[src/utils/calldata/index.ts:282](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/index.ts#L282) + +--- + +### getAbiEnum + +▸ **getAbiEnum**(`abi`): [`AbiEnums`](../namespaces/types.md#abienums) + +Helper to extract enums from abi + +#### Parameters + +| Name | Type | Description | +| :---- | :---------------------------------- | :---------- | +| `abi` | [`Abi`](../namespaces/types.md#abi) | Abi | + +#### Returns + +[`AbiEnums`](../namespaces/types.md#abienums) + +AbiEnums - enums from abi + +#### Defined in + +[src/utils/calldata/index.ts:299](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/index.ts#L299) + +--- + +### toCalldata + +▸ **toCalldata**(`rawCalldata?`): [`Calldata`](../namespaces/types.md#calldata) + +Helper: Compile HexCalldata | RawCalldata | RawArgs + +#### Parameters + +| Name | Type | Default value | Description | +| :------------ | :------------------------------------------ | :------------ | :------------------------------------ | +| `rawCalldata` | [`RawArgs`](../namespaces/types.md#rawargs) | `[]` | HexCalldata \| RawCalldata \| RawArgs | + +#### Returns + +[`Calldata`](../namespaces/types.md#calldata) + +Calldata + +#### Defined in + +[src/utils/calldata/index.ts:318](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/index.ts#L318) + +--- + +### toHex + +▸ **toHex**(`raw?`): [`HexCalldata`](../namespaces/types.md#hexcalldata) + +Helper: Convert raw to HexCalldata + +#### Parameters + +| Name | Type | Default value | Description | +| :---- | :------------------------------------------ | :------------ | :------------------------------------ | +| `raw` | [`RawArgs`](../namespaces/types.md#rawargs) | `[]` | HexCalldata \| RawCalldata \| RawArgs | + +#### Returns + +[`HexCalldata`](../namespaces/types.md#hexcalldata) + +HexCalldata + +#### Defined in + +[src/utils/calldata/index.ts:327](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/index.ts#L327) + +--- + +### validate + +▸ **validate**(`type`, `method`, `args?`): `void` + +Validate arguments passed to the method as corresponding to the ones in the abi + +#### Parameters + +| Name | Type | Default value | Description | +| :------- | :-------------------------------------------------------- | :------------ | :------------------------------------------------------- | +| `type` | [`ValidateType`](../enums/types.ValidateType.md) | `undefined` | ValidateType - type of the method | +| `method` | `string` | `undefined` | string - name of the method | +| `args` | [`ArgsOrCalldata`](../namespaces/types.md#argsorcalldata) | `[]` | ArgsOrCalldata - arguments that are passed to the method | + +#### Returns + +`void` + +#### Defined in + +[src/utils/calldata/index.ts:64](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/index.ts#L64) + +--- + +### compile + +▸ **compile**(`method`, `argsCalldata`): [`Calldata`](../namespaces/types.md#calldata) + +Compile contract callData with abi +Parse the calldata by using input fields from the abi for that method + +#### Parameters + +| Name | Type | Description | +| :------------- | :------------------------------------------ | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `method` | `string` | string - method name | +| `argsCalldata` | [`RawArgs`](../namespaces/types.md#rawargs) | RawArgs - arguments passed to the method. Can be an array of arguments (in the order of abi definition), or an object constructed in conformity with abi (in this case, the parameter can be in a wrong order). | + +#### Returns + +[`Calldata`](../namespaces/types.md#calldata) + +Calldata - parsed arguments in format that contract is expecting + +**`Example`** + +```typescript +const calldata = myCallData.compile('constructor', ['0x34a', [1, 3n]]); +``` + +```typescript +const calldata2 = myCallData.compile('constructor', { list: [1, 3n], balance: '0x34' }); // wrong order is valid +``` + +#### Defined in + +[src/utils/calldata/index.ts:117](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/index.ts#L117) + +--- + +### parse + +▸ **parse**(`method`, `response`): [`Result`](../namespaces/types.md#result) + +Parse elements of the response array and structuring them into response object + +#### Parameters + +| Name | Type | Description | +| :--------- | :--------- | :---------------------------------- | +| `method` | `string` | string - method name | +| `response` | `string`[] | string[] - response from the method | + +#### Returns + +[`Result`](../namespaces/types.md#result) + +Result - parsed response corresponding to the abi + +#### Defined in + +[src/utils/calldata/index.ts:248](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/index.ts#L248) + +--- + +### format + +▸ **format**(`method`, `response`, `format`): [`Result`](../namespaces/types.md#result) + +Format cairo method response data to native js values based on provided format schema + +#### Parameters + +| Name | Type | Description | +| :--------- | :--------- | :------------------------------- | +| `method` | `string` | string - cairo method name | +| `response` | `string`[] | string[] - cairo method response | +| `format` | `object` | object - formatter object schema | + +#### Returns + +[`Result`](../namespaces/types.md#result) + +Result - parsed and formatted response object + +#### Defined in + +[src/utils/calldata/index.ts:272](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/index.ts#L272) + +--- + +### decodeParameters + +▸ **decodeParameters**(`typeCairo`, `response`): [`AllowArray`](../namespaces/types.md#allowarray)<[`Result`](../namespaces/types.md#result)\> + +Parse the elements of a contract response and structure them into one or several Result. +In Cairo 0, arrays are not supported. + +#### Parameters + +| Name | Type | Description | +| :---------- | :----------------------------------------------------------- | :------------------------------------------------------------------ | +| `typeCairo` | [`AllowArray`](../namespaces/types.md#allowarray)<`string`\> | string or string[] - Cairo type name, ex : "hello::hello::UserData" | +| `response` | `string`[] | string[] - serialized data corresponding to typeCairo. | + +#### Returns + +[`AllowArray`](../namespaces/types.md#allowarray)<[`Result`](../namespaces/types.md#result)\> + +Result or Result[] - parsed response corresponding to typeData. + +**`Example`** + +```ts +const res2 = helloCallData.decodeParameters('hello::hello::UserData', ['0x123456', '0x1']); +result = { address: 1193046n, is_claimed: true }; +``` + +#### Defined in + +[src/utils/calldata/index.ts:342](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/index.ts#L342) diff --git a/www/versioned_docs/version-6.11.0/API/classes/Contract.md b/www/versioned_docs/version-6.11.0/API/classes/Contract.md new file mode 100644 index 000000000..7d41fffa5 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/classes/Contract.md @@ -0,0 +1,505 @@ +--- +id: 'Contract' +title: 'Class: Contract' +sidebar_label: 'Contract' +sidebar_position: 0 +custom_edit_url: null +--- + +## Implements + +- [`ContractInterface`](ContractInterface.md) + +## Indexable + +▪ [key: `string`]: [`AsyncContractFunction`](../namespaces/types.md#asynccontractfunction) \| `any` + +## Constructors + +### constructor + +• **new Contract**(`abi`, `address`, `providerOrAccount?`): [`Contract`](Contract.md) + +Contract class to handle contract methods + +#### Parameters + +| Name | Type | Default value | Description | +| :------------------ | :--------------------------------------------------------------------------------------- | :---------------- | :-------------------------------------------- | +| `abi` | [`Abi`](../namespaces/types.md#abi) | `undefined` | Abi of the contract object | +| `address` | `string` | `undefined` | (optional) - address to connect to | +| `providerOrAccount` | [`ProviderInterface`](ProviderInterface.md) \| [`AccountInterface`](AccountInterface.md) | `defaultProvider` | (optional) - Provider or Account to attach to | + +#### Returns + +[`Contract`](Contract.md) + +#### Defined in + +[src/contract/default.ts:150](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/default.ts#L150) + +## Properties + +### abi + +• **abi**: [`Abi`](../namespaces/types.md#abi) + +#### Implementation of + +[ContractInterface](ContractInterface.md).[abi](ContractInterface.md#abi) + +#### Defined in + +[src/contract/default.ts:119](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/default.ts#L119) + +--- + +### address + +• **address**: `string` + +#### Implementation of + +[ContractInterface](ContractInterface.md).[address](ContractInterface.md#address) + +#### Defined in + +[src/contract/default.ts:121](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/default.ts#L121) + +--- + +### providerOrAccount + +• **providerOrAccount**: [`ProviderInterface`](ProviderInterface.md) \| [`AccountInterface`](AccountInterface.md) + +#### Implementation of + +[ContractInterface](ContractInterface.md).[providerOrAccount](ContractInterface.md#provideroraccount) + +#### Defined in + +[src/contract/default.ts:123](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/default.ts#L123) + +--- + +### deployTransactionHash + +• `Optional` **deployTransactionHash**: `string` + +#### Implementation of + +[ContractInterface](ContractInterface.md).[deployTransactionHash](ContractInterface.md#deploytransactionhash) + +#### Defined in + +[src/contract/default.ts:125](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/default.ts#L125) + +--- + +### structs + +• `Protected` `Readonly` **structs**: `Object` + +#### Index signature + +▪ [name: `string`]: [`AbiStruct`](../namespaces/types.md#abistruct) + +#### Defined in + +[src/contract/default.ts:127](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/default.ts#L127) + +--- + +### events + +• `Protected` `Readonly` **events**: [`AbiEvents`](../namespaces/types.md#abievents) + +#### Defined in + +[src/contract/default.ts:129](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/default.ts#L129) + +--- + +### functions + +• `Readonly` **functions**: `Object` + +#### Index signature + +▪ [name: `string`]: [`AsyncContractFunction`](../namespaces/types.md#asynccontractfunction) + +#### Implementation of + +[ContractInterface](ContractInterface.md).[functions](ContractInterface.md#functions) + +#### Defined in + +[src/contract/default.ts:131](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/default.ts#L131) + +--- + +### callStatic + +• `Readonly` **callStatic**: `Object` + +#### Index signature + +▪ [name: `string`]: [`AsyncContractFunction`](../namespaces/types.md#asynccontractfunction) + +#### Implementation of + +[ContractInterface](ContractInterface.md).[callStatic](ContractInterface.md#callstatic) + +#### Defined in + +[src/contract/default.ts:133](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/default.ts#L133) + +--- + +### populateTransaction + +• `Readonly` **populateTransaction**: `Object` + +#### Index signature + +▪ [name: `string`]: [`ContractFunction`](../namespaces/types.md#contractfunction) + +#### Implementation of + +[ContractInterface](ContractInterface.md).[populateTransaction](ContractInterface.md#populatetransaction) + +#### Defined in + +[src/contract/default.ts:135](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/default.ts#L135) + +--- + +### estimateFee + +• `Readonly` **estimateFee**: `Object` + +#### Index signature + +▪ [name: `string`]: [`ContractFunction`](../namespaces/types.md#contractfunction) + +#### Implementation of + +[ContractInterface](ContractInterface.md).[estimateFee](ContractInterface.md#estimatefee) + +#### Defined in + +[src/contract/default.ts:137](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/default.ts#L137) + +--- + +### callData + +• `Private` **callData**: [`CallData`](CallData.md) + +#### Defined in + +[src/contract/default.ts:141](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/default.ts#L141) + +## Methods + +### attach + +▸ **attach**(`address`): `void` + +Saves the address of the contract deployed on network that will be used for interaction + +#### Parameters + +| Name | Type | Description | +| :-------- | :------- | :---------------------- | +| `address` | `string` | address of the contract | + +#### Returns + +`void` + +#### Implementation of + +[ContractInterface](ContractInterface.md).[attach](ContractInterface.md#attach) + +#### Defined in + +[src/contract/default.ts:206](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/default.ts#L206) + +--- + +### connect + +▸ **connect**(`providerOrAccount`): `void` + +Attaches to new Provider or Account + +#### Parameters + +| Name | Type | Description | +| :------------------ | :--------------------------------------------------------------------------------------- | :----------------------------------- | +| `providerOrAccount` | [`ProviderInterface`](ProviderInterface.md) \| [`AccountInterface`](AccountInterface.md) | new Provider or Account to attach to | + +#### Returns + +`void` + +#### Implementation of + +[ContractInterface](ContractInterface.md).[connect](ContractInterface.md#connect) + +#### Defined in + +[src/contract/default.ts:210](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/default.ts#L210) + +--- + +### deployed + +▸ **deployed**(): `Promise`<[`Contract`](Contract.md)\> + +Resolves when contract is deployed on the network or when no deployment transaction is found + +#### Returns + +`Promise`<[`Contract`](Contract.md)\> + +Promise that resolves when contract is deployed on the network or when no deployment transaction is found + +**`Throws`** + +When deployment fails + +#### Implementation of + +[ContractInterface](ContractInterface.md).[deployed](ContractInterface.md#deployed) + +#### Defined in + +[src/contract/default.ts:214](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/default.ts#L214) + +--- + +### call + +▸ **call**(`method`, `args?`, `«destructured»?`): `Promise`<[`Result`](../namespaces/types.md#result)\> + +Calls a method on a contract + +#### Parameters + +| Name | Type | Default value | Description | +| :--------------- | :-------------------------------------------------------- | :------------ | :---------------------------------- | +| `method` | `string` | `undefined` | name of the method | +| `args` | [`ArgsOrCalldata`](../namespaces/types.md#argsorcalldata) | `[]` | Array of the arguments for the call | +| `«destructured»` | [`CallOptions`](../namespaces/types.md#calloptions) | `{}` | optional blockIdentifier | + +#### Returns + +`Promise`<[`Result`](../namespaces/types.md#result)\> + +Result of the call as an array with key value pars + +#### Implementation of + +[ContractInterface](ContractInterface.md).[call](ContractInterface.md#call) + +#### Defined in + +[src/contract/default.ts:222](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/default.ts#L222) + +--- + +### invoke + +▸ **invoke**(`method`, `args?`, `«destructured»?`): `Promise`<\{ `transaction_hash`: `string` }\> + +Invokes a method on a contract + +#### Parameters + +| Name | Type | Default value | Description | +| :--------------- | :-------------------------------------------------------- | :------------ | :------------------------------------------------ | +| `method` | `string` | `undefined` | name of the method | +| `args` | [`ArgsOrCalldata`](../namespaces/types.md#argsorcalldata) | `[]` | Array of the arguments for the invoke or Calldata | +| `«destructured»` | [`InvokeOptions`](../namespaces/types.md#invokeoptions) | `{}` | | + +#### Returns + +`Promise`<\{ `transaction_hash`: `string` }\> + +Add Transaction Response + +#### Implementation of + +[ContractInterface](ContractInterface.md).[invoke](ContractInterface.md#invoke) + +#### Defined in + +[src/contract/default.ts:264](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/default.ts#L264) + +--- + +### estimate + +▸ **estimate**(`method`, `args?`): `Promise`<[`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md)\> + +Estimates a method on a contract + +#### Parameters + +| Name | Type | Default value | Description | +| :------- | :-------------------------------------------------------- | :------------ | :---------------------------------------------- | +| `method` | `string` | `undefined` | name of the method | +| `args` | [`ArgsOrCalldata`](../namespaces/types.md#argsorcalldata) | `[]` | Array of the arguments for the call or Calldata | + +#### Returns + +`Promise`<[`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md)\> + +#### Implementation of + +[ContractInterface](ContractInterface.md).[estimate](ContractInterface.md#estimate) + +#### Defined in + +[src/contract/default.ts:308](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/default.ts#L308) + +--- + +### populate + +▸ **populate**(`method`, `args?`): [`Call`](../namespaces/types.md#call) + +Calls a method on a contract + +#### Parameters + +| Name | Type | Default value | Description | +| :------- | :------------------------------------------ | :------------ | :---------------------------------------------- | +| `method` | `string` | `undefined` | name of the method | +| `args` | [`RawArgs`](../namespaces/types.md#rawargs) | `[]` | Array of the arguments for the call or Calldata | + +#### Returns + +[`Call`](../namespaces/types.md#call) + +Invocation object + +#### Implementation of + +[ContractInterface](ContractInterface.md).[populate](ContractInterface.md#populate) + +#### Defined in + +[src/contract/default.ts:322](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/default.ts#L322) + +--- + +### parseEvents + +▸ **parseEvents**(`receipt`): [`ParsedEvents`](../namespaces/types.md#parsedevents) + +Parse contract events of a GetTransactionReceiptResponse received from waitForTransaction. Based on contract's abi + +#### Parameters + +| Name | Type | Description | +| :-------- | :----------------------------------------------------------------------------- | :------------------ | +| `receipt` | [`GetTransactionReceiptResponse`](../modules.md#gettransactionreceiptresponse) | transaction receipt | + +#### Returns + +[`ParsedEvents`](../namespaces/types.md#parsedevents) + +Events parsed + +#### Implementation of + +[ContractInterface](ContractInterface.md).[parseEvents](ContractInterface.md#parseevents) + +#### Defined in + +[src/contract/default.ts:331](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/default.ts#L331) + +--- + +### isCairo1 + +▸ **isCairo1**(): `boolean` + +tells if the contract comes from a Cairo 1 contract + +#### Returns + +`boolean` + +TRUE if the contract comes from a Cairo1 contract + +**`Example`** + +```typescript +const isCairo1: boolean = myContract.isCairo1(); +``` + +#### Implementation of + +[ContractInterface](ContractInterface.md).[isCairo1](ContractInterface.md#iscairo1) + +#### Defined in + +[src/contract/default.ts:343](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/default.ts#L343) + +--- + +### getVersion + +▸ **getVersion**(): `Promise`<[`ContractVersion`](../namespaces/types.md#contractversion)\> + +Retrieves the version of the contract (cairo version & compiler version) + +#### Returns + +`Promise`<[`ContractVersion`](../namespaces/types.md#contractversion)\> + +#### Implementation of + +[ContractInterface](ContractInterface.md).[getVersion](ContractInterface.md#getversion) + +#### Defined in + +[src/contract/default.ts:347](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/default.ts#L347) + +--- + +### typedv2 + +▸ **typedv2**<`TAbi`\>(`tAbi`): [`TypedContractV2`](../modules.md#typedcontractv2)<`TAbi`\> + +Returns a typed instance of ContractV2 based on the supplied ABI. + +#### Type parameters + +| Name | Type | +| :----- | :------------------------------------------------------------------------------------------------------------------------------ | +| `TAbi` | extends readonly (`AbiImpl` \| `AbiFunction` \| `AbiInterface` \| `AbiConstructor` \| `AbiEvent` \| `AbiStruct` \| `AbiEnum`)[] | + +#### Parameters + +| Name | Type | Description | +| :----- | :----- | :----------------------------------------------------- | +| `tAbi` | `TAbi` | The ABI (Abstract Binary Interface) of the ContractV2. | + +#### Returns + +[`TypedContractV2`](../modules.md#typedcontractv2)<`TAbi`\> + +- A typed instance of ContractV2. + +#### Implementation of + +[ContractInterface](ContractInterface.md).[typedv2](ContractInterface.md#typedv2) + +#### Defined in + +[src/contract/default.ts:351](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/default.ts#L351) diff --git a/www/versioned_docs/version-6.11.0/API/classes/ContractFactory.md b/www/versioned_docs/version-6.11.0/API/classes/ContractFactory.md new file mode 100644 index 000000000..ba89b1402 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/classes/ContractFactory.md @@ -0,0 +1,165 @@ +--- +id: 'ContractFactory' +title: 'Class: ContractFactory' +sidebar_label: 'ContractFactory' +sidebar_position: 0 +custom_edit_url: null +--- + +## Constructors + +### constructor + +• **new ContractFactory**(`params`): [`ContractFactory`](ContractFactory.md) + +#### Parameters + +| Name | Type | Description | +| :------- | :------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `params` | [`ContractFactoryParams`](../modules.md#contractfactoryparams) | CFParams - compiledContract: CompiledContract; - account: AccountInterface; - casm?: CairoAssembly; - classHash?: string; - compiledClassHash?: string; - abi?: Abi; | + +#### Returns + +[`ContractFactory`](ContractFactory.md) + +#### Defined in + +[src/contract/contractFactory.ts:46](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/contractFactory.ts#L46) + +## Properties + +### compiledContract + +• **compiledContract**: [`CompiledContract`](../namespaces/types.md#compiledcontract) + +#### Defined in + +[src/contract/contractFactory.ts:23](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/contractFactory.ts#L23) + +--- + +### account + +• **account**: [`AccountInterface`](AccountInterface.md) + +#### Defined in + +[src/contract/contractFactory.ts:25](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/contractFactory.ts#L25) + +--- + +### abi + +• **abi**: [`Abi`](../namespaces/types.md#abi) + +#### Defined in + +[src/contract/contractFactory.ts:27](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/contractFactory.ts#L27) + +--- + +### classHash + +• `Optional` **classHash**: `string` + +#### Defined in + +[src/contract/contractFactory.ts:29](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/contractFactory.ts#L29) + +--- + +### casm + +• `Optional` **casm**: [`CairoAssembly`](../namespaces/types.md#cairoassembly) + +#### Defined in + +[src/contract/contractFactory.ts:31](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/contractFactory.ts#L31) + +--- + +### compiledClassHash + +• `Optional` **compiledClassHash**: `string` + +#### Defined in + +[src/contract/contractFactory.ts:33](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/contractFactory.ts#L33) + +--- + +### CallData + +• `Private` **CallData**: [`CallData`](CallData.md) + +#### Defined in + +[src/contract/contractFactory.ts:35](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/contractFactory.ts#L35) + +## Methods + +### deploy + +▸ **deploy**(`...args`): `Promise`<[`Contract`](Contract.md)\> + +Deploys contract and returns new instance of the Contract + +If contract is not declared it will first declare it, and then deploy + +#### Parameters + +| Name | Type | +| :-------- | :------------------------------------------------------------------------------ | +| `...args` | [`ArgsOrCalldataWithOptions`](../namespaces/types.md#argsorcalldatawithoptions) | + +#### Returns + +`Promise`<[`Contract`](Contract.md)\> + +#### Defined in + +[src/contract/contractFactory.ts:61](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/contractFactory.ts#L61) + +--- + +### connect + +▸ **connect**(`account`): [`ContractFactory`](ContractFactory.md) + +Attaches to new Account + +#### Parameters + +| Name | Type | Description | +| :-------- | :---------------------------------------- | :----------------------- | +| `account` | [`AccountInterface`](AccountInterface.md) | new Account to attach to | + +#### Returns + +[`ContractFactory`](ContractFactory.md) + +#### Defined in + +[src/contract/contractFactory.ts:101](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/contractFactory.ts#L101) + +--- + +### attach + +▸ **attach**(`address`): [`Contract`](Contract.md) + +Attaches current abi and account to the new address + +#### Parameters + +| Name | Type | +| :-------- | :------- | +| `address` | `string` | + +#### Returns + +[`Contract`](Contract.md) + +#### Defined in + +[src/contract/contractFactory.ts:109](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/contractFactory.ts#L109) diff --git a/www/versioned_docs/version-6.11.0/API/classes/ContractInterface.md b/www/versioned_docs/version-6.11.0/API/classes/ContractInterface.md new file mode 100644 index 000000000..e27d8cb9d --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/classes/ContractInterface.md @@ -0,0 +1,383 @@ +--- +id: 'ContractInterface' +title: 'Class: ContractInterface' +sidebar_label: 'ContractInterface' +sidebar_position: 0 +custom_edit_url: null +--- + +## Implemented by + +- [`Contract`](Contract.md) + +## Indexable + +▪ [key: `string`]: [`AsyncContractFunction`](../namespaces/types.md#asynccontractfunction) \| `any` + +## Constructors + +### constructor + +• **new ContractInterface**(): [`ContractInterface`](ContractInterface.md) + +#### Returns + +[`ContractInterface`](ContractInterface.md) + +## Properties + +### abi + +• `Abstract` **abi**: [`Abi`](../namespaces/types.md#abi) + +#### Defined in + +[src/contract/interface.ts:49](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/interface.ts#L49) + +--- + +### address + +• `Abstract` **address**: `string` + +#### Defined in + +[src/contract/interface.ts:51](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/interface.ts#L51) + +--- + +### providerOrAccount + +• `Abstract` **providerOrAccount**: [`ProviderInterface`](ProviderInterface.md) \| [`AccountInterface`](AccountInterface.md) + +#### Defined in + +[src/contract/interface.ts:53](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/interface.ts#L53) + +--- + +### deployTransactionHash + +• `Optional` `Abstract` **deployTransactionHash**: `string` + +#### Defined in + +[src/contract/interface.ts:55](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/interface.ts#L55) + +--- + +### functions + +• `Readonly` **functions**: `Object` + +#### Index signature + +▪ [name: `string`]: [`AsyncContractFunction`](../namespaces/types.md#asynccontractfunction) + +#### Defined in + +[src/contract/interface.ts:57](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/interface.ts#L57) + +--- + +### callStatic + +• `Readonly` **callStatic**: `Object` + +#### Index signature + +▪ [name: `string`]: [`AsyncContractFunction`](../namespaces/types.md#asynccontractfunction) + +#### Defined in + +[src/contract/interface.ts:59](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/interface.ts#L59) + +--- + +### populateTransaction + +• `Readonly` **populateTransaction**: `Object` + +#### Index signature + +▪ [name: `string`]: [`ContractFunction`](../namespaces/types.md#contractfunction) + +#### Defined in + +[src/contract/interface.ts:61](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/interface.ts#L61) + +--- + +### estimateFee + +• `Readonly` **estimateFee**: `Object` + +#### Index signature + +▪ [name: `string`]: [`ContractFunction`](../namespaces/types.md#contractfunction) + +#### Defined in + +[src/contract/interface.ts:63](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/interface.ts#L63) + +## Methods + +### attach + +▸ **attach**(`address`): `void` + +Saves the address of the contract deployed on network that will be used for interaction + +#### Parameters + +| Name | Type | Description | +| :-------- | :------- | :---------------------- | +| `address` | `string` | address of the contract | + +#### Returns + +`void` + +#### Defined in + +[src/contract/interface.ts:72](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/interface.ts#L72) + +--- + +### connect + +▸ **connect**(`providerOrAccount`): `void` + +Attaches to new Provider or Account + +#### Parameters + +| Name | Type | Description | +| :------------------ | :--------------------------------------------------------------------------------------- | :----------------------------------- | +| `providerOrAccount` | [`ProviderInterface`](ProviderInterface.md) \| [`AccountInterface`](AccountInterface.md) | new Provider or Account to attach to | + +#### Returns + +`void` + +#### Defined in + +[src/contract/interface.ts:79](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/interface.ts#L79) + +--- + +### deployed + +▸ **deployed**(): `Promise`<[`ContractInterface`](ContractInterface.md)\> + +Resolves when contract is deployed on the network or when no deployment transaction is found + +#### Returns + +`Promise`<[`ContractInterface`](ContractInterface.md)\> + +Promise that resolves when contract is deployed on the network or when no deployment transaction is found + +**`Throws`** + +When deployment fails + +#### Defined in + +[src/contract/interface.ts:87](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/interface.ts#L87) + +--- + +### call + +▸ **call**(`method`, `args?`, `options?`): `Promise`<[`Result`](../namespaces/types.md#result)\> + +Calls a method on a contract + +#### Parameters + +| Name | Type | Description | +| :--------- | :-------------------------------------------------------- | :---------------------------------- | +| `method` | `string` | name of the method | +| `args?` | [`ArgsOrCalldata`](../namespaces/types.md#argsorcalldata) | Array of the arguments for the call | +| `options?` | [`CallOptions`](../namespaces/types.md#calloptions) | optional blockIdentifier | + +#### Returns + +`Promise`<[`Result`](../namespaces/types.md#result)\> + +Result of the call as an array with key value pars + +#### Defined in + +[src/contract/interface.ts:97](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/interface.ts#L97) + +--- + +### invoke + +▸ **invoke**(`method`, `args?`, `options?`): `Promise`<\{ `transaction_hash`: `string` }\> + +Invokes a method on a contract + +#### Parameters + +| Name | Type | Description | +| :--------- | :-------------------------------------------------------- | :------------------------------------------------ | +| `method` | `string` | name of the method | +| `args?` | [`ArgsOrCalldata`](../namespaces/types.md#argsorcalldata) | Array of the arguments for the invoke or Calldata | +| `options?` | [`InvokeOptions`](../namespaces/types.md#invokeoptions) | | + +#### Returns + +`Promise`<\{ `transaction_hash`: `string` }\> + +Add Transaction Response + +#### Defined in + +[src/contract/interface.ts:111](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/interface.ts#L111) + +--- + +### estimate + +▸ **estimate**(`method`, `args?`, `options?`): `Promise`<[`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md)\> + +Estimates a method on a contract + +#### Parameters + +| Name | Type | Description | +| :------------------------- | :---------------------------------------------------------- | :---------------------------------------------- | +| `method` | `string` | name of the method | +| `args?` | [`ArgsOrCalldata`](../namespaces/types.md#argsorcalldata) | Array of the arguments for the call or Calldata | +| `options?` | `Object` | optional blockIdentifier | +| `options.blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | - | + +#### Returns + +`Promise`<[`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md)\> + +#### Defined in + +[src/contract/interface.ts:124](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/interface.ts#L124) + +--- + +### populate + +▸ **populate**(`method`, `args?`): [`Invocation`](../namespaces/types.md#invocation) + +Calls a method on a contract + +#### Parameters + +| Name | Type | Description | +| :------- | :-------------------------------------------------------- | :---------------------------------------------- | +| `method` | `string` | name of the method | +| `args?` | [`ArgsOrCalldata`](../namespaces/types.md#argsorcalldata) | Array of the arguments for the call or Calldata | + +#### Returns + +[`Invocation`](../namespaces/types.md#invocation) + +Invocation object + +#### Defined in + +[src/contract/interface.ts:139](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/interface.ts#L139) + +--- + +### parseEvents + +▸ **parseEvents**(`receipt`): [`ParsedEvents`](../namespaces/types.md#parsedevents) + +Parse contract events of a GetTransactionReceiptResponse received from waitForTransaction. Based on contract's abi + +#### Parameters + +| Name | Type | Description | +| :-------- | :----------------------------------------------------------------------------- | :------------------ | +| `receipt` | [`GetTransactionReceiptResponse`](../modules.md#gettransactionreceiptresponse) | transaction receipt | + +#### Returns + +[`ParsedEvents`](../namespaces/types.md#parsedevents) + +Events parsed + +#### Defined in + +[src/contract/interface.ts:147](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/interface.ts#L147) + +--- + +### isCairo1 + +▸ **isCairo1**(): `boolean` + +tells if the contract comes from a Cairo 1 contract + +#### Returns + +`boolean` + +TRUE if the contract comes from a Cairo1 contract + +**`Example`** + +```typescript +const isCairo1: boolean = myContract.isCairo1(); +``` + +#### Defined in + +[src/contract/interface.ts:158](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/interface.ts#L158) + +--- + +### getVersion + +▸ **getVersion**(): `Promise`<[`ContractVersion`](../namespaces/types.md#contractversion)\> + +Retrieves the version of the contract (cairo version & compiler version) + +#### Returns + +`Promise`<[`ContractVersion`](../namespaces/types.md#contractversion)\> + +#### Defined in + +[src/contract/interface.ts:163](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/interface.ts#L163) + +--- + +### typedv2 + +▸ **typedv2**<`TAbi`\>(`tAbi`): `TypedContractV2`<`TAbi`\> + +Returns a typed instance of ContractV2 based on the supplied ABI. + +#### Type parameters + +| Name | Type | +| :----- | :------------------------------------------------------------------------------------------------------------------------------ | +| `TAbi` | extends readonly (`AbiImpl` \| `AbiFunction` \| `AbiInterface` \| `AbiConstructor` \| `AbiEvent` \| `AbiStruct` \| `AbiEnum`)[] | + +#### Parameters + +| Name | Type | Description | +| :----- | :----- | :----------------------------------------------------- | +| `tAbi` | `TAbi` | The ABI (Abstract Binary Interface) of the ContractV2. | + +#### Returns + +`TypedContractV2`<`TAbi`\> + +- A typed instance of ContractV2. + +#### Defined in + +[src/contract/interface.ts:171](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/interface.ts#L171) diff --git a/www/versioned_docs/version-6.11.0/API/classes/CustomError.md b/www/versioned_docs/version-6.11.0/API/classes/CustomError.md new file mode 100644 index 000000000..6f7f56558 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/classes/CustomError.md @@ -0,0 +1,171 @@ +--- +id: 'CustomError' +title: 'Class: CustomError' +sidebar_label: 'CustomError' +sidebar_position: 0 +custom_edit_url: null +--- + +## Hierarchy + +- `Error` + + ↳ **`CustomError`** + + ↳↳ [`LibraryError`](LibraryError.md) + +## Constructors + +### constructor + +• **new CustomError**(`message?`): [`CustomError`](CustomError.md) + +#### Parameters + +| Name | Type | +| :--------- | :------- | +| `message?` | `string` | + +#### Returns + +[`CustomError`](CustomError.md) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/provider/errors.ts:18](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/errors.ts#L18) + +## Properties + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +Optional override for formatting stack traces + +##### Parameters + +| Name | Type | +| :------------ | :----------- | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:28 + +--- + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:30 + +--- + +### name + +• **name**: `string` + +#### Overrides + +Error.name + +#### Defined in + +[src/provider/errors.ts:16](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/errors.ts#L16) + +--- + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +www/node_modules/typescript/lib/lib.es5.d.ts:1055 + +--- + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +www/node_modules/typescript/lib/lib.es5.d.ts:1056 + +--- + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +www/node_modules/typescript/lib/lib.es2022.error.d.ts:24 + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :---------------- | :--------- | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:21 diff --git a/www/versioned_docs/version-6.11.0/API/classes/EthSigner.md b/www/versioned_docs/version-6.11.0/API/classes/EthSigner.md new file mode 100644 index 000000000..c490ab572 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/classes/EthSigner.md @@ -0,0 +1,301 @@ +--- +id: 'EthSigner' +title: 'Class: EthSigner' +sidebar_label: 'EthSigner' +sidebar_position: 0 +custom_edit_url: null +--- + +Signer for accounts using Ethereum signature + +## Implements + +- [`SignerInterface`](SignerInterface.md) + +## Constructors + +### constructor + +• **new EthSigner**(`pk?`): [`EthSigner`](EthSigner.md) + +#### Parameters + +| Name | Type | +| :--- | :----------------------- | +| `pk` | `string` \| `Uint8Array` | + +#### Returns + +[`EthSigner`](EthSigner.md) + +#### Defined in + +[src/signer/ethSigner.ts:42](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/signer/ethSigner.ts#L42) + +## Properties + +### pk + +• `Protected` **pk**: `string` + +#### Defined in + +[src/signer/ethSigner.ts:40](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/signer/ethSigner.ts#L40) + +## Methods + +### getPubKey + +▸ **getPubKey**(): `Promise`<`string`\> + +provides the Ethereum full public key (without parity prefix) + +#### Returns + +`Promise`<`string`\> + +an hex string : 64 first characters are Point X coordinate. 64 last characters are Point Y coordinate. + +#### Implementation of + +[SignerInterface](SignerInterface.md).[getPubKey](SignerInterface.md#getpubkey) + +#### Defined in + +[src/signer/ethSigner.ts:53](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/signer/ethSigner.ts#L53) + +--- + +### signMessage + +▸ **signMessage**(`typedData`, `accountAddress`): `Promise`<[`Signature`](../namespaces/types.md#signature)\> + +Signs a JSON object for off-chain usage with the private key and returns the signature. +This adds a message prefix so it can't be interchanged with transactions + +#### Parameters + +| Name | Type | Description | +| :--------------- | :----------------------------------------------------------------------- | :---------------------------------- | +| `typedData` | [`TypedData`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.TypedData.md) | JSON object to be signed | +| `accountAddress` | `string` | Hex string of the account's address | + +#### Returns + +`Promise`<[`Signature`](../namespaces/types.md#signature)\> + +the signature of the message + +**`Example`** + +```typescript +const mySigner = new Signer('0x123'); +const myTypedData: TypedData = { + domain: { name: 'Example DApp', chainId: constants.StarknetChainId.SN_SEPOLIA, version: '0.0.3' }, + types: { + StarkNetDomain: [ + { name: 'name', type: 'string' }, + { name: 'chainId', type: 'felt' }, + { name: 'version', type: 'string' }, + ], + Message: [{ name: 'message', type: 'felt' }], + }, + primaryType: 'Message', + message: { message: '1234' }, +}; +const result = await mySigner.signMessage( + myTypedData, + '0x5d08a4e9188429da4e993c9bf25aafe5cd491ee2b501505d4d059f0c938f82d' +); +// result = Signature {r: 684915484701699003335398790608214855489903651271362390249153620883122231253n, +// s: 1399150959912500412309102776989465580949387575375484933432871778355496929189n, recovery: 1} +``` + +#### Implementation of + +[SignerInterface](SignerInterface.md).[signMessage](SignerInterface.md#signmessage) + +#### Defined in + +[src/signer/ethSigner.ts:59](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/signer/ethSigner.ts#L59) + +--- + +### signTransaction + +▸ **signTransaction**(`transactions`, `details`): `Promise`<[`Signature`](../namespaces/types.md#signature)\> + +Signs transactions with the private key and returns the signature + +#### Parameters + +| Name | Type | Description | +| :------------- | :---------------------------------------------------------------------------- | :------------------------------ | +| `transactions` | [`Call`](../namespaces/types.md#call)[] | array of Call objects | +| `details` | [`InvocationsSignerDetails`](../namespaces/types.md#invocationssignerdetails) | InvocationsSignerDetails object | + +#### Returns + +`Promise`<[`Signature`](../namespaces/types.md#signature)\> + +the signature of the transaction + +**`Example`** + +```typescript +const mySigner = new Signer('0x123'); +const calls: Call[] = [ + { + contractAddress: '0x1234567890123456789012345678901234567890', + entrypoint: 'functionName', + calldata: [1, 2, 3], + }, +]; +const transactionsDetail: InvocationsSignerDetails = { + walletAddress: '0x742d35Cc6634C0532925a3b844Bc454e4438f44e', + chainId: constants.StarknetChainId.SN_MAIN, + cairoVersion: '1', + maxFee: '0x1234567890abcdef', + version: '0x0', + nonce: 1, +}; +const result = await mySigner.signTransaction(calls, transactionsDetail); +// result = Signature {r: 304910226421970384958146916800275294114105560641204815169249090836676768876n, +// s: 1072798866000813654190523783606274062837012608648308896325315895472901074693n, recovery: 0} +``` + +#### Implementation of + +[SignerInterface](SignerInterface.md).[signTransaction](SignerInterface.md#signtransaction) + +#### Defined in + +[src/signer/ethSigner.ts:68](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/signer/ethSigner.ts#L68) + +--- + +### signDeployAccountTransaction + +▸ **signDeployAccountTransaction**(`details`): `Promise`<[`Signature`](../namespaces/types.md#signature)\> + +Signs a DEPLOY_ACCOUNT transaction with the private key and returns the signature + +#### Parameters + +| Name | Type | Description | +| :-------- | :-------------------------------------------------------------------------------- | :---------------------------- | +| `details` | [`DeployAccountSignerDetails`](../namespaces/types.md#deployaccountsignerdetails) | to deploy an account contract | + +#### Returns + +`Promise`<[`Signature`](../namespaces/types.md#signature)\> + +the signature of the transaction to deploy an account + +**`Example`** + +```typescript +const mySigner = new Signer('0x123'); +const myDeployAcc: DeployAccountSignerDetails = { + contractAddress: '0x65a822fbee1ae79e898688b5a4282dc79e0042cbed12f6169937fddb4c26641', + version: '0x2', + chainId: constants.StarknetChainId.SN_SEPOLIA, + classHash: '0x5f3614e8671257aff9ac38e929c74d65b02d460ae966cd826c9f04a7fa8e0d4', + constructorCalldata: [1, 2], + addressSalt: 1234, + nonce: 45, + maxFee: 10 ** 15, + tip: 0, + paymasterData: [], + accountDeploymentData: [], + nonceDataAvailabilityMode: RPC.EDataAvailabilityMode.L1, + feeDataAvailabilityMode: RPC.EDataAvailabilityMode.L1, + resourceBounds: stark.estimateFeeToBounds(constants.ZERO), +}; +const result = await mySigner.signDeployAccountTransaction(myDeployAcc); +// result = Signature {r: 2871311234341436528393212130310036951068553852419934781736214693308640202748n, +// s: 1746271646048888422437132495446973163454853863041370993384284773665861377605n, recovery: 1} +``` + +#### Implementation of + +[SignerInterface](SignerInterface.md).[signDeployAccountTransaction](SignerInterface.md#signdeployaccounttransaction) + +#### Defined in + +[src/signer/ethSigner.ts:104](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/signer/ethSigner.ts#L104) + +--- + +### signDeclareTransaction + +▸ **signDeclareTransaction**(`details`): `Promise`<[`Signature`](../namespaces/types.md#signature)\> + +Signs a DECLARE transaction with the private key and returns the signature + +#### Parameters + +| Name | Type | Description | +| :-------- | :-------------------------------------------------------------------- | :----------------- | +| `details` | [`DeclareSignerDetails`](../namespaces/types.md#declaresignerdetails) | to declare a class | + +#### Returns + +`Promise`<[`Signature`](../namespaces/types.md#signature)\> + +the signature of the transaction to declare a class + +**`Example`** + +```typescript +const mySigner = new Signer('0x123'); +const myDeclare: DeclareSignerDetails = { + version: '0x2', + chainId: constants.StarknetChainId.SN_SEPOLIA, + senderAddress: '0x65a822fbee1ae79e898688b5a4282dc79e0042cbed12f6169937fddb4c26641', + classHash: '0x5f3614e8671257aff9ac38e929c74d65b02d460ae966cd826c9f04a7fa8e0d4', + nonce: 45, + maxFee: 10 ** 15, + tip: 0, + paymasterData: [], + accountDeploymentData: [], + nonceDataAvailabilityMode: RPC.EDataAvailabilityMode.L1, + feeDataAvailabilityMode: RPC.EDataAvailabilityMode.L1, + resourceBounds: stark.estimateFeeToBounds(constants.ZERO), +}; +const result = await mySigner.signDeclareTransaction(myDeclare); +// result = Signature {r: 2432056944313955951711774394836075930010416436707488863728289188289211995670n, +// s: 3407649393310177489888603098175002856596469926897298636282244411990343146307n, recovery: 1} +``` + +#### Implementation of + +[SignerInterface](SignerInterface.md).[signDeclareTransaction](SignerInterface.md#signdeclaretransaction) + +#### Defined in + +[src/signer/ethSigner.ts:139](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/signer/ethSigner.ts#L139) + +--- + +### formatEthSignature + +▸ **formatEthSignature**(`ethSignature`): [`ArraySignatureType`](../namespaces/types.md#arraysignaturetype) + +Serialize the signature in conformity with starknet::eth_signature::Signature + +#### Parameters + +| Name | Type | Description | +| :------------- | :--------------------------------------------------------------------------------- | :-------------------------------------------- | +| `ethSignature` | [`RecoveredSignatureType`](../namespaces/ec.weierstrass.md#recoveredsignaturetype) | secp256k1 signature from Noble curves library | + +#### Returns + +[`ArraySignatureType`](../namespaces/types.md#arraysignaturetype) + +an array of felts, representing a Cairo Eth Signature. + +#### Defined in + +[src/signer/ethSigner.ts:175](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/signer/ethSigner.ts#L175) diff --git a/www/versioned_docs/version-6.11.0/API/classes/GatewayError.md b/www/versioned_docs/version-6.11.0/API/classes/GatewayError.md new file mode 100644 index 000000000..3331e1768 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/classes/GatewayError.md @@ -0,0 +1,180 @@ +--- +id: 'GatewayError' +title: 'Class: GatewayError' +sidebar_label: 'GatewayError' +sidebar_position: 0 +custom_edit_url: null +--- + +## Hierarchy + +- [`LibraryError`](LibraryError.md) + + ↳ **`GatewayError`** + +## Constructors + +### constructor + +• **new GatewayError**(`message`, `errorCode`): [`GatewayError`](GatewayError.md) + +#### Parameters + +| Name | Type | +| :---------- | :------- | +| `message` | `string` | +| `errorCode` | `string` | + +#### Returns + +[`GatewayError`](GatewayError.md) + +#### Overrides + +[LibraryError](LibraryError.md).[constructor](LibraryError.md#constructor) + +#### Defined in + +[src/provider/errors.ts:40](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/errors.ts#L40) + +## Properties + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +Optional override for formatting stack traces + +##### Parameters + +| Name | Type | +| :------------ | :----------- | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Inherited from + +[LibraryError](LibraryError.md).[prepareStackTrace](LibraryError.md#preparestacktrace) + +#### Defined in + +node_modules/@types/node/globals.d.ts:28 + +--- + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +[LibraryError](LibraryError.md).[stackTraceLimit](LibraryError.md#stacktracelimit) + +#### Defined in + +node_modules/@types/node/globals.d.ts:30 + +--- + +### errorCode + +• **errorCode**: `string` + +#### Defined in + +[src/provider/errors.ts:42](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/errors.ts#L42) + +--- + +### name + +• **name**: `string` + +#### Inherited from + +[LibraryError](LibraryError.md).[name](LibraryError.md#name) + +#### Defined in + +[src/provider/errors.ts:16](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/errors.ts#L16) + +--- + +### message + +• **message**: `string` + +#### Inherited from + +[LibraryError](LibraryError.md).[message](LibraryError.md#message) + +#### Defined in + +www/node_modules/typescript/lib/lib.es5.d.ts:1055 + +--- + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +[LibraryError](LibraryError.md).[stack](LibraryError.md#stack) + +#### Defined in + +www/node_modules/typescript/lib/lib.es5.d.ts:1056 + +--- + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +[LibraryError](LibraryError.md).[cause](LibraryError.md#cause) + +#### Defined in + +www/node_modules/typescript/lib/lib.es2022.error.d.ts:24 + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :---------------- | :--------- | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +[LibraryError](LibraryError.md).[captureStackTrace](LibraryError.md#capturestacktrace) + +#### Defined in + +node_modules/@types/node/globals.d.ts:21 diff --git a/www/versioned_docs/version-6.11.0/API/classes/HttpError.md b/www/versioned_docs/version-6.11.0/API/classes/HttpError.md new file mode 100644 index 000000000..96f76372c --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/classes/HttpError.md @@ -0,0 +1,180 @@ +--- +id: 'HttpError' +title: 'Class: HttpError' +sidebar_label: 'HttpError' +sidebar_position: 0 +custom_edit_url: null +--- + +## Hierarchy + +- [`LibraryError`](LibraryError.md) + + ↳ **`HttpError`** + +## Constructors + +### constructor + +• **new HttpError**(`message`, `errorCode`): [`HttpError`](HttpError.md) + +#### Parameters + +| Name | Type | +| :---------- | :------- | +| `message` | `string` | +| `errorCode` | `number` | + +#### Returns + +[`HttpError`](HttpError.md) + +#### Overrides + +[LibraryError](LibraryError.md).[constructor](LibraryError.md#constructor) + +#### Defined in + +[src/provider/errors.ts:49](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/errors.ts#L49) + +## Properties + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +Optional override for formatting stack traces + +##### Parameters + +| Name | Type | +| :------------ | :----------- | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Inherited from + +[LibraryError](LibraryError.md).[prepareStackTrace](LibraryError.md#preparestacktrace) + +#### Defined in + +node_modules/@types/node/globals.d.ts:28 + +--- + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +[LibraryError](LibraryError.md).[stackTraceLimit](LibraryError.md#stacktracelimit) + +#### Defined in + +node_modules/@types/node/globals.d.ts:30 + +--- + +### errorCode + +• **errorCode**: `number` + +#### Defined in + +[src/provider/errors.ts:51](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/errors.ts#L51) + +--- + +### name + +• **name**: `string` + +#### Inherited from + +[LibraryError](LibraryError.md).[name](LibraryError.md#name) + +#### Defined in + +[src/provider/errors.ts:16](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/errors.ts#L16) + +--- + +### message + +• **message**: `string` + +#### Inherited from + +[LibraryError](LibraryError.md).[message](LibraryError.md#message) + +#### Defined in + +www/node_modules/typescript/lib/lib.es5.d.ts:1055 + +--- + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +[LibraryError](LibraryError.md).[stack](LibraryError.md#stack) + +#### Defined in + +www/node_modules/typescript/lib/lib.es5.d.ts:1056 + +--- + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +[LibraryError](LibraryError.md).[cause](LibraryError.md#cause) + +#### Defined in + +www/node_modules/typescript/lib/lib.es2022.error.d.ts:24 + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :---------------- | :--------- | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +[LibraryError](LibraryError.md).[captureStackTrace](LibraryError.md#capturestacktrace) + +#### Defined in + +node_modules/@types/node/globals.d.ts:21 diff --git a/www/versioned_docs/version-6.11.0/API/classes/LibraryError.md b/www/versioned_docs/version-6.11.0/API/classes/LibraryError.md new file mode 100644 index 000000000..91c8c3f04 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/classes/LibraryError.md @@ -0,0 +1,173 @@ +--- +id: 'LibraryError' +title: 'Class: LibraryError' +sidebar_label: 'LibraryError' +sidebar_position: 0 +custom_edit_url: null +--- + +## Hierarchy + +- [`CustomError`](CustomError.md) + + ↳ **`LibraryError`** + + ↳↳ [`GatewayError`](GatewayError.md) + + ↳↳ [`HttpError`](HttpError.md) + +## Constructors + +### constructor + +• **new LibraryError**(`message?`): [`LibraryError`](LibraryError.md) + +#### Parameters + +| Name | Type | +| :--------- | :------- | +| `message?` | `string` | + +#### Returns + +[`LibraryError`](LibraryError.md) + +#### Inherited from + +[CustomError](CustomError.md).[constructor](CustomError.md#constructor) + +#### Defined in + +[src/provider/errors.ts:18](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/errors.ts#L18) + +## Properties + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +Optional override for formatting stack traces + +##### Parameters + +| Name | Type | +| :------------ | :----------- | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Inherited from + +[CustomError](CustomError.md).[prepareStackTrace](CustomError.md#preparestacktrace) + +#### Defined in + +node_modules/@types/node/globals.d.ts:28 + +--- + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +[CustomError](CustomError.md).[stackTraceLimit](CustomError.md#stacktracelimit) + +#### Defined in + +node_modules/@types/node/globals.d.ts:30 + +--- + +### name + +• **name**: `string` + +#### Inherited from + +[CustomError](CustomError.md).[name](CustomError.md#name) + +#### Defined in + +[src/provider/errors.ts:16](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/errors.ts#L16) + +--- + +### message + +• **message**: `string` + +#### Inherited from + +[CustomError](CustomError.md).[message](CustomError.md#message) + +#### Defined in + +www/node_modules/typescript/lib/lib.es5.d.ts:1055 + +--- + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +[CustomError](CustomError.md).[stack](CustomError.md#stack) + +#### Defined in + +www/node_modules/typescript/lib/lib.es5.d.ts:1056 + +--- + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +[CustomError](CustomError.md).[cause](CustomError.md#cause) + +#### Defined in + +www/node_modules/typescript/lib/lib.es2022.error.d.ts:24 + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :---------------- | :--------- | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +[CustomError](CustomError.md).[captureStackTrace](CustomError.md#capturestacktrace) + +#### Defined in + +node_modules/@types/node/globals.d.ts:21 diff --git a/www/versioned_docs/version-6.11.0/API/classes/Provider.md b/www/versioned_docs/version-6.11.0/API/classes/Provider.md new file mode 100644 index 000000000..fa7e43d8b --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/classes/Provider.md @@ -0,0 +1,1495 @@ +--- +id: 'Provider' +title: 'Class: Provider' +sidebar_label: 'Provider' +sidebar_position: 0 +custom_edit_url: null +--- + +## Hierarchy + +- `RpcProvider`<`this`\> & `StarknetId`<`this`\> + + ↳ **`Provider`** + + ↳↳ [`Account`](Account.md) + +## Constructors + +### constructor + +• **new Provider**(`optionsOrProvider?`): [`Provider`](Provider.md) + +#### Parameters + +| Name | Type | +| :------------------- | :-------------------------------------------------------------------------------------------------------------------------------- | +| `optionsOrProvider?` | [`RpcProviderOptions`](../namespaces/types.md#rpcprovideroptions) \| [`ProviderInterface`](ProviderInterface.md) \| `RpcProvider` | + +#### Returns + +[`Provider`](Provider.md) + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).constructor + +#### Defined in + +[src/provider/rpc.ts:50](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L50) + +• **new Provider**(): [`Provider`](Provider.md) + +#### Returns + +[`Provider`](Provider.md) + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).constructor + +## Properties + +### responseParser + +• **responseParser**: [`RPCResponseParser`](RPCResponseParser.md) + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).responseParser + +#### Defined in + +[src/provider/rpc.ts:46](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L46) + +--- + +### channel + +• **channel**: [`RpcChannel`](RPC06.RpcChannel.md) \| [`RpcChannel`](RPC07.RpcChannel.md) + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).channel + +#### Defined in + +[src/provider/rpc.ts:48](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L48) + +--- + +### getStateUpdate + +• **getStateUpdate**: () => `Promise`<\{ `block_hash`: `never` ; `old_root`: `string` ; `state_diff`: \{ storage_diffs: \{ address: string; storage_entries: \{ key: string; value: string; }[]; }[]; deprecated_declared_classes: string[]; declared_classes: \{ class_hash: string; compiled_class_hash: string; }[]; deployed_contracts: \{ ...; }[]; replaced_classes: \{ ...; }[]; nonces: \{ ...; }[]; } }\>(`blockIdentifier`: `"pending"`) => `Promise`<\{ `block_hash`: `never` ; `old_root`: `string` ; `state_diff`: \{ storage_diffs: \{ address: string; storage_entries: \{ key: string; value: string; }[]; }[]; deprecated_declared_classes: string[]; declared_classes: \{ class_hash: string; compiled_class_hash: string; }[]; deployed_contracts: \{ ...; }[]; replaced_classes: \{ ...; }[]; nonces: \{ ...; }[]; } }\>(`blockIdentifier`: `"latest"`) => `Promise`<\{ `block_hash`: `string` ; `old_root`: `string` ; `new_root`: `string` ; `state_diff`: \{ storage_diffs: \{ address: string; storage_entries: \{ key: string; value: string; }[]; }[]; deprecated_declared_classes: string[]; declared_classes: \{ class_hash: string; compiled_class_hash: string; }[]; deployed_contracts: \{ ...; }[]; replaced_classes: \{ ...; }[]; nonces: \{ ...; }[]; } }\>(`blockIdentifier?`: [`BlockIdentifier`](../namespaces/types.md#blockidentifier)) => `Promise`<[`StateUpdateResponse`](../namespaces/types.md#stateupdateresponse)\> + +#### Type declaration + +▸ (): `Promise`<\{ `block_hash`: `never` ; `old_root`: `string` ; `state_diff`: \{ storage_diffs: \{ address: string; storage_entries: \{ key: string; value: string; }[]; }[]; deprecated_declared_classes: string[]; declared_classes: \{ class_hash: string; compiled_class_hash: string; }[]; deployed_contracts: \{ ...; }[]; replaced_classes: \{ ...; }[]; nonces: \{ ...; }[]; } }\> + +##### Returns + +`Promise`<\{ `block_hash`: `never` ; `old_root`: `string` ; `state_diff`: \{ storage_diffs: \{ address: string; storage_entries: \{ key: string; value: string; }[]; }[]; deprecated_declared_classes: string[]; declared_classes: \{ class_hash: string; compiled_class_hash: string; }[]; deployed_contracts: \{ ...; }[]; replaced_classes: \{ ...; }[]; nonces: \{ ...; }[]; } }\> + +▸ (`blockIdentifier`): `Promise`<\{ `block_hash`: `never` ; `old_root`: `string` ; `state_diff`: \{ storage_diffs: \{ address: string; storage_entries: \{ key: string; value: string; }[]; }[]; deprecated_declared_classes: string[]; declared_classes: \{ class_hash: string; compiled_class_hash: string; }[]; deployed_contracts: \{ ...; }[]; replaced_classes: \{ ...; }[]; nonces: \{ ...; }[]; } }\> + +##### Parameters + +| Name | Type | +| :---------------- | :---------- | +| `blockIdentifier` | `"pending"` | + +##### Returns + +`Promise`<\{ `block_hash`: `never` ; `old_root`: `string` ; `state_diff`: \{ storage_diffs: \{ address: string; storage_entries: \{ key: string; value: string; }[]; }[]; deprecated_declared_classes: string[]; declared_classes: \{ class_hash: string; compiled_class_hash: string; }[]; deployed_contracts: \{ ...; }[]; replaced_classes: \{ ...; }[]; nonces: \{ ...; }[]; } }\> + +▸ (`blockIdentifier`): `Promise`<\{ `block_hash`: `string` ; `old_root`: `string` ; `new_root`: `string` ; `state_diff`: \{ storage_diffs: \{ address: string; storage_entries: \{ key: string; value: string; }[]; }[]; deprecated_declared_classes: string[]; declared_classes: \{ class_hash: string; compiled_class_hash: string; }[]; deployed_contracts: \{ ...; }[]; replaced_classes: \{ ...; }[]; nonces: \{ ...; }[]; } }\> + +##### Parameters + +| Name | Type | +| :---------------- | :--------- | +| `blockIdentifier` | `"latest"` | + +##### Returns + +`Promise`<\{ `block_hash`: `string` ; `old_root`: `string` ; `new_root`: `string` ; `state_diff`: \{ storage_diffs: \{ address: string; storage_entries: \{ key: string; value: string; }[]; }[]; deprecated_declared_classes: string[]; declared_classes: \{ class_hash: string; compiled_class_hash: string; }[]; deployed_contracts: \{ ...; }[]; replaced_classes: \{ ...; }[]; nonces: \{ ...; }[]; } }\> + +▸ (`blockIdentifier?`): `Promise`<[`StateUpdateResponse`](../namespaces/types.md#stateupdateresponse)\> + +##### Parameters + +| Name | Type | +| :----------------- | :---------------------------------------------------------- | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +##### Returns + +`Promise`<[`StateUpdateResponse`](../namespaces/types.md#stateupdateresponse)\> + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).getStateUpdate + +#### Defined in + +[src/provider/rpc.ts:192](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L192) + +## Methods + +### getStarkName + +▸ **getStarkName**(`provider`, `address`, `StarknetIdContract?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :-------------------- | :---------------------------------------------------- | +| `provider` | [`ProviderInterface`](ProviderInterface.md) | +| `address` | [`BigNumberish`](../namespaces/types.md#bignumberish) | +| `StarknetIdContract?` | `string` | + +#### Returns + +`Promise`<`string`\> + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).getStarkName + +#### Defined in + +[src/provider/extensions/starknetId.ts:61](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/extensions/starknetId.ts#L61) + +--- + +### getAddressFromStarkName + +▸ **getAddressFromStarkName**(`provider`, `name`, `StarknetIdContract?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :-------------------- | :------------------------------------------ | +| `provider` | [`ProviderInterface`](ProviderInterface.md) | +| `name` | `string` | +| `StarknetIdContract?` | `string` | + +#### Returns + +`Promise`<`string`\> + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).getAddressFromStarkName + +#### Defined in + +[src/provider/extensions/starknetId.ts:95](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/extensions/starknetId.ts#L95) + +--- + +### getStarkProfile + +▸ **getStarkProfile**(`provider`, `address`, `StarknetIdContract?`, `StarknetIdIdentityContract?`, `StarknetIdVerifierContract?`, `StarknetIdPfpContract?`, `StarknetIdPopContract?`, `StarknetIdMulticallContract?`): `Promise`<[`StarkProfile`](../namespaces/types.md#starkprofile)\> + +#### Parameters + +| Name | Type | +| :----------------------------- | :---------------------------------------------------- | +| `provider` | [`ProviderInterface`](ProviderInterface.md) | +| `address` | [`BigNumberish`](../namespaces/types.md#bignumberish) | +| `StarknetIdContract?` | `string` | +| `StarknetIdIdentityContract?` | `string` | +| `StarknetIdVerifierContract?` | `string` | +| `StarknetIdPfpContract?` | `string` | +| `StarknetIdPopContract?` | `string` | +| `StarknetIdMulticallContract?` | `string` | + +#### Returns + +`Promise`<[`StarkProfile`](../namespaces/types.md#starkprofile)\> + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).getStarkProfile + +#### Defined in + +[src/provider/extensions/starknetId.ts:121](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/extensions/starknetId.ts#L121) + +--- + +### fetch + +▸ **fetch**(`method`, `params?`, `id?`): `Promise`<`Response`\> + +#### Parameters + +| Name | Type | Default value | +| :-------- | :------------------- | :------------ | +| `method` | `string` | `undefined` | +| `params?` | `object` | `undefined` | +| `id` | `string` \| `number` | `0` | + +#### Returns + +`Promise`<`Response`\> + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).fetch + +#### Defined in + +[src/provider/rpc.ts:63](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L63) + +--- + +### getChainId + +▸ **getChainId**(): `Promise`<[`StarknetChainId`](../enums/constants.StarknetChainId.md)\> + +#### Returns + +`Promise`<[`StarknetChainId`](../enums/constants.StarknetChainId.md)\> + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).getChainId + +#### Defined in + +[src/provider/rpc.ts:67](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L67) + +--- + +### getSpecVersion + +▸ **getSpecVersion**(): `Promise`<`string`\> + +#### Returns + +`Promise`<`string`\> + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).getSpecVersion + +#### Defined in + +[src/provider/rpc.ts:71](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L71) + +--- + +### getNonceForAddress + +▸ **getNonceForAddress**(`contractAddress`, `blockIdentifier?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :----------------- | :---------------------------------------------------------- | +| `contractAddress` | [`BigNumberish`](../namespaces/types.md#bignumberish) | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<`string`\> + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).getNonceForAddress + +#### Defined in + +[src/provider/rpc.ts:75](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L75) + +--- + +### getBlock + +▸ **getBlock**(): `Promise`<[`PendingBlock`](../namespaces/types.md#pendingblock)\> + +#### Returns + +`Promise`<[`PendingBlock`](../namespaces/types.md#pendingblock)\> + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).getBlock + +#### Defined in + +[src/provider/rpc.ts:82](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L82) + +▸ **getBlock**(`blockIdentifier`): `Promise`<[`PendingBlock`](../namespaces/types.md#pendingblock)\> + +#### Parameters + +| Name | Type | +| :---------------- | :---------- | +| `blockIdentifier` | `"pending"` | + +#### Returns + +`Promise`<[`PendingBlock`](../namespaces/types.md#pendingblock)\> + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).getBlock + +#### Defined in + +[src/provider/rpc.ts:83](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L83) + +▸ **getBlock**(`blockIdentifier`): `Promise`<[`Block`](../namespaces/types.md#block)\> + +#### Parameters + +| Name | Type | +| :---------------- | :--------- | +| `blockIdentifier` | `"latest"` | + +#### Returns + +`Promise`<[`Block`](../namespaces/types.md#block)\> + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).getBlock + +#### Defined in + +[src/provider/rpc.ts:84](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L84) + +▸ **getBlock**(`blockIdentifier?`): `Promise`<[`GetBlockResponse`](../namespaces/types.md#getblockresponse)\> + +#### Parameters + +| Name | Type | +| :----------------- | :---------------------------------------------------------- | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<[`GetBlockResponse`](../namespaces/types.md#getblockresponse)\> + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).getBlock + +#### Defined in + +[src/provider/rpc.ts:85](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L85) + +--- + +### getBlockLatestAccepted + +▸ **getBlockLatestAccepted**(): `Promise`<[`BlockHashAndNumber`](../namespaces/types.RPC.RPCSPEC06.md#blockhashandnumber)\> + +Get the most recent accepted block hash and number + +#### Returns + +`Promise`<[`BlockHashAndNumber`](../namespaces/types.RPC.RPCSPEC06.md#blockhashandnumber)\> + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).getBlockLatestAccepted + +#### Defined in + +[src/provider/rpc.ts:95](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L95) + +--- + +### getBlockNumber + +▸ **getBlockNumber**(): `Promise`<`number`\> + +Get the most recent accepted block number +redundant use getBlockLatestAccepted(); + +#### Returns + +`Promise`<`number`\> + +Number of the latest block + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).getBlockNumber + +#### Defined in + +[src/provider/rpc.ts:104](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L104) + +--- + +### getBlockWithTxHashes + +▸ **getBlockWithTxHashes**(`blockIdentifier?`): `Promise`<[`BlockWithTxHashes`](../namespaces/types.RPC.RPCSPEC06.md#blockwithtxhashes)\> + +#### Parameters + +| Name | Type | +| :----------------- | :---------------------------------------------------------- | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<[`BlockWithTxHashes`](../namespaces/types.RPC.RPCSPEC06.md#blockwithtxhashes)\> + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).getBlockWithTxHashes + +#### Defined in + +[src/provider/rpc.ts:108](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L108) + +--- + +### getBlockWithTxs + +▸ **getBlockWithTxs**(`blockIdentifier?`): `Promise`<[`BlockWithTxs`](../namespaces/types.RPC.RPCSPEC06.md#blockwithtxs)\> + +#### Parameters + +| Name | Type | +| :----------------- | :---------------------------------------------------------- | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<[`BlockWithTxs`](../namespaces/types.RPC.RPCSPEC06.md#blockwithtxs)\> + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).getBlockWithTxs + +#### Defined in + +[src/provider/rpc.ts:112](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L112) + +--- + +### waitForBlock + +▸ **waitForBlock**(`blockIdentifier?`, `retryInterval?`): `Promise`<`void`\> + +Pause the execution of the script until a specified block is created. + +#### Parameters + +| Name | Type | Default value | Description | +| :---------------- | :---------------------------------------------------------- | :------------ | :------------------------------------------------------------------------------------------------------------------------- | +| `blockIdentifier` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | `'pending'` | bloc number (BigNumberisk) or 'pending' or 'latest'. Use of 'latest" or of a block already created will generate no pause. | +| `retryInterval?` | `number` | `5000` | number of milliseconds between 2 requests to the node | + +#### Returns + +`Promise`<`void`\> + +**`Example`** + +```typescript +await myProvider.waitForBlock(); +// wait the creation of the pending block +``` + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).waitForBlock + +#### Defined in + +[src/provider/rpc.ts:127](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L127) + +--- + +### getL1GasPrice + +▸ **getL1GasPrice**(`blockIdentifier?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :----------------- | :---------------------------------------------------------- | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<`string`\> + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).getL1GasPrice + +#### Defined in + +[src/provider/rpc.ts:157](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L157) + +--- + +### getL1MessageHash + +▸ **getL1MessageHash**(`l2TxHash`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :--------- | :---------------------------------------------------- | +| `l2TxHash` | [`BigNumberish`](../namespaces/types.md#bignumberish) | + +#### Returns + +`Promise`<`string`\> + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).getL1MessageHash + +#### Defined in + +[src/provider/rpc.ts:163](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L163) + +--- + +### getBlockWithReceipts + +▸ **getBlockWithReceipts**(`blockIdentifier?`): `Promise`<[`BlockWithTxReceipts`](../namespaces/types.RPC.RPCSPEC07.API.md#blockwithtxreceipts)\> + +#### Parameters + +| Name | Type | +| :----------------- | :---------------------------------------------------------- | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<[`BlockWithTxReceipts`](../namespaces/types.RPC.RPCSPEC07.API.md#blockwithtxreceipts)\> + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).getBlockWithReceipts + +#### Defined in + +[src/provider/rpc.ts:185](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L185) + +--- + +### getBlockStateUpdate + +▸ **getBlockStateUpdate**(): `Promise`<\{ `block_hash`: `never` ; `old_root`: `string` ; `state_diff`: \{ storage_diffs: \{ address: string; storage_entries: \{ key: string; value: string; }[]; }[]; deprecated_declared_classes: string[]; declared_classes: \{ class_hash: string; compiled_class_hash: string; }[]; deployed_contracts: \{ ...; }[]; replaced_classes: \{ ...; }[]; nonces: \{ ...; }[]; } }\> + +#### Returns + +`Promise`<\{ `block_hash`: `never` ; `old_root`: `string` ; `state_diff`: \{ storage_diffs: \{ address: string; storage_entries: \{ key: string; value: string; }[]; }[]; deprecated_declared_classes: string[]; declared_classes: \{ class_hash: string; compiled_class_hash: string; }[]; deployed_contracts: \{ ...; }[]; replaced_classes: \{ ...; }[]; nonces: \{ ...; }[]; } }\> + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).getBlockStateUpdate + +#### Defined in + +[src/provider/rpc.ts:194](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L194) + +▸ **getBlockStateUpdate**(`blockIdentifier`): `Promise`<\{ `block_hash`: `never` ; `old_root`: `string` ; `state_diff`: \{ storage_diffs: \{ address: string; storage_entries: \{ key: string; value: string; }[]; }[]; deprecated_declared_classes: string[]; declared_classes: \{ class_hash: string; compiled_class_hash: string; }[]; deployed_contracts: \{ ...; }[]; replaced_classes: \{ ...; }[]; nonces: \{ ...; }[]; } }\> + +#### Parameters + +| Name | Type | +| :---------------- | :---------- | +| `blockIdentifier` | `"pending"` | + +#### Returns + +`Promise`<\{ `block_hash`: `never` ; `old_root`: `string` ; `state_diff`: \{ storage_diffs: \{ address: string; storage_entries: \{ key: string; value: string; }[]; }[]; deprecated_declared_classes: string[]; declared_classes: \{ class_hash: string; compiled_class_hash: string; }[]; deployed_contracts: \{ ...; }[]; replaced_classes: \{ ...; }[]; nonces: \{ ...; }[]; } }\> + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).getBlockStateUpdate + +#### Defined in + +[src/provider/rpc.ts:195](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L195) + +▸ **getBlockStateUpdate**(`blockIdentifier`): `Promise`<\{ `block_hash`: `string` ; `old_root`: `string` ; `new_root`: `string` ; `state_diff`: \{ storage_diffs: \{ address: string; storage_entries: \{ key: string; value: string; }[]; }[]; deprecated_declared_classes: string[]; declared_classes: \{ class_hash: string; compiled_class_hash: string; }[]; deployed_contracts: \{ ...; }[]; replaced_classes: \{ ...; }[]; nonces: \{ ...; }[]; } }\> + +#### Parameters + +| Name | Type | +| :---------------- | :--------- | +| `blockIdentifier` | `"latest"` | + +#### Returns + +`Promise`<\{ `block_hash`: `string` ; `old_root`: `string` ; `new_root`: `string` ; `state_diff`: \{ storage_diffs: \{ address: string; storage_entries: \{ key: string; value: string; }[]; }[]; deprecated_declared_classes: string[]; declared_classes: \{ class_hash: string; compiled_class_hash: string; }[]; deployed_contracts: \{ ...; }[]; replaced_classes: \{ ...; }[]; nonces: \{ ...; }[]; } }\> + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).getBlockStateUpdate + +#### Defined in + +[src/provider/rpc.ts:196](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L196) + +▸ **getBlockStateUpdate**(`blockIdentifier?`): `Promise`<[`StateUpdateResponse`](../namespaces/types.md#stateupdateresponse)\> + +#### Parameters + +| Name | Type | +| :----------------- | :---------------------------------------------------------- | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<[`StateUpdateResponse`](../namespaces/types.md#stateupdateresponse)\> + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).getBlockStateUpdate + +#### Defined in + +[src/provider/rpc.ts:197](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L197) + +--- + +### getBlockTransactionsTraces + +▸ **getBlockTransactionsTraces**(`blockIdentifier?`): `Promise`<[`BlockTransactionsTraces`](../namespaces/types.RPC.RPCSPEC06.md#blocktransactionstraces)\> + +#### Parameters + +| Name | Type | +| :----------------- | :---------------------------------------------------------- | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<[`BlockTransactionsTraces`](../namespaces/types.RPC.RPCSPEC06.md#blocktransactionstraces)\> + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).getBlockTransactionsTraces + +#### Defined in + +[src/provider/rpc.ts:202](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L202) + +--- + +### getBlockTransactionCount + +▸ **getBlockTransactionCount**(`blockIdentifier?`): `Promise`<`number`\> + +#### Parameters + +| Name | Type | +| :----------------- | :---------------------------------------------------------- | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<`number`\> + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).getBlockTransactionCount + +#### Defined in + +[src/provider/rpc.ts:206](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L206) + +--- + +### getPendingTransactions + +▸ **getPendingTransactions**(): `Promise`<[`TransactionWithHash`](../namespaces/types.RPC.RPCSPEC06.md#transactionwithhash)[]\> + +Return transactions from pending block + +#### Returns + +`Promise`<[`TransactionWithHash`](../namespaces/types.RPC.RPCSPEC06.md#transactionwithhash)[]\> + +**`Deprecated`** + +Instead use getBlock(BlockTag.PENDING); (will be removed in next minor version) +Utility method, same result can be achieved using getBlockWithTxHashes(BlockTag.pending); + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).getPendingTransactions + +#### Defined in + +[src/provider/rpc.ts:215](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L215) + +--- + +### getTransaction + +▸ **getTransaction**(`txHash`): `Promise`<[`TransactionWithHash`](../namespaces/types.RPC.RPCSPEC06.md#transactionwithhash)\> + +#### Parameters + +| Name | Type | +| :------- | :---------------------------------------------------- | +| `txHash` | [`BigNumberish`](../namespaces/types.md#bignumberish) | + +#### Returns + +`Promise`<[`TransactionWithHash`](../namespaces/types.RPC.RPCSPEC06.md#transactionwithhash)\> + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).getTransaction + +#### Defined in + +[src/provider/rpc.ts:222](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L222) + +--- + +### getTransactionByHash + +▸ **getTransactionByHash**(`txHash`): `Promise`<[`TransactionWithHash`](../namespaces/types.RPC.RPCSPEC06.md#transactionwithhash)\> + +#### Parameters + +| Name | Type | +| :------- | :---------------------------------------------------- | +| `txHash` | [`BigNumberish`](../namespaces/types.md#bignumberish) | + +#### Returns + +`Promise`<[`TransactionWithHash`](../namespaces/types.RPC.RPCSPEC06.md#transactionwithhash)\> + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).getTransactionByHash + +#### Defined in + +[src/provider/rpc.ts:226](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L226) + +--- + +### getTransactionByBlockIdAndIndex + +▸ **getTransactionByBlockIdAndIndex**(`blockIdentifier`, `index`): `Promise`<[`TransactionWithHash`](../namespaces/types.RPC.RPCSPEC06.md#transactionwithhash)\> + +#### Parameters + +| Name | Type | +| :---------------- | :---------------------------------------------------------- | +| `blockIdentifier` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | +| `index` | `number` | + +#### Returns + +`Promise`<[`TransactionWithHash`](../namespaces/types.RPC.RPCSPEC06.md#transactionwithhash)\> + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).getTransactionByBlockIdAndIndex + +#### Defined in + +[src/provider/rpc.ts:230](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L230) + +--- + +### getTransactionReceipt + +▸ **getTransactionReceipt**(`txHash`): `Promise`<[`GetTransactionReceiptResponse`](../modules.md#gettransactionreceiptresponse)\> + +#### Parameters + +| Name | Type | +| :------- | :---------------------------------------------------- | +| `txHash` | [`BigNumberish`](../namespaces/types.md#bignumberish) | + +#### Returns + +`Promise`<[`GetTransactionReceiptResponse`](../modules.md#gettransactionreceiptresponse)\> + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).getTransactionReceipt + +#### Defined in + +[src/provider/rpc.ts:234](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L234) + +--- + +### getTransactionTrace + +▸ **getTransactionTrace**(`txHash`): `Promise`<[`TRANSACTION_TRACE`](../namespaces/types.RPC.RPCSPEC06.SPEC.md#transaction_trace)\> + +#### Parameters + +| Name | Type | +| :------- | :---------------------------------------------------- | +| `txHash` | [`BigNumberish`](../namespaces/types.md#bignumberish) | + +#### Returns + +`Promise`<[`TRANSACTION_TRACE`](../namespaces/types.RPC.RPCSPEC06.SPEC.md#transaction_trace)\> + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).getTransactionTrace + +#### Defined in + +[src/provider/rpc.ts:241](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L241) + +--- + +### getTransactionStatus + +▸ **getTransactionStatus**(`transactionHash`): `Promise`<[`TransactionStatus`](../namespaces/types.RPC.RPCSPEC06.md#transactionstatus)\> + +Get the status of a transaction + +#### Parameters + +| Name | Type | +| :---------------- | :---------------------------------------------------- | +| `transactionHash` | [`BigNumberish`](../namespaces/types.md#bignumberish) | + +#### Returns + +`Promise`<[`TransactionStatus`](../namespaces/types.RPC.RPCSPEC06.md#transactionstatus)\> + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).getTransactionStatus + +#### Defined in + +[src/provider/rpc.ts:248](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L248) + +--- + +### getSimulateTransaction + +▸ **getSimulateTransaction**(`invocations`, `options?`): `Promise`<[`SimulateTransactionResponse`](../namespaces/types.md#simulatetransactionresponse)\> + +#### Parameters + +| Name | Type | Description | +| :------------ | :-------------------------------------------------------------------------------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `invocations` | [`AccountInvocations`](../namespaces/types.md#accountinvocations) | AccountInvocations | +| `options?` | [`getSimulateTransactionOptions`](../namespaces/types.md#getsimulatetransactionoptions) | blockIdentifier and flags to skip validation and fee charge
- blockIdentifier
- skipValidate (default false)
- skipFeeCharge (default true)
| + +#### Returns + +`Promise`<[`SimulateTransactionResponse`](../namespaces/types.md#simulatetransactionresponse)\> + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).getSimulateTransaction + +#### Defined in + +[src/provider/rpc.ts:259](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L259) + +--- + +### waitForTransaction + +▸ **waitForTransaction**(`txHash`, `options?`): `Promise`<[`GetTransactionReceiptResponse`](../modules.md#gettransactionreceiptresponse)\> + +#### Parameters + +| Name | Type | +| :--------- | :------------------------------------------------------------------------------ | +| `txHash` | [`BigNumberish`](../namespaces/types.md#bignumberish) | +| `options?` | [`waitForTransactionOptions`](../namespaces/types.md#waitfortransactionoptions) | + +#### Returns + +`Promise`<[`GetTransactionReceiptResponse`](../modules.md#gettransactionreceiptresponse)\> + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).waitForTransaction + +#### Defined in + +[src/provider/rpc.ts:269](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L269) + +--- + +### getStorageAt + +▸ **getStorageAt**(`contractAddress`, `key`, `blockIdentifier?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :----------------- | :---------------------------------------------------------- | +| `contractAddress` | [`BigNumberish`](../namespaces/types.md#bignumberish) | +| `key` | [`BigNumberish`](../namespaces/types.md#bignumberish) | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<`string`\> + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).getStorageAt + +#### Defined in + +[src/provider/rpc.ts:281](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L281) + +--- + +### getClassHashAt + +▸ **getClassHashAt**(`contractAddress`, `blockIdentifier?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :----------------- | :---------------------------------------------------------- | +| `contractAddress` | [`BigNumberish`](../namespaces/types.md#bignumberish) | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<`string`\> + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).getClassHashAt + +#### Defined in + +[src/provider/rpc.ts:289](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L289) + +--- + +### getClassByHash + +▸ **getClassByHash**(`classHash`): `Promise`<[`LegacyContractClass`](../namespaces/types.md#legacycontractclass) \| `Omit`<[`CompiledSierra`](../namespaces/types.md#compiledsierra), `"sierra_program_debug_info"`\>\> + +#### Parameters + +| Name | Type | +| :---------- | :---------------------------------------------------- | +| `classHash` | [`BigNumberish`](../namespaces/types.md#bignumberish) | + +#### Returns + +`Promise`<[`LegacyContractClass`](../namespaces/types.md#legacycontractclass) \| `Omit`<[`CompiledSierra`](../namespaces/types.md#compiledsierra), `"sierra_program_debug_info"`\>\> + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).getClassByHash + +#### Defined in + +[src/provider/rpc.ts:293](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L293) + +--- + +### getClass + +▸ **getClass**(`classHash`, `blockIdentifier?`): `Promise`<[`LegacyContractClass`](../namespaces/types.md#legacycontractclass) \| `Omit`<[`CompiledSierra`](../namespaces/types.md#compiledsierra), `"sierra_program_debug_info"`\>\> + +#### Parameters + +| Name | Type | +| :----------------- | :---------------------------------------------------------- | +| `classHash` | [`BigNumberish`](../namespaces/types.md#bignumberish) | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<[`LegacyContractClass`](../namespaces/types.md#legacycontractclass) \| `Omit`<[`CompiledSierra`](../namespaces/types.md#compiledsierra), `"sierra_program_debug_info"`\>\> + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).getClass + +#### Defined in + +[src/provider/rpc.ts:297](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L297) + +--- + +### getClassAt + +▸ **getClassAt**(`contractAddress`, `blockIdentifier?`): `Promise`<[`LegacyContractClass`](../namespaces/types.md#legacycontractclass) \| `Omit`<[`CompiledSierra`](../namespaces/types.md#compiledsierra), `"sierra_program_debug_info"`\>\> + +#### Parameters + +| Name | Type | +| :----------------- | :---------------------------------------------------------- | +| `contractAddress` | [`BigNumberish`](../namespaces/types.md#bignumberish) | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<[`LegacyContractClass`](../namespaces/types.md#legacycontractclass) \| `Omit`<[`CompiledSierra`](../namespaces/types.md#compiledsierra), `"sierra_program_debug_info"`\>\> + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).getClassAt + +#### Defined in + +[src/provider/rpc.ts:303](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L303) + +--- + +### getContractVersion + +▸ **getContractVersion**(`contractAddress`, `classHash?`, `options?`): `Promise`<[`ContractVersion`](../namespaces/types.md#contractversion)\> + +#### Parameters + +| Name | Type | +| :---------------- | :------------------------------------------------------------------------------ | +| `contractAddress` | [`BigNumberish`](../namespaces/types.md#bignumberish) | +| `classHash?` | `undefined` | +| `options?` | [`getContractVersionOptions`](../namespaces/types.md#getcontractversionoptions) | + +#### Returns + +`Promise`<[`ContractVersion`](../namespaces/types.md#contractversion)\> + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).getContractVersion + +#### Defined in + +[src/provider/rpc.ts:309](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L309) + +▸ **getContractVersion**(`contractAddress`, `classHash`, `options?`): `Promise`<[`ContractVersion`](../namespaces/types.md#contractversion)\> + +#### Parameters + +| Name | Type | +| :---------------- | :------------------------------------------------------------------------------ | +| `contractAddress` | `undefined` | +| `classHash` | [`BigNumberish`](../namespaces/types.md#bignumberish) | +| `options?` | [`getContractVersionOptions`](../namespaces/types.md#getcontractversionoptions) | + +#### Returns + +`Promise`<[`ContractVersion`](../namespaces/types.md#contractversion)\> + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).getContractVersion + +#### Defined in + +[src/provider/rpc.ts:314](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L314) + +--- + +### getEstimateFee + +▸ **getEstimateFee**(`invocation`, `invocationDetails`, `blockIdentifier?`, `skipValidate?`): `Promise`<[`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md)\> + +#### Parameters + +| Name | Type | +| :------------------ | :---------------------------------------------------------------------------------- | +| `invocation` | [`Invocation`](../namespaces/types.md#invocation) | +| `invocationDetails` | [`InvocationsDetailsWithNonce`](../namespaces/types.md#invocationsdetailswithnonce) | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | +| `skipValidate?` | `boolean` | + +#### Returns + +`Promise`<[`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md)\> + +**`Deprecated`** + +use get*type*EstimateFee (will be refactored based on type after sequencer deprecation) + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).getEstimateFee + +#### Defined in + +[src/provider/rpc.ts:350](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L350) + +--- + +### getInvokeEstimateFee + +▸ **getInvokeEstimateFee**(`invocation`, `invocationDetails`, `blockIdentifier?`, `skipValidate?`): `Promise`<[`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md)\> + +#### Parameters + +| Name | Type | +| :------------------ | :---------------------------------------------------------------------------------- | +| `invocation` | [`Invocation`](../namespaces/types.md#invocation) | +| `invocationDetails` | [`InvocationsDetailsWithNonce`](../namespaces/types.md#invocationsdetailswithnonce) | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | +| `skipValidate?` | `boolean` | + +#### Returns + +`Promise`<[`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md)\> + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).getInvokeEstimateFee + +#### Defined in + +[src/provider/rpc.ts:359](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L359) + +--- + +### getDeclareEstimateFee + +▸ **getDeclareEstimateFee**(`invocation`, `details`, `blockIdentifier?`, `skipValidate?`): `Promise`<[`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md)\> + +#### Parameters + +| Name | Type | +| :----------------- | :---------------------------------------------------------------------------------- | +| `invocation` | [`DeclareContractTransaction`](../namespaces/types.md#declarecontracttransaction) | +| `details` | [`InvocationsDetailsWithNonce`](../namespaces/types.md#invocationsdetailswithnonce) | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | +| `skipValidate?` | `boolean` | + +#### Returns + +`Promise`<[`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md)\> + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).getDeclareEstimateFee + +#### Defined in + +[src/provider/rpc.ts:379](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L379) + +--- + +### getDeployAccountEstimateFee + +▸ **getDeployAccountEstimateFee**(`invocation`, `details`, `blockIdentifier?`, `skipValidate?`): `Promise`<[`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md)\> + +#### Parameters + +| Name | Type | +| :----------------- | :-------------------------------------------------------------------------------------------- | +| `invocation` | [`DeployAccountContractTransaction`](../namespaces/types.md#deployaccountcontracttransaction) | +| `details` | [`InvocationsDetailsWithNonce`](../namespaces/types.md#invocationsdetailswithnonce) | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | +| `skipValidate?` | `boolean` | + +#### Returns + +`Promise`<[`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md)\> + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).getDeployAccountEstimateFee + +#### Defined in + +[src/provider/rpc.ts:399](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L399) + +--- + +### getEstimateFeeBulk + +▸ **getEstimateFeeBulk**(`invocations`, `options`): `Promise`<[`EstimateFeeResponseBulk`](../namespaces/types.md#estimatefeeresponsebulk)\> + +#### Parameters + +| Name | Type | +| :------------ | :------------------------------------------------------------------------------ | +| `invocations` | [`AccountInvocations`](../namespaces/types.md#accountinvocations) | +| `options` | [`getEstimateFeeBulkOptions`](../namespaces/types.md#getestimatefeebulkoptions) | + +#### Returns + +`Promise`<[`EstimateFeeResponseBulk`](../namespaces/types.md#estimatefeeresponsebulk)\> + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).getEstimateFeeBulk + +#### Defined in + +[src/provider/rpc.ts:419](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L419) + +--- + +### invokeFunction + +▸ **invokeFunction**(`functionInvocation`, `details`): `Promise`<[`InvokedTransaction`](../namespaces/types.RPC.RPCSPEC07.API.md#invokedtransaction)\> + +#### Parameters + +| Name | Type | +| :------------------- | :---------------------------------------------------------------------------------- | +| `functionInvocation` | [`Invocation`](../namespaces/types.md#invocation) | +| `details` | [`InvocationsDetailsWithNonce`](../namespaces/types.md#invocationsdetailswithnonce) | + +#### Returns + +`Promise`<[`InvokedTransaction`](../namespaces/types.RPC.RPCSPEC07.API.md#invokedtransaction)\> + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).invokeFunction + +#### Defined in + +[src/provider/rpc.ts:428](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L428) + +--- + +### declareContract + +▸ **declareContract**(`transaction`, `details`): `Promise`<[`DeclaredTransaction`](../namespaces/types.RPC.RPCSPEC07.API.md#declaredtransaction)\> + +#### Parameters + +| Name | Type | +| :------------ | :---------------------------------------------------------------------------------- | +| `transaction` | [`DeclareContractTransaction`](../namespaces/types.md#declarecontracttransaction) | +| `details` | [`InvocationsDetailsWithNonce`](../namespaces/types.md#invocationsdetailswithnonce) | + +#### Returns + +`Promise`<[`DeclaredTransaction`](../namespaces/types.RPC.RPCSPEC07.API.md#declaredtransaction)\> + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).declareContract + +#### Defined in + +[src/provider/rpc.ts:435](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L435) + +--- + +### deployAccountContract + +▸ **deployAccountContract**(`transaction`, `details`): `Promise`<[`DeployedAccountTransaction`](../namespaces/types.RPC.RPCSPEC07.API.md#deployedaccounttransaction)\> + +#### Parameters + +| Name | Type | +| :------------ | :-------------------------------------------------------------------------------------------- | +| `transaction` | [`DeployAccountContractTransaction`](../namespaces/types.md#deployaccountcontracttransaction) | +| `details` | [`InvocationsDetailsWithNonce`](../namespaces/types.md#invocationsdetailswithnonce) | + +#### Returns + +`Promise`<[`DeployedAccountTransaction`](../namespaces/types.RPC.RPCSPEC07.API.md#deployedaccounttransaction)\> + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).deployAccountContract + +#### Defined in + +[src/provider/rpc.ts:442](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L442) + +--- + +### callContract + +▸ **callContract**(`call`, `blockIdentifier?`): `Promise`<`string`[]\> + +#### Parameters + +| Name | Type | +| :----------------- | :---------------------------------------------------------- | +| `call` | [`Call`](../namespaces/types.md#call) | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<`string`[]\> + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).callContract + +#### Defined in + +[src/provider/rpc.ts:452](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L452) + +--- + +### estimateMessageFee + +▸ **estimateMessageFee**(`message`, `blockIdentifier?`): `Promise`<[`FEE_ESTIMATE`](../namespaces/types.RPC.RPCSPEC06.SPEC.md#fee_estimate)\> + +NEW: Estimate the fee for a message from L1 + +#### Parameters + +| Name | Type | Description | +| :----------------- | :------------------------------------------------------------------------- | :-------------- | +| `message` | [`MSG_FROM_L1`](../namespaces/types.RPC.RPCSPEC07.API.SPEC.md#msg_from_l1) | Message From L1 | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | - | + +#### Returns + +`Promise`<[`FEE_ESTIMATE`](../namespaces/types.RPC.RPCSPEC06.SPEC.md#fee_estimate)\> + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).estimateMessageFee + +#### Defined in + +[src/provider/rpc.ts:460](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L460) + +--- + +### getSyncingStats + +▸ **getSyncingStats**(): `Promise`<[`Syncing`](../namespaces/types.RPC.RPCSPEC06.md#syncing)\> + +Returns an object about the sync status, or false if the node is not synching + +#### Returns + +`Promise`<[`Syncing`](../namespaces/types.RPC.RPCSPEC06.md#syncing)\> + +Object with the stats data + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).getSyncingStats + +#### Defined in + +[src/provider/rpc.ts:468](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L468) + +--- + +### getEvents + +▸ **getEvents**(`eventFilter`): `Promise`<[`EVENTS_CHUNK`](../namespaces/types.RPC.RPCSPEC06.SPEC.md#events_chunk)\> + +Returns all events matching the given filter + +#### Parameters + +| Name | Type | +| :------------ | :-------------------------------------------------------------------- | +| `eventFilter` | [`EventFilter`](../namespaces/types.RPC.RPCSPEC07.API.md#eventfilter) | + +#### Returns + +`Promise`<[`EVENTS_CHUNK`](../namespaces/types.RPC.RPCSPEC06.SPEC.md#events_chunk)\> + +events and the pagination of the events + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).getEvents + +#### Defined in + +[src/provider/rpc.ts:476](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L476) + +--- + +### getStarkName + +▸ **getStarkName**(`address`, `StarknetIdContract?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :-------------------- | :---------------------------------------------------- | +| `address` | [`BigNumberish`](../namespaces/types.md#bignumberish) | +| `StarknetIdContract?` | `string` | + +#### Returns + +`Promise`<`string`\> + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).getStarkName + +#### Defined in + +[src/provider/extensions/starknetId.ts:21](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/extensions/starknetId.ts#L21) + +--- + +### getAddressFromStarkName + +▸ **getAddressFromStarkName**(`name`, `StarknetIdContract?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :-------------------- | :------- | +| `name` | `string` | +| `StarknetIdContract?` | `string` | + +#### Returns + +`Promise`<`string`\> + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).getAddressFromStarkName + +#### Defined in + +[src/provider/extensions/starknetId.ts:30](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/extensions/starknetId.ts#L30) + +--- + +### getStarkProfile + +▸ **getStarkProfile**(`address`, `StarknetIdContract?`, `StarknetIdIdentityContract?`, `StarknetIdVerifierContract?`, `StarknetIdPfpContract?`, `StarknetIdPopContract?`, `StarknetIdMulticallContract?`): `Promise`<[`StarkProfile`](../namespaces/types.md#starkprofile)\> + +#### Parameters + +| Name | Type | +| :----------------------------- | :---------------------------------------------------- | +| `address` | [`BigNumberish`](../namespaces/types.md#bignumberish) | +| `StarknetIdContract?` | `string` | +| `StarknetIdIdentityContract?` | `string` | +| `StarknetIdVerifierContract?` | `string` | +| `StarknetIdPfpContract?` | `string` | +| `StarknetIdPopContract?` | `string` | +| `StarknetIdMulticallContract?` | `string` | + +#### Returns + +`Promise`<[`StarkProfile`](../namespaces/types.md#starkprofile)\> + +#### Inherited from + +Mixin(BaseRpcProvider, StarknetId).getStarkProfile + +#### Defined in + +[src/provider/extensions/starknetId.ts:39](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/extensions/starknetId.ts#L39) diff --git a/www/versioned_docs/version-6.11.0/API/classes/ProviderInterface.md b/www/versioned_docs/version-6.11.0/API/classes/ProviderInterface.md new file mode 100644 index 000000000..fd0b508a7 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/classes/ProviderInterface.md @@ -0,0 +1,698 @@ +--- +id: 'ProviderInterface' +title: 'Class: ProviderInterface' +sidebar_label: 'ProviderInterface' +sidebar_position: 0 +custom_edit_url: null +--- + +## Hierarchy + +- **`ProviderInterface`** + + ↳ [`AccountInterface`](AccountInterface.md) + +## Constructors + +### constructor + +• **new ProviderInterface**(): [`ProviderInterface`](ProviderInterface.md) + +#### Returns + +[`ProviderInterface`](ProviderInterface.md) + +## Properties + +### channel + +• `Abstract` **channel**: [`RpcChannel`](RPC06.RpcChannel.md) \| [`RpcChannel`](RPC07.RpcChannel.md) + +#### Defined in + +[src/provider/interface.ts:37](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L37) + +## Methods + +### getChainId + +▸ **getChainId**(): `Promise`<[`StarknetChainId`](../enums/constants.StarknetChainId.md)\> + +Gets the Starknet chain Id + +#### Returns + +`Promise`<[`StarknetChainId`](../enums/constants.StarknetChainId.md)\> + +the chain Id + +#### Defined in + +[src/provider/interface.ts:44](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L44) + +--- + +### callContract + +▸ **callContract**(`call`, `blockIdentifier?`): `Promise`<[`CallContractResponse`](../namespaces/types.md#callcontractresponse)\> + +Calls a function on the Starknet contract. + +#### Parameters + +| Name | Type | Description | +| :----------------- | :---------------------------------------------------------- | :----------------------- | +| `call` | [`Call`](../namespaces/types.md#call) | transaction to be called | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | block identifier | + +#### Returns + +`Promise`<[`CallContractResponse`](../namespaces/types.md#callcontractresponse)\> + +the result of the function on the smart contract. + +#### Defined in + +[src/provider/interface.ts:53](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L53) + +--- + +### getBlock + +▸ **getBlock**(`blockIdentifier?`): `Promise`<[`PendingBlock`](../namespaces/types.md#pendingblock)\> + +Gets the block information + +#### Parameters + +| Name | Type | Description | +| :----------------- | :---------- | :--------------- | +| `blockIdentifier?` | `"pending"` | block identifier | + +#### Returns + +`Promise`<[`PendingBlock`](../namespaces/types.md#pendingblock)\> + +the block object + +#### Defined in + +[src/provider/interface.ts:64](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L64) + +▸ **getBlock**(`blockIdentifier`): `Promise`<[`Block`](../namespaces/types.md#block)\> + +#### Parameters + +| Name | Type | +| :---------------- | :--------- | +| `blockIdentifier` | `"latest"` | + +#### Returns + +`Promise`<[`Block`](../namespaces/types.md#block)\> + +#### Defined in + +[src/provider/interface.ts:65](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L65) + +▸ **getBlock**(`blockIdentifier`): `Promise`<[`GetBlockResponse`](../namespaces/types.md#getblockresponse)\> + +#### Parameters + +| Name | Type | +| :---------------- | :---------------------------------------------------------- | +| `blockIdentifier` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<[`GetBlockResponse`](../namespaces/types.md#getblockresponse)\> + +#### Defined in + +[src/provider/interface.ts:66](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L66) + +--- + +### getClassAt + +▸ **getClassAt**(`contractAddress`, `blockIdentifier?`): `Promise`<[`ContractClassResponse`](../namespaces/types.md#contractclassresponse)\> + +Gets the contract class of the deployed contract. + +#### Parameters + +| Name | Type | Description | +| :----------------- | :---------------------------------------------------------- | :--------------- | +| `contractAddress` | `string` | contract address | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | block identifier | + +#### Returns + +`Promise`<[`ContractClassResponse`](../namespaces/types.md#contractclassresponse)\> + +Contract class of compiled contract + +#### Defined in + +[src/provider/interface.ts:75](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L75) + +--- + +### getL1GasPrice + +▸ **getL1GasPrice**(`blockIdentifier`): `Promise`<`string`\> + +Gets the price of l1 gas in the block + +#### Parameters + +| Name | Type | Description | +| :---------------- | :---------------------------------------------------------- | :--------------- | +| `blockIdentifier` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | block identifier | + +#### Returns + +`Promise`<`string`\> + +gas price of the block + +#### Defined in + +[src/provider/interface.ts:86](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L86) + +--- + +### getL1MessageHash + +▸ **getL1MessageHash**(`l2TxHash`): `Promise`<`string`\> + +Get L1 message hash from L2 transaction hash + +#### Parameters + +| Name | Type | Description | +| :--------- | :---------------------------------------------------- | :------------------ | +| `l2TxHash` | [`BigNumberish`](../namespaces/types.md#bignumberish) | L2 transaction hash | + +#### Returns + +`Promise`<`string`\> + +Hex string of L1 message hash + +**`Example`** + +In Sepolia Testnet : + +```typescript +const result = provider.getL1MessageHash( + '0x28dfc05eb4f261b37ddad451ff22f1d08d4e3c24dc646af0ec69fa20e096819' +); +// result = '0x55b3f8b6e607fffd9b4d843dfe8f9b5c05822cd94fcad8797deb01d77805532a' +``` + +#### Defined in + +[src/provider/interface.ts:99](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L99) + +--- + +### getClassHashAt + +▸ **getClassHashAt**(`contractAddress`, `blockIdentifier?`): `Promise`<`string`\> + +Returns the contract class hash in the given block for the contract deployed at the given address + +#### Parameters + +| Name | Type | Description | +| :----------------- | :---------------------------------------------------------- | :--------------- | +| `contractAddress` | `string` | contract address | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | block identifier | + +#### Returns + +`Promise`<`string`\> + +Class hash + +#### Defined in + +[src/provider/interface.ts:108](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L108) + +--- + +### getClassByHash + +▸ **getClassByHash**(`classHash`): `Promise`<[`ContractClassResponse`](../namespaces/types.md#contractclassresponse)\> + +Returns the contract class deployed under the given class hash. + +#### Parameters + +| Name | Type | Description | +| :---------- | :------- | :---------- | +| `classHash` | `string` | class hash | + +#### Returns + +`Promise`<[`ContractClassResponse`](../namespaces/types.md#contractclassresponse)\> + +Contract class of compiled contract + +#### Defined in + +[src/provider/interface.ts:119](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L119) + +--- + +### getNonceForAddress + +▸ **getNonceForAddress**(`contractAddress`, `blockIdentifier?`): `Promise`<`string`\> + +Returns the nonce associated with the given address in the given block + +#### Parameters + +| Name | Type | Description | +| :----------------- | :---------------------------------------------------------- | :--------------- | +| `contractAddress` | `string` | contract address | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | - | + +#### Returns + +`Promise`<`string`\> + +the hex nonce + +#### Defined in + +[src/provider/interface.ts:127](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L127) + +--- + +### getStorageAt + +▸ **getStorageAt**(`contractAddress`, `key`, `blockIdentifier?`): `Promise`<`string`\> + +Get the value of the storage (contract's variable) at the given address and key + +#### Parameters + +| Name | Type | Description | +| :----------------- | :---------------------------------------------------------- | :--------------------------------------------------------- | +| `contractAddress` | `string` | | +| `key` | [`BigNumberish`](../namespaces/types.md#bignumberish) | from getStorageVarAddress('') (WIP) | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | block identifier | + +#### Returns + +`Promise`<`string`\> + +the value of the storage variable + +#### Defined in + +[src/provider/interface.ts:140](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L140) + +--- + +### getTransaction + +▸ **getTransaction**(`transactionHash`): `Promise`<`TransactionWithHash`\> + +Gets the transaction information from a tx id. + +#### Parameters + +| Name | Type | +| :---------------- | :---------------------------------------------------- | +| `transactionHash` | [`BigNumberish`](../namespaces/types.md#bignumberish) | + +#### Returns + +`Promise`<`TransactionWithHash`\> + +the transaction object { transaction_id, status, transaction, block_number?, block_number?, transaction_index?, transaction_failure_reason? } + +#### Defined in + +[src/provider/interface.ts:152](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L152) + +--- + +### getTransactionReceipt + +▸ **getTransactionReceipt**(`transactionHash`): `Promise`<[`GetTransactionReceiptResponse`](../modules.md#gettransactionreceiptresponse)\> + +Gets the transaction receipt from a tx hash. + +#### Parameters + +| Name | Type | +| :---------------- | :---------------------------------------------------- | +| `transactionHash` | [`BigNumberish`](../namespaces/types.md#bignumberish) | + +#### Returns + +`Promise`<[`GetTransactionReceiptResponse`](../modules.md#gettransactionreceiptresponse)\> + +the transaction receipt object + +#### Defined in + +[src/provider/interface.ts:160](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L160) + +--- + +### deployAccountContract + +▸ **deployAccountContract**(`payload`, `details`): `Promise`<[`DeployContractResponse`](../interfaces/types.DeployContractResponse.md)\> + +Deploys a given compiled Account contract (json) to starknet + +#### Parameters + +| Name | Type | Description | +| :-------- | :------------------------------------------------------------------------------------ | :------------------------------------------------------------------------------------------------ | +| `payload` | [`DeployAccountContractPayload`](../namespaces/types.md#deployaccountcontractpayload) | payload to be deployed containing: - compiled contract code - constructor calldata - address salt | +| `details` | [`InvocationsDetailsWithNonce`](../namespaces/types.md#invocationsdetailswithnonce) | - | + +#### Returns + +`Promise`<[`DeployContractResponse`](../interfaces/types.DeployContractResponse.md)\> + +a confirmation of sending a transaction on the starknet contract + +#### Defined in + +[src/provider/interface.ts:173](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L173) + +--- + +### invokeFunction + +▸ **invokeFunction**(`invocation`, `details`): `Promise`<\{ `transaction_hash`: `string` }\> + +Invokes a function on starknet + +#### Parameters + +| Name | Type | Description | +| :----------- | :---------------------------------------------------------------------------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `invocation` | [`Invocation`](../namespaces/types.md#invocation) | the invocation object containing: - contractAddress - the address of the contract - entrypoint - the entrypoint of the contract - calldata - (defaults to []) the calldata - signature - (defaults to []) the signature | +| `details` | [`InvocationsDetailsWithNonce`](../namespaces/types.md#invocationsdetailswithnonce) | optional details containing: - nonce - optional nonce - version - optional version - maxFee - optional maxFee | + +#### Returns + +`Promise`<\{ `transaction_hash`: `string` }\> + +response from addTransaction + +**`Deprecated`** + +This method won't be supported as soon as fees are mandatory. Should not be used outside of Account class + +#### Defined in + +[src/provider/interface.ts:193](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L193) + +--- + +### declareContract + +▸ **declareContract**(`transaction`, `details`): `Promise`<\{ `class_hash`: `string` ; `transaction_hash`: `string` }\> + +Declares a given compiled contract (json) to starknet + +#### Parameters + +| Name | Type | Description | +| :------------ | :---------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------------------- | +| `transaction` | [`DeclareContractTransaction`](../namespaces/types.md#declarecontracttransaction) | transaction payload to be deployed containing: - compiled contract code - sender address - signature | +| `details` | [`InvocationsDetailsWithNonce`](../namespaces/types.md#invocationsdetailswithnonce) | Invocation Details containing: - nonce - optional version - optional maxFee | + +#### Returns + +`Promise`<\{ `class_hash`: `string` ; `transaction_hash`: `string` }\> + +a confirmation of sending a transaction on the starknet contract + +#### Defined in + +[src/provider/interface.ts:210](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L210) + +--- + +### getEstimateFee + +▸ **getEstimateFee**(`invocation`, `details`, `blockIdentifier?`, `skipValidate?`): `Promise`<[`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md)\> + +Estimates the fee for a given INVOKE transaction + +#### Parameters + +| Name | Type | Description | +| :----------------- | :---------------------------------------------------------------------------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `invocation` | [`Invocation`](../namespaces/types.md#invocation) | the invocation object containing: - contractAddress - the address of the contract - entrypoint - the entrypoint of the contract - calldata - (defaults to []) the calldata - signature - (defaults to []) the signature | +| `details` | [`InvocationsDetailsWithNonce`](../namespaces/types.md#invocationsdetailswithnonce) | optional details containing: - nonce - optional nonce - version - optional version | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | (optional) block identifier | +| `skipValidate?` | `boolean` | (optional) skip cairo **validate** method | + +#### Returns + +`Promise`<[`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md)\> + +the estimated fee + +**`Deprecated`** + +Please use getInvokeEstimateFee or getDeclareEstimateFee instead. Should not be used outside of Account class + +#### Defined in + +[src/provider/interface.ts:231](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L231) + +--- + +### getInvokeEstimateFee + +▸ **getInvokeEstimateFee**(`invocation`, `details`, `blockIdentifier?`, `skipValidate?`): `Promise`<[`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md)\> + +Estimates the fee for a given INVOKE transaction + +#### Parameters + +| Name | Type | Description | +| :----------------- | :---------------------------------------------------------------------------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `invocation` | [`Invocation`](../namespaces/types.md#invocation) | the invocation object containing: - contractAddress - the address of the contract - entrypoint - the entrypoint of the contract - calldata - (defaults to []) the calldata - signature - (defaults to []) the signature | +| `details` | [`InvocationsDetailsWithNonce`](../namespaces/types.md#invocationsdetailswithnonce) | optional details containing: - nonce - optional nonce - version - optional version | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | (optional) block identifier | +| `skipValidate?` | `boolean` | (optional) skip cairo **validate** method | + +#### Returns + +`Promise`<[`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md)\> + +the estimated fee + +#### Defined in + +[src/provider/interface.ts:253](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L253) + +--- + +### getDeclareEstimateFee + +▸ **getDeclareEstimateFee**(`transaction`, `details`, `blockIdentifier?`, `skipValidate?`): `Promise`<[`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md)\> + +Estimates the fee for a given DECLARE transaction + +#### Parameters + +| Name | Type | Description | +| :----------------- | :---------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------ | +| `transaction` | [`DeclareContractTransaction`](../namespaces/types.md#declarecontracttransaction) | transaction payload to be declared containing: - compiled contract code - sender address - signature - (defaults to []) the signature | +| `details` | [`InvocationsDetailsWithNonce`](../namespaces/types.md#invocationsdetailswithnonce) | optional details containing: - nonce - version - optional version - optional maxFee | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | (optional) block identifier | +| `skipValidate?` | `boolean` | (optional) skip cairo **validate** method | + +#### Returns + +`Promise`<[`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md)\> + +the estimated fee + +#### Defined in + +[src/provider/interface.ts:275](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L275) + +--- + +### getDeployAccountEstimateFee + +▸ **getDeployAccountEstimateFee**(`transaction`, `details`, `blockIdentifier?`, `skipValidate?`): `Promise`<[`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md)\> + +Estimates the fee for a given DEPLOY_ACCOUNT transaction + +#### Parameters + +| Name | Type | Description | +| :----------------- | :-------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------ | +| `transaction` | [`DeployAccountContractTransaction`](../namespaces/types.md#deployaccountcontracttransaction) | transaction payload to be deployed containing: - classHash - constructorCalldata - addressSalt - signature - (defaults to []) the signature | +| `details` | [`InvocationsDetailsWithNonce`](../namespaces/types.md#invocationsdetailswithnonce) | optional details containing: - nonce - version - optional version - optional maxFee | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | (optional) block identifier | +| `skipValidate?` | `boolean` | (optional) skip cairo **validate** method | + +#### Returns + +`Promise`<[`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md)\> + +the estimated fee + +#### Defined in + +[src/provider/interface.ts:298](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L298) + +--- + +### getEstimateFeeBulk + +▸ **getEstimateFeeBulk**(`invocations`, `options?`): `Promise`<[`EstimateFeeResponseBulk`](../namespaces/types.md#estimatefeeresponsebulk)\> + +Estimates the fee for a list of INVOKE transaction + +#### Parameters + +| Name | Type | Description | +| :------------ | :------------------------------------------------------------------------------ | :----------------------------------------------------------------------- | +| `invocations` | [`AccountInvocations`](../namespaces/types.md#accountinvocations) | AccountInvocations - Complete invocations array with account details | +| `options?` | [`getEstimateFeeBulkOptions`](../namespaces/types.md#getestimatefeebulkoptions) | getEstimateFeeBulkOptions - (optional) blockIdentifier - BlockIdentifier | + +#### Returns + +`Promise`<[`EstimateFeeResponseBulk`](../namespaces/types.md#estimatefeeresponsebulk)\> + +the estimated fee + +#### Defined in + +[src/provider/interface.ts:313](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L313) + +--- + +### waitForTransaction + +▸ **waitForTransaction**(`txHash`, `options?`): `Promise`<[`GetTransactionReceiptResponse`](../modules.md#gettransactionreceiptresponse)\> + +Wait for the transaction to be accepted + +#### Parameters + +| Name | Type | Description | +| :--------- | :------------------------------------------------------------------------------ | :--------------------------------------------------------------------------------------------------------------------------------------- | +| `txHash` | [`BigNumberish`](../namespaces/types.md#bignumberish) | transaction hash | +| `options?` | [`waitForTransactionOptions`](../namespaces/types.md#waitfortransactionoptions) | waitForTransactionOptions - (optional) retryInterval: number \| undefined; - (optional) successStates: TransactionStatus[] \| undefined; | + +#### Returns + +`Promise`<[`GetTransactionReceiptResponse`](../modules.md#gettransactionreceiptresponse)\> + +GetTransactionReceiptResponse + +#### Defined in + +[src/provider/interface.ts:326](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L326) + +--- + +### getSimulateTransaction + +▸ **getSimulateTransaction**(`invocations`, `options?`): `Promise`<[`SimulateTransactionResponse`](../namespaces/types.md#simulatetransactionresponse)\> + +Simulates the transaction and returns the transaction trace and estimated fee. + +#### Parameters + +| Name | Type | Description | +| :------------ | :-------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `invocations` | [`AccountInvocations`](../namespaces/types.md#accountinvocations) | AccountInvocations - Complete invocations array with account details | +| `options?` | [`getSimulateTransactionOptions`](../namespaces/types.md#getsimulatetransactionoptions) | getSimulateTransactionOptions - (optional) blockIdentifier - block identifier - (optional) skipValidate - skip cairo **validate** method - (optional) skipExecute - skip cairo **execute** method | + +#### Returns + +`Promise`<[`SimulateTransactionResponse`](../namespaces/types.md#simulatetransactionresponse)\> + +an array of transaction trace and estimated fee + +#### Defined in + +[src/provider/interface.ts:341](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L341) + +--- + +### getStateUpdate + +▸ **getStateUpdate**(`blockIdentifier?`): `Promise`<[`StateUpdateResponse`](../namespaces/types.md#stateupdateresponse)\> + +Gets the state changes in a specific block (result of executing the requested block) + +#### Parameters + +| Name | Type | Description | +| :----------------- | :---------------------------------------------------------- | :--------------- | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | block identifier | + +#### Returns + +`Promise`<[`StateUpdateResponse`](../namespaces/types.md#stateupdateresponse)\> + +StateUpdateResponse + +#### Defined in + +[src/provider/interface.ts:352](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L352) + +--- + +### getContractVersion + +▸ **getContractVersion**(`contractAddress`, `classHash?`, `options?`): `Promise`<[`ContractVersion`](../namespaces/types.md#contractversion)\> + +Gets the contract version from the provided address + +#### Parameters + +| Name | Type | Description | +| :---------------- | :------------------------------------------------------------------------------ | :------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `contractAddress` | `string` | string | +| `classHash?` | `undefined` | undefined | +| `options?` | [`getContractVersionOptions`](../namespaces/types.md#getcontractversionoptions) | getContractVersionOptions - (optional) compiler - (default true) extract compiler version using type tactic from abi - (optional) blockIdentifier - block identifier | + +#### Returns + +`Promise`<[`ContractVersion`](../namespaces/types.md#contractversion)\> + +#### Defined in + +[src/provider/interface.ts:362](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L362) + +▸ **getContractVersion**(`contractAddress`, `classHash`, `options?`): `Promise`<[`ContractVersion`](../namespaces/types.md#contractversion)\> + +Gets the contract version from the provided address + +#### Parameters + +| Name | Type | Description | +| :---------------- | :------------------------------------------------------------------------------ | :------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `contractAddress` | `undefined` | undefined | +| `classHash` | `string` | | +| `options?` | [`getContractVersionOptions`](../namespaces/types.md#getcontractversionoptions) | getContractVersionOptions - (optional) compiler - (default true) extract compiler version using type tactic from abi - (optional) blockIdentifier - block identifier | + +#### Returns + +`Promise`<[`ContractVersion`](../namespaces/types.md#contractversion)\> + +#### Defined in + +[src/provider/interface.ts:376](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/interface.ts#L376) diff --git a/www/versioned_docs/version-6.11.0/API/classes/RPC06.RpcChannel.md b/www/versioned_docs/version-6.11.0/API/classes/RPC06.RpcChannel.md new file mode 100644 index 000000000..5f2d54de0 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/classes/RPC06.RpcChannel.md @@ -0,0 +1,805 @@ +--- +id: 'RPC06.RpcChannel' +title: 'Class: RpcChannel' +sidebar_label: 'RpcChannel' +custom_edit_url: null +--- + +[RPC06](../namespaces/RPC06.md).RpcChannel + +## Constructors + +### constructor + +• **new RpcChannel**(`optionsOrProvider?`): [`RpcChannel`](RPC06.RpcChannel.md) + +#### Parameters + +| Name | Type | +| :------------------- | :---------------------------------------------------------------- | +| `optionsOrProvider?` | [`RpcProviderOptions`](../namespaces/types.md#rpcprovideroptions) | + +#### Returns + +[`RpcChannel`](RPC06.RpcChannel.md) + +#### Defined in + +[src/channel/rpc_0_6.ts:55](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_6.ts#L55) + +## Properties + +### nodeUrl + +• **nodeUrl**: `string` + +#### Defined in + +[src/channel/rpc_0_6.ts:39](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_6.ts#L39) + +--- + +### headers + +• **headers**: `object` + +#### Defined in + +[src/channel/rpc_0_6.ts:41](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_6.ts#L41) + +--- + +### retries + +• `Readonly` **retries**: `number` + +#### Defined in + +[src/channel/rpc_0_6.ts:43](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_6.ts#L43) + +--- + +### requestId + +• **requestId**: `number` + +#### Defined in + +[src/channel/rpc_0_6.ts:45](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_6.ts#L45) + +--- + +### blockIdentifier + +• `Readonly` **blockIdentifier**: [`BlockIdentifier`](../namespaces/types.md#blockidentifier) + +#### Defined in + +[src/channel/rpc_0_6.ts:47](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_6.ts#L47) + +--- + +### chainId + +• `Private` `Optional` **chainId**: [`StarknetChainId`](../enums/constants.StarknetChainId.md) + +#### Defined in + +[src/channel/rpc_0_6.ts:49](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_6.ts#L49) + +--- + +### specVersion + +• `Private` `Optional` **specVersion**: `string` + +#### Defined in + +[src/channel/rpc_0_6.ts:51](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_6.ts#L51) + +--- + +### waitMode + +• `Readonly` **waitMode**: `Boolean` + +#### Defined in + +[src/channel/rpc_0_6.ts:53](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_6.ts#L53) + +## Methods + +### setChainId + +▸ **setChainId**(`chainId`): `void` + +#### Parameters + +| Name | Type | +| :-------- | :--------------------------------------------------------- | +| `chainId` | [`StarknetChainId`](../enums/constants.StarknetChainId.md) | + +#### Returns + +`void` + +#### Defined in + +[src/channel/rpc_0_6.ts:74](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_6.ts#L74) + +--- + +### fetch + +▸ **fetch**(`method`, `params?`, `id?`): `Promise`<`Response`\> + +#### Parameters + +| Name | Type | Default value | +| :-------- | :------------------- | :------------ | +| `method` | `string` | `undefined` | +| `params?` | `object` | `undefined` | +| `id` | `string` \| `number` | `0` | + +#### Returns + +`Promise`<`Response`\> + +#### Defined in + +[src/channel/rpc_0_6.ts:78](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_6.ts#L78) + +--- + +### errorHandler + +▸ **errorHandler**(`method`, `params`, `rpcError?`, `otherError?`): `void` + +#### Parameters + +| Name | Type | +| :------------ | :----------------------------------------------- | +| `method` | `string` | +| `params` | `any` | +| `rpcError?` | [`Error`](../namespaces/types.RPC.JRPC.md#error) | +| `otherError?` | `any` | + +#### Returns + +`void` + +#### Defined in + +[src/channel/rpc_0_6.ts:92](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_6.ts#L92) + +--- + +### fetchEndpoint + +▸ **fetchEndpoint**<`T`\>(`method`, `params?`): `Promise`<[`Methods`](../namespaces/types.RPC.RPCSPEC06.md#methods)[`T`][``"result"``]\> + +#### Type parameters + +| Name | Type | +| :--- | :-------------------------------------------------------------------------- | +| `T` | extends keyof `ReadMethods` \| keyof `WriteMethods` \| keyof `TraceMethods` | + +#### Parameters + +| Name | Type | +| :-------- | :--------------------------------------------------------------------------- | +| `method` | `T` | +| `params?` | [`Methods`](../namespaces/types.RPC.RPCSPEC06.md#methods)[`T`][``"params"``] | + +#### Returns + +`Promise`<[`Methods`](../namespaces/types.RPC.RPCSPEC06.md#methods)[`T`][``"result"``]\> + +#### Defined in + +[src/channel/rpc_0_6.ts:108](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_6.ts#L108) + +--- + +### getChainId + +▸ **getChainId**(): `Promise`<[`StarknetChainId`](../enums/constants.StarknetChainId.md)\> + +#### Returns + +`Promise`<[`StarknetChainId`](../enums/constants.StarknetChainId.md)\> + +#### Defined in + +[src/channel/rpc_0_6.ts:123](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_6.ts#L123) + +--- + +### getSpecVersion + +▸ **getSpecVersion**(): `Promise`<`string`\> + +#### Returns + +`Promise`<`string`\> + +#### Defined in + +[src/channel/rpc_0_6.ts:128](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_6.ts#L128) + +--- + +### getNonceForAddress + +▸ **getNonceForAddress**(`contractAddress`, `blockIdentifier?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :---------------- | :---------------------------------------------------------- | +| `contractAddress` | [`BigNumberish`](../namespaces/types.md#bignumberish) | +| `blockIdentifier` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<`string`\> + +#### Defined in + +[src/channel/rpc_0_6.ts:133](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_6.ts#L133) + +--- + +### getBlockLatestAccepted + +▸ **getBlockLatestAccepted**(): `Promise`<[`BlockHashAndNumber`](../namespaces/types.RPC.RPCSPEC06.md#blockhashandnumber)\> + +Get the most recent accepted block hash and number + +#### Returns + +`Promise`<[`BlockHashAndNumber`](../namespaces/types.RPC.RPCSPEC06.md#blockhashandnumber)\> + +#### Defined in + +[src/channel/rpc_0_6.ts:148](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_6.ts#L148) + +--- + +### getBlockNumber + +▸ **getBlockNumber**(): `Promise`<`number`\> + +Get the most recent accepted block number +redundant use getBlockLatestAccepted(); + +#### Returns + +`Promise`<`number`\> + +Number of the latest block + +#### Defined in + +[src/channel/rpc_0_6.ts:157](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_6.ts#L157) + +--- + +### getBlockWithTxHashes + +▸ **getBlockWithTxHashes**(`blockIdentifier?`): `Promise`<[`BlockWithTxHashes`](../namespaces/types.RPC.RPCSPEC06.md#blockwithtxhashes)\> + +#### Parameters + +| Name | Type | +| :---------------- | :---------------------------------------------------------- | +| `blockIdentifier` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<[`BlockWithTxHashes`](../namespaces/types.RPC.RPCSPEC06.md#blockwithtxhashes)\> + +#### Defined in + +[src/channel/rpc_0_6.ts:161](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_6.ts#L161) + +--- + +### getBlockWithTxs + +▸ **getBlockWithTxs**(`blockIdentifier?`): `Promise`<[`BlockWithTxs`](../namespaces/types.RPC.RPCSPEC06.md#blockwithtxs)\> + +#### Parameters + +| Name | Type | +| :---------------- | :---------------------------------------------------------- | +| `blockIdentifier` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<[`BlockWithTxs`](../namespaces/types.RPC.RPCSPEC06.md#blockwithtxs)\> + +#### Defined in + +[src/channel/rpc_0_6.ts:166](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_6.ts#L166) + +--- + +### getBlockStateUpdate + +▸ **getBlockStateUpdate**(`blockIdentifier?`): `Promise`<[`StateUpdate`](../namespaces/types.RPC.RPCSPEC06.md#stateupdate)\> + +#### Parameters + +| Name | Type | +| :---------------- | :---------------------------------------------------------- | +| `blockIdentifier` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<[`StateUpdate`](../namespaces/types.RPC.RPCSPEC06.md#stateupdate)\> + +#### Defined in + +[src/channel/rpc_0_6.ts:171](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_6.ts#L171) + +--- + +### getBlockTransactionsTraces + +▸ **getBlockTransactionsTraces**(`blockIdentifier?`): `Promise`<[`BlockTransactionsTraces`](../namespaces/types.RPC.RPCSPEC06.md#blocktransactionstraces)\> + +#### Parameters + +| Name | Type | +| :---------------- | :---------------------------------------------------------- | +| `blockIdentifier` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<[`BlockTransactionsTraces`](../namespaces/types.RPC.RPCSPEC06.md#blocktransactionstraces)\> + +#### Defined in + +[src/channel/rpc_0_6.ts:176](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_6.ts#L176) + +--- + +### getBlockTransactionCount + +▸ **getBlockTransactionCount**(`blockIdentifier?`): `Promise`<`number`\> + +#### Parameters + +| Name | Type | +| :---------------- | :---------------------------------------------------------- | +| `blockIdentifier` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<`number`\> + +#### Defined in + +[src/channel/rpc_0_6.ts:181](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_6.ts#L181) + +--- + +### getTransactionByHash + +▸ **getTransactionByHash**(`txHash`): `Promise`<[`TransactionWithHash`](../namespaces/types.RPC.RPCSPEC06.md#transactionwithhash)\> + +#### Parameters + +| Name | Type | +| :------- | :---------------------------------------------------- | +| `txHash` | [`BigNumberish`](../namespaces/types.md#bignumberish) | + +#### Returns + +`Promise`<[`TransactionWithHash`](../namespaces/types.RPC.RPCSPEC06.md#transactionwithhash)\> + +#### Defined in + +[src/channel/rpc_0_6.ts:186](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_6.ts#L186) + +--- + +### getTransactionByBlockIdAndIndex + +▸ **getTransactionByBlockIdAndIndex**(`blockIdentifier`, `index`): `Promise`<[`TransactionWithHash`](../namespaces/types.RPC.RPCSPEC06.md#transactionwithhash)\> + +#### Parameters + +| Name | Type | +| :---------------- | :---------------------------------------------------------- | +| `blockIdentifier` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | +| `index` | `number` | + +#### Returns + +`Promise`<[`TransactionWithHash`](../namespaces/types.RPC.RPCSPEC06.md#transactionwithhash)\> + +#### Defined in + +[src/channel/rpc_0_6.ts:193](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_6.ts#L193) + +--- + +### getTransactionReceipt + +▸ **getTransactionReceipt**(`txHash`): `Promise`<[`TransactionReceipt`](../namespaces/types.RPC.RPCSPEC06.md#transactionreceipt)\> + +#### Parameters + +| Name | Type | +| :------- | :---------------------------------------------------- | +| `txHash` | [`BigNumberish`](../namespaces/types.md#bignumberish) | + +#### Returns + +`Promise`<[`TransactionReceipt`](../namespaces/types.RPC.RPCSPEC06.md#transactionreceipt)\> + +#### Defined in + +[src/channel/rpc_0_6.ts:198](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_6.ts#L198) + +--- + +### getTransactionTrace + +▸ **getTransactionTrace**(`txHash`): `Promise`<[`TRANSACTION_TRACE`](../namespaces/types.RPC.RPCSPEC06.SPEC.md#transaction_trace)\> + +#### Parameters + +| Name | Type | +| :------- | :---------------------------------------------------- | +| `txHash` | [`BigNumberish`](../namespaces/types.md#bignumberish) | + +#### Returns + +`Promise`<[`TRANSACTION_TRACE`](../namespaces/types.RPC.RPCSPEC06.SPEC.md#transaction_trace)\> + +#### Defined in + +[src/channel/rpc_0_6.ts:203](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_6.ts#L203) + +--- + +### getTransactionStatus + +▸ **getTransactionStatus**(`transactionHash`): `Promise`<[`TransactionStatus`](../namespaces/types.RPC.RPCSPEC06.md#transactionstatus)\> + +Get the status of a transaction + +#### Parameters + +| Name | Type | +| :---------------- | :---------------------------------------------------- | +| `transactionHash` | [`BigNumberish`](../namespaces/types.md#bignumberish) | + +#### Returns + +`Promise`<[`TransactionStatus`](../namespaces/types.RPC.RPCSPEC06.md#transactionstatus)\> + +#### Defined in + +[src/channel/rpc_0_6.ts:211](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_6.ts#L211) + +--- + +### simulateTransaction + +▸ **simulateTransaction**(`invocations`, `simulateTransactionOptions?`): `Promise`<[`SimulateTransactionResponse`](../namespaces/types.RPC.RPCSPEC06.md#simulatetransactionresponse)\> + +#### Parameters + +| Name | Type | Description | +| :--------------------------- | :-------------------------------------------------------------------------------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `invocations` | [`AccountInvocations`](../namespaces/types.md#accountinvocations) | AccountInvocations | +| `simulateTransactionOptions` | [`getSimulateTransactionOptions`](../namespaces/types.md#getsimulatetransactionoptions) | blockIdentifier and flags to skip validation and fee charge
- blockIdentifier
- skipValidate (default false)
- skipFeeCharge (default true)
| + +#### Returns + +`Promise`<[`SimulateTransactionResponse`](../namespaces/types.RPC.RPCSPEC06.md#simulatetransactionresponse)\> + +#### Defined in + +[src/channel/rpc_0_6.ts:223](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_6.ts#L223) + +--- + +### waitForTransaction + +▸ **waitForTransaction**(`txHash`, `options?`): `Promise`<[`TXN_RECEIPT`](../namespaces/types.RPC.RPCSPEC06.SPEC.md#txn_receipt)\> + +#### Parameters + +| Name | Type | +| :--------- | :------------------------------------------------------------------------------ | +| `txHash` | [`BigNumberish`](../namespaces/types.md#bignumberish) | +| `options?` | [`waitForTransactionOptions`](../namespaces/types.md#waitfortransactionoptions) | + +#### Returns + +`Promise`<[`TXN_RECEIPT`](../namespaces/types.RPC.RPCSPEC06.SPEC.md#txn_receipt)\> + +#### Defined in + +[src/channel/rpc_0_6.ts:244](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_6.ts#L244) + +--- + +### getStorageAt + +▸ **getStorageAt**(`contractAddress`, `key`, `blockIdentifier?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :---------------- | :---------------------------------------------------------- | +| `contractAddress` | [`BigNumberish`](../namespaces/types.md#bignumberish) | +| `key` | [`BigNumberish`](../namespaces/types.md#bignumberish) | +| `blockIdentifier` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<`string`\> + +#### Defined in + +[src/channel/rpc_0_6.ts:326](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_6.ts#L326) + +--- + +### getClassHashAt + +▸ **getClassHashAt**(`contractAddress`, `blockIdentifier?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :---------------- | :---------------------------------------------------------- | +| `contractAddress` | [`BigNumberish`](../namespaces/types.md#bignumberish) | +| `blockIdentifier` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<`string`\> + +#### Defined in + +[src/channel/rpc_0_6.ts:341](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_6.ts#L341) + +--- + +### getClass + +▸ **getClass**(`classHash`, `blockIdentifier?`): `Promise`<[`ContractClass`](../namespaces/types.RPC.RPCSPEC06.md#contractclass)\> + +#### Parameters + +| Name | Type | +| :---------------- | :---------------------------------------------------------- | +| `classHash` | [`BigNumberish`](../namespaces/types.md#bignumberish) | +| `blockIdentifier` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<[`ContractClass`](../namespaces/types.RPC.RPCSPEC06.md#contractclass)\> + +#### Defined in + +[src/channel/rpc_0_6.ts:353](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_6.ts#L353) + +--- + +### getClassAt + +▸ **getClassAt**(`contractAddress`, `blockIdentifier?`): `Promise`<[`ContractClass`](../namespaces/types.RPC.RPCSPEC06.md#contractclass)\> + +#### Parameters + +| Name | Type | +| :---------------- | :---------------------------------------------------------- | +| `contractAddress` | [`BigNumberish`](../namespaces/types.md#bignumberish) | +| `blockIdentifier` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<[`ContractClass`](../namespaces/types.RPC.RPCSPEC06.md#contractclass)\> + +#### Defined in + +[src/channel/rpc_0_6.ts:365](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_6.ts#L365) + +--- + +### getEstimateFee + +▸ **getEstimateFee**(`invocations`, `«destructured»`): `Promise`<[`FEE_ESTIMATE`](../namespaces/types.RPC.RPCSPEC06.SPEC.md#fee_estimate)[]\> + +#### Parameters + +| Name | Type | +| :--------------- | :------------------------------------------------------------------------------ | +| `invocations` | [`AccountInvocations`](../namespaces/types.md#accountinvocations) | +| `«destructured»` | [`getEstimateFeeBulkOptions`](../namespaces/types.md#getestimatefeebulkoptions) | + +#### Returns + +`Promise`<[`FEE_ESTIMATE`](../namespaces/types.RPC.RPCSPEC06.SPEC.md#fee_estimate)[]\> + +#### Defined in + +[src/channel/rpc_0_6.ts:377](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_6.ts#L377) + +--- + +### invoke + +▸ **invoke**(`functionInvocation`, `details`): `Promise`<[`InvokedTransaction`](../namespaces/types.RPC.RPCSPEC06.md#invokedtransaction)\> + +#### Parameters + +| Name | Type | +| :------------------- | :---------------------------------------------------------------------------------- | +| `functionInvocation` | [`Invocation`](../namespaces/types.md#invocation) | +| `details` | [`InvocationsDetailsWithNonce`](../namespaces/types.md#invocationsdetailswithnonce) | + +#### Returns + +`Promise`<[`InvokedTransaction`](../namespaces/types.RPC.RPCSPEC06.md#invokedtransaction)\> + +#### Defined in + +[src/channel/rpc_0_6.ts:396](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_6.ts#L396) + +--- + +### declare + +▸ **declare**(`«destructured»`, `details`): `Promise`<[`TXN_RECEIPT`](../namespaces/types.RPC.RPCSPEC06.SPEC.md#txn_receipt) \| [`DeclaredTransaction`](../namespaces/types.RPC.RPCSPEC06.md#declaredtransaction)\> + +#### Parameters + +| Name | Type | +| :--------------- | :---------------------------------------------------------------------------------- | +| `«destructured»` | [`DeclareContractTransaction`](../namespaces/types.md#declarecontracttransaction) | +| `details` | [`InvocationsDetailsWithNonce`](../namespaces/types.md#invocationsdetailswithnonce) | + +#### Returns + +`Promise`<[`TXN_RECEIPT`](../namespaces/types.RPC.RPCSPEC06.SPEC.md#txn_receipt) \| [`DeclaredTransaction`](../namespaces/types.RPC.RPCSPEC06.md#declaredtransaction)\> + +#### Defined in + +[src/channel/rpc_0_6.ts:434](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_6.ts#L434) + +--- + +### deployAccount + +▸ **deployAccount**(`«destructured»`, `details`): `Promise`<[`TXN_RECEIPT`](../namespaces/types.RPC.RPCSPEC06.SPEC.md#txn_receipt) \| [`DeployedAccountTransaction`](../namespaces/types.RPC.RPCSPEC06.md#deployedaccounttransaction)\> + +#### Parameters + +| Name | Type | +| :--------------- | :-------------------------------------------------------------------------------------------- | +| `«destructured»` | [`DeployAccountContractTransaction`](../namespaces/types.md#deployaccountcontracttransaction) | +| `details` | [`InvocationsDetailsWithNonce`](../namespaces/types.md#invocationsdetailswithnonce) | + +#### Returns + +`Promise`<[`TXN_RECEIPT`](../namespaces/types.RPC.RPCSPEC06.SPEC.md#txn_receipt) \| [`DeployedAccountTransaction`](../namespaces/types.RPC.RPCSPEC06.md#deployedaccounttransaction)\> + +#### Defined in + +[src/channel/rpc_0_6.ts:506](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_6.ts#L506) + +--- + +### callContract + +▸ **callContract**(`call`, `blockIdentifier?`): `Promise`<`string`[]\> + +#### Parameters + +| Name | Type | +| :---------------- | :---------------------------------------------------------- | +| `call` | [`Call`](../namespaces/types.md#call) | +| `blockIdentifier` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<`string`[]\> + +#### Defined in + +[src/channel/rpc_0_6.ts:548](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_6.ts#L548) + +--- + +### estimateMessageFee + +▸ **estimateMessageFee**(`message`, `blockIdentifier?`): `Promise`<[`FEE_ESTIMATE`](../namespaces/types.RPC.RPCSPEC06.SPEC.md#fee_estimate)\> + +NEW: Estimate the fee for a message from L1 + +#### Parameters + +| Name | Type | Description | +| :---------------- | :--------------------------------------------------------------------- | :-------------- | +| `message` | [`MSG_FROM_L1`](../namespaces/types.RPC.RPCSPEC06.SPEC.md#msg_from_l1) | Message From L1 | +| `blockIdentifier` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | - | + +#### Returns + +`Promise`<[`FEE_ESTIMATE`](../namespaces/types.RPC.RPCSPEC06.SPEC.md#fee_estimate)\> + +#### Defined in + +[src/channel/rpc_0_6.ts:564](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_6.ts#L564) + +--- + +### getSyncingStats + +▸ **getSyncingStats**(): `Promise`<[`Syncing`](../namespaces/types.RPC.RPCSPEC06.md#syncing)\> + +Returns an object about the sync status, or false if the node is not synching + +#### Returns + +`Promise`<[`Syncing`](../namespaces/types.RPC.RPCSPEC06.md#syncing)\> + +Object with the stats data + +#### Defined in + +[src/channel/rpc_0_6.ts:587](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_6.ts#L587) + +--- + +### getEvents + +▸ **getEvents**(`eventFilter`): `Promise`<[`EVENTS_CHUNK`](../namespaces/types.RPC.RPCSPEC06.SPEC.md#events_chunk)\> + +Returns all events matching the given filter + +#### Parameters + +| Name | Type | +| :------------ | :---------------------------------------------------------------- | +| `eventFilter` | [`EventFilter`](../namespaces/types.RPC.RPCSPEC06.md#eventfilter) | + +#### Returns + +`Promise`<[`EVENTS_CHUNK`](../namespaces/types.RPC.RPCSPEC06.SPEC.md#events_chunk)\> + +events and the pagination of the events + +#### Defined in + +[src/channel/rpc_0_6.ts:595](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_6.ts#L595) + +--- + +### buildTransaction + +▸ **buildTransaction**(`invocation`, `versionType?`): [`BROADCASTED_TXN`](../namespaces/types.RPC.RPCSPEC06.SPEC.md#broadcasted_txn) + +#### Parameters + +| Name | Type | +| :------------- | :---------------------------------------------------------------------- | +| `invocation` | [`AccountInvocationItem`](../namespaces/types.md#accountinvocationitem) | +| `versionType?` | `"fee"` \| `"transaction"` | + +#### Returns + +[`BROADCASTED_TXN`](../namespaces/types.RPC.RPCSPEC06.SPEC.md#broadcasted_txn) + +#### Defined in + +[src/channel/rpc_0_6.ts:599](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_6.ts#L599) diff --git a/www/versioned_docs/version-6.11.0/API/classes/RPC07.RpcChannel.md b/www/versioned_docs/version-6.11.0/API/classes/RPC07.RpcChannel.md new file mode 100644 index 000000000..8b6df06d1 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/classes/RPC07.RpcChannel.md @@ -0,0 +1,849 @@ +--- +id: 'RPC07.RpcChannel' +title: 'Class: RpcChannel' +sidebar_label: 'RpcChannel' +custom_edit_url: null +--- + +[RPC07](../namespaces/RPC07.md).RpcChannel + +## Constructors + +### constructor + +• **new RpcChannel**(`optionsOrProvider?`): [`RpcChannel`](RPC07.RpcChannel.md) + +#### Parameters + +| Name | Type | +| :------------------- | :---------------------------------------------------------------- | +| `optionsOrProvider?` | [`RpcProviderOptions`](../namespaces/types.md#rpcprovideroptions) | + +#### Returns + +[`RpcChannel`](RPC07.RpcChannel.md) + +#### Defined in + +[src/channel/rpc_0_7.ts:57](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_7.ts#L57) + +## Properties + +### nodeUrl + +• **nodeUrl**: `string` + +#### Defined in + +[src/channel/rpc_0_7.ts:39](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_7.ts#L39) + +--- + +### headers + +• **headers**: `object` + +#### Defined in + +[src/channel/rpc_0_7.ts:41](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_7.ts#L41) + +--- + +### retries + +• `Readonly` **retries**: `number` + +#### Defined in + +[src/channel/rpc_0_7.ts:43](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_7.ts#L43) + +--- + +### requestId + +• **requestId**: `number` + +#### Defined in + +[src/channel/rpc_0_7.ts:45](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_7.ts#L45) + +--- + +### blockIdentifier + +• `Readonly` **blockIdentifier**: [`BlockIdentifier`](../namespaces/types.md#blockidentifier) + +#### Defined in + +[src/channel/rpc_0_7.ts:47](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_7.ts#L47) + +--- + +### chainId + +• `Private` `Optional` **chainId**: [`StarknetChainId`](../enums/constants.StarknetChainId.md) + +#### Defined in + +[src/channel/rpc_0_7.ts:49](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_7.ts#L49) + +--- + +### specVersion + +• `Private` `Optional` **specVersion**: `string` + +#### Defined in + +[src/channel/rpc_0_7.ts:51](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_7.ts#L51) + +--- + +### transactionRetryIntervalFallback + +• `Private` `Optional` **transactionRetryIntervalFallback**: `number` + +#### Defined in + +[src/channel/rpc_0_7.ts:53](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_7.ts#L53) + +--- + +### waitMode + +• `Readonly` **waitMode**: `Boolean` + +#### Defined in + +[src/channel/rpc_0_7.ts:55](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_7.ts#L55) + +## Accessors + +### transactionRetryIntervalDefault + +• `get` **transactionRetryIntervalDefault**(): `number` + +#### Returns + +`number` + +#### Defined in + +[src/channel/rpc_0_7.ts:85](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_7.ts#L85) + +## Methods + +### setChainId + +▸ **setChainId**(`chainId`): `void` + +#### Parameters + +| Name | Type | +| :-------- | :--------------------------------------------------------- | +| `chainId` | [`StarknetChainId`](../enums/constants.StarknetChainId.md) | + +#### Returns + +`void` + +#### Defined in + +[src/channel/rpc_0_7.ts:89](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_7.ts#L89) + +--- + +### fetch + +▸ **fetch**(`method`, `params?`, `id?`): `Promise`<`Response`\> + +#### Parameters + +| Name | Type | Default value | +| :-------- | :------------------- | :------------ | +| `method` | `string` | `undefined` | +| `params?` | `object` | `undefined` | +| `id` | `string` \| `number` | `0` | + +#### Returns + +`Promise`<`Response`\> + +#### Defined in + +[src/channel/rpc_0_7.ts:93](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_7.ts#L93) + +--- + +### errorHandler + +▸ **errorHandler**(`method`, `params`, `rpcError?`, `otherError?`): `void` + +#### Parameters + +| Name | Type | +| :------------ | :----------------------------------------------- | +| `method` | `string` | +| `params` | `any` | +| `rpcError?` | [`Error`](../namespaces/types.RPC.JRPC.md#error) | +| `otherError?` | `any` | + +#### Returns + +`void` + +#### Defined in + +[src/channel/rpc_0_7.ts:107](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_7.ts#L107) + +--- + +### fetchEndpoint + +▸ **fetchEndpoint**<`T`\>(`method`, `params?`): `Promise`<[`Methods`](../namespaces/types.RPC.RPCSPEC07.API.md#methods)[`T`][``"result"``]\> + +#### Type parameters + +| Name | Type | +| :--- | :-------------------------------------------------------------------------- | +| `T` | extends keyof `ReadMethods` \| keyof `WriteMethods` \| keyof `TraceMethods` | + +#### Parameters + +| Name | Type | +| :-------- | :------------------------------------------------------------------------------- | +| `method` | `T` | +| `params?` | [`Methods`](../namespaces/types.RPC.RPCSPEC07.API.md#methods)[`T`][``"params"``] | + +#### Returns + +`Promise`<[`Methods`](../namespaces/types.RPC.RPCSPEC07.API.md#methods)[`T`][``"result"``]\> + +#### Defined in + +[src/channel/rpc_0_7.ts:123](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_7.ts#L123) + +--- + +### getChainId + +▸ **getChainId**(): `Promise`<[`StarknetChainId`](../enums/constants.StarknetChainId.md)\> + +#### Returns + +`Promise`<[`StarknetChainId`](../enums/constants.StarknetChainId.md)\> + +#### Defined in + +[src/channel/rpc_0_7.ts:138](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_7.ts#L138) + +--- + +### getSpecVersion + +▸ **getSpecVersion**(): `Promise`<`string`\> + +#### Returns + +`Promise`<`string`\> + +#### Defined in + +[src/channel/rpc_0_7.ts:143](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_7.ts#L143) + +--- + +### getNonceForAddress + +▸ **getNonceForAddress**(`contractAddress`, `blockIdentifier?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :---------------- | :---------------------------------------------------------- | +| `contractAddress` | [`BigNumberish`](../namespaces/types.md#bignumberish) | +| `blockIdentifier` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<`string`\> + +#### Defined in + +[src/channel/rpc_0_7.ts:148](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_7.ts#L148) + +--- + +### getBlockLatestAccepted + +▸ **getBlockLatestAccepted**(): `Promise`<[`BlockHashAndNumber`](../namespaces/types.RPC.RPCSPEC07.API.md#blockhashandnumber)\> + +Get the most recent accepted block hash and number + +#### Returns + +`Promise`<[`BlockHashAndNumber`](../namespaces/types.RPC.RPCSPEC07.API.md#blockhashandnumber)\> + +#### Defined in + +[src/channel/rpc_0_7.ts:163](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_7.ts#L163) + +--- + +### getBlockNumber + +▸ **getBlockNumber**(): `Promise`<`number`\> + +Get the most recent accepted block number +redundant use getBlockLatestAccepted(); + +#### Returns + +`Promise`<`number`\> + +Number of the latest block + +#### Defined in + +[src/channel/rpc_0_7.ts:172](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_7.ts#L172) + +--- + +### getBlockWithTxHashes + +▸ **getBlockWithTxHashes**(`blockIdentifier?`): `Promise`<[`BlockWithTxHashes`](../namespaces/types.RPC.RPCSPEC07.API.md#blockwithtxhashes)\> + +#### Parameters + +| Name | Type | +| :---------------- | :---------------------------------------------------------- | +| `blockIdentifier` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<[`BlockWithTxHashes`](../namespaces/types.RPC.RPCSPEC07.API.md#blockwithtxhashes)\> + +#### Defined in + +[src/channel/rpc_0_7.ts:176](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_7.ts#L176) + +--- + +### getBlockWithTxs + +▸ **getBlockWithTxs**(`blockIdentifier?`): `Promise`<[`BlockWithTxs`](../namespaces/types.RPC.RPCSPEC07.API.md#blockwithtxs)\> + +#### Parameters + +| Name | Type | +| :---------------- | :---------------------------------------------------------- | +| `blockIdentifier` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<[`BlockWithTxs`](../namespaces/types.RPC.RPCSPEC07.API.md#blockwithtxs)\> + +#### Defined in + +[src/channel/rpc_0_7.ts:181](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_7.ts#L181) + +--- + +### getBlockWithReceipts + +▸ **getBlockWithReceipts**(`blockIdentifier?`): `Promise`<[`BlockWithTxReceipts`](../namespaces/types.RPC.RPCSPEC07.API.md#blockwithtxreceipts)\> + +#### Parameters + +| Name | Type | +| :---------------- | :---------------------------------------------------------- | +| `blockIdentifier` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<[`BlockWithTxReceipts`](../namespaces/types.RPC.RPCSPEC07.API.md#blockwithtxreceipts)\> + +#### Defined in + +[src/channel/rpc_0_7.ts:186](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_7.ts#L186) + +--- + +### getBlockStateUpdate + +▸ **getBlockStateUpdate**(`blockIdentifier?`): `Promise`<[`StateUpdate`](../namespaces/types.RPC.RPCSPEC07.API.md#stateupdate)\> + +#### Parameters + +| Name | Type | +| :---------------- | :---------------------------------------------------------- | +| `blockIdentifier` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<[`StateUpdate`](../namespaces/types.RPC.RPCSPEC07.API.md#stateupdate)\> + +#### Defined in + +[src/channel/rpc_0_7.ts:191](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_7.ts#L191) + +--- + +### getBlockTransactionsTraces + +▸ **getBlockTransactionsTraces**(`blockIdentifier?`): `Promise`<[`BlockTransactionsTraces`](../namespaces/types.RPC.RPCSPEC07.API.md#blocktransactionstraces)\> + +#### Parameters + +| Name | Type | +| :---------------- | :---------------------------------------------------------- | +| `blockIdentifier` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<[`BlockTransactionsTraces`](../namespaces/types.RPC.RPCSPEC07.API.md#blocktransactionstraces)\> + +#### Defined in + +[src/channel/rpc_0_7.ts:196](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_7.ts#L196) + +--- + +### getBlockTransactionCount + +▸ **getBlockTransactionCount**(`blockIdentifier?`): `Promise`<`number`\> + +#### Parameters + +| Name | Type | +| :---------------- | :---------------------------------------------------------- | +| `blockIdentifier` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<`number`\> + +#### Defined in + +[src/channel/rpc_0_7.ts:201](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_7.ts#L201) + +--- + +### getTransactionByHash + +▸ **getTransactionByHash**(`txHash`): `Promise`<[`TransactionWithHash`](../namespaces/types.RPC.RPCSPEC07.API.md#transactionwithhash)\> + +#### Parameters + +| Name | Type | +| :------- | :---------------------------------------------------- | +| `txHash` | [`BigNumberish`](../namespaces/types.md#bignumberish) | + +#### Returns + +`Promise`<[`TransactionWithHash`](../namespaces/types.RPC.RPCSPEC07.API.md#transactionwithhash)\> + +#### Defined in + +[src/channel/rpc_0_7.ts:206](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_7.ts#L206) + +--- + +### getTransactionByBlockIdAndIndex + +▸ **getTransactionByBlockIdAndIndex**(`blockIdentifier`, `index`): `Promise`<[`TransactionWithHash`](../namespaces/types.RPC.RPCSPEC07.API.md#transactionwithhash)\> + +#### Parameters + +| Name | Type | +| :---------------- | :---------------------------------------------------------- | +| `blockIdentifier` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | +| `index` | `number` | + +#### Returns + +`Promise`<[`TransactionWithHash`](../namespaces/types.RPC.RPCSPEC07.API.md#transactionwithhash)\> + +#### Defined in + +[src/channel/rpc_0_7.ts:213](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_7.ts#L213) + +--- + +### getTransactionReceipt + +▸ **getTransactionReceipt**(`txHash`): `Promise`<[`TXN_RECEIPT_WITH_BLOCK_INFO`](../namespaces/types.RPC.RPCSPEC07.API.SPEC.md#txn_receipt_with_block_info)\> + +#### Parameters + +| Name | Type | +| :------- | :---------------------------------------------------- | +| `txHash` | [`BigNumberish`](../namespaces/types.md#bignumberish) | + +#### Returns + +`Promise`<[`TXN_RECEIPT_WITH_BLOCK_INFO`](../namespaces/types.RPC.RPCSPEC07.API.SPEC.md#txn_receipt_with_block_info)\> + +#### Defined in + +[src/channel/rpc_0_7.ts:218](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_7.ts#L218) + +--- + +### getTransactionTrace + +▸ **getTransactionTrace**(`txHash`): `Promise`<[`TRANSACTION_TRACE`](../namespaces/types.RPC.RPCSPEC07.API.SPEC.md#transaction_trace)\> + +#### Parameters + +| Name | Type | +| :------- | :---------------------------------------------------- | +| `txHash` | [`BigNumberish`](../namespaces/types.md#bignumberish) | + +#### Returns + +`Promise`<[`TRANSACTION_TRACE`](../namespaces/types.RPC.RPCSPEC07.API.SPEC.md#transaction_trace)\> + +#### Defined in + +[src/channel/rpc_0_7.ts:223](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_7.ts#L223) + +--- + +### getTransactionStatus + +▸ **getTransactionStatus**(`transactionHash`): `Promise`<[`TransactionStatus`](../namespaces/types.RPC.RPCSPEC07.API.md#transactionstatus)\> + +Get the status of a transaction + +#### Parameters + +| Name | Type | +| :---------------- | :---------------------------------------------------- | +| `transactionHash` | [`BigNumberish`](../namespaces/types.md#bignumberish) | + +#### Returns + +`Promise`<[`TransactionStatus`](../namespaces/types.RPC.RPCSPEC07.API.md#transactionstatus)\> + +#### Defined in + +[src/channel/rpc_0_7.ts:231](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_7.ts#L231) + +--- + +### simulateTransaction + +▸ **simulateTransaction**(`invocations`, `simulateTransactionOptions?`): `Promise`<[`SimulateTransactionResponse`](../namespaces/types.RPC.RPCSPEC07.API.md#simulatetransactionresponse)\> + +#### Parameters + +| Name | Type | Description | +| :--------------------------- | :-------------------------------------------------------------------------------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `invocations` | [`AccountInvocations`](../namespaces/types.md#accountinvocations) | AccountInvocations | +| `simulateTransactionOptions` | [`getSimulateTransactionOptions`](../namespaces/types.md#getsimulatetransactionoptions) | blockIdentifier and flags to skip validation and fee charge
- blockIdentifier
- skipValidate (default false)
- skipFeeCharge (default true)
| + +#### Returns + +`Promise`<[`SimulateTransactionResponse`](../namespaces/types.RPC.RPCSPEC07.API.md#simulatetransactionresponse)\> + +#### Defined in + +[src/channel/rpc_0_7.ts:243](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_7.ts#L243) + +--- + +### waitForTransaction + +▸ **waitForTransaction**(`txHash`, `options?`): `Promise`<[`TXN_RECEIPT`](../namespaces/types.RPC.RPCSPEC07.API.SPEC.md#txn_receipt)\> + +#### Parameters + +| Name | Type | +| :--------- | :------------------------------------------------------------------------------ | +| `txHash` | [`BigNumberish`](../namespaces/types.md#bignumberish) | +| `options?` | [`waitForTransactionOptions`](../namespaces/types.md#waitfortransactionoptions) | + +#### Returns + +`Promise`<[`TXN_RECEIPT`](../namespaces/types.RPC.RPCSPEC07.API.SPEC.md#txn_receipt)\> + +#### Defined in + +[src/channel/rpc_0_7.ts:264](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_7.ts#L264) + +--- + +### getStorageAt + +▸ **getStorageAt**(`contractAddress`, `key`, `blockIdentifier?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :---------------- | :---------------------------------------------------------- | +| `contractAddress` | [`BigNumberish`](../namespaces/types.md#bignumberish) | +| `key` | [`BigNumberish`](../namespaces/types.md#bignumberish) | +| `blockIdentifier` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<`string`\> + +#### Defined in + +[src/channel/rpc_0_7.ts:346](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_7.ts#L346) + +--- + +### getClassHashAt + +▸ **getClassHashAt**(`contractAddress`, `blockIdentifier?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :---------------- | :---------------------------------------------------------- | +| `contractAddress` | [`BigNumberish`](../namespaces/types.md#bignumberish) | +| `blockIdentifier` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<`string`\> + +#### Defined in + +[src/channel/rpc_0_7.ts:361](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_7.ts#L361) + +--- + +### getClass + +▸ **getClass**(`classHash`, `blockIdentifier?`): `Promise`<[`ContractClass`](../namespaces/types.RPC.RPCSPEC07.API.md#contractclass)\> + +#### Parameters + +| Name | Type | +| :---------------- | :---------------------------------------------------------- | +| `classHash` | [`BigNumberish`](../namespaces/types.md#bignumberish) | +| `blockIdentifier` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<[`ContractClass`](../namespaces/types.RPC.RPCSPEC07.API.md#contractclass)\> + +#### Defined in + +[src/channel/rpc_0_7.ts:373](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_7.ts#L373) + +--- + +### getClassAt + +▸ **getClassAt**(`contractAddress`, `blockIdentifier?`): `Promise`<[`ContractClass`](../namespaces/types.RPC.RPCSPEC07.API.md#contractclass)\> + +#### Parameters + +| Name | Type | +| :---------------- | :---------------------------------------------------------- | +| `contractAddress` | [`BigNumberish`](../namespaces/types.md#bignumberish) | +| `blockIdentifier` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<[`ContractClass`](../namespaces/types.RPC.RPCSPEC07.API.md#contractclass)\> + +#### Defined in + +[src/channel/rpc_0_7.ts:385](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_7.ts#L385) + +--- + +### getEstimateFee + +▸ **getEstimateFee**(`invocations`, `«destructured»`): `Promise`<[`FEE_ESTIMATE`](../namespaces/types.RPC.RPCSPEC07.API.SPEC.md#fee_estimate)[]\> + +#### Parameters + +| Name | Type | +| :--------------- | :------------------------------------------------------------------------------ | +| `invocations` | [`AccountInvocations`](../namespaces/types.md#accountinvocations) | +| `«destructured»` | [`getEstimateFeeBulkOptions`](../namespaces/types.md#getestimatefeebulkoptions) | + +#### Returns + +`Promise`<[`FEE_ESTIMATE`](../namespaces/types.RPC.RPCSPEC07.API.SPEC.md#fee_estimate)[]\> + +#### Defined in + +[src/channel/rpc_0_7.ts:397](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_7.ts#L397) + +--- + +### invoke + +▸ **invoke**(`functionInvocation`, `details`): `Promise`<[`InvokedTransaction`](../namespaces/types.RPC.RPCSPEC07.API.md#invokedtransaction)\> + +#### Parameters + +| Name | Type | +| :------------------- | :---------------------------------------------------------------------------------- | +| `functionInvocation` | [`Invocation`](../namespaces/types.md#invocation) | +| `details` | [`InvocationsDetailsWithNonce`](../namespaces/types.md#invocationsdetailswithnonce) | + +#### Returns + +`Promise`<[`InvokedTransaction`](../namespaces/types.RPC.RPCSPEC07.API.md#invokedtransaction)\> + +#### Defined in + +[src/channel/rpc_0_7.ts:416](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_7.ts#L416) + +--- + +### declare + +▸ **declare**(`«destructured»`, `details`): `Promise`<[`TXN_RECEIPT`](../namespaces/types.RPC.RPCSPEC07.API.SPEC.md#txn_receipt) \| [`DeclaredTransaction`](../namespaces/types.RPC.RPCSPEC07.API.md#declaredtransaction)\> + +#### Parameters + +| Name | Type | +| :--------------- | :---------------------------------------------------------------------------------- | +| `«destructured»` | [`DeclareContractTransaction`](../namespaces/types.md#declarecontracttransaction) | +| `details` | [`InvocationsDetailsWithNonce`](../namespaces/types.md#invocationsdetailswithnonce) | + +#### Returns + +`Promise`<[`TXN_RECEIPT`](../namespaces/types.RPC.RPCSPEC07.API.SPEC.md#txn_receipt) \| [`DeclaredTransaction`](../namespaces/types.RPC.RPCSPEC07.API.md#declaredtransaction)\> + +#### Defined in + +[src/channel/rpc_0_7.ts:454](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_7.ts#L454) + +--- + +### deployAccount + +▸ **deployAccount**(`«destructured»`, `details`): `Promise`<[`TXN_RECEIPT`](../namespaces/types.RPC.RPCSPEC07.API.SPEC.md#txn_receipt) \| [`DeployedAccountTransaction`](../namespaces/types.RPC.RPCSPEC07.API.md#deployedaccounttransaction)\> + +#### Parameters + +| Name | Type | +| :--------------- | :-------------------------------------------------------------------------------------------- | +| `«destructured»` | [`DeployAccountContractTransaction`](../namespaces/types.md#deployaccountcontracttransaction) | +| `details` | [`InvocationsDetailsWithNonce`](../namespaces/types.md#invocationsdetailswithnonce) | + +#### Returns + +`Promise`<[`TXN_RECEIPT`](../namespaces/types.RPC.RPCSPEC07.API.SPEC.md#txn_receipt) \| [`DeployedAccountTransaction`](../namespaces/types.RPC.RPCSPEC07.API.md#deployedaccounttransaction)\> + +#### Defined in + +[src/channel/rpc_0_7.ts:526](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_7.ts#L526) + +--- + +### callContract + +▸ **callContract**(`call`, `blockIdentifier?`): `Promise`<`string`[]\> + +#### Parameters + +| Name | Type | +| :---------------- | :---------------------------------------------------------- | +| `call` | [`Call`](../namespaces/types.md#call) | +| `blockIdentifier` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<`string`[]\> + +#### Defined in + +[src/channel/rpc_0_7.ts:568](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_7.ts#L568) + +--- + +### estimateMessageFee + +▸ **estimateMessageFee**(`message`, `blockIdentifier?`): `Promise`<[`FEE_ESTIMATE`](../namespaces/types.RPC.RPCSPEC07.API.SPEC.md#fee_estimate)\> + +NEW: Estimate the fee for a message from L1 + +#### Parameters + +| Name | Type | Description | +| :---------------- | :------------------------------------------------------------------------- | :-------------- | +| `message` | [`MSG_FROM_L1`](../namespaces/types.RPC.RPCSPEC07.API.SPEC.md#msg_from_l1) | Message From L1 | +| `blockIdentifier` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | - | + +#### Returns + +`Promise`<[`FEE_ESTIMATE`](../namespaces/types.RPC.RPCSPEC07.API.SPEC.md#fee_estimate)\> + +#### Defined in + +[src/channel/rpc_0_7.ts:584](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_7.ts#L584) + +--- + +### getSyncingStats + +▸ **getSyncingStats**(): `Promise`<[`Syncing`](../namespaces/types.RPC.RPCSPEC07.API.md#syncing)\> + +Returns an object about the sync status, or false if the node is not synching + +#### Returns + +`Promise`<[`Syncing`](../namespaces/types.RPC.RPCSPEC07.API.md#syncing)\> + +Object with the stats data + +#### Defined in + +[src/channel/rpc_0_7.ts:607](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_7.ts#L607) + +--- + +### getEvents + +▸ **getEvents**(`eventFilter`): `Promise`<[`EVENTS_CHUNK`](../namespaces/types.RPC.RPCSPEC07.API.SPEC.md#events_chunk)\> + +Returns all events matching the given filter + +#### Parameters + +| Name | Type | +| :------------ | :-------------------------------------------------------------------- | +| `eventFilter` | [`EventFilter`](../namespaces/types.RPC.RPCSPEC07.API.md#eventfilter) | + +#### Returns + +`Promise`<[`EVENTS_CHUNK`](../namespaces/types.RPC.RPCSPEC07.API.SPEC.md#events_chunk)\> + +events and the pagination of the events + +#### Defined in + +[src/channel/rpc_0_7.ts:615](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_7.ts#L615) + +--- + +### buildTransaction + +▸ **buildTransaction**(`invocation`, `versionType?`): [`BROADCASTED_TXN`](../namespaces/types.RPC.RPCSPEC07.API.SPEC.md#broadcasted_txn) + +#### Parameters + +| Name | Type | +| :------------- | :---------------------------------------------------------------------- | +| `invocation` | [`AccountInvocationItem`](../namespaces/types.md#accountinvocationitem) | +| `versionType?` | `"fee"` \| `"transaction"` | + +#### Returns + +[`BROADCASTED_TXN`](../namespaces/types.RPC.RPCSPEC07.API.SPEC.md#broadcasted_txn) + +#### Defined in + +[src/channel/rpc_0_7.ts:619](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/channel/rpc_0_7.ts#L619) diff --git a/www/versioned_docs/version-6.11.0/API/classes/RPCResponseParser.md b/www/versioned_docs/version-6.11.0/API/classes/RPCResponseParser.md new file mode 100644 index 000000000..db48fd8cf --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/classes/RPCResponseParser.md @@ -0,0 +1,236 @@ +--- +id: 'RPCResponseParser' +title: 'Class: RPCResponseParser' +sidebar_label: 'RPCResponseParser' +sidebar_position: 0 +custom_edit_url: null +--- + +## Implements + +- `Omit`<[`ResponseParser`](ResponseParser.md), `"parseDeclareContractResponse"` \| `"parseDeployContractResponse"` \| `"parseInvokeFunctionResponse"` \| `"parseGetTransactionReceiptResponse"` \| `"parseGetTransactionResponse"` \| `"parseCallContractResponse"`\> + +## Constructors + +### constructor + +• **new RPCResponseParser**(`margin?`): [`RPCResponseParser`](RPCResponseParser.md) + +#### Parameters + +| Name | Type | +| :------------------------------ | :------- | +| `margin?` | `Object` | +| `margin.l1BoundMaxAmount` | `number` | +| `margin.l1BoundMaxPricePerUnit` | `number` | +| `margin.maxFee` | `number` | + +#### Returns + +[`RPCResponseParser`](RPCResponseParser.md) + +#### Defined in + +[src/utils/responseParser/rpc.ts:38](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/responseParser/rpc.ts#L38) + +## Properties + +### margin + +• `Private` **margin**: `undefined` \| \{ `l1BoundMaxAmount`: `number` ; `l1BoundMaxPricePerUnit`: `number` ; `maxFee`: `number` } + +#### Defined in + +[src/utils/responseParser/rpc.ts:36](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/responseParser/rpc.ts#L36) + +## Methods + +### estimatedFeeToMaxFee + +▸ **estimatedFeeToMaxFee**(`estimatedFee`): `bigint` + +#### Parameters + +| Name | Type | +| :------------- | :---------------------------------------------------- | +| `estimatedFee` | [`BigNumberish`](../namespaces/types.md#bignumberish) | + +#### Returns + +`bigint` + +#### Defined in + +[src/utils/responseParser/rpc.ts:42](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/responseParser/rpc.ts#L42) + +--- + +### estimateFeeToBounds + +▸ **estimateFeeToBounds**(`estimate`): [`RESOURCE_BOUNDS_MAPPING`](../namespaces/types.RPC.RPCSPEC07.API.SPEC.md#resource_bounds_mapping) + +#### Parameters + +| Name | Type | +| :--------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `estimate` | `0n` \| \{ `unit`: `"WEI"` \| `"FRI"` ; `gas_consumed`: `string` ; `gas_price`: `string` ; `overall_fee`: `string` ; `data_gas_consumed`: `undefined` \| `string` ; `data_gas_price`: `undefined` \| `string` } | + +#### Returns + +[`RESOURCE_BOUNDS_MAPPING`](../namespaces/types.RPC.RPCSPEC07.API.SPEC.md#resource_bounds_mapping) + +#### Defined in + +[src/utils/responseParser/rpc.ts:46](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/responseParser/rpc.ts#L46) + +--- + +### parseGetBlockResponse + +▸ **parseGetBlockResponse**(`res`): [`GetBlockResponse`](../namespaces/types.md#getblockresponse) + +#### Parameters + +| Name | Type | +| :---- | :-------------------------------------------------------------- | +| `res` | [`BlockWithTxHashes`](../namespaces/types.md#blockwithtxhashes) | + +#### Returns + +[`GetBlockResponse`](../namespaces/types.md#getblockresponse) + +#### Implementation of + +Omit.parseGetBlockResponse + +#### Defined in + +[src/utils/responseParser/rpc.ts:54](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/responseParser/rpc.ts#L54) + +--- + +### parseTransactionReceipt + +▸ **parseTransactionReceipt**(`res`): [`GetTxReceiptResponseWithoutHelper`](../namespaces/types.md#gettxreceiptresponsewithouthelper) + +#### Parameters + +| Name | Type | +| :---- | :---------------------------------------------------------------- | +| `res` | [`TransactionReceipt`](../namespaces/types.md#transactionreceipt) | + +#### Returns + +[`GetTxReceiptResponseWithoutHelper`](../namespaces/types.md#gettxreceiptresponsewithouthelper) + +#### Defined in + +[src/utils/responseParser/rpc.ts:58](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/responseParser/rpc.ts#L58) + +--- + +### parseFeeEstimateResponse + +▸ **parseFeeEstimateResponse**(`res`): [`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md) + +#### Parameters + +| Name | Type | +| :---- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `res` | \{ `unit`: `"WEI"` \| `"FRI"` ; `gas_consumed`: `string` ; `gas_price`: `string` ; `overall_fee`: `string` ; `data_gas_consumed`: `undefined` \| `string` ; `data_gas_price`: `undefined` \| `string` }[] | + +#### Returns + +[`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md) + +#### Implementation of + +Omit.parseFeeEstimateResponse + +#### Defined in + +[src/utils/responseParser/rpc.ts:74](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/responseParser/rpc.ts#L74) + +--- + +### parseFeeEstimateBulkResponse + +▸ **parseFeeEstimateBulkResponse**(`res`): [`EstimateFeeResponseBulk`](../namespaces/types.md#estimatefeeresponsebulk) + +#### Parameters + +| Name | Type | +| :---- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `res` | \{ `unit`: `"WEI"` \| `"FRI"` ; `gas_consumed`: `string` ; `gas_price`: `string` ; `overall_fee`: `string` ; `data_gas_consumed`: `undefined` \| `string` ; `data_gas_price`: `undefined` \| `string` }[] | + +#### Returns + +[`EstimateFeeResponseBulk`](../namespaces/types.md#estimatefeeresponsebulk) + +#### Defined in + +[src/utils/responseParser/rpc.ts:88](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/responseParser/rpc.ts#L88) + +--- + +### parseSimulateTransactionResponse + +▸ **parseSimulateTransactionResponse**(`res`): [`SimulateTransactionResponse`](../namespaces/types.md#simulatetransactionresponse) + +#### Parameters + +| Name | Type | +| :---- | :---- | +| `res` | `any` | + +#### Returns + +[`SimulateTransactionResponse`](../namespaces/types.md#simulatetransactionresponse) + +#### Implementation of + +Omit.parseSimulateTransactionResponse + +#### Defined in + +[src/utils/responseParser/rpc.ts:101](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/responseParser/rpc.ts#L101) + +--- + +### parseContractClassResponse + +▸ **parseContractClassResponse**(`res`): [`ContractClassResponse`](../namespaces/types.md#contractclassresponse) + +#### Parameters + +| Name | Type | +| :---- | :-------------------------------------------------------------------- | +| `res` | [`ContractClassPayload`](../namespaces/types.md#contractclasspayload) | + +#### Returns + +[`ContractClassResponse`](../namespaces/types.md#contractclassresponse) + +#### Defined in + +[src/utils/responseParser/rpc.ts:118](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/responseParser/rpc.ts#L118) + +--- + +### parseL1GasPriceResponse + +▸ **parseL1GasPriceResponse**(`res`): `string` + +#### Parameters + +| Name | Type | +| :---- | :-------------------------------------------------------------- | +| `res` | [`BlockWithTxHashes`](../namespaces/types.md#blockwithtxhashes) | + +#### Returns + +`string` + +#### Defined in + +[src/utils/responseParser/rpc.ts:125](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/responseParser/rpc.ts#L125) diff --git a/www/versioned_docs/version-6.11.0/API/classes/ReceiptTx.md b/www/versioned_docs/version-6.11.0/API/classes/ReceiptTx.md new file mode 100644 index 000000000..c11d9c52d --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/classes/ReceiptTx.md @@ -0,0 +1,233 @@ +--- +id: 'ReceiptTx' +title: 'Class: ReceiptTx' +sidebar_label: 'ReceiptTx' +sidebar_position: 0 +custom_edit_url: null +--- + +Utility that analyses transaction receipt response and provides helpers to process it + +**`Example`** + +```typescript +const responseTx = new ReceiptTx(receipt); +responseTx.match({ + success: (txR: SuccessfulTransactionReceiptResponse) => { }, + rejected: (txR: RejectedTransactionReceiptResponse) => { }, + reverted: (txR: RevertedTransactionReceiptResponse) => { }, + error: (err: Error) => { }, +}); +responseTx.match({ + success: (txR: SuccessfulTransactionReceiptResponse) => { }, + _: () => { }, +} +``` + +## Implements + +- [`TransactionReceiptUtilityInterface`](../namespaces/types.md#transactionreceiptutilityinterface) + +## Constructors + +### constructor + +• **new ReceiptTx**(`receipt`): [`ReceiptTx`](ReceiptTx.md) + +#### Parameters + +| Name | Type | +| :-------- | :---------------------------------------------------------------------------------------------- | +| `receipt` | [`GetTxReceiptResponseWithoutHelper`](../namespaces/types.md#gettxreceiptresponsewithouthelper) | + +#### Returns + +[`ReceiptTx`](ReceiptTx.md) + +#### Defined in + +[src/utils/transactionReceipt.ts:39](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/transactionReceipt.ts#L39) + +## Properties + +### statusReceipt + +• `Readonly` **statusReceipt**: keyof [`TransactionStatusReceiptSets`](../namespaces/types.md#transactionstatusreceiptsets) + +#### Implementation of + +TransactionReceiptUtilityInterface.statusReceipt + +#### Defined in + +[src/utils/transactionReceipt.ts:35](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/transactionReceipt.ts#L35) + +--- + +### value + +• `Readonly` **value**: [`TransactionReceiptValue`](../namespaces/types.md#transactionreceiptvalue) + +#### Implementation of + +TransactionReceiptUtilityInterface.value + +#### Defined in + +[src/utils/transactionReceipt.ts:37](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/transactionReceipt.ts#L37) + +## Methods + +### isSuccess + +▸ **isSuccess**(`transactionReceipt`): transactionReceipt is SuccessfulTransactionReceiptResponse + +#### Parameters + +| Name | Type | +| :------------------- | :---------------------------------------------------------------------------------------------- | +| `transactionReceipt` | [`GetTxReceiptResponseWithoutHelper`](../namespaces/types.md#gettxreceiptresponsewithouthelper) | + +#### Returns + +transactionReceipt is SuccessfulTransactionReceiptResponse + +#### Defined in + +[src/utils/transactionReceipt.ts:86](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/transactionReceipt.ts#L86) + +--- + +### isReverted + +▸ **isReverted**(`transactionReceipt`): transactionReceipt is RevertedTransactionReceiptResponse + +#### Parameters + +| Name | Type | +| :------------------- | :---------------------------------------------------------------------------------------------- | +| `transactionReceipt` | [`GetTxReceiptResponseWithoutHelper`](../namespaces/types.md#gettxreceiptresponsewithouthelper) | + +#### Returns + +transactionReceipt is RevertedTransactionReceiptResponse + +#### Defined in + +[src/utils/transactionReceipt.ts:95](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/transactionReceipt.ts#L95) + +--- + +### isRejected + +▸ **isRejected**(`transactionReceipt`): transactionReceipt is RejectedTransactionReceiptResponse + +#### Parameters + +| Name | Type | +| :------------------- | :---------------------------------------------------------------------------------------------- | +| `transactionReceipt` | [`GetTxReceiptResponseWithoutHelper`](../namespaces/types.md#gettxreceiptresponsewithouthelper) | + +#### Returns + +transactionReceipt is RejectedTransactionReceiptResponse + +#### Defined in + +[src/utils/transactionReceipt.ts:104](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/transactionReceipt.ts#L104) + +--- + +### match + +▸ **match**(`callbacks`): `void` + +#### Parameters + +| Name | Type | +| :---------- | :---------------------------------------------------------------------------------- | +| `callbacks` | [`TransactionReceiptCallbacks`](../namespaces/types.md#transactionreceiptcallbacks) | + +#### Returns + +`void` + +#### Implementation of + +TransactionReceiptUtilityInterface.match + +#### Defined in + +[src/utils/transactionReceipt.ts:63](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/transactionReceipt.ts#L63) + +--- + +### isSuccess + +▸ **isSuccess**(): this is SuccessfulTransactionReceiptResponse + +#### Returns + +this is SuccessfulTransactionReceiptResponse + +#### Implementation of + +TransactionReceiptUtilityInterface.isSuccess + +#### Defined in + +[src/utils/transactionReceipt.ts:70](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/transactionReceipt.ts#L70) + +--- + +### isReverted + +▸ **isReverted**(): this is RevertedTransactionReceiptResponse + +#### Returns + +this is RevertedTransactionReceiptResponse + +#### Implementation of + +TransactionReceiptUtilityInterface.isReverted + +#### Defined in + +[src/utils/transactionReceipt.ts:74](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/transactionReceipt.ts#L74) + +--- + +### isRejected + +▸ **isRejected**(): this is RejectedTransactionReceiptResponse + +#### Returns + +this is RejectedTransactionReceiptResponse + +#### Implementation of + +TransactionReceiptUtilityInterface.isRejected + +#### Defined in + +[src/utils/transactionReceipt.ts:78](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/transactionReceipt.ts#L78) + +--- + +### isError + +▸ **isError**(): `boolean` + +#### Returns + +`boolean` + +#### Implementation of + +TransactionReceiptUtilityInterface.isError + +#### Defined in + +[src/utils/transactionReceipt.ts:82](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/transactionReceipt.ts#L82) diff --git a/www/versioned_docs/version-6.11.0/API/classes/ResponseParser.md b/www/versioned_docs/version-6.11.0/API/classes/ResponseParser.md new file mode 100644 index 000000000..a123765bc --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/classes/ResponseParser.md @@ -0,0 +1,206 @@ +--- +id: 'ResponseParser' +title: 'Class: ResponseParser' +sidebar_label: 'ResponseParser' +sidebar_position: 0 +custom_edit_url: null +--- + +## Constructors + +### constructor + +• **new ResponseParser**(): [`ResponseParser`](ResponseParser.md) + +#### Returns + +[`ResponseParser`](ResponseParser.md) + +## Methods + +### parseGetBlockResponse + +▸ **parseGetBlockResponse**(`res`): [`GetBlockResponse`](../namespaces/types.md#getblockresponse) + +#### Parameters + +| Name | Type | +| :---- | :-------------------------------------------------------------- | +| `res` | [`BlockWithTxHashes`](../namespaces/types.md#blockwithtxhashes) | + +#### Returns + +[`GetBlockResponse`](../namespaces/types.md#getblockresponse) + +#### Defined in + +[src/utils/responseParser/interface.ts:16](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/responseParser/interface.ts#L16) + +--- + +### parseGetTransactionResponse + +▸ **parseGetTransactionResponse**(`res`): `TransactionWithHash` + +#### Parameters + +| Name | Type | +| :---- | :---- | +| `res` | `any` | + +#### Returns + +`TransactionWithHash` + +#### Defined in + +[src/utils/responseParser/interface.ts:18](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/responseParser/interface.ts#L18) + +--- + +### parseGetTransactionReceiptResponse + +▸ **parseGetTransactionReceiptResponse**(`res`): [`GetTransactionReceiptResponse`](../modules.md#gettransactionreceiptresponse) + +#### Parameters + +| Name | Type | +| :---- | :---- | +| `res` | `any` | + +#### Returns + +[`GetTransactionReceiptResponse`](../modules.md#gettransactionreceiptresponse) + +#### Defined in + +[src/utils/responseParser/interface.ts:20](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/responseParser/interface.ts#L20) + +--- + +### parseFeeEstimateResponse + +▸ **parseFeeEstimateResponse**(`res`): [`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md) + +#### Parameters + +| Name | Type | +| :---- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `res` | \{ `unit`: `"WEI"` \| `"FRI"` ; `gas_consumed`: `string` ; `gas_price`: `string` ; `overall_fee`: `string` ; `data_gas_consumed`: `undefined` \| `string` ; `data_gas_price`: `undefined` \| `string` }[] | + +#### Returns + +[`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md) + +#### Defined in + +[src/utils/responseParser/interface.ts:22](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/responseParser/interface.ts#L22) + +--- + +### parseCallContractResponse + +▸ **parseCallContractResponse**(`res`): [`CallContractResponse`](../namespaces/types.md#callcontractresponse) + +#### Parameters + +| Name | Type | +| :---- | :---- | +| `res` | `any` | + +#### Returns + +[`CallContractResponse`](../namespaces/types.md#callcontractresponse) + +#### Defined in + +[src/utils/responseParser/interface.ts:24](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/responseParser/interface.ts#L24) + +--- + +### parseInvokeFunctionResponse + +▸ **parseInvokeFunctionResponse**(`res`): `Object` + +#### Parameters + +| Name | Type | +| :---- | :---- | +| `res` | `any` | + +#### Returns + +`Object` + +| Name | Type | +| :----------------- | :------- | +| `transaction_hash` | `string` | + +#### Defined in + +[src/utils/responseParser/interface.ts:26](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/responseParser/interface.ts#L26) + +--- + +### parseDeployContractResponse + +▸ **parseDeployContractResponse**(`res`): [`DeployContractResponse`](../interfaces/types.DeployContractResponse.md) + +#### Parameters + +| Name | Type | +| :---- | :---- | +| `res` | `any` | + +#### Returns + +[`DeployContractResponse`](../interfaces/types.DeployContractResponse.md) + +#### Defined in + +[src/utils/responseParser/interface.ts:28](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/responseParser/interface.ts#L28) + +--- + +### parseDeclareContractResponse + +▸ **parseDeclareContractResponse**(`res`): `Object` + +#### Parameters + +| Name | Type | +| :---- | :---- | +| `res` | `any` | + +#### Returns + +`Object` + +| Name | Type | +| :----------------- | :------- | +| `class_hash` | `string` | +| `transaction_hash` | `string` | + +#### Defined in + +[src/utils/responseParser/interface.ts:30](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/responseParser/interface.ts#L30) + +--- + +### parseSimulateTransactionResponse + +▸ **parseSimulateTransactionResponse**(`res`): [`SimulateTransactionResponse`](../namespaces/types.md#simulatetransactionresponse) + +#### Parameters + +| Name | Type | +| :---- | :---- | +| `res` | `any` | + +#### Returns + +[`SimulateTransactionResponse`](../namespaces/types.md#simulatetransactionresponse) + +#### Defined in + +[src/utils/responseParser/interface.ts:32](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/responseParser/interface.ts#L32) diff --git a/www/versioned_docs/version-6.11.0/API/classes/Signer.md b/www/versioned_docs/version-6.11.0/API/classes/Signer.md new file mode 100644 index 000000000..5f123ce45 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/classes/Signer.md @@ -0,0 +1,303 @@ +--- +id: 'Signer' +title: 'Class: Signer' +sidebar_label: 'Signer' +sidebar_position: 0 +custom_edit_url: null +--- + +## Implements + +- [`SignerInterface`](SignerInterface.md) + +## Constructors + +### constructor + +• **new Signer**(`pk?`): [`Signer`](Signer.md) + +#### Parameters + +| Name | Type | +| :--- | :----------------------- | +| `pk` | `string` \| `Uint8Array` | + +#### Returns + +[`Signer`](Signer.md) + +#### Defined in + +[src/signer/default.ts:33](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/signer/default.ts#L33) + +## Properties + +### pk + +• `Protected` **pk**: `string` \| `Uint8Array` + +#### Defined in + +[src/signer/default.ts:31](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/signer/default.ts#L31) + +## Methods + +### getPubKey + +▸ **getPubKey**(): `Promise`<`string`\> + +Method to get the public key of the signer + +#### Returns + +`Promise`<`string`\> + +hex-string + +**`Example`** + +```typescript +const mySigner = new Signer('0x123'); +const result = await mySigner.getPubKey(); +// result = "0x566d69d8c99f62bc71118399bab25c1f03719463eab8d6a444cd11ece131616" +``` + +#### Implementation of + +[SignerInterface](SignerInterface.md).[getPubKey](SignerInterface.md#getpubkey) + +#### Defined in + +[src/signer/default.ts:37](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/signer/default.ts#L37) + +--- + +### signMessage + +▸ **signMessage**(`typedData`, `accountAddress`): `Promise`<[`Signature`](../namespaces/types.md#signature)\> + +Signs a JSON object for off-chain usage with the private key and returns the signature. +This adds a message prefix so it can't be interchanged with transactions + +#### Parameters + +| Name | Type | Description | +| :--------------- | :----------------------------------------------------------------------- | :---------------------------------- | +| `typedData` | [`TypedData`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.TypedData.md) | JSON object to be signed | +| `accountAddress` | `string` | Hex string of the account's address | + +#### Returns + +`Promise`<[`Signature`](../namespaces/types.md#signature)\> + +the signature of the message + +**`Example`** + +```typescript +const mySigner = new Signer('0x123'); +const myTypedData: TypedData = { + domain: { name: 'Example DApp', chainId: constants.StarknetChainId.SN_SEPOLIA, version: '0.0.3' }, + types: { + StarkNetDomain: [ + { name: 'name', type: 'string' }, + { name: 'chainId', type: 'felt' }, + { name: 'version', type: 'string' }, + ], + Message: [{ name: 'message', type: 'felt' }], + }, + primaryType: 'Message', + message: { message: '1234' }, +}; +const result = await mySigner.signMessage( + myTypedData, + '0x5d08a4e9188429da4e993c9bf25aafe5cd491ee2b501505d4d059f0c938f82d' +); +// result = Signature {r: 684915484701699003335398790608214855489903651271362390249153620883122231253n, +// s: 1399150959912500412309102776989465580949387575375484933432871778355496929189n, recovery: 1} +``` + +#### Implementation of + +[SignerInterface](SignerInterface.md).[signMessage](SignerInterface.md#signmessage) + +#### Defined in + +[src/signer/default.ts:41](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/signer/default.ts#L41) + +--- + +### signTransaction + +▸ **signTransaction**(`transactions`, `details`): `Promise`<[`Signature`](../namespaces/types.md#signature)\> + +Signs transactions with the private key and returns the signature + +#### Parameters + +| Name | Type | Description | +| :------------- | :---------------------------------------------------------------------------- | :------------------------------ | +| `transactions` | [`Call`](../namespaces/types.md#call)[] | array of Call objects | +| `details` | [`InvocationsSignerDetails`](../namespaces/types.md#invocationssignerdetails) | InvocationsSignerDetails object | + +#### Returns + +`Promise`<[`Signature`](../namespaces/types.md#signature)\> + +the signature of the transaction + +**`Example`** + +```typescript +const mySigner = new Signer('0x123'); +const calls: Call[] = [ + { + contractAddress: '0x1234567890123456789012345678901234567890', + entrypoint: 'functionName', + calldata: [1, 2, 3], + }, +]; +const transactionsDetail: InvocationsSignerDetails = { + walletAddress: '0x742d35Cc6634C0532925a3b844Bc454e4438f44e', + chainId: constants.StarknetChainId.SN_MAIN, + cairoVersion: '1', + maxFee: '0x1234567890abcdef', + version: '0x0', + nonce: 1, +}; +const result = await mySigner.signTransaction(calls, transactionsDetail); +// result = Signature {r: 304910226421970384958146916800275294114105560641204815169249090836676768876n, +// s: 1072798866000813654190523783606274062837012608648308896325315895472901074693n, recovery: 0} +``` + +#### Implementation of + +[SignerInterface](SignerInterface.md).[signTransaction](SignerInterface.md#signtransaction) + +#### Defined in + +[src/signer/default.ts:46](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/signer/default.ts#L46) + +--- + +### signDeployAccountTransaction + +▸ **signDeployAccountTransaction**(`details`): `Promise`<[`Signature`](../namespaces/types.md#signature)\> + +Signs a DEPLOY_ACCOUNT transaction with the private key and returns the signature + +#### Parameters + +| Name | Type | Description | +| :-------- | :-------------------------------------------------------------------------------- | :---------------------------- | +| `details` | [`DeployAccountSignerDetails`](../namespaces/types.md#deployaccountsignerdetails) | to deploy an account contract | + +#### Returns + +`Promise`<[`Signature`](../namespaces/types.md#signature)\> + +the signature of the transaction to deploy an account + +**`Example`** + +```typescript +const mySigner = new Signer('0x123'); +const myDeployAcc: DeployAccountSignerDetails = { + contractAddress: '0x65a822fbee1ae79e898688b5a4282dc79e0042cbed12f6169937fddb4c26641', + version: '0x2', + chainId: constants.StarknetChainId.SN_SEPOLIA, + classHash: '0x5f3614e8671257aff9ac38e929c74d65b02d460ae966cd826c9f04a7fa8e0d4', + constructorCalldata: [1, 2], + addressSalt: 1234, + nonce: 45, + maxFee: 10 ** 15, + tip: 0, + paymasterData: [], + accountDeploymentData: [], + nonceDataAvailabilityMode: RPC.EDataAvailabilityMode.L1, + feeDataAvailabilityMode: RPC.EDataAvailabilityMode.L1, + resourceBounds: stark.estimateFeeToBounds(constants.ZERO), +}; +const result = await mySigner.signDeployAccountTransaction(myDeployAcc); +// result = Signature {r: 2871311234341436528393212130310036951068553852419934781736214693308640202748n, +// s: 1746271646048888422437132495446973163454853863041370993384284773665861377605n, recovery: 1} +``` + +#### Implementation of + +[SignerInterface](SignerInterface.md).[signDeployAccountTransaction](SignerInterface.md#signdeployaccounttransaction) + +#### Defined in + +[src/signer/default.ts:79](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/signer/default.ts#L79) + +--- + +### signDeclareTransaction + +▸ **signDeclareTransaction**(`details`): `Promise`<[`Signature`](../namespaces/types.md#signature)\> + +Signs a DECLARE transaction with the private key and returns the signature + +#### Parameters + +| Name | Type | Description | +| :-------- | :-------------------------------------------------------------------- | :----------------- | +| `details` | [`DeclareSignerDetails`](../namespaces/types.md#declaresignerdetails) | to declare a class | + +#### Returns + +`Promise`<[`Signature`](../namespaces/types.md#signature)\> + +the signature of the transaction to declare a class + +**`Example`** + +```typescript +const mySigner = new Signer('0x123'); +const myDeclare: DeclareSignerDetails = { + version: '0x2', + chainId: constants.StarknetChainId.SN_SEPOLIA, + senderAddress: '0x65a822fbee1ae79e898688b5a4282dc79e0042cbed12f6169937fddb4c26641', + classHash: '0x5f3614e8671257aff9ac38e929c74d65b02d460ae966cd826c9f04a7fa8e0d4', + nonce: 45, + maxFee: 10 ** 15, + tip: 0, + paymasterData: [], + accountDeploymentData: [], + nonceDataAvailabilityMode: RPC.EDataAvailabilityMode.L1, + feeDataAvailabilityMode: RPC.EDataAvailabilityMode.L1, + resourceBounds: stark.estimateFeeToBounds(constants.ZERO), +}; +const result = await mySigner.signDeclareTransaction(myDeclare); +// result = Signature {r: 2432056944313955951711774394836075930010416436707488863728289188289211995670n, +// s: 3407649393310177489888603098175002856596469926897298636282244411990343146307n, recovery: 1} +``` + +#### Implementation of + +[SignerInterface](SignerInterface.md).[signDeclareTransaction](SignerInterface.md#signdeclaretransaction) + +#### Defined in + +[src/signer/default.ts:111](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/signer/default.ts#L111) + +--- + +### signRaw + +▸ **signRaw**(`msgHash`): `Promise`<[`Signature`](../namespaces/types.md#signature)\> + +#### Parameters + +| Name | Type | +| :-------- | :------- | +| `msgHash` | `string` | + +#### Returns + +`Promise`<[`Signature`](../namespaces/types.md#signature)\> + +#### Defined in + +[src/signer/default.ts:138](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/signer/default.ts#L138) diff --git a/www/versioned_docs/version-6.11.0/API/classes/SignerInterface.md b/www/versioned_docs/version-6.11.0/API/classes/SignerInterface.md new file mode 100644 index 000000000..a0a5129d8 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/classes/SignerInterface.md @@ -0,0 +1,244 @@ +--- +id: 'SignerInterface' +title: 'Class: SignerInterface' +sidebar_label: 'SignerInterface' +sidebar_position: 0 +custom_edit_url: null +--- + +## Implemented by + +- [`EthSigner`](EthSigner.md) +- [`Signer`](Signer.md) + +## Constructors + +### constructor + +• **new SignerInterface**(): [`SignerInterface`](SignerInterface.md) + +#### Returns + +[`SignerInterface`](SignerInterface.md) + +## Methods + +### getPubKey + +▸ **getPubKey**(): `Promise`<`string`\> + +Method to get the public key of the signer + +#### Returns + +`Promise`<`string`\> + +hex-string + +**`Example`** + +```typescript +const mySigner = new Signer('0x123'); +const result = await mySigner.getPubKey(); +// result = "0x566d69d8c99f62bc71118399bab25c1f03719463eab8d6a444cd11ece131616" +``` + +#### Defined in + +[src/signer/interface.ts:22](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/signer/interface.ts#L22) + +--- + +### signMessage + +▸ **signMessage**(`typedData`, `accountAddress`): `Promise`<[`Signature`](../namespaces/types.md#signature)\> + +Signs a JSON object for off-chain usage with the private key and returns the signature. +This adds a message prefix so it can't be interchanged with transactions + +#### Parameters + +| Name | Type | Description | +| :--------------- | :----------------------------------------------------------------------- | :---------------------------------- | +| `typedData` | [`TypedData`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.TypedData.md) | JSON object to be signed | +| `accountAddress` | `string` | Hex string of the account's address | + +#### Returns + +`Promise`<[`Signature`](../namespaces/types.md#signature)\> + +the signature of the message + +**`Example`** + +```typescript +const mySigner = new Signer('0x123'); +const myTypedData: TypedData = { + domain: { name: 'Example DApp', chainId: constants.StarknetChainId.SN_SEPOLIA, version: '0.0.3' }, + types: { + StarkNetDomain: [ + { name: 'name', type: 'string' }, + { name: 'chainId', type: 'felt' }, + { name: 'version', type: 'string' }, + ], + Message: [{ name: 'message', type: 'felt' }], + }, + primaryType: 'Message', + message: { message: '1234' }, +}; +const result = await mySigner.signMessage( + myTypedData, + '0x5d08a4e9188429da4e993c9bf25aafe5cd491ee2b501505d4d059f0c938f82d' +); +// result = Signature {r: 684915484701699003335398790608214855489903651271362390249153620883122231253n, +// s: 1399150959912500412309102776989465580949387575375484933432871778355496929189n, recovery: 1} +``` + +#### Defined in + +[src/signer/interface.ts:50](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/signer/interface.ts#L50) + +--- + +### signTransaction + +▸ **signTransaction**(`transactions`, `transactionsDetail`): `Promise`<[`Signature`](../namespaces/types.md#signature)\> + +Signs transactions with the private key and returns the signature + +#### Parameters + +| Name | Type | Description | +| :------------------- | :---------------------------------------------------------------------------- | :------------------------------ | +| `transactions` | [`Call`](../namespaces/types.md#call)[] | array of Call objects | +| `transactionsDetail` | [`InvocationsSignerDetails`](../namespaces/types.md#invocationssignerdetails) | InvocationsSignerDetails object | + +#### Returns + +`Promise`<[`Signature`](../namespaces/types.md#signature)\> + +the signature of the transaction + +**`Example`** + +```typescript +const mySigner = new Signer('0x123'); +const calls: Call[] = [ + { + contractAddress: '0x1234567890123456789012345678901234567890', + entrypoint: 'functionName', + calldata: [1, 2, 3], + }, +]; +const transactionsDetail: InvocationsSignerDetails = { + walletAddress: '0x742d35Cc6634C0532925a3b844Bc454e4438f44e', + chainId: constants.StarknetChainId.SN_MAIN, + cairoVersion: '1', + maxFee: '0x1234567890abcdef', + version: '0x0', + nonce: 1, +}; +const result = await mySigner.signTransaction(calls, transactionsDetail); +// result = Signature {r: 304910226421970384958146916800275294114105560641204815169249090836676768876n, +// s: 1072798866000813654190523783606274062837012608648308896325315895472901074693n, recovery: 0} +``` + +#### Defined in + +[src/signer/interface.ts:77](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/signer/interface.ts#L77) + +--- + +### signDeployAccountTransaction + +▸ **signDeployAccountTransaction**(`transaction`): `Promise`<[`Signature`](../namespaces/types.md#signature)\> + +Signs a DEPLOY_ACCOUNT transaction with the private key and returns the signature + +#### Parameters + +| Name | Type | Description | +| :------------ | :-------------------------------------------------------------------------------- | :---------------------------- | +| `transaction` | [`DeployAccountSignerDetails`](../namespaces/types.md#deployaccountsignerdetails) | to deploy an account contract | + +#### Returns + +`Promise`<[`Signature`](../namespaces/types.md#signature)\> + +the signature of the transaction to deploy an account + +**`Example`** + +```typescript +const mySigner = new Signer('0x123'); +const myDeployAcc: DeployAccountSignerDetails = { + contractAddress: '0x65a822fbee1ae79e898688b5a4282dc79e0042cbed12f6169937fddb4c26641', + version: '0x2', + chainId: constants.StarknetChainId.SN_SEPOLIA, + classHash: '0x5f3614e8671257aff9ac38e929c74d65b02d460ae966cd826c9f04a7fa8e0d4', + constructorCalldata: [1, 2], + addressSalt: 1234, + nonce: 45, + maxFee: 10 ** 15, + tip: 0, + paymasterData: [], + accountDeploymentData: [], + nonceDataAvailabilityMode: RPC.EDataAvailabilityMode.L1, + feeDataAvailabilityMode: RPC.EDataAvailabilityMode.L1, + resourceBounds: stark.estimateFeeToBounds(constants.ZERO), +}; +const result = await mySigner.signDeployAccountTransaction(myDeployAcc); +// result = Signature {r: 2871311234341436528393212130310036951068553852419934781736214693308640202748n, +// s: 1746271646048888422437132495446973163454853863041370993384284773665861377605n, recovery: 1} +``` + +#### Defined in + +[src/signer/interface.ts:105](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/signer/interface.ts#L105) + +--- + +### signDeclareTransaction + +▸ **signDeclareTransaction**(`transaction`): `Promise`<[`Signature`](../namespaces/types.md#signature)\> + +Signs a DECLARE transaction with the private key and returns the signature + +#### Parameters + +| Name | Type | Description | +| :------------ | :-------------------------------------------------------------------- | :----------------- | +| `transaction` | [`DeclareSignerDetails`](../namespaces/types.md#declaresignerdetails) | to declare a class | + +#### Returns + +`Promise`<[`Signature`](../namespaces/types.md#signature)\> + +the signature of the transaction to declare a class + +**`Example`** + +```typescript +const mySigner = new Signer('0x123'); +const myDeclare: DeclareSignerDetails = { + version: '0x2', + chainId: constants.StarknetChainId.SN_SEPOLIA, + senderAddress: '0x65a822fbee1ae79e898688b5a4282dc79e0042cbed12f6169937fddb4c26641', + classHash: '0x5f3614e8671257aff9ac38e929c74d65b02d460ae966cd826c9f04a7fa8e0d4', + nonce: 45, + maxFee: 10 ** 15, + tip: 0, + paymasterData: [], + accountDeploymentData: [], + nonceDataAvailabilityMode: RPC.EDataAvailabilityMode.L1, + feeDataAvailabilityMode: RPC.EDataAvailabilityMode.L1, + resourceBounds: stark.estimateFeeToBounds(constants.ZERO), +}; +const result = await mySigner.signDeclareTransaction(myDeclare); +// result = Signature {r: 2432056944313955951711774394836075930010416436707488863728289188289211995670n, +// s: 3407649393310177489888603098175002856596469926897298636282244411990343146307n, recovery: 1} +``` + +#### Defined in + +[src/signer/interface.ts:131](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/signer/interface.ts#L131) diff --git a/www/versioned_docs/version-6.11.0/API/classes/WalletAccount.md b/www/versioned_docs/version-6.11.0/API/classes/WalletAccount.md new file mode 100644 index 000000000..7d796ff5e --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/classes/WalletAccount.md @@ -0,0 +1,2870 @@ +--- +id: 'WalletAccount' +title: 'Class: WalletAccount' +sidebar_label: 'WalletAccount' +sidebar_position: 0 +custom_edit_url: null +--- + +## Hierarchy + +- [`Account`](Account.md) + + ↳ **`WalletAccount`** + +## Implements + +- [`AccountInterface`](AccountInterface.md) + +## Constructors + +### constructor + +• **new WalletAccount**(`providerOrOptions`, `walletProvider`, `cairoVersion?`): [`WalletAccount`](WalletAccount.md) + +#### Parameters + +| Name | Type | +| :------------------ | :--------------------------------------------------------------------------------------------------------- | +| `providerOrOptions` | [`ProviderOptions`](../interfaces/types.ProviderOptions.md) \| [`ProviderInterface`](ProviderInterface.md) | +| `walletProvider` | `StarknetWalletProvider` | +| `cairoVersion?` | [`CairoVersion`](../namespaces/types.md#cairoversion) | + +#### Returns + +[`WalletAccount`](WalletAccount.md) + +#### Overrides + +[Account](Account.md).[constructor](Account.md#constructor) + +#### Defined in + +[src/wallet/account.ts:47](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/wallet/account.ts#L47) + +## Properties + +### address + +• **address**: `string` = `''` + +#### Implementation of + +[AccountInterface](AccountInterface.md).[address](AccountInterface.md#address) + +#### Overrides + +[Account](Account.md).[address](Account.md#address) + +#### Defined in + +[src/wallet/account.ts:43](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/wallet/account.ts#L43) + +--- + +### walletProvider + +• **walletProvider**: `StarknetWalletProvider` + +#### Defined in + +[src/wallet/account.ts:45](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/wallet/account.ts#L45) + +--- + +### signer + +• **signer**: [`SignerInterface`](SignerInterface.md) + +#### Implementation of + +[AccountInterface](AccountInterface.md).[signer](AccountInterface.md#signer) + +#### Inherited from + +[Account](Account.md).[signer](Account.md#signer) + +#### Defined in + +[src/account/default.ts:64](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L64) + +--- + +### cairoVersion + +• **cairoVersion**: [`CairoVersion`](../namespaces/types.md#cairoversion) + +#### Implementation of + +[AccountInterface](AccountInterface.md).[cairoVersion](AccountInterface.md#cairoversion) + +#### Inherited from + +[Account](Account.md).[cairoVersion](Account.md#cairoversion) + +#### Defined in + +[src/account/default.ts:68](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L68) + +--- + +### transactionVersion + +• `Readonly` **transactionVersion**: `"0x2"` \| `"0x3"` + +#### Inherited from + +[Account](Account.md).[transactionVersion](Account.md#transactionversion) + +#### Defined in + +[src/account/default.ts:70](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L70) + +--- + +### deploySelf + +• **deploySelf**: (`__namedParameters`: [`DeployAccountContractPayload`](../namespaces/types.md#deployaccountcontractpayload), `details`: [`UniversalDetails`](../interfaces/types.UniversalDetails.md)) => `Promise`<[`DeployContractResponse`](../interfaces/types.DeployContractResponse.md)\> + +#### Type declaration + +▸ (`«destructured»`, `details?`): `Promise`<[`DeployContractResponse`](../interfaces/types.DeployContractResponse.md)\> + +##### Parameters + +| Name | Type | +| :--------------- | :------------------------------------------------------------------------------------ | +| `«destructured»` | [`DeployAccountContractPayload`](../namespaces/types.md#deployaccountcontractpayload) | +| `details` | [`UniversalDetails`](../interfaces/types.UniversalDetails.md) | + +##### Returns + +`Promise`<[`DeployContractResponse`](../interfaces/types.DeployContractResponse.md)\> + +#### Inherited from + +[Account](Account.md).[deploySelf](Account.md#deployself) + +#### Defined in + +[src/account/default.ts:476](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L476) + +--- + +### responseParser + +• **responseParser**: [`RPCResponseParser`](RPCResponseParser.md) + +#### Inherited from + +[Account](Account.md).[responseParser](Account.md#responseparser) + +#### Defined in + +[src/provider/rpc.ts:46](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L46) + +--- + +### channel + +• **channel**: [`RpcChannel`](RPC06.RpcChannel.md) \| [`RpcChannel`](RPC07.RpcChannel.md) + +#### Implementation of + +[AccountInterface](AccountInterface.md).[channel](AccountInterface.md#channel) + +#### Inherited from + +[Account](Account.md).[channel](Account.md#channel) + +#### Defined in + +[src/provider/rpc.ts:48](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L48) + +--- + +### getStateUpdate + +• **getStateUpdate**: () => `Promise`<\{ `block_hash`: `never` ; `old_root`: `string` ; `state_diff`: \{ storage_diffs: \{ address: string; storage_entries: \{ key: string; value: string; }[]; }[]; deprecated_declared_classes: string[]; declared_classes: \{ class_hash: string; compiled_class_hash: string; }[]; deployed_contracts: \{ ...; }[]; replaced_classes: \{ ...; }[]; nonces: \{ ...; }[]; } }\>(`blockIdentifier`: `"pending"`) => `Promise`<\{ `block_hash`: `never` ; `old_root`: `string` ; `state_diff`: \{ storage_diffs: \{ address: string; storage_entries: \{ key: string; value: string; }[]; }[]; deprecated_declared_classes: string[]; declared_classes: \{ class_hash: string; compiled_class_hash: string; }[]; deployed_contracts: \{ ...; }[]; replaced_classes: \{ ...; }[]; nonces: \{ ...; }[]; } }\>(`blockIdentifier`: `"latest"`) => `Promise`<\{ `block_hash`: `string` ; `old_root`: `string` ; `new_root`: `string` ; `state_diff`: \{ storage_diffs: \{ address: string; storage_entries: \{ key: string; value: string; }[]; }[]; deprecated_declared_classes: string[]; declared_classes: \{ class_hash: string; compiled_class_hash: string; }[]; deployed_contracts: \{ ...; }[]; replaced_classes: \{ ...; }[]; nonces: \{ ...; }[]; } }\>(`blockIdentifier?`: [`BlockIdentifier`](../namespaces/types.md#blockidentifier)) => `Promise`<[`StateUpdateResponse`](../namespaces/types.md#stateupdateresponse)\> + +#### Type declaration + +▸ (): `Promise`<\{ `block_hash`: `never` ; `old_root`: `string` ; `state_diff`: \{ storage_diffs: \{ address: string; storage_entries: \{ key: string; value: string; }[]; }[]; deprecated_declared_classes: string[]; declared_classes: \{ class_hash: string; compiled_class_hash: string; }[]; deployed_contracts: \{ ...; }[]; replaced_classes: \{ ...; }[]; nonces: \{ ...; }[]; } }\> + +##### Returns + +`Promise`<\{ `block_hash`: `never` ; `old_root`: `string` ; `state_diff`: \{ storage_diffs: \{ address: string; storage_entries: \{ key: string; value: string; }[]; }[]; deprecated_declared_classes: string[]; declared_classes: \{ class_hash: string; compiled_class_hash: string; }[]; deployed_contracts: \{ ...; }[]; replaced_classes: \{ ...; }[]; nonces: \{ ...; }[]; } }\> + +▸ (`blockIdentifier`): `Promise`<\{ `block_hash`: `never` ; `old_root`: `string` ; `state_diff`: \{ storage_diffs: \{ address: string; storage_entries: \{ key: string; value: string; }[]; }[]; deprecated_declared_classes: string[]; declared_classes: \{ class_hash: string; compiled_class_hash: string; }[]; deployed_contracts: \{ ...; }[]; replaced_classes: \{ ...; }[]; nonces: \{ ...; }[]; } }\> + +##### Parameters + +| Name | Type | +| :---------------- | :---------- | +| `blockIdentifier` | `"pending"` | + +##### Returns + +`Promise`<\{ `block_hash`: `never` ; `old_root`: `string` ; `state_diff`: \{ storage_diffs: \{ address: string; storage_entries: \{ key: string; value: string; }[]; }[]; deprecated_declared_classes: string[]; declared_classes: \{ class_hash: string; compiled_class_hash: string; }[]; deployed_contracts: \{ ...; }[]; replaced_classes: \{ ...; }[]; nonces: \{ ...; }[]; } }\> + +▸ (`blockIdentifier`): `Promise`<\{ `block_hash`: `string` ; `old_root`: `string` ; `new_root`: `string` ; `state_diff`: \{ storage_diffs: \{ address: string; storage_entries: \{ key: string; value: string; }[]; }[]; deprecated_declared_classes: string[]; declared_classes: \{ class_hash: string; compiled_class_hash: string; }[]; deployed_contracts: \{ ...; }[]; replaced_classes: \{ ...; }[]; nonces: \{ ...; }[]; } }\> + +##### Parameters + +| Name | Type | +| :---------------- | :--------- | +| `blockIdentifier` | `"latest"` | + +##### Returns + +`Promise`<\{ `block_hash`: `string` ; `old_root`: `string` ; `new_root`: `string` ; `state_diff`: \{ storage_diffs: \{ address: string; storage_entries: \{ key: string; value: string; }[]; }[]; deprecated_declared_classes: string[]; declared_classes: \{ class_hash: string; compiled_class_hash: string; }[]; deployed_contracts: \{ ...; }[]; replaced_classes: \{ ...; }[]; nonces: \{ ...; }[]; } }\> + +▸ (`blockIdentifier?`): `Promise`<[`StateUpdateResponse`](../namespaces/types.md#stateupdateresponse)\> + +##### Parameters + +| Name | Type | +| :----------------- | :---------------------------------------------------------- | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +##### Returns + +`Promise`<[`StateUpdateResponse`](../namespaces/types.md#stateupdateresponse)\> + +#### Implementation of + +[AccountInterface](AccountInterface.md).[getStateUpdate](AccountInterface.md#getstateupdate) + +#### Inherited from + +[Account](Account.md).[getStateUpdate](Account.md#getstateupdate) + +#### Defined in + +[src/provider/rpc.ts:192](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L192) + +## Methods + +### getStarkName + +▸ **getStarkName**(`provider`, `address`, `StarknetIdContract?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :-------------------- | :---------------------------------------------------- | +| `provider` | [`ProviderInterface`](ProviderInterface.md) | +| `address` | [`BigNumberish`](../namespaces/types.md#bignumberish) | +| `StarknetIdContract?` | `string` | + +#### Returns + +`Promise`<`string`\> + +#### Inherited from + +[Account](Account.md).[getStarkName](Account.md#getstarkname) + +#### Defined in + +[src/provider/extensions/starknetId.ts:61](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/extensions/starknetId.ts#L61) + +--- + +### getAddressFromStarkName + +▸ **getAddressFromStarkName**(`provider`, `name`, `StarknetIdContract?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :-------------------- | :------------------------------------------ | +| `provider` | [`ProviderInterface`](ProviderInterface.md) | +| `name` | `string` | +| `StarknetIdContract?` | `string` | + +#### Returns + +`Promise`<`string`\> + +#### Inherited from + +[Account](Account.md).[getAddressFromStarkName](Account.md#getaddressfromstarkname) + +#### Defined in + +[src/provider/extensions/starknetId.ts:95](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/extensions/starknetId.ts#L95) + +--- + +### getStarkProfile + +▸ **getStarkProfile**(`provider`, `address`, `StarknetIdContract?`, `StarknetIdIdentityContract?`, `StarknetIdVerifierContract?`, `StarknetIdPfpContract?`, `StarknetIdPopContract?`, `StarknetIdMulticallContract?`): `Promise`<[`StarkProfile`](../namespaces/types.md#starkprofile)\> + +#### Parameters + +| Name | Type | +| :----------------------------- | :---------------------------------------------------- | +| `provider` | [`ProviderInterface`](ProviderInterface.md) | +| `address` | [`BigNumberish`](../namespaces/types.md#bignumberish) | +| `StarknetIdContract?` | `string` | +| `StarknetIdIdentityContract?` | `string` | +| `StarknetIdVerifierContract?` | `string` | +| `StarknetIdPfpContract?` | `string` | +| `StarknetIdPopContract?` | `string` | +| `StarknetIdMulticallContract?` | `string` | + +#### Returns + +`Promise`<[`StarkProfile`](../namespaces/types.md#starkprofile)\> + +#### Inherited from + +[Account](Account.md).[getStarkProfile](Account.md#getstarkprofile) + +#### Defined in + +[src/provider/extensions/starknetId.ts:121](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/extensions/starknetId.ts#L121) + +--- + +### onAccountChange + +▸ **onAccountChange**(`callback`): `void` + +WALLET EVENTS + +#### Parameters + +| Name | Type | +| :--------- | :------------------------------------------------------------------------------------------------------- | +| `callback` | [`AccountChangeEventHandler`](../namespaces/types.RPC.RPCSPEC07.WALLET_API.md#accountchangeeventhandler) | + +#### Returns + +`void` + +#### Defined in + +[src/wallet/account.ts:85](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/wallet/account.ts#L85) + +--- + +### onNetworkChanged + +▸ **onNetworkChanged**(`callback`): `void` + +#### Parameters + +| Name | Type | +| :--------- | :------------------------------------------------------------------------------------------------------- | +| `callback` | [`NetworkChangeEventHandler`](../namespaces/types.RPC.RPCSPEC07.WALLET_API.md#networkchangeeventhandler) | + +#### Returns + +`void` + +#### Defined in + +[src/wallet/account.ts:89](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/wallet/account.ts#L89) + +--- + +### requestAccounts + +▸ **requestAccounts**(`silentMode?`): `Promise`<`string`[]\> + +WALLET SPECIFIC METHODS + +#### Parameters + +| Name | Type | Default value | +| :----------- | :-------- | :------------ | +| `silentMode` | `boolean` | `false` | + +#### Returns + +`Promise`<`string`[]\> + +#### Defined in + +[src/wallet/account.ts:96](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/wallet/account.ts#L96) + +--- + +### getPermissions + +▸ **getPermissions**(): `Promise`<[] \| `"accounts"`[]\> + +#### Returns + +`Promise`<[] \| `"accounts"`[]\> + +#### Defined in + +[src/wallet/account.ts:100](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/wallet/account.ts#L100) + +--- + +### switchStarknetChain + +▸ **switchStarknetChain**(`chainId`): `Promise`<`boolean`\> + +#### Parameters + +| Name | Type | +| :-------- | :--------------------------------------------------------- | +| `chainId` | [`StarknetChainId`](../enums/constants.StarknetChainId.md) | + +#### Returns + +`Promise`<`boolean`\> + +#### Defined in + +[src/wallet/account.ts:104](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/wallet/account.ts#L104) + +--- + +### watchAsset + +▸ **watchAsset**(`asset`): `Promise`<`boolean`\> + +#### Parameters + +| Name | Type | +| :------ | :--------------------------------------------------------------------------------------------- | +| `asset` | [`WatchAssetParameters`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.WatchAssetParameters.md) | + +#### Returns + +`Promise`<`boolean`\> + +#### Defined in + +[src/wallet/account.ts:108](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/wallet/account.ts#L108) + +--- + +### addStarknetChain + +▸ **addStarknetChain**(`chain`): `Promise`<`boolean`\> + +#### Parameters + +| Name | Type | +| :------ | :--------------------------------------------------------------------------------------------------------- | +| `chain` | [`AddStarknetChainParameters`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.AddStarknetChainParameters.md) | + +#### Returns + +`Promise`<`boolean`\> + +#### Defined in + +[src/wallet/account.ts:112](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/wallet/account.ts#L112) + +--- + +### execute + +▸ **execute**(`calls`): `Promise`<[`AddInvokeTransactionResult`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.AddInvokeTransactionResult.md)\> + +ACCOUNT METHODS + +#### Parameters + +| Name | Type | +| :------ | :---------------------------------------------------------------------------------------- | +| `calls` | [`AllowArray`](../namespaces/types.md#allowarray)<[`Call`](../namespaces/types.md#call)\> | + +#### Returns + +`Promise`<[`AddInvokeTransactionResult`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.AddInvokeTransactionResult.md)\> + +#### Implementation of + +[AccountInterface](AccountInterface.md).[execute](AccountInterface.md#execute) + +#### Overrides + +[Account](Account.md).[execute](Account.md#execute) + +#### Defined in + +[src/wallet/account.ts:119](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/wallet/account.ts#L119) + +--- + +### declare + +▸ **declare**(`payload`): `Promise`<[`AddDeclareTransactionResult`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.AddDeclareTransactionResult.md)\> + +Declares a given compiled contract (json) to starknet + +#### Parameters + +| Name | Type | Description | +| :-------- | :------------------------------------------------------------------------ | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `payload` | [`DeclareContractPayload`](../namespaces/types.md#declarecontractpayload) | transaction payload to be deployed containing: - contract: compiled contract code - (optional) classHash: computed class hash of compiled contract. Pre-compute it for faster execution. - (required for Cairo1 without compiledClassHash) casm: CompiledContract \| string; - (optional for Cairo1 with casm) compiledClassHash: compiled class hash from casm. Pre-compute it for faster execution. | + +#### Returns + +`Promise`<[`AddDeclareTransactionResult`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.AddDeclareTransactionResult.md)\> + +a confirmation of sending a transaction on the starknet contract + +#### Implementation of + +[AccountInterface](AccountInterface.md).[declare](AccountInterface.md#declare) + +#### Overrides + +[Account](Account.md).[declare](Account.md#declare) + +#### Defined in + +[src/wallet/account.ts:136](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/wallet/account.ts#L136) + +--- + +### deploy + +▸ **deploy**(`payload`): `Promise`<[`MultiDeployContractResponse`](../namespaces/types.md#multideploycontractresponse)\> + +Deploys a declared contract to starknet - using Universal Deployer Contract (UDC) +support multicall + +#### Parameters + +| Name | Type | Description | +| :-------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `payload` | [`UniversalDeployerContractPayload`](../namespaces/types.md#universaldeployercontractpayload) \| [`UniversalDeployerContractPayload`](../namespaces/types.md#universaldeployercontractpayload)[] | classHash: computed class hash of compiled contract - [constructorCalldata] contract constructor calldata - [salt=pseudorandom] deploy address salt - [unique=true] ensure unique salt | + +#### Returns + +`Promise`<[`MultiDeployContractResponse`](../namespaces/types.md#multideploycontractresponse)\> + +- contract_address[] +- transaction_hash + +#### Implementation of + +[AccountInterface](AccountInterface.md).[deploy](AccountInterface.md#deploy) + +#### Overrides + +[Account](Account.md).[deploy](Account.md#deploy) + +#### Defined in + +[src/wallet/account.ts:159](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/wallet/account.ts#L159) + +--- + +### signMessage + +▸ **signMessage**(`typedData`): `Promise`<[`SIGNATURE`](../namespaces/types.RPC.RPCSPEC07.API.SPEC.md#signature)\> + +Signs a TypedData object for off-chain usage with the Starknet private key and returns the signature +This adds a message prefix so it can't be interchanged with transactions + +#### Parameters + +| Name | Type | Description | +| :---------- | :----------------------------------------------------------------------- | :---------------------------- | +| `typedData` | [`TypedData`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.TypedData.md) | TypedData object to be signed | + +#### Returns + +`Promise`<[`SIGNATURE`](../namespaces/types.RPC.RPCSPEC07.API.SPEC.md#signature)\> + +the signature of the TypedData object + +**`Throws`** + +if typedData is not a valid TypedData + +#### Implementation of + +[AccountInterface](AccountInterface.md).[signMessage](AccountInterface.md#signmessage) + +#### Overrides + +[Account](Account.md).[signMessage](Account.md#signmessage) + +#### Defined in + +[src/wallet/account.ts:171](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/wallet/account.ts#L171) + +--- + +### getPreferredVersion + +▸ **getPreferredVersion**(`type12`, `type3`): [`ETransactionVersion`](../namespaces/types.RPC.RPCSPEC07.API.md#etransactionversion-1) + +#### Parameters + +| Name | Type | +| :------- | :-------------------------------------------------------------------------------------- | +| `type12` | [`ETransactionVersion`](../namespaces/types.RPC.RPCSPEC07.API.md#etransactionversion-1) | +| `type3` | [`ETransactionVersion`](../namespaces/types.RPC.RPCSPEC07.API.md#etransactionversion-1) | + +#### Returns + +[`ETransactionVersion`](../namespaces/types.RPC.RPCSPEC07.API.md#etransactionversion-1) + +#### Inherited from + +[Account](Account.md).[getPreferredVersion](Account.md#getpreferredversion) + +#### Defined in + +[src/account/default.ts:95](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L95) + +--- + +### getNonce + +▸ **getNonce**(`blockIdentifier?`): `Promise`<`string`\> + +Gets the nonce of the account with respect to a specific block + +#### Parameters + +| Name | Type | Description | +| :----------------- | :---------------------------------------------------------- | :---------------------------------------------- | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | optional blockIdentifier. Defaults to 'pending' | + +#### Returns + +`Promise`<`string`\> + +nonce of the account + +#### Implementation of + +[AccountInterface](AccountInterface.md).[getNonce](AccountInterface.md#getnonce) + +#### Inherited from + +[Account](Account.md).[getNonce](Account.md#getnonce) + +#### Defined in + +[src/account/default.ts:102](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L102) + +--- + +### getNonceSafe + +▸ **getNonceSafe**(`nonce?`): `Promise`<`bigint`\> + +#### Parameters + +| Name | Type | +| :------- | :---------------------------------------------------- | +| `nonce?` | [`BigNumberish`](../namespaces/types.md#bignumberish) | + +#### Returns + +`Promise`<`bigint`\> + +#### Inherited from + +[Account](Account.md).[getNonceSafe](Account.md#getnoncesafe) + +#### Defined in + +[src/account/default.ts:106](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L106) + +--- + +### getCairoVersion + +▸ **getCairoVersion**(`classHash?`): `Promise`<[`CairoVersion`](../namespaces/types.md#cairoversion)\> + +Retrieves the Cairo version from the network and sets `cairoVersion` if not already set in the constructor. + +#### Parameters + +| Name | Type | Description | +| :----------- | :------- | :----------------------------------------------------------------------------------- | +| `classHash?` | `string` | if provided detects Cairo version from classHash, otherwise from the account address | + +#### Returns + +`Promise`<[`CairoVersion`](../namespaces/types.md#cairoversion)\> + +#### Inherited from + +[Account](Account.md).[getCairoVersion](Account.md#getcairoversion) + +#### Defined in + +[src/account/default.ts:119](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L119) + +--- + +### estimateFee + +▸ **estimateFee**(`calls`, `estimateFeeDetails?`): `Promise`<[`EstimateFee`](../interfaces/types.EstimateFee.md)\> + +#### Parameters + +| Name | Type | +| :------------------- | :---------------------------------------------------------------------------------------- | +| `calls` | [`AllowArray`](../namespaces/types.md#allowarray)<[`Call`](../namespaces/types.md#call)\> | +| `estimateFeeDetails` | [`UniversalDetails`](../interfaces/types.UniversalDetails.md) | + +#### Returns + +`Promise`<[`EstimateFee`](../interfaces/types.EstimateFee.md)\> + +#### Inherited from + +[Account](Account.md).[estimateFee](Account.md#estimatefee) + +#### Defined in + +[src/account/default.ts:129](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L129) + +--- + +### estimateInvokeFee + +▸ **estimateInvokeFee**(`calls`, `details?`): `Promise`<[`EstimateFee`](../interfaces/types.EstimateFee.md)\> + +Estimate Fee for executing an INVOKE transaction on starknet + +#### Parameters + +| Name | Type | Description | +| :-------- | :---------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `calls` | [`AllowArray`](../namespaces/types.md#allowarray)<[`Call`](../namespaces/types.md#call)\> | the invocation object containing: - contractAddress - the address of the contract - entrypoint - the entrypoint of the contract - calldata? - (defaults to []) the calldata | +| `details` | [`UniversalDetails`](../interfaces/types.UniversalDetails.md) | blockIdentifier? - nonce? = 0 - skipValidate? - default true - tip? - prioritize order of transactions in the mempool. - accountDeploymentData? - deploy an account contract (substitution for deploy account transaction) - paymasterData? - entity other than the transaction sender to pay the transaction fees(EIP-4337) - nonceDataAvailabilityMode? - allows users to choose their preferred data availability mode (Volition) - feeDataAvailabilityMode? - allows users to choose their preferred data availability mode (Volition) - version? - specify ETransactionVersion - V3 Transactions fee is in fri, oldV transactions fee is in wei | + +#### Returns + +`Promise`<[`EstimateFee`](../interfaces/types.EstimateFee.md)\> + +response from estimate_fee + +#### Implementation of + +[AccountInterface](AccountInterface.md).[estimateInvokeFee](AccountInterface.md#estimateinvokefee) + +#### Inherited from + +[Account](Account.md).[estimateInvokeFee](Account.md#estimateinvokefee) + +#### Defined in + +[src/account/default.ts:136](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L136) + +--- + +### estimateDeclareFee + +▸ **estimateDeclareFee**(`payload`, `details?`): `Promise`<[`EstimateFee`](../interfaces/types.EstimateFee.md)\> + +Estimate Fee for executing a DECLARE transaction on starknet + +#### Parameters + +| Name | Type | Description | +| :-------- | :------------------------------------------------------------------------ | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `payload` | [`DeclareContractPayload`](../namespaces/types.md#declarecontractpayload) | the payload object containing: - contract - the compiled contract to be declared - casm? - compiled cairo assembly. Cairo1(casm or compiledClassHash are required) - classHash? - the class hash of the compiled contract. Precalculate for faster execution. - compiledClassHash?: class hash of the cairo assembly. Cairo1(casm or compiledClassHash are required) | +| `details` | [`UniversalDetails`](../interfaces/types.UniversalDetails.md) | blockIdentifier? - nonce? = 0 - skipValidate? - default true - tip? - prioritize order of transactions in the mempool. - accountDeploymentData? - deploy an account contract (substitution for deploy account transaction) - paymasterData? - entity other than the transaction sender to pay the transaction fees(EIP-4337) - nonceDataAvailabilityMode? - allows users to choose their preferred data availability mode (Volition) - feeDataAvailabilityMode? - allows users to choose their preferred data availability mode (Volition) - version? - specify ETransactionVersion - V3 Transactions fee is in fri, oldV transactions fee is in wei | + +#### Returns + +`Promise`<[`EstimateFee`](../interfaces/types.EstimateFee.md)\> + +response from estimate_fee + +#### Implementation of + +[AccountInterface](AccountInterface.md).[estimateDeclareFee](AccountInterface.md#estimatedeclarefee) + +#### Inherited from + +[Account](Account.md).[estimateDeclareFee](Account.md#estimatedeclarefee) + +#### Defined in + +[src/account/default.ts:175](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L175) + +--- + +### estimateAccountDeployFee + +▸ **estimateAccountDeployFee**(`«destructured»`, `details?`): `Promise`<[`EstimateFee`](../interfaces/types.EstimateFee.md)\> + +Estimate Fee for executing a DEPLOY_ACCOUNT transaction on starknet + +#### Parameters + +| Name | Type | Description | +| :--------------- | :------------------------------------------------------------------------------------ | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `«destructured»` | [`DeployAccountContractPayload`](../namespaces/types.md#deployaccountcontractpayload) | classHash - the class hash of the compiled contract. - constructorCalldata? - constructor data; - contractAddress? - future account contract address. Precalculate for faster execution. - addressSalt? - salt used for calculation of the contractAddress. Required if contractAddress is provided. | +| `details` | [`UniversalDetails`](../interfaces/types.UniversalDetails.md) | blockIdentifier? - nonce? = 0 - skipValidate? - default true - tip? - prioritize order of transactions in the mempool. - paymasterData? - entity other than the transaction sender to pay the transaction fees(EIP-4337) - nonceDataAvailabilityMode? - allows users to choose their preferred data availability mode (Volition) - feeDataAvailabilityMode? - allows users to choose their preferred data availability mode (Volition) - version? - specify ETransactionVersion - V3 Transactions fee is in fri, oldV transactions fee is in wei | + +#### Returns + +`Promise`<[`EstimateFee`](../interfaces/types.EstimateFee.md)\> + +response from estimate_fee + +#### Implementation of + +[AccountInterface](AccountInterface.md).[estimateAccountDeployFee](AccountInterface.md#estimateaccountdeployfee) + +#### Inherited from + +[Account](Account.md).[estimateAccountDeployFee](Account.md#estimateaccountdeployfee) + +#### Defined in + +[src/account/default.ts:213](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L213) + +--- + +### estimateDeployFee + +▸ **estimateDeployFee**(`payload`, `details?`): `Promise`<[`EstimateFee`](../interfaces/types.EstimateFee.md)\> + +Estimate Fee for executing a UDC DEPLOY transaction on starknet +This is different from the normal DEPLOY transaction as it goes through the Universal Deployer Contract (UDC) + +#### Parameters + +| Name | Type | Description | +| :-------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `payload` | [`UniversalDeployerContractPayload`](../namespaces/types.md#universaldeployercontractpayload) \| [`UniversalDeployerContractPayload`](../namespaces/types.md#universaldeployercontractpayload)[] | array or singular - classHash: computed class hash of compiled contract - salt: address salt - unique: bool if true ensure unique salt - constructorCalldata: constructor calldata | +| `details` | [`UniversalDetails`](../interfaces/types.UniversalDetails.md) | blockIdentifier? - nonce? - skipValidate? - default true - tip? - prioritize order of transactions in the mempool. - accountDeploymentData? - deploy an account contract (substitution for deploy account transaction) - paymasterData? - entity other than the transaction sender to pay the transaction fees(EIP-4337) - nonceDataAvailabilityMode? - allows users to choose their preferred data availability mode (Volition) - feeDataAvailabilityMode? - allows users to choose their preferred data availability mode (Volition) - version? - specify ETransactionVersion - V3 Transactions fee is in fri, oldV transactions fee is in wei | + +#### Returns + +`Promise`<[`EstimateFee`](../interfaces/types.EstimateFee.md)\> + +#### Implementation of + +[AccountInterface](AccountInterface.md).[estimateDeployFee](AccountInterface.md#estimatedeployfee) + +#### Inherited from + +[Account](Account.md).[estimateDeployFee](Account.md#estimatedeployfee) + +#### Defined in + +[src/account/default.ts:252](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L252) + +--- + +### estimateFeeBulk + +▸ **estimateFeeBulk**(`invocations`, `details?`): `Promise`<[`EstimateFeeBulk`](../namespaces/types.md#estimatefeebulk)\> + +Estimate Fee for executing a list of transactions on starknet +Contract must be deployed for fee estimation to be possible + +#### Parameters + +| Name | Type | Description | +| :------------ | :------------------------------------------------------------ | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `invocations` | [`Invocations`](../namespaces/types.md#invocations) | array of transaction object containing : - type - the type of transaction : 'DECLARE' \| (multi)'DEPLOY' \| (multi)'INVOKE_FUNCTION' \| 'DEPLOY_ACCOUNT' - payload - the payload of the transaction | +| `details` | [`UniversalDetails`](../interfaces/types.UniversalDetails.md) | blockIdentifier? - nonce? - skipValidate? - default true - tip? - prioritize order of transactions in the mempool. - accountDeploymentData? - deploy an account contract (substitution for deploy account transaction) - paymasterData? - entity other than the transaction sender to pay the transaction fees(EIP-4337) - nonceDataAvailabilityMode? - allows users to choose their preferred data availability mode (Volition) - feeDataAvailabilityMode? - allows users to choose their preferred data availability mode (Volition) - version? - specify ETransactionVersion - V3 Transactions fee is in fri, oldV transactions fee is in wei | + +#### Returns + +`Promise`<[`EstimateFeeBulk`](../namespaces/types.md#estimatefeebulk)\> + +response from estimate_fee + +#### Implementation of + +[AccountInterface](AccountInterface.md).[estimateFeeBulk](AccountInterface.md#estimatefeebulk) + +#### Inherited from + +[Account](Account.md).[estimateFeeBulk](Account.md#estimatefeebulk) + +#### Defined in + +[src/account/default.ts:260](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L260) + +--- + +### simulateTransaction + +▸ **simulateTransaction**(`invocations`, `details?`): `Promise`<[`SimulateTransactionResponse`](../namespaces/types.md#simulatetransactionresponse)\> + +Simulates an array of transaction and returns an array of transaction trace and estimated fee. + +#### Parameters + +| Name | Type | Description | +| :------------ | :-------------------------------------------------------------------------------- | :---------------------------------------------------------------------------------------------------------------- | +| `invocations` | [`Invocations`](../namespaces/types.md#invocations) | Invocations containing: - type - transaction type: DECLARE, (multi)DEPLOY, DEPLOY_ACCOUNT, (multi)INVOKE_FUNCTION | +| `details` | [`SimulateTransactionDetails`](../namespaces/types.md#simulatetransactiondetails) | SimulateTransactionDetails | + +#### Returns + +`Promise`<[`SimulateTransactionResponse`](../namespaces/types.md#simulatetransactionresponse)\> + +response from simulate_transaction + +#### Implementation of + +[AccountInterface](AccountInterface.md).[simulateTransaction](AccountInterface.md#simulatetransaction) + +#### Inherited from + +[Account](Account.md).[simulateTransaction](Account.md#simulatetransaction) + +#### Defined in + +[src/account/default.ts:285](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L285) + +--- + +### declareIfNot + +▸ **declareIfNot**(`payload`, `transactionsDetail?`): `Promise`<\{ `class_hash`: `string` ; `transaction_hash`: `string` }\> + +First check if contract is already declared, if not declare it +If contract already declared returned transaction_hash is ''. +Method will pass even if contract is already declared + +#### Parameters + +| Name | Type | Description | +| :------------------- | :------------------------------------------------------------------------ | :---------- | +| `payload` | [`DeclareContractPayload`](../namespaces/types.md#declarecontractpayload) | - | +| `transactionsDetail` | [`UniversalDetails`](../interfaces/types.UniversalDetails.md) | (optional) | + +#### Returns + +`Promise`<\{ `class_hash`: `string` ; `transaction_hash`: `string` }\> + +#### Inherited from + +[Account](Account.md).[declareIfNot](Account.md#declareifnot) + +#### Defined in + +[src/account/default.ts:377](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L377) + +--- + +### deployContract + +▸ **deployContract**(`payload`, `details?`): `Promise`<[`DeployContractUDCResponse`](../namespaces/types.md#deploycontractudcresponse)\> + +Simplify deploy simulating old DeployContract with same response + UDC specific response +Internal wait for L2 transaction, support multicall + +#### Parameters + +| Name | Type | Description | +| :-------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `payload` | [`UniversalDeployerContractPayload`](../namespaces/types.md#universaldeployercontractpayload) \| [`UniversalDeployerContractPayload`](../namespaces/types.md#universaldeployercontractpayload)[] | classHash: computed class hash of compiled contract - [constructorCalldata] contract constructor calldata - [salt=pseudorandom] deploy address salt - [unique=true] ensure unique salt | +| `details` | [`UniversalDetails`](../interfaces/types.UniversalDetails.md) | InvocationsDetails | + +#### Returns + +`Promise`<[`DeployContractUDCResponse`](../namespaces/types.md#deploycontractudcresponse)\> + +- contract_address +- transaction_hash +- address +- deployer +- unique +- classHash +- calldata_len +- calldata +- salt + +#### Implementation of + +[AccountInterface](AccountInterface.md).[deployContract](AccountInterface.md#deploycontract) + +#### Inherited from + +[Account](Account.md).[deployContract](Account.md#deploycontract) + +#### Defined in + +[src/account/default.ts:450](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L450) + +--- + +### declareAndDeploy + +▸ **declareAndDeploy**(`payload`, `details?`): `Promise`<[`DeclareDeployUDCResponse`](../namespaces/types.md#declaredeployudcresponse)\> + +Declares and Deploy a given compiled contract (json) to starknet using UDC +Internal wait for L2 transaction, do not support multicall +Method will pass even if contract is already declared (internal using DeclareIfNot) + +#### Parameters + +| Name | Type | Description | +| :-------- | :------------------------------------------------------------------------------------------ | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `payload` | [`DeclareAndDeployContractPayload`](../namespaces/types.md#declareanddeploycontractpayload) | contract: compiled contract code - [casm=cairo1]: CairoAssembly \| undefined; - [compiledClassHash]: string \| undefined; - [classHash]: computed class hash of compiled contract - [constructorCalldata] contract constructor calldata - [salt=pseudorandom] deploy address salt - [unique=true] ensure unique salt | +| `details` | [`UniversalDetails`](../interfaces/types.UniversalDetails.md) | InvocationsDetails | + +#### Returns + +`Promise`<[`DeclareDeployUDCResponse`](../namespaces/types.md#declaredeployudcresponse)\> + +- declare + - transaction_hash +- deploy + - contract_address + - transaction_hash + - address + - deployer + - unique + - classHash + - calldata_len + - calldata + - salt + +#### Implementation of + +[AccountInterface](AccountInterface.md).[declareAndDeploy](AccountInterface.md#declareanddeploy) + +#### Inherited from + +[Account](Account.md).[declareAndDeploy](Account.md#declareanddeploy) + +#### Defined in + +[src/account/default.ts:459](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L459) + +--- + +### deployAccount + +▸ **deployAccount**(`«destructured»`, `details?`): `Promise`<[`DeployContractResponse`](../interfaces/types.DeployContractResponse.md)\> + +Deploy the account on Starknet + +#### Parameters + +| Name | Type | Description | +| :--------------- | :------------------------------------------------------------------------------------ | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `«destructured»` | [`DeployAccountContractPayload`](../namespaces/types.md#deployaccountcontractpayload) | transaction payload to be deployed containing: - classHash: computed class hash of compiled contract - optional constructor calldata - optional address salt - optional contractAddress | +| `details` | [`UniversalDetails`](../interfaces/types.UniversalDetails.md) | InvocationsDetails | + +#### Returns + +`Promise`<[`DeployContractResponse`](../interfaces/types.DeployContractResponse.md)\> + +a confirmation of sending a transaction on the starknet contract + +#### Implementation of + +[AccountInterface](AccountInterface.md).[deployAccount](AccountInterface.md#deployaccount) + +#### Inherited from + +[Account](Account.md).[deployAccount](Account.md#deployaccount) + +#### Defined in + +[src/account/default.ts:478](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L478) + +--- + +### hashMessage + +▸ **hashMessage**(`typedData`): `Promise`<`string`\> + +Hash a TypedData object with Pedersen hash and return the hash +This adds a message prefix so it can't be interchanged with transactions + +#### Parameters + +| Name | Type | Description | +| :---------- | :----------------------------------------------------------------------- | :---------------------------- | +| `typedData` | [`TypedData`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.TypedData.md) | TypedData object to be hashed | + +#### Returns + +`Promise`<`string`\> + +the hash of the TypedData object + +**`Throws`** + +if typedData is not a valid TypedData + +#### Implementation of + +[AccountInterface](AccountInterface.md).[hashMessage](AccountInterface.md#hashmessage) + +#### Inherited from + +[Account](Account.md).[hashMessage](Account.md#hashmessage) + +#### Defined in + +[src/account/default.ts:542](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L542) + +--- + +### verifyMessageHash + +▸ **verifyMessageHash**(`hash`, `signature`, `signatureVerificationFunctionName?`, `signatureVerificationResponse?`): `Promise`<`boolean`\> + +Verify a signature of a given hash + +#### Parameters + +| Name | Type | Description | +| :------------------------------------------ | :---------------------------------------------------- | :-------------------- | +| `hash` | [`BigNumberish`](../namespaces/types.md#bignumberish) | hash to be verified | +| `signature` | [`Signature`](../namespaces/types.md#signature) | signature of the hash | +| `signatureVerificationFunctionName?` | `string` | - | +| `signatureVerificationResponse?` | `Object` | - | +| `signatureVerificationResponse.okResponse` | `string`[] | - | +| `signatureVerificationResponse.nokResponse` | `string`[] | - | +| `signatureVerificationResponse.error` | `string`[] | - | + +#### Returns + +`Promise`<`boolean`\> + +true if the signature is valid, false otherwise + +**`Warning`** + +This method is not recommended, use verifyMessage instead + +**`Throws`** + +if the signature is not a valid signature + +#### Implementation of + +[AccountInterface](AccountInterface.md).[verifyMessageHash](AccountInterface.md#verifymessagehash) + +#### Inherited from + +[Account](Account.md).[verifyMessageHash](Account.md#verifymessagehash) + +#### Defined in + +[src/account/default.ts:546](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L546) + +--- + +### verifyMessage + +▸ **verifyMessage**(`typedData`, `signature`, `signatureVerificationFunctionName?`, `signatureVerificationResponse?`): `Promise`<`boolean`\> + +Verify a signature of a TypedData object + +#### Parameters + +| Name | Type | Description | +| :------------------------------------------ | :----------------------------------------------------------------------- | :-------------------------------- | +| `typedData` | [`TypedData`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.TypedData.md) | TypedData object to be verified | +| `signature` | [`Signature`](../namespaces/types.md#signature) | signature of the TypedData object | +| `signatureVerificationFunctionName?` | `string` | - | +| `signatureVerificationResponse?` | `Object` | - | +| `signatureVerificationResponse.okResponse` | `string`[] | - | +| `signatureVerificationResponse.nokResponse` | `string`[] | - | +| `signatureVerificationResponse.error` | `string`[] | - | + +#### Returns + +`Promise`<`boolean`\> + +true if the signature is valid, false otherwise + +**`Throws`** + +if typedData is not a valid TypedData or the signature is not a valid signature + +#### Implementation of + +[AccountInterface](AccountInterface.md).[verifyMessage](AccountInterface.md#verifymessage) + +#### Inherited from + +[Account](Account.md).[verifyMessage](Account.md#verifymessage) + +#### Defined in + +[src/account/default.ts:617](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L617) + +--- + +### getUniversalSuggestedFee + +▸ **getUniversalSuggestedFee**(`version`, `«destructured»`, `details`): `Promise`<\{ `maxFee`: [`BigNumberish`](../namespaces/types.md#bignumberish) ; `resourceBounds`: [`RESOURCE_BOUNDS_MAPPING`](../namespaces/types.RPC.RPCSPEC07.API.SPEC.md#resource_bounds_mapping) }\> + +#### Parameters + +| Name | Type | +| :--------------- | :-------------------------------------------------------------------------------------- | +| `version` | [`ETransactionVersion`](../namespaces/types.RPC.RPCSPEC07.API.md#etransactionversion-1) | +| `«destructured»` | [`EstimateFeeAction`](../namespaces/types.md#estimatefeeaction) | +| `details` | [`UniversalDetails`](../interfaces/types.UniversalDetails.md) | + +#### Returns + +`Promise`<\{ `maxFee`: [`BigNumberish`](../namespaces/types.md#bignumberish) ; `resourceBounds`: [`RESOURCE_BOUNDS_MAPPING`](../namespaces/types.RPC.RPCSPEC07.API.SPEC.md#resource_bounds_mapping) }\> + +#### Inherited from + +[Account](Account.md).[getUniversalSuggestedFee](Account.md#getuniversalsuggestedfee) + +#### Defined in + +[src/account/default.ts:636](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L636) + +--- + +### getSuggestedFee + +▸ **getSuggestedFee**(`«destructured»`, `details`): `Promise`<[`EstimateFee`](../interfaces/types.EstimateFee.md)\> + +Gets Suggested Max Fee based on the transaction type + +#### Parameters + +| Name | Type | +| :--------------- | :-------------------------------------------------------------- | +| `«destructured»` | [`EstimateFeeAction`](../namespaces/types.md#estimatefeeaction) | +| `details` | [`UniversalDetails`](../interfaces/types.UniversalDetails.md) | + +#### Returns + +`Promise`<[`EstimateFee`](../interfaces/types.EstimateFee.md)\> + +EstimateFee (...response, resourceBounds, suggestedMaxFee) + +#### Implementation of + +[AccountInterface](AccountInterface.md).[getSuggestedFee](AccountInterface.md#getsuggestedfee) + +#### Inherited from + +[Account](Account.md).[getSuggestedFee](Account.md#getsuggestedfee) + +#### Defined in + +[src/account/default.ts:659](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L659) + +--- + +### buildInvocation + +▸ **buildInvocation**(`call`, `details`): `Promise`<[`Invocation`](../namespaces/types.md#invocation)\> + +#### Parameters + +| Name | Type | +| :-------- | :---------------------------------------------------------------------------- | +| `call` | [`Call`](../namespaces/types.md#call)[] | +| `details` | [`InvocationsSignerDetails`](../namespaces/types.md#invocationssignerdetails) | + +#### Returns + +`Promise`<[`Invocation`](../namespaces/types.md#invocation)\> + +#### Inherited from + +[Account](Account.md).[buildInvocation](Account.md#buildinvocation) + +#### Defined in + +[src/account/default.ts:696](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L696) + +--- + +### buildDeclarePayload + +▸ **buildDeclarePayload**(`payload`, `details`): `Promise`<[`DeclareContractTransaction`](../namespaces/types.md#declarecontracttransaction)\> + +#### Parameters + +| Name | Type | +| :-------- | :---------------------------------------------------------------------------- | +| `payload` | [`DeclareContractPayload`](../namespaces/types.md#declarecontractpayload) | +| `details` | [`InvocationsSignerDetails`](../namespaces/types.md#invocationssignerdetails) | + +#### Returns + +`Promise`<[`DeclareContractTransaction`](../namespaces/types.md#declarecontracttransaction)\> + +#### Inherited from + +[Account](Account.md).[buildDeclarePayload](Account.md#builddeclarepayload) + +#### Defined in + +[src/account/default.ts:711](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L711) + +--- + +### buildAccountDeployPayload + +▸ **buildAccountDeployPayload**(`«destructured»`, `details`): `Promise`<[`DeployAccountContractTransaction`](../namespaces/types.md#deployaccountcontracttransaction)\> + +#### Parameters + +| Name | Type | +| :--------------- | :------------------------------------------------------------------------------------ | +| `«destructured»` | [`DeployAccountContractPayload`](../namespaces/types.md#deployaccountcontractpayload) | +| `details` | [`InvocationsSignerDetails`](../namespaces/types.md#invocationssignerdetails) | + +#### Returns + +`Promise`<[`DeployAccountContractTransaction`](../namespaces/types.md#deployaccountcontracttransaction)\> + +#### Inherited from + +[Account](Account.md).[buildAccountDeployPayload](Account.md#buildaccountdeploypayload) + +#### Defined in + +[src/account/default.ts:743](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L743) + +--- + +### buildUDCContractPayload + +▸ **buildUDCContractPayload**(`payload`): [`Call`](../namespaces/types.md#call)[] + +#### Parameters + +| Name | Type | +| :-------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `payload` | [`UniversalDeployerContractPayload`](../namespaces/types.md#universaldeployercontractpayload) \| [`UniversalDeployerContractPayload`](../namespaces/types.md#universaldeployercontractpayload)[] | + +#### Returns + +[`Call`](../namespaces/types.md#call)[] + +#### Inherited from + +[Account](Account.md).[buildUDCContractPayload](Account.md#buildudccontractpayload) + +#### Defined in + +[src/account/default.ts:777](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L777) + +--- + +### accountInvocationsFactory + +▸ **accountInvocationsFactory**(`invocations`, `details`): `Promise`<[`AccountInvocations`](../namespaces/types.md#accountinvocations)\> + +#### Parameters + +| Name | Type | +| :------------ | :-------------------------------------------------------------------------------------------- | +| `invocations` | [`Invocations`](../namespaces/types.md#invocations) | +| `details` | [`AccountInvocationsFactoryDetails`](../namespaces/types.md#accountinvocationsfactorydetails) | + +#### Returns + +`Promise`<[`AccountInvocations`](../namespaces/types.md#accountinvocations)\> + +#### Inherited from + +[Account](Account.md).[accountInvocationsFactory](Account.md#accountinvocationsfactory) + +#### Defined in + +[src/account/default.ts:804](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L804) + +--- + +### getStarkName + +▸ **getStarkName**(`address?`, `StarknetIdContract?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :-------------------- | :---------------------------------------------------- | +| `address` | [`BigNumberish`](../namespaces/types.md#bignumberish) | +| `StarknetIdContract?` | `string` | + +#### Returns + +`Promise`<`string`\> + +#### Inherited from + +[Account](Account.md).[getStarkName](Account.md#getstarkname-1) + +#### Defined in + +[src/account/default.ts:898](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/account/default.ts#L898) + +--- + +### fetch + +▸ **fetch**(`method`, `params?`, `id?`): `Promise`<`Response`\> + +#### Parameters + +| Name | Type | Default value | +| :-------- | :------------------- | :------------ | +| `method` | `string` | `undefined` | +| `params?` | `object` | `undefined` | +| `id` | `string` \| `number` | `0` | + +#### Returns + +`Promise`<`Response`\> + +#### Inherited from + +[Account](Account.md).[fetch](Account.md#fetch) + +#### Defined in + +[src/provider/rpc.ts:63](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L63) + +--- + +### getChainId + +▸ **getChainId**(): `Promise`<[`StarknetChainId`](../enums/constants.StarknetChainId.md)\> + +Gets the Starknet chain Id + +#### Returns + +`Promise`<[`StarknetChainId`](../enums/constants.StarknetChainId.md)\> + +the chain Id + +#### Implementation of + +[AccountInterface](AccountInterface.md).[getChainId](AccountInterface.md#getchainid) + +#### Inherited from + +[Account](Account.md).[getChainId](Account.md#getchainid) + +#### Defined in + +[src/provider/rpc.ts:67](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L67) + +--- + +### getSpecVersion + +▸ **getSpecVersion**(): `Promise`<`string`\> + +#### Returns + +`Promise`<`string`\> + +#### Inherited from + +[Account](Account.md).[getSpecVersion](Account.md#getspecversion) + +#### Defined in + +[src/provider/rpc.ts:71](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L71) + +--- + +### getNonceForAddress + +▸ **getNonceForAddress**(`contractAddress`, `blockIdentifier?`): `Promise`<`string`\> + +Returns the nonce associated with the given address in the given block + +#### Parameters + +| Name | Type | Description | +| :----------------- | :---------------------------------------------------------- | :--------------- | +| `contractAddress` | [`BigNumberish`](../namespaces/types.md#bignumberish) | contract address | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | - | + +#### Returns + +`Promise`<`string`\> + +the hex nonce + +#### Implementation of + +[AccountInterface](AccountInterface.md).[getNonceForAddress](AccountInterface.md#getnonceforaddress) + +#### Inherited from + +[Account](Account.md).[getNonceForAddress](Account.md#getnonceforaddress) + +#### Defined in + +[src/provider/rpc.ts:75](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L75) + +--- + +### getBlock + +▸ **getBlock**(): `Promise`<[`PendingBlock`](../namespaces/types.md#pendingblock)\> + +Gets the block information + +#### Returns + +`Promise`<[`PendingBlock`](../namespaces/types.md#pendingblock)\> + +the block object + +#### Implementation of + +[AccountInterface](AccountInterface.md).[getBlock](AccountInterface.md#getblock) + +#### Inherited from + +[Account](Account.md).[getBlock](Account.md#getblock) + +#### Defined in + +[src/provider/rpc.ts:82](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L82) + +▸ **getBlock**(`blockIdentifier`): `Promise`<[`PendingBlock`](../namespaces/types.md#pendingblock)\> + +#### Parameters + +| Name | Type | +| :---------------- | :---------- | +| `blockIdentifier` | `"pending"` | + +#### Returns + +`Promise`<[`PendingBlock`](../namespaces/types.md#pendingblock)\> + +#### Implementation of + +[AccountInterface](AccountInterface.md).[getBlock](AccountInterface.md#getblock) + +#### Inherited from + +[Account](Account.md).[getBlock](Account.md#getblock) + +#### Defined in + +[src/provider/rpc.ts:83](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L83) + +▸ **getBlock**(`blockIdentifier`): `Promise`<[`Block`](../namespaces/types.md#block)\> + +#### Parameters + +| Name | Type | +| :---------------- | :--------- | +| `blockIdentifier` | `"latest"` | + +#### Returns + +`Promise`<[`Block`](../namespaces/types.md#block)\> + +#### Implementation of + +[AccountInterface](AccountInterface.md).[getBlock](AccountInterface.md#getblock) + +#### Inherited from + +[Account](Account.md).[getBlock](Account.md#getblock) + +#### Defined in + +[src/provider/rpc.ts:84](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L84) + +▸ **getBlock**(`blockIdentifier?`): `Promise`<[`GetBlockResponse`](../namespaces/types.md#getblockresponse)\> + +#### Parameters + +| Name | Type | +| :----------------- | :---------------------------------------------------------- | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<[`GetBlockResponse`](../namespaces/types.md#getblockresponse)\> + +#### Implementation of + +AccountInterface.getBlock + +#### Inherited from + +[Account](Account.md).[getBlock](Account.md#getblock) + +#### Defined in + +[src/provider/rpc.ts:85](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L85) + +--- + +### getBlockLatestAccepted + +▸ **getBlockLatestAccepted**(): `Promise`<[`BlockHashAndNumber`](../namespaces/types.RPC.RPCSPEC06.md#blockhashandnumber)\> + +Get the most recent accepted block hash and number + +#### Returns + +`Promise`<[`BlockHashAndNumber`](../namespaces/types.RPC.RPCSPEC06.md#blockhashandnumber)\> + +#### Inherited from + +[Account](Account.md).[getBlockLatestAccepted](Account.md#getblocklatestaccepted) + +#### Defined in + +[src/provider/rpc.ts:95](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L95) + +--- + +### getBlockNumber + +▸ **getBlockNumber**(): `Promise`<`number`\> + +Get the most recent accepted block number +redundant use getBlockLatestAccepted(); + +#### Returns + +`Promise`<`number`\> + +Number of the latest block + +#### Inherited from + +[Account](Account.md).[getBlockNumber](Account.md#getblocknumber) + +#### Defined in + +[src/provider/rpc.ts:104](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L104) + +--- + +### getBlockWithTxHashes + +▸ **getBlockWithTxHashes**(`blockIdentifier?`): `Promise`<[`BlockWithTxHashes`](../namespaces/types.RPC.RPCSPEC06.md#blockwithtxhashes)\> + +#### Parameters + +| Name | Type | +| :----------------- | :---------------------------------------------------------- | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<[`BlockWithTxHashes`](../namespaces/types.RPC.RPCSPEC06.md#blockwithtxhashes)\> + +#### Inherited from + +[Account](Account.md).[getBlockWithTxHashes](Account.md#getblockwithtxhashes) + +#### Defined in + +[src/provider/rpc.ts:108](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L108) + +--- + +### getBlockWithTxs + +▸ **getBlockWithTxs**(`blockIdentifier?`): `Promise`<[`BlockWithTxs`](../namespaces/types.RPC.RPCSPEC06.md#blockwithtxs)\> + +#### Parameters + +| Name | Type | +| :----------------- | :---------------------------------------------------------- | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<[`BlockWithTxs`](../namespaces/types.RPC.RPCSPEC06.md#blockwithtxs)\> + +#### Inherited from + +[Account](Account.md).[getBlockWithTxs](Account.md#getblockwithtxs) + +#### Defined in + +[src/provider/rpc.ts:112](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L112) + +--- + +### waitForBlock + +▸ **waitForBlock**(`blockIdentifier?`, `retryInterval?`): `Promise`<`void`\> + +Pause the execution of the script until a specified block is created. + +#### Parameters + +| Name | Type | Default value | Description | +| :---------------- | :---------------------------------------------------------- | :------------ | :------------------------------------------------------------------------------------------------------------------------- | +| `blockIdentifier` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | `'pending'` | bloc number (BigNumberisk) or 'pending' or 'latest'. Use of 'latest" or of a block already created will generate no pause. | +| `retryInterval?` | `number` | `5000` | number of milliseconds between 2 requests to the node | + +#### Returns + +`Promise`<`void`\> + +**`Example`** + +```typescript +await myProvider.waitForBlock(); +// wait the creation of the pending block +``` + +#### Inherited from + +[Account](Account.md).[waitForBlock](Account.md#waitforblock) + +#### Defined in + +[src/provider/rpc.ts:127](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L127) + +--- + +### getL1GasPrice + +▸ **getL1GasPrice**(`blockIdentifier?`): `Promise`<`string`\> + +Gets the price of l1 gas in the block + +#### Parameters + +| Name | Type | Description | +| :----------------- | :---------------------------------------------------------- | :--------------- | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | block identifier | + +#### Returns + +`Promise`<`string`\> + +gas price of the block + +#### Implementation of + +[AccountInterface](AccountInterface.md).[getL1GasPrice](AccountInterface.md#getl1gasprice) + +#### Inherited from + +[Account](Account.md).[getL1GasPrice](Account.md#getl1gasprice) + +#### Defined in + +[src/provider/rpc.ts:157](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L157) + +--- + +### getL1MessageHash + +▸ **getL1MessageHash**(`l2TxHash`): `Promise`<`string`\> + +Get L1 message hash from L2 transaction hash + +#### Parameters + +| Name | Type | Description | +| :--------- | :---------------------------------------------------- | :------------------ | +| `l2TxHash` | [`BigNumberish`](../namespaces/types.md#bignumberish) | L2 transaction hash | + +#### Returns + +`Promise`<`string`\> + +Hex string of L1 message hash + +**`Example`** + +In Sepolia Testnet : + +```typescript +const result = provider.getL1MessageHash( + '0x28dfc05eb4f261b37ddad451ff22f1d08d4e3c24dc646af0ec69fa20e096819' +); +// result = '0x55b3f8b6e607fffd9b4d843dfe8f9b5c05822cd94fcad8797deb01d77805532a' +``` + +#### Implementation of + +[AccountInterface](AccountInterface.md).[getL1MessageHash](AccountInterface.md#getl1messagehash) + +#### Inherited from + +[Account](Account.md).[getL1MessageHash](Account.md#getl1messagehash) + +#### Defined in + +[src/provider/rpc.ts:163](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L163) + +--- + +### getBlockWithReceipts + +▸ **getBlockWithReceipts**(`blockIdentifier?`): `Promise`<[`BlockWithTxReceipts`](../namespaces/types.RPC.RPCSPEC07.API.md#blockwithtxreceipts)\> + +#### Parameters + +| Name | Type | +| :----------------- | :---------------------------------------------------------- | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<[`BlockWithTxReceipts`](../namespaces/types.RPC.RPCSPEC07.API.md#blockwithtxreceipts)\> + +#### Inherited from + +[Account](Account.md).[getBlockWithReceipts](Account.md#getblockwithreceipts) + +#### Defined in + +[src/provider/rpc.ts:185](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L185) + +--- + +### getBlockStateUpdate + +▸ **getBlockStateUpdate**(): `Promise`<\{ `block_hash`: `never` ; `old_root`: `string` ; `state_diff`: \{ storage_diffs: \{ address: string; storage_entries: \{ key: string; value: string; }[]; }[]; deprecated_declared_classes: string[]; declared_classes: \{ class_hash: string; compiled_class_hash: string; }[]; deployed_contracts: \{ ...; }[]; replaced_classes: \{ ...; }[]; nonces: \{ ...; }[]; } }\> + +#### Returns + +`Promise`<\{ `block_hash`: `never` ; `old_root`: `string` ; `state_diff`: \{ storage_diffs: \{ address: string; storage_entries: \{ key: string; value: string; }[]; }[]; deprecated_declared_classes: string[]; declared_classes: \{ class_hash: string; compiled_class_hash: string; }[]; deployed_contracts: \{ ...; }[]; replaced_classes: \{ ...; }[]; nonces: \{ ...; }[]; } }\> + +#### Inherited from + +[Account](Account.md).[getBlockStateUpdate](Account.md#getblockstateupdate) + +#### Defined in + +[src/provider/rpc.ts:194](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L194) + +▸ **getBlockStateUpdate**(`blockIdentifier`): `Promise`<\{ `block_hash`: `never` ; `old_root`: `string` ; `state_diff`: \{ storage_diffs: \{ address: string; storage_entries: \{ key: string; value: string; }[]; }[]; deprecated_declared_classes: string[]; declared_classes: \{ class_hash: string; compiled_class_hash: string; }[]; deployed_contracts: \{ ...; }[]; replaced_classes: \{ ...; }[]; nonces: \{ ...; }[]; } }\> + +#### Parameters + +| Name | Type | +| :---------------- | :---------- | +| `blockIdentifier` | `"pending"` | + +#### Returns + +`Promise`<\{ `block_hash`: `never` ; `old_root`: `string` ; `state_diff`: \{ storage_diffs: \{ address: string; storage_entries: \{ key: string; value: string; }[]; }[]; deprecated_declared_classes: string[]; declared_classes: \{ class_hash: string; compiled_class_hash: string; }[]; deployed_contracts: \{ ...; }[]; replaced_classes: \{ ...; }[]; nonces: \{ ...; }[]; } }\> + +#### Inherited from + +[Account](Account.md).[getBlockStateUpdate](Account.md#getblockstateupdate) + +#### Defined in + +[src/provider/rpc.ts:195](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L195) + +▸ **getBlockStateUpdate**(`blockIdentifier`): `Promise`<\{ `block_hash`: `string` ; `old_root`: `string` ; `new_root`: `string` ; `state_diff`: \{ storage_diffs: \{ address: string; storage_entries: \{ key: string; value: string; }[]; }[]; deprecated_declared_classes: string[]; declared_classes: \{ class_hash: string; compiled_class_hash: string; }[]; deployed_contracts: \{ ...; }[]; replaced_classes: \{ ...; }[]; nonces: \{ ...; }[]; } }\> + +#### Parameters + +| Name | Type | +| :---------------- | :--------- | +| `blockIdentifier` | `"latest"` | + +#### Returns + +`Promise`<\{ `block_hash`: `string` ; `old_root`: `string` ; `new_root`: `string` ; `state_diff`: \{ storage_diffs: \{ address: string; storage_entries: \{ key: string; value: string; }[]; }[]; deprecated_declared_classes: string[]; declared_classes: \{ class_hash: string; compiled_class_hash: string; }[]; deployed_contracts: \{ ...; }[]; replaced_classes: \{ ...; }[]; nonces: \{ ...; }[]; } }\> + +#### Inherited from + +[Account](Account.md).[getBlockStateUpdate](Account.md#getblockstateupdate) + +#### Defined in + +[src/provider/rpc.ts:196](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L196) + +▸ **getBlockStateUpdate**(`blockIdentifier?`): `Promise`<[`StateUpdateResponse`](../namespaces/types.md#stateupdateresponse)\> + +#### Parameters + +| Name | Type | +| :----------------- | :---------------------------------------------------------- | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<[`StateUpdateResponse`](../namespaces/types.md#stateupdateresponse)\> + +#### Inherited from + +[Account](Account.md).[getBlockStateUpdate](Account.md#getblockstateupdate) + +#### Defined in + +[src/provider/rpc.ts:197](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L197) + +--- + +### getBlockTransactionsTraces + +▸ **getBlockTransactionsTraces**(`blockIdentifier?`): `Promise`<[`BlockTransactionsTraces`](../namespaces/types.RPC.RPCSPEC06.md#blocktransactionstraces)\> + +#### Parameters + +| Name | Type | +| :----------------- | :---------------------------------------------------------- | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<[`BlockTransactionsTraces`](../namespaces/types.RPC.RPCSPEC06.md#blocktransactionstraces)\> + +#### Inherited from + +[Account](Account.md).[getBlockTransactionsTraces](Account.md#getblocktransactionstraces) + +#### Defined in + +[src/provider/rpc.ts:202](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L202) + +--- + +### getBlockTransactionCount + +▸ **getBlockTransactionCount**(`blockIdentifier?`): `Promise`<`number`\> + +#### Parameters + +| Name | Type | +| :----------------- | :---------------------------------------------------------- | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<`number`\> + +#### Inherited from + +[Account](Account.md).[getBlockTransactionCount](Account.md#getblocktransactioncount) + +#### Defined in + +[src/provider/rpc.ts:206](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L206) + +--- + +### getPendingTransactions + +▸ **getPendingTransactions**(): `Promise`<[`TransactionWithHash`](../namespaces/types.RPC.RPCSPEC06.md#transactionwithhash)[]\> + +Return transactions from pending block + +#### Returns + +`Promise`<[`TransactionWithHash`](../namespaces/types.RPC.RPCSPEC06.md#transactionwithhash)[]\> + +**`Deprecated`** + +Instead use getBlock(BlockTag.PENDING); (will be removed in next minor version) +Utility method, same result can be achieved using getBlockWithTxHashes(BlockTag.pending); + +#### Inherited from + +[Account](Account.md).[getPendingTransactions](Account.md#getpendingtransactions) + +#### Defined in + +[src/provider/rpc.ts:215](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L215) + +--- + +### getTransaction + +▸ **getTransaction**(`txHash`): `Promise`<[`TransactionWithHash`](../namespaces/types.RPC.RPCSPEC06.md#transactionwithhash)\> + +Gets the transaction information from a tx id. + +#### Parameters + +| Name | Type | +| :------- | :---------------------------------------------------- | +| `txHash` | [`BigNumberish`](../namespaces/types.md#bignumberish) | + +#### Returns + +`Promise`<[`TransactionWithHash`](../namespaces/types.RPC.RPCSPEC06.md#transactionwithhash)\> + +the transaction object { transaction_id, status, transaction, block_number?, block_number?, transaction_index?, transaction_failure_reason? } + +#### Implementation of + +[AccountInterface](AccountInterface.md).[getTransaction](AccountInterface.md#gettransaction) + +#### Inherited from + +[Account](Account.md).[getTransaction](Account.md#gettransaction) + +#### Defined in + +[src/provider/rpc.ts:222](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L222) + +--- + +### getTransactionByHash + +▸ **getTransactionByHash**(`txHash`): `Promise`<[`TransactionWithHash`](../namespaces/types.RPC.RPCSPEC06.md#transactionwithhash)\> + +#### Parameters + +| Name | Type | +| :------- | :---------------------------------------------------- | +| `txHash` | [`BigNumberish`](../namespaces/types.md#bignumberish) | + +#### Returns + +`Promise`<[`TransactionWithHash`](../namespaces/types.RPC.RPCSPEC06.md#transactionwithhash)\> + +#### Inherited from + +[Account](Account.md).[getTransactionByHash](Account.md#gettransactionbyhash) + +#### Defined in + +[src/provider/rpc.ts:226](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L226) + +--- + +### getTransactionByBlockIdAndIndex + +▸ **getTransactionByBlockIdAndIndex**(`blockIdentifier`, `index`): `Promise`<[`TransactionWithHash`](../namespaces/types.RPC.RPCSPEC06.md#transactionwithhash)\> + +#### Parameters + +| Name | Type | +| :---------------- | :---------------------------------------------------------- | +| `blockIdentifier` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | +| `index` | `number` | + +#### Returns + +`Promise`<[`TransactionWithHash`](../namespaces/types.RPC.RPCSPEC06.md#transactionwithhash)\> + +#### Inherited from + +[Account](Account.md).[getTransactionByBlockIdAndIndex](Account.md#gettransactionbyblockidandindex) + +#### Defined in + +[src/provider/rpc.ts:230](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L230) + +--- + +### getTransactionReceipt + +▸ **getTransactionReceipt**(`txHash`): `Promise`<[`GetTransactionReceiptResponse`](../modules.md#gettransactionreceiptresponse)\> + +Gets the transaction receipt from a tx hash. + +#### Parameters + +| Name | Type | +| :------- | :---------------------------------------------------- | +| `txHash` | [`BigNumberish`](../namespaces/types.md#bignumberish) | + +#### Returns + +`Promise`<[`GetTransactionReceiptResponse`](../modules.md#gettransactionreceiptresponse)\> + +the transaction receipt object + +#### Implementation of + +[AccountInterface](AccountInterface.md).[getTransactionReceipt](AccountInterface.md#gettransactionreceipt) + +#### Inherited from + +[Account](Account.md).[getTransactionReceipt](Account.md#gettransactionreceipt) + +#### Defined in + +[src/provider/rpc.ts:234](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L234) + +--- + +### getTransactionTrace + +▸ **getTransactionTrace**(`txHash`): `Promise`<[`TRANSACTION_TRACE`](../namespaces/types.RPC.RPCSPEC06.SPEC.md#transaction_trace)\> + +#### Parameters + +| Name | Type | +| :------- | :---------------------------------------------------- | +| `txHash` | [`BigNumberish`](../namespaces/types.md#bignumberish) | + +#### Returns + +`Promise`<[`TRANSACTION_TRACE`](../namespaces/types.RPC.RPCSPEC06.SPEC.md#transaction_trace)\> + +#### Inherited from + +[Account](Account.md).[getTransactionTrace](Account.md#gettransactiontrace) + +#### Defined in + +[src/provider/rpc.ts:241](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L241) + +--- + +### getTransactionStatus + +▸ **getTransactionStatus**(`transactionHash`): `Promise`<[`TransactionStatus`](../namespaces/types.RPC.RPCSPEC06.md#transactionstatus)\> + +Get the status of a transaction + +#### Parameters + +| Name | Type | +| :---------------- | :---------------------------------------------------- | +| `transactionHash` | [`BigNumberish`](../namespaces/types.md#bignumberish) | + +#### Returns + +`Promise`<[`TransactionStatus`](../namespaces/types.RPC.RPCSPEC06.md#transactionstatus)\> + +#### Inherited from + +[Account](Account.md).[getTransactionStatus](Account.md#gettransactionstatus) + +#### Defined in + +[src/provider/rpc.ts:248](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L248) + +--- + +### getSimulateTransaction + +▸ **getSimulateTransaction**(`invocations`, `options?`): `Promise`<[`SimulateTransactionResponse`](../namespaces/types.md#simulatetransactionresponse)\> + +#### Parameters + +| Name | Type | Description | +| :------------ | :-------------------------------------------------------------------------------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `invocations` | [`AccountInvocations`](../namespaces/types.md#accountinvocations) | AccountInvocations | +| `options?` | [`getSimulateTransactionOptions`](../namespaces/types.md#getsimulatetransactionoptions) | blockIdentifier and flags to skip validation and fee charge
- blockIdentifier
- skipValidate (default false)
- skipFeeCharge (default true)
| + +#### Returns + +`Promise`<[`SimulateTransactionResponse`](../namespaces/types.md#simulatetransactionresponse)\> + +#### Implementation of + +[AccountInterface](AccountInterface.md).[getSimulateTransaction](AccountInterface.md#getsimulatetransaction) + +#### Inherited from + +[Account](Account.md).[getSimulateTransaction](Account.md#getsimulatetransaction) + +#### Defined in + +[src/provider/rpc.ts:259](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L259) + +--- + +### waitForTransaction + +▸ **waitForTransaction**(`txHash`, `options?`): `Promise`<[`GetTransactionReceiptResponse`](../modules.md#gettransactionreceiptresponse)\> + +Wait for the transaction to be accepted + +#### Parameters + +| Name | Type | Description | +| :--------- | :------------------------------------------------------------------------------ | :--------------------------------------------------------------------------------------------------------------------------------------- | +| `txHash` | [`BigNumberish`](../namespaces/types.md#bignumberish) | transaction hash | +| `options?` | [`waitForTransactionOptions`](../namespaces/types.md#waitfortransactionoptions) | waitForTransactionOptions - (optional) retryInterval: number \| undefined; - (optional) successStates: TransactionStatus[] \| undefined; | + +#### Returns + +`Promise`<[`GetTransactionReceiptResponse`](../modules.md#gettransactionreceiptresponse)\> + +GetTransactionReceiptResponse + +#### Implementation of + +[AccountInterface](AccountInterface.md).[waitForTransaction](AccountInterface.md#waitfortransaction) + +#### Inherited from + +[Account](Account.md).[waitForTransaction](Account.md#waitfortransaction) + +#### Defined in + +[src/provider/rpc.ts:269](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L269) + +--- + +### getStorageAt + +▸ **getStorageAt**(`contractAddress`, `key`, `blockIdentifier?`): `Promise`<`string`\> + +Get the value of the storage (contract's variable) at the given address and key + +#### Parameters + +| Name | Type | Description | +| :----------------- | :---------------------------------------------------------- | :--------------------------------------------------------- | +| `contractAddress` | [`BigNumberish`](../namespaces/types.md#bignumberish) | | +| `key` | [`BigNumberish`](../namespaces/types.md#bignumberish) | from getStorageVarAddress('') (WIP) | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | block identifier | + +#### Returns + +`Promise`<`string`\> + +the value of the storage variable + +#### Implementation of + +[AccountInterface](AccountInterface.md).[getStorageAt](AccountInterface.md#getstorageat) + +#### Inherited from + +[Account](Account.md).[getStorageAt](Account.md#getstorageat) + +#### Defined in + +[src/provider/rpc.ts:281](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L281) + +--- + +### getClassHashAt + +▸ **getClassHashAt**(`contractAddress`, `blockIdentifier?`): `Promise`<`string`\> + +Returns the contract class hash in the given block for the contract deployed at the given address + +#### Parameters + +| Name | Type | Description | +| :----------------- | :---------------------------------------------------------- | :--------------- | +| `contractAddress` | [`BigNumberish`](../namespaces/types.md#bignumberish) | contract address | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | block identifier | + +#### Returns + +`Promise`<`string`\> + +Class hash + +#### Implementation of + +[AccountInterface](AccountInterface.md).[getClassHashAt](AccountInterface.md#getclasshashat) + +#### Inherited from + +[Account](Account.md).[getClassHashAt](Account.md#getclasshashat) + +#### Defined in + +[src/provider/rpc.ts:289](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L289) + +--- + +### getClassByHash + +▸ **getClassByHash**(`classHash`): `Promise`<[`LegacyContractClass`](../namespaces/types.md#legacycontractclass) \| `Omit`<[`CompiledSierra`](../namespaces/types.md#compiledsierra), `"sierra_program_debug_info"`\>\> + +Returns the contract class deployed under the given class hash. + +#### Parameters + +| Name | Type | Description | +| :---------- | :---------------------------------------------------- | :---------- | +| `classHash` | [`BigNumberish`](../namespaces/types.md#bignumberish) | class hash | + +#### Returns + +`Promise`<[`LegacyContractClass`](../namespaces/types.md#legacycontractclass) \| `Omit`<[`CompiledSierra`](../namespaces/types.md#compiledsierra), `"sierra_program_debug_info"`\>\> + +Contract class of compiled contract + +#### Implementation of + +[AccountInterface](AccountInterface.md).[getClassByHash](AccountInterface.md#getclassbyhash) + +#### Inherited from + +[Account](Account.md).[getClassByHash](Account.md#getclassbyhash) + +#### Defined in + +[src/provider/rpc.ts:293](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L293) + +--- + +### getClass + +▸ **getClass**(`classHash`, `blockIdentifier?`): `Promise`<[`LegacyContractClass`](../namespaces/types.md#legacycontractclass) \| `Omit`<[`CompiledSierra`](../namespaces/types.md#compiledsierra), `"sierra_program_debug_info"`\>\> + +#### Parameters + +| Name | Type | +| :----------------- | :---------------------------------------------------------- | +| `classHash` | [`BigNumberish`](../namespaces/types.md#bignumberish) | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`Promise`<[`LegacyContractClass`](../namespaces/types.md#legacycontractclass) \| `Omit`<[`CompiledSierra`](../namespaces/types.md#compiledsierra), `"sierra_program_debug_info"`\>\> + +#### Inherited from + +[Account](Account.md).[getClass](Account.md#getclass) + +#### Defined in + +[src/provider/rpc.ts:297](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L297) + +--- + +### getClassAt + +▸ **getClassAt**(`contractAddress`, `blockIdentifier?`): `Promise`<[`LegacyContractClass`](../namespaces/types.md#legacycontractclass) \| `Omit`<[`CompiledSierra`](../namespaces/types.md#compiledsierra), `"sierra_program_debug_info"`\>\> + +Gets the contract class of the deployed contract. + +#### Parameters + +| Name | Type | Description | +| :----------------- | :---------------------------------------------------------- | :--------------- | +| `contractAddress` | [`BigNumberish`](../namespaces/types.md#bignumberish) | contract address | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | block identifier | + +#### Returns + +`Promise`<[`LegacyContractClass`](../namespaces/types.md#legacycontractclass) \| `Omit`<[`CompiledSierra`](../namespaces/types.md#compiledsierra), `"sierra_program_debug_info"`\>\> + +Contract class of compiled contract + +#### Implementation of + +[AccountInterface](AccountInterface.md).[getClassAt](AccountInterface.md#getclassat) + +#### Inherited from + +[Account](Account.md).[getClassAt](Account.md#getclassat) + +#### Defined in + +[src/provider/rpc.ts:303](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L303) + +--- + +### getContractVersion + +▸ **getContractVersion**(`contractAddress`, `classHash?`, `options?`): `Promise`<[`ContractVersion`](../namespaces/types.md#contractversion)\> + +Gets the contract version from the provided address + +#### Parameters + +| Name | Type | Description | +| :---------------- | :------------------------------------------------------------------------------ | :------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `contractAddress` | [`BigNumberish`](../namespaces/types.md#bignumberish) | string | +| `classHash?` | `undefined` | undefined | +| `options?` | [`getContractVersionOptions`](../namespaces/types.md#getcontractversionoptions) | getContractVersionOptions - (optional) compiler - (default true) extract compiler version using type tactic from abi - (optional) blockIdentifier - block identifier | + +#### Returns + +`Promise`<[`ContractVersion`](../namespaces/types.md#contractversion)\> + +#### Implementation of + +[AccountInterface](AccountInterface.md).[getContractVersion](AccountInterface.md#getcontractversion) + +#### Inherited from + +[Account](Account.md).[getContractVersion](Account.md#getcontractversion) + +#### Defined in + +[src/provider/rpc.ts:309](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L309) + +▸ **getContractVersion**(`contractAddress`, `classHash`, `options?`): `Promise`<[`ContractVersion`](../namespaces/types.md#contractversion)\> + +Gets the contract version from the provided address + +#### Parameters + +| Name | Type | Description | +| :---------------- | :------------------------------------------------------------------------------ | :------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `contractAddress` | `undefined` | undefined | +| `classHash` | [`BigNumberish`](../namespaces/types.md#bignumberish) | | +| `options?` | [`getContractVersionOptions`](../namespaces/types.md#getcontractversionoptions) | getContractVersionOptions - (optional) compiler - (default true) extract compiler version using type tactic from abi - (optional) blockIdentifier - block identifier | + +#### Returns + +`Promise`<[`ContractVersion`](../namespaces/types.md#contractversion)\> + +#### Implementation of + +[AccountInterface](AccountInterface.md).[getContractVersion](AccountInterface.md#getcontractversion) + +#### Inherited from + +[Account](Account.md).[getContractVersion](Account.md#getcontractversion) + +#### Defined in + +[src/provider/rpc.ts:314](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L314) + +--- + +### getEstimateFee + +▸ **getEstimateFee**(`invocation`, `invocationDetails`, `blockIdentifier?`, `skipValidate?`): `Promise`<[`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md)\> + +#### Parameters + +| Name | Type | +| :------------------ | :---------------------------------------------------------------------------------- | +| `invocation` | [`Invocation`](../namespaces/types.md#invocation) | +| `invocationDetails` | [`InvocationsDetailsWithNonce`](../namespaces/types.md#invocationsdetailswithnonce) | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | +| `skipValidate?` | `boolean` | + +#### Returns + +`Promise`<[`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md)\> + +**`Deprecated`** + +use get*type*EstimateFee (will be refactored based on type after sequencer deprecation) + +#### Implementation of + +[AccountInterface](AccountInterface.md).[getEstimateFee](AccountInterface.md#getestimatefee) + +#### Inherited from + +[Account](Account.md).[getEstimateFee](Account.md#getestimatefee) + +#### Defined in + +[src/provider/rpc.ts:350](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L350) + +--- + +### getInvokeEstimateFee + +▸ **getInvokeEstimateFee**(`invocation`, `invocationDetails`, `blockIdentifier?`, `skipValidate?`): `Promise`<[`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md)\> + +Estimates the fee for a given INVOKE transaction + +#### Parameters + +| Name | Type | Description | +| :------------------ | :---------------------------------------------------------------------------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `invocation` | [`Invocation`](../namespaces/types.md#invocation) | the invocation object containing: - contractAddress - the address of the contract - entrypoint - the entrypoint of the contract - calldata - (defaults to []) the calldata - signature - (defaults to []) the signature | +| `invocationDetails` | [`InvocationsDetailsWithNonce`](../namespaces/types.md#invocationsdetailswithnonce) | optional details containing: - nonce - optional nonce - version - optional version | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | (optional) block identifier | +| `skipValidate?` | `boolean` | (optional) skip cairo **validate** method | + +#### Returns + +`Promise`<[`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md)\> + +the estimated fee + +#### Implementation of + +[AccountInterface](AccountInterface.md).[getInvokeEstimateFee](AccountInterface.md#getinvokeestimatefee) + +#### Inherited from + +[Account](Account.md).[getInvokeEstimateFee](Account.md#getinvokeestimatefee) + +#### Defined in + +[src/provider/rpc.ts:359](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L359) + +--- + +### getDeclareEstimateFee + +▸ **getDeclareEstimateFee**(`invocation`, `details`, `blockIdentifier?`, `skipValidate?`): `Promise`<[`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md)\> + +Estimates the fee for a given DECLARE transaction + +#### Parameters + +| Name | Type | Description | +| :----------------- | :---------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------ | +| `invocation` | [`DeclareContractTransaction`](../namespaces/types.md#declarecontracttransaction) | transaction payload to be declared containing: - compiled contract code - sender address - signature - (defaults to []) the signature | +| `details` | [`InvocationsDetailsWithNonce`](../namespaces/types.md#invocationsdetailswithnonce) | optional details containing: - nonce - version - optional version - optional maxFee | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | (optional) block identifier | +| `skipValidate?` | `boolean` | (optional) skip cairo **validate** method | + +#### Returns + +`Promise`<[`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md)\> + +the estimated fee + +#### Implementation of + +[AccountInterface](AccountInterface.md).[getDeclareEstimateFee](AccountInterface.md#getdeclareestimatefee) + +#### Inherited from + +[Account](Account.md).[getDeclareEstimateFee](Account.md#getdeclareestimatefee) + +#### Defined in + +[src/provider/rpc.ts:379](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L379) + +--- + +### getDeployAccountEstimateFee + +▸ **getDeployAccountEstimateFee**(`invocation`, `details`, `blockIdentifier?`, `skipValidate?`): `Promise`<[`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md)\> + +Estimates the fee for a given DEPLOY_ACCOUNT transaction + +#### Parameters + +| Name | Type | Description | +| :----------------- | :-------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------ | +| `invocation` | [`DeployAccountContractTransaction`](../namespaces/types.md#deployaccountcontracttransaction) | transaction payload to be deployed containing: - classHash - constructorCalldata - addressSalt - signature - (defaults to []) the signature | +| `details` | [`InvocationsDetailsWithNonce`](../namespaces/types.md#invocationsdetailswithnonce) | optional details containing: - nonce - version - optional version - optional maxFee | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | (optional) block identifier | +| `skipValidate?` | `boolean` | (optional) skip cairo **validate** method | + +#### Returns + +`Promise`<[`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md)\> + +the estimated fee + +#### Implementation of + +[AccountInterface](AccountInterface.md).[getDeployAccountEstimateFee](AccountInterface.md#getdeployaccountestimatefee) + +#### Inherited from + +[Account](Account.md).[getDeployAccountEstimateFee](Account.md#getdeployaccountestimatefee) + +#### Defined in + +[src/provider/rpc.ts:399](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L399) + +--- + +### getEstimateFeeBulk + +▸ **getEstimateFeeBulk**(`invocations`, `options`): `Promise`<[`EstimateFeeResponseBulk`](../namespaces/types.md#estimatefeeresponsebulk)\> + +Estimates the fee for a list of INVOKE transaction + +#### Parameters + +| Name | Type | Description | +| :------------ | :------------------------------------------------------------------------------ | :----------------------------------------------------------------------- | +| `invocations` | [`AccountInvocations`](../namespaces/types.md#accountinvocations) | AccountInvocations - Complete invocations array with account details | +| `options` | [`getEstimateFeeBulkOptions`](../namespaces/types.md#getestimatefeebulkoptions) | getEstimateFeeBulkOptions - (optional) blockIdentifier - BlockIdentifier | + +#### Returns + +`Promise`<[`EstimateFeeResponseBulk`](../namespaces/types.md#estimatefeeresponsebulk)\> + +the estimated fee + +#### Implementation of + +[AccountInterface](AccountInterface.md).[getEstimateFeeBulk](AccountInterface.md#getestimatefeebulk) + +#### Inherited from + +[Account](Account.md).[getEstimateFeeBulk](Account.md#getestimatefeebulk) + +#### Defined in + +[src/provider/rpc.ts:419](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L419) + +--- + +### invokeFunction + +▸ **invokeFunction**(`functionInvocation`, `details`): `Promise`<[`InvokedTransaction`](../namespaces/types.RPC.RPCSPEC07.API.md#invokedtransaction)\> + +Invokes a function on starknet + +#### Parameters + +| Name | Type | Description | +| :------------------- | :---------------------------------------------------------------------------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `functionInvocation` | [`Invocation`](../namespaces/types.md#invocation) | the invocation object containing: - contractAddress - the address of the contract - entrypoint - the entrypoint of the contract - calldata - (defaults to []) the calldata - signature - (defaults to []) the signature | +| `details` | [`InvocationsDetailsWithNonce`](../namespaces/types.md#invocationsdetailswithnonce) | optional details containing: - nonce - optional nonce - version - optional version - maxFee - optional maxFee | + +#### Returns + +`Promise`<[`InvokedTransaction`](../namespaces/types.RPC.RPCSPEC07.API.md#invokedtransaction)\> + +response from addTransaction + +**`Deprecated`** + +This method won't be supported as soon as fees are mandatory. Should not be used outside of Account class + +#### Implementation of + +[AccountInterface](AccountInterface.md).[invokeFunction](AccountInterface.md#invokefunction) + +#### Inherited from + +[Account](Account.md).[invokeFunction](Account.md#invokefunction) + +#### Defined in + +[src/provider/rpc.ts:428](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L428) + +--- + +### declareContract + +▸ **declareContract**(`transaction`, `details`): `Promise`<[`DeclaredTransaction`](../namespaces/types.RPC.RPCSPEC07.API.md#declaredtransaction)\> + +Declares a given compiled contract (json) to starknet + +#### Parameters + +| Name | Type | Description | +| :------------ | :---------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------------------- | +| `transaction` | [`DeclareContractTransaction`](../namespaces/types.md#declarecontracttransaction) | transaction payload to be deployed containing: - compiled contract code - sender address - signature | +| `details` | [`InvocationsDetailsWithNonce`](../namespaces/types.md#invocationsdetailswithnonce) | Invocation Details containing: - nonce - optional version - optional maxFee | + +#### Returns + +`Promise`<[`DeclaredTransaction`](../namespaces/types.RPC.RPCSPEC07.API.md#declaredtransaction)\> + +a confirmation of sending a transaction on the starknet contract + +#### Implementation of + +[AccountInterface](AccountInterface.md).[declareContract](AccountInterface.md#declarecontract) + +#### Inherited from + +[Account](Account.md).[declareContract](Account.md#declarecontract) + +#### Defined in + +[src/provider/rpc.ts:435](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L435) + +--- + +### deployAccountContract + +▸ **deployAccountContract**(`transaction`, `details`): `Promise`<[`DeployedAccountTransaction`](../namespaces/types.RPC.RPCSPEC07.API.md#deployedaccounttransaction)\> + +Deploys a given compiled Account contract (json) to starknet + +#### Parameters + +| Name | Type | Description | +| :------------ | :-------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------ | +| `transaction` | [`DeployAccountContractTransaction`](../namespaces/types.md#deployaccountcontracttransaction) | payload to be deployed containing: - compiled contract code - constructor calldata - address salt | +| `details` | [`InvocationsDetailsWithNonce`](../namespaces/types.md#invocationsdetailswithnonce) | - | + +#### Returns + +`Promise`<[`DeployedAccountTransaction`](../namespaces/types.RPC.RPCSPEC07.API.md#deployedaccounttransaction)\> + +a confirmation of sending a transaction on the starknet contract + +#### Implementation of + +[AccountInterface](AccountInterface.md).[deployAccountContract](AccountInterface.md#deployaccountcontract) + +#### Inherited from + +[Account](Account.md).[deployAccountContract](Account.md#deployaccountcontract) + +#### Defined in + +[src/provider/rpc.ts:442](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L442) + +--- + +### callContract + +▸ **callContract**(`call`, `blockIdentifier?`): `Promise`<`string`[]\> + +Calls a function on the Starknet contract. + +#### Parameters + +| Name | Type | Description | +| :----------------- | :---------------------------------------------------------- | :----------------------- | +| `call` | [`Call`](../namespaces/types.md#call) | transaction to be called | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | block identifier | + +#### Returns + +`Promise`<`string`[]\> + +the result of the function on the smart contract. + +#### Implementation of + +[AccountInterface](AccountInterface.md).[callContract](AccountInterface.md#callcontract) + +#### Inherited from + +[Account](Account.md).[callContract](Account.md#callcontract) + +#### Defined in + +[src/provider/rpc.ts:452](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L452) + +--- + +### estimateMessageFee + +▸ **estimateMessageFee**(`message`, `blockIdentifier?`): `Promise`<[`FEE_ESTIMATE`](../namespaces/types.RPC.RPCSPEC06.SPEC.md#fee_estimate)\> + +NEW: Estimate the fee for a message from L1 + +#### Parameters + +| Name | Type | Description | +| :----------------- | :------------------------------------------------------------------------- | :-------------- | +| `message` | [`MSG_FROM_L1`](../namespaces/types.RPC.RPCSPEC07.API.SPEC.md#msg_from_l1) | Message From L1 | +| `blockIdentifier?` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | - | + +#### Returns + +`Promise`<[`FEE_ESTIMATE`](../namespaces/types.RPC.RPCSPEC06.SPEC.md#fee_estimate)\> + +#### Inherited from + +[Account](Account.md).[estimateMessageFee](Account.md#estimatemessagefee) + +#### Defined in + +[src/provider/rpc.ts:460](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L460) + +--- + +### getSyncingStats + +▸ **getSyncingStats**(): `Promise`<[`Syncing`](../namespaces/types.RPC.RPCSPEC06.md#syncing)\> + +Returns an object about the sync status, or false if the node is not synching + +#### Returns + +`Promise`<[`Syncing`](../namespaces/types.RPC.RPCSPEC06.md#syncing)\> + +Object with the stats data + +#### Inherited from + +[Account](Account.md).[getSyncingStats](Account.md#getsyncingstats) + +#### Defined in + +[src/provider/rpc.ts:468](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L468) + +--- + +### getEvents + +▸ **getEvents**(`eventFilter`): `Promise`<[`EVENTS_CHUNK`](../namespaces/types.RPC.RPCSPEC06.SPEC.md#events_chunk)\> + +Returns all events matching the given filter + +#### Parameters + +| Name | Type | +| :------------ | :-------------------------------------------------------------------- | +| `eventFilter` | [`EventFilter`](../namespaces/types.RPC.RPCSPEC07.API.md#eventfilter) | + +#### Returns + +`Promise`<[`EVENTS_CHUNK`](../namespaces/types.RPC.RPCSPEC06.SPEC.md#events_chunk)\> + +events and the pagination of the events + +#### Inherited from + +[Account](Account.md).[getEvents](Account.md#getevents) + +#### Defined in + +[src/provider/rpc.ts:476](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/rpc.ts#L476) + +--- + +### getAddressFromStarkName + +▸ **getAddressFromStarkName**(`name`, `StarknetIdContract?`): `Promise`<`string`\> + +#### Parameters + +| Name | Type | +| :-------------------- | :------- | +| `name` | `string` | +| `StarknetIdContract?` | `string` | + +#### Returns + +`Promise`<`string`\> + +#### Inherited from + +[Account](Account.md).[getAddressFromStarkName](Account.md#getaddressfromstarkname-1) + +#### Defined in + +[src/provider/extensions/starknetId.ts:30](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/extensions/starknetId.ts#L30) + +--- + +### getStarkProfile + +▸ **getStarkProfile**(`address`, `StarknetIdContract?`, `StarknetIdIdentityContract?`, `StarknetIdVerifierContract?`, `StarknetIdPfpContract?`, `StarknetIdPopContract?`, `StarknetIdMulticallContract?`): `Promise`<[`StarkProfile`](../namespaces/types.md#starkprofile)\> + +#### Parameters + +| Name | Type | +| :----------------------------- | :---------------------------------------------------- | +| `address` | [`BigNumberish`](../namespaces/types.md#bignumberish) | +| `StarknetIdContract?` | `string` | +| `StarknetIdIdentityContract?` | `string` | +| `StarknetIdVerifierContract?` | `string` | +| `StarknetIdPfpContract?` | `string` | +| `StarknetIdPopContract?` | `string` | +| `StarknetIdMulticallContract?` | `string` | + +#### Returns + +`Promise`<[`StarkProfile`](../namespaces/types.md#starkprofile)\> + +#### Inherited from + +[Account](Account.md).[getStarkProfile](Account.md#getstarkprofile-1) + +#### Defined in + +[src/provider/extensions/starknetId.ts:39](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/extensions/starknetId.ts#L39) diff --git a/www/versioned_docs/version-6.11.0/API/classes/_category_.yml b/www/versioned_docs/version-6.11.0/API/classes/_category_.yml new file mode 100644 index 000000000..4ddfa3005 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/classes/_category_.yml @@ -0,0 +1,2 @@ +label: 'Classes' +position: 3 diff --git a/www/versioned_docs/version-6.11.0/API/classes/merkle.MerkleTree.md b/www/versioned_docs/version-6.11.0/API/classes/merkle.MerkleTree.md new file mode 100644 index 000000000..48a3ab806 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/classes/merkle.MerkleTree.md @@ -0,0 +1,177 @@ +--- +id: 'merkle.MerkleTree' +title: 'Class: MerkleTree' +sidebar_label: 'MerkleTree' +custom_edit_url: null +--- + +[merkle](../namespaces/merkle.md).MerkleTree + +## Constructors + +### constructor + +• **new MerkleTree**(`leafHashes`, `hashMethod?`): [`MerkleTree`](merkle.MerkleTree.md) + +Create a Merkle tree + +#### Parameters + +| Name | Type | Default value | Description | +| :----------- | :----------------------------------------------------------------------------------------------------------------------------------- | :-------------------- | :------------------------------------ | +| `leafHashes` | `string`[] | `undefined` | hex-string array | +| `hashMethod` | (`a`: [`BigNumberish`](../namespaces/types.md#bignumberish), `b`: [`BigNumberish`](../namespaces/types.md#bignumberish)) => `string` | `computePedersenHash` | hash method to use, default: Pedersen | + +#### Returns + +[`MerkleTree`](merkle.MerkleTree.md) + +created Merkle tree + +**`Example`** + +```typescript +const leaves = ['0x1', '0x2', '0x3', '0x4', '0x5', '0x6', '0x7']; +const tree = new MerkleTree(leaves); +// tree = { +// branches: [['0x5bb9440e2...', '0x262697b88...', ...], ['0x38118a340...', ...], ...], +// leaves: ['0x1', '0x2', '0x3', '0x4', '0x5', '0x6', '0x7'], +// root: '0x7f748c75e5bdb7ae28013f076b8ab650c4e01d3530c6e5ab665f9f1accbe7d4', +// hashMethod: [Function computePedersenHash], +// } +``` + +#### Defined in + +[src/utils/merkle.ts:31](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/merkle.ts#L31) + +## Properties + +### leaves + +• **leaves**: `string`[] + +#### Defined in + +[src/utils/merkle.ts:5](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/merkle.ts#L5) + +--- + +### branches + +• **branches**: `string`[][] = `[]` + +#### Defined in + +[src/utils/merkle.ts:7](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/merkle.ts#L7) + +--- + +### root + +• **root**: `string` + +#### Defined in + +[src/utils/merkle.ts:9](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/merkle.ts#L9) + +--- + +### hashMethod + +• **hashMethod**: (`a`: [`BigNumberish`](../namespaces/types.md#bignumberish), `b`: [`BigNumberish`](../namespaces/types.md#bignumberish)) => `string` + +#### Type declaration + +▸ (`a`, `b`): `string` + +##### Parameters + +| Name | Type | +| :--- | :---------------------------------------------------- | +| `a` | [`BigNumberish`](../namespaces/types.md#bignumberish) | +| `b` | [`BigNumberish`](../namespaces/types.md#bignumberish) | + +##### Returns + +`string` + +#### Defined in + +[src/utils/merkle.ts:11](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/merkle.ts#L11) + +## Methods + +### hash + +▸ **hash**(`a`, `b`, `hashMethod?`): `string` + +Calculate hash from ordered a and b, Pedersen hash default + +#### Parameters + +| Name | Type | Default value | Description | +| :----------- | :----------------------------------------------------------------------------------------------------------------------------------- | :-------------------- | :------------------------------------ | +| `a` | [`BigNumberish`](../namespaces/types.md#bignumberish) | `undefined` | first value | +| `b` | [`BigNumberish`](../namespaces/types.md#bignumberish) | `undefined` | second value | +| `hashMethod` | (`a`: [`BigNumberish`](../namespaces/types.md#bignumberish), `b`: [`BigNumberish`](../namespaces/types.md#bignumberish)) => `string` | `computePedersenHash` | hash method to use, default: Pedersen | + +#### Returns + +`string` + +result of the hash function + +**`Example`** + +```typescript +const result1 = MerkleTree.hash('0xabc', '0xdef'); +// result1 = '0x484f029da7914ada038b1adf67fc83632364a3ebc2cd9349b41ab61626d9e82' + +const customHashMethod = (a, b) => `custom_${a}_${b}`; +const result2 = MerkleTree.hash('0xabc', '0xdef', customHashMethod); +// result2 = 'custom_2748_3567' +``` + +#### Defined in + +[src/utils/merkle.ts:76](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/merkle.ts#L76) + +--- + +### getProof + +▸ **getProof**(`leaf`, `branch?`, `hashPath?`): `string`[] + +Calculates the merkle membership proof path + +#### Parameters + +| Name | Type | Default value | Description | +| :--------- | :--------- | :------------ | :--------------- | +| `leaf` | `string` | `undefined` | hex-string | +| `branch` | `string`[] | `undefined` | hex-string array | +| `hashPath` | `string`[] | `[]` | hex-string array | + +#### Returns + +`string`[] + +collection of merkle proof hex-string hashes + +**`Example`** + +```typescript +const leaves = ['0x1', '0x2', '0x3', '0x4', '0x5', '0x6', '0x7']; +const tree = new MerkleTree(leaves); +const result = tree.getProof('0x3'); +// result = [ +// '0x4', +// '0x5bb9440e27889a364bcb678b1f679ecd1347acdedcbf36e83494f857cc58026', +// '0x8c0e46dd2df9aaf3a8ebfbc25408a582ad7fa7171f0698ddbbc5130b4b4e60', +// ] +``` + +#### Defined in + +[src/utils/merkle.ts:104](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/merkle.ts#L104) diff --git a/www/versioned_docs/version-6.11.0/API/classes/provider-1.Block.md b/www/versioned_docs/version-6.11.0/API/classes/provider-1.Block.md new file mode 100644 index 000000000..8b02e6deb --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/classes/provider-1.Block.md @@ -0,0 +1,210 @@ +--- +id: 'provider-1.Block' +title: 'Class: Block' +sidebar_label: 'Block' +custom_edit_url: null +--- + +[provider](../namespaces/provider-1.md).Block + +This class is formatting the identifier of a block. + +hex string and BigInt are detected as block hashes. identifier return { block_hash: hash } + +decimal string and number are detected as block numbers. identifier return { block_number: number } + +text string are detected as block tag. identifier return tag + +null is detected as 'pending' block tag. identifier return 'pending' + +**`Example`** + +```typescript +const result = new provider.Block(null).identifier; +// result = "pending" +``` + +## Constructors + +### constructor + +• **new Block**(`_identifier`): [`Block`](provider-1.Block.md) + +Create a Block instance + +#### Parameters + +| Name | Type | Description | +| :------------ | :---------------------------------------------------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `_identifier` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | hex string and BigInt are detected as block hashes. decimal string and number are detected as block numbers. text string are detected as block tag. null is considered as a 'pending' block tag. | + +#### Returns + +[`Block`](provider-1.Block.md) + +#### Defined in + +[src/utils/provider.ts:196](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/provider.ts#L196) + +## Properties + +### hash + +• **hash**: [`BlockIdentifier`](../namespaces/types.md#blockidentifier) = `null` + +**`Param`** + +if not null, contains the block hash + +#### Defined in + +[src/utils/provider.ts:153](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/provider.ts#L153) + +--- + +### number + +• **number**: [`BlockIdentifier`](../namespaces/types.md#blockidentifier) = `null` + +**`Param`** + +if not null, contains the block number + +#### Defined in + +[src/utils/provider.ts:158](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/provider.ts#L158) + +--- + +### tag + +• **tag**: [`BlockIdentifier`](../namespaces/types.md#blockidentifier) = `null` + +**`Param`** + +if not null, contains "pending" or "latest" + +#### Defined in + +[src/utils/provider.ts:163](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/provider.ts#L163) + +## Accessors + +### queryIdentifier + +• `get` **queryIdentifier**(): `any` + +#### Returns + +`any` + +the identifier as a string + +**`Example`** + +```typescript +const result = new provider.Block(123456n).queryIdentifier; +// result = "blockHash=0x1e240" +``` + +#### Defined in + +[src/utils/provider.ts:209](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/provider.ts#L209) + +--- + +### identifier + +• `get` **identifier**(): `any` + +#### Returns + +`any` + +the identifier as an object + +**`Example`** + +```typescript +const result = new provider.Block(56789).identifier; +// result = { block_number: 56789 } +``` + +#### Defined in + +[src/utils/provider.ts:230](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/provider.ts#L230) + +• `set` **identifier**(`_identifier`): `void` + +change the identifier of an existing Block instance + +#### Parameters + +| Name | Type | +| :------------ | :---------------------------------------------------------- | +| `_identifier` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`void` + +**`Example`** + +```typescript +const myBlock = new provider.Block('latest'); +myBlock.identifier = '0x3456789abc'; +const result = myBlock.identifier; +// result = { block_hash: '0x3456789abc' } +``` + +#### Defined in + +[src/utils/provider.ts:252](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/provider.ts#L252) + +## Methods + +### setIdentifier + +▸ **setIdentifier**(`__identifier`): `void` + +#### Parameters + +| Name | Type | +| :------------- | :---------------------------------------------------------- | +| `__identifier` | [`BlockIdentifier`](../namespaces/types.md#blockidentifier) | + +#### Returns + +`void` + +#### Defined in + +[src/utils/provider.ts:165](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/provider.ts#L165) + +--- + +### valueOf + +▸ **valueOf**(): [`BlockIdentifier`](../namespaces/types.md#blockidentifier) + +#### Returns + +[`BlockIdentifier`](../namespaces/types.md#blockidentifier) + +#### Defined in + +[src/utils/provider.ts:256](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/provider.ts#L256) + +--- + +### toString + +▸ **toString**(): [`BlockIdentifier`](../namespaces/types.md#blockidentifier) + +#### Returns + +[`BlockIdentifier`](../namespaces/types.md#blockidentifier) + +#### Defined in + +[src/utils/provider.ts:258](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/provider.ts#L258) diff --git a/www/versioned_docs/version-6.11.0/API/enums/CairoOptionVariant.md b/www/versioned_docs/version-6.11.0/API/enums/CairoOptionVariant.md new file mode 100644 index 000000000..0d17ace4c --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/enums/CairoOptionVariant.md @@ -0,0 +1,27 @@ +--- +id: 'CairoOptionVariant' +title: 'Enumeration: CairoOptionVariant' +sidebar_label: 'CairoOptionVariant' +sidebar_position: 0 +custom_edit_url: null +--- + +## Enumeration Members + +### Some + +• **Some** = `0` + +#### Defined in + +[src/utils/calldata/enum/CairoOption.ts:2](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/enum/CairoOption.ts#L2) + +--- + +### None + +• **None** = `1` + +#### Defined in + +[src/utils/calldata/enum/CairoOption.ts:3](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/enum/CairoOption.ts#L3) diff --git a/www/versioned_docs/version-6.11.0/API/enums/CairoResultVariant.md b/www/versioned_docs/version-6.11.0/API/enums/CairoResultVariant.md new file mode 100644 index 000000000..cf772920b --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/enums/CairoResultVariant.md @@ -0,0 +1,27 @@ +--- +id: 'CairoResultVariant' +title: 'Enumeration: CairoResultVariant' +sidebar_label: 'CairoResultVariant' +sidebar_position: 0 +custom_edit_url: null +--- + +## Enumeration Members + +### Ok + +• **Ok** = `0` + +#### Defined in + +[src/utils/calldata/enum/CairoResult.ts:2](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/enum/CairoResult.ts#L2) + +--- + +### Err + +• **Err** = `1` + +#### Defined in + +[src/utils/calldata/enum/CairoResult.ts:3](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/enum/CairoResult.ts#L3) diff --git a/www/versioned_docs/version-6.11.0/API/enums/_category_.yml b/www/versioned_docs/version-6.11.0/API/enums/_category_.yml new file mode 100644 index 000000000..195776cfb --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/enums/_category_.yml @@ -0,0 +1,2 @@ +label: 'Enumerations' +position: 2 diff --git a/www/versioned_docs/version-6.11.0/API/enums/constants.BaseUrl.md b/www/versioned_docs/version-6.11.0/API/enums/constants.BaseUrl.md new file mode 100644 index 000000000..95690dc98 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/enums/constants.BaseUrl.md @@ -0,0 +1,28 @@ +--- +id: 'constants.BaseUrl' +title: 'Enumeration: BaseUrl' +sidebar_label: 'BaseUrl' +custom_edit_url: null +--- + +[constants](../namespaces/constants.md).BaseUrl + +## Enumeration Members + +### SN_MAIN + +• **SN_MAIN** = `"https://alpha-mainnet.starknet.io"` + +#### Defined in + +[src/constants.ts:33](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/constants.ts#L33) + +--- + +### SN_SEPOLIA + +• **SN_SEPOLIA** = `"https://alpha-sepolia.starknet.io"` + +#### Defined in + +[src/constants.ts:34](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/constants.ts#L34) diff --git a/www/versioned_docs/version-6.11.0/API/enums/constants.FeeMarginPercentage.md b/www/versioned_docs/version-6.11.0/API/enums/constants.FeeMarginPercentage.md new file mode 100644 index 000000000..7247e56aa --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/enums/constants.FeeMarginPercentage.md @@ -0,0 +1,38 @@ +--- +id: 'constants.FeeMarginPercentage' +title: 'Enumeration: FeeMarginPercentage' +sidebar_label: 'FeeMarginPercentage' +custom_edit_url: null +--- + +[constants](../namespaces/constants.md).FeeMarginPercentage + +## Enumeration Members + +### L1_BOUND_MAX_AMOUNT + +• **L1_BOUND_MAX_AMOUNT** = `50` + +#### Defined in + +[src/constants.ts:56](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/constants.ts#L56) + +--- + +### L1_BOUND_MAX_PRICE_PER_UNIT + +• **L1_BOUND_MAX_PRICE_PER_UNIT** = `50` + +#### Defined in + +[src/constants.ts:57](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/constants.ts#L57) + +--- + +### MAX_FEE + +• **MAX_FEE** = `50` + +#### Defined in + +[src/constants.ts:58](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/constants.ts#L58) diff --git a/www/versioned_docs/version-6.11.0/API/enums/constants.NetworkName.md b/www/versioned_docs/version-6.11.0/API/enums/constants.NetworkName.md new file mode 100644 index 000000000..1a6d2fd91 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/enums/constants.NetworkName.md @@ -0,0 +1,28 @@ +--- +id: 'constants.NetworkName' +title: 'Enumeration: NetworkName' +sidebar_label: 'NetworkName' +custom_edit_url: null +--- + +[constants](../namespaces/constants.md).NetworkName + +## Enumeration Members + +### SN_MAIN + +• **SN_MAIN** = `"SN_MAIN"` + +#### Defined in + +[src/constants.ts:38](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/constants.ts#L38) + +--- + +### SN_SEPOLIA + +• **SN_SEPOLIA** = `"SN_SEPOLIA"` + +#### Defined in + +[src/constants.ts:39](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/constants.ts#L39) diff --git a/www/versioned_docs/version-6.11.0/API/enums/constants.StarknetChainId.md b/www/versioned_docs/version-6.11.0/API/enums/constants.StarknetChainId.md new file mode 100644 index 000000000..358b2ad43 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/enums/constants.StarknetChainId.md @@ -0,0 +1,28 @@ +--- +id: 'constants.StarknetChainId' +title: 'Enumeration: StarknetChainId' +sidebar_label: 'StarknetChainId' +custom_edit_url: null +--- + +[constants](../namespaces/constants.md).StarknetChainId + +## Enumeration Members + +### SN_MAIN + +• **SN_MAIN** = `"0x534e5f4d41494e"` + +#### Defined in + +[src/constants.ts:43](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/constants.ts#L43) + +--- + +### SN_SEPOLIA + +• **SN_SEPOLIA** = `"0x534e5f5345504f4c4941"` + +#### Defined in + +[src/constants.ts:44](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/constants.ts#L44) diff --git a/www/versioned_docs/version-6.11.0/API/enums/constants.TransactionHashPrefix.md b/www/versioned_docs/version-6.11.0/API/enums/constants.TransactionHashPrefix.md new file mode 100644 index 000000000..d320c0e15 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/enums/constants.TransactionHashPrefix.md @@ -0,0 +1,58 @@ +--- +id: 'constants.TransactionHashPrefix' +title: 'Enumeration: TransactionHashPrefix' +sidebar_label: 'TransactionHashPrefix' +custom_edit_url: null +--- + +[constants](../namespaces/constants.md).TransactionHashPrefix + +## Enumeration Members + +### DECLARE + +• **DECLARE** = `"0x6465636c617265"` + +#### Defined in + +[src/constants.ts:48](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/constants.ts#L48) + +--- + +### DEPLOY + +• **DEPLOY** = `"0x6465706c6f79"` + +#### Defined in + +[src/constants.ts:49](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/constants.ts#L49) + +--- + +### DEPLOY_ACCOUNT + +• **DEPLOY_ACCOUNT** = `"0x6465706c6f795f6163636f756e74"` + +#### Defined in + +[src/constants.ts:50](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/constants.ts#L50) + +--- + +### INVOKE + +• **INVOKE** = `"0x696e766f6b65"` + +#### Defined in + +[src/constants.ts:51](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/constants.ts#L51) + +--- + +### L1_HANDLER + +• **L1_HANDLER** = `"0x6c315f68616e646c6572"` + +#### Defined in + +[src/constants.ts:52](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/constants.ts#L52) diff --git a/www/versioned_docs/version-6.11.0/API/enums/starknetId.StarknetIdContract.md b/www/versioned_docs/version-6.11.0/API/enums/starknetId.StarknetIdContract.md new file mode 100644 index 000000000..0f6734455 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/enums/starknetId.StarknetIdContract.md @@ -0,0 +1,28 @@ +--- +id: 'starknetId.StarknetIdContract' +title: 'Enumeration: StarknetIdContract' +sidebar_label: 'StarknetIdContract' +custom_edit_url: null +--- + +[starknetId](../namespaces/starknetId.md).StarknetIdContract + +## Enumeration Members + +### MAINNET + +• **MAINNET** = `"0x6ac597f8116f886fa1c97a23fa4e08299975ecaf6b598873ca6792b9bbfb678"` + +#### Defined in + +[src/utils/starknetId.ts:128](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/starknetId.ts#L128) + +--- + +### TESTNET_SEPOLIA + +• **TESTNET_SEPOLIA** = `"0x154bc2e1af9260b9e66af0e9c46fc757ff893b3ff6a85718a810baf1474"` + +#### Defined in + +[src/utils/starknetId.ts:129](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/starknetId.ts#L129) diff --git a/www/versioned_docs/version-6.11.0/API/enums/starknetId.StarknetIdIdentityContract.md b/www/versioned_docs/version-6.11.0/API/enums/starknetId.StarknetIdIdentityContract.md new file mode 100644 index 000000000..c7762e02a --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/enums/starknetId.StarknetIdIdentityContract.md @@ -0,0 +1,28 @@ +--- +id: 'starknetId.StarknetIdIdentityContract' +title: 'Enumeration: StarknetIdIdentityContract' +sidebar_label: 'StarknetIdIdentityContract' +custom_edit_url: null +--- + +[starknetId](../namespaces/starknetId.md).StarknetIdIdentityContract + +## Enumeration Members + +### MAINNET + +• **MAINNET** = `"0x05dbdedc203e92749e2e746e2d40a768d966bd243df04a6b712e222bc040a9af"` + +#### Defined in + +[src/utils/starknetId.ts:158](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/starknetId.ts#L158) + +--- + +### TESTNET_SEPOLIA + +• **TESTNET_SEPOLIA** = `"0x3697660a0981d734780731949ecb2b4a38d6a58fc41629ed611e8defda"` + +#### Defined in + +[src/utils/starknetId.ts:159](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/starknetId.ts#L159) diff --git a/www/versioned_docs/version-6.11.0/API/enums/starknetId.StarknetIdPfpContract.md b/www/versioned_docs/version-6.11.0/API/enums/starknetId.StarknetIdPfpContract.md new file mode 100644 index 000000000..eca4d84c6 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/enums/starknetId.StarknetIdPfpContract.md @@ -0,0 +1,28 @@ +--- +id: 'starknetId.StarknetIdPfpContract' +title: 'Enumeration: StarknetIdPfpContract' +sidebar_label: 'StarknetIdPfpContract' +custom_edit_url: null +--- + +[starknetId](../namespaces/starknetId.md).StarknetIdPfpContract + +## Enumeration Members + +### MAINNET + +• **MAINNET** = `"0x070aaa20ec4a46da57c932d9fd89ca5e6bb9ca3188d3df361a32306aff7d59c7"` + +#### Defined in + +[src/utils/starknetId.ts:248](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/starknetId.ts#L248) + +--- + +### TESTNET_SEPOLIA + +• **TESTNET_SEPOLIA** = `"0x9e7bdb8dabd02ea8cfc23b1d1c5278e46490f193f87516ed5ff2dfec02"` + +#### Defined in + +[src/utils/starknetId.ts:249](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/starknetId.ts#L249) diff --git a/www/versioned_docs/version-6.11.0/API/enums/starknetId.StarknetIdPopContract.md b/www/versioned_docs/version-6.11.0/API/enums/starknetId.StarknetIdPopContract.md new file mode 100644 index 000000000..71f4b350d --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/enums/starknetId.StarknetIdPopContract.md @@ -0,0 +1,28 @@ +--- +id: 'starknetId.StarknetIdPopContract' +title: 'Enumeration: StarknetIdPopContract' +sidebar_label: 'StarknetIdPopContract' +custom_edit_url: null +--- + +[starknetId](../namespaces/starknetId.md).StarknetIdPopContract + +## Enumeration Members + +### MAINNET + +• **MAINNET** = `"0x0293eb2ba9862f762bd3036586d5755a782bd22e6f5028320f1d0405fd47bff4"` + +#### Defined in + +[src/utils/starknetId.ts:280](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/starknetId.ts#L280) + +--- + +### TESTNET_SEPOLIA + +• **TESTNET_SEPOLIA** = `"0x15ae88ae054caa74090b89025c1595683f12edf7a4ed2ad0274de3e1d4a"` + +#### Defined in + +[src/utils/starknetId.ts:281](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/starknetId.ts#L281) diff --git a/www/versioned_docs/version-6.11.0/API/enums/starknetId.StarknetIdVerifierContract.md b/www/versioned_docs/version-6.11.0/API/enums/starknetId.StarknetIdVerifierContract.md new file mode 100644 index 000000000..c31a04ef8 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/enums/starknetId.StarknetIdVerifierContract.md @@ -0,0 +1,28 @@ +--- +id: 'starknetId.StarknetIdVerifierContract' +title: 'Enumeration: StarknetIdVerifierContract' +sidebar_label: 'StarknetIdVerifierContract' +custom_edit_url: null +--- + +[starknetId](../namespaces/starknetId.md).StarknetIdVerifierContract + +## Enumeration Members + +### MAINNET + +• **MAINNET** = `"0x07d14dfd8ee95b41fce179170d88ba1f0d5a512e13aeb232f19cfeec0a88f8bf"` + +#### Defined in + +[src/utils/starknetId.ts:218](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/starknetId.ts#L218) + +--- + +### TESTNET_SEPOLIA + +• **TESTNET_SEPOLIA** = `"0x60B94fEDe525f815AE5E8377A463e121C787cCCf3a36358Aa9B18c12c4D566"` + +#### Defined in + +[src/utils/starknetId.ts:219](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/starknetId.ts#L219) diff --git a/www/versioned_docs/version-6.11.0/API/enums/types.BlockStatus.md b/www/versioned_docs/version-6.11.0/API/enums/types.BlockStatus.md new file mode 100644 index 000000000..a0328979c --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/enums/types.BlockStatus.md @@ -0,0 +1,48 @@ +--- +id: 'types.BlockStatus' +title: 'Enumeration: BlockStatus' +sidebar_label: 'BlockStatus' +custom_edit_url: null +--- + +[types](../namespaces/types.md).BlockStatus + +## Enumeration Members + +### PENDING + +• **PENDING** = `"PENDING"` + +#### Defined in + +[src/types/lib/index.ts:197](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L197) + +--- + +### ACCEPTED_ON_L1 + +• **ACCEPTED_ON_L1** = `"ACCEPTED_ON_L1"` + +#### Defined in + +[src/types/lib/index.ts:198](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L198) + +--- + +### ACCEPTED_ON_L2 + +• **ACCEPTED_ON_L2** = `"ACCEPTED_ON_L2"` + +#### Defined in + +[src/types/lib/index.ts:199](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L199) + +--- + +### REJECTED + +• **REJECTED** = `"REJECTED"` + +#### Defined in + +[src/types/lib/index.ts:200](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L200) diff --git a/www/versioned_docs/version-6.11.0/API/enums/types.BlockTag.md b/www/versioned_docs/version-6.11.0/API/enums/types.BlockTag.md new file mode 100644 index 000000000..1d9ed6171 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/enums/types.BlockTag.md @@ -0,0 +1,28 @@ +--- +id: 'types.BlockTag' +title: 'Enumeration: BlockTag' +sidebar_label: 'BlockTag' +custom_edit_url: null +--- + +[types](../namespaces/types.md).BlockTag + +## Enumeration Members + +### PENDING + +• **PENDING** = `"pending"` + +#### Defined in + +[src/types/lib/index.ts:204](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L204) + +--- + +### LATEST + +• **LATEST** = `"latest"` + +#### Defined in + +[src/types/lib/index.ts:205](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L205) diff --git a/www/versioned_docs/version-6.11.0/API/enums/types.EntryPointType.md b/www/versioned_docs/version-6.11.0/API/enums/types.EntryPointType.md new file mode 100644 index 000000000..00b482c07 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/enums/types.EntryPointType.md @@ -0,0 +1,38 @@ +--- +id: 'types.EntryPointType' +title: 'Enumeration: EntryPointType' +sidebar_label: 'EntryPointType' +custom_edit_url: null +--- + +[types](../namespaces/types.md).EntryPointType + +## Enumeration Members + +### EXTERNAL + +• **EXTERNAL** = `"EXTERNAL"` + +#### Defined in + +[src/types/lib/contract/index.ts:24](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/contract/index.ts#L24) + +--- + +### L1_HANDLER + +• **L1_HANDLER** = `"L1_HANDLER"` + +#### Defined in + +[src/types/lib/contract/index.ts:25](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/contract/index.ts#L25) + +--- + +### CONSTRUCTOR + +• **CONSTRUCTOR** = `"CONSTRUCTOR"` + +#### Defined in + +[src/types/lib/contract/index.ts:26](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/contract/index.ts#L26) diff --git a/www/versioned_docs/version-6.11.0/API/enums/types.Literal.md b/www/versioned_docs/version-6.11.0/API/enums/types.Literal.md new file mode 100644 index 000000000..82f8ba5f2 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/enums/types.Literal.md @@ -0,0 +1,38 @@ +--- +id: 'types.Literal' +title: 'Enumeration: Literal' +sidebar_label: 'Literal' +custom_edit_url: null +--- + +[types](../namespaces/types.md).Literal + +## Enumeration Members + +### ClassHash + +• **ClassHash** = `"core::starknet::class_hash::ClassHash"` + +#### Defined in + +[src/types/calldata.ts:18](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/calldata.ts#L18) + +--- + +### ContractAddress + +• **ContractAddress** = `"core::starknet::contract_address::ContractAddress"` + +#### Defined in + +[src/types/calldata.ts:19](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/calldata.ts#L19) + +--- + +### Secp256k1Point + +• **Secp256k1Point** = `"core::starknet::secp256k1::Secp256k1Point"` + +#### Defined in + +[src/types/calldata.ts:20](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/calldata.ts#L20) diff --git a/www/versioned_docs/version-6.11.0/API/enums/types.RPC.RPCSPEC06.EBlockTag.md b/www/versioned_docs/version-6.11.0/API/enums/types.RPC.RPCSPEC06.EBlockTag.md new file mode 100644 index 000000000..bb619a70c --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/enums/types.RPC.RPCSPEC06.EBlockTag.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC06.EBlockTag' +title: 'Enumeration: EBlockTag' +sidebar_label: 'EBlockTag' +custom_edit_url: null +--- + +[RPC](../namespaces/types.RPC.md).[RPCSPEC06](../namespaces/types.RPC.RPCSPEC06.md).EBlockTag + +## Enumeration Members + +### PENDING + +• **PENDING** = `"pending"` + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:141](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L141) + +--- + +### LATEST + +• **LATEST** = `"latest"` + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:142](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L142) diff --git a/www/versioned_docs/version-6.11.0/API/enums/types.RPC.RPCSPEC06.EDAMode.md b/www/versioned_docs/version-6.11.0/API/enums/types.RPC.RPCSPEC06.EDAMode.md new file mode 100644 index 000000000..fd6d2c4f9 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/enums/types.RPC.RPCSPEC06.EDAMode.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC06.EDAMode' +title: 'Enumeration: EDAMode' +sidebar_label: 'EDAMode' +custom_edit_url: null +--- + +[RPC](../namespaces/types.RPC.md).[RPCSPEC06](../namespaces/types.RPC.RPCSPEC06.md).EDAMode + +## Enumeration Members + +### L1 + +• **L1** = `0` + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:153](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L153) + +--- + +### L2 + +• **L2** = `1` + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:154](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L154) diff --git a/www/versioned_docs/version-6.11.0/API/enums/types.RPC.RPCSPEC06.EDataAvailabilityMode.md b/www/versioned_docs/version-6.11.0/API/enums/types.RPC.RPCSPEC06.EDataAvailabilityMode.md new file mode 100644 index 000000000..6b704466b --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/enums/types.RPC.RPCSPEC06.EDataAvailabilityMode.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC06.EDataAvailabilityMode' +title: 'Enumeration: EDataAvailabilityMode' +sidebar_label: 'EDataAvailabilityMode' +custom_edit_url: null +--- + +[RPC](../namespaces/types.RPC.md).[RPCSPEC06](../namespaces/types.RPC.RPCSPEC06.md).EDataAvailabilityMode + +## Enumeration Members + +### L1 + +• **L1** = `"L1"` + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:147](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L147) + +--- + +### L2 + +• **L2** = `"L2"` + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:148](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L148) diff --git a/www/versioned_docs/version-6.11.0/API/enums/types.RPC.RPCSPEC06.ESimulationFlag.md b/www/versioned_docs/version-6.11.0/API/enums/types.RPC.RPCSPEC06.ESimulationFlag.md new file mode 100644 index 000000000..fb6f07a6f --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/enums/types.RPC.RPCSPEC06.ESimulationFlag.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC06.ESimulationFlag' +title: 'Enumeration: ESimulationFlag' +sidebar_label: 'ESimulationFlag' +custom_edit_url: null +--- + +[RPC](../namespaces/types.RPC.md).[RPCSPEC06](../namespaces/types.RPC.RPCSPEC06.md).ESimulationFlag + +## Enumeration Members + +### SKIP_VALIDATE + +• **SKIP_VALIDATE** = `"SKIP_VALIDATE"` + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:119](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L119) + +--- + +### SKIP_FEE_CHARGE + +• **SKIP_FEE_CHARGE** = `"SKIP_FEE_CHARGE"` + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:120](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L120) diff --git a/www/versioned_docs/version-6.11.0/API/enums/types.RPC.RPCSPEC06.ETransactionExecutionStatus.md b/www/versioned_docs/version-6.11.0/API/enums/types.RPC.RPCSPEC06.ETransactionExecutionStatus.md new file mode 100644 index 000000000..021b03ea0 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/enums/types.RPC.RPCSPEC06.ETransactionExecutionStatus.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC06.ETransactionExecutionStatus' +title: 'Enumeration: ETransactionExecutionStatus' +sidebar_label: 'ETransactionExecutionStatus' +custom_edit_url: null +--- + +[RPC](../namespaces/types.RPC.md).[RPCSPEC06](../namespaces/types.RPC.RPCSPEC06.md).ETransactionExecutionStatus + +## Enumeration Members + +### SUCCEEDED + +• **SUCCEEDED** = `"SUCCEEDED"` + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:136](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L136) + +--- + +### REVERTED + +• **REVERTED** = `"REVERTED"` + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:137](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L137) diff --git a/www/versioned_docs/version-6.11.0/API/enums/types.RPC.RPCSPEC06.ETransactionFinalityStatus.md b/www/versioned_docs/version-6.11.0/API/enums/types.RPC.RPCSPEC06.ETransactionFinalityStatus.md new file mode 100644 index 000000000..ad408e5d6 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/enums/types.RPC.RPCSPEC06.ETransactionFinalityStatus.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC06.ETransactionFinalityStatus' +title: 'Enumeration: ETransactionFinalityStatus' +sidebar_label: 'ETransactionFinalityStatus' +custom_edit_url: null +--- + +[RPC](../namespaces/types.RPC.md).[RPCSPEC06](../namespaces/types.RPC.RPCSPEC06.md).ETransactionFinalityStatus + +## Enumeration Members + +### ACCEPTED_ON_L2 + +• **ACCEPTED_ON_L2** = `"ACCEPTED_ON_L2"` + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:131](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L131) + +--- + +### ACCEPTED_ON_L1 + +• **ACCEPTED_ON_L1** = `"ACCEPTED_ON_L1"` + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:132](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L132) diff --git a/www/versioned_docs/version-6.11.0/API/enums/types.RPC.RPCSPEC06.ETransactionStatus.md b/www/versioned_docs/version-6.11.0/API/enums/types.RPC.RPCSPEC06.ETransactionStatus.md new file mode 100644 index 000000000..94ab168a3 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/enums/types.RPC.RPCSPEC06.ETransactionStatus.md @@ -0,0 +1,48 @@ +--- +id: 'types.RPC.RPCSPEC06.ETransactionStatus' +title: 'Enumeration: ETransactionStatus' +sidebar_label: 'ETransactionStatus' +custom_edit_url: null +--- + +[RPC](../namespaces/types.RPC.md).[RPCSPEC06](../namespaces/types.RPC.RPCSPEC06.md).ETransactionStatus + +## Enumeration Members + +### RECEIVED + +• **RECEIVED** = `"RECEIVED"` + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:124](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L124) + +--- + +### REJECTED + +• **REJECTED** = `"REJECTED"` + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:125](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L125) + +--- + +### ACCEPTED_ON_L2 + +• **ACCEPTED_ON_L2** = `"ACCEPTED_ON_L2"` + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:126](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L126) + +--- + +### ACCEPTED_ON_L1 + +• **ACCEPTED_ON_L1** = `"ACCEPTED_ON_L1"` + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:127](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L127) diff --git a/www/versioned_docs/version-6.11.0/API/enums/types.RPC.RPCSPEC06.ETransactionType.md b/www/versioned_docs/version-6.11.0/API/enums/types.RPC.RPCSPEC06.ETransactionType.md new file mode 100644 index 000000000..85ba8233e --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/enums/types.RPC.RPCSPEC06.ETransactionType.md @@ -0,0 +1,58 @@ +--- +id: 'types.RPC.RPCSPEC06.ETransactionType' +title: 'Enumeration: ETransactionType' +sidebar_label: 'ETransactionType' +custom_edit_url: null +--- + +[RPC](../namespaces/types.RPC.md).[RPCSPEC06](../namespaces/types.RPC.RPCSPEC06.md).ETransactionType + +## Enumeration Members + +### DECLARE + +• **DECLARE** = `"DECLARE"` + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:111](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L111) + +--- + +### DEPLOY + +• **DEPLOY** = `"DEPLOY"` + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:112](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L112) + +--- + +### DEPLOY_ACCOUNT + +• **DEPLOY_ACCOUNT** = `"DEPLOY_ACCOUNT"` + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:113](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L113) + +--- + +### INVOKE + +• **INVOKE** = `"INVOKE"` + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:114](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L114) + +--- + +### L1_HANDLER + +• **L1_HANDLER** = `"L1_HANDLER"` + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:115](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L115) diff --git a/www/versioned_docs/version-6.11.0/API/enums/types.RPC.RPCSPEC06.ETransactionVersion.md b/www/versioned_docs/version-6.11.0/API/enums/types.RPC.RPCSPEC06.ETransactionVersion.md new file mode 100644 index 000000000..af3b63175 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/enums/types.RPC.RPCSPEC06.ETransactionVersion.md @@ -0,0 +1,91 @@ +--- +id: 'types.RPC.RPCSPEC06.ETransactionVersion' +title: 'Enumeration: ETransactionVersion' +sidebar_label: 'ETransactionVersion' +custom_edit_url: null +--- + +[RPC](../namespaces/types.RPC.md).[RPCSPEC06](../namespaces/types.RPC.RPCSPEC06.md).ETransactionVersion + +V* Transaction versions HexString +F* Fee Transaction Versions HexString (2 \*\* 128 + TRANSACTION_VERSION) + +## Enumeration Members + +### V0 + +• **V0** = `"0x0"` + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:162](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L162) + +--- + +### V1 + +• **V1** = `"0x1"` + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:163](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L163) + +--- + +### V2 + +• **V2** = `"0x2"` + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:164](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L164) + +--- + +### V3 + +• **V3** = `"0x3"` + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:165](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L165) + +--- + +### F0 + +• **F0** = `"0x100000000000000000000000000000000"` + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:166](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L166) + +--- + +### F1 + +• **F1** = `"0x100000000000000000000000000000001"` + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:167](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L167) + +--- + +### F2 + +• **F2** = `"0x100000000000000000000000000000002"` + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:168](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L168) + +--- + +### F3 + +• **F3** = `"0x100000000000000000000000000000003"` + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:169](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L169) diff --git a/www/versioned_docs/version-6.11.0/API/enums/types.RPC.RPCSPEC06.ETransactionVersion2.md b/www/versioned_docs/version-6.11.0/API/enums/types.RPC.RPCSPEC06.ETransactionVersion2.md new file mode 100644 index 000000000..65eee9141 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/enums/types.RPC.RPCSPEC06.ETransactionVersion2.md @@ -0,0 +1,70 @@ +--- +id: 'types.RPC.RPCSPEC06.ETransactionVersion2' +title: 'Enumeration: ETransactionVersion2' +sidebar_label: 'ETransactionVersion2' +custom_edit_url: null +--- + +[RPC](../namespaces/types.RPC.md).[RPCSPEC06](../namespaces/types.RPC.RPCSPEC06.md).ETransactionVersion2 + +Old Transaction Versions + +## Enumeration Members + +### V0 + +• **V0** = `"0x0"` + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:176](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L176) + +--- + +### V1 + +• **V1** = `"0x1"` + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:177](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L177) + +--- + +### V2 + +• **V2** = `"0x2"` + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:178](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L178) + +--- + +### F0 + +• **F0** = `"0x100000000000000000000000000000000"` + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:179](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L179) + +--- + +### F1 + +• **F1** = `"0x100000000000000000000000000000001"` + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:180](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L180) + +--- + +### F2 + +• **F2** = `"0x100000000000000000000000000000002"` + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:181](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L181) diff --git a/www/versioned_docs/version-6.11.0/API/enums/types.RPC.RPCSPEC06.ETransactionVersion3.md b/www/versioned_docs/version-6.11.0/API/enums/types.RPC.RPCSPEC06.ETransactionVersion3.md new file mode 100644 index 000000000..8c9607044 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/enums/types.RPC.RPCSPEC06.ETransactionVersion3.md @@ -0,0 +1,30 @@ +--- +id: 'types.RPC.RPCSPEC06.ETransactionVersion3' +title: 'Enumeration: ETransactionVersion3' +sidebar_label: 'ETransactionVersion3' +custom_edit_url: null +--- + +[RPC](../namespaces/types.RPC.md).[RPCSPEC06](../namespaces/types.RPC.RPCSPEC06.md).ETransactionVersion3 + +V3 Transaction Versions + +## Enumeration Members + +### V3 + +• **V3** = `"0x3"` + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:188](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L188) + +--- + +### F3 + +• **F3** = `"0x100000000000000000000000000000003"` + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:189](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L189) diff --git a/www/versioned_docs/version-6.11.0/API/enums/types.TransactionExecutionStatus.md b/www/versioned_docs/version-6.11.0/API/enums/types.TransactionExecutionStatus.md new file mode 100644 index 000000000..6fb93281e --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/enums/types.TransactionExecutionStatus.md @@ -0,0 +1,38 @@ +--- +id: 'types.TransactionExecutionStatus' +title: 'Enumeration: TransactionExecutionStatus' +sidebar_label: 'TransactionExecutionStatus' +custom_edit_url: null +--- + +[types](../namespaces/types.md).TransactionExecutionStatus + +## Enumeration Members + +### REJECTED + +• **REJECTED** = `"REJECTED"` + +#### Defined in + +[src/types/lib/index.ts:191](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L191) + +--- + +### REVERTED + +• **REVERTED** = `"REVERTED"` + +#### Defined in + +[src/types/lib/index.ts:192](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L192) + +--- + +### SUCCEEDED + +• **SUCCEEDED** = `"SUCCEEDED"` + +#### Defined in + +[src/types/lib/index.ts:193](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L193) diff --git a/www/versioned_docs/version-6.11.0/API/enums/types.TransactionFinalityStatus.md b/www/versioned_docs/version-6.11.0/API/enums/types.TransactionFinalityStatus.md new file mode 100644 index 000000000..19dd6b365 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/enums/types.TransactionFinalityStatus.md @@ -0,0 +1,48 @@ +--- +id: 'types.TransactionFinalityStatus' +title: 'Enumeration: TransactionFinalityStatus' +sidebar_label: 'TransactionFinalityStatus' +custom_edit_url: null +--- + +[types](../namespaces/types.md).TransactionFinalityStatus + +## Enumeration Members + +### NOT_RECEIVED + +• **NOT_RECEIVED** = `"NOT_RECEIVED"` + +#### Defined in + +[src/types/lib/index.ts:184](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L184) + +--- + +### RECEIVED + +• **RECEIVED** = `"RECEIVED"` + +#### Defined in + +[src/types/lib/index.ts:185](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L185) + +--- + +### ACCEPTED_ON_L2 + +• **ACCEPTED_ON_L2** = `"ACCEPTED_ON_L2"` + +#### Defined in + +[src/types/lib/index.ts:186](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L186) + +--- + +### ACCEPTED_ON_L1 + +• **ACCEPTED_ON_L1** = `"ACCEPTED_ON_L1"` + +#### Defined in + +[src/types/lib/index.ts:187](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L187) diff --git a/www/versioned_docs/version-6.11.0/API/enums/types.TransactionStatus.md b/www/versioned_docs/version-6.11.0/API/enums/types.TransactionStatus.md new file mode 100644 index 000000000..7c01358cb --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/enums/types.TransactionStatus.md @@ -0,0 +1,71 @@ +--- +id: 'types.TransactionStatus' +title: 'Enumeration: TransactionStatus' +sidebar_label: 'TransactionStatus' +custom_edit_url: null +--- + +[types](../namespaces/types.md).TransactionStatus + +new statuses are defined by props: finality_status and execution_status +to be #deprecated + +## Enumeration Members + +### NOT_RECEIVED + +• **NOT_RECEIVED** = `"NOT_RECEIVED"` + +#### Defined in + +[src/types/lib/index.ts:175](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L175) + +--- + +### RECEIVED + +• **RECEIVED** = `"RECEIVED"` + +#### Defined in + +[src/types/lib/index.ts:176](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L176) + +--- + +### ACCEPTED_ON_L2 + +• **ACCEPTED_ON_L2** = `"ACCEPTED_ON_L2"` + +#### Defined in + +[src/types/lib/index.ts:177](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L177) + +--- + +### ACCEPTED_ON_L1 + +• **ACCEPTED_ON_L1** = `"ACCEPTED_ON_L1"` + +#### Defined in + +[src/types/lib/index.ts:178](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L178) + +--- + +### REJECTED + +• **REJECTED** = `"REJECTED"` + +#### Defined in + +[src/types/lib/index.ts:179](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L179) + +--- + +### REVERTED + +• **REVERTED** = `"REVERTED"` + +#### Defined in + +[src/types/lib/index.ts:180](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L180) diff --git a/www/versioned_docs/version-6.11.0/API/enums/types.TransactionType.md b/www/versioned_docs/version-6.11.0/API/enums/types.TransactionType.md new file mode 100644 index 000000000..42c4ee89b --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/enums/types.TransactionType.md @@ -0,0 +1,48 @@ +--- +id: 'types.TransactionType' +title: 'Enumeration: TransactionType' +sidebar_label: 'TransactionType' +custom_edit_url: null +--- + +[types](../namespaces/types.md).TransactionType + +## Enumeration Members + +### DECLARE + +• **DECLARE** = `"DECLARE"` + +#### Defined in + +[src/types/lib/index.ts:164](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L164) + +--- + +### DEPLOY + +• **DEPLOY** = `"DEPLOY"` + +#### Defined in + +[src/types/lib/index.ts:165](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L165) + +--- + +### DEPLOY_ACCOUNT + +• **DEPLOY_ACCOUNT** = `"DEPLOY_ACCOUNT"` + +#### Defined in + +[src/types/lib/index.ts:166](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L166) + +--- + +### INVOKE + +• **INVOKE** = `"INVOKE_FUNCTION"` + +#### Defined in + +[src/types/lib/index.ts:167](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L167) diff --git a/www/versioned_docs/version-6.11.0/API/enums/types.Uint.md b/www/versioned_docs/version-6.11.0/API/enums/types.Uint.md new file mode 100644 index 000000000..303a2a8a4 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/enums/types.Uint.md @@ -0,0 +1,78 @@ +--- +id: 'types.Uint' +title: 'Enumeration: Uint' +sidebar_label: 'Uint' +custom_edit_url: null +--- + +[types](../namespaces/types.md).Uint + +## Enumeration Members + +### u8 + +• **u8** = `"core::integer::u8"` + +#### Defined in + +[src/types/calldata.ts:8](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/calldata.ts#L8) + +--- + +### u16 + +• **u16** = `"core::integer::u16"` + +#### Defined in + +[src/types/calldata.ts:9](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/calldata.ts#L9) + +--- + +### u32 + +• **u32** = `"core::integer::u32"` + +#### Defined in + +[src/types/calldata.ts:10](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/calldata.ts#L10) + +--- + +### u64 + +• **u64** = `"core::integer::u64"` + +#### Defined in + +[src/types/calldata.ts:11](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/calldata.ts#L11) + +--- + +### u128 + +• **u128** = `"core::integer::u128"` + +#### Defined in + +[src/types/calldata.ts:12](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/calldata.ts#L12) + +--- + +### u256 + +• **u256** = `"core::integer::u256"` + +#### Defined in + +[src/types/calldata.ts:13](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/calldata.ts#L13) + +--- + +### u512 + +• **u512** = `"core::integer::u512"` + +#### Defined in + +[src/types/calldata.ts:14](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/calldata.ts#L14) diff --git a/www/versioned_docs/version-6.11.0/API/enums/types.ValidateType.md b/www/versioned_docs/version-6.11.0/API/enums/types.ValidateType.md new file mode 100644 index 000000000..6abc375c0 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/enums/types.ValidateType.md @@ -0,0 +1,38 @@ +--- +id: 'types.ValidateType' +title: 'Enumeration: ValidateType' +sidebar_label: 'ValidateType' +custom_edit_url: null +--- + +[types](../namespaces/types.md).ValidateType + +## Enumeration Members + +### DEPLOY + +• **DEPLOY** = `"DEPLOY"` + +#### Defined in + +[src/types/calldata.ts:2](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/calldata.ts#L2) + +--- + +### CALL + +• **CALL** = `"CALL"` + +#### Defined in + +[src/types/calldata.ts:3](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/calldata.ts#L3) + +--- + +### INVOKE + +• **INVOKE** = `"INVOKE"` + +#### Defined in + +[src/types/calldata.ts:4](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/calldata.ts#L4) diff --git a/www/versioned_docs/version-6.11.0/API/index.md b/www/versioned_docs/version-6.11.0/API/index.md new file mode 100644 index 000000000..9fc168060 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/index.md @@ -0,0 +1,59 @@ +--- +id: 'index' +title: 'Starknet.js API' +sidebar_label: 'Readme' +sidebar_position: 0 +custom_edit_url: null +--- + +This API is based on the [Starknet.js V3](https://github.com/starknet-io/starknet.js/discussions/102) Interface write up by [Janek](https://twitter.com/0xjanek) of [Argent](https://www.argent.xyz/) + +## Provider + +The Provider [**API**](./classes/Provider.md) allows you to interact with the Starknet network, without signing transactions or messages. + +Typically, these are _read_ calls on the blockchain. + +Guide is [**here**](../guides/connect_network.md). + +## Account + +An Account extends [`Provider`](./classes/Provider) and inherits all of its methods. + +It also introduces new methods that allow Accounts to create and verify signatures with a custom [`Signer`](./classes/Signer), declare and deploy Contract and deploy new Account + +This [**API**](./classes/Account.md) is the primary way to interact with an account contract on Starknet. + +Guide is [**here**](../guides/create_account.md). + +## Contract + +Contracts [**API**](./classes/Contract.md) can do data transformations in JavaScript based on an ABI. They can also call and invoke to Starknet through a provided Signer. + +Contracts allow you to transform Cairo values, like `Uint256` to `BigNumber`. It could also allow users to pass their own transformers, similar to `JSON.parse`. + +Guide is [**here**](../guides/create_contract.md). + +## Signer + +The Signer [**API**](./classes/Signer.md) allows you to sign transactions and messages, and also allows you to get the public key. + +## Utils + +Util functions are provided so you can use various low level functions in your application: + +### [elliptic curve](./namespaces/ec.md) + +### [hash](./namespaces/hash.md) + +### [num](./namespaces/num.md) + +### [encode](./namespaces/encode.md) + +### [merkle](./namespaces/merkle.md) + +### [shortString](./namespaces/shortString.md) + +### [stark](./namespaces/stark.md) + +### [uint256](./namespaces/uint256.md) diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/_category_.yml b/www/versioned_docs/version-6.11.0/API/interfaces/_category_.yml new file mode 100644 index 000000000..8ad053b07 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/_category_.yml @@ -0,0 +1,2 @@ +label: 'Interfaces' +position: 4 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/ec.weierstrass.ProjConstructor.md b/www/versioned_docs/version-6.11.0/API/interfaces/ec.weierstrass.ProjConstructor.md new file mode 100644 index 000000000..f93ebe049 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/ec.weierstrass.ProjConstructor.md @@ -0,0 +1,154 @@ +--- +id: 'ec.weierstrass.ProjConstructor' +title: 'Interface: ProjConstructor' +sidebar_label: 'ProjConstructor' +custom_edit_url: null +--- + +[ec](../namespaces/ec.md).[weierstrass](../namespaces/ec.weierstrass.md).ProjConstructor + +## Type parameters + +| Name | +| :--- | +| `T` | + +## Hierarchy + +- `GroupConstructor`<[`ProjPointType`](ec.weierstrass.ProjPointType.md)<`T`\>\> + + ↳ **`ProjConstructor`** + +## Constructors + +### constructor + +• **new ProjConstructor**(`x`, `y`, `z`): [`ProjPointType`](ec.weierstrass.ProjPointType.md)<`T`\> + +#### Parameters + +| Name | Type | +| :--- | :--- | +| `x` | `T` | +| `y` | `T` | +| `z` | `T` | + +#### Returns + +[`ProjPointType`](ec.weierstrass.ProjPointType.md)<`T`\> + +#### Inherited from + +GroupConstructor\>.constructor + +#### Defined in + +node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:75 + +## Properties + +### BASE + +• **BASE**: [`ProjPointType`](ec.weierstrass.ProjPointType.md)<`T`\> + +#### Inherited from + +GroupConstructor.BASE + +#### Defined in + +node_modules/@noble/curves/esm/abstract/curve.d.ts:19 + +--- + +### ZERO + +• **ZERO**: [`ProjPointType`](ec.weierstrass.ProjPointType.md)<`T`\> + +#### Inherited from + +GroupConstructor.ZERO + +#### Defined in + +node_modules/@noble/curves/esm/abstract/curve.d.ts:20 + +## Methods + +### fromAffine + +▸ **fromAffine**(`p`): [`ProjPointType`](ec.weierstrass.ProjPointType.md)<`T`\> + +#### Parameters + +| Name | Type | +| :--- | :----------------------------------------------------------------- | +| `p` | [`AffinePoint`](../namespaces/ec.weierstrass.md#affinepoint)<`T`\> | + +#### Returns + +[`ProjPointType`](ec.weierstrass.ProjPointType.md)<`T`\> + +#### Defined in + +node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:76 + +--- + +### fromHex + +▸ **fromHex**(`hex`): [`ProjPointType`](ec.weierstrass.ProjPointType.md)<`T`\> + +#### Parameters + +| Name | Type | +| :---- | :---- | +| `hex` | `Hex` | + +#### Returns + +[`ProjPointType`](ec.weierstrass.ProjPointType.md)<`T`\> + +#### Defined in + +node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:77 + +--- + +### fromPrivateKey + +▸ **fromPrivateKey**(`privateKey`): [`ProjPointType`](ec.weierstrass.ProjPointType.md)<`T`\> + +#### Parameters + +| Name | Type | +| :----------- | :-------- | +| `privateKey` | `PrivKey` | + +#### Returns + +[`ProjPointType`](ec.weierstrass.ProjPointType.md)<`T`\> + +#### Defined in + +node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:78 + +--- + +### normalizeZ + +▸ **normalizeZ**(`points`): [`ProjPointType`](ec.weierstrass.ProjPointType.md)<`T`\>[] + +#### Parameters + +| Name | Type | +| :------- | :--------------------------------------------------------- | +| `points` | [`ProjPointType`](ec.weierstrass.ProjPointType.md)<`T`\>[] | + +#### Returns + +[`ProjPointType`](ec.weierstrass.ProjPointType.md)<`T`\>[] + +#### Defined in + +node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:79 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/ec.weierstrass.ProjPointType.md b/www/versioned_docs/version-6.11.0/API/interfaces/ec.weierstrass.ProjPointType.md new file mode 100644 index 000000000..52e6040ab --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/ec.weierstrass.ProjPointType.md @@ -0,0 +1,406 @@ +--- +id: 'ec.weierstrass.ProjPointType' +title: 'Interface: ProjPointType' +sidebar_label: 'ProjPointType' +custom_edit_url: null +--- + +[ec](../namespaces/ec.md).[weierstrass](../namespaces/ec.weierstrass.md).ProjPointType + +### Design rationale for types + +- Interaction between classes from different curves should fail: + `k256.Point.BASE.add(p256.Point.BASE)` +- For this purpose we want to use `instanceof` operator, which is fast and works during runtime +- Different calls of `curve()` would return different classes - + `curve(params) !== curve(params)`: if somebody decided to monkey-patch their curve, + it won't affect others + +TypeScript can't infer types for classes created inside a function. Classes is one instance of nominative types in TypeScript and interfaces only check for shape, so it's hard to create unique type for every function call. + +We can use generic types via some param, like curve opts, but that would: 1. Enable interaction between `curve(params)` and `curve(params)` (curves of same params) +which is hard to debug. 2. Params can be generic and we can't enforce them to be constant value: +if somebody creates curve from non-constant params, +it would be allowed to interact with other curves with non-constant params + +TODO: https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-7.html#unique-symbol + +## Type parameters + +| Name | +| :--- | +| `T` | + +## Hierarchy + +- `Group`<[`ProjPointType`](ec.weierstrass.ProjPointType.md)<`T`\>\> + + ↳ **`ProjPointType`** + +## Properties + +### px + +• `Readonly` **px**: `T` + +#### Defined in + +node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:57 + +--- + +### py + +• `Readonly` **py**: `T` + +#### Defined in + +node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:58 + +--- + +### pz + +• `Readonly` **pz**: `T` + +#### Defined in + +node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:59 + +## Accessors + +### x + +• `get` **x**(): `T` + +#### Returns + +`T` + +#### Defined in + +node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:60 + +--- + +### y + +• `get` **y**(): `T` + +#### Returns + +`T` + +#### Defined in + +node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:61 + +## Methods + +### multiply + +▸ **multiply**(`scalar`): [`ProjPointType`](ec.weierstrass.ProjPointType.md)<`T`\> + +#### Parameters + +| Name | Type | +| :------- | :------- | +| `scalar` | `bigint` | + +#### Returns + +[`ProjPointType`](ec.weierstrass.ProjPointType.md)<`T`\> + +#### Overrides + +Group.multiply + +#### Defined in + +node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:62 + +--- + +### toAffine + +▸ **toAffine**(`iz?`): [`AffinePoint`](../namespaces/ec.weierstrass.md#affinepoint)<`T`\> + +#### Parameters + +| Name | Type | +| :---- | :--- | +| `iz?` | `T` | + +#### Returns + +[`AffinePoint`](../namespaces/ec.weierstrass.md#affinepoint)<`T`\> + +#### Defined in + +node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:63 + +--- + +### isTorsionFree + +▸ **isTorsionFree**(): `boolean` + +#### Returns + +`boolean` + +#### Defined in + +node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:64 + +--- + +### clearCofactor + +▸ **clearCofactor**(): [`ProjPointType`](ec.weierstrass.ProjPointType.md)<`T`\> + +#### Returns + +[`ProjPointType`](ec.weierstrass.ProjPointType.md)<`T`\> + +#### Defined in + +node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:65 + +--- + +### assertValidity + +▸ **assertValidity**(): `void` + +#### Returns + +`void` + +#### Defined in + +node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:66 + +--- + +### hasEvenY + +▸ **hasEvenY**(): `boolean` + +#### Returns + +`boolean` + +#### Defined in + +node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:67 + +--- + +### toRawBytes + +▸ **toRawBytes**(`isCompressed?`): `Uint8Array` + +#### Parameters + +| Name | Type | +| :-------------- | :-------- | +| `isCompressed?` | `boolean` | + +#### Returns + +`Uint8Array` + +#### Defined in + +node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:68 + +--- + +### toHex + +▸ **toHex**(`isCompressed?`): `string` + +#### Parameters + +| Name | Type | +| :-------------- | :-------- | +| `isCompressed?` | `boolean` | + +#### Returns + +`string` + +#### Defined in + +node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:69 + +--- + +### multiplyUnsafe + +▸ **multiplyUnsafe**(`scalar`): [`ProjPointType`](ec.weierstrass.ProjPointType.md)<`T`\> + +#### Parameters + +| Name | Type | +| :------- | :------- | +| `scalar` | `bigint` | + +#### Returns + +[`ProjPointType`](ec.weierstrass.ProjPointType.md)<`T`\> + +#### Defined in + +node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:70 + +--- + +### multiplyAndAddUnsafe + +▸ **multiplyAndAddUnsafe**(`Q`, `a`, `b`): `undefined` \| [`ProjPointType`](ec.weierstrass.ProjPointType.md)<`T`\> + +#### Parameters + +| Name | Type | +| :--- | :------------------------------------------------------- | +| `Q` | [`ProjPointType`](ec.weierstrass.ProjPointType.md)<`T`\> | +| `a` | `bigint` | +| `b` | `bigint` | + +#### Returns + +`undefined` \| [`ProjPointType`](ec.weierstrass.ProjPointType.md)<`T`\> + +#### Defined in + +node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:71 + +--- + +### \_setWindowSize + +▸ **\_setWindowSize**(`windowSize`): `void` + +#### Parameters + +| Name | Type | +| :----------- | :------- | +| `windowSize` | `number` | + +#### Returns + +`void` + +#### Defined in + +node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:72 + +--- + +### double + +▸ **double**(): [`ProjPointType`](ec.weierstrass.ProjPointType.md)<`T`\> + +#### Returns + +[`ProjPointType`](ec.weierstrass.ProjPointType.md)<`T`\> + +#### Inherited from + +Group.double + +#### Defined in + +node_modules/@noble/curves/esm/abstract/curve.d.ts:11 + +--- + +### negate + +▸ **negate**(): [`ProjPointType`](ec.weierstrass.ProjPointType.md)<`T`\> + +#### Returns + +[`ProjPointType`](ec.weierstrass.ProjPointType.md)<`T`\> + +#### Inherited from + +Group.negate + +#### Defined in + +node_modules/@noble/curves/esm/abstract/curve.d.ts:12 + +--- + +### add + +▸ **add**(`other`): [`ProjPointType`](ec.weierstrass.ProjPointType.md)<`T`\> + +#### Parameters + +| Name | Type | +| :------ | :------------------------------------------------------- | +| `other` | [`ProjPointType`](ec.weierstrass.ProjPointType.md)<`T`\> | + +#### Returns + +[`ProjPointType`](ec.weierstrass.ProjPointType.md)<`T`\> + +#### Inherited from + +Group.add + +#### Defined in + +node_modules/@noble/curves/esm/abstract/curve.d.ts:13 + +--- + +### subtract + +▸ **subtract**(`other`): [`ProjPointType`](ec.weierstrass.ProjPointType.md)<`T`\> + +#### Parameters + +| Name | Type | +| :------ | :------------------------------------------------------- | +| `other` | [`ProjPointType`](ec.weierstrass.ProjPointType.md)<`T`\> | + +#### Returns + +[`ProjPointType`](ec.weierstrass.ProjPointType.md)<`T`\> + +#### Inherited from + +Group.subtract + +#### Defined in + +node_modules/@noble/curves/esm/abstract/curve.d.ts:14 + +--- + +### equals + +▸ **equals**(`other`): `boolean` + +#### Parameters + +| Name | Type | +| :------ | :------------------------------------------------------- | +| `other` | [`ProjPointType`](ec.weierstrass.ProjPointType.md)<`T`\> | + +#### Returns + +`boolean` + +#### Inherited from + +Group.equals + +#### Defined in + +node_modules/@noble/curves/esm/abstract/curve.d.ts:15 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/ec.weierstrass.SignatureType.md b/www/versioned_docs/version-6.11.0/API/interfaces/ec.weierstrass.SignatureType.md new file mode 100644 index 000000000..8b7f3a2ab --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/ec.weierstrass.SignatureType.md @@ -0,0 +1,188 @@ +--- +id: 'ec.weierstrass.SignatureType' +title: 'Interface: SignatureType' +sidebar_label: 'SignatureType' +custom_edit_url: null +--- + +[ec](../namespaces/ec.md).[weierstrass](../namespaces/ec.weierstrass.md).SignatureType + +## Properties + +### r + +• `Readonly` **r**: `bigint` + +#### Defined in + +node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:136 + +--- + +### s + +• `Readonly` **s**: `bigint` + +#### Defined in + +node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:137 + +--- + +### recovery + +• `Optional` `Readonly` **recovery**: `number` + +#### Defined in + +node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:138 + +## Methods + +### assertValidity + +▸ **assertValidity**(): `void` + +#### Returns + +`void` + +#### Defined in + +node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:139 + +--- + +### addRecoveryBit + +▸ **addRecoveryBit**(`recovery`): [`RecoveredSignatureType`](../namespaces/ec.weierstrass.md#recoveredsignaturetype) + +#### Parameters + +| Name | Type | +| :--------- | :------- | +| `recovery` | `number` | + +#### Returns + +[`RecoveredSignatureType`](../namespaces/ec.weierstrass.md#recoveredsignaturetype) + +#### Defined in + +node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:140 + +--- + +### hasHighS + +▸ **hasHighS**(): `boolean` + +#### Returns + +`boolean` + +#### Defined in + +node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:141 + +--- + +### normalizeS + +▸ **normalizeS**(): [`SignatureType`](ec.weierstrass.SignatureType.md) + +#### Returns + +[`SignatureType`](ec.weierstrass.SignatureType.md) + +#### Defined in + +node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:142 + +--- + +### recoverPublicKey + +▸ **recoverPublicKey**(`msgHash`): [`ProjPointType`](ec.weierstrass.ProjPointType.md)<`bigint`\> + +#### Parameters + +| Name | Type | +| :-------- | :---- | +| `msgHash` | `Hex` | + +#### Returns + +[`ProjPointType`](ec.weierstrass.ProjPointType.md)<`bigint`\> + +#### Defined in + +node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:143 + +--- + +### toCompactRawBytes + +▸ **toCompactRawBytes**(): `Uint8Array` + +#### Returns + +`Uint8Array` + +#### Defined in + +node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:144 + +--- + +### toCompactHex + +▸ **toCompactHex**(): `string` + +#### Returns + +`string` + +#### Defined in + +node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:145 + +--- + +### toDERRawBytes + +▸ **toDERRawBytes**(`isCompressed?`): `Uint8Array` + +#### Parameters + +| Name | Type | +| :-------------- | :-------- | +| `isCompressed?` | `boolean` | + +#### Returns + +`Uint8Array` + +#### Defined in + +node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:146 + +--- + +### toDERHex + +▸ **toDERHex**(`isCompressed?`): `string` + +#### Parameters + +| Name | Type | +| :-------------- | :-------- | +| `isCompressed?` | `boolean` | + +#### Returns + +`string` + +#### Defined in + +node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:147 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.CallStruct.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.CallStruct.md new file mode 100644 index 000000000..dbbd6df9c --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.CallStruct.md @@ -0,0 +1,38 @@ +--- +id: 'types.CallStruct' +title: 'Interface: CallStruct' +sidebar_label: 'CallStruct' +custom_edit_url: null +--- + +[types](../namespaces/types.md).CallStruct + +## Properties + +### to + +• **to**: `string` + +#### Defined in + +[src/types/lib/index.ts:283](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L283) + +--- + +### selector + +• **selector**: `string` + +#### Defined in + +[src/types/lib/index.ts:284](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L284) + +--- + +### calldata + +• **calldata**: `string`[] + +#### Defined in + +[src/types/lib/index.ts:285](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L285) diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.DeployContractResponse.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.DeployContractResponse.md new file mode 100644 index 000000000..15c52b793 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.DeployContractResponse.md @@ -0,0 +1,28 @@ +--- +id: 'types.DeployContractResponse' +title: 'Interface: DeployContractResponse' +sidebar_label: 'DeployContractResponse' +custom_edit_url: null +--- + +[types](../namespaces/types.md).DeployContractResponse + +## Properties + +### contract_address + +• **contract_address**: `string` + +#### Defined in + +[src/types/account.ts:44](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/account.ts#L44) + +--- + +### transaction_hash + +• **transaction_hash**: `string` + +#### Defined in + +[src/types/account.ts:45](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/account.ts#L45) diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.EstimateFee.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.EstimateFee.md new file mode 100644 index 000000000..94b7ed9fe --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.EstimateFee.md @@ -0,0 +1,133 @@ +--- +id: 'types.EstimateFee' +title: 'Interface: EstimateFee' +sidebar_label: 'EstimateFee' +custom_edit_url: null +--- + +[types](../namespaces/types.md).EstimateFee + +## Hierarchy + +- [`EstimateFeeResponse`](types.EstimateFeeResponse.md) + + ↳ **`EstimateFee`** + +## Properties + +### gas_consumed + +• **gas_consumed**: `bigint` + +#### Inherited from + +[EstimateFeeResponse](types.EstimateFeeResponse.md).[gas_consumed](types.EstimateFeeResponse.md#gas_consumed) + +#### Defined in + +[src/types/provider/response.ts:118](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/response.ts#L118) + +--- + +### overall_fee + +• **overall_fee**: `bigint` + +#### Inherited from + +[EstimateFeeResponse](types.EstimateFeeResponse.md).[overall_fee](types.EstimateFeeResponse.md#overall_fee) + +#### Defined in + +[src/types/provider/response.ts:119](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/response.ts#L119) + +--- + +### gas_price + +• **gas_price**: `bigint` + +#### Inherited from + +[EstimateFeeResponse](types.EstimateFeeResponse.md).[gas_price](types.EstimateFeeResponse.md#gas_price) + +#### Defined in + +[src/types/provider/response.ts:120](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/response.ts#L120) + +--- + +### unit + +• **unit**: `PRICE_UNIT` + +#### Inherited from + +[EstimateFeeResponse](types.EstimateFeeResponse.md).[unit](types.EstimateFeeResponse.md#unit) + +#### Defined in + +[src/types/provider/response.ts:121](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/response.ts#L121) + +--- + +### suggestedMaxFee + +• **suggestedMaxFee**: `bigint` + +#### Inherited from + +[EstimateFeeResponse](types.EstimateFeeResponse.md).[suggestedMaxFee](types.EstimateFeeResponse.md#suggestedmaxfee) + +#### Defined in + +[src/types/provider/response.ts:122](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/response.ts#L122) + +--- + +### resourceBounds + +• **resourceBounds**: `Object` + +#### Type declaration + +| Name | Type | +| :------- | :--------------------------------------------------- | +| `l1_gas` | \{ max_amount: string; max_price_per_unit: string; } | +| `l2_gas` | \{ max_amount: string; max_price_per_unit: string; } | + +#### Inherited from + +[EstimateFeeResponse](types.EstimateFeeResponse.md).[resourceBounds](types.EstimateFeeResponse.md#resourcebounds) + +#### Defined in + +[src/types/provider/response.ts:123](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/response.ts#L123) + +--- + +### data_gas_consumed + +• **data_gas_consumed**: `bigint` + +#### Inherited from + +[EstimateFeeResponse](types.EstimateFeeResponse.md).[data_gas_consumed](types.EstimateFeeResponse.md#data_gas_consumed) + +#### Defined in + +[src/types/provider/response.ts:124](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/response.ts#L124) + +--- + +### data_gas_price + +• **data_gas_price**: `bigint` + +#### Inherited from + +[EstimateFeeResponse](types.EstimateFeeResponse.md).[data_gas_price](types.EstimateFeeResponse.md#data_gas_price) + +#### Defined in + +[src/types/provider/response.ts:125](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/response.ts#L125) diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.EstimateFeeDetails.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.EstimateFeeDetails.md new file mode 100644 index 000000000..f331f0904 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.EstimateFeeDetails.md @@ -0,0 +1,168 @@ +--- +id: 'types.EstimateFeeDetails' +title: 'Interface: EstimateFeeDetails' +sidebar_label: 'EstimateFeeDetails' +custom_edit_url: null +--- + +[types](../namespaces/types.md).EstimateFeeDetails + +## Hierarchy + +- [`UniversalDetails`](types.UniversalDetails.md) + + ↳ **`EstimateFeeDetails`** + +## Properties + +### nonce + +• `Optional` **nonce**: [`BigNumberish`](../namespaces/types.md#bignumberish) + +#### Inherited from + +[UniversalDetails](types.UniversalDetails.md).[nonce](types.UniversalDetails.md#nonce) + +#### Defined in + +[src/types/account.ts:28](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/account.ts#L28) + +--- + +### blockIdentifier + +• `Optional` **blockIdentifier**: [`BlockIdentifier`](../namespaces/types.md#blockidentifier) + +#### Inherited from + +[UniversalDetails](types.UniversalDetails.md).[blockIdentifier](types.UniversalDetails.md#blockidentifier) + +#### Defined in + +[src/types/account.ts:29](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/account.ts#L29) + +--- + +### maxFee + +• `Optional` **maxFee**: [`BigNumberish`](../namespaces/types.md#bignumberish) + +#### Inherited from + +[UniversalDetails](types.UniversalDetails.md).[maxFee](types.UniversalDetails.md#maxfee) + +#### Defined in + +[src/types/account.ts:30](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/account.ts#L30) + +--- + +### tip + +• `Optional` **tip**: [`BigNumberish`](../namespaces/types.md#bignumberish) + +#### Inherited from + +[UniversalDetails](types.UniversalDetails.md).[tip](types.UniversalDetails.md#tip) + +#### Defined in + +[src/types/account.ts:31](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/account.ts#L31) + +--- + +### paymasterData + +• `Optional` **paymasterData**: [`BigNumberish`](../namespaces/types.md#bignumberish)[] + +#### Inherited from + +[UniversalDetails](types.UniversalDetails.md).[paymasterData](types.UniversalDetails.md#paymasterdata) + +#### Defined in + +[src/types/account.ts:32](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/account.ts#L32) + +--- + +### accountDeploymentData + +• `Optional` **accountDeploymentData**: [`BigNumberish`](../namespaces/types.md#bignumberish)[] + +#### Inherited from + +[UniversalDetails](types.UniversalDetails.md).[accountDeploymentData](types.UniversalDetails.md#accountdeploymentdata) + +#### Defined in + +[src/types/account.ts:33](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/account.ts#L33) + +--- + +### nonceDataAvailabilityMode + +• `Optional` **nonceDataAvailabilityMode**: [`EDataAvailabilityMode`](../namespaces/types.RPC.RPCSPEC07.API.md#edataavailabilitymode-1) + +#### Inherited from + +[UniversalDetails](types.UniversalDetails.md).[nonceDataAvailabilityMode](types.UniversalDetails.md#noncedataavailabilitymode) + +#### Defined in + +[src/types/account.ts:34](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/account.ts#L34) + +--- + +### feeDataAvailabilityMode + +• `Optional` **feeDataAvailabilityMode**: [`EDataAvailabilityMode`](../namespaces/types.RPC.RPCSPEC07.API.md#edataavailabilitymode-1) + +#### Inherited from + +[UniversalDetails](types.UniversalDetails.md).[feeDataAvailabilityMode](types.UniversalDetails.md#feedataavailabilitymode) + +#### Defined in + +[src/types/account.ts:35](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/account.ts#L35) + +--- + +### version + +• `Optional` **version**: [`BigNumberish`](../namespaces/types.md#bignumberish) + +#### Inherited from + +[UniversalDetails](types.UniversalDetails.md).[version](types.UniversalDetails.md#version) + +#### Defined in + +[src/types/account.ts:36](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/account.ts#L36) + +--- + +### resourceBounds + +• `Optional` **resourceBounds**: [`RESOURCE_BOUNDS_MAPPING`](../namespaces/types.RPC.RPCSPEC07.API.SPEC.md#resource_bounds_mapping) + +#### Inherited from + +[UniversalDetails](types.UniversalDetails.md).[resourceBounds](types.UniversalDetails.md#resourcebounds) + +#### Defined in + +[src/types/account.ts:37](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/account.ts#L37) + +--- + +### skipValidate + +• `Optional` **skipValidate**: `boolean` + +#### Inherited from + +[UniversalDetails](types.UniversalDetails.md).[skipValidate](types.UniversalDetails.md#skipvalidate) + +#### Defined in + +[src/types/account.ts:38](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/account.ts#L38) diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.EstimateFeeResponse.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.EstimateFeeResponse.md new file mode 100644 index 000000000..bdbaa0895 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.EstimateFeeResponse.md @@ -0,0 +1,101 @@ +--- +id: 'types.EstimateFeeResponse' +title: 'Interface: EstimateFeeResponse' +sidebar_label: 'EstimateFeeResponse' +custom_edit_url: null +--- + +[types](../namespaces/types.md).EstimateFeeResponse + +## Hierarchy + +- **`EstimateFeeResponse`** + + ↳ [`EstimateFee`](types.EstimateFee.md) + +## Properties + +### gas_consumed + +• **gas_consumed**: `bigint` + +#### Defined in + +[src/types/provider/response.ts:118](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/response.ts#L118) + +--- + +### overall_fee + +• **overall_fee**: `bigint` + +#### Defined in + +[src/types/provider/response.ts:119](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/response.ts#L119) + +--- + +### gas_price + +• **gas_price**: `bigint` + +#### Defined in + +[src/types/provider/response.ts:120](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/response.ts#L120) + +--- + +### unit + +• **unit**: `PRICE_UNIT` + +#### Defined in + +[src/types/provider/response.ts:121](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/response.ts#L121) + +--- + +### suggestedMaxFee + +• **suggestedMaxFee**: `bigint` + +#### Defined in + +[src/types/provider/response.ts:122](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/response.ts#L122) + +--- + +### resourceBounds + +• **resourceBounds**: `Object` + +#### Type declaration + +| Name | Type | +| :------- | :--------------------------------------------------- | +| `l1_gas` | \{ max_amount: string; max_price_per_unit: string; } | +| `l2_gas` | \{ max_amount: string; max_price_per_unit: string; } | + +#### Defined in + +[src/types/provider/response.ts:123](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/response.ts#L123) + +--- + +### data_gas_consumed + +• **data_gas_consumed**: `bigint` + +#### Defined in + +[src/types/provider/response.ts:124](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/response.ts#L124) + +--- + +### data_gas_price + +• **data_gas_price**: `bigint` + +#### Defined in + +[src/types/provider/response.ts:125](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/response.ts#L125) diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.MessageToL1.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.MessageToL1.md new file mode 100644 index 000000000..ea160b29c --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.MessageToL1.md @@ -0,0 +1,28 @@ +--- +id: 'types.MessageToL1' +title: 'Interface: MessageToL1' +sidebar_label: 'MessageToL1' +custom_edit_url: null +--- + +[types](../namespaces/types.md).MessageToL1 + +## Properties + +### to_address + +• **to_address**: `string` + +#### Defined in + +[src/types/provider/response.ts:68](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/response.ts#L68) + +--- + +### payload + +• **payload**: `string`[] + +#### Defined in + +[src/types/provider/response.ts:69](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/response.ts#L69) diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.Program.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.Program.md new file mode 100644 index 000000000..8efad37f5 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.Program.md @@ -0,0 +1,34 @@ +--- +id: 'types.Program' +title: 'Interface: Program' +sidebar_label: 'Program' +custom_edit_url: null +--- + +[types](../namespaces/types.md).Program + +## Hierarchy + +- `Record`<`string`, `any`\> + + ↳ **`Program`** + +## Properties + +### builtins + +• **builtins**: `string`[] + +#### Defined in + +[src/types/lib/contract/legacy.ts:37](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/contract/legacy.ts#L37) + +--- + +### data + +• **data**: `string`[] + +#### Defined in + +[src/types/lib/contract/legacy.ts:38](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/contract/legacy.ts#L38) diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.ProviderOptions.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.ProviderOptions.md new file mode 100644 index 000000000..2f13272ee --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.ProviderOptions.md @@ -0,0 +1,162 @@ +--- +id: 'types.ProviderOptions' +title: 'Interface: ProviderOptions' +sidebar_label: 'ProviderOptions' +custom_edit_url: null +--- + +[types](../namespaces/types.md).ProviderOptions + +## Hierarchy + +- [`RpcProviderOptions`](../namespaces/types.md#rpcprovideroptions) + + ↳ **`ProviderOptions`** + +## Properties + +### nodeUrl + +• `Optional` **nodeUrl**: `string` + +#### Inherited from + +RpcProviderOptions.nodeUrl + +#### Defined in + +[src/types/provider/configuration.ts:7](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/configuration.ts#L7) + +--- + +### retries + +• `Optional` **retries**: `number` + +#### Inherited from + +RpcProviderOptions.retries + +#### Defined in + +[src/types/provider/configuration.ts:8](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/configuration.ts#L8) + +--- + +### transactionRetryIntervalFallback + +• `Optional` **transactionRetryIntervalFallback**: `number` + +#### Inherited from + +RpcProviderOptions.transactionRetryIntervalFallback + +#### Defined in + +[src/types/provider/configuration.ts:9](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/configuration.ts#L9) + +--- + +### headers + +• `Optional` **headers**: `object` + +#### Inherited from + +RpcProviderOptions.headers + +#### Defined in + +[src/types/provider/configuration.ts:10](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/configuration.ts#L10) + +--- + +### blockIdentifier + +• `Optional` **blockIdentifier**: [`BlockIdentifier`](../namespaces/types.md#blockidentifier) + +#### Inherited from + +RpcProviderOptions.blockIdentifier + +#### Defined in + +[src/types/provider/configuration.ts:11](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/configuration.ts#L11) + +--- + +### chainId + +• `Optional` **chainId**: [`StarknetChainId`](../enums/constants.StarknetChainId.md) + +#### Inherited from + +RpcProviderOptions.chainId + +#### Defined in + +[src/types/provider/configuration.ts:12](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/configuration.ts#L12) + +--- + +### specVersion + +• `Optional` **specVersion**: `string` + +#### Inherited from + +RpcProviderOptions.specVersion + +#### Defined in + +[src/types/provider/configuration.ts:13](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/configuration.ts#L13) + +--- + +### default + +• `Optional` **default**: `boolean` + +#### Inherited from + +RpcProviderOptions.default + +#### Defined in + +[src/types/provider/configuration.ts:14](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/configuration.ts#L14) + +--- + +### waitMode + +• `Optional` **waitMode**: `boolean` + +#### Inherited from + +RpcProviderOptions.waitMode + +#### Defined in + +[src/types/provider/configuration.ts:15](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/configuration.ts#L15) + +--- + +### feeMarginPercentage + +• `Optional` **feeMarginPercentage**: `Object` + +#### Type declaration + +| Name | Type | +| :----------------------- | :------- | +| `l1BoundMaxAmount` | `number` | +| `l1BoundMaxPricePerUnit` | `number` | +| `maxFee` | `number` | + +#### Inherited from + +RpcProviderOptions.feeMarginPercentage + +#### Defined in + +[src/types/provider/configuration.ts:16](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/configuration.ts#L16) diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.BLOCK_NOT_FOUND.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.BLOCK_NOT_FOUND.md new file mode 100644 index 000000000..14473b166 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.BLOCK_NOT_FOUND.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC06.Errors.BLOCK_NOT_FOUND' +title: 'Interface: BLOCK_NOT_FOUND' +sidebar_label: 'BLOCK_NOT_FOUND' +custom_edit_url: null +--- + +[RPCSPEC06](../namespaces/types.RPC.RPCSPEC06.md).[Errors](../namespaces/types.RPC.RPCSPEC06.Errors.md).BLOCK_NOT_FOUND + +## Properties + +### code + +• **code**: `24` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:30](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L30) + +--- + +### message + +• **message**: `"Block not found"` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:31](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L31) diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.CLASS_ALREADY_DECLARED.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.CLASS_ALREADY_DECLARED.md new file mode 100644 index 000000000..8285fd20b --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.CLASS_ALREADY_DECLARED.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC06.Errors.CLASS_ALREADY_DECLARED' +title: 'Interface: CLASS_ALREADY_DECLARED' +sidebar_label: 'CLASS_ALREADY_DECLARED' +custom_edit_url: null +--- + +[RPCSPEC06](../namespaces/types.RPC.RPCSPEC06.md).[Errors](../namespaces/types.RPC.RPCSPEC06.Errors.md).CLASS_ALREADY_DECLARED + +## Properties + +### code + +• **code**: `51` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:92](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L92) + +--- + +### message + +• **message**: `"Class already declared"` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:93](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L93) diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.CLASS_HASH_NOT_FOUND.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.CLASS_HASH_NOT_FOUND.md new file mode 100644 index 000000000..be7e8f15b --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.CLASS_HASH_NOT_FOUND.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC06.Errors.CLASS_HASH_NOT_FOUND' +title: 'Interface: CLASS_HASH_NOT_FOUND' +sidebar_label: 'CLASS_HASH_NOT_FOUND' +custom_edit_url: null +--- + +[RPCSPEC06](../namespaces/types.RPC.RPCSPEC06.md).[Errors](../namespaces/types.RPC.RPCSPEC06.Errors.md).CLASS_HASH_NOT_FOUND + +## Properties + +### code + +• **code**: `28` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:45](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L45) + +--- + +### message + +• **message**: `"Class hash not found"` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:46](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L46) diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.COMPILATION_FAILED.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.COMPILATION_FAILED.md new file mode 100644 index 000000000..a1be57c1d --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.COMPILATION_FAILED.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC06.Errors.COMPILATION_FAILED' +title: 'Interface: COMPILATION_FAILED' +sidebar_label: 'COMPILATION_FAILED' +custom_edit_url: null +--- + +[RPCSPEC06](../namespaces/types.RPC.RPCSPEC06.md).[Errors](../namespaces/types.RPC.RPCSPEC06.Errors.md).COMPILATION_FAILED + +## Properties + +### code + +• **code**: `56` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:118](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L118) + +--- + +### message + +• **message**: `"Compilation failed"` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:119](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L119) diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.COMPILED_CLASS_HASH_MISMATCH.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.COMPILED_CLASS_HASH_MISMATCH.md new file mode 100644 index 000000000..db7a118ab --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.COMPILED_CLASS_HASH_MISMATCH.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC06.Errors.COMPILED_CLASS_HASH_MISMATCH' +title: 'Interface: COMPILED_CLASS_HASH_MISMATCH' +sidebar_label: 'COMPILED_CLASS_HASH_MISMATCH' +custom_edit_url: null +--- + +[RPCSPEC06](../namespaces/types.RPC.RPCSPEC06.md).[Errors](../namespaces/types.RPC.RPCSPEC06.Errors.md).COMPILED_CLASS_HASH_MISMATCH + +## Properties + +### code + +• **code**: `60` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:138](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L138) + +--- + +### message + +• **message**: `"the compiled class hash did not match the one supplied in the transaction"` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:139](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L139) diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.CONTRACT_CLASS_SIZE_IS_TOO_LARGE.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.CONTRACT_CLASS_SIZE_IS_TOO_LARGE.md new file mode 100644 index 000000000..e911256fe --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.CONTRACT_CLASS_SIZE_IS_TOO_LARGE.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC06.Errors.CONTRACT_CLASS_SIZE_IS_TOO_LARGE' +title: 'Interface: CONTRACT_CLASS_SIZE_IS_TOO_LARGE' +sidebar_label: 'CONTRACT_CLASS_SIZE_IS_TOO_LARGE' +custom_edit_url: null +--- + +[RPCSPEC06](../namespaces/types.RPC.RPCSPEC06.md).[Errors](../namespaces/types.RPC.RPCSPEC06.Errors.md).CONTRACT_CLASS_SIZE_IS_TOO_LARGE + +## Properties + +### code + +• **code**: `57` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:123](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L123) + +--- + +### message + +• **message**: `"Contract class size it too large"` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:124](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L124) diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.CONTRACT_ERROR.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.CONTRACT_ERROR.md new file mode 100644 index 000000000..be33184c8 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.CONTRACT_ERROR.md @@ -0,0 +1,44 @@ +--- +id: 'types.RPC.RPCSPEC06.Errors.CONTRACT_ERROR' +title: 'Interface: CONTRACT_ERROR' +sidebar_label: 'CONTRACT_ERROR' +custom_edit_url: null +--- + +[RPCSPEC06](../namespaces/types.RPC.RPCSPEC06.md).[Errors](../namespaces/types.RPC.RPCSPEC06.Errors.md).CONTRACT_ERROR + +## Properties + +### code + +• **code**: `40` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:75](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L75) + +--- + +### message + +• **message**: `"Contract error"` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:76](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L76) + +--- + +### data + +• **data**: `Object` + +#### Type declaration + +| Name | Type | +| :------------- | :------- | +| `revert_error` | `string` | + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:77](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L77) diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.CONTRACT_NOT_FOUND.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.CONTRACT_NOT_FOUND.md new file mode 100644 index 000000000..0e560c0ec --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.CONTRACT_NOT_FOUND.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC06.Errors.CONTRACT_NOT_FOUND' +title: 'Interface: CONTRACT_NOT_FOUND' +sidebar_label: 'CONTRACT_NOT_FOUND' +custom_edit_url: null +--- + +[RPCSPEC06](../namespaces/types.RPC.RPCSPEC06.md).[Errors](../namespaces/types.RPC.RPCSPEC06.Errors.md).CONTRACT_NOT_FOUND + +## Properties + +### code + +• **code**: `20` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:15](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L15) + +--- + +### message + +• **message**: `"Contract not found"` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:16](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L16) diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.DUPLICATE_TX.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.DUPLICATE_TX.md new file mode 100644 index 000000000..023437043 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.DUPLICATE_TX.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC06.Errors.DUPLICATE_TX' +title: 'Interface: DUPLICATE_TX' +sidebar_label: 'DUPLICATE_TX' +custom_edit_url: null +--- + +[RPCSPEC06](../namespaces/types.RPC.RPCSPEC06.md).[Errors](../namespaces/types.RPC.RPCSPEC06.Errors.md).DUPLICATE_TX + +## Properties + +### code + +• **code**: `59` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:133](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L133) + +--- + +### message + +• **message**: `"A transaction with the same hash already exists in the mempool"` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:134](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L134) diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.FAILED_TO_RECEIVE_TXN.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.FAILED_TO_RECEIVE_TXN.md new file mode 100644 index 000000000..43894f6ef --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.FAILED_TO_RECEIVE_TXN.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC06.Errors.FAILED_TO_RECEIVE_TXN' +title: 'Interface: FAILED_TO_RECEIVE_TXN' +sidebar_label: 'FAILED_TO_RECEIVE_TXN' +custom_edit_url: null +--- + +[RPCSPEC06](../namespaces/types.RPC.RPCSPEC06.md).[Errors](../namespaces/types.RPC.RPCSPEC06.Errors.md).FAILED_TO_RECEIVE_TXN + +## Properties + +### code + +• **code**: `1` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:2](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L2) + +--- + +### message + +• **message**: `"Failed to write transaction"` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:3](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L3) diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.INSUFFICIENT_ACCOUNT_BALANCE.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.INSUFFICIENT_ACCOUNT_BALANCE.md new file mode 100644 index 000000000..18c5099a0 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.INSUFFICIENT_ACCOUNT_BALANCE.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC06.Errors.INSUFFICIENT_ACCOUNT_BALANCE' +title: 'Interface: INSUFFICIENT_ACCOUNT_BALANCE' +sidebar_label: 'INSUFFICIENT_ACCOUNT_BALANCE' +custom_edit_url: null +--- + +[RPCSPEC06](../namespaces/types.RPC.RPCSPEC06.md).[Errors](../namespaces/types.RPC.RPCSPEC06.Errors.md).INSUFFICIENT_ACCOUNT_BALANCE + +## Properties + +### code + +• **code**: `54` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:107](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L107) + +--- + +### message + +• **message**: `"Account balance is smaller than the transaction's max_fee"` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:108](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L108) diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.INSUFFICIENT_MAX_FEE.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.INSUFFICIENT_MAX_FEE.md new file mode 100644 index 000000000..aa3ccd83c --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.INSUFFICIENT_MAX_FEE.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC06.Errors.INSUFFICIENT_MAX_FEE' +title: 'Interface: INSUFFICIENT_MAX_FEE' +sidebar_label: 'INSUFFICIENT_MAX_FEE' +custom_edit_url: null +--- + +[RPCSPEC06](../namespaces/types.RPC.RPCSPEC06.md).[Errors](../namespaces/types.RPC.RPCSPEC06.Errors.md).INSUFFICIENT_MAX_FEE + +## Properties + +### code + +• **code**: `53` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:102](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L102) + +--- + +### message + +• **message**: `"Max fee is smaller than the minimal transaction cost (validation plus fee transfer)"` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:103](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L103) diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.INVALID_BLOCK_HASH.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.INVALID_BLOCK_HASH.md new file mode 100644 index 000000000..cb1dd7950 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.INVALID_BLOCK_HASH.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC06.Errors.INVALID_BLOCK_HASH' +title: 'Interface: INVALID_BLOCK_HASH' +sidebar_label: 'INVALID_BLOCK_HASH' +custom_edit_url: null +--- + +[RPCSPEC06](../namespaces/types.RPC.RPCSPEC06.md).[Errors](../namespaces/types.RPC.RPCSPEC06.Errors.md).INVALID_BLOCK_HASH + +## Properties + +### code + +• **code**: `26` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:35](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L35) + +--- + +### message + +• **message**: `"Invalid block hash"` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:36](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L36) diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.INVALID_CALL_DATA.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.INVALID_CALL_DATA.md new file mode 100644 index 000000000..69fc8a9cd --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.INVALID_CALL_DATA.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC06.Errors.INVALID_CALL_DATA' +title: 'Interface: INVALID_CALL_DATA' +sidebar_label: 'INVALID_CALL_DATA' +custom_edit_url: null +--- + +[RPCSPEC06](../namespaces/types.RPC.RPCSPEC06.md).[Errors](../namespaces/types.RPC.RPCSPEC06.Errors.md).INVALID_CALL_DATA + +## Properties + +### code + +• **code**: `22` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:25](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L25) + +--- + +### message + +• **message**: `"Invalid call data"` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:26](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L26) diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.INVALID_CONTINUATION_TOKEN.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.INVALID_CONTINUATION_TOKEN.md new file mode 100644 index 000000000..da4b04448 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.INVALID_CONTINUATION_TOKEN.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC06.Errors.INVALID_CONTINUATION_TOKEN' +title: 'Interface: INVALID_CONTINUATION_TOKEN' +sidebar_label: 'INVALID_CONTINUATION_TOKEN' +custom_edit_url: null +--- + +[RPCSPEC06](../namespaces/types.RPC.RPCSPEC06.md).[Errors](../namespaces/types.RPC.RPCSPEC06.Errors.md).INVALID_CONTINUATION_TOKEN + +## Properties + +### code + +• **code**: `33` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:65](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L65) + +--- + +### message + +• **message**: `"The supplied continuation token is invalid or unknown"` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:66](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L66) diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.INVALID_MESSAGE_SELECTOR.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.INVALID_MESSAGE_SELECTOR.md new file mode 100644 index 000000000..138a7ff69 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.INVALID_MESSAGE_SELECTOR.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC06.Errors.INVALID_MESSAGE_SELECTOR' +title: 'Interface: INVALID_MESSAGE_SELECTOR' +sidebar_label: 'INVALID_MESSAGE_SELECTOR' +custom_edit_url: null +--- + +[RPCSPEC06](../namespaces/types.RPC.RPCSPEC06.md).[Errors](../namespaces/types.RPC.RPCSPEC06.Errors.md).INVALID_MESSAGE_SELECTOR + +## Properties + +### code + +• **code**: `21` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:20](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L20) + +--- + +### message + +• **message**: `"Invalid message selector"` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:21](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L21) diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.INVALID_TRANSACTION_NONCE.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.INVALID_TRANSACTION_NONCE.md new file mode 100644 index 000000000..b056a2d33 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.INVALID_TRANSACTION_NONCE.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC06.Errors.INVALID_TRANSACTION_NONCE' +title: 'Interface: INVALID_TRANSACTION_NONCE' +sidebar_label: 'INVALID_TRANSACTION_NONCE' +custom_edit_url: null +--- + +[RPCSPEC06](../namespaces/types.RPC.RPCSPEC06.md).[Errors](../namespaces/types.RPC.RPCSPEC06.Errors.md).INVALID_TRANSACTION_NONCE + +## Properties + +### code + +• **code**: `52` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:97](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L97) + +--- + +### message + +• **message**: `"Invalid transaction nonce"` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:98](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L98) diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.INVALID_TXN_INDEX.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.INVALID_TXN_INDEX.md new file mode 100644 index 000000000..598752b5d --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.INVALID_TXN_INDEX.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC06.Errors.INVALID_TXN_INDEX' +title: 'Interface: INVALID_TXN_INDEX' +sidebar_label: 'INVALID_TXN_INDEX' +custom_edit_url: null +--- + +[RPCSPEC06](../namespaces/types.RPC.RPCSPEC06.md).[Errors](../namespaces/types.RPC.RPCSPEC06.Errors.md).INVALID_TXN_INDEX + +## Properties + +### code + +• **code**: `27` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:40](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L40) + +--- + +### message + +• **message**: `"Invalid transaction index in a block"` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:41](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L41) diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.NON_ACCOUNT.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.NON_ACCOUNT.md new file mode 100644 index 000000000..b4ba3fe9f --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.NON_ACCOUNT.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC06.Errors.NON_ACCOUNT' +title: 'Interface: NON_ACCOUNT' +sidebar_label: 'NON_ACCOUNT' +custom_edit_url: null +--- + +[RPCSPEC06](../namespaces/types.RPC.RPCSPEC06.md).[Errors](../namespaces/types.RPC.RPCSPEC06.Errors.md).NON_ACCOUNT + +## Properties + +### code + +• **code**: `58` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:128](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L128) + +--- + +### message + +• **message**: `"Sender address in not an account contract"` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:129](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L129) diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.NO_BLOCKS.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.NO_BLOCKS.md new file mode 100644 index 000000000..ecd39efe4 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.NO_BLOCKS.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC06.Errors.NO_BLOCKS' +title: 'Interface: NO_BLOCKS' +sidebar_label: 'NO_BLOCKS' +custom_edit_url: null +--- + +[RPCSPEC06](../namespaces/types.RPC.RPCSPEC06.md).[Errors](../namespaces/types.RPC.RPCSPEC06.Errors.md).NO_BLOCKS + +## Properties + +### code + +• **code**: `32` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:60](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L60) + +--- + +### message + +• **message**: `"There are no blocks"` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:61](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L61) diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.NO_TRACE_AVAILABLE.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.NO_TRACE_AVAILABLE.md new file mode 100644 index 000000000..404201e5f --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.NO_TRACE_AVAILABLE.md @@ -0,0 +1,44 @@ +--- +id: 'types.RPC.RPCSPEC06.Errors.NO_TRACE_AVAILABLE' +title: 'Interface: NO_TRACE_AVAILABLE' +sidebar_label: 'NO_TRACE_AVAILABLE' +custom_edit_url: null +--- + +[RPCSPEC06](../namespaces/types.RPC.RPCSPEC06.md).[Errors](../namespaces/types.RPC.RPCSPEC06.Errors.md).NO_TRACE_AVAILABLE + +## Properties + +### code + +• **code**: `10` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:7](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L7) + +--- + +### message + +• **message**: `"No trace available for transaction"` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:8](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L8) + +--- + +### data + +• **data**: `Object` + +#### Type declaration + +| Name | Type | +| :------- | :--------------------------- | +| `status` | `"RECEIVED"` \| `"REJECTED"` | + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:9](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L9) diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.PAGE_SIZE_TOO_BIG.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.PAGE_SIZE_TOO_BIG.md new file mode 100644 index 000000000..3341f3ffa --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.PAGE_SIZE_TOO_BIG.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC06.Errors.PAGE_SIZE_TOO_BIG' +title: 'Interface: PAGE_SIZE_TOO_BIG' +sidebar_label: 'PAGE_SIZE_TOO_BIG' +custom_edit_url: null +--- + +[RPCSPEC06](../namespaces/types.RPC.RPCSPEC06.md).[Errors](../namespaces/types.RPC.RPCSPEC06.Errors.md).PAGE_SIZE_TOO_BIG + +## Properties + +### code + +• **code**: `31` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:55](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L55) + +--- + +### message + +• **message**: `"Requested page size is too big"` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:56](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L56) diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.TOO_MANY_KEYS_IN_FILTER.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.TOO_MANY_KEYS_IN_FILTER.md new file mode 100644 index 000000000..7e9f15263 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.TOO_MANY_KEYS_IN_FILTER.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC06.Errors.TOO_MANY_KEYS_IN_FILTER' +title: 'Interface: TOO_MANY_KEYS_IN_FILTER' +sidebar_label: 'TOO_MANY_KEYS_IN_FILTER' +custom_edit_url: null +--- + +[RPCSPEC06](../namespaces/types.RPC.RPCSPEC06.md).[Errors](../namespaces/types.RPC.RPCSPEC06.Errors.md).TOO_MANY_KEYS_IN_FILTER + +## Properties + +### code + +• **code**: `34` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:70](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L70) + +--- + +### message + +• **message**: `"Too many keys provided in a filter"` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:71](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L71) diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.TRANSACTION_EXECUTION_ERROR.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.TRANSACTION_EXECUTION_ERROR.md new file mode 100644 index 000000000..a8c219eec --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.TRANSACTION_EXECUTION_ERROR.md @@ -0,0 +1,45 @@ +--- +id: 'types.RPC.RPCSPEC06.Errors.TRANSACTION_EXECUTION_ERROR' +title: 'Interface: TRANSACTION_EXECUTION_ERROR' +sidebar_label: 'TRANSACTION_EXECUTION_ERROR' +custom_edit_url: null +--- + +[RPCSPEC06](../namespaces/types.RPC.RPCSPEC06.md).[Errors](../namespaces/types.RPC.RPCSPEC06.Errors.md).TRANSACTION_EXECUTION_ERROR + +## Properties + +### code + +• **code**: `41` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:83](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L83) + +--- + +### message + +• **message**: `"Transaction execution error"` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:84](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L84) + +--- + +### data + +• **data**: `Object` + +#### Type declaration + +| Name | Type | +| :------------------ | :------- | +| `transaction_index` | `number` | +| `execution_error` | `string` | + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:85](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L85) diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.TXN_HASH_NOT_FOUND.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.TXN_HASH_NOT_FOUND.md new file mode 100644 index 000000000..1b9df84fe --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.TXN_HASH_NOT_FOUND.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC06.Errors.TXN_HASH_NOT_FOUND' +title: 'Interface: TXN_HASH_NOT_FOUND' +sidebar_label: 'TXN_HASH_NOT_FOUND' +custom_edit_url: null +--- + +[RPCSPEC06](../namespaces/types.RPC.RPCSPEC06.md).[Errors](../namespaces/types.RPC.RPCSPEC06.Errors.md).TXN_HASH_NOT_FOUND + +## Properties + +### code + +• **code**: `29` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:50](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L50) + +--- + +### message + +• **message**: `"Transaction hash not found"` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:51](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L51) diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.UNEXPECTED_ERROR.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.UNEXPECTED_ERROR.md new file mode 100644 index 000000000..bfde2fa85 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.UNEXPECTED_ERROR.md @@ -0,0 +1,38 @@ +--- +id: 'types.RPC.RPCSPEC06.Errors.UNEXPECTED_ERROR' +title: 'Interface: UNEXPECTED_ERROR' +sidebar_label: 'UNEXPECTED_ERROR' +custom_edit_url: null +--- + +[RPCSPEC06](../namespaces/types.RPC.RPCSPEC06.md).[Errors](../namespaces/types.RPC.RPCSPEC06.Errors.md).UNEXPECTED_ERROR + +## Properties + +### code + +• **code**: `63` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:153](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L153) + +--- + +### message + +• **message**: `"An unexpected error occurred"` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:154](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L154) + +--- + +### data + +• **data**: `string` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:155](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L155) diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.UNSUPPORTED_CONTRACT_CLASS_VERSION.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.UNSUPPORTED_CONTRACT_CLASS_VERSION.md new file mode 100644 index 000000000..ccebcc58d --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.UNSUPPORTED_CONTRACT_CLASS_VERSION.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC06.Errors.UNSUPPORTED_CONTRACT_CLASS_VERSION' +title: 'Interface: UNSUPPORTED_CONTRACT_CLASS_VERSION' +sidebar_label: 'UNSUPPORTED_CONTRACT_CLASS_VERSION' +custom_edit_url: null +--- + +[RPCSPEC06](../namespaces/types.RPC.RPCSPEC06.md).[Errors](../namespaces/types.RPC.RPCSPEC06.Errors.md).UNSUPPORTED_CONTRACT_CLASS_VERSION + +## Properties + +### code + +• **code**: `62` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:148](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L148) + +--- + +### message + +• **message**: `"the contract class version is not supported"` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:149](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L149) diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.UNSUPPORTED_TX_VERSION.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.UNSUPPORTED_TX_VERSION.md new file mode 100644 index 000000000..d1d33527c --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.UNSUPPORTED_TX_VERSION.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC06.Errors.UNSUPPORTED_TX_VERSION' +title: 'Interface: UNSUPPORTED_TX_VERSION' +sidebar_label: 'UNSUPPORTED_TX_VERSION' +custom_edit_url: null +--- + +[RPCSPEC06](../namespaces/types.RPC.RPCSPEC06.md).[Errors](../namespaces/types.RPC.RPCSPEC06.Errors.md).UNSUPPORTED_TX_VERSION + +## Properties + +### code + +• **code**: `61` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:143](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L143) + +--- + +### message + +• **message**: `"the transaction version is not supported"` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:144](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L144) diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.VALIDATION_FAILURE.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.VALIDATION_FAILURE.md new file mode 100644 index 000000000..04ec47a05 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC06.Errors.VALIDATION_FAILURE.md @@ -0,0 +1,38 @@ +--- +id: 'types.RPC.RPCSPEC06.Errors.VALIDATION_FAILURE' +title: 'Interface: VALIDATION_FAILURE' +sidebar_label: 'VALIDATION_FAILURE' +custom_edit_url: null +--- + +[RPCSPEC06](../namespaces/types.RPC.RPCSPEC06.md).[Errors](../namespaces/types.RPC.RPCSPEC06.Errors.md).VALIDATION_FAILURE + +## Properties + +### code + +• **code**: `55` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:112](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L112) + +--- + +### message + +• **message**: `"Account validation failed"` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:113](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L113) + +--- + +### data + +• **data**: `string` + +#### Defined in + +[src/types/api/rpcspec_0_6/errors.ts:114](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/errors.ts#L114) diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.BLOCK_NOT_FOUND.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.BLOCK_NOT_FOUND.md new file mode 100644 index 000000000..ada99fb54 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.BLOCK_NOT_FOUND.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC07.API.Errors.BLOCK_NOT_FOUND' +title: 'Interface: BLOCK_NOT_FOUND' +sidebar_label: 'BLOCK_NOT_FOUND' +custom_edit_url: null +--- + +[API](../namespaces/types.RPC.RPCSPEC07.API.md).[Errors](../namespaces/types.RPC.RPCSPEC07.API.Errors.md).BLOCK_NOT_FOUND + +## Properties + +### code + +• **code**: `24` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:25 + +--- + +### message + +• **message**: `"Block not found"` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:26 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.CLASS_ALREADY_DECLARED.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.CLASS_ALREADY_DECLARED.md new file mode 100644 index 000000000..f078fea58 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.CLASS_ALREADY_DECLARED.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC07.API.Errors.CLASS_ALREADY_DECLARED' +title: 'Interface: CLASS_ALREADY_DECLARED' +sidebar_label: 'CLASS_ALREADY_DECLARED' +custom_edit_url: null +--- + +[API](../namespaces/types.RPC.RPCSPEC07.API.md).[Errors](../namespaces/types.RPC.RPCSPEC07.API.Errors.md).CLASS_ALREADY_DECLARED + +## Properties + +### code + +• **code**: `51` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:76 + +--- + +### message + +• **message**: `"Class already declared"` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:77 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.CLASS_HASH_NOT_FOUND.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.CLASS_HASH_NOT_FOUND.md new file mode 100644 index 000000000..6b38a7c29 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.CLASS_HASH_NOT_FOUND.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC07.API.Errors.CLASS_HASH_NOT_FOUND' +title: 'Interface: CLASS_HASH_NOT_FOUND' +sidebar_label: 'CLASS_HASH_NOT_FOUND' +custom_edit_url: null +--- + +[API](../namespaces/types.RPC.RPCSPEC07.API.md).[Errors](../namespaces/types.RPC.RPCSPEC07.API.Errors.md).CLASS_HASH_NOT_FOUND + +## Properties + +### code + +• **code**: `28` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:37 + +--- + +### message + +• **message**: `"Class hash not found"` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:38 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.COMPILATION_FAILED.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.COMPILATION_FAILED.md new file mode 100644 index 000000000..5db49b204 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.COMPILATION_FAILED.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC07.API.Errors.COMPILATION_FAILED' +title: 'Interface: COMPILATION_FAILED' +sidebar_label: 'COMPILATION_FAILED' +custom_edit_url: null +--- + +[API](../namespaces/types.RPC.RPCSPEC07.API.md).[Errors](../namespaces/types.RPC.RPCSPEC07.API.Errors.md).COMPILATION_FAILED + +## Properties + +### code + +• **code**: `56` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:97 + +--- + +### message + +• **message**: `"Compilation failed"` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:98 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.COMPILED_CLASS_HASH_MISMATCH.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.COMPILED_CLASS_HASH_MISMATCH.md new file mode 100644 index 000000000..03bfc70c8 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.COMPILED_CLASS_HASH_MISMATCH.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC07.API.Errors.COMPILED_CLASS_HASH_MISMATCH' +title: 'Interface: COMPILED_CLASS_HASH_MISMATCH' +sidebar_label: 'COMPILED_CLASS_HASH_MISMATCH' +custom_edit_url: null +--- + +[API](../namespaces/types.RPC.RPCSPEC07.API.md).[Errors](../namespaces/types.RPC.RPCSPEC07.API.Errors.md).COMPILED_CLASS_HASH_MISMATCH + +## Properties + +### code + +• **code**: `60` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:113 + +--- + +### message + +• **message**: `"the compiled class hash did not match the one supplied in the transaction"` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:114 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.CONTRACT_CLASS_SIZE_IS_TOO_LARGE.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.CONTRACT_CLASS_SIZE_IS_TOO_LARGE.md new file mode 100644 index 000000000..1d4b57f1e --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.CONTRACT_CLASS_SIZE_IS_TOO_LARGE.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC07.API.Errors.CONTRACT_CLASS_SIZE_IS_TOO_LARGE' +title: 'Interface: CONTRACT_CLASS_SIZE_IS_TOO_LARGE' +sidebar_label: 'CONTRACT_CLASS_SIZE_IS_TOO_LARGE' +custom_edit_url: null +--- + +[API](../namespaces/types.RPC.RPCSPEC07.API.md).[Errors](../namespaces/types.RPC.RPCSPEC07.API.Errors.md).CONTRACT_CLASS_SIZE_IS_TOO_LARGE + +## Properties + +### code + +• **code**: `57` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:101 + +--- + +### message + +• **message**: `"Contract class size it too large"` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:102 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.CONTRACT_ERROR.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.CONTRACT_ERROR.md new file mode 100644 index 000000000..80525864f --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.CONTRACT_ERROR.md @@ -0,0 +1,44 @@ +--- +id: 'types.RPC.RPCSPEC07.API.Errors.CONTRACT_ERROR' +title: 'Interface: CONTRACT_ERROR' +sidebar_label: 'CONTRACT_ERROR' +custom_edit_url: null +--- + +[API](../namespaces/types.RPC.RPCSPEC07.API.md).[Errors](../namespaces/types.RPC.RPCSPEC07.API.Errors.md).CONTRACT_ERROR + +## Properties + +### code + +• **code**: `40` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:61 + +--- + +### message + +• **message**: `"Contract error"` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:62 + +--- + +### data + +• **data**: `Object` + +#### Type declaration + +| Name | Type | +| :------------- | :------- | +| `revert_error` | `string` | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:63 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.CONTRACT_NOT_FOUND.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.CONTRACT_NOT_FOUND.md new file mode 100644 index 000000000..1367993ca --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.CONTRACT_NOT_FOUND.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC07.API.Errors.CONTRACT_NOT_FOUND' +title: 'Interface: CONTRACT_NOT_FOUND' +sidebar_label: 'CONTRACT_NOT_FOUND' +custom_edit_url: null +--- + +[API](../namespaces/types.RPC.RPCSPEC07.API.md).[Errors](../namespaces/types.RPC.RPCSPEC07.API.Errors.md).CONTRACT_NOT_FOUND + +## Properties + +### code + +• **code**: `20` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:13 + +--- + +### message + +• **message**: `"Contract not found"` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:14 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.DUPLICATE_TX.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.DUPLICATE_TX.md new file mode 100644 index 000000000..20e241219 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.DUPLICATE_TX.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC07.API.Errors.DUPLICATE_TX' +title: 'Interface: DUPLICATE_TX' +sidebar_label: 'DUPLICATE_TX' +custom_edit_url: null +--- + +[API](../namespaces/types.RPC.RPCSPEC07.API.md).[Errors](../namespaces/types.RPC.RPCSPEC07.API.Errors.md).DUPLICATE_TX + +## Properties + +### code + +• **code**: `59` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:109 + +--- + +### message + +• **message**: `"A transaction with the same hash already exists in the mempool"` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:110 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.FAILED_TO_RECEIVE_TXN.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.FAILED_TO_RECEIVE_TXN.md new file mode 100644 index 000000000..7ca304d75 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.FAILED_TO_RECEIVE_TXN.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC07.API.Errors.FAILED_TO_RECEIVE_TXN' +title: 'Interface: FAILED_TO_RECEIVE_TXN' +sidebar_label: 'FAILED_TO_RECEIVE_TXN' +custom_edit_url: null +--- + +[API](../namespaces/types.RPC.RPCSPEC07.API.md).[Errors](../namespaces/types.RPC.RPCSPEC07.API.Errors.md).FAILED_TO_RECEIVE_TXN + +## Properties + +### code + +• **code**: `1` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:2 + +--- + +### message + +• **message**: `"Failed to write transaction"` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:3 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.INSUFFICIENT_ACCOUNT_BALANCE.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.INSUFFICIENT_ACCOUNT_BALANCE.md new file mode 100644 index 000000000..32217ff6c --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.INSUFFICIENT_ACCOUNT_BALANCE.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC07.API.Errors.INSUFFICIENT_ACCOUNT_BALANCE' +title: 'Interface: INSUFFICIENT_ACCOUNT_BALANCE' +sidebar_label: 'INSUFFICIENT_ACCOUNT_BALANCE' +custom_edit_url: null +--- + +[API](../namespaces/types.RPC.RPCSPEC07.API.md).[Errors](../namespaces/types.RPC.RPCSPEC07.API.Errors.md).INSUFFICIENT_ACCOUNT_BALANCE + +## Properties + +### code + +• **code**: `54` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:88 + +--- + +### message + +• **message**: `"Account balance is smaller than the transaction's max_fee"` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:89 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.INSUFFICIENT_MAX_FEE.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.INSUFFICIENT_MAX_FEE.md new file mode 100644 index 000000000..e99cacb3f --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.INSUFFICIENT_MAX_FEE.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC07.API.Errors.INSUFFICIENT_MAX_FEE' +title: 'Interface: INSUFFICIENT_MAX_FEE' +sidebar_label: 'INSUFFICIENT_MAX_FEE' +custom_edit_url: null +--- + +[API](../namespaces/types.RPC.RPCSPEC07.API.md).[Errors](../namespaces/types.RPC.RPCSPEC07.API.Errors.md).INSUFFICIENT_MAX_FEE + +## Properties + +### code + +• **code**: `53` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:84 + +--- + +### message + +• **message**: `"Max fee is smaller than the minimal transaction cost (validation plus fee transfer)"` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:85 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.INVALID_BLOCK_HASH.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.INVALID_BLOCK_HASH.md new file mode 100644 index 000000000..9d595a85b --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.INVALID_BLOCK_HASH.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC07.API.Errors.INVALID_BLOCK_HASH' +title: 'Interface: INVALID_BLOCK_HASH' +sidebar_label: 'INVALID_BLOCK_HASH' +custom_edit_url: null +--- + +[API](../namespaces/types.RPC.RPCSPEC07.API.md).[Errors](../namespaces/types.RPC.RPCSPEC07.API.Errors.md).INVALID_BLOCK_HASH + +## Properties + +### code + +• **code**: `26` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:29 + +--- + +### message + +• **message**: `"Invalid block hash"` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:30 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.INVALID_CALL_DATA.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.INVALID_CALL_DATA.md new file mode 100644 index 000000000..634b873fe --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.INVALID_CALL_DATA.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC07.API.Errors.INVALID_CALL_DATA' +title: 'Interface: INVALID_CALL_DATA' +sidebar_label: 'INVALID_CALL_DATA' +custom_edit_url: null +--- + +[API](../namespaces/types.RPC.RPCSPEC07.API.md).[Errors](../namespaces/types.RPC.RPCSPEC07.API.Errors.md).INVALID_CALL_DATA + +## Properties + +### code + +• **code**: `22` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:21 + +--- + +### message + +• **message**: `"Invalid call data"` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:22 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.INVALID_CONTINUATION_TOKEN.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.INVALID_CONTINUATION_TOKEN.md new file mode 100644 index 000000000..4435e3361 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.INVALID_CONTINUATION_TOKEN.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC07.API.Errors.INVALID_CONTINUATION_TOKEN' +title: 'Interface: INVALID_CONTINUATION_TOKEN' +sidebar_label: 'INVALID_CONTINUATION_TOKEN' +custom_edit_url: null +--- + +[API](../namespaces/types.RPC.RPCSPEC07.API.md).[Errors](../namespaces/types.RPC.RPCSPEC07.API.Errors.md).INVALID_CONTINUATION_TOKEN + +## Properties + +### code + +• **code**: `33` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:53 + +--- + +### message + +• **message**: `"The supplied continuation token is invalid or unknown"` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:54 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.INVALID_MESSAGE_SELECTOR.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.INVALID_MESSAGE_SELECTOR.md new file mode 100644 index 000000000..e9559da65 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.INVALID_MESSAGE_SELECTOR.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC07.API.Errors.INVALID_MESSAGE_SELECTOR' +title: 'Interface: INVALID_MESSAGE_SELECTOR' +sidebar_label: 'INVALID_MESSAGE_SELECTOR' +custom_edit_url: null +--- + +[API](../namespaces/types.RPC.RPCSPEC07.API.md).[Errors](../namespaces/types.RPC.RPCSPEC07.API.Errors.md).INVALID_MESSAGE_SELECTOR + +## Properties + +### code + +• **code**: `21` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:17 + +--- + +### message + +• **message**: `"Invalid message selector"` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:18 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.INVALID_TRANSACTION_NONCE.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.INVALID_TRANSACTION_NONCE.md new file mode 100644 index 000000000..bc7df67db --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.INVALID_TRANSACTION_NONCE.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC07.API.Errors.INVALID_TRANSACTION_NONCE' +title: 'Interface: INVALID_TRANSACTION_NONCE' +sidebar_label: 'INVALID_TRANSACTION_NONCE' +custom_edit_url: null +--- + +[API](../namespaces/types.RPC.RPCSPEC07.API.md).[Errors](../namespaces/types.RPC.RPCSPEC07.API.Errors.md).INVALID_TRANSACTION_NONCE + +## Properties + +### code + +• **code**: `52` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:80 + +--- + +### message + +• **message**: `"Invalid transaction nonce"` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:81 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.INVALID_TXN_INDEX.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.INVALID_TXN_INDEX.md new file mode 100644 index 000000000..887f5c21f --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.INVALID_TXN_INDEX.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC07.API.Errors.INVALID_TXN_INDEX' +title: 'Interface: INVALID_TXN_INDEX' +sidebar_label: 'INVALID_TXN_INDEX' +custom_edit_url: null +--- + +[API](../namespaces/types.RPC.RPCSPEC07.API.md).[Errors](../namespaces/types.RPC.RPCSPEC07.API.Errors.md).INVALID_TXN_INDEX + +## Properties + +### code + +• **code**: `27` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:33 + +--- + +### message + +• **message**: `"Invalid transaction index in a block"` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:34 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.NON_ACCOUNT.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.NON_ACCOUNT.md new file mode 100644 index 000000000..1a2077700 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.NON_ACCOUNT.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC07.API.Errors.NON_ACCOUNT' +title: 'Interface: NON_ACCOUNT' +sidebar_label: 'NON_ACCOUNT' +custom_edit_url: null +--- + +[API](../namespaces/types.RPC.RPCSPEC07.API.md).[Errors](../namespaces/types.RPC.RPCSPEC07.API.Errors.md).NON_ACCOUNT + +## Properties + +### code + +• **code**: `58` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:105 + +--- + +### message + +• **message**: `"Sender address in not an account contract"` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:106 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.NO_BLOCKS.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.NO_BLOCKS.md new file mode 100644 index 000000000..570f022cb --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.NO_BLOCKS.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC07.API.Errors.NO_BLOCKS' +title: 'Interface: NO_BLOCKS' +sidebar_label: 'NO_BLOCKS' +custom_edit_url: null +--- + +[API](../namespaces/types.RPC.RPCSPEC07.API.md).[Errors](../namespaces/types.RPC.RPCSPEC07.API.Errors.md).NO_BLOCKS + +## Properties + +### code + +• **code**: `32` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:49 + +--- + +### message + +• **message**: `"There are no blocks"` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:50 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.NO_TRACE_AVAILABLE.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.NO_TRACE_AVAILABLE.md new file mode 100644 index 000000000..205422b65 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.NO_TRACE_AVAILABLE.md @@ -0,0 +1,44 @@ +--- +id: 'types.RPC.RPCSPEC07.API.Errors.NO_TRACE_AVAILABLE' +title: 'Interface: NO_TRACE_AVAILABLE' +sidebar_label: 'NO_TRACE_AVAILABLE' +custom_edit_url: null +--- + +[API](../namespaces/types.RPC.RPCSPEC07.API.md).[Errors](../namespaces/types.RPC.RPCSPEC07.API.Errors.md).NO_TRACE_AVAILABLE + +## Properties + +### code + +• **code**: `10` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:6 + +--- + +### message + +• **message**: `"No trace available for transaction"` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:7 + +--- + +### data + +• **data**: `Object` + +#### Type declaration + +| Name | Type | +| :------- | :--------------------------- | +| `status` | `"RECEIVED"` \| `"REJECTED"` | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:8 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.PAGE_SIZE_TOO_BIG.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.PAGE_SIZE_TOO_BIG.md new file mode 100644 index 000000000..a3366b580 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.PAGE_SIZE_TOO_BIG.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC07.API.Errors.PAGE_SIZE_TOO_BIG' +title: 'Interface: PAGE_SIZE_TOO_BIG' +sidebar_label: 'PAGE_SIZE_TOO_BIG' +custom_edit_url: null +--- + +[API](../namespaces/types.RPC.RPCSPEC07.API.md).[Errors](../namespaces/types.RPC.RPCSPEC07.API.Errors.md).PAGE_SIZE_TOO_BIG + +## Properties + +### code + +• **code**: `31` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:45 + +--- + +### message + +• **message**: `"Requested page size is too big"` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:46 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.TOO_MANY_KEYS_IN_FILTER.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.TOO_MANY_KEYS_IN_FILTER.md new file mode 100644 index 000000000..0439f16f4 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.TOO_MANY_KEYS_IN_FILTER.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC07.API.Errors.TOO_MANY_KEYS_IN_FILTER' +title: 'Interface: TOO_MANY_KEYS_IN_FILTER' +sidebar_label: 'TOO_MANY_KEYS_IN_FILTER' +custom_edit_url: null +--- + +[API](../namespaces/types.RPC.RPCSPEC07.API.md).[Errors](../namespaces/types.RPC.RPCSPEC07.API.Errors.md).TOO_MANY_KEYS_IN_FILTER + +## Properties + +### code + +• **code**: `34` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:57 + +--- + +### message + +• **message**: `"Too many keys provided in a filter"` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:58 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.TRANSACTION_EXECUTION_ERROR.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.TRANSACTION_EXECUTION_ERROR.md new file mode 100644 index 000000000..bd39690bc --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.TRANSACTION_EXECUTION_ERROR.md @@ -0,0 +1,45 @@ +--- +id: 'types.RPC.RPCSPEC07.API.Errors.TRANSACTION_EXECUTION_ERROR' +title: 'Interface: TRANSACTION_EXECUTION_ERROR' +sidebar_label: 'TRANSACTION_EXECUTION_ERROR' +custom_edit_url: null +--- + +[API](../namespaces/types.RPC.RPCSPEC07.API.md).[Errors](../namespaces/types.RPC.RPCSPEC07.API.Errors.md).TRANSACTION_EXECUTION_ERROR + +## Properties + +### code + +• **code**: `41` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:68 + +--- + +### message + +• **message**: `"Transaction execution error"` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:69 + +--- + +### data + +• **data**: `Object` + +#### Type declaration + +| Name | Type | +| :------------------ | :------- | +| `transaction_index` | `number` | +| `execution_error` | `string` | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:70 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.TXN_HASH_NOT_FOUND.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.TXN_HASH_NOT_FOUND.md new file mode 100644 index 000000000..971f62108 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.TXN_HASH_NOT_FOUND.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC07.API.Errors.TXN_HASH_NOT_FOUND' +title: 'Interface: TXN_HASH_NOT_FOUND' +sidebar_label: 'TXN_HASH_NOT_FOUND' +custom_edit_url: null +--- + +[API](../namespaces/types.RPC.RPCSPEC07.API.md).[Errors](../namespaces/types.RPC.RPCSPEC07.API.Errors.md).TXN_HASH_NOT_FOUND + +## Properties + +### code + +• **code**: `29` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:41 + +--- + +### message + +• **message**: `"Transaction hash not found"` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:42 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.UNEXPECTED_ERROR.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.UNEXPECTED_ERROR.md new file mode 100644 index 000000000..ee4c8079d --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.UNEXPECTED_ERROR.md @@ -0,0 +1,38 @@ +--- +id: 'types.RPC.RPCSPEC07.API.Errors.UNEXPECTED_ERROR' +title: 'Interface: UNEXPECTED_ERROR' +sidebar_label: 'UNEXPECTED_ERROR' +custom_edit_url: null +--- + +[API](../namespaces/types.RPC.RPCSPEC07.API.md).[Errors](../namespaces/types.RPC.RPCSPEC07.API.Errors.md).UNEXPECTED_ERROR + +## Properties + +### code + +• **code**: `63` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:125 + +--- + +### message + +• **message**: `"An unexpected error occurred"` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:126 + +--- + +### data + +• **data**: `string` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:127 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.UNSUPPORTED_CONTRACT_CLASS_VERSION.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.UNSUPPORTED_CONTRACT_CLASS_VERSION.md new file mode 100644 index 000000000..e122363a9 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.UNSUPPORTED_CONTRACT_CLASS_VERSION.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC07.API.Errors.UNSUPPORTED_CONTRACT_CLASS_VERSION' +title: 'Interface: UNSUPPORTED_CONTRACT_CLASS_VERSION' +sidebar_label: 'UNSUPPORTED_CONTRACT_CLASS_VERSION' +custom_edit_url: null +--- + +[API](../namespaces/types.RPC.RPCSPEC07.API.md).[Errors](../namespaces/types.RPC.RPCSPEC07.API.Errors.md).UNSUPPORTED_CONTRACT_CLASS_VERSION + +## Properties + +### code + +• **code**: `62` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:121 + +--- + +### message + +• **message**: `"the contract class version is not supported"` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:122 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.UNSUPPORTED_TX_VERSION.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.UNSUPPORTED_TX_VERSION.md new file mode 100644 index 000000000..3800e2d59 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.UNSUPPORTED_TX_VERSION.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC07.API.Errors.UNSUPPORTED_TX_VERSION' +title: 'Interface: UNSUPPORTED_TX_VERSION' +sidebar_label: 'UNSUPPORTED_TX_VERSION' +custom_edit_url: null +--- + +[API](../namespaces/types.RPC.RPCSPEC07.API.md).[Errors](../namespaces/types.RPC.RPCSPEC07.API.Errors.md).UNSUPPORTED_TX_VERSION + +## Properties + +### code + +• **code**: `61` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:117 + +--- + +### message + +• **message**: `"the transaction version is not supported"` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:118 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.VALIDATION_FAILURE.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.VALIDATION_FAILURE.md new file mode 100644 index 000000000..dd0189ef8 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.API.Errors.VALIDATION_FAILURE.md @@ -0,0 +1,38 @@ +--- +id: 'types.RPC.RPCSPEC07.API.Errors.VALIDATION_FAILURE' +title: 'Interface: VALIDATION_FAILURE' +sidebar_label: 'VALIDATION_FAILURE' +custom_edit_url: null +--- + +[API](../namespaces/types.RPC.RPCSPEC07.API.md).[Errors](../namespaces/types.RPC.RPCSPEC07.API.Errors.md).VALIDATION_FAILURE + +## Properties + +### code + +• **code**: `55` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:92 + +--- + +### message + +• **message**: `"Account validation failed"` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:93 + +--- + +### data + +• **data**: `string` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/errors.d.ts:94 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.ACCOUNT_ALREADY_DEPLOYED.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.ACCOUNT_ALREADY_DEPLOYED.md new file mode 100644 index 000000000..ef75d6bab --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.ACCOUNT_ALREADY_DEPLOYED.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC07.WALLET_API.ACCOUNT_ALREADY_DEPLOYED' +title: 'Interface: ACCOUNT_ALREADY_DEPLOYED' +sidebar_label: 'ACCOUNT_ALREADY_DEPLOYED' +custom_edit_url: null +--- + +[RPCSPEC07](../namespaces/types.RPC.RPCSPEC07.md).[WALLET_API](../namespaces/types.RPC.RPCSPEC07.WALLET_API.md).ACCOUNT_ALREADY_DEPLOYED + +## Properties + +### code + +• **code**: `115` + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/errors.d.ts:18 + +--- + +### message + +• **message**: `"An error occurred (ACCOUNT_ALREADY_DEPLOYED)"` + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/errors.d.ts:19 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.API_VERSION_NOT_SUPPORTED.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.API_VERSION_NOT_SUPPORTED.md new file mode 100644 index 000000000..42c59b2be --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.API_VERSION_NOT_SUPPORTED.md @@ -0,0 +1,38 @@ +--- +id: 'types.RPC.RPCSPEC07.WALLET_API.API_VERSION_NOT_SUPPORTED' +title: 'Interface: API_VERSION_NOT_SUPPORTED' +sidebar_label: 'API_VERSION_NOT_SUPPORTED' +custom_edit_url: null +--- + +[RPCSPEC07](../namespaces/types.RPC.RPCSPEC07.md).[WALLET_API](../namespaces/types.RPC.RPCSPEC07.WALLET_API.md).API_VERSION_NOT_SUPPORTED + +## Properties + +### code + +• **code**: `162` + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/errors.d.ts:22 + +--- + +### message + +• **message**: `"An error occurred (API_VERSION_NOT_SUPPORTED)"` + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/errors.d.ts:23 + +--- + +### data + +• **data**: `"string"` + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/errors.d.ts:24 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.AccountDeploymentData.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.AccountDeploymentData.md new file mode 100644 index 000000000..81b05a19b --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.AccountDeploymentData.md @@ -0,0 +1,70 @@ +--- +id: 'types.RPC.RPCSPEC07.WALLET_API.AccountDeploymentData' +title: 'Interface: AccountDeploymentData' +sidebar_label: 'AccountDeploymentData' +custom_edit_url: null +--- + +[RPCSPEC07](../namespaces/types.RPC.RPCSPEC07.md).[WALLET_API](../namespaces/types.RPC.RPCSPEC07.WALLET_API.md).AccountDeploymentData + +SPEC: ACCOUNT_DEPLOYMENT_DATA + +## Properties + +### address + +• **address**: `string` + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/components.d.ts:119 + +--- + +### class_hash + +• **class_hash**: `string` + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/components.d.ts:120 + +--- + +### salt + +• **salt**: `string` + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/components.d.ts:121 + +--- + +### calldata + +• **calldata**: `string`[] + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/components.d.ts:122 + +--- + +### sigdata + +• `Optional` **sigdata**: `string`[] + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/components.d.ts:123 + +--- + +### version + +• **version**: `0` \| `1` + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/components.d.ts:124 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.AddDeclareTransactionParameters.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.AddDeclareTransactionParameters.md new file mode 100644 index 000000000..b48985573 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.AddDeclareTransactionParameters.md @@ -0,0 +1,40 @@ +--- +id: 'types.RPC.RPCSPEC07.WALLET_API.AddDeclareTransactionParameters' +title: 'Interface: AddDeclareTransactionParameters' +sidebar_label: 'AddDeclareTransactionParameters' +custom_edit_url: null +--- + +[RPCSPEC07](../namespaces/types.RPC.RPCSPEC07.md).[WALLET_API](../namespaces/types.RPC.RPCSPEC07.WALLET_API.md).AddDeclareTransactionParameters + +SPEC: DECLARE_TXN + +## Properties + +### compiled_class_hash + +• **compiled_class_hash**: `string` + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/components.d.ts:75 + +--- + +### class_hash + +• `Optional` **class_hash**: `string` + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/components.d.ts:76 + +--- + +### contract_class + +• **contract_class**: [`CONTRACT_CLASS`](../namespaces/types.RPC.RPCSPEC07.API.SPEC.md#contract_class) + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/components.d.ts:77 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.AddDeclareTransactionResult.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.AddDeclareTransactionResult.md new file mode 100644 index 000000000..9e9a7a43e --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.AddDeclareTransactionResult.md @@ -0,0 +1,32 @@ +--- +id: 'types.RPC.RPCSPEC07.WALLET_API.AddDeclareTransactionResult' +title: 'Interface: AddDeclareTransactionResult' +sidebar_label: 'AddDeclareTransactionResult' +custom_edit_url: null +--- + +[RPCSPEC07](../namespaces/types.RPC.RPCSPEC07.md).[WALLET_API](../namespaces/types.RPC.RPCSPEC07.WALLET_API.md).AddDeclareTransactionResult + +## Properties + +### transaction_hash + +• **transaction_hash**: `string` + +The hash of the declare transaction + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/components.d.ts:83 + +--- + +### class_hash + +• **class_hash**: `string` + +The hash of the declared class + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/components.d.ts:87 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.AddInvokeTransactionParameters.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.AddInvokeTransactionParameters.md new file mode 100644 index 000000000..8d5ae63bc --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.AddInvokeTransactionParameters.md @@ -0,0 +1,26 @@ +--- +id: 'types.RPC.RPCSPEC07.WALLET_API.AddInvokeTransactionParameters' +title: 'Interface: AddInvokeTransactionParameters' +sidebar_label: 'AddInvokeTransactionParameters' +custom_edit_url: null +--- + +[RPCSPEC07](../namespaces/types.RPC.RPCSPEC07.md).[WALLET_API](../namespaces/types.RPC.RPCSPEC07.WALLET_API.md).AddInvokeTransactionParameters + +INVOKE_TXN_V1 + +**`See`** + +https://github.com/starkware-libs/starknet-specs/blob/master/api/starknet_api_openrpc.json + +## Properties + +### calls + +• **calls**: [`Call`](../namespaces/types.RPC.RPCSPEC07.WALLET_API.md#call)[] + +Calls to invoke by the account + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/components.d.ts:63 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.AddInvokeTransactionResult.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.AddInvokeTransactionResult.md new file mode 100644 index 000000000..c4f9fd937 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.AddInvokeTransactionResult.md @@ -0,0 +1,20 @@ +--- +id: 'types.RPC.RPCSPEC07.WALLET_API.AddInvokeTransactionResult' +title: 'Interface: AddInvokeTransactionResult' +sidebar_label: 'AddInvokeTransactionResult' +custom_edit_url: null +--- + +[RPCSPEC07](../namespaces/types.RPC.RPCSPEC07.md).[WALLET_API](../namespaces/types.RPC.RPCSPEC07.WALLET_API.md).AddInvokeTransactionResult + +## Properties + +### transaction_hash + +• **transaction_hash**: `string` + +The hash of the invoke transaction + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/components.d.ts:69 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.AddStarknetChainParameters.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.AddStarknetChainParameters.md new file mode 100644 index 000000000..4ca386b81 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.AddStarknetChainParameters.md @@ -0,0 +1,118 @@ +--- +id: 'types.RPC.RPCSPEC07.WALLET_API.AddStarknetChainParameters' +title: 'Interface: AddStarknetChainParameters' +sidebar_label: 'AddStarknetChainParameters' +custom_edit_url: null +--- + +[RPCSPEC07](../namespaces/types.RPC.RPCSPEC07.md).[WALLET_API](../namespaces/types.RPC.RPCSPEC07.WALLET_API.md).AddStarknetChainParameters + +EIP-3085: + +**`See`** + +https://github.com/ethereum/EIPs/blob/master/EIPS/eip-3085.md + +## Hierarchy + +- [`StarknetChain`](../namespaces/types.RPC.RPCSPEC07.WALLET_API.md#starknetchain) + + ↳ **`AddStarknetChainParameters`** + +## Properties + +### id + +• **id**: `string` + +#### Inherited from + +StarknetChain.id + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/components.d.ts:42 + +--- + +### chain_id + +• **chain_id**: `string` + +#### Inherited from + +StarknetChain.chain_id + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/components.d.ts:43 + +--- + +### chain_name + +• **chain_name**: `string` + +#### Inherited from + +StarknetChain.chain_name + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/components.d.ts:44 + +--- + +### rpc_urls + +• `Optional` **rpc_urls**: `string`[] + +#### Inherited from + +StarknetChain.rpc_urls + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/components.d.ts:45 + +--- + +### block_explorer_url + +• `Optional` **block_explorer_url**: `string`[] + +#### Inherited from + +StarknetChain.block_explorer_url + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/components.d.ts:46 + +--- + +### native_currency + +• `Optional` **native_currency**: [`Asset`](../namespaces/types.RPC.RPCSPEC07.WALLET_API.md#asset) + +#### Inherited from + +StarknetChain.native_currency + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/components.d.ts:47 + +--- + +### icon_urls + +• `Optional` **icon_urls**: `string`[] + +#### Inherited from + +StarknetChain.icon_urls + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/components.d.ts:48 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.ApiVersion.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.ApiVersion.md new file mode 100644 index 000000000..b06bd83dd --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.ApiVersion.md @@ -0,0 +1,20 @@ +--- +id: 'types.RPC.RPCSPEC07.WALLET_API.ApiVersion' +title: 'Interface: ApiVersion' +sidebar_label: 'ApiVersion' +custom_edit_url: null +--- + +[RPCSPEC07](../namespaces/types.RPC.RPCSPEC07.md).[WALLET_API](../namespaces/types.RPC.RPCSPEC07.WALLET_API.md).ApiVersion + +The version of wallet API the request expecting. If not specified, the latest is assumed + +## Properties + +### api_version + +• `Optional` **api_version**: `string` + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/components.d.ts:130 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.INVALID_REQUEST_PAYLOAD.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.INVALID_REQUEST_PAYLOAD.md new file mode 100644 index 000000000..885c637f9 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.INVALID_REQUEST_PAYLOAD.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC07.WALLET_API.INVALID_REQUEST_PAYLOAD' +title: 'Interface: INVALID_REQUEST_PAYLOAD' +sidebar_label: 'INVALID_REQUEST_PAYLOAD' +custom_edit_url: null +--- + +[RPCSPEC07](../namespaces/types.RPC.RPCSPEC07.md).[WALLET_API](../namespaces/types.RPC.RPCSPEC07.WALLET_API.md).INVALID_REQUEST_PAYLOAD + +## Properties + +### code + +• **code**: `114` + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/errors.d.ts:14 + +--- + +### message + +• **message**: `"An error occurred (INVALID_REQUEST_PAYLOAD)"` + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/errors.d.ts:15 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.NOT_ERC20.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.NOT_ERC20.md new file mode 100644 index 000000000..3ab504374 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.NOT_ERC20.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC07.WALLET_API.NOT_ERC20' +title: 'Interface: NOT_ERC20' +sidebar_label: 'NOT_ERC20' +custom_edit_url: null +--- + +[RPCSPEC07](../namespaces/types.RPC.RPCSPEC07.md).[WALLET_API](../namespaces/types.RPC.RPCSPEC07.WALLET_API.md).NOT_ERC20 + +## Properties + +### code + +• **code**: `111` + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/errors.d.ts:2 + +--- + +### message + +• **message**: `"An error occurred (NOT_ERC20)"` + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/errors.d.ts:3 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.RequestAccountsParameters.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.RequestAccountsParameters.md new file mode 100644 index 000000000..d9021d7fd --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.RequestAccountsParameters.md @@ -0,0 +1,27 @@ +--- +id: 'types.RPC.RPCSPEC07.WALLET_API.RequestAccountsParameters' +title: 'Interface: RequestAccountsParameters' +sidebar_label: 'RequestAccountsParameters' +custom_edit_url: null +--- + +[RPCSPEC07](../namespaces/types.RPC.RPCSPEC07.md).[WALLET_API](../namespaces/types.RPC.RPCSPEC07.WALLET_API.md).RequestAccountsParameters + +EIP-1102: + +**`See`** + +https://eips.ethereum.org/EIPS/eip-1102 + +## Properties + +### silent_mode + +• `Optional` **silent_mode**: `boolean` + +If true, the wallet will not show the wallet-unlock UI in case of a locked wallet, +nor the dApp-approve UI in case of a non-allowed dApp. + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/components.d.ts:98 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.RpcTypeToMessageMap.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.RpcTypeToMessageMap.md new file mode 100644 index 000000000..2093a3ef7 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.RpcTypeToMessageMap.md @@ -0,0 +1,277 @@ +--- +id: 'types.RPC.RPCSPEC07.WALLET_API.RpcTypeToMessageMap' +title: 'Interface: RpcTypeToMessageMap' +sidebar_label: 'RpcTypeToMessageMap' +custom_edit_url: null +--- + +[RPCSPEC07](../namespaces/types.RPC.RPCSPEC07.md).[WALLET_API](../namespaces/types.RPC.RPCSPEC07.WALLET_API.md).RpcTypeToMessageMap + +Maps each RPC message type to its corresponding parameters and result type. + +## Properties + +### wallet_getPermissions + +• **wallet_getPermissions**: `Object` + +Get permissions from the wallet. + +#### Type declaration + +| Name | Type | +| :-------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `params?` | [`ApiVersion`](types.RPC.RPCSPEC07.WALLET_API.ApiVersion.md) | +| `result` | [] \| `"accounts"`[] | +| `errors` | [`API_VERSION_NOT_SUPPORTED`](types.RPC.RPCSPEC07.WALLET_API.API_VERSION_NOT_SUPPORTED.md) \| [`UNKNOWN_ERROR`](types.RPC.RPCSPEC07.WALLET_API.UNKNOWN_ERROR.md) | + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/methods.d.ts:14 + +--- + +### wallet_requestAccounts + +• **wallet_requestAccounts**: `Object` + +Request active accounts from the wallet. + +**`Param`** + +Optional parameters for requesting accounts. + +#### Type declaration + +| Name | Type | +| :-------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `params?` | [`RequestAccountsParameters`](types.RPC.RPCSPEC07.WALLET_API.RequestAccountsParameters.md) & [`ApiVersion`](types.RPC.RPCSPEC07.WALLET_API.ApiVersion.md) | +| `result` | `string`[] | +| `errors` | [`API_VERSION_NOT_SUPPORTED`](types.RPC.RPCSPEC07.WALLET_API.API_VERSION_NOT_SUPPORTED.md) \| [`UNKNOWN_ERROR`](types.RPC.RPCSPEC07.WALLET_API.UNKNOWN_ERROR.md) | + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/methods.d.ts:24 + +--- + +### wallet_watchAsset + +• **wallet_watchAsset**: `Object` + +Watch an asset in the wallet. + +**`Param`** + +The parameters required to watch an asset. + +#### Type declaration + +| Name | Type | +| :------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `params` | [`WatchAssetParameters`](types.RPC.RPCSPEC07.WALLET_API.WatchAssetParameters.md) & [`ApiVersion`](types.RPC.RPCSPEC07.WALLET_API.ApiVersion.md) | +| `result` | `boolean` | +| `errors` | [`NOT_ERC20`](types.RPC.RPCSPEC07.WALLET_API.NOT_ERC20.md) \| [`USER_REFUSED_OP`](types.RPC.RPCSPEC07.WALLET_API.USER_REFUSED_OP.md) \| [`INVALID_REQUEST_PAYLOAD`](types.RPC.RPCSPEC07.WALLET_API.INVALID_REQUEST_PAYLOAD.md) \| [`API_VERSION_NOT_SUPPORTED`](types.RPC.RPCSPEC07.WALLET_API.API_VERSION_NOT_SUPPORTED.md) \| [`UNKNOWN_ERROR`](types.RPC.RPCSPEC07.WALLET_API.UNKNOWN_ERROR.md) | + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/methods.d.ts:34 + +--- + +### wallet_addStarknetChain + +• **wallet_addStarknetChain**: `Object` + +Add a new Starknet chain to the wallet. + +**`Param`** + +The parameters required to add a new chain. + +#### Type declaration + +| Name | Type | +| :------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `params` | [`AddStarknetChainParameters`](types.RPC.RPCSPEC07.WALLET_API.AddStarknetChainParameters.md) & [`ApiVersion`](types.RPC.RPCSPEC07.WALLET_API.ApiVersion.md) | +| `result` | `boolean` | +| `errors` | [`USER_REFUSED_OP`](types.RPC.RPCSPEC07.WALLET_API.USER_REFUSED_OP.md) \| [`INVALID_REQUEST_PAYLOAD`](types.RPC.RPCSPEC07.WALLET_API.INVALID_REQUEST_PAYLOAD.md) \| [`API_VERSION_NOT_SUPPORTED`](types.RPC.RPCSPEC07.WALLET_API.API_VERSION_NOT_SUPPORTED.md) \| [`UNKNOWN_ERROR`](types.RPC.RPCSPEC07.WALLET_API.UNKNOWN_ERROR.md) | + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/methods.d.ts:44 + +--- + +### wallet_switchStarknetChain + +• **wallet_switchStarknetChain**: `Object` + +Switch the current Starknet chain in the wallet. + +**`Param`** + +The parameters required to switch chains. + +#### Type declaration + +| Name | Type | +| :------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `params` | [`SwitchStarknetChainParameters`](types.RPC.RPCSPEC07.WALLET_API.SwitchStarknetChainParameters.md) & [`ApiVersion`](types.RPC.RPCSPEC07.WALLET_API.ApiVersion.md) | +| `result` | `boolean` | +| `errors` | [`UNLISTED_NETWORK`](types.RPC.RPCSPEC07.WALLET_API.UNLISTED_NETWORK.md) \| [`USER_REFUSED_OP`](types.RPC.RPCSPEC07.WALLET_API.USER_REFUSED_OP.md) \| [`API_VERSION_NOT_SUPPORTED`](types.RPC.RPCSPEC07.WALLET_API.API_VERSION_NOT_SUPPORTED.md) \| [`UNKNOWN_ERROR`](types.RPC.RPCSPEC07.WALLET_API.UNKNOWN_ERROR.md) | + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/methods.d.ts:54 + +--- + +### wallet_requestChainId + +• **wallet_requestChainId**: `Object` + +Request the current chain ID from the wallet. + +#### Type declaration + +| Name | Type | +| :-------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `params?` | [`ApiVersion`](types.RPC.RPCSPEC07.WALLET_API.ApiVersion.md) | +| `result` | `string` | +| `errors` | [`API_VERSION_NOT_SUPPORTED`](types.RPC.RPCSPEC07.WALLET_API.API_VERSION_NOT_SUPPORTED.md) \| [`UNKNOWN_ERROR`](types.RPC.RPCSPEC07.WALLET_API.UNKNOWN_ERROR.md) | + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/methods.d.ts:63 + +--- + +### wallet_deploymentData + +• **wallet_deploymentData**: `Object` + +Get deployment data for a contract. + +#### Type declaration + +| Name | Type | +| :-------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `params?` | [`ApiVersion`](types.RPC.RPCSPEC07.WALLET_API.ApiVersion.md) | +| `result` | [`AccountDeploymentData`](types.RPC.RPCSPEC07.WALLET_API.AccountDeploymentData.md) | +| `errors` | [`ACCOUNT_ALREADY_DEPLOYED`](types.RPC.RPCSPEC07.WALLET_API.ACCOUNT_ALREADY_DEPLOYED.md) \| [`API_VERSION_NOT_SUPPORTED`](types.RPC.RPCSPEC07.WALLET_API.API_VERSION_NOT_SUPPORTED.md) \| [`UNKNOWN_ERROR`](types.RPC.RPCSPEC07.WALLET_API.UNKNOWN_ERROR.md) | + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/methods.d.ts:72 + +--- + +### wallet_addInvokeTransaction + +• **wallet_addInvokeTransaction**: `Object` + +Add an invoke transaction to the wallet. + +**`Param`** + +The parameters required for the invoke transaction. + +#### Type declaration + +| Name | Type | +| :------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `params` | [`AddInvokeTransactionParameters`](types.RPC.RPCSPEC07.WALLET_API.AddInvokeTransactionParameters.md) & [`ApiVersion`](types.RPC.RPCSPEC07.WALLET_API.ApiVersion.md) | +| `result` | [`AddInvokeTransactionResult`](types.RPC.RPCSPEC07.WALLET_API.AddInvokeTransactionResult.md) | +| `errors` | [`USER_REFUSED_OP`](types.RPC.RPCSPEC07.WALLET_API.USER_REFUSED_OP.md) \| [`INVALID_REQUEST_PAYLOAD`](types.RPC.RPCSPEC07.WALLET_API.INVALID_REQUEST_PAYLOAD.md) \| [`API_VERSION_NOT_SUPPORTED`](types.RPC.RPCSPEC07.WALLET_API.API_VERSION_NOT_SUPPORTED.md) \| [`UNKNOWN_ERROR`](types.RPC.RPCSPEC07.WALLET_API.UNKNOWN_ERROR.md) | + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/methods.d.ts:82 + +--- + +### wallet_addDeclareTransaction + +• **wallet_addDeclareTransaction**: `Object` + +Add a declare transaction to the wallet. + +**`Param`** + +The parameters required for the declare transaction. + +#### Type declaration + +| Name | Type | +| :------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `params` | [`AddDeclareTransactionParameters`](types.RPC.RPCSPEC07.WALLET_API.AddDeclareTransactionParameters.md) & [`ApiVersion`](types.RPC.RPCSPEC07.WALLET_API.ApiVersion.md) | +| `result` | [`AddDeclareTransactionResult`](types.RPC.RPCSPEC07.WALLET_API.AddDeclareTransactionResult.md) | +| `errors` | [`USER_REFUSED_OP`](types.RPC.RPCSPEC07.WALLET_API.USER_REFUSED_OP.md) \| [`INVALID_REQUEST_PAYLOAD`](types.RPC.RPCSPEC07.WALLET_API.INVALID_REQUEST_PAYLOAD.md) \| [`API_VERSION_NOT_SUPPORTED`](types.RPC.RPCSPEC07.WALLET_API.API_VERSION_NOT_SUPPORTED.md) \| [`UNKNOWN_ERROR`](types.RPC.RPCSPEC07.WALLET_API.UNKNOWN_ERROR.md) | + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/methods.d.ts:92 + +--- + +### wallet_signTypedData + +• **wallet_signTypedData**: `Object` + +Sign typed data using the wallet. + +**`Param`** + +The typed data to sign. + +#### Type declaration + +| Name | Type | +| :------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `params` | [`TypedData`](types.RPC.RPCSPEC07.WALLET_API.TypedData.md) & [`ApiVersion`](types.RPC.RPCSPEC07.WALLET_API.ApiVersion.md) | +| `result` | [`SIGNATURE`](../namespaces/types.RPC.RPCSPEC07.API.SPEC.md#signature) | +| `errors` | [`USER_REFUSED_OP`](types.RPC.RPCSPEC07.WALLET_API.USER_REFUSED_OP.md) \| [`INVALID_REQUEST_PAYLOAD`](types.RPC.RPCSPEC07.WALLET_API.INVALID_REQUEST_PAYLOAD.md) \| [`API_VERSION_NOT_SUPPORTED`](types.RPC.RPCSPEC07.WALLET_API.API_VERSION_NOT_SUPPORTED.md) \| [`UNKNOWN_ERROR`](types.RPC.RPCSPEC07.WALLET_API.UNKNOWN_ERROR.md) | + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/methods.d.ts:102 + +--- + +### wallet_supportedSpecs + +• **wallet_supportedSpecs**: `Object` + +Get the list of supported RPC specification versions. + +#### Type declaration + +| Name | Type | +| :-------- | :---------- | +| `params?` | `undefined` | +| `result` | `string`[] | + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/methods.d.ts:111 + +--- + +### wallet_supportedWalletApi + +• **wallet_supportedWalletApi**: `Object` + +Returns a list of wallet api versions compatible with the wallet. +Notice this might be different from Starknet JSON-RPC spec + +#### Type declaration + +| Name | Type | +| :-------- | :------------------------------------------------------------- | +| `params?` | `undefined` | +| `result` | [`ApiVersion`](types.RPC.RPCSPEC07.WALLET_API.ApiVersion.md)[] | + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/methods.d.ts:120 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.StarknetDomain.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.StarknetDomain.md new file mode 100644 index 000000000..c98e4a5f6 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.StarknetDomain.md @@ -0,0 +1,56 @@ +--- +id: 'types.RPC.RPCSPEC07.WALLET_API.StarknetDomain' +title: 'Interface: StarknetDomain' +sidebar_label: 'StarknetDomain' +custom_edit_url: null +--- + +[RPCSPEC07](../namespaces/types.RPC.RPCSPEC07.md).[WALLET_API](../namespaces/types.RPC.RPCSPEC07.WALLET_API.md).StarknetDomain + +The EIP712 domain struct. Any of these fields are optional, but it must contain at least one field. + +## Hierarchy + +- `Record`<`string`, `unknown`\> + + ↳ **`StarknetDomain`** + +## Properties + +### name + +• `Optional` **name**: `string` + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/typedData.d.ts:30 + +--- + +### version + +• `Optional` **version**: `string` + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/typedData.d.ts:31 + +--- + +### chainId + +• `Optional` **chainId**: `string` \| `number` + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/typedData.d.ts:32 + +--- + +### revision + +• `Optional` **revision**: `string` \| `number` + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/typedData.d.ts:33 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.StarknetWindowObject.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.StarknetWindowObject.md new file mode 100644 index 000000000..3b0da967e --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.StarknetWindowObject.md @@ -0,0 +1,78 @@ +--- +id: 'types.RPC.RPCSPEC07.WALLET_API.StarknetWindowObject' +title: 'Interface: StarknetWindowObject' +sidebar_label: 'StarknetWindowObject' +custom_edit_url: null +--- + +[RPCSPEC07](../namespaces/types.RPC.RPCSPEC07.md).[WALLET_API](../namespaces/types.RPC.RPCSPEC07.WALLET_API.md).StarknetWindowObject + +## Properties + +### id + +• **id**: `string` + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/StarknetWindowObject.d.ts:4 + +--- + +### name + +• **name**: `string` + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/StarknetWindowObject.d.ts:5 + +--- + +### version + +• **version**: `string` + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/StarknetWindowObject.d.ts:6 + +--- + +### icon + +• **icon**: `string` \| \{ `dark`: `string` ; `light`: `string` } + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/StarknetWindowObject.d.ts:7 + +--- + +### request + +• **request**: [`RequestFn`](../namespaces/types.RPC.RPCSPEC07.WALLET_API.md#requestfn) + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/StarknetWindowObject.d.ts:11 + +--- + +### on + +• **on**: [`WalletEventListener`](../namespaces/types.RPC.RPCSPEC07.WALLET_API.md#walleteventlistener) + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/StarknetWindowObject.d.ts:12 + +--- + +### off + +• **off**: [`WalletEventListener`](../namespaces/types.RPC.RPCSPEC07.WALLET_API.md#walleteventlistener) + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/StarknetWindowObject.d.ts:13 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.SwitchStarknetChainParameters.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.SwitchStarknetChainParameters.md new file mode 100644 index 000000000..57eeafcb1 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.SwitchStarknetChainParameters.md @@ -0,0 +1,18 @@ +--- +id: 'types.RPC.RPCSPEC07.WALLET_API.SwitchStarknetChainParameters' +title: 'Interface: SwitchStarknetChainParameters' +sidebar_label: 'SwitchStarknetChainParameters' +custom_edit_url: null +--- + +[RPCSPEC07](../namespaces/types.RPC.RPCSPEC07.md).[WALLET_API](../namespaces/types.RPC.RPCSPEC07.WALLET_API.md).SwitchStarknetChainParameters + +## Properties + +### chainId + +• **chainId**: `string` + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/components.d.ts:113 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.TypedData.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.TypedData.md new file mode 100644 index 000000000..6327503b6 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.TypedData.md @@ -0,0 +1,51 @@ +--- +id: 'types.RPC.RPCSPEC07.WALLET_API.TypedData' +title: 'Interface: TypedData' +sidebar_label: 'TypedData' +custom_edit_url: null +--- + +[RPCSPEC07](../namespaces/types.RPC.RPCSPEC07.md).[WALLET_API](../namespaces/types.RPC.RPCSPEC07.WALLET_API.md).TypedData + +SPEC: TYPED_DATA +The complete typed data, with all the structs, domain data, primary type of the message, and the message itself. + +## Properties + +### types + +• **types**: `Record`<`string`, [`StarknetType`](../namespaces/types.RPC.RPCSPEC07.WALLET_API.md#starknettype)[]\> + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/typedData.d.ts:40 + +--- + +### primaryType + +• **primaryType**: `string` + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/typedData.d.ts:41 + +--- + +### domain + +• **domain**: [`StarknetDomain`](types.RPC.RPCSPEC07.WALLET_API.StarknetDomain.md) + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/typedData.d.ts:42 + +--- + +### message + +• **message**: `object` + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/typedData.d.ts:43 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.UNKNOWN_ERROR.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.UNKNOWN_ERROR.md new file mode 100644 index 000000000..430a575f6 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.UNKNOWN_ERROR.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC07.WALLET_API.UNKNOWN_ERROR' +title: 'Interface: UNKNOWN_ERROR' +sidebar_label: 'UNKNOWN_ERROR' +custom_edit_url: null +--- + +[RPCSPEC07](../namespaces/types.RPC.RPCSPEC07.md).[WALLET_API](../namespaces/types.RPC.RPCSPEC07.WALLET_API.md).UNKNOWN_ERROR + +## Properties + +### code + +• **code**: `163` + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/errors.d.ts:27 + +--- + +### message + +• **message**: `"An error occurred (UNKNOWN_ERROR)"` + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/errors.d.ts:28 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.UNLISTED_NETWORK.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.UNLISTED_NETWORK.md new file mode 100644 index 000000000..ac16d5e42 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.UNLISTED_NETWORK.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC07.WALLET_API.UNLISTED_NETWORK' +title: 'Interface: UNLISTED_NETWORK' +sidebar_label: 'UNLISTED_NETWORK' +custom_edit_url: null +--- + +[RPCSPEC07](../namespaces/types.RPC.RPCSPEC07.md).[WALLET_API](../namespaces/types.RPC.RPCSPEC07.WALLET_API.md).UNLISTED_NETWORK + +## Properties + +### code + +• **code**: `112` + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/errors.d.ts:6 + +--- + +### message + +• **message**: `"An error occurred (UNLISTED_NETWORK)"` + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/errors.d.ts:7 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.USER_REFUSED_OP.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.USER_REFUSED_OP.md new file mode 100644 index 000000000..337c18c9c --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.USER_REFUSED_OP.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC07.WALLET_API.USER_REFUSED_OP' +title: 'Interface: USER_REFUSED_OP' +sidebar_label: 'USER_REFUSED_OP' +custom_edit_url: null +--- + +[RPCSPEC07](../namespaces/types.RPC.RPCSPEC07.md).[WALLET_API](../namespaces/types.RPC.RPCSPEC07.WALLET_API.md).USER_REFUSED_OP + +## Properties + +### code + +• **code**: `113` + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/errors.d.ts:10 + +--- + +### message + +• **message**: `"An error occurred (USER_REFUSED_OP)"` + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/errors.d.ts:11 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.WalletEventHandlers.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.WalletEventHandlers.md new file mode 100644 index 000000000..6660d3d7d --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.WalletEventHandlers.md @@ -0,0 +1,28 @@ +--- +id: 'types.RPC.RPCSPEC07.WALLET_API.WalletEventHandlers' +title: 'Interface: WalletEventHandlers' +sidebar_label: 'WalletEventHandlers' +custom_edit_url: null +--- + +[RPCSPEC07](../namespaces/types.RPC.RPCSPEC07.md).[WALLET_API](../namespaces/types.RPC.RPCSPEC07.WALLET_API.md).WalletEventHandlers + +## Properties + +### accountsChanged + +• **accountsChanged**: [`AccountChangeEventHandler`](../namespaces/types.RPC.RPCSPEC07.WALLET_API.md#accountchangeeventhandler) + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/events.d.ts:5 + +--- + +### networkChanged + +• **networkChanged**: [`NetworkChangeEventHandler`](../namespaces/types.RPC.RPCSPEC07.WALLET_API.md#networkchangeeventhandler) + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/events.d.ts:6 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.WatchAssetParameters.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.WatchAssetParameters.md new file mode 100644 index 000000000..df4dc218a --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.RPC.RPCSPEC07.WALLET_API.WatchAssetParameters.md @@ -0,0 +1,58 @@ +--- +id: 'types.RPC.RPCSPEC07.WALLET_API.WatchAssetParameters' +title: 'Interface: WatchAssetParameters' +sidebar_label: 'WatchAssetParameters' +custom_edit_url: null +--- + +[RPCSPEC07](../namespaces/types.RPC.RPCSPEC07.md).[WALLET_API](../namespaces/types.RPC.RPCSPEC07.WALLET_API.md).WatchAssetParameters + +EIP-747: + +**`See`** + +https://github.com/ethereum/EIPs/blob/master/EIPS/eip-747.md + +## Hierarchy + +- [`Asset`](../namespaces/types.RPC.RPCSPEC07.WALLET_API.md#asset) + + ↳ **`WatchAssetParameters`** + +## Properties + +### type + +• **type**: `"ERC20"` + +#### Inherited from + +Asset.type + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/components.d.ts:32 + +--- + +### options + +• **options**: `Object` + +#### Type declaration + +| Name | Type | +| :---------- | :------- | +| `address` | `string` | +| `symbol?` | `string` | +| `decimals?` | `number` | +| `image?` | `string` | +| `name?` | `string` | + +#### Inherited from + +Asset.options + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/components.d.ts:33 diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.Uint256.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.Uint256.md new file mode 100644 index 000000000..95cd83f62 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.Uint256.md @@ -0,0 +1,30 @@ +--- +id: 'types.Uint256' +title: 'Interface: Uint256' +sidebar_label: 'Uint256' +custom_edit_url: null +--- + +[types](../namespaces/types.md).Uint256 + +Represents an integer in the range [0, 2^256) + +## Properties + +### low + +• **low**: [`BigNumberish`](../namespaces/types.md#bignumberish) + +#### Defined in + +[src/types/lib/index.ts:31](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L31) + +--- + +### high + +• **high**: [`BigNumberish`](../namespaces/types.md#bignumberish) + +#### Defined in + +[src/types/lib/index.ts:33](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L33) diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.Uint512.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.Uint512.md new file mode 100644 index 000000000..91821d3c3 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.Uint512.md @@ -0,0 +1,50 @@ +--- +id: 'types.Uint512' +title: 'Interface: Uint512' +sidebar_label: 'Uint512' +custom_edit_url: null +--- + +[types](../namespaces/types.md).Uint512 + +Represents an integer in the range [0, 2^256) + +## Properties + +### limb0 + +• **limb0**: [`BigNumberish`](../namespaces/types.md#bignumberish) + +#### Defined in + +[src/types/lib/index.ts:41](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L41) + +--- + +### limb1 + +• **limb1**: [`BigNumberish`](../namespaces/types.md#bignumberish) + +#### Defined in + +[src/types/lib/index.ts:42](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L42) + +--- + +### limb2 + +• **limb2**: [`BigNumberish`](../namespaces/types.md#bignumberish) + +#### Defined in + +[src/types/lib/index.ts:43](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L43) + +--- + +### limb3 + +• **limb3**: [`BigNumberish`](../namespaces/types.md#bignumberish) + +#### Defined in + +[src/types/lib/index.ts:45](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L45) diff --git a/www/versioned_docs/version-6.11.0/API/interfaces/types.UniversalDetails.md b/www/versioned_docs/version-6.11.0/API/interfaces/types.UniversalDetails.md new file mode 100644 index 000000000..deabb950a --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/interfaces/types.UniversalDetails.md @@ -0,0 +1,124 @@ +--- +id: 'types.UniversalDetails' +title: 'Interface: UniversalDetails' +sidebar_label: 'UniversalDetails' +custom_edit_url: null +--- + +[types](../namespaces/types.md).UniversalDetails + +## Hierarchy + +- **`UniversalDetails`** + + ↳ [`EstimateFeeDetails`](types.EstimateFeeDetails.md) + +## Properties + +### nonce + +• `Optional` **nonce**: [`BigNumberish`](../namespaces/types.md#bignumberish) + +#### Defined in + +[src/types/account.ts:28](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/account.ts#L28) + +--- + +### blockIdentifier + +• `Optional` **blockIdentifier**: [`BlockIdentifier`](../namespaces/types.md#blockidentifier) + +#### Defined in + +[src/types/account.ts:29](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/account.ts#L29) + +--- + +### maxFee + +• `Optional` **maxFee**: [`BigNumberish`](../namespaces/types.md#bignumberish) + +#### Defined in + +[src/types/account.ts:30](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/account.ts#L30) + +--- + +### tip + +• `Optional` **tip**: [`BigNumberish`](../namespaces/types.md#bignumberish) + +#### Defined in + +[src/types/account.ts:31](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/account.ts#L31) + +--- + +### paymasterData + +• `Optional` **paymasterData**: [`BigNumberish`](../namespaces/types.md#bignumberish)[] + +#### Defined in + +[src/types/account.ts:32](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/account.ts#L32) + +--- + +### accountDeploymentData + +• `Optional` **accountDeploymentData**: [`BigNumberish`](../namespaces/types.md#bignumberish)[] + +#### Defined in + +[src/types/account.ts:33](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/account.ts#L33) + +--- + +### nonceDataAvailabilityMode + +• `Optional` **nonceDataAvailabilityMode**: [`EDataAvailabilityMode`](../namespaces/types.RPC.RPCSPEC07.API.md#edataavailabilitymode-1) + +#### Defined in + +[src/types/account.ts:34](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/account.ts#L34) + +--- + +### feeDataAvailabilityMode + +• `Optional` **feeDataAvailabilityMode**: [`EDataAvailabilityMode`](../namespaces/types.RPC.RPCSPEC07.API.md#edataavailabilitymode-1) + +#### Defined in + +[src/types/account.ts:35](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/account.ts#L35) + +--- + +### version + +• `Optional` **version**: [`BigNumberish`](../namespaces/types.md#bignumberish) + +#### Defined in + +[src/types/account.ts:36](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/account.ts#L36) + +--- + +### resourceBounds + +• `Optional` **resourceBounds**: [`RESOURCE_BOUNDS_MAPPING`](../namespaces/types.RPC.RPCSPEC07.API.SPEC.md#resource_bounds_mapping) + +#### Defined in + +[src/types/account.ts:37](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/account.ts#L37) + +--- + +### skipValidate + +• `Optional` **skipValidate**: `boolean` + +#### Defined in + +[src/types/account.ts:38](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/account.ts#L38) diff --git a/www/versioned_docs/version-6.11.0/API/modules.md b/www/versioned_docs/version-6.11.0/API/modules.md new file mode 100644 index 000000000..1c1b49510 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/modules.md @@ -0,0 +1,1692 @@ +--- +id: 'modules' +title: 'Starknet.js API - v7.0.0' +sidebar_label: 'Exports' +sidebar_position: 0.5 +custom_edit_url: null +--- + +## Namespaces + +- [types](namespaces/types.md) +- [constants](namespaces/constants.md) +- [encode](namespaces/encode.md) +- [hash](namespaces/hash.md) +- [v3hash](namespaces/v3hash.md) +- [v2hash](namespaces/v2hash.md) +- [json](namespaces/json.md) +- [num](namespaces/num.md) +- [transaction](namespaces/transaction.md) +- [stark](namespaces/stark.md) +- [eth](namespaces/eth.md) +- [merkle](namespaces/merkle.md) +- [uint256](namespaces/uint256.md) +- [shortString](namespaces/shortString.md) +- [typedData](namespaces/typedData.md) +- [ec](namespaces/ec.md) +- [starknetId](namespaces/starknetId.md) +- [provider](namespaces/provider-1.md) +- [selector](namespaces/selector.md) +- [events](namespaces/events.md) +- [wallet](namespaces/wallet.md) +- [RPC06](namespaces/RPC06.md) +- [RPC07](namespaces/RPC07.md) +- [cairo](namespaces/cairo.md) +- [byteArray](namespaces/byteArray.md) + +## Enumerations + +- [CairoOptionVariant](enums/CairoOptionVariant.md) +- [CairoResultVariant](enums/CairoResultVariant.md) + +## Classes + +- [WalletAccount](classes/WalletAccount.md) +- [Account](classes/Account.md) +- [AccountInterface](classes/AccountInterface.md) +- [Contract](classes/Contract.md) +- [ContractInterface](classes/ContractInterface.md) +- [ContractFactory](classes/ContractFactory.md) +- [Provider](classes/Provider.md) +- [CustomError](classes/CustomError.md) +- [LibraryError](classes/LibraryError.md) +- [GatewayError](classes/GatewayError.md) +- [HttpError](classes/HttpError.md) +- [ProviderInterface](classes/ProviderInterface.md) +- [SignerInterface](classes/SignerInterface.md) +- [Signer](classes/Signer.md) +- [EthSigner](classes/EthSigner.md) +- [ResponseParser](classes/ResponseParser.md) +- [RPCResponseParser](classes/RPCResponseParser.md) +- [CairoUint256](classes/CairoUint256.md) +- [CairoUint512](classes/CairoUint512.md) +- [CallData](classes/CallData.md) +- [CairoCustomEnum](classes/CairoCustomEnum.md) +- [CairoOption](classes/CairoOption.md) +- [CairoResult](classes/CairoResult.md) +- [ReceiptTx](classes/ReceiptTx.md) + +## References + +### RpcProvider + +Renames and re-exports [Provider](classes/Provider.md) + +--- + +### RpcChannel + +Re-exports [RpcChannel](classes/RPC07.RpcChannel.md) + +--- + +### RPC + +Re-exports [RPC](namespaces/types.RPC.md) + +--- + +### EstimateFee + +Re-exports [EstimateFee](interfaces/types.EstimateFee.md) + +--- + +### EstimateFeeBulk + +Re-exports [EstimateFeeBulk](namespaces/types.md#estimatefeebulk) + +--- + +### AccountInvocationsFactoryDetails + +Re-exports [AccountInvocationsFactoryDetails](namespaces/types.md#accountinvocationsfactorydetails) + +--- + +### UniversalDetails + +Re-exports [UniversalDetails](interfaces/types.UniversalDetails.md) + +--- + +### EstimateFeeDetails + +Re-exports [EstimateFeeDetails](interfaces/types.EstimateFeeDetails.md) + +--- + +### DeployContractResponse + +Re-exports [DeployContractResponse](interfaces/types.DeployContractResponse.md) + +--- + +### MultiDeployContractResponse + +Re-exports [MultiDeployContractResponse](namespaces/types.md#multideploycontractresponse) + +--- + +### DeployContractUDCResponse + +Re-exports [DeployContractUDCResponse](namespaces/types.md#deploycontractudcresponse) + +--- + +### DeclareDeployUDCResponse + +Re-exports [DeclareDeployUDCResponse](namespaces/types.md#declaredeployudcresponse) + +--- + +### SimulateTransactionDetails + +Re-exports [SimulateTransactionDetails](namespaces/types.md#simulatetransactiondetails) + +--- + +### EstimateFeeAction + +Re-exports [EstimateFeeAction](namespaces/types.md#estimatefeeaction) + +--- + +### StarkProfile + +Re-exports [StarkProfile](namespaces/types.md#starkprofile) + +--- + +### ValidateType + +Re-exports [ValidateType](enums/types.ValidateType.md) + +--- + +### Uint + +Re-exports [Uint](enums/types.Uint.md) + +--- + +### Literal + +Re-exports [Literal](enums/types.Literal.md) + +--- + +### AsyncContractFunction + +Re-exports [AsyncContractFunction](namespaces/types.md#asynccontractfunction) + +--- + +### ContractFunction + +Re-exports [ContractFunction](namespaces/types.md#contractfunction) + +--- + +### Result + +Re-exports [Result](namespaces/types.md#result) + +--- + +### ArgsOrCalldata + +Re-exports [ArgsOrCalldata](namespaces/types.md#argsorcalldata) + +--- + +### ArgsOrCalldataWithOptions + +Re-exports [ArgsOrCalldataWithOptions](namespaces/types.md#argsorcalldatawithoptions) + +--- + +### ContractOptions + +Re-exports [ContractOptions](namespaces/types.md#contractoptions) + +--- + +### CallOptions + +Re-exports [CallOptions](namespaces/types.md#calloptions) + +--- + +### InvokeOptions + +Re-exports [InvokeOptions](namespaces/types.md#invokeoptions) + +--- + +### ParsedEvent + +Re-exports [ParsedEvent](namespaces/types.md#parsedevent) + +--- + +### ParsedEvents + +Re-exports [ParsedEvents](namespaces/types.md#parsedevents) + +--- + +### WeierstrassSignatureType + +Re-exports [WeierstrassSignatureType](namespaces/types.md#weierstrasssignaturetype) + +--- + +### ArraySignatureType + +Re-exports [ArraySignatureType](namespaces/types.md#arraysignaturetype) + +--- + +### Signature + +Re-exports [Signature](namespaces/types.md#signature) + +--- + +### BigNumberish + +Re-exports [BigNumberish](namespaces/types.md#bignumberish) + +--- + +### ByteArray + +Re-exports [ByteArray](namespaces/types.md#bytearray) + +--- + +### Calldata + +Re-exports [Calldata](namespaces/types.md#calldata) + +--- + +### Uint256 + +Re-exports [Uint256](interfaces/types.Uint256.md) + +--- + +### Uint512 + +Re-exports [Uint512](interfaces/types.Uint512.md) + +--- + +### RawCalldata + +Re-exports [RawCalldata](namespaces/types.md#rawcalldata) + +--- + +### HexCalldata + +Re-exports [HexCalldata](namespaces/types.md#hexcalldata) + +--- + +### AllowArray + +Re-exports [AllowArray](namespaces/types.md#allowarray) + +--- + +### OptionalPayload + +Re-exports [OptionalPayload](namespaces/types.md#optionalpayload) + +--- + +### RawArgs + +Re-exports [RawArgs](namespaces/types.md#rawargs) + +--- + +### RawArgsObject + +Re-exports [RawArgsObject](namespaces/types.md#rawargsobject) + +--- + +### RawArgsArray + +Re-exports [RawArgsArray](namespaces/types.md#rawargsarray) + +--- + +### MultiType + +Re-exports [MultiType](namespaces/types.md#multitype) + +--- + +### UniversalDeployerContractPayload + +Re-exports [UniversalDeployerContractPayload](namespaces/types.md#universaldeployercontractpayload) + +--- + +### DeployAccountContractPayload + +Re-exports [DeployAccountContractPayload](namespaces/types.md#deployaccountcontractpayload) + +--- + +### DeployAccountContractTransaction + +Re-exports [DeployAccountContractTransaction](namespaces/types.md#deployaccountcontracttransaction) + +--- + +### DeclareContractPayload + +Re-exports [DeclareContractPayload](namespaces/types.md#declarecontractpayload) + +--- + +### CompleteDeclareContractPayload + +Re-exports [CompleteDeclareContractPayload](namespaces/types.md#completedeclarecontractpayload) + +--- + +### DeclareAndDeployContractPayload + +Re-exports [DeclareAndDeployContractPayload](namespaces/types.md#declareanddeploycontractpayload) + +--- + +### DeclareContractTransaction + +Re-exports [DeclareContractTransaction](namespaces/types.md#declarecontracttransaction) + +--- + +### CallDetails + +Re-exports [CallDetails](namespaces/types.md#calldetails) + +--- + +### Invocation + +Re-exports [Invocation](namespaces/types.md#invocation) + +--- + +### Call + +Re-exports [Call](namespaces/types.md#call) + +--- + +### CairoVersion + +Re-exports [CairoVersion](namespaces/types.md#cairoversion) + +--- + +### CompilerVersion + +Re-exports [CompilerVersion](namespaces/types.md#compilerversion) + +--- + +### InvocationsDetails + +Re-exports [InvocationsDetails](namespaces/types.md#invocationsdetails) + +--- + +### V3TransactionDetails + +Re-exports [V3TransactionDetails](namespaces/types.md#v3transactiondetails) + +--- + +### Details + +Re-exports [Details](namespaces/types.md#details) + +--- + +### InvocationsDetailsWithNonce + +Re-exports [InvocationsDetailsWithNonce](namespaces/types.md#invocationsdetailswithnonce) + +--- + +### TransactionType + +Re-exports [TransactionType](enums/types.TransactionType.md) + +--- + +### TransactionStatus + +Re-exports [TransactionStatus](enums/types.TransactionStatus.md) + +--- + +### TransactionFinalityStatus + +Re-exports [TransactionFinalityStatus](enums/types.TransactionFinalityStatus.md) + +--- + +### TransactionExecutionStatus + +Re-exports [TransactionExecutionStatus](enums/types.TransactionExecutionStatus.md) + +--- + +### BlockStatus + +Re-exports [BlockStatus](enums/types.BlockStatus.md) + +--- + +### BlockTag + +Re-exports [BlockTag](enums/types.BlockTag.md) + +--- + +### BlockNumber + +Re-exports [BlockNumber](namespaces/types.md#blocknumber) + +--- + +### BlockIdentifier + +Re-exports [BlockIdentifier](namespaces/types.md#blockidentifier) + +--- + +### AccountInvocationItem + +Re-exports [AccountInvocationItem](namespaces/types.md#accountinvocationitem) + +--- + +### AccountInvocations + +Re-exports [AccountInvocations](namespaces/types.md#accountinvocations) + +--- + +### Invocations + +Re-exports [Invocations](namespaces/types.md#invocations) + +--- + +### Tupled + +Re-exports [Tupled](namespaces/types.md#tupled) + +--- + +### Args + +Re-exports [Args](namespaces/types.md#args) + +--- + +### ParsedStruct + +Re-exports [ParsedStruct](namespaces/types.md#parsedstruct) + +--- + +### waitForTransactionOptions + +Re-exports [waitForTransactionOptions](namespaces/types.md#waitfortransactionoptions) + +--- + +### getSimulateTransactionOptions + +Re-exports [getSimulateTransactionOptions](namespaces/types.md#getsimulatetransactionoptions) + +--- + +### getContractVersionOptions + +Re-exports [getContractVersionOptions](namespaces/types.md#getcontractversionoptions) + +--- + +### getEstimateFeeBulkOptions + +Re-exports [getEstimateFeeBulkOptions](namespaces/types.md#getestimatefeebulkoptions) + +--- + +### CallStruct + +Re-exports [CallStruct](interfaces/types.CallStruct.md) + +--- + +### ContractVersion + +Re-exports [ContractVersion](namespaces/types.md#contractversion) + +--- + +### ContractClass + +Re-exports [ContractClass](namespaces/types.md#contractclass) + +--- + +### CompiledContract + +Re-exports [CompiledContract](namespaces/types.md#compiledcontract) + +--- + +### CairoContract + +Re-exports [CairoContract](namespaces/types.md#cairocontract) + +--- + +### EntryPointType + +Re-exports [EntryPointType](enums/types.EntryPointType.md) + +--- + +### Abi + +Re-exports [Abi](namespaces/types.md#abi) + +--- + +### AbiEntry + +Re-exports [AbiEntry](namespaces/types.md#abientry) + +--- + +### EventEntry + +Re-exports [EventEntry](namespaces/types.md#evententry) + +--- + +### FunctionAbi + +Re-exports [FunctionAbi](namespaces/types.md#functionabi) + +--- + +### AbiStructs + +Re-exports [AbiStructs](namespaces/types.md#abistructs) + +--- + +### AbiStruct + +Re-exports [AbiStruct](namespaces/types.md#abistruct) + +--- + +### AbiInterfaces + +Re-exports [AbiInterfaces](namespaces/types.md#abiinterfaces) + +--- + +### InterfaceAbi + +Re-exports [InterfaceAbi](namespaces/types.md#interfaceabi) + +--- + +### AbiEnums + +Re-exports [AbiEnums](namespaces/types.md#abienums) + +--- + +### AbiEnum + +Re-exports [AbiEnum](namespaces/types.md#abienum) + +--- + +### AbiEvents + +Re-exports [AbiEvents](namespaces/types.md#abievents) + +--- + +### AbiEvent + +Re-exports [AbiEvent](namespaces/types.md#abievent) + +--- + +### CairoEvent + +Re-exports [CairoEvent](namespaces/types.md#cairoevent) + +--- + +### CairoEventDefinition + +Re-exports [CairoEventDefinition](namespaces/types.md#cairoeventdefinition) + +--- + +### CairoEventVariant + +Re-exports [CairoEventVariant](namespaces/types.md#cairoeventvariant) + +--- + +### LegacyEvent + +Re-exports [LegacyEvent](namespaces/types.md#legacyevent) + +--- + +### LegacyContractClass + +Re-exports [LegacyContractClass](namespaces/types.md#legacycontractclass) + +--- + +### LegacyCompiledContract + +Re-exports [LegacyCompiledContract](namespaces/types.md#legacycompiledcontract) + +--- + +### Builtins + +Re-exports [Builtins](namespaces/types.md#builtins) + +--- + +### CompressedProgram + +Re-exports [CompressedProgram](namespaces/types.md#compressedprogram) + +--- + +### EntryPointsByType + +Re-exports [EntryPointsByType](namespaces/types.md#entrypointsbytype) + +--- + +### ContractEntryPointFields + +Re-exports [ContractEntryPointFields](namespaces/types.md#contractentrypointfields) + +--- + +### Program + +Re-exports [Program](interfaces/types.Program.md) + +--- + +### CairoAssembly + +Re-exports [CairoAssembly](namespaces/types.md#cairoassembly) + +--- + +### CompiledSierra + +Re-exports [CompiledSierra](namespaces/types.md#compiledsierra) + +--- + +### SierraContractClass + +Re-exports [SierraContractClass](namespaces/types.md#sierracontractclass) + +--- + +### CompiledSierraCasm + +Re-exports [CompiledSierraCasm](namespaces/types.md#compiledsierracasm) + +--- + +### ByteCode + +Re-exports [ByteCode](namespaces/types.md#bytecode) + +--- + +### PythonicHints + +Re-exports [PythonicHints](namespaces/types.md#pythonichints) + +--- + +### SierraProgramDebugInfo + +Re-exports [SierraProgramDebugInfo](namespaces/types.md#sierraprogramdebuginfo) + +--- + +### SierraEntryPointsByType + +Re-exports [SierraEntryPointsByType](namespaces/types.md#sierraentrypointsbytype) + +--- + +### SierraContractEntryPointFields + +Re-exports [SierraContractEntryPointFields](namespaces/types.md#sierracontractentrypointfields) + +--- + +### ProviderOptions + +Re-exports [ProviderOptions](interfaces/types.ProviderOptions.md) + +--- + +### RpcProviderOptions + +Re-exports [RpcProviderOptions](namespaces/types.md#rpcprovideroptions) + +--- + +### BlockWithTxHashes + +Re-exports [BlockWithTxHashes](namespaces/types.md#blockwithtxhashes) + +--- + +### ContractClassPayload + +Re-exports [ContractClassPayload](namespaces/types.md#contractclasspayload) + +--- + +### FeeEstimate + +Re-exports [FeeEstimate](namespaces/types.md#feeestimate) + +--- + +### TransactionReceipt + +Re-exports [TransactionReceipt](namespaces/types.md#transactionreceipt) + +--- + +### GetBlockResponse + +Re-exports [GetBlockResponse](namespaces/types.md#getblockresponse) + +--- + +### PendingBlock + +Re-exports [PendingBlock](namespaces/types.md#pendingblock) + +--- + +### Block + +Re-exports [Block](namespaces/types.md#block) + +--- + +### MessageToL1 + +Re-exports [MessageToL1](interfaces/types.MessageToL1.md) + +--- + +### RevertedTransactionReceiptResponse + +Re-exports [RevertedTransactionReceiptResponse](namespaces/types.md#revertedtransactionreceiptresponse) + +--- + +### RejectedTransactionReceiptResponse + +Re-exports [RejectedTransactionReceiptResponse](namespaces/types.md#rejectedtransactionreceiptresponse) + +--- + +### GetTxReceiptResponseWithoutHelper + +Re-exports [GetTxReceiptResponseWithoutHelper](namespaces/types.md#gettxreceiptresponsewithouthelper) + +--- + +### SuccessfulTransactionReceiptResponse + +Re-exports [SuccessfulTransactionReceiptResponse](namespaces/types.md#successfultransactionreceiptresponse) + +--- + +### GetTransactionResponse + +Re-exports [GetTransactionResponse](namespaces/types.md#gettransactionresponse) + +--- + +### InvokeTransactionReceiptResponse + +Re-exports [InvokeTransactionReceiptResponse](namespaces/types.md#invoketransactionreceiptresponse) + +--- + +### DeclareTransactionReceiptResponse + +Re-exports [DeclareTransactionReceiptResponse](namespaces/types.md#declaretransactionreceiptresponse) + +--- + +### DeployTransactionReceiptResponse + +Re-exports [DeployTransactionReceiptResponse](namespaces/types.md#deploytransactionreceiptresponse) + +--- + +### DeployAccountTransactionReceiptResponse + +Re-exports [DeployAccountTransactionReceiptResponse](namespaces/types.md#deployaccounttransactionreceiptresponse) + +--- + +### L1HandlerTransactionReceiptResponse + +Re-exports [L1HandlerTransactionReceiptResponse](namespaces/types.md#l1handlertransactionreceiptresponse) + +--- + +### EstimateFeeResponse + +Re-exports [EstimateFeeResponse](interfaces/types.EstimateFeeResponse.md) + +--- + +### EstimateFeeResponseBulk + +Re-exports [EstimateFeeResponseBulk](namespaces/types.md#estimatefeeresponsebulk) + +--- + +### InvokeFunctionResponse + +Re-exports [InvokeFunctionResponse](namespaces/types.md#invokefunctionresponse) + +--- + +### DeclareContractResponse + +Re-exports [DeclareContractResponse](namespaces/types.md#declarecontractresponse) + +--- + +### CallContractResponse + +Re-exports [CallContractResponse](namespaces/types.md#callcontractresponse) + +--- + +### Storage + +Re-exports [Storage](namespaces/types.md#storage) + +--- + +### Nonce + +Re-exports [Nonce](namespaces/types.md#nonce) + +--- + +### SIMULATION_FLAG + +Re-exports [SIMULATION_FLAG](namespaces/types.md#simulation_flag) + +--- + +### SimulationFlags + +Re-exports [SimulationFlags](namespaces/types.md#simulationflags) + +--- + +### SimulatedTransaction + +Re-exports [SimulatedTransaction](namespaces/types.md#simulatedtransaction) + +--- + +### SimulateTransactionResponse + +Re-exports [SimulateTransactionResponse](namespaces/types.md#simulatetransactionresponse) + +--- + +### StateUpdateResponse + +Re-exports [StateUpdateResponse](namespaces/types.md#stateupdateresponse) + +--- + +### StateUpdate + +Re-exports [StateUpdate](namespaces/types.md#stateupdate) + +--- + +### PendingStateUpdate + +Re-exports [PendingStateUpdate](namespaces/types.md#pendingstateupdate) + +--- + +### ContractClassResponse + +Re-exports [ContractClassResponse](namespaces/types.md#contractclassresponse) + +--- + +### InvocationsSignerDetails + +Re-exports [InvocationsSignerDetails](namespaces/types.md#invocationssignerdetails) + +--- + +### V2InvocationsSignerDetails + +Re-exports [V2InvocationsSignerDetails](namespaces/types.md#v2invocationssignerdetails) + +--- + +### V3InvocationsSignerDetails + +Re-exports [V3InvocationsSignerDetails](namespaces/types.md#v3invocationssignerdetails) + +--- + +### DeclareSignerDetails + +Re-exports [DeclareSignerDetails](namespaces/types.md#declaresignerdetails) + +--- + +### V2DeclareSignerDetails + +Re-exports [V2DeclareSignerDetails](namespaces/types.md#v2declaresignerdetails) + +--- + +### V3DeclareSignerDetails + +Re-exports [V3DeclareSignerDetails](namespaces/types.md#v3declaresignerdetails) + +--- + +### DeployAccountSignerDetails + +Re-exports [DeployAccountSignerDetails](namespaces/types.md#deployaccountsignerdetails) + +--- + +### V2DeployAccountSignerDetails + +Re-exports [V2DeployAccountSignerDetails](namespaces/types.md#v2deployaccountsignerdetails) + +--- + +### V3DeployAccountSignerDetails + +Re-exports [V3DeployAccountSignerDetails](namespaces/types.md#v3deployaccountsignerdetails) + +--- + +### TypedDataRevision + +Re-exports [TypedDataRevision](namespaces/types.RPC.RPCSPEC07.WALLET_API.md#typeddatarevision-1) + +--- + +### StarknetEnumType + +Re-exports [StarknetEnumType](namespaces/types.RPC.RPCSPEC07.WALLET_API.md#starknetenumtype) + +--- + +### StarknetMerkleType + +Re-exports [StarknetMerkleType](namespaces/types.RPC.RPCSPEC07.WALLET_API.md#starknetmerkletype) + +--- + +### StarknetType + +Re-exports [StarknetType](namespaces/types.RPC.RPCSPEC07.WALLET_API.md#starknettype) + +--- + +### StarknetDomain + +Re-exports [StarknetDomain](interfaces/types.RPC.RPCSPEC07.WALLET_API.StarknetDomain.md) + +--- + +### TypedData + +Re-exports [TypedData](interfaces/types.RPC.RPCSPEC07.WALLET_API.TypedData.md) + +--- + +### CairoEnum + +Re-exports [CairoEnum](namespaces/types.md#cairoenum) + +--- + +### TransactionStatusReceiptSets + +Re-exports [TransactionStatusReceiptSets](namespaces/types.md#transactionstatusreceiptsets) + +--- + +### TransactionReceiptStatus + +Re-exports [TransactionReceiptStatus](namespaces/types.md#transactionreceiptstatus) + +--- + +### TransactionReceiptValue + +Re-exports [TransactionReceiptValue](namespaces/types.md#transactionreceiptvalue) + +--- + +### TransactionReceiptCallbacksDefined + +Re-exports [TransactionReceiptCallbacksDefined](namespaces/types.md#transactionreceiptcallbacksdefined) + +--- + +### TransactionReceiptCallbacksDefault + +Re-exports [TransactionReceiptCallbacksDefault](namespaces/types.md#transactionreceiptcallbacksdefault) + +--- + +### TransactionReceiptCallbacks + +Re-exports [TransactionReceiptCallbacks](namespaces/types.md#transactionreceiptcallbacks) + +--- + +### TransactionReceiptUtilityInterface + +Re-exports [TransactionReceiptUtilityInterface](namespaces/types.md#transactionreceiptutilityinterface) + +--- + +### UINT_128_MAX + +Re-exports [UINT_128_MAX](namespaces/uint256.md#uint_128_max) + +--- + +### UINT_256_MAX + +Re-exports [UINT_256_MAX](namespaces/uint256.md#uint_256_max) + +## Type Aliases + +### TypedContractV2 + +Ƭ **TypedContractV2**<`TAbi`\>: `AbiWanTypedContract`<`TAbi`\> & [`Contract`](classes/Contract.md) + +#### Type parameters + +| Name | Type | +| :----- | :------------------ | +| `TAbi` | extends `AbiKanabi` | + +#### Defined in + +[src/contract/default.ts:35](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/default.ts#L35) + +--- + +### ContractFactoryParams + +Ƭ **ContractFactoryParams**: `Object` + +#### Type declaration + +| Name | Type | +| :------------------- | :--------------------------------------------------------- | +| `compiledContract` | [`CompiledContract`](namespaces/types.md#compiledcontract) | +| `account` | `any` | +| `casm?` | [`CairoAssembly`](namespaces/types.md#cairoassembly) | +| `classHash?` | `string` | +| `compiledClassHash?` | `string` | +| `abi?` | [`Abi`](namespaces/types.md#abi) | + +#### Defined in + +[src/contract/contractFactory.ts:13](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/contractFactory.ts#L13) + +--- + +### CairoEnumRaw + +Ƭ **CairoEnumRaw**: `Object` + +#### Index signature + +▪ [key: `string`]: `any` + +#### Defined in + +[src/utils/calldata/enum/CairoCustomEnum.ts:1](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/enum/CairoCustomEnum.ts#L1) + +--- + +### GetTransactionReceiptResponse + +Ƭ **GetTransactionReceiptResponse**: [`GetTxReceiptResponseWithoutHelper`](namespaces/types.md#gettxreceiptresponsewithouthelper) & [`ReceiptTx`](classes/ReceiptTx.md) + +#### Defined in + +[src/utils/transactionReceipt.ts:114](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/transactionReceipt.ts#L114) + +## Variables + +### number + +• `Const` **number**: [`num`](namespaces/num.md) = `num` + +**`Deprecated`** + +prefer the 'num' naming + +#### Defined in + +[src/index.ts:55](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/index.ts#L55) + +--- + +### defaultProvider + +• `Const` **defaultProvider**: `RpcProvider` + +#### Defined in + +[src/provider/index.ts:8](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/index.ts#L8) + +--- + +### UINT_256_MIN + +• `Const` **UINT_256_MIN**: `0n` + +#### Defined in + +[src/utils/cairoDataTypes/uint256.ts:12](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/cairoDataTypes/uint256.ts#L12) + +--- + +### UINT_256_LOW_MAX + +• `Const` **UINT_256_LOW_MAX**: `340282366920938463463374607431768211455n` + +#### Defined in + +[src/utils/cairoDataTypes/uint256.ts:13](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/cairoDataTypes/uint256.ts#L13) + +--- + +### UINT_256_HIGH_MAX + +• `Const` **UINT_256_HIGH_MAX**: `340282366920938463463374607431768211455n` + +#### Defined in + +[src/utils/cairoDataTypes/uint256.ts:14](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/cairoDataTypes/uint256.ts#L14) + +--- + +### UINT_256_LOW_MIN + +• `Const` **UINT_256_LOW_MIN**: `0n` + +#### Defined in + +[src/utils/cairoDataTypes/uint256.ts:15](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/cairoDataTypes/uint256.ts#L15) + +--- + +### UINT_256_HIGH_MIN + +• `Const` **UINT_256_HIGH_MIN**: `0n` + +#### Defined in + +[src/utils/cairoDataTypes/uint256.ts:16](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/cairoDataTypes/uint256.ts#L16) + +--- + +### UINT_512_MAX + +• `Const` **UINT_512_MAX**: `bigint` + +#### Defined in + +[src/utils/cairoDataTypes/uint512.ts:11](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/cairoDataTypes/uint512.ts#L11) + +--- + +### UINT_512_MIN + +• `Const` **UINT_512_MIN**: `0n` + +#### Defined in + +[src/utils/cairoDataTypes/uint512.ts:12](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/cairoDataTypes/uint512.ts#L12) + +--- + +### UINT_128_MIN + +• `Const` **UINT_128_MIN**: `0n` + +#### Defined in + +[src/utils/cairoDataTypes/uint512.ts:13](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/cairoDataTypes/uint512.ts#L13) + +## Functions + +### getCalldata + +▸ **getCalldata**(`args`, `callback`): [`Calldata`](namespaces/types.md#calldata) + +#### Parameters + +| Name | Type | +| :--------- | :--------------------------------------- | +| `args` | [`RawArgs`](namespaces/types.md#rawargs) | +| `callback` | `Function` | + +#### Returns + +[`Calldata`](namespaces/types.md#calldata) + +#### Defined in + +[src/contract/default.ts:110](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/default.ts#L110) + +--- + +### splitArgsAndOptions + +▸ **splitArgsAndOptions**(`args`): \{ `args`: [`ArgsOrCalldata`](namespaces/types.md#argsorcalldata) ; `options`: [`ContractOptions`](namespaces/types.md#contractoptions) } \| \{ `args`: [`ArgsOrCalldata`](namespaces/types.md#argsorcalldata) ; `options?`: `undefined` } + +#### Parameters + +| Name | Type | +| :----- | :--------------------------------------------------------------------------- | +| `args` | [`ArgsOrCalldataWithOptions`](namespaces/types.md#argsorcalldatawithoptions) | + +#### Returns + +\{ `args`: [`ArgsOrCalldata`](namespaces/types.md#argsorcalldata) ; `options`: [`ContractOptions`](namespaces/types.md#contractoptions) } \| \{ `args`: [`ArgsOrCalldata`](namespaces/types.md#argsorcalldata) ; `options?`: `undefined` } + +#### Defined in + +[src/contract/default.ts:37](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/contract/default.ts#L37) + +--- + +### fixStack + +▸ **fixStack**(`target`, `fn?`): `void` + +#### Parameters + +| Name | Type | Default value | +| :------- | :--------- | :------------------- | +| `target` | `Error` | `undefined` | +| `fn` | `Function` | `target.constructor` | + +#### Returns + +`void` + +#### Defined in + +[src/provider/errors.ts:2](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/errors.ts#L2) + +--- + +### fixProto + +▸ **fixProto**(`target`, `prototype`): `void` + +#### Parameters + +| Name | Type | +| :---------- | :------- | +| `target` | `Error` | +| `prototype` | `Object` | + +#### Returns + +`void` + +#### Defined in + +[src/provider/errors.ts:8](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/provider/errors.ts#L8) + +--- + +### addAddressPadding + +▸ **addAddressPadding**(`address`): `string` + +Format a hex number to '0x' and 64 characters, adding leading zeros if necessary. + +#### Parameters + +| Name | Type | +| :-------- | :------------------------------------------------- | +| `address` | [`BigNumberish`](namespaces/types.md#bignumberish) | + +#### Returns + +`string` + +Hex string : 0x followed by 64 characters. No upper case characters in the response. + +**`Example`** + +```typescript +const address = '0x90591d9fa3efc87067d95a643f8455e0b8190eb8cb7bfd39e4fb7571fdf'; +const result = addAddressPadding(address); +// result = "0x0000090591d9fa3efc87067d95a643f8455e0b8190eb8cb7bfd39e4fb7571fdf" +``` + +#### Defined in + +[src/utils/address.ts:22](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/address.ts#L22) + +--- + +### validateAndParseAddress + +▸ **validateAndParseAddress**(`address`): `string` + +Check the validity of a Starknet address, and format it as a hex number : '0x' and 64 characters, adding leading zeros if necessary. + +#### Parameters + +| Name | Type | +| :-------- | :------------------------------------------------- | +| `address` | [`BigNumberish`](namespaces/types.md#bignumberish) | + +#### Returns + +`string` + +Hex string : 0x followed by 64 characters. No upper case characters in the response. + +**`Throws`** + +address argument must be a valid address inside the address range bound + +**`Example`** + +```typescript +const address = '0x90591d9fa3efc87067d95a643f8455e0b8190eb8cb7bfd39e4fb7571fdf'; +const result = validateAndParseAddress(address); +// result = "0x0000090591d9fa3efc87067d95a643f8455e0b8190eb8cb7bfd39e4fb7571fdf" +``` + +#### Defined in + +[src/utils/address.ts:41](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/address.ts#L41) + +--- + +### getChecksumAddress + +▸ **getChecksumAddress**(`address`): `string` + +Convert an address to her checksum representation which uses a specific pattern of uppercase and lowercase letters within +a given address to reduce the risk of errors introduced from typing an address or cut and paste issues. + +#### Parameters + +| Name | Type | +| :-------- | :------------------------------------------------- | +| `address` | [`BigNumberish`](namespaces/types.md#bignumberish) | + +#### Returns + +`string` + +Hex string : 0x followed by 64 characters. Mix of uppercase and lowercase + +**`Example`** + +```typescript +const address = '0x90591d9fa3efc87067d95a643f8455e0b8190eb8cb7bfd39e4fb7571fdf'; +const result = getChecksumAddress(address); +// result = "0x0000090591D9fA3EfC87067d95a643f8455E0b8190eb8Cb7bFd39e4fb7571fDF" +``` + +#### Defined in + +[src/utils/address.ts:66](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/address.ts#L66) + +--- + +### validateChecksumAddress + +▸ **validateChecksumAddress**(`address`): `boolean` + +If the casing of an address is mixed, it is a Checksum Address, which uses a specific pattern of uppercase and lowercase letters within +a given address to reduce the risk of errors introduced from typing an address or cut and paste issues. + +#### Parameters + +| Name | Type | Description | +| :-------- | :------- | :---------- | +| `address` | `string` | string | + +#### Returns + +`boolean` + +true if the ChecksumAddress is valid + +**`Example`** + +```typescript +const address = '0x0000090591D9fA3EfC87067d95a643f8455E0b8190eb8Cb7bFd39e4fb7571fDF'; +const result = validateChecksumAddress(address); +// result = true +``` + +#### Defined in + +[src/utils/address.ts:96](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/address.ts#L96) + +--- + +### isUrl + +▸ **isUrl**(`s?`): `boolean` + +Loosely validate a URL `string`. + +#### Parameters + +| Name | Type | Description | +| :--- | :------- | :------------------- | +| `s?` | `string` | The URL to check for | + +#### Returns + +`boolean` + +`true` if url is valid, `false` otherwise + +**`Example`** + +````typescript +const s = "https://starknetjs.com/docs"; +const result = isUrl(s); +// result == true + +#### Defined in + +[src/utils/url.ts:28](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/url.ts#L28) + +___ + +### buildUrl + +▸ **buildUrl**(`baseUrl`, `defaultPath`, `urlOrPath?`): `string` + +Builds a URL using the provided base URL, default path, and optional URL or path. + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `baseUrl` | `string` | The base URL of the URL being built. | +| `defaultPath` | `string` | The default path to use if no URL or path is provided. | +| `urlOrPath?` | `string` | The optional URL or path to append to the base URL. | + +#### Returns + +`string` + +The built URL. + +**`Example`** + +```typescript +const baseUrl = "https://starknetjs.com"; +const defaultPath = "/"; +const urlOrPath = "/docs"; +const result = buildUrl(baseUrl, defaultPath, urlOrPath); + +result = "https://starknetjs.com/docs" + +#### Defined in + +[src/utils/url.ts:73](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/url.ts#L73) + +___ + +### parseCalldataField + +▸ **parseCalldataField**(`argsIterator`, `input`, `structs`, `enums`): `string` \| `string`[] + +Parse one field of the calldata by using input field from the abi for that method + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `argsIterator` | `Iterator`<`any`, `any`, `undefined`\> | Iterator for value of the field | +| `input` | [`AbiEntry`](namespaces/types.md#abientry) | input(field) information from the abi that will be used to parse the data | +| `structs` | [`AbiStructs`](namespaces/types.md#abistructs) | structs from abi | +| `enums` | [`AbiEnums`](namespaces/types.md#abienums) | enums from abi | + +#### Returns + +`string` \| `string`[] + +- parsed arguments in format that contract is expecting + +#### Defined in + +[src/utils/calldata/requestParser.ts:284](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/requestParser.ts#L284) + +___ + +### isSierra + +▸ **isSierra**(`contract`): contract is CompiledSierra \| SierraContractClass + +Checks if a given contract is in Sierra (Safe Intermediate Representation) format. + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `contract` | `string` \| [`CairoContract`](namespaces/types.md#cairocontract) | The contract to check. Can be either a CairoContract object or a string representation of the contract. | + +#### Returns + +contract is CompiledSierra \| SierraContractClass + +- Returns true if the contract is a Sierra contract, otherwise false. + +**`Example`** + +```typescript +const result = isSierra(contract); +// result = true | false +```` + +#### Defined in + +[src/utils/contract.ts:27](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/contract.ts#L27) + +--- + +### extractContractHashes + +▸ **extractContractHashes**(`payload`): [`CompleteDeclareContractPayload`](namespaces/types.md#completedeclarecontractpayload) + +Extracts contract hashes from `DeclareContractPayload`. + +#### Parameters + +| Name | Type | Description | +| :-------- | :--------------------------------------------------------------------- | :------------------------------------------- | +| `payload` | [`DeclareContractPayload`](namespaces/types.md#declarecontractpayload) | The payload containing contract information. | + +#### Returns + +[`CompleteDeclareContractPayload`](namespaces/types.md#completedeclarecontractpayload) + +- The `CompleteDeclareContractPayload` with extracted contract hashes. + +**`Throws`** + +- If extraction of compiledClassHash or classHash fails. + +**`Example`** + +```typescript +const result = extractContractHashes(contract); +// result = { +// contract: ..., +// classHash: ..., +// casm: ..., +// compiledClassHash: ..., +// } +``` + +#### Defined in + +[src/utils/contract.ts:51](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/contract.ts#L51) + +--- + +### contractClassResponseToLegacyCompiledContract + +▸ **contractClassResponseToLegacyCompiledContract**(`ccr`): [`LegacyCompiledContract`](namespaces/types.md#legacycompiledcontract) + +Helper to redeclare response Cairo0 contract + +#### Parameters + +| Name | Type | +| :---- | :------------------------------------------------------------------- | +| `ccr` | [`ContractClassResponse`](namespaces/types.md#contractclassresponse) | + +#### Returns + +[`LegacyCompiledContract`](namespaces/types.md#legacycompiledcontract) + +#### Defined in + +[src/utils/contract.ts:76](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/contract.ts#L76) diff --git a/www/versioned_docs/version-6.11.0/API/namespaces/RPC06.md b/www/versioned_docs/version-6.11.0/API/namespaces/RPC06.md new file mode 100644 index 000000000..df3991a45 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/namespaces/RPC06.md @@ -0,0 +1,11 @@ +--- +id: 'RPC06' +title: 'Namespace: RPC06' +sidebar_label: 'RPC06' +sidebar_position: 0 +custom_edit_url: null +--- + +## Classes + +- [RpcChannel](../classes/RPC06.RpcChannel.md) diff --git a/www/versioned_docs/version-6.11.0/API/namespaces/RPC07.md b/www/versioned_docs/version-6.11.0/API/namespaces/RPC07.md new file mode 100644 index 000000000..06da030d4 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/namespaces/RPC07.md @@ -0,0 +1,11 @@ +--- +id: 'RPC07' +title: 'Namespace: RPC07' +sidebar_label: 'RPC07' +sidebar_position: 0 +custom_edit_url: null +--- + +## Classes + +- [RpcChannel](../classes/RPC07.RpcChannel.md) diff --git a/www/versioned_docs/version-6.11.0/API/namespaces/_category_.yml b/www/versioned_docs/version-6.11.0/API/namespaces/_category_.yml new file mode 100644 index 000000000..fdb625823 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/namespaces/_category_.yml @@ -0,0 +1,2 @@ +label: 'Namespaces' +position: 1 diff --git a/www/versioned_docs/version-6.11.0/API/namespaces/byteArray.md b/www/versioned_docs/version-6.11.0/API/namespaces/byteArray.md new file mode 100644 index 000000000..87f87f941 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/namespaces/byteArray.md @@ -0,0 +1,79 @@ +--- +id: 'byteArray' +title: 'Namespace: byteArray' +sidebar_label: 'byteArray' +sidebar_position: 0 +custom_edit_url: null +--- + +## Functions + +### stringFromByteArray + +▸ **stringFromByteArray**(`myByteArray`): `string` + +convert a Cairo ByteArray to a JS string + +#### Parameters + +| Name | Type | Description | +| :------------ | :-------------------------------- | :----------------------------------- | +| `myByteArray` | [`ByteArray`](types.md#bytearray) | Cairo representation of a LongString | + +#### Returns + +`string` + +a JS string + +**`Example`** + +```typescript +const myByteArray = { + data: [], + pending_word: '0x414243444546474849', + pending_word_len: 9, +}; +const result: String = stringFromByteArray(myByteArray); // ABCDEFGHI +``` + +#### Defined in + +[src/utils/calldata/byteArray.ts:19](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/byteArray.ts#L19) + +--- + +### byteArrayFromString + +▸ **byteArrayFromString**(`targetString`): [`ByteArray`](types.md#bytearray) + +convert a JS string to a Cairo ByteArray + +#### Parameters + +| Name | Type | Description | +| :------------- | :------- | :---------- | +| `targetString` | `string` | a JS string | + +#### Returns + +[`ByteArray`](types.md#bytearray) + +Cairo representation of a LongString + +**`Example`** + +```typescript +const myByteArray: ByteArray = byteArrayFromString('ABCDEFGHI'); +``` + +Result is : +{ +data: [], +pending_word: '0x414243444546474849', +pending_word_len: 9 +} + +#### Defined in + +[src/utils/calldata/byteArray.ts:48](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/byteArray.ts#L48) diff --git a/www/versioned_docs/version-6.11.0/API/namespaces/cairo.md b/www/versioned_docs/version-6.11.0/API/namespaces/cairo.md new file mode 100644 index 000000000..12b3bea50 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/namespaces/cairo.md @@ -0,0 +1,679 @@ +--- +id: 'cairo' +title: 'Namespace: cairo' +sidebar_label: 'cairo' +sidebar_position: 0 +custom_edit_url: null +--- + +## Functions + +### isCairo1Abi + +▸ **isCairo1Abi**(`abi`): `boolean` + +Test if an ABI comes from a Cairo 1 contract + +#### Parameters + +| Name | Type | Description | +| :---- | :-------------------- | :--------------------------------------------- | +| `abi` | [`Abi`](types.md#abi) | representing the interface of a Cairo contract | + +#### Returns + +`boolean` + +TRUE if it is an ABI from a Cairo1 contract + +**`Example`** + +```typescript +const isCairo1: boolean = isCairo1Abi(myAbi: Abi); +``` + +#### Defined in + +[src/utils/calldata/cairo.ts:169](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/cairo.ts#L169) + +--- + +### isTypeNonZero + +▸ **isTypeNonZero**(`type`): `boolean` + +Checks if the given type is a NonZero type. + +#### Parameters + +| Name | Type | Description | +| :----- | :------- | :----------------- | +| `type` | `string` | The type to check. | + +#### Returns + +`boolean` + +`true` if the type is NonZero type, `false` otherwise. + +**`Example`** + +```typescript +const result = cairo.isTypeNonZero('core::zeroable::NonZero::'); +//result = true +``` + +#### Defined in + +[src/utils/calldata/cairo.ts:188](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/cairo.ts#L188) + +--- + +### getAbiContractVersion + +▸ **getAbiContractVersion**(`abi`): [`ContractVersion`](types.md#contractversion) + +Return ContractVersion (Abi version) based on Abi +or undefined for unknown version + +#### Parameters + +| Name | Type | +| :---- | :-------------------- | +| `abi` | [`Abi`](types.md#abi) | + +#### Returns + +[`ContractVersion`](types.md#contractversion) + +string + +#### Defined in + +[src/utils/calldata/cairo.ts:198](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/cairo.ts#L198) + +--- + +### felt + +▸ **felt**(`it`): `string` + +Create felt Cairo type (cairo type helper) + +#### Parameters + +| Name | Type | +| :--- | :-------------------------------------- | +| `it` | [`BigNumberish`](types.md#bignumberish) | + +#### Returns + +`string` + +format: felt-string + +#### Defined in + +[src/utils/calldata/cairo.ts:264](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/cairo.ts#L264) + +--- + +### isLen + +▸ **isLen**(`name`): `boolean` + +Checks if the given name ends with "\_len". + +#### Parameters + +| Name | Type | Description | +| :----- | :------- | :---------------------- | +| `name` | `string` | The name to be checked. | + +#### Returns + +`boolean` + +- True if the name ends with "\_len", false otherwise. + +#### Defined in + +[src/utils/calldata/cairo.ts:23](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/cairo.ts#L23) + +--- + +### isTypeFelt + +▸ **isTypeFelt**(`type`): `boolean` + +Checks if a given type is felt. + +#### Parameters + +| Name | Type | Description | +| :----- | :------- | :----------------- | +| `type` | `string` | The type to check. | + +#### Returns + +`boolean` + +- True if the type is felt, false otherwise. + +#### Defined in + +[src/utils/calldata/cairo.ts:30](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/cairo.ts#L30) + +--- + +### isTypeArray + +▸ **isTypeArray**(`type`): `boolean` + +Checks if the given type is an array type. + +#### Parameters + +| Name | Type | Description | +| :----- | :------- | :----------------- | +| `type` | `string` | The type to check. | + +#### Returns + +`boolean` + +- `true` if the type is an array type, `false` otherwise. + +#### Defined in + +[src/utils/calldata/cairo.ts:37](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/cairo.ts#L37) + +--- + +### isTypeTuple + +▸ **isTypeTuple**(`type`): `boolean` + +Checks if the given type is a tuple type. + +#### Parameters + +| Name | Type | Description | +| :----- | :------- | :---------------------- | +| `type` | `string` | The type to be checked. | + +#### Returns + +`boolean` + +- `true` if the type is a tuple type, otherwise `false`. + +#### Defined in + +[src/utils/calldata/cairo.ts:47](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/cairo.ts#L47) + +--- + +### isTypeNamedTuple + +▸ **isTypeNamedTuple**(`type`): `boolean` + +Checks whether a given type is a named tuple. + +#### Parameters + +| Name | Type | Description | +| :----- | :------- | :---------------------- | +| `type` | `string` | The type to be checked. | + +#### Returns + +`boolean` + +- True if the type is a named tuple, false otherwise. + +#### Defined in + +[src/utils/calldata/cairo.ts:54](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/cairo.ts#L54) + +--- + +### isTypeStruct + +▸ **isTypeStruct**(`type`, `structs`): `boolean` + +Checks if a given type is a struct. + +#### Parameters + +| Name | Type | Description | +| :-------- | :---------------------------------- | :-------------------------------------- | +| `type` | `string` | The type to check for existence. | +| `structs` | [`AbiStructs`](types.md#abistructs) | The collection of structs to search in. | + +#### Returns + +`boolean` + +- True if the type exists in the structs, false otherwise. + +#### Defined in + +[src/utils/calldata/cairo.ts:62](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/cairo.ts#L62) + +--- + +### isTypeEnum + +▸ **isTypeEnum**(`type`, `enums`): `boolean` + +Checks if a given type is an enum. + +#### Parameters + +| Name | Type | Description | +| :------ | :------------------------------ | :---------------------------- | +| `type` | `string` | The type to check. | +| `enums` | [`AbiEnums`](types.md#abienums) | The enumeration to search in. | + +#### Returns + +`boolean` + +- True if the type exists in the enumeration, otherwise false. + +#### Defined in + +[src/utils/calldata/cairo.ts:70](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/cairo.ts#L70) + +--- + +### isTypeOption + +▸ **isTypeOption**(`type`): `boolean` + +Determines if the given type is an Option type. + +#### Parameters + +| Name | Type | Description | +| :----- | :------- | :----------------- | +| `type` | `string` | The type to check. | + +#### Returns + +`boolean` + +- True if the type is an Option type, false otherwise. + +#### Defined in + +[src/utils/calldata/cairo.ts:77](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/cairo.ts#L77) + +--- + +### isTypeResult + +▸ **isTypeResult**(`type`): `boolean` + +Checks whether a given type starts with 'core::result::Result::'. + +#### Parameters + +| Name | Type | Description | +| :----- | :------- | :----------------- | +| `type` | `string` | The type to check. | + +#### Returns + +`boolean` + +- True if the type starts with 'core::result::Result::', false otherwise. + +#### Defined in + +[src/utils/calldata/cairo.ts:84](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/cairo.ts#L84) + +--- + +### isTypeUint + +▸ **isTypeUint**(`type`): `boolean` + +Checks if the given value is a valid Uint type. + +#### Parameters + +| Name | Type | Description | +| :----- | :------- | :------------------ | +| `type` | `string` | The value to check. | + +#### Returns + +`boolean` + +- Returns true if the value is a valid Uint type, otherwise false. + +#### Defined in + +[src/utils/calldata/cairo.ts:91](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/cairo.ts#L91) + +--- + +### isTypeUint256 + +▸ **isTypeUint256**(`type`): `boolean` + +Checks if the given type is `uint256`. + +#### Parameters + +| Name | Type | Description | +| :----- | :------- | :---------------------- | +| `type` | `string` | The type to be checked. | + +#### Returns + +`boolean` + +- Returns true if the type is `uint256`, otherwise false. + +#### Defined in + +[src/utils/calldata/cairo.ts:99](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/cairo.ts#L99) + +--- + +### isTypeLiteral + +▸ **isTypeLiteral**(`type`): `boolean` + +Checks if the given type is a literal type. + +#### Parameters + +| Name | Type | Description | +| :----- | :------- | :----------------- | +| `type` | `string` | The type to check. | + +#### Returns + +`boolean` + +- True if the type is a literal type, false otherwise. + +#### Defined in + +[src/utils/calldata/cairo.ts:106](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/cairo.ts#L106) + +--- + +### isTypeBool + +▸ **isTypeBool**(`type`): `boolean` + +Checks if the given type is a boolean type. + +#### Parameters + +| Name | Type | Description | +| :----- | :------- | :---------------------- | +| `type` | `string` | The type to be checked. | + +#### Returns + +`boolean` + +- Returns true if the type is a boolean type, otherwise false. + +#### Defined in + +[src/utils/calldata/cairo.ts:113](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/cairo.ts#L113) + +--- + +### isTypeContractAddress + +▸ **isTypeContractAddress**(`type`): `boolean` + +Checks if the provided type is equal to 'core::starknet::contract_address::ContractAddress'. + +#### Parameters + +| Name | Type | Description | +| :----- | :------- | :---------------------- | +| `type` | `string` | The type to be checked. | + +#### Returns + +`boolean` + +- true if the type matches 'core::starknet::contract_address::ContractAddress', false otherwise. + +#### Defined in + +[src/utils/calldata/cairo.ts:119](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/cairo.ts#L119) + +--- + +### isTypeEthAddress + +▸ **isTypeEthAddress**(`type`): `boolean` + +Determines if the given type is an Ethereum address type. + +#### Parameters + +| Name | Type | Description | +| :----- | :------- | :----------------- | +| `type` | `string` | The type to check. | + +#### Returns + +`boolean` + +- Returns true if the given type is 'core::starknet::eth_address::EthAddress', otherwise false. + +#### Defined in + +[src/utils/calldata/cairo.ts:127](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/cairo.ts#L127) + +--- + +### isTypeBytes31 + +▸ **isTypeBytes31**(`type`): `boolean` + +Checks if the given type is 'core::bytes_31::bytes31'. + +#### Parameters + +| Name | Type | Description | +| :----- | :------- | :----------------- | +| `type` | `string` | The type to check. | + +#### Returns + +`boolean` + +- True if the type is 'core::bytes_31::bytes31', false otherwise. + +#### Defined in + +[src/utils/calldata/cairo.ts:135](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/cairo.ts#L135) + +--- + +### isTypeByteArray + +▸ **isTypeByteArray**(`type`): `boolean` + +Checks if the given type is equal to the 'core::byte_array::ByteArray'. + +#### Parameters + +| Name | Type | Description | +| :----- | :------- | :----------------- | +| `type` | `string` | The type to check. | + +#### Returns + +`boolean` + +- True if the given type is equal to 'core::byte_array::ByteArray', false otherwise. + +#### Defined in + +[src/utils/calldata/cairo.ts:142](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/cairo.ts#L142) + +--- + +### isTypeSecp256k1Point + +▸ **isTypeSecp256k1Point**(`type`): `boolean` + +#### Parameters + +| Name | Type | +| :----- | :------- | +| `type` | `string` | + +#### Returns + +`boolean` + +#### Defined in + +[src/utils/calldata/cairo.ts:143](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/cairo.ts#L143) + +--- + +### isCairo1Type + +▸ **isCairo1Type**(`type`): `boolean` + +#### Parameters + +| Name | Type | +| :----- | :------- | +| `type` | `string` | + +#### Returns + +`boolean` + +#### Defined in + +[src/utils/calldata/cairo.ts:145](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/cairo.ts#L145) + +--- + +### getArrayType + +▸ **getArrayType**(`type`): `string` + +Retrieves the array type from the given type string. + +Works also for core::zeroable::NonZero type. + +#### Parameters + +| Name | Type | Description | +| :----- | :------- | :--------------- | +| `type` | `string` | The type string. | + +#### Returns + +`string` + +- The array type. + +#### Defined in + +[src/utils/calldata/cairo.ts:153](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/cairo.ts#L153) + +--- + +### uint256 + +▸ **uint256**(`it`): [`Uint256`](../interfaces/types.Uint256.md) + +Create Uint256 Cairo type (helper for common struct type) + +#### Parameters + +| Name | Type | +| :--- | :-------------------------------------- | +| `it` | [`BigNumberish`](types.md#bignumberish) | + +#### Returns + +[`Uint256`](../interfaces/types.Uint256.md) + +**`Example`** + +```typescript +uint256('892349863487563453485768723498'); +``` + +#### Defined in + +[src/utils/calldata/cairo.ts:232](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/cairo.ts#L232) + +--- + +### uint512 + +▸ **uint512**(`it`): [`Uint512`](../interfaces/types.Uint512.md) + +Create Uint512 Cairo type (helper for common struct type) + +#### Parameters + +| Name | Type | Description | +| :--- | :-------------------------------------- | :-------------------------------------------------------- | +| `it` | [`BigNumberish`](types.md#bignumberish) | BigNumberish representation of a 512 bits unsigned number | + +#### Returns + +[`Uint512`](../interfaces/types.Uint512.md) + +Uint512 struct + +**`Example`** + +```typescript +uint512('345745685892349863487563453485768723498'); +``` + +#### Defined in + +[src/utils/calldata/cairo.ts:245](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/cairo.ts#L245) + +--- + +### tuple + +▸ **tuple**(`...args`): `Record`<`number`, `boolean` \| `object` \| [`BigNumberish`](types.md#bignumberish)\> + +Create unnamed tuple Cairo type (helper same as common struct type) + +#### Parameters + +| Name | Type | +| :-------- | :------------------------------------------------------------------- | +| `...args` | (`boolean` \| `object` \| [`BigNumberish`](types.md#bignumberish))[] | + +#### Returns + +`Record`<`number`, `boolean` \| `object` \| [`BigNumberish`](types.md#bignumberish)\> + +**`Example`** + +```typescript +tuple(1, '0x101', 16); +``` + +#### Defined in + +[src/utils/calldata/cairo.ts:256](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/calldata/cairo.ts#L256) diff --git a/www/versioned_docs/version-6.11.0/API/namespaces/constants.md b/www/versioned_docs/version-6.11.0/API/namespaces/constants.md new file mode 100644 index 000000000..9aca677ea --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/namespaces/constants.md @@ -0,0 +1,200 @@ +--- +id: 'constants' +title: 'Namespace: constants' +sidebar_label: 'constants' +sidebar_position: 0 +custom_edit_url: null +--- + +Utils + +## Enumerations + +- [BaseUrl](../enums/constants.BaseUrl.md) +- [NetworkName](../enums/constants.NetworkName.md) +- [StarknetChainId](../enums/constants.StarknetChainId.md) +- [TransactionHashPrefix](../enums/constants.TransactionHashPrefix.md) +- [FeeMarginPercentage](../enums/constants.FeeMarginPercentage.md) + +## References + +### TRANSACTION_VERSION + +Renames and re-exports [ETransactionVersion](types.RPC.RPCSPEC07.API.md#etransactionversion-1) + +## Variables + +### IS_BROWSER + +• `Const` **IS_BROWSER**: `boolean` + +#### Defined in + +[src/utils/encode.ts:4](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/encode.ts#L4) + +--- + +### TEXT_TO_FELT_MAX_LEN + +• `Const` **TEXT_TO_FELT_MAX_LEN**: `31` + +Cairo Felt support storing max 31 character + +#### Defined in + +[src/constants.ts:8](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/constants.ts#L8) + +--- + +### ZERO + +• `Const` **ZERO**: `0n` + +#### Defined in + +[src/constants.ts:17](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/constants.ts#L17) + +--- + +### MASK_250 + +• `Const` **MASK_250**: `bigint` + +#### Defined in + +[src/constants.ts:18](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/constants.ts#L18) + +--- + +### API_VERSION + +• `Const` **API_VERSION**: `0n` + +#### Defined in + +[src/constants.ts:19](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/constants.ts#L19) + +--- + +### PRIME + +• `Const` **PRIME**: `bigint` + +#### Defined in + +[src/constants.ts:20](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/constants.ts#L20) + +--- + +### MAX_STORAGE_ITEM_SIZE + +• `Const` **MAX_STORAGE_ITEM_SIZE**: `256n` + +#### Defined in + +[src/constants.ts:23](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/constants.ts#L23) + +--- + +### ADDR_BOUND + +• `Const` **ADDR_BOUND**: `bigint` + +#### Defined in + +[src/constants.ts:24](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/constants.ts#L24) + +--- + +### RANGE_FELT + +• `Const` **RANGE_FELT**: `Object` + +#### Type declaration + +| Name | Type | +| :---- | :------- | +| `min` | `bigint` | +| `max` | `bigint` | + +#### Defined in + +[src/constants.ts:28](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/constants.ts#L28) + +--- + +### RANGE_I128 + +• `Const` **RANGE_I128**: `Object` + +#### Type declaration + +| Name | Type | +| :---- | :------- | +| `min` | `bigint` | +| `max` | `bigint` | + +#### Defined in + +[src/constants.ts:29](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/constants.ts#L29) + +--- + +### RANGE_U128 + +• `Const` **RANGE_U128**: `Object` + +#### Type declaration + +| Name | Type | +| :---- | :------- | +| `min` | `bigint` | +| `max` | `bigint` | + +#### Defined in + +[src/constants.ts:30](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/constants.ts#L30) + +--- + +### UDC + +• `Const` **UDC**: `Object` + +#### Type declaration + +| Name | Type | +| :----------- | :--------------------------------------------------------------------- | +| `ADDRESS` | `"0x041a78e741e5af2fec34b695679bc6891742439f7afb8484ecd7766661ad02bf"` | +| `ENTRYPOINT` | `"deployContract"` | + +#### Defined in + +[src/constants.ts:61](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/constants.ts#L61) + +--- + +### RPC_DEFAULT_VERSION + +• `Const` **RPC_DEFAULT_VERSION**: `"v0_7"` + +#### Defined in + +[src/constants.ts:66](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/constants.ts#L66) + +--- + +### RPC_NODES + +• `Const` **RPC_NODES**: `Object` + +#### Type declaration + +| Name | Type | +| :----------- | :---------------------------------------------------------------------------------------------------------------------------- | +| `SN_MAIN` | readonly [``"https://starknet-mainnet.public.blastapi.io/rpc/v0_7"``, ``"https://free-rpc.nethermind.io/mainnet-juno/v0_7"``] | +| `SN_SEPOLIA` | readonly [``"https://starknet-sepolia.public.blastapi.io/rpc/v0_7"``, ``"https://free-rpc.nethermind.io/sepolia-juno/v0_7"``] | + +#### Defined in + +[src/constants.ts:68](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/constants.ts#L68) diff --git a/www/versioned_docs/version-6.11.0/API/namespaces/ec.md b/www/versioned_docs/version-6.11.0/API/namespaces/ec.md new file mode 100644 index 000000000..c06a61efe --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/namespaces/ec.md @@ -0,0 +1,12 @@ +--- +id: 'ec' +title: 'Namespace: ec' +sidebar_label: 'ec' +sidebar_position: 0 +custom_edit_url: null +--- + +## Namespaces + +- [starkCurve](ec.starkCurve.md) +- [weierstrass](ec.weierstrass.md) diff --git a/www/versioned_docs/version-6.11.0/API/namespaces/ec.starkCurve.md b/www/versioned_docs/version-6.11.0/API/namespaces/ec.starkCurve.md new file mode 100644 index 000000000..61c323e41 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/namespaces/ec.starkCurve.md @@ -0,0 +1,537 @@ +--- +id: 'ec.starkCurve' +title: 'Namespace: starkCurve' +sidebar_label: 'starkCurve' +custom_edit_url: null +--- + +[ec](ec.md).starkCurve + +## Namespaces + +- [poseidonSmall](ec.starkCurve.poseidonSmall.md) + +## Type Aliases + +### ProjectivePoint + +Ƭ **ProjectivePoint**: `ProjPointType`<`bigint`\> + +#### Defined in + +node_modules/@scure/starknet/lib/index.d.ts:6 + +node_modules/@scure/starknet/lib/index.d.ts:45 + +--- + +### PoseidonOpts + +Ƭ **PoseidonOpts**: `Object` + +#### Type declaration + +| Name | Type | +| :-------------- | :------------------ | +| `Fp` | `IField`<`bigint`\> | +| `rate` | `number` | +| `capacity` | `number` | +| `roundsFull` | `number` | +| `roundsPartial` | `number` | + +#### Defined in + +node_modules/@scure/starknet/lib/index.d.ts:62 + +--- + +### PoseidonFn + +Ƭ **PoseidonFn**: `ReturnType` & \{ `m`: `number` ; `rate`: `number` ; `capacity`: `number` } + +#### Defined in + +node_modules/@scure/starknet/lib/index.d.ts:69 + +## Variables + +### MAX_VALUE + +• `Const` **MAX_VALUE**: `bigint` + +#### Defined in + +node_modules/@scure/starknet/lib/index.d.ts:7 + +--- + +### \_starkCurve + +• `Const` **\_starkCurve**: `CurveFn` + +#### Defined in + +node_modules/@scure/starknet/lib/index.d.ts:8 + +--- + +### CURVE + +• `Const` **CURVE**: `Readonly`<\{ `nBitLength`: `number` ; `nByteLength`: `number` ; `Fp`: `IField`<`bigint`\> ; `n`: `bigint` ; `h`: `bigint` ; `hEff?`: `bigint` ; `Gx`: `bigint` ; `Gy`: `bigint` ; `allowInfinityPoint?`: `boolean` ; `a`: `bigint` ; `b`: `bigint` ; `allowedPrivateKeyLengths?`: readonly `number`[] ; `wrapPrivateKey?`: `boolean` ; `endo?`: \{ `beta`: `bigint` ; `splitScalar`: (`k`: `bigint`) => \{ `k1neg`: `boolean` ; `k1`: `bigint` ; `k2neg`: `boolean` ; `k2`: `bigint` } } ; `isTorsionFree?`: (`c`: `ProjConstructor`, `point`: `ProjPointType`<`bigint`\>) => `boolean` ; `clearCofactor?`: (`c`: `ProjConstructor`, `point`: `ProjPointType`<`bigint`\>) => `ProjPointType`<`bigint`\> ; `hash`: `u.CHash` ; `hmac`: (`key`: `Uint8Array`, ...`messages`: `Uint8Array`[]) => `Uint8Array` ; `randomBytes`: (`bytesLength?`: `number`) => `Uint8Array` ; `lowS`: `boolean` ; `bits2int?`: (`bytes`: `Uint8Array`) => `bigint` ; `bits2int_modN?`: (`bytes`: `Uint8Array`) => `bigint` ; `p`: `bigint` }\> + +#### Defined in + +node_modules/@scure/starknet/lib/index.d.ts:13 + +--- + +### ProjectivePoint + +• **ProjectivePoint**: `ProjConstructor`<`bigint`\> + +#### Defined in + +node_modules/@scure/starknet/lib/index.d.ts:6 + +node_modules/@scure/starknet/lib/index.d.ts:45 + +--- + +### Signature + +• `Const` **Signature**: `SignatureConstructor` + +#### Defined in + +node_modules/@scure/starknet/lib/index.d.ts:45 + +--- + +### utils + +• `Const` **utils**: `Object` + +#### Type declaration + +| Name | Type | +| :----------------------- | :-------------------------------------------------------------------------------------------- | +| `normPrivateKeyToScalar` | (`key`: `u.PrivKey`) => `bigint` | +| `randomPrivateKey` | () => `Uint8Array` | +| `precompute` | (`windowSize?`: `number`, `point?`: `ProjPointType`<`bigint`\>) => `ProjPointType`<`bigint`\> | +| `isValidPrivateKey` | (`privateKey`: `PrivKey`) => `boolean` | + +#### Defined in + +node_modules/@scure/starknet/lib/index.d.ts:45 + +--- + +### Fp251 + +• `Const` **Fp251**: `Readonly`<`IField`<`bigint`\> & `Required`<`Pick`<`IField`<`bigint`\>, `"isOdd"`\>\>\> + +#### Defined in + +node_modules/@scure/starknet/lib/index.d.ts:60 + +## Functions + +### getPublicKey + +▸ **getPublicKey**(`privKey`, `isCompressed?`): `Uint8Array` + +#### Parameters + +| Name | Type | +| :-------------- | :-------- | +| `privKey` | `Hex` | +| `isCompressed?` | `boolean` | + +#### Returns + +`Uint8Array` + +#### Defined in + +node_modules/@scure/starknet/lib/index.d.ts:9 + +--- + +### getSharedSecret + +▸ **getSharedSecret**(`privKeyA`, `pubKeyB`): `Uint8Array` + +#### Parameters + +| Name | Type | +| :--------- | :---- | +| `privKeyA` | `Hex` | +| `pubKeyB` | `Hex` | + +#### Returns + +`Uint8Array` + +#### Defined in + +node_modules/@scure/starknet/lib/index.d.ts:10 + +--- + +### sign + +▸ **sign**(`msgHash`, `privKey`, `opts?`): `SignatureType` + +#### Parameters + +| Name | Type | +| :-------- | :---- | +| `msgHash` | `Hex` | +| `privKey` | `Hex` | +| `opts?` | `any` | + +#### Returns + +`SignatureType` + +#### Defined in + +node_modules/@scure/starknet/lib/index.d.ts:11 + +--- + +### verify + +▸ **verify**(`signature`, `msgHash`, `pubKey`): `boolean` + +#### Parameters + +| Name | Type | +| :---------- | :----------------------- | +| `signature` | `Hex` \| `SignatureType` | +| `msgHash` | `Hex` | +| `pubKey` | `Hex` | + +#### Returns + +`boolean` + +#### Defined in + +node_modules/@scure/starknet/lib/index.d.ts:12 + +--- + +### grindKey + +▸ **grindKey**(`seed`): `string` + +#### Parameters + +| Name | Type | +| :----- | :---- | +| `seed` | `Hex` | + +#### Returns + +`string` + +#### Defined in + +node_modules/@scure/starknet/lib/index.d.ts:52 + +--- + +### getStarkKey + +▸ **getStarkKey**(`privateKey`): `string` + +#### Parameters + +| Name | Type | +| :----------- | :---- | +| `privateKey` | `Hex` | + +#### Returns + +`string` + +#### Defined in + +node_modules/@scure/starknet/lib/index.d.ts:53 + +--- + +### ethSigToPrivate + +▸ **ethSigToPrivate**(`signature`): `string` + +#### Parameters + +| Name | Type | +| :---------- | :------- | +| `signature` | `string` | + +#### Returns + +`string` + +#### Defined in + +node_modules/@scure/starknet/lib/index.d.ts:54 + +--- + +### getAccountPath + +▸ **getAccountPath**(`layer`, `application`, `ethereumAddress`, `index`): `string` + +#### Parameters + +| Name | Type | +| :---------------- | :------- | +| `layer` | `string` | +| `application` | `string` | +| `ethereumAddress` | `string` | +| `index` | `number` | + +#### Returns + +`string` + +#### Defined in + +node_modules/@scure/starknet/lib/index.d.ts:55 + +--- + +### pedersen + +▸ **pedersen**(`x`, `y`): `string` + +#### Parameters + +| Name | Type | +| :--- | :------------ | +| `x` | `PedersenArg` | +| `y` | `PedersenArg` | + +#### Returns + +`string` + +#### Defined in + +node_modules/@scure/starknet/lib/index.d.ts:57 + +--- + +### \_poseidonMDS + +▸ **\_poseidonMDS**(`Fp`, `name`, `m`, `attempt?`): `bigint`[][] + +#### Parameters + +| Name | Type | +| :--------- | :------------------ | +| `Fp` | `IField`<`bigint`\> | +| `name` | `string` | +| `m` | `number` | +| `attempt?` | `number` | + +#### Returns + +`bigint`[][] + +#### Defined in + +node_modules/@scure/starknet/lib/index.d.ts:61 + +--- + +### poseidonBasic + +▸ **poseidonBasic**(`opts`, `mds`): [`PoseidonFn`](ec.starkCurve.md#poseidonfn) + +#### Parameters + +| Name | Type | +| :----- | :---------------------------------------------- | +| `opts` | [`PoseidonOpts`](ec.starkCurve.md#poseidonopts) | +| `mds` | `bigint`[][] | + +#### Returns + +[`PoseidonFn`](ec.starkCurve.md#poseidonfn) + +#### Defined in + +node_modules/@scure/starknet/lib/index.d.ts:74 + +--- + +### poseidonCreate + +▸ **poseidonCreate**(`opts`, `mdsAttempt?`): [`PoseidonFn`](ec.starkCurve.md#poseidonfn) + +#### Parameters + +| Name | Type | +| :------------ | :---------------------------------------------- | +| `opts` | [`PoseidonOpts`](ec.starkCurve.md#poseidonopts) | +| `mdsAttempt?` | `number` | + +#### Returns + +[`PoseidonFn`](ec.starkCurve.md#poseidonfn) + +#### Defined in + +node_modules/@scure/starknet/lib/index.d.ts:75 + +--- + +### poseidonHash + +▸ **poseidonHash**(`x`, `y`, `fn?`): `bigint` + +#### Parameters + +| Name | Type | +| :---- | :------------------------------------------ | +| `x` | `bigint` | +| `y` | `bigint` | +| `fn?` | [`PoseidonFn`](ec.starkCurve.md#poseidonfn) | + +#### Returns + +`bigint` + +#### Defined in + +node_modules/@scure/starknet/lib/index.d.ts:77 + +--- + +### poseidonHashFunc + +▸ **poseidonHashFunc**(`x`, `y`, `fn?`): `Uint8Array` + +#### Parameters + +| Name | Type | +| :---- | :------------------------------------------ | +| `x` | `Uint8Array` | +| `y` | `Uint8Array` | +| `fn?` | [`PoseidonFn`](ec.starkCurve.md#poseidonfn) | + +#### Returns + +`Uint8Array` + +#### Defined in + +node_modules/@scure/starknet/lib/index.d.ts:78 + +--- + +### poseidonHashSingle + +▸ **poseidonHashSingle**(`x`, `fn?`): `bigint` + +#### Parameters + +| Name | Type | +| :---- | :------------------------------------------ | +| `x` | `bigint` | +| `fn?` | [`PoseidonFn`](ec.starkCurve.md#poseidonfn) | + +#### Returns + +`bigint` + +#### Defined in + +node_modules/@scure/starknet/lib/index.d.ts:79 + +--- + +### poseidonHashMany + +▸ **poseidonHashMany**(`values`, `fn?`): `bigint` + +#### Parameters + +| Name | Type | +| :------- | :------------------------------------------ | +| `values` | `bigint`[] | +| `fn?` | [`PoseidonFn`](ec.starkCurve.md#poseidonfn) | + +#### Returns + +`bigint` + +#### Defined in + +node_modules/@scure/starknet/lib/index.d.ts:80 + +--- + +### computeHashOnElements + +▸ **computeHashOnElements**(`data`, `fn?`): `PedersenArg` + +#### Parameters + +| Name | Type | +| :----- | :--------------------------------------------------- | +| `data` | `PedersenArg`[] | +| `fn?` | (`x`: `PedersenArg`, `y`: `PedersenArg`) => `string` | + +#### Returns + +`PedersenArg` + +#### Defined in + +node_modules/@scure/starknet/lib/index.d.ts:58 + +--- + +### keccak + +▸ **keccak**(`data`): `bigint` + +#### Parameters + +| Name | Type | +| :----- | :----------- | +| `data` | `Uint8Array` | + +#### Returns + +`bigint` + +#### Defined in + +node_modules/@scure/starknet/lib/index.d.ts:59 + +--- + +### poseidonSmall + +▸ **poseidonSmall**(`values`): `bigint`[] + +#### Parameters + +| Name | Type | +| :------- | :--------- | +| `values` | `bigint`[] | + +#### Returns + +`bigint`[] + +#### Defined in + +node_modules/@scure/starknet/node_modules/@noble/curves/abstract/poseidon.d.ts:27 diff --git a/www/versioned_docs/version-6.11.0/API/namespaces/ec.starkCurve.poseidonSmall.md b/www/versioned_docs/version-6.11.0/API/namespaces/ec.starkCurve.poseidonSmall.md new file mode 100644 index 000000000..7fbe44ba9 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/namespaces/ec.starkCurve.poseidonSmall.md @@ -0,0 +1,48 @@ +--- +id: 'ec.starkCurve.poseidonSmall' +title: 'Namespace: poseidonSmall' +sidebar_label: 'poseidonSmall' +custom_edit_url: null +--- + +[ec](ec.md).[starkCurve](ec.starkCurve.md).poseidonSmall + +## Variables + +### roundConstants + +• **roundConstants**: `bigint`[][] + +#### Defined in + +node_modules/@scure/starknet/node_modules/@noble/curves/abstract/poseidon.d.ts:28 + +--- + +### m + +• **m**: `number` + +#### Defined in + +node_modules/@scure/starknet/lib/index.d.ts:70 + +--- + +### rate + +• **rate**: `number` + +#### Defined in + +node_modules/@scure/starknet/lib/index.d.ts:71 + +--- + +### capacity + +• **capacity**: `number` + +#### Defined in + +node_modules/@scure/starknet/lib/index.d.ts:72 diff --git a/www/versioned_docs/version-6.11.0/API/namespaces/ec.weierstrass.md b/www/versioned_docs/version-6.11.0/API/namespaces/ec.weierstrass.md new file mode 100644 index 000000000..f883ec0bc --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/namespaces/ec.weierstrass.md @@ -0,0 +1,377 @@ +--- +id: 'ec.weierstrass' +title: 'Namespace: weierstrass' +sidebar_label: 'weierstrass' +custom_edit_url: null +--- + +[ec](ec.md).weierstrass + +## Interfaces + +- [ProjPointType](../interfaces/ec.weierstrass.ProjPointType.md) +- [ProjConstructor](../interfaces/ec.weierstrass.ProjConstructor.md) +- [SignatureType](../interfaces/ec.weierstrass.SignatureType.md) + +## Type Aliases + +### AffinePoint + +Ƭ **AffinePoint**<`T`\>: \{ `x`: `T` ; `y`: `T` } & \{ `z?`: `never` ; `t?`: `never` } + +#### Type parameters + +| Name | +| :--- | +| `T` | + +#### Defined in + +node_modules/@noble/curves/esm/abstract/curve.d.ts:3 + +--- + +### BasicWCurve + +Ƭ **BasicWCurve**<`T`\>: `BasicCurve`<`T`\> & \{ `a`: `T` ; `b`: `T` ; `allowedPrivateKeyLengths?`: readonly `number`[] ; `wrapPrivateKey?`: `boolean` ; `endo?`: `EndomorphismOpts` ; `isTorsionFree?`: (`c`: [`ProjConstructor`](../interfaces/ec.weierstrass.ProjConstructor.md)<`T`\>, `point`: [`ProjPointType`](../interfaces/ec.weierstrass.ProjPointType.md)<`T`\>) => `boolean` ; `clearCofactor?`: (`c`: [`ProjConstructor`](../interfaces/ec.weierstrass.ProjConstructor.md)<`T`\>, `point`: [`ProjPointType`](../interfaces/ec.weierstrass.ProjPointType.md)<`T`\>) => [`ProjPointType`](../interfaces/ec.weierstrass.ProjPointType.md)<`T`\> } + +#### Type parameters + +| Name | +| :--- | +| `T` | + +#### Defined in + +node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:16 + +--- + +### SignOpts + +Ƭ **SignOpts**: `Object` + +#### Type declaration + +| Name | Type | +| :-------------- | :-------- | +| `lowS?` | `boolean` | +| `extraEntropy?` | `Entropy` | +| `prehash?` | `boolean` | + +#### Defined in + +node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:26 + +--- + +### VerOpts + +Ƭ **VerOpts**: `Object` + +#### Type declaration + +| Name | Type | +| :--------- | :-------- | +| `lowS?` | `boolean` | +| `prehash?` | `boolean` | + +#### Defined in + +node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:31 + +--- + +### CurvePointsType + +Ƭ **CurvePointsType**<`T`\>: [`BasicWCurve`](ec.weierstrass.md#basicwcurve)<`T`\> & \{ `fromBytes?`: (`bytes`: `Uint8Array`) => [`AffinePoint`](ec.weierstrass.md#affinepoint)<`T`\> ; `toBytes?`: (`c`: [`ProjConstructor`](../interfaces/ec.weierstrass.ProjConstructor.md)<`T`\>, `point`: [`ProjPointType`](../interfaces/ec.weierstrass.ProjPointType.md)<`T`\>, `isCompressed`: `boolean`) => `Uint8Array` } + +#### Type parameters + +| Name | +| :--- | +| `T` | + +#### Defined in + +node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:81 + +--- + +### CurvePointsRes + +Ƭ **CurvePointsRes**<`T`\>: `Object` + +#### Type parameters + +| Name | +| :--- | +| `T` | + +#### Type declaration + +| Name | Type | +| :----------------------- | :------------------------------------------------------------------------- | +| `CURVE` | `ReturnType` | +| `ProjectivePoint` | [`ProjConstructor`](../interfaces/ec.weierstrass.ProjConstructor.md)<`T`\> | +| `normPrivateKeyToScalar` | (`key`: `PrivKey`) => `bigint` | +| `weierstrassEquation` | (`x`: `T`) => `T` | +| `isWithinCurveOrder` | (`num`: `bigint`) => `boolean` | + +#### Defined in + +node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:106 + +--- + +### RecoveredSignatureType + +Ƭ **RecoveredSignatureType**: [`SignatureType`](../interfaces/ec.weierstrass.SignatureType.md) & \{ `recovery`: `number` } + +#### Defined in + +node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:149 + +--- + +### SignatureConstructor + +Ƭ **SignatureConstructor**: `Object` + +#### Call signature + +• **new SignatureConstructor**(`r`, `s`): [`SignatureType`](../interfaces/ec.weierstrass.SignatureType.md) + +##### Parameters + +| Name | Type | +| :--- | :------- | +| `r` | `bigint` | +| `s` | `bigint` | + +##### Returns + +[`SignatureType`](../interfaces/ec.weierstrass.SignatureType.md) + +#### Type declaration + +| Name | Type | +| :------------ | :--------------------------------------------------------------------------------- | +| `fromCompact` | (`hex`: `Hex`) => [`SignatureType`](../interfaces/ec.weierstrass.SignatureType.md) | +| `fromDER` | (`hex`: `Hex`) => [`SignatureType`](../interfaces/ec.weierstrass.SignatureType.md) | + +#### Defined in + +node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:152 + +--- + +### PubKey + +Ƭ **PubKey**: `Hex` \| [`ProjPointType`](../interfaces/ec.weierstrass.ProjPointType.md)<`bigint`\> + +#### Defined in + +node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:161 + +--- + +### CurveType + +Ƭ **CurveType**: [`BasicWCurve`](ec.weierstrass.md#basicwcurve)<`bigint`\> & \{ `hash`: `CHash` ; `hmac`: `HmacFnSync` ; `randomBytes`: (`bytesLength?`: `number`) => `Uint8Array` ; `lowS?`: `boolean` ; `bits2int?`: (`bytes`: `Uint8Array`) => `bigint` ; `bits2int_modN?`: (`bytes`: `Uint8Array`) => `bigint` } + +#### Defined in + +node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:162 + +--- + +### CurveFn + +Ƭ **CurveFn**: `Object` + +#### Type declaration + +| Name | Type | +| :----------------------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `CURVE` | `ReturnType` | +| `getPublicKey` | (`privateKey`: `PrivKey`, `isCompressed?`: `boolean`) => `Uint8Array` | +| `getSharedSecret` | (`privateA`: `PrivKey`, `publicB`: `Hex`, `isCompressed?`: `boolean`) => `Uint8Array` | +| `sign` | (`msgHash`: `Hex`, `privKey`: `PrivKey`, `opts?`: [`SignOpts`](ec.weierstrass.md#signopts)) => [`RecoveredSignatureType`](ec.weierstrass.md#recoveredsignaturetype) | +| `verify` | (`signature`: `Hex` \| `SignatureLike`, `msgHash`: `Hex`, `publicKey`: `Hex`, `opts?`: [`VerOpts`](ec.weierstrass.md#veropts)) => `boolean` | +| `ProjectivePoint` | [`ProjConstructor`](../interfaces/ec.weierstrass.ProjConstructor.md)<`bigint`\> | +| `Signature` | [`SignatureConstructor`](ec.weierstrass.md#signatureconstructor) | +| `utils` | \{ `normPrivateKeyToScalar`: (`key`: `PrivKey`) => `bigint` ; `randomPrivateKey`: () => `Uint8Array` ; `precompute`: (`windowSize?`: `number`, `point?`: [`ProjPointType`](../interfaces/ec.weierstrass.ProjPointType.md)<`bigint`\>) => [`ProjPointType`](../interfaces/ec.weierstrass.ProjPointType.md)<`bigint`\> ; `isValidPrivateKey`: (`privateKey`: `PrivKey`) => `boolean` } | +| `utils.normPrivateKeyToScalar` | (`key`: `PrivKey`) => `bigint` | +| `utils.randomPrivateKey` | () => `Uint8Array` | +| `utils.precompute` | (`windowSize?`: `number`, `point?`: [`ProjPointType`](../interfaces/ec.weierstrass.ProjPointType.md)<`bigint`\>) => [`ProjPointType`](../interfaces/ec.weierstrass.ProjPointType.md)<`bigint`\> | +| `utils.isValidPrivateKey` | [object Object] | + +#### Defined in + +node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:195 + +## Variables + +### DER + +• `Const` **DER**: `Object` + +#### Type declaration + +| Name | Type | +| :----------- | :----------------------------------------------------------------------------------- | +| `Err` | (`m?`: `string`) => \{ `name`: `string` ; `message`: `string` ; `stack?`: `string` } | +| `_parseInt` | (`data`: `Uint8Array`) => \{ `d`: `bigint` ; `l`: `Uint8Array` } | +| `toSig` | (`hex`: `string` \| `Uint8Array`) => \{ `r`: `bigint` ; `s`: `bigint` } | +| `hexFromSig` | (`sig`: \{ `r`: `bigint` ; `s`: `bigint` }) => `string` | + +#### Defined in + +node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:113 + +## Functions + +### weierstrassPoints + +▸ **weierstrassPoints**<`T`\>(`opts`): [`CurvePointsRes`](ec.weierstrass.md#curvepointsres)<`T`\> + +#### Type parameters + +| Name | +| :--- | +| `T` | + +#### Parameters + +| Name | Type | +| :----- | :----------------------------------------------------------- | +| `opts` | [`CurvePointsType`](ec.weierstrass.md#curvepointstype)<`T`\> | + +#### Returns + +[`CurvePointsRes`](ec.weierstrass.md#curvepointsres)<`T`\> + +#### Defined in + +node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:134 + +--- + +### weierstrass + +▸ **weierstrass**(`curveDef`): [`CurveFn`](ec.weierstrass.md#curvefn) + +#### Parameters + +| Name | Type | +| :--------- | :----------------------------------------- | +| `curveDef` | [`CurveType`](ec.weierstrass.md#curvetype) | + +#### Returns + +[`CurveFn`](ec.weierstrass.md#curvefn) + +#### Defined in + +node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:210 + +--- + +### SWUFpSqrtRatio + +▸ **SWUFpSqrtRatio**<`T`\>(`Fp`, `Z`): (`u`: `T`, `v`: `T`) => \{ `isValid`: `boolean` ; `value`: `T` } + +Implementation of the Shallue and van de Woestijne method for any weierstrass curve. +TODO: check if there is a way to merge this with uvRatio in Edwards; move to modular. +b = True and y = sqrt(u / v) if (u / v) is square in F, and +b = False and y = sqrt(Z \* (u / v)) otherwise. + +#### Type parameters + +| Name | +| :--- | +| `T` | + +#### Parameters + +| Name | Type | +| :--- | :------------- | +| `Fp` | `IField`<`T`\> | +| `Z` | `T` | + +#### Returns + +`fn` + +▸ (`u`, `v`): `Object` + +##### Parameters + +| Name | Type | +| :--- | :--- | +| `u` | `T` | +| `v` | `T` | + +##### Returns + +`Object` + +| Name | Type | +| :-------- | :-------- | +| `isValid` | `boolean` | +| `value` | `T` | + +#### Defined in + +node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:220 + +--- + +### mapToCurveSimpleSWU + +▸ **mapToCurveSimpleSWU**<`T`\>(`Fp`, `opts`): (`u`: `T`) => \{ `x`: `T` ; `y`: `T` } + +Simplified Shallue-van de Woestijne-Ulas Method +https://www.rfc-editor.org/rfc/rfc9380#section-6.6.2 + +#### Type parameters + +| Name | +| :--- | +| `T` | + +#### Parameters + +| Name | Type | +| :------- | :------------- | +| `Fp` | `IField`<`T`\> | +| `opts` | `Object` | +| `opts.A` | `T` | +| `opts.B` | `T` | +| `opts.Z` | `T` | + +#### Returns + +`fn` + +▸ (`u`): `Object` + +##### Parameters + +| Name | Type | +| :--- | :--- | +| `u` | `T` | + +##### Returns + +`Object` + +| Name | Type | +| :--- | :--- | +| `x` | `T` | +| `y` | `T` | + +#### Defined in + +node_modules/@noble/curves/esm/abstract/weierstrass.d.ts:228 diff --git a/www/versioned_docs/version-6.11.0/API/namespaces/encode.md b/www/versioned_docs/version-6.11.0/API/namespaces/encode.md new file mode 100644 index 000000000..e60cbb82f --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/namespaces/encode.md @@ -0,0 +1,452 @@ +--- +id: 'encode' +title: 'Namespace: encode' +sidebar_label: 'encode' +sidebar_position: 0 +custom_edit_url: null +--- + +## References + +### IS_BROWSER + +Re-exports [IS_BROWSER](constants.md#is_browser) + +## Functions + +### arrayBufferToString + +▸ **arrayBufferToString**(`array`): `string` + +Convert array buffer to string + +_[internal usage]_ + +#### Parameters + +| Name | Type | Description | +| :------ | :------------ | :------------------------------------ | +| `array` | `ArrayBuffer` | The ArrayBuffer to convert to string. | + +#### Returns + +`string` + +The converted string. + +**`Example`** + +```typescript +const buffer = new ArrayBuffer(5); +const view = new Uint8Array(buffer); +[72, 101, 108, 108, 111].forEach((x, idx) => (view[idx] = x)); +const result = encode.arrayBufferToString(buffer); +// result = "Hello" +``` + +#### Defined in + +[src/utils/encode.ts:30](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/encode.ts#L30) + +--- + +### utf8ToArray + +▸ **utf8ToArray**(`str`): `Uint8Array` + +Convert utf8-string to Uint8Array + +_[internal usage]_ + +#### Parameters + +| Name | Type | Description | +| :---- | :------- | :--------------------------- | +| `str` | `string` | The UTF-8 string to convert. | + +#### Returns + +`Uint8Array` + +The encoded Uint8Array. + +**`Example`** + +```typescript +const myString = 'Hi'; +const result = encode.utf8ToArray(myString); +// result = Uint8Array(2) [ 72, 105 ] +``` + +#### Defined in + +[src/utils/encode.ts:49](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/encode.ts#L49) + +--- + +### stringToArrayBuffer + +▸ **stringToArrayBuffer**(`str`): `Uint8Array` + +Convert utf8-string to Uint8Array + +#### Parameters + +| Name | Type | +| :---- | :------- | +| `str` | `string` | + +#### Returns + +`Uint8Array` + +**`Deprecated`** + +equivalent to 'utf8ToArray', alias will be removed + +#### Defined in + +[src/utils/encode.ts:58](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/encode.ts#L58) + +--- + +### atobUniversal + +▸ **atobUniversal**(`a`): `Uint8Array` + +Convert string to array buffer (browser and node compatible) + +#### Parameters + +| Name | Type | Description | +| :--- | :------- | :------------------------------------ | +| `a` | `string` | The Base64 encoded string to convert. | + +#### Returns + +`Uint8Array` + +The decoded Uint8Array. + +**`Example`** + +```typescript +const base64String = 'SGVsbG8='; // 'Hello' in Base64 +const result = encode.atobUniversal(base64String); +// result = Uint8Array(5) [ 72, 101, 108, 108, 111 ] +``` + +#### Defined in + +[src/utils/encode.ts:75](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/encode.ts#L75) + +--- + +### btoaUniversal + +▸ **btoaUniversal**(`b`): `string` + +Convert array buffer to string (browser and node compatible) + +#### Parameters + +| Name | Type | Description | +| :--- | :------------ | :---------------- | +| `b` | `ArrayBuffer` | The Array buffer. | + +#### Returns + +`string` + +The Base64 encoded string. + +**`Example`** + +```typescript +const buffer = new Uint8Array([72, 101, 108, 108, 111]); // Array with ASCII values for 'Hello' +const result = encode.btoaUniversal(buffer); +// result = "SGVsbG8=" +``` + +#### Defined in + +[src/utils/encode.ts:92](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/encode.ts#L92) + +--- + +### buf2hex + +▸ **buf2hex**(`buffer`): `string` + +Convert array buffer to hex-string + +#### Parameters + +| Name | Type | Description | +| :------- | :----------- | :---------------------- | +| `buffer` | `Uint8Array` | The encoded Uint8Array. | + +#### Returns + +`string` + +The hex-string + +**`Example`** + +```typescript +const buffer = new Uint8Array([72, 101, 108, 108, 111]); // Array with ASCII values for 'Hello' +const result = encode.buf2hex(buffer); +// result = "48656c6c6f" +``` + +#### Defined in + +[src/utils/encode.ts:109](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/encode.ts#L109) + +--- + +### removeHexPrefix + +▸ **removeHexPrefix**(`hex`): `string` + +Remove hex prefix '0x' from hex-string + +#### Parameters + +| Name | Type | Description | +| :---- | :------- | :---------- | +| `hex` | `string` | hex-string | + +#### Returns + +`string` + +The hex-string + +**`Example`** + +```typescript +const hexStringWithPrefix = '0x48656c6c6f'; +const result = encode.removeHexPrefix(hexStringWithPrefix); +// result: "48656c6c6f" +``` + +#### Defined in + +[src/utils/encode.ts:125](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/encode.ts#L125) + +--- + +### addHexPrefix + +▸ **addHexPrefix**(`hex`): `string` + +Add hex prefix '0x' to base16-string + +#### Parameters + +| Name | Type | Description | +| :---- | :------- | :------------ | +| `hex` | `string` | base16-string | + +#### Returns + +`string` + +The hex-string + +**`Example`** + +```typescript +const plainHexString = '48656c6c6f'; +const result = encode.addHexPrefix(plainHexString); +// result: "0x48656c6c6f" +``` + +#### Defined in + +[src/utils/encode.ts:141](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/encode.ts#L141) + +--- + +### padLeft + +▸ **padLeft**(`str`, `length`, `padding?`): `string` + +Prepend string (default with '0') + +Pads a string to a certain length with a specific string. +The padding can be applied only to the left of the input string. + +#### Parameters + +| Name | Type | Default value | Description | +| :--------- | :------- | :------------ | :---------------------------------------------- | +| `str` | `string` | `undefined` | The string to pad. | +| `length` | `number` | `undefined` | The target length for the padded string. | +| `padding?` | `string` | `STRING_ZERO` | The string to use for padding. Defaults to '0'. | + +#### Returns + +`string` + +The padded string. + +**`Example`** + +```typescript +const myString = '1A3F'; +const result = encode.padLeft(myString, 10); +// result: '0000001A3F' +``` + +#### Defined in + +[src/utils/encode.ts:194](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/encode.ts#L194) + +--- + +### calcByteLength + +▸ **calcByteLength**(`str`, `byteSize?`): `number` + +Calculate byte length of string + +_[no internal usage]_ + +Calculates the byte length of a string based on a specified byte size. +The function rounds up the byte count to the nearest multiple of the specified byte size. + +#### Parameters + +| Name | Type | Default value | Description | +| :---------- | :------- | :------------ | :-------------------------------------------------------- | +| `str` | `string` | `undefined` | The string whose byte length is to be calculated. | +| `byteSize?` | `number` | `8` | The size of the byte block to round up to. Defaults to 8. | + +#### Returns + +`number` + +The calculated byte length, rounded to the nearest multiple of byteSize. + +**`Example`** + +```typescript +const myString = 'Hello'; +const result = encode.calcByteLength(myString, 4); +// result = 8 (rounded up to the nearest multiple of 4) +``` + +#### Defined in + +[src/utils/encode.ts:218](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/encode.ts#L218) + +--- + +### sanitizeBytes + +▸ **sanitizeBytes**(`str`, `byteSize?`, `padding?`): `string` + +Prepend '0' to string bytes + +_[no internal usage]_ + +- Prepends padding to the left of a string to ensure it matches a specific byte length. + The function uses a specified padding character and rounds up the string length to the nearest multiple of `byteSize`. + +#### Parameters + +| Name | Type | Default value | Description | +| :---------- | :------- | :------------ | :---------------------------------------------------------------------------------- | +| `str` | `string` | `undefined` | The string to be padded. | +| `byteSize?` | `number` | `8` | The byte block size to which the string length should be rounded up. Defaults to 8. | +| `padding?` | `string` | `STRING_ZERO` | The character to use for padding. Defaults to '0'. | + +#### Returns + +`string` + +The padded string. + +**`Example`** + +```typescript +const myString = '123'; +const result = encode.sanitizeBytes(myString); +// result: '00000123' (padded to 8 characters) +``` + +#### Defined in + +[src/utils/encode.ts:245](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/encode.ts#L245) + +--- + +### sanitizeHex + +▸ **sanitizeHex**(`hex`): `string` + +Sanitizes a hex-string by removing any existing '0x' prefix, padding the string with '0' to ensure it has even length, +and then re-adding the '0x' prefix. + +_[no internal usage]_ + +#### Parameters + +| Name | Type | Description | +| :---- | :------- | :---------- | +| `hex` | `string` | hex-string | + +#### Returns + +`string` + +format: hex-string + +**`Example`** + +```typescript +const unevenHex = '0x23abc'; +const result = encode.sanitizeHex(unevenHex); +// result = '0x023abc' (padded to ensure even length) +``` + +#### Defined in + +[src/utils/encode.ts:264](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/encode.ts#L264) + +--- + +### pascalToSnake + +▸ **pascalToSnake**(`text`): `string` + +String transformation util + +Pascal case to screaming snake case + +#### Parameters + +| Name | Type | Description | +| :----- | :------- | :-------------------------------- | +| `text` | `string` | The PascalCase string to convert. | + +#### Returns + +`string` + +The converted snake_case string in uppercase. + +**`Example`** + +```typescript +const pascalString = 'PascalCaseExample'; +const result = encode.pascalToSnake(pascalString); +// result: 'PASCAL_CASE_EXAMPLE' +``` + +#### Defined in + +[src/utils/encode.ts:288](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/encode.ts#L288) diff --git a/www/versioned_docs/version-6.11.0/API/namespaces/eth.md b/www/versioned_docs/version-6.11.0/API/namespaces/eth.md new file mode 100644 index 000000000..6b46b3ea5 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/namespaces/eth.md @@ -0,0 +1,63 @@ +--- +id: 'eth' +title: 'Namespace: eth' +sidebar_label: 'eth' +sidebar_position: 0 +custom_edit_url: null +--- + +## Functions + +### ethRandomPrivateKey + +▸ **ethRandomPrivateKey**(): `string` + +Get random Ethereum private Key. + +#### Returns + +`string` + +an Hex string + +**`Example`** + +```typescript +const myPK: string = randomAddress(); +// result = "0xf04e69ac152fba37c02929c2ae78c9a481461dda42dbc6c6e286be6eb2a8ab83" +``` + +#### Defined in + +[src/utils/eth.ts:18](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/eth.ts#L18) + +--- + +### validateAndParseEthAddress + +▸ **validateAndParseEthAddress**(`address`): `string` + +Get a string formatted for an Ethereum address, without uppercase characters. + +#### Parameters + +| Name | Type | Description | +| :-------- | :-------------------------------------- | :------------------------------ | +| `address` | [`BigNumberish`](types.md#bignumberish) | Address of an Ethereum account. | + +#### Returns + +`string` + +an Hex string coded on 20 bytes + +**`Example`** + +```typescript +const myEthAddress: string = validateAndParseEthAddress('0x8359E4B0152ed5A731162D3c7B0D8D56edB165'); +// result = "0x008359e4b0152ed5a731162d3c7b0d8d56edb165" +``` + +#### Defined in + +[src/utils/eth.ts:32](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/eth.ts#L32) diff --git a/www/versioned_docs/version-6.11.0/API/namespaces/events.md b/www/versioned_docs/version-6.11.0/API/namespaces/events.md new file mode 100644 index 000000000..b18f11ded --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/namespaces/events.md @@ -0,0 +1,188 @@ +--- +id: 'events' +title: 'Namespace: events' +sidebar_label: 'events' +sidebar_position: 0 +custom_edit_url: null +--- + +## Functions + +### isAbiEvent + +▸ **isAbiEvent**(`object`): `boolean` + +Check if an ABI entry is related to events. + +#### Parameters + +| Name | Type | Description | +| :------- | :------------------------------ | :----------- | +| `object` | [`AbiEntry`](types.md#abientry) | an Abi entry | + +#### Returns + +`boolean` + +true if this Abi Entry is related to an event + +**`Example`** + +```typescript +// use of a transaction receipt +``` + +#### Defined in + +[src/utils/events/index.ts:34](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/events/index.ts#L34) + +--- + +### getAbiEvents + +▸ **getAbiEvents**(`abi`): [`AbiEvents`](types.md#abievents) + +Retrieves the events from the given ABI (from Cairo 0 or Cairo 1 contract). + +Is able to handle Cairo 1 events nested in Cairo components. + +#### Parameters + +| Name | Type | Description | +| :---- | :-------------------- | :------------------------------ | +| `abi` | [`Abi`](types.md#abi) | The ABI to extract events from. | + +#### Returns + +[`AbiEvents`](types.md#abievents) + +- An object containing the hashes and the definition of the events. + +**`Example`** + +```typescript +const result = events.getAbiEvents(abi); +// result = { +// '0x22ea134d4126804c60797e633195f8c9aa5fd6d1567e299f4961d0e96f373ee': +// { '0x34e55c1cd55f1338241b50d352f0e91c7e4ffad0e4271d64eb347589ebdfd16': { +// kind: 'struct', type: 'event', +// name: 'ka::ExComponent::ex_logic_component::Mint', + +// members: [{ +// name: 'spender', +// type: 'core::starknet::contract_address::ContractAddress', +// kind: 'key'}, +// { name: 'value', type: 'core::integer::u256', kind: 'data' }]}, +// ... +``` + +#### Defined in + +[src/utils/events/index.ts:150](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/events/index.ts#L150) + +--- + +### isObject + +▸ **isObject**(`item`): `boolean` + +Checks if a given value is an object (Object or Array) + +#### Parameters + +| Name | Type | Description | +| :----- | :---- | :-------------- | +| `item` | `any` | the tested item | + +#### Returns + +`boolean` + +**`Example`** + +```typescript +const result = events.isObject({ event: 'pending' }); +// result = true +``` + +#### Defined in + +[src/utils/events/index.ts:164](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/events/index.ts#L164) + +--- + +### parseEvents + +▸ **parseEvents**(`providerReceivedEvents`, `abiEvents`, `abiStructs`, `abiEnums`): [`ParsedEvents`](types.md#parsedevents) + +Parse raw events and structure them into response object based on a contract structs and defined events + +#### Parameters + +| Name | Type | Description | +| :----------------------- | :------------------------------------------------- | :------------------------- | +| `providerReceivedEvents` | [`EVENT`](types.RPC.RPCSPEC07.API.SPEC.md#event)[] | Array of raw events | +| `abiEvents` | [`AbiEvents`](types.md#abievents) | Events defined in the abi | +| `abiStructs` | [`AbiStructs`](types.md#abistructs) | Structs defined in the abi | +| `abiEnums` | [`AbiEnums`](types.md#abienums) | Enums defined in the abi | + +#### Returns + +[`ParsedEvents`](types.md#parsedevents) + +parsed events corresponding to the abi + +**`Example`** + +```typescript +const abiEvents = events.getAbiEvents(sierra.abi); +const abiStructs = CallData.getAbiStruct(sierra.abi); +const abiEnums = CallData.getAbiEnum(sierra.abi); +const result = events.parseEvents(myEvents, abiEvents, abiStructs, abiEnums); +// result = [{test::ExCh::ex_ch::Trade: { + maker: 7548613724711489396448209137n, + taker: 6435850562375218974960297344n, + router_maker: 0n, + }}] +``` + +#### Defined in + +[src/utils/events/index.ts:206](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/events/index.ts#L206) + +--- + +### parseUDCEvent + +▸ **parseUDCEvent**(`txReceipt`): `Object` + +Parse Transaction Receipt Event from UDC invoke transaction and +create DeployContractResponse compatible response with addition of the UDC Event data + +#### Parameters + +| Name | Type | +| :---------- | :------------------------------------------------------------------------------ | +| `txReceipt` | [`InvokeTransactionReceiptResponse`](types.md#invoketransactionreceiptresponse) | + +#### Returns + +`Object` + +DeployContractResponse | UDC Event Response data + +| Name | Type | +| :----------------- | :--------- | +| `transaction_hash` | `string` | +| `contract_address` | `string` | +| `address` | `string` | +| `deployer` | `string` | +| `unique` | `string` | +| `classHash` | `string` | +| `calldata_len` | `string` | +| `calldata` | `string`[] | +| `salt` | `string` | + +#### Defined in + +[src/utils/events/index.ts:267](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/events/index.ts#L267) diff --git a/www/versioned_docs/version-6.11.0/API/namespaces/hash.md b/www/versioned_docs/version-6.11.0/API/namespaces/hash.md new file mode 100644 index 000000000..226d4f14f --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/namespaces/hash.md @@ -0,0 +1,591 @@ +--- +id: 'hash' +title: 'Namespace: hash' +sidebar_label: 'hash' +sidebar_position: 0 +custom_edit_url: null +--- + +## Namespaces + +- [poseidon](hash.poseidon.md) + +## Functions + +### keccakBn + +▸ **keccakBn**(`value`): `string` + +Calculate the hex-string Keccak hash for a given BigNumberish + +#### Parameters + +| Name | Type | Description | +| :------ | :-------------------------------------- | :------------ | +| `value` | [`BigNumberish`](types.md#bignumberish) | value to hash | + +#### Returns + +`string` + +hex-string Keccak hash + +**`Example`** + +```typescript +const result = keccakBn('0xabc'); +// result = '0x11cf08aac85935e32397f410e48217a127b6855d41b1e3877eb4179c0904b77' +``` + +#### Defined in + +[src/utils/hash/selector.ts:19](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/hash/selector.ts#L19) + +--- + +### starknetKeccak + +▸ **starknetKeccak**(`str`): `bigint` + +Calculate the BigInt Starknet Keccak hash for a given string +[Reference](https://github.com/starkware-libs/cairo-lang/blob/master/src/starkware/starknet/public/abi.py#L38) + +#### Parameters + +| Name | Type | Description | +| :---- | :------- | :------------ | +| `str` | `string` | value to hash | + +#### Returns + +`bigint` + +BigInt Keccak hash + +**`Example`** + +```typescript +const result = starknetKeccak('test').toString(); +// result = '61835310290161785288773114225739080147441215596947647498723774891619563096' +``` + +#### Defined in + +[src/utils/hash/selector.ts:48](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/hash/selector.ts#L48) + +--- + +### getSelectorFromName + +▸ **getSelectorFromName**(`funcName`): `string` + +Calculate the hex-string selector for a given abi function name +[Reference](https://github.com/starkware-libs/cairo-lang/blob/master/src/starkware/starknet/public/abi.py#L46) + +#### Parameters + +| Name | Type | Description | +| :--------- | :------- | :---------------- | +| `funcName` | `string` | abi function name | + +#### Returns + +`string` + +hex-string selector + +**`Example`** + +```typescript +const result = getSelectorFromName('myFunction'); +// result = '0xc14cfe23f3fa7ce7b1f8db7d7682305b1692293f71a61cc06637f0d8d8b6c8' +``` + +#### Defined in + +[src/utils/hash/selector.ts:66](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/hash/selector.ts#L66) + +--- + +### getSelector + +▸ **getSelector**(`value`): `string` + +Calculate the hex-string selector from a given abi function name, decimal string or hex string + +#### Parameters + +| Name | Type | Description | +| :------ | :------- | :--------------------------------------- | +| `value` | `string` | hex-string \| dec-string \| ascii-string | + +#### Returns + +`string` + +hex-string selector + +**`Example`** + +```typescript +const selector1: string = getSelector('myFunction'); +// selector1 = "0xc14cfe23f3fa7ce7b1f8db7d7682305b1692293f71a61cc06637f0d8d8b6c8" + +const selector2: string = getSelector('0x123abc'); +// selector2 = "0x123abc" + +const selector3: string = getSelector('123456'); +// selector3 = "0x1e240" +``` + +#### Defined in + +[src/utils/hash/selector.ts:88](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/hash/selector.ts#L88) + +--- + +### calculateInvokeTransactionHash + +▸ **calculateInvokeTransactionHash**(`args`): `string` + +#### Parameters + +| Name | Type | +| :----- | :--------------------- | +| `args` | `CalcInvokeTxHashArgs` | + +#### Returns + +`string` + +#### Defined in + +[src/utils/hash/transactionHash/index.ts:60](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/hash/transactionHash/index.ts#L60) + +--- + +### calculateDeclareTransactionHash + +▸ **calculateDeclareTransactionHash**(`args`): `string` + +#### Parameters + +| Name | Type | +| :----- | :---------------------- | +| `args` | `CalcDeclareTxHashArgs` | + +#### Returns + +`string` + +#### Defined in + +[src/utils/hash/transactionHash/index.ts:120](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/hash/transactionHash/index.ts#L120) + +--- + +### calculateDeployAccountTransactionHash + +▸ **calculateDeployAccountTransactionHash**(`args`): `string` + +#### Parameters + +| Name | Type | +| :----- | :---------------------------- | +| `args` | `CalcDeployAccountTxHashArgs` | + +#### Returns + +`string` + +#### Defined in + +[src/utils/hash/transactionHash/index.ts:187](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/hash/transactionHash/index.ts#L187) + +--- + +### computePedersenHash + +▸ **computePedersenHash**(`a`, `b`): `string` + +#### Parameters + +| Name | Type | +| :--- | :-------------------------------------- | +| `a` | [`BigNumberish`](types.md#bignumberish) | +| `b` | [`BigNumberish`](types.md#bignumberish) | + +#### Returns + +`string` + +#### Defined in + +[src/utils/hash/classHash.ts:27](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/hash/classHash.ts#L27) + +--- + +### computePoseidonHash + +▸ **computePoseidonHash**(`a`, `b`): `string` + +#### Parameters + +| Name | Type | +| :--- | :-------------------------------------- | +| `a` | [`BigNumberish`](types.md#bignumberish) | +| `b` | [`BigNumberish`](types.md#bignumberish) | + +#### Returns + +`string` + +#### Defined in + +[src/utils/hash/classHash.ts:31](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/hash/classHash.ts#L31) + +--- + +### computeHashOnElements + +▸ **computeHashOnElements**(`data`): `string` + +Compute Pedersen hash from data + +#### Parameters + +| Name | Type | Description | +| :----- | :---------------------------------------- | :---------------------------------------- | +| `data` | [`BigNumberish`](types.md#bignumberish)[] | Array of data to compute Pedersen hash on | + +#### Returns + +`string` + +hex-string of Pedersen hash + +**`Example`** + +```typescript +const result = hash.computeHashOnElements(['0xabc', '0x123', '0xabc123']); +// result = 0x148141e8f7db29d005a0187669a56f0790d7e8c2c5b2d780e4d8b9e436a5521 +``` + +#### Defined in + +[src/utils/hash/classHash.ts:47](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/hash/classHash.ts#L47) + +--- + +### computePoseidonHashOnElements + +▸ **computePoseidonHashOnElements**(`data`): `string` + +#### Parameters + +| Name | Type | +| :----- | :---------------------------------------- | +| `data` | [`BigNumberish`](types.md#bignumberish)[] | + +#### Returns + +`string` + +#### Defined in + +[src/utils/hash/classHash.ts:55](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/hash/classHash.ts#L55) + +--- + +### calculateContractAddressFromHash + +▸ **calculateContractAddressFromHash**(`salt`, `classHash`, `constructorCalldata`, `deployerAddress`): `string` + +Calculate contract address from class hash + +#### Parameters + +| Name | Type | Description | +| :-------------------- | :-------------------------------------- | :--------------------------------------------- | +| `salt` | [`BigNumberish`](types.md#bignumberish) | Salt to be used for hashing | +| `classHash` | [`BigNumberish`](types.md#bignumberish) | Class hash of contract to generate address for | +| `constructorCalldata` | [`RawArgs`](types.md#rawargs) | Call data for contract constructor | +| `deployerAddress` | [`BigNumberish`](types.md#bignumberish) | Address of contract deployer | + +#### Returns + +`string` + +hex-string + +**`Example`** + +```typescript +const result = hash.calculateContractAddressFromHash( + 1234, + 0x1cf4fe5d37868d25524cdacb89518d88bf217a9240a1e6fde71cc22c429e0e3, + [1234, true, false], + 0x052fb1a9ab0db3c4f81d70fea6a2f6e55f57c709a46089b25eeec0e959db3695 +); +// result = 0x5fb03d3a88d8e474976932f927ff6a9e332e06ed36642ea3e8c7e38bf010f76 +``` + +#### Defined in + +[src/utils/hash/classHash.ts:73](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/hash/classHash.ts#L73) + +--- + +### formatSpaces + +▸ **formatSpaces**(`json`): `string` + +Format json-string without spaces to conform starknet json-string + +#### Parameters + +| Name | Type | Description | +| :----- | :------- | :------------------------- | +| `json` | `string` | json-string without spaces | + +#### Returns + +`string` + +json-string with additional spaces after `:` and `,` + +**`Example`** + +```typescript +const result = hash.formatSpaces("{'onchain':true,'isStarknet':true}"); +// result = "{'onchain': true, 'isStarknet': true}" +``` + +#### Defined in + +[src/utils/hash/classHash.ts:116](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/hash/classHash.ts#L116) + +--- + +### computeHintedClassHash + +▸ **computeHintedClassHash**(`compiledContract`): `string` + +Compute hinted class hash for legacy compiled contract (Cairo 0) + +#### Parameters + +| Name | Type | +| :----------------- | :---------------------------------------------------------- | +| `compiledContract` | [`LegacyCompiledContract`](types.md#legacycompiledcontract) | + +#### Returns + +`string` + +hex-string + +**`Example`** + +```typescript +const compiledCairo0 = json.parse(fs.readFileSync('./cairo0contract.json').toString('ascii')); +const result = hash.computeHintedClassHash(compiledCairo0); +// result = "0x293eabb06955c0a1e55557014675aa4e7a1fd69896147382b29b2b6b166a2ac" +``` + +#### Defined in + +[src/utils/hash/classHash.ts:144](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/hash/classHash.ts#L144) + +--- + +### computeLegacyContractClassHash + +▸ **computeLegacyContractClassHash**(`contract`): `string` + +Computes the class hash for legacy compiled contract (Cairo 0) + +#### Parameters + +| Name | Type | Description | +| :--------- | :---------------------------------------------------------------------- | :------------------------------- | +| `contract` | `string` \| [`LegacyCompiledContract`](types.md#legacycompiledcontract) | legacy compiled contract content | + +#### Returns + +`string` + +hex-string of class hash + +**`Example`** + +```typescript +const compiledCairo0 = json.parse(fs.readFileSync('./cairo0contract.json').toString('ascii')); +const result = hash.computeLegacyContractClassHash(compiledCairo0); +// result = "0x4a5cae61fa8312b0a3d0c44658b403d3e4197be80027fd5020ffcdf0c803331" +``` + +#### Defined in + +[src/utils/hash/classHash.ts:162](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/hash/classHash.ts#L162) + +--- + +### hashByteCodeSegments + +▸ **hashByteCodeSegments**(`casm`): `bigint` + +Compute hash of the bytecode for Sierra v1.5.0 onwards (Cairo 2.6.0) +Each segment is Poseidon hashed. +The global hash is : 1 + PoseidonHash(len0, h0, len1, h1, ...) + +#### Parameters + +| Name | Type | Description | +| :----- | :---------------------------------------- | :--------------------------------- | +| `casm` | [`CairoAssembly`](types.md#cairoassembly) | compiled Sierra CASM file content. | + +#### Returns + +`bigint` + +the bytecode hash as bigint. + +**`Example`** + +```typescript +const compiledCasm = json.parse(fs.readFileSync('./contractC260.casm.json').toString('ascii')); +const result = hash.hashByteCodeSegments(compiledCasm); +// result = 80499149343908132326491548897246987792410240503053732367044713070598981699n +``` + +#### Defined in + +[src/utils/hash/classHash.ts:230](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/hash/classHash.ts#L230) + +--- + +### computeCompiledClassHash + +▸ **computeCompiledClassHash**(`casm`): `string` + +Compute compiled class hash for contract (Cairo 1) + +#### Parameters + +| Name | Type | Description | +| :----- | :---------------------------------------- | :-------------------------------- | +| `casm` | [`CairoAssembly`](types.md#cairoassembly) | Cairo 1 compiled contract content | + +#### Returns + +`string` + +hex-string of class hash + +**`Example`** + +```typescript +const compiledCasm = json.parse(fs.readFileSync('./cairo260.casm.json').toString('ascii')); +const result = hash.computeCompiledClassHash(compiledCasm); +// result = "0x4087905743b4fa2b3affc1fc71333f1390c8c5d1e8ea47d6ba70786de3fc01a" +``` + +#### Defined in + +[src/utils/hash/classHash.ts:252](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/hash/classHash.ts#L252) + +--- + +### computeSierraContractClassHash + +▸ **computeSierraContractClassHash**(`sierra`): `string` + +Compute sierra contract class hash (Cairo 1) + +#### Parameters + +| Name | Type | Description | +| :------- | :------------------------------------------ | :------------------------------ | +| `sierra` | [`CompiledSierra`](types.md#compiledsierra) | Cairo 1 Sierra contract content | + +#### Returns + +`string` + +hex-string of class hash + +**`Example`** + +```typescript +const compiledSierra = json.parse(fs.readFileSync('./cairo260.sierra.json').toString('ascii')); +const result = hash.computeSierraContractClassHash(compiledSierra); +// result = "0x67b6b4f02baded46f02feeed58c4f78e26c55364e59874d8abfd3532d85f1ba" +``` + +#### Defined in + +[src/utils/hash/classHash.ts:306](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/hash/classHash.ts#L306) + +--- + +### computeContractClassHash + +▸ **computeContractClassHash**(`contract`): `string` + +Compute ClassHash (sierra or legacy) based on provided contract + +#### Parameters + +| Name | Type | Description | +| :--------- | :---------------------------------------------------------- | :----------------------- | +| `contract` | `string` \| [`CompiledContract`](types.md#compiledcontract) | Cairo 1 contract content | + +#### Returns + +`string` + +hex-string of class hash + +**`Example`** + +```typescript +const compiledSierra = json.parse(fs.readFileSync('./cairo260.sierra.json').toString('ascii')); +const result = hash.computeContractClassHash(compiledSierra); +// result = "0x67b6b4f02baded46f02feeed58c4f78e26c55364e59874d8abfd3532d85f1ba" +``` + +#### Defined in + +[src/utils/hash/classHash.ts:350](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/hash/classHash.ts#L350) + +--- + +### computePedersenHashOnElements + +▸ **computePedersenHashOnElements**(`data`): `string` + +Compute Pedersen hash from data + +#### Parameters + +| Name | Type | Description | +| :----- | :---------------------------------------- | :---------------------------------------- | +| `data` | [`BigNumberish`](types.md#bignumberish)[] | Array of data to compute Pedersen hash on | + +#### Returns + +`string` + +hex-string of Pedersen hash + +**`Example`** + +```typescript +const result = hash.computeHashOnElements(['0xabc', '0x123', '0xabc123']); +// result = 0x148141e8f7db29d005a0187669a56f0790d7e8c2c5b2d780e4d8b9e436a5521 +``` + +#### Defined in + +[src/utils/hash/classHash.ts:47](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/hash/classHash.ts#L47) diff --git a/www/versioned_docs/version-6.11.0/API/namespaces/hash.poseidon.md b/www/versioned_docs/version-6.11.0/API/namespaces/hash.poseidon.md new file mode 100644 index 000000000..874435236 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/namespaces/hash.poseidon.md @@ -0,0 +1,110 @@ +--- +id: 'hash.poseidon' +title: 'Namespace: poseidon' +sidebar_label: 'poseidon' +custom_edit_url: null +--- + +[hash](hash.md).poseidon + +Hashes Exports + +## Type Aliases + +### PoseidonOpts + +Ƭ **PoseidonOpts**: `Object` + +#### Type declaration + +| Name | Type | +| :---------------------- | :------------------ | +| `Fp` | `IField`<`bigint`\> | +| `t` | `number` | +| `roundsFull` | `number` | +| `roundsPartial` | `number` | +| `sboxPower?` | `number` | +| `reversePartialPowIdx?` | `boolean` | +| `mds` | `bigint`[][] | +| `roundConstants` | `bigint`[][] | + +#### Defined in + +node_modules/@noble/curves/esm/abstract/poseidon.d.ts:3 + +## Functions + +### validateOpts + +▸ **validateOpts**(`opts`): `Readonly`<\{ `rounds`: `number` ; `sboxFn`: (`n`: `bigint`) => `bigint` ; `roundConstants`: `bigint`[][] ; `mds`: `bigint`[][] ; `Fp`: `IField`<`bigint`\> ; `t`: `number` ; `roundsFull`: `number` ; `roundsPartial`: `number` ; `sboxPower?`: `number` ; `reversePartialPowIdx?`: `boolean` }\> + +#### Parameters + +| Name | Type | +| :----- | :---------------------------------------------- | +| `opts` | [`PoseidonOpts`](hash.poseidon.md#poseidonopts) | + +#### Returns + +`Readonly`<\{ `rounds`: `number` ; `sboxFn`: (`n`: `bigint`) => `bigint` ; `roundConstants`: `bigint`[][] ; `mds`: `bigint`[][] ; `Fp`: `IField`<`bigint`\> ; `t`: `number` ; `roundsFull`: `number` ; `roundsPartial`: `number` ; `sboxPower?`: `number` ; `reversePartialPowIdx?`: `boolean` }\> + +#### Defined in + +node_modules/@noble/curves/esm/abstract/poseidon.d.ts:13 + +--- + +### splitConstants + +▸ **splitConstants**(`rc`, `t`): `bigint`[][] + +#### Parameters + +| Name | Type | +| :--- | :--------- | +| `rc` | `bigint`[] | +| `t` | `number` | + +#### Returns + +`bigint`[][] + +#### Defined in + +node_modules/@noble/curves/esm/abstract/poseidon.d.ts:25 + +--- + +### poseidon + +▸ **poseidon**(`opts`): (`values`: `bigint`[]) => `bigint`[] + +#### Parameters + +| Name | Type | +| :----- | :---------------------------------------------- | +| `opts` | [`PoseidonOpts`](hash.poseidon.md#poseidonopts) | + +#### Returns + +`fn` + +▸ (`values`): `bigint`[] + +##### Parameters + +| Name | Type | +| :------- | :--------- | +| `values` | `bigint`[] | + +##### Returns + +`bigint`[] + +| Name | Type | +| :--------------- | :----------- | +| `roundConstants` | `bigint`[][] | + +#### Defined in + +node_modules/@noble/curves/esm/abstract/poseidon.d.ts:26 diff --git a/www/versioned_docs/version-6.11.0/API/namespaces/json.md b/www/versioned_docs/version-6.11.0/API/namespaces/json.md new file mode 100644 index 000000000..9fe55da5c --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/namespaces/json.md @@ -0,0 +1,139 @@ +--- +id: 'json' +title: 'Namespace: json' +sidebar_label: 'json' +sidebar_position: 0 +custom_edit_url: null +--- + +## Functions + +### parse + +▸ **parse**(`str`): `any` + +Convert JSON string to JSON object + +NOTE: the String() wrapping is used so the behavior conforms to JSON.parse() +which can accept simple data types but is not represented in the default typing + +#### Parameters + +| Name | Type | Description | +| :---- | :------- | :---------- | +| `str` | `string` | JSON string | + +#### Returns + +`any` + +Parsed json object + +**`Example`** + +```typescript +const str = '[123, 12.3, 11223344556677889900]'; +const result = parse(str); +// result = [123, 12.3, 11223344556677890048n] +``` + +#### Defined in + +[src/utils/json.ts:27](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/json.ts#L27) + +--- + +### parseAlwaysAsBig + +▸ **parseAlwaysAsBig**(`str`): `any` + +Convert JSON string to JSON object with all numbers as bigint + +#### Parameters + +| Name | Type | Description | +| :---- | :------- | :---------- | +| `str` | `string` | JSON string | + +#### Returns + +`any` + +Parsed json object + +**`Example`** + +```typescript +const str = '[123, 12.3, 1234567890]'; +const result = parseAlwaysAsBig(str); +// result = [123n, 12.3, 1234567890n] +``` + +#### Defined in + +[src/utils/json.ts:41](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/json.ts#L41) + +--- + +### stringify + +▸ **stringify**(`value`, `replacer?`, `space?`, `numberStringifiers?`): `string` + +Convert JSON object to JSON string + +NOTE: the not-null assertion is used so the return type conforms to JSON.stringify() +which can also return undefined but is not represented in the default typing + +#### Parameters + +| Name | Type | Description | +| :-------------------- | :-------------------- | :------------------------------------------------------------------------------------------------ | +| `value` | `unknown` | JSON object | +| `replacer?` | `any` | Function that alters the behavior of the stringification process | +| `space?` | `string` \| `number` | Used to insert white space into the output JSON string | +| `numberStringifiers?` | `NumberStringifier`[] | Function used to stringify numbers (returning undefined will delete the property from the object) | + +#### Returns + +`string` + +JSON string + +**`Example`** + +```typescript +const value = [123, 12.3, 1234567890]; +const result = stringify(value); +// result = '[123,12.3,1234567890]' +``` + +#### Defined in + +[src/utils/json.ts:62](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/json.ts#L62) + +--- + +### stringifyAlwaysAsBig + +▸ **stringifyAlwaysAsBig**(`value`, `replacer?`, `space?`, `numberStringifiers?`): `string` + +#### Parameters + +| Name | Type | +| :-------------------- | :-------------------- | +| `value` | `unknown` | +| `replacer?` | `any` | +| `space?` | `string` \| `number` | +| `numberStringifiers?` | `NumberStringifier`[] | + +#### Returns + +`string` + +**`Deprecated`** + +equivalent to 'stringify', alias will be removed + +#### Defined in + +[src/utils/json.ts:62](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/json.ts#L62) diff --git a/www/versioned_docs/version-6.11.0/API/namespaces/merkle.md b/www/versioned_docs/version-6.11.0/API/namespaces/merkle.md new file mode 100644 index 000000000..26efdfa44 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/namespaces/merkle.md @@ -0,0 +1,51 @@ +--- +id: 'merkle' +title: 'Namespace: merkle' +sidebar_label: 'merkle' +sidebar_position: 0 +custom_edit_url: null +--- + +## Classes + +- [MerkleTree](../classes/merkle.MerkleTree.md) + +## Functions + +### proofMerklePath + +▸ **proofMerklePath**(`root`, `leaf`, `path`, `hashMethod?`): `boolean` + +Tests a Merkle tree path + +#### Parameters + +| Name | Type | Default value | Description | +| :----------- | :------------------------------------------------------------------------------------------------------- | :-------------------- | :------------------------------------ | +| `root` | `string` | `undefined` | hex-string | +| `leaf` | `string` | `undefined` | hex-string | +| `path` | `string`[] | `undefined` | hex-string array | +| `hashMethod` | (`a`: [`BigNumberish`](types.md#bignumberish), `b`: [`BigNumberish`](types.md#bignumberish)) => `string` | `computePedersenHash` | hash method to use, default: Pedersen | + +#### Returns + +`boolean` + +true if the path is valid, false otherwise + +**`Example`** + +```typescript +const leaves = ['0x1', '0x2', '0x3', '0x4', '0x5', '0x6', '0x7']; +const tree = new MerkleTree(leaves); +const result = proofMerklePath(tree.root, '0x3', [ + '0x4', + '0x5bb9440e27889a364bcb678b1f679ecd1347acdedcbf36e83494f857cc58026', + '0x8c0e46dd2df9aaf3a8ebfbc25408a582ad7fa7171f0698ddbbc5130b4b4e60', +]); +// result = true +``` + +#### Defined in + +[src/utils/merkle.ts:148](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/merkle.ts#L148) diff --git a/www/versioned_docs/version-6.11.0/API/namespaces/num.md b/www/versioned_docs/version-6.11.0/API/namespaces/num.md new file mode 100644 index 000000000..9cac989bf --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/namespaces/num.md @@ -0,0 +1,686 @@ +--- +id: 'num' +title: 'Namespace: num' +sidebar_label: 'num' +sidebar_position: 0 +custom_edit_url: null +--- + +## References + +### BigNumberish + +Re-exports [BigNumberish](types.md#bignumberish) + +## Functions + +### isHex + +▸ **isHex**(`hex`): `boolean` + +Test if string is hex-string + +#### Parameters + +| Name | Type | Description | +| :---- | :------- | :---------- | +| `hex` | `string` | hex-string | + +#### Returns + +`boolean` + +true if the input string is a hexadecimal string, false otherwise + +**`Example`** + +```typescript +const hexString1 = '0x2fd23d9182193775423497fc0c472e156c57c69e4089a1967fb288a2d84e914'; +const result1 = isHex(hexString1); +// result1 = true + +const hexString2 = '2fd23d9182193775423497fc0c472e156c57c69e4089a1967fb288a2d84e914'; +const result2 = isHex(hexString2); +// result2 = false +``` + +#### Defined in + +[src/utils/num.ts:26](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/num.ts#L26) + +--- + +### toBigInt + +▸ **toBigInt**(`value`): `bigint` + +Convert BigNumberish to bigint + +#### Parameters + +| Name | Type | Description | +| :------ | :-------------------------------------- | :--------------- | +| `value` | [`BigNumberish`](types.md#bignumberish) | value to convert | + +#### Returns + +`bigint` + +converted value + +**`Example`** + +```typescript +const str = '123'; +const result = toBigInt(str); +// result = 123n +``` + +#### Defined in + +[src/utils/num.ts:42](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/num.ts#L42) + +--- + +### isBigInt + +▸ **isBigInt**(`value`): value is bigint + +Test if value is bigint + +#### Parameters + +| Name | Type | Description | +| :------ | :---- | :------------ | +| `value` | `any` | value to test | + +#### Returns + +value is bigint + +true if value is bigint, false otherwise + +**`Example`** + +```typescript +isBigInt(10n); // true +isBigInt(BigInt('10')); // true +isBigInt(10); // false +isBigInt('10'); // false +isBigInt(null); // false +``` + +#### Defined in + +[src/utils/num.ts:60](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/num.ts#L60) + +--- + +### toHex + +▸ **toHex**(`value`): `string` + +Convert BigNumberish to hex-string + +#### Parameters + +| Name | Type | Description | +| :------ | :-------------------------------------- | :--------------- | +| `value` | [`BigNumberish`](types.md#bignumberish) | value to convert | + +#### Returns + +`string` + +converted number in hex-string format + +**`Example`** + +```typescript +toHex(100); // '0x64' +toHex('200'); // '0xc8' +``` + +#### Defined in + +[src/utils/num.ts:75](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/num.ts#L75) + +--- + +### toStorageKey + +▸ **toStorageKey**(`number`): `string` + +Convert BigNumberish to storage-key-string + +Same as toHex but conforming to the STORAGE_KEY pattern `^0x0[0-7]{1}[a-fA-F0-9]{0,62}$`. + +A storage key is represented as up to 62 hex digits, 3 bits, and 5 leading zeroes: +`0x0 + [0-7] + 62 hex = 0x + 64 hex` + +#### Parameters + +| Name | Type | +| :------- | :-------------------------------------- | +| `number` | [`BigNumberish`](types.md#bignumberish) | + +#### Returns + +`string` + +format: storage-key-string + +#### Defined in + +[src/utils/num.ts:93](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/num.ts#L93) + +--- + +### hexToDecimalString + +▸ **hexToDecimalString**(`hex`): `string` + +Convert hexadecimal string to decimal string + +#### Parameters + +| Name | Type | Description | +| :---- | :------- | :-------------------- | +| `hex` | `string` | hex-string to convert | + +#### Returns + +`string` + +converted number in decimal string format + +**`Example`** + +```typescript +hexToDecimalString('64'); // '100' +hexToDecimalString('c8'); // '200' +``` + +#### Defined in + +[src/utils/num.ts:108](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/num.ts#L108) + +--- + +### cleanHex + +▸ **cleanHex**(`hex`): `string` + +Remove hex-string leading zeroes and lowercase it + +#### Parameters + +| Name | Type | Description | +| :---- | :------- | :---------- | +| `hex` | `string` | hex-string | + +#### Returns + +`string` + +updated string in hex-string format + +**`Example`** + +```typescript +cleanHex('0x00023AB'); // '0x23ab' +``` + +#### Defined in + +[src/utils/num.ts:122](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/num.ts#L122) + +--- + +### assertInRange + +▸ **assertInRange**(`input`, `lowerBound`, `upperBound`, `inputName?`): `void` + +Asserts input is equal to or greater then lowerBound and lower then upperBound. + +The `inputName` parameter is used in the assertion message. + +#### Parameters + +| Name | Type | Default value | Description | +| :----------- | :-------------------------------------- | :------------ | :---------------------------------- | +| `input` | [`BigNumberish`](types.md#bignumberish) | `undefined` | Value to check | +| `lowerBound` | [`BigNumberish`](types.md#bignumberish) | `undefined` | Lower bound value | +| `upperBound` | [`BigNumberish`](types.md#bignumberish) | `undefined` | Upper bound value | +| `inputName` | `string` | `''` | Name of the input for error message | + +#### Returns + +`void` + +**`Throws`** + +Error if input is out of range + +**`Example`** + +```typescript +const input1: BigNumberish = 10; +assertInRange(input1, 5, 20, 'value'); + +const input2: BigNumberish = 25; +assertInRange(input2, 5, 20, 'value'); +// throws Error: Message not signable, invalid value length. +``` + +#### Defined in + +[src/utils/num.ts:145](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/num.ts#L145) + +--- + +### bigNumberishArrayToDecimalStringArray + +▸ **bigNumberishArrayToDecimalStringArray**(`data`): `string`[] + +Convert BigNumberish array to decimal string array + +#### Parameters + +| Name | Type | Description | +| :----- | :---------------------------------------- | :------------------------------ | +| `data` | [`BigNumberish`](types.md#bignumberish)[] | array of big-numberish elements | + +#### Returns + +`string`[] + +array of decimal strings + +**`Example`** + +```typescript +const data = [100, 200n]; +const result = bigNumberishArrayToDecimalStringArray(data); +// result = ['100', '200'] +``` + +#### Defined in + +[src/utils/num.ts:174](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/num.ts#L174) + +--- + +### bigNumberishArrayToHexadecimalStringArray + +▸ **bigNumberishArrayToHexadecimalStringArray**(`data`): `string`[] + +Convert BigNumberish array to hexadecimal string array + +#### Parameters + +| Name | Type | Description | +| :----- | :---------------------------------------- | :------------------------------ | +| `data` | [`BigNumberish`](types.md#bignumberish)[] | array of big-numberish elements | + +#### Returns + +`string`[] + +array of hex-strings + +**`Example`** + +```typescript +const data = [100, 200n]; +const result = bigNumberishArrayToHexadecimalStringArray(data); +// result = ['0x64', '0xc8'] +``` + +#### Defined in + +[src/utils/num.ts:190](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/num.ts#L190) + +--- + +### isStringWholeNumber + +▸ **isStringWholeNumber**(`str`): `boolean` + +Test if string is a whole number (0, 1, 2, 3...) + +#### Parameters + +| Name | Type | Description | +| :---- | :------- | :------------- | +| `str` | `string` | string to test | + +#### Returns + +`boolean` + +: true if string is a whole number, false otherwise + +**`Example`** + +```typescript +isStringWholeNumber('100'); // true +isStringWholeNumber('10.0'); // false +isStringWholeNumber('test'); // false +``` + +#### Defined in + +[src/utils/num.ts:206](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/num.ts#L206) + +--- + +### getDecimalString + +▸ **getDecimalString**(`str`): `string` + +Convert string to decimal string + +#### Parameters + +| Name | Type | Description | +| :---- | :------- | :---------------- | +| `str` | `string` | string to convert | + +#### Returns + +`string` + +converted string in decimal format + +**`Throws`** + +str needs to be a number string in hex or whole number format + +**`Example`** + +```typescript +const result = getDecimalString('0x1a'); +// result = "26" + +const result2 = getDecimalString('Hello'); +// throws Error: "Hello needs to be a hex-string or whole-number-string" +``` + +#### Defined in + +[src/utils/num.ts:225](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/num.ts#L225) + +--- + +### getHexString + +▸ **getHexString**(`str`): `string` + +Convert string to hexadecimal string + +#### Parameters + +| Name | Type | Description | +| :---- | :------- | :---------------- | +| `str` | `string` | string to convert | + +#### Returns + +`string` + +converted hex-string + +**`Throws`** + +str needs to be a number string in hex or whole number format + +**`Example`** + +```typescript +const result = getHexString('123'); +// result = "0x7b" + +const result2 = getHexString('Hello'); +// throws Error: Hello needs to be a hex-string or whole-number-string +``` + +#### Defined in + +[src/utils/num.ts:250](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/num.ts#L250) + +--- + +### getHexStringArray + +▸ **getHexStringArray**(`array`): `string`[] + +Convert string array to hex-string array + +#### Parameters + +| Name | Type | Description | +| :------ | :--------- | :----------------------- | +| `array` | `string`[] | array of string elements | + +#### Returns + +`string`[] + +array of converted elements in hex-string format + +**`Example`** + +```typescript +const data = ['100', '200', '0xaa']; +const result = getHexStringArray(data); +// result = ['0x64', '0xc8', '0xaa'] +``` + +#### Defined in + +[src/utils/num.ts:272](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/num.ts#L272) + +--- + +### toCairoBool + +▸ **toCairoBool**(`value`): `string` + +Convert boolean to "0" or "1" + +#### Parameters + +| Name | Type | Description | +| :------ | :-------- | :--------------------------------- | +| `value` | `boolean` | The boolean value to be converted. | + +#### Returns + +`string` + +Returns true if the value is a number, otherwise returns false. + +**`Example`** + +```typescript +const result = toCairoBool(true); +// result ="1" + +const result2 = toCairoBool(false); +// result2 = "0" +``` + +#### Defined in + +[src/utils/num.ts:290](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/num.ts#L290) + +--- + +### hexToBytes + +▸ **hexToBytes**(`str`): `Uint8Array` + +Convert hex-string to an array of Bytes (Uint8Array) + +#### Parameters + +| Name | Type | Description | +| :---- | :------- | :---------- | +| `str` | `string` | hex-string | + +#### Returns + +`Uint8Array` + +array containing the converted elements + +**`Throws`** + +str must be a hex-string + +**`Example`** + +```typescript +let result; + +result = hexToBytes('0x64'); +// result = [100] + +result = hexToBytes('test'); +// throws Error: test needs to be a hex-string +``` + +#### Defined in + +[src/utils/num.ts:311](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/num.ts#L311) + +--- + +### addPercent + +▸ **addPercent**(`number`, `percent`): `bigint` + +Adds a percentage amount to the value + +#### Parameters + +| Name | Type | Description | +| :-------- | :-------------------------------------- | :-------------------------------- | +| `number` | [`BigNumberish`](types.md#bignumberish) | value to be modified | +| `percent` | `number` | integer as percent ex. 50 for 50% | + +#### Returns + +`bigint` + +modified value + +**`Example`** + +```typescript +addPercent(100, 50); // 150n +addPercent(100, 100); // 200n +addPercent(200, 50); // 300n +addPercent(200, -50); // 100n +addPercent(200, -100); // 0n +addPercent(200, -150); // -100n +``` + +#### Defined in + +[src/utils/num.ts:337](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/num.ts#L337) + +--- + +### isNumber + +▸ **isNumber**(`value`): value is number + +Check if a value is a number. + +#### Parameters + +| Name | Type | Description | +| :------ | :-------- | :------------------ | +| `value` | `unknown` | The value to check. | + +#### Returns + +value is number + +Returns true if the value is a number, otherwise returns false. + +Returns true if the value is a number, otherwise returns false. + +**`Example`** + +```typescript +const result = isNumber(123); +// result = true + +const result2 = isNumber('123'); +// result2 = false +``` + +#### Defined in + +[src/utils/num.ts:357](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/num.ts#L357) + +--- + +### isBoolean + +▸ **isBoolean**(`value`): value is boolean + +Checks if a given value is of boolean type. + +#### Parameters + +| Name | Type | Description | +| :------ | :-------- | :------------------ | +| `value` | `unknown` | The value to check. | + +#### Returns + +value is boolean + +- True if the value is of boolean type, false otherwise. + +- True if the value is of boolean type, false otherwise. + +**`Example`** + +```typescript +const result = isBoolean(true); +// result = true + +const result2 = isBoolean(false); +// result2 = false +``` + +#### Defined in + +[src/utils/num.ts:376](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/num.ts#L376) + +--- + +### toHexString + +▸ **toHexString**(`value`): `string` + +Alias of ToHex + +#### Parameters + +| Name | Type | +| :------ | :-------------------------------------- | +| `value` | [`BigNumberish`](types.md#bignumberish) | + +#### Returns + +`string` + +#### Defined in + +[src/utils/num.ts:75](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/num.ts#L75) diff --git a/www/versioned_docs/version-6.11.0/API/namespaces/provider-1.md b/www/versioned_docs/version-6.11.0/API/namespaces/provider-1.md new file mode 100644 index 000000000..bf737b236 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/namespaces/provider-1.md @@ -0,0 +1,340 @@ +--- +id: 'provider-1' +title: 'Namespace: provider' +sidebar_label: 'provider' +sidebar_position: 0 +custom_edit_url: null +--- + +## Classes + +- [Block](../classes/provider-1.Block.md) + +## Variables + +### validBlockTags + +• `Const` **validBlockTags**: `BlockTag`[] + +#### Defined in + +[src/utils/provider.ts:131](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/provider.ts#L131) + +## Functions + +### wait + +▸ **wait**(`delay`): `Promise`<`unknown`\> + +Helper - Async Sleep for 'delay' time + +#### Parameters + +| Name | Type | Description | +| :------ | :------- | :------------------------------ | +| `delay` | `number` | Number of milliseconds to delay | + +#### Returns + +`Promise`<`unknown`\> + +**`Example`** + +```typescript +await provider.wait(1000); // 1000 milliseconds == 1 second +``` + +#### Defined in + +[src/utils/provider.ts:36](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/provider.ts#L36) + +--- + +### createSierraContractClass + +▸ **createSierraContractClass**(`contract`): [`SierraContractClass`](types.md#sierracontractclass) + +Create Sierra compressed Contract Class from a given Compiled Sierra + +CompiledSierra -> SierraContractClass + +#### Parameters + +| Name | Type | Description | +| :--------- | :------------------------------------------ | :---------------------------------- | +| `contract` | [`CompiledSierra`](types.md#compiledsierra) | sierra code from the Cairo compiler | + +#### Returns + +[`SierraContractClass`](types.md#sierracontractclass) + +compressed Sierra + +**`Example`** + +```typescript +const result = provider.createSierraContractClass({ + "sierra_program": [ + "0x1", + "0x4", + "0x0", + "0x2", + "0x4", + "0x1", + "0x3b4", + "0x4c", + "0x65", + "0x52616e6765436865636b",...}) +// result = {sierra_program: 'H4sIAAAAAAAAA6x9WZbsrI7uVGqd53qgb8ZynwzYY7jDv5JAAmxHZuQ+96yq/L0jIzEINZ8axP/5j/q/+j//+z/wH9f/o/p/zPbh+Iot49+u9v8G3//rTdDhDDF4Z0MKPthQ+m+S2v6n1S//638VvdXW2PQ6RvxuDG+jiybCXKJ7Hef6ZRi9E+Q89WmKLilfqbrsL6PUCf8...} +``` + +#### Defined in + +[src/utils/provider.ts:66](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/provider.ts#L66) + +--- + +### parseContract + +▸ **parseContract**(`contract`): [`ContractClass`](types.md#contractclass) + +Create a compressed contract from a given compiled Cairo 0 & 1 contract or a string. + +#### Parameters + +| Name | Type | Description | +| :--------- | :---------------------------------------------------------- | :---------------------------------------------- | +| `contract` | `string` \| [`CompiledContract`](types.md#compiledcontract) | Compiled Cairo 0 or Cairo 1 contract, or string | + +#### Returns + +[`ContractClass`](types.md#contractclass) + +Cairo 0 or Cairo 1 compressed contract + +**`Example`** + +```typescript +const result = provider.parseContract({ + "sierra_program": [ + "0x1", + "0x4", + "0x0", + "0x2", + "0x4", + "0x1", + "0x3b4", + "0x4c", + "0x65", + "0x52616e6765436865636b",...}) +// result = {sierra_program: 'H4sIAAAAAAAAA6x9WZbsrI7uVGqd53qgb8ZynwzYY7jDv5JAAmxHZuQ+96yq/L0jIzEINZ8axP/5j/q/+j//+z/wH9f/o/p/zPbh+Iot49+u9v8G3//rTdDhDDF4Z0MKPthQ+m+S2v6n1S//638VvdXW2PQ6RvxuDG+jiybCXKJ7Hef6ZRi9E+Q89WmKLilfqbrsL6PUCf8...} +``` + +#### Defined in + +[src/utils/provider.ts:96](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/provider.ts#L96) + +--- + +### isV3Tx + +▸ **isV3Tx**(`details`): details is V3TransactionDetails + +Check if the given transaction details is a V3 transaction. + +#### Parameters + +| Name | Type | Description | +| :-------- | :-------------------------------------------------------------------- | :------------------------------------- | +| `details` | [`InvocationsDetailsWithNonce`](types.md#invocationsdetailswithnonce) | The transaction details to be checked. | + +#### Returns + +details is V3TransactionDetails + +Returns true if the transaction is a V3 transaction, otherwise false. + +**`Example`** + +```typescript +const invocation: InvocationsDetailsWithNonce = { + nonce: 1, + version: 3, + maxFee: 10 ** 15, + feeDataAvailabilityMode: RPC.EDataAvailabilityMode.L1, + tip: 10 ** 13, + paymasterData: [], + resourceBounds: { + l1_gas: { max_amount: num.toHex(10 ** 14), max_price_per_unit: num.toHex(50) }, + l2_gas: { max_amount: num.toHex(0), max_price_per_unit: num.toHex(0) }, + }, +}; +const result = provider.isV3Tx(invocation); +// result = true +``` + +#### Defined in + +[src/utils/provider.ts:282](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/provider.ts#L282) + +--- + +### isVersion + +▸ **isVersion**(`version`, `response`): `boolean` + +Determines if the given response matches the specified version. + +#### Parameters + +| Name | Type | Description | +| :--------- | :---------------------------- | :------------------------------------------- | +| `version` | `"0.5"` \| `"0.6"` \| `"0.7"` | The version to compare against the response. | +| `response` | `string` | The response to check against the version. | + +#### Returns + +`boolean` + +True if the response matches the version, false otherwise. + +**`Example`** + +```typescript +const result = provider.isVersion('0.7', '0_7'); +// result = false +``` + +#### Defined in + +[src/utils/provider.ts:299](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/provider.ts#L299) + +--- + +### isPendingBlock + +▸ **isPendingBlock**(`response`): response is PendingBlock + +Guard Pending Block + +#### Parameters + +| Name | Type | Description | +| :--------- | :---------------------------------------------- | :------------------------------ | +| `response` | [`GetBlockResponse`](types.md#getblockresponse) | answer of myProvider.getBlock() | + +#### Returns + +response is PendingBlock + +true if block is the pending block + +**`Example`** + +```typescript +const block = await myProvider.getBlock('pending'); +const result = provider.isPendingBlock(block); +// result = true +``` + +#### Defined in + +[src/utils/provider.ts:317](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/provider.ts#L317) + +--- + +### isPendingTransaction + +▸ **isPendingTransaction**(`response`): `boolean` + +Guard Pending Transaction + +#### Parameters + +| Name | Type | Description | +| :--------- | :----------------------------------------------------------------------------- | :------------------ | +| `response` | [`GetTransactionReceiptResponse`](../modules.md#gettransactionreceiptresponse) | transaction Receipt | + +#### Returns + +`boolean` + +true if the transaction is part of the pending block + +**`Example`** + +```typescript +const block = await myProvider.getBlockWithTxs('pending'); +const txR = await myProvider.getTransactionReceipt(block.transactions[0].transaction_hash); +const result = provider.isPendingTransaction(txR); +// result = true +``` + +#### Defined in + +[src/utils/provider.ts:333](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/provider.ts#L333) + +--- + +### isPendingStateUpdate + +▸ **isPendingStateUpdate**(`response`): response is Object + +Guard Pending State Update + +#### Parameters + +| Name | Type | Description | +| :--------- | :---------------------------------------------------- | :--------------- | +| `response` | [`StateUpdateResponse`](types.md#stateupdateresponse) | State of a block | + +#### Returns + +response is Object + +true if the block is pending + +**`Example`** + +```typescript +const state: StateUpdateResponse = await myProvider.getStateUpdate('pending'); +const result = provider.isPendingStateUpdate(state); +// result = true +``` + +#### Defined in + +[src/utils/provider.ts:348](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/provider.ts#L348) + +--- + +### getDefaultNodeUrl + +▸ **getDefaultNodeUrl**(`networkName?`, `mute?`): `string` + +Return randomly select available public node + +#### Parameters + +| Name | Type | Default value | Description | +| :------------- | :------------------------------------------------- | :------------ | :----------------------- | +| `networkName?` | [`NetworkName`](../enums/constants.NetworkName.md) | `undefined` | NetworkName | +| `mute` | `boolean` | `false` | mute public node warning | + +#### Returns + +`string` + +default node url + +**`Example`** + +```typescript +const result = provider.getDefaultNodeUrl(constants.NetworkName.SN_MAIN, false); +// console : "Using default public node url, please provide nodeUrl in provider options!" +// result = "https://starknet-mainnet.public.blastapi.io/rpc/v0_7" +``` + +#### Defined in + +[src/utils/provider.ts:121](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/provider.ts#L121) diff --git a/www/versioned_docs/version-6.11.0/API/namespaces/selector.md b/www/versioned_docs/version-6.11.0/API/namespaces/selector.md new file mode 100644 index 000000000..e8ba1cf14 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/namespaces/selector.md @@ -0,0 +1,31 @@ +--- +id: 'selector' +title: 'Namespace: selector' +sidebar_label: 'selector' +sidebar_position: 0 +custom_edit_url: null +--- + +## References + +### keccakBn + +Re-exports [keccakBn](hash.md#keccakbn) + +--- + +### starknetKeccak + +Re-exports [starknetKeccak](hash.md#starknetkeccak) + +--- + +### getSelectorFromName + +Re-exports [getSelectorFromName](hash.md#getselectorfromname) + +--- + +### getSelector + +Re-exports [getSelector](hash.md#getselector) diff --git a/www/versioned_docs/version-6.11.0/API/namespaces/shortString.md b/www/versioned_docs/version-6.11.0/API/namespaces/shortString.md new file mode 100644 index 000000000..bc1c57776 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/namespaces/shortString.md @@ -0,0 +1,327 @@ +--- +id: 'shortString' +title: 'Namespace: shortString' +sidebar_label: 'shortString' +sidebar_position: 0 +custom_edit_url: null +--- + +## Functions + +### isASCII + +▸ **isASCII**(`str`): `boolean` + +Test if string contains only ASCII characters (string can be ascii text) + +#### Parameters + +| Name | Type | Description | +| :---- | :------- | :----------------- | +| `str` | `string` | The string to test | + +#### Returns + +`boolean` + +Returns true if the string contains only ASCII characters, otherwise false + +**`Example`** + +```typescript +const result = shortString.isASCII('Hello, world!'); +// result = true +const result = shortString.isASCII('Hello, 世界!'); +// result = false +``` + +#### Defined in + +[src/utils/shortString.ts:17](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/shortString.ts#L17) + +--- + +### isShortString + +▸ **isShortString**(`str`): `boolean` + +Test if a string is a Cairo short string (string with less or equal 31 characters) + +#### Parameters + +| Name | Type | Description | +| :---- | :------- | :----------------- | +| `str` | `string` | the string to test | + +#### Returns + +`boolean` + +Returns true if the string has less than or equal to 31 characters, otherwise false. + +**`Example`** + +```typescript +const result = shortString.isShortString('Hello, world!'); +// result = true +``` + +#### Defined in + +[src/utils/shortString.ts:32](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/shortString.ts#L32) + +--- + +### isDecimalString + +▸ **isDecimalString**(`str`): `boolean` + +Test if string contains only numbers (string can be converted to decimal integer number) + +#### Parameters + +| Name | Type | Description | +| :---- | :------- | :------------------ | +| `str` | `string` | the string to test. | + +#### Returns + +`boolean` + +Returns true if the string contains only numbers, otherwise false. + +**`Example`** + +```typescript +const result = shortString.isDecimalString('12345'); +// result = true +const result = shortString.isDecimalString('12a45'); +// result = false +``` + +#### Defined in + +[src/utils/shortString.ts:48](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/shortString.ts#L48) + +--- + +### isString + +▸ **isString**(`value`): value is string + +Checks if a given value is a string. + +#### Parameters + +| Name | Type | Description | +| :------ | :-------- | :----------------------- | +| `value` | `unknown` | the value to be checked. | + +#### Returns + +value is string + +returns true if the value is a string, false otherwise. + +**`Example`** + +```typescript +const result = shortString.isString('12345'); +// result = true +``` + +#### Defined in + +[src/utils/shortString.ts:62](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/shortString.ts#L62) + +--- + +### isText + +▸ **isText**(`val`): `boolean` + +Test if value is a pure string text, and not a hex string or number string + +#### Parameters + +| Name | Type | Description | +| :---- | :---- | :---------------- | +| `val` | `any` | the value to test | + +#### Returns + +`boolean` + +returns true if the value is a free-form string text, otherwise false + +**`Example`** + +```typescript +const result = shortString.isText('Hello, world!'); +// result = true +const result = shortString.isText('0x7aec92f706'); +// result = false +``` + +#### Defined in + +[src/utils/shortString.ts:78](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/shortString.ts#L78) + +--- + +### splitLongString + +▸ **splitLongString**(`longStr`): `string`[] + +Split long text (string greater than 31 characters) into short strings (string lesser or equal 31 characters) + +#### Parameters + +| Name | Type | Description | +| :-------- | :------- | :--------------------------------------------------------- | +| `longStr` | `string` | the long text (string greater than 31 characters) to split | + +#### Returns + +`string`[] + +an array of short strings (string lesser or equal 31 characters). + +**`Example`** + +```typescript +const result = shortString.splitLongString( + 'Hello, world! we just testing splitLongString function.' +); +// result = [ 'Hello, world! we just testing s', 'plitLongString function.' ] +``` + +#### Defined in + +[src/utils/shortString.ts:116](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/shortString.ts#L116) + +--- + +### encodeShortString + +▸ **encodeShortString**(`str`): `string` + +Convert an ASCII short string to a hexadecimal string. + +#### Parameters + +| Name | Type | Description | +| :---- | :------- | :--------------------------------------------- | +| `str` | `string` | short string (ASCII string, 31 characters max) | + +#### Returns + +`string` + +hex-string with 248 bits max + +**`Example`** + +```typescript +const result = shortString.encodeShortString('uri/pict/t38.jpg'); +// result = "0x7572692f706963742f7433382e6a7067" +``` + +#### Defined in + +[src/utils/shortString.ts:131](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/shortString.ts#L131) + +--- + +### decodeShortString + +▸ **decodeShortString**(`str`): `string` + +Convert a hexadecimal or decimal string to an ASCII string. + +#### Parameters + +| Name | Type | Description | +| :---- | :------- | :----------------------------------------------------------------------------- | +| `str` | `string` | representing a 248 bit max number (ex. "0x1A4F64EA56" or "236942575435676423") | + +#### Returns + +`string` + +short string; 31 characters max + +**`Example`** + +```typescript +const result = shortString.decodeShortString('0x7572692f706963742f7433382e6a7067'); +// result = "uri/pict/t38.jpg" +``` + +#### Defined in + +[src/utils/shortString.ts:147](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/shortString.ts#L147) + +--- + +### isShortText + +▸ **isShortText**(`val`): `boolean` + +Test if value is short text + +#### Parameters + +| Name | Type | Description | +| :---- | :---- | :--------------- | +| `val` | `any` | The item to test | + +#### Returns + +`boolean` + +Returns true if the value is a short text (string has less or equal 31 characters), otherwise false + +**`Example`** + +```typescript +const result = shortString.isShortText('Hello, world!'); +// result = true +``` + +#### Defined in + +[src/utils/shortString.ts:92](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/shortString.ts#L92) + +--- + +### isLongText + +▸ **isLongText**(`val`): `boolean` + +Test if value is long text + +#### Parameters + +| Name | Type | Description | +| :---- | :---- | :---------------- | +| `val` | `any` | the value to test | + +#### Returns + +`boolean` + +returns true if the value is a long text(string has more than 31 characters), otherwise false. + +**`Example`** + +```typescript +const result = shortString.isLongText( + 'Hello, world! this is some random long string to enable you test isLongText function.' +); +// result = true +``` + +#### Defined in + +[src/utils/shortString.ts:104](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/shortString.ts#L104) diff --git a/www/versioned_docs/version-6.11.0/API/namespaces/stark.md b/www/versioned_docs/version-6.11.0/API/namespaces/stark.md new file mode 100644 index 000000000..f2cbc553b --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/namespaces/stark.md @@ -0,0 +1,526 @@ +--- +id: 'stark' +title: 'Namespace: stark' +sidebar_label: 'stark' +sidebar_position: 0 +custom_edit_url: null +--- + +## Functions + +### compressProgram + +▸ **compressProgram**(`jsonProgram`): [`CompressedProgram`](types.md#compressedprogram) + +Compress compiled Cairo 0 program + +[Reference](https://github.com/starkware-libs/cairo-lang/blob/master/src/starkware/starknet/services/api/gateway/transaction.py#L54-L58) + +#### Parameters + +| Name | Type | Description | +| :------------ | :------------------------------------------------------ | :---------------------------------------- | +| `jsonProgram` | `string` \| [`Program`](../interfaces/types.Program.md) | Representing the compiled Cairo 0 program | + +#### Returns + +[`CompressedProgram`](types.md#compressedprogram) + +Compressed Cairo 0 program + +**`Example`** + +```typescript +const contractCairo0 = json.parse(fs.readFileSync('./cairo0contract.json').toString('ascii')); +const result = stark.compressProgram(contractCairo0); +// result = "H4sIAAAAAAAAA+1dC4/bOJL+K4aBu01me7r5EEUyixzQk/TuB..." +``` + +#### Defined in + +[src/utils/stark.ts:41](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/stark.ts#L41) + +--- + +### decompressProgram + +▸ **decompressProgram**(`base64`): `any` + +Decompress compressed compiled Cairo 0 program + +#### Parameters + +| Name | Type | Description | +| :------- | :------- | :------------------------- | +| `base64` | `string` | Compressed Cairo 0 program | + +#### Returns + +`any` + +Parsed decompressed compiled Cairo 0 program + +**`Example`** + +```typescript +const contractCairo0 = json.parse(fs.readFileSync('./cairo0contract.json').toString('ascii')); +const compressedCairo0 = stark.compressProgram(contractCairo0); +const result = stark.decompressProgram(compressedCairo0); +// result = { +// abi: [ +// { +// inputs: [Array], +// name: 'increase_balance', +// outputs: [], +// type: 'function' +// } +// ], +// entry_points_by_type: { CONSTRUCTOR: [], EXTERNAL: [ [Object], [Object] ], L1_HANDLER: [] }, +// program: { +// attributes: [], +// builtins: [ 'pedersen', 'range_check' ], +// compiler_version: '0.10.2', +// data: [ +// '0x480680017fff8000', +// ... +``` + +#### Defined in + +[src/utils/stark.ts:75](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/stark.ts#L75) + +--- + +### randomAddress + +▸ **randomAddress**(): `string` + +Random Address based on random keyPair + +#### Returns + +`string` + +an hex string of a random Starknet address + +**`Example`** + +```typescript +const result = stark.randomAddress(); +// result = "0x51fc8126a13cd5ddb29a71ca399cb1e814f086f5af1b502d7151c14929554f" +``` + +#### Defined in + +[src/utils/stark.ts:90](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/stark.ts#L90) + +--- + +### makeAddress + +▸ **makeAddress**(`input`): `string` + +Lowercase and hex prefix string + +#### Parameters + +| Name | Type | +| :------ | :------- | +| `input` | `string` | + +#### Returns + +`string` + +**`Deprecated`** + +Not used internally, naming is confusing based on functionality + +#### Defined in + +[src/utils/stark.ts:100](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/stark.ts#L100) + +--- + +### formatSignature + +▸ **formatSignature**(`sig?`): [`ArraySignatureType`](types.md#arraysignaturetype) + +Format Signature to standard type (hex array) + +#### Parameters + +| Name | Type | +| :----- | :-------------------------------- | +| `sig?` | [`Signature`](types.md#signature) | + +#### Returns + +[`ArraySignatureType`](types.md#arraysignaturetype) + +Custom hex string array + +**`Throws`** + +if sig not defined, or wrong format + +**`Example`** + +```typescript +const signature = ec.starkCurve.sign('0x12de34', '0x3487123eac'); +const result = stark.formatSignature(signature); +// result = ['0xba8eecee2d69c417e8c6a20cf331c821f716b58ba9e47166c7476afdb38997', +// '0x69ef7438c94104839a6e2aa2385482a77399d2f46e894ae4f50ab6d69239d1c'] +``` + +#### Defined in + +[src/utils/stark.ts:117](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/stark.ts#L117) + +--- + +### signatureToDecimalArray + +▸ **signatureToDecimalArray**(`sig?`): [`ArraySignatureType`](types.md#arraysignaturetype) + +Format Signature to decimal string array + +#### Parameters + +| Name | Type | +| :----- | :-------------------------------- | +| `sig?` | [`Signature`](types.md#signature) | + +#### Returns + +[`ArraySignatureType`](types.md#arraysignaturetype) + +Custom hex string array + +**`Throws`** + +if sig not defined, or wrong format + +**`Example`** + +```typescript +const signature = ec.starkCurve.sign('0x12de34', '0x3487123eac'); +const result = stark.signatureToDecimalArray(signature); +// result = ['329619989660444495690615805546674399714973829707166906185976654753023887767', +// '2994745480203297689255012826403147585778741462125743754529207781488706428188'] +``` + +#### Defined in + +[src/utils/stark.ts:143](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/stark.ts#L143) + +--- + +### signatureToHexArray + +▸ **signatureToHexArray**(`sig?`): [`ArraySignatureType`](types.md#arraysignaturetype) + +Format Signature to hex string array + +#### Parameters + +| Name | Type | +| :----- | :-------------------------------- | +| `sig?` | [`Signature`](types.md#signature) | + +#### Returns + +[`ArraySignatureType`](types.md#arraysignaturetype) + +Custom hex string array + +**`Throws`** + +if sig not defined, or wrong format + +**`Example`** + +```typescript +const signature = ec.starkCurve.sign('0x12de34', '0x3487123eac'); +const result = stark.signatureToHexArray(signature); +// result = ['0xba8eecee2d69c417e8c6a20cf331c821f716b58ba9e47166c7476afdb38997', +// '0x69ef7438c94104839a6e2aa2385482a77399d2f46e894ae4f50ab6d69239d1c'] +``` + +#### Defined in + +[src/utils/stark.ts:160](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/stark.ts#L160) + +--- + +### estimatedFeeToMaxFee + +▸ **estimatedFeeToMaxFee**(`estimatedFee`, `overhead?`): `bigint` + +Convert estimated fee to max fee including a margin + +#### Parameters + +| Name | Type | Default value | Description | +| :------------- | :-------------------------------------- | :---------------------------- | :---------------------------- | +| `estimatedFee` | [`BigNumberish`](types.md#bignumberish) | `undefined` | The estimated fee | +| `overhead?` | `number` | `FeeMarginPercentage.MAX_FEE` | The overhead added to the gas | + +#### Returns + +`bigint` + +The maximum fee with the margin + +**`Example`** + +```typescript +const result = stark.estimatedFeeToMaxFee('8982300000000', 50); +// result = "13473450000000n" +``` + +#### Defined in + +[src/utils/stark.ts:175](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/stark.ts#L175) + +--- + +### estimateFeeToBounds + +▸ **estimateFeeToBounds**(`estimate`, `amountOverhead?`, `priceOverhead?`): [`ResourceBounds`](types.RPC.RPCSPEC07.API.md#resourcebounds) + +Calculates the maximum resource bounds for fee estimation. + +#### Parameters + +| Name | Type | Default value | Description | +| :---------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :------------------------------------------------ | :------------------------------------------------------------------------------------------- | +| `estimate` | `0n` \| \{ `unit`: `"WEI"` \| `"FRI"` ; `gas_consumed`: `string` ; `gas_price`: `string` ; `overall_fee`: `string` ; `data_gas_consumed`: `undefined` \| `string` ; `data_gas_price`: `undefined` \| `string` } | `undefined` | The estimate for the fee. If a BigInt is provided, the returned bounds will be set to '0x0'. | +| `amountOverhead?` | `number` | `FeeMarginPercentage.L1_BOUND_MAX_AMOUNT` | The percentage overhead added to the gas consumed or overall fee amount. | +| `priceOverhead?` | `number` | `FeeMarginPercentage.L1_BOUND_MAX_PRICE_PER_UNIT` | The percentage overhead added to the gas price per unit. | + +#### Returns + +[`ResourceBounds`](types.RPC.RPCSPEC07.API.md#resourcebounds) + +The maximum resource bounds for fee estimation. + +**`Throws`** + +If the estimate object is undefined or does not have the required properties. + +**`Example`** + +```typescript +const feeEstimated: FeeEstimate = { + gas_consumed: '0x3456a', + gas_price: '0xa45567567567ae4', + overall_fee: '0x2198F463A77A899A5668', + unit: 'WEI', +}; +const result = stark.estimateFeeToBounds(feeEstimated, 70, 50); +// result = { +// l2_gas: { max_amount: '0x0', max_price_per_unit: '0x0' }, +// l1_gas: { max_amount: '0x58f9a', max_price_per_unit: '0xf6801b01b01b856' } +// } +``` + +#### Defined in + +[src/utils/stark.ts:205](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/stark.ts#L205) + +--- + +### intDAM + +▸ **intDAM**(`dam`): [`EDAMode`](types.RPC.RPCSPEC07.API.md#edamode-1) + +Converts the data availability mode from EDataAvailabilityMode to EDAMode. + +#### Parameters + +| Name | Type | Description | +| :---- | :---------------------------------------------------------------------------- | :------------------------------------------ | +| `dam` | [`EDataAvailabilityMode`](types.RPC.RPCSPEC07.API.md#edataavailabilitymode-1) | The data availability mode to be converted. | + +#### Returns + +[`EDAMode`](types.RPC.RPCSPEC07.API.md#edamode-1) + +The converted data availability mode. + +**`Throws`** + +If the data availability mode is not a valid value. + +**`Example`** + +```typescript +const result = stark.intDAM(RPC.EDataAvailabilityMode.L1); +// result = 0 +``` + +#### Defined in + +[src/utils/stark.ts:244](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/stark.ts#L244) + +--- + +### toTransactionVersion + +▸ **toTransactionVersion**(`defaultVersion`, `providedVersion?`): [`ETransactionVersion`](types.RPC.RPCSPEC07.API.md#etransactionversion-1) + +Convert to ETransactionVersion or throw an error. +Return providedVersion is specified else return defaultVersion + +#### Parameters + +| Name | Type | Description | +| :----------------- | :-------------------------------------- | :----------------------------------- | +| `defaultVersion` | [`BigNumberish`](types.md#bignumberish) | default estimate transaction version | +| `providedVersion?` | [`BigNumberish`](types.md#bignumberish) | estimate transaction version | + +#### Returns + +[`ETransactionVersion`](types.RPC.RPCSPEC07.API.md#etransactionversion-1) + +if providedVersion is not provided, returns the default estimate version, else return the provided version + +**`Throws`** + +if estimate transaction version or default estimate transaction version is unknown + +**`Example`** + +```typescript +const result = stark.toTransactionVersion( + '0x100000000000000000000000000000003', + stark.toFeeVersion(2) +); +// result = "0x100000000000000000000000000000002" +``` + +#### Defined in + +[src/utils/stark.ts:263](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/stark.ts#L263) + +--- + +### toFeeVersion + +▸ **toFeeVersion**(`providedVersion?`): `undefined` \| `"0x100000000000000000000000000000000"` \| `"0x100000000000000000000000000000001"` \| `"0x100000000000000000000000000000002"` \| `"0x100000000000000000000000000000003"` + +Convert Transaction version to Fee version or throw an error + +#### Parameters + +| Name | Type | Description | +| :----------------- | :-------------------------------------- | :----------------------------------------------- | +| `providedVersion?` | [`BigNumberish`](types.md#bignumberish) | 0..3 number representing the transaction version | + +#### Returns + +`undefined` \| `"0x100000000000000000000000000000000"` \| `"0x100000000000000000000000000000001"` \| `"0x100000000000000000000000000000002"` \| `"0x100000000000000000000000000000003"` + +the fee estimation version corresponding to the transaction version provided + +**`Throws`** + +if the transaction version is unknown + +**`Example`** + +```typescript +const result = stark.toFeeVersion(2); +// result = "0x100000000000000000000000000000002" +``` + +#### Defined in + +[src/utils/stark.ts:291](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/stark.ts#L291) + +--- + +### v3Details + +▸ **v3Details**(`details`): `Object` + +Return provided or default v3 tx details + +#### Parameters + +| Name | Type | Description | +| :-------- | :------------------------------------------------------------ | :------------------------- | +| `details` | [`UniversalDetails`](../interfaces/types.UniversalDetails.md) | details of the transaction | + +#### Returns + +`Object` + +an object including the V3 transaction details. + +| Name | Type | +| :-------------------------- | :----------------------------------------------------------------------------------- | +| `tip` | [`BigNumberish`](types.md#bignumberish) | +| `paymasterData` | [`BigNumberish`](types.md#bignumberish)[] | +| `accountDeploymentData` | [`BigNumberish`](types.md#bignumberish)[] | +| `nonceDataAvailabilityMode` | [`EDataAvailabilityMode`](types.RPC.RPCSPEC07.API.md#edataavailabilitymode-1) | +| `feeDataAvailabilityMode` | [`EDataAvailabilityMode`](types.RPC.RPCSPEC07.API.md#edataavailabilitymode-1) | +| `resourceBounds` | [`RESOURCE_BOUNDS_MAPPING`](types.RPC.RPCSPEC07.API.SPEC.md#resource_bounds_mapping) | + +**`Example`** + +```typescript +const detail: UniversalDetails = { tip: 3456n }; +const result = stark.v3Details(detail); +// result = { +// tip: 3456n, +// paymasterData: [], +// accountDeploymentData: [], +// nonceDataAvailabilityMode: 'L1', +// feeDataAvailabilityMode: 'L1', +// resourceBounds: { +// l2_gas: { max_amount: '0x0', max_price_per_unit: '0x0' }, +// l1_gas: { max_amount: '0x0', max_price_per_unit: '0x0' } +// } +// } +``` + +#### Defined in + +[src/utils/stark.ts:324](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/stark.ts#L324) + +--- + +### reduceV2 + +▸ **reduceV2**(`providedVersion`): [`ETransactionVersion`](types.RPC.RPCSPEC07.API.md#etransactionversion-1) + +It will reduce V2 to V1, else (V3) stay the same +F2 -> F1 +V2 -> V1 +F3 -> F3 +V3 -> V3 + +#### Parameters + +| Name | Type | +| :---------------- | :------------------------------------------------------------------------ | +| `providedVersion` | [`ETransactionVersion`](types.RPC.RPCSPEC07.API.md#etransactionversion-1) | + +#### Returns + +[`ETransactionVersion`](types.RPC.RPCSPEC07.API.md#etransactionversion-1) + +if v2 then returns v1. if v3 then return v3 + +**`Example`** + +```typescript +const result = stark.reduceV2(constants.TRANSACTION_VERSION.V2); +// result = "0x1" +``` + +#### Defined in + +[src/utils/stark.ts:349](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/stark.ts#L349) diff --git a/www/versioned_docs/version-6.11.0/API/namespaces/starknetId.md b/www/versioned_docs/version-6.11.0/API/namespaces/starknetId.md new file mode 100644 index 000000000..9deaa1a47 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/namespaces/starknetId.md @@ -0,0 +1,411 @@ +--- +id: 'starknetId' +title: 'Namespace: starknetId' +sidebar_label: 'starknetId' +sidebar_position: 0 +custom_edit_url: null +--- + +## Enumerations + +- [StarknetIdContract](../enums/starknetId.StarknetIdContract.md) +- [StarknetIdIdentityContract](../enums/starknetId.StarknetIdIdentityContract.md) +- [StarknetIdVerifierContract](../enums/starknetId.StarknetIdVerifierContract.md) +- [StarknetIdPfpContract](../enums/starknetId.StarknetIdPfpContract.md) +- [StarknetIdPopContract](../enums/starknetId.StarknetIdPopContract.md) + +## Variables + +### StarknetIdMulticallContract + +• `Const` **StarknetIdMulticallContract**: `"0x034ffb8f4452df7a613a0210824d6414dbadcddce6c6e19bf4ddc9e22ce5f970"` + +#### Defined in + +[src/utils/starknetId.ts:189](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/starknetId.ts#L189) + +## Functions + +### useDecoded + +▸ **useDecoded**(`encoded`): `string` + +Decodes an array of BigInts into a string using the given algorithm. + +#### Parameters + +| Name | Type | Description | +| :-------- | :--------- | :---------------------------- | +| `encoded` | `bigint`[] | The encoded array of BigInts. | + +#### Returns + +`string` + +The decoded string. + +**`Example`** + +```typescript +const result = starknetId.useDecoded([3015206943634620n]); +// result = "starknetjs.stark" +``` + +#### Defined in + +[src/utils/starknetId.ts:33](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/starknetId.ts#L33) + +--- + +### useEncoded + +▸ **useEncoded**(`decoded`): `bigint` + +Encodes a string into a bigint value. + +#### Parameters + +| Name | Type | Description | +| :-------- | :------- | :------------------------ | +| `decoded` | `string` | The string to be encoded. | + +#### Returns + +`bigint` + +The encoded bigint value. + +**`Example`** + +```typescript +const result = starknetId.useEncoded('starknet.js'); +// result = 3015206943634620n +``` + +#### Defined in + +[src/utils/starknetId.ts:85](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/starknetId.ts#L85) + +--- + +### getStarknetIdContract + +▸ **getStarknetIdContract**(`chainId`): `string` + +Returns the Starknet ID contract address based on the provided chain ID. + +#### Parameters + +| Name | Type | Description | +| :-------- | :--------------------------------------------------------- | :------------------------------------ | +| `chainId` | [`StarknetChainId`](../enums/constants.StarknetChainId.md) | The chain ID of the Starknet network. | + +#### Returns + +`string` + +The Starknet ID contract address. + +**`Throws`** + +Throws an error if the Starknet ID contract is not deployed on the network. + +**`Example`** + +```typescript +const result = starknetId.getStarknetIdContract(constants.StarknetChainId.SN_SEPOLIA); +// result = "0x154bc2e1af9260b9e66af0e9c46fc757ff893b3ff6a85718a810baf1474" +``` + +#### Defined in + +[src/utils/starknetId.ts:144](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/starknetId.ts#L144) + +--- + +### getStarknetIdIdentityContract + +▸ **getStarknetIdIdentityContract**(`chainId`): `string` + +Returns the Starknet ID identity contract address for the given chain ID. + +#### Parameters + +| Name | Type | Description | +| :-------- | :--------------------------------------------------------- | :-------------------------------------- | +| `chainId` | [`StarknetChainId`](../enums/constants.StarknetChainId.md) | The chain ID for the specified network. | + +#### Returns + +`string` + +The Starknet ID identity contract address for the specified network. + +**`Throws`** + +If the Starknet ID verifier contract is not deployed on the network. + +**`Example`** + +```typescript +const result = starknetId.getStarknetIdIdentityContract(constants.StarknetChainId.SN_SEPOLIA); +// result = "0x3697660a0981d734780731949ecb2b4a38d6a58fc41629ed611e8defda" +``` + +#### Defined in + +[src/utils/starknetId.ts:176](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/starknetId.ts#L176) + +--- + +### getStarknetIdMulticallContract + +▸ **getStarknetIdMulticallContract**(`chainId`): `string` + +Returns the Starknet.id multicall contract address based on the provided chainId. + +#### Parameters + +| Name | Type | Description | +| :-------- | :--------------------------------------------------------- | :-------------------------- | +| `chainId` | [`StarknetChainId`](../enums/constants.StarknetChainId.md) | The chainId of the network. | + +#### Returns + +`string` + +- The address of the Starknet.id multicall contract. + +**`Throws`** + +- If the Starknet.id multicall contract is not deployed on the network. + +**`Example`** + +```typescript +const result = starknetId.getStarknetIdMulticallContract(constants.StarknetChainId.SN_SEPOLIA); +// result = "0x034ffb8f4452df7a613a0210824d6414dbadcddce6c6e19bf4ddc9e22ce5f970" +``` + +#### Defined in + +[src/utils/starknetId.ts:204](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/starknetId.ts#L204) + +--- + +### getStarknetIdVerifierContract + +▸ **getStarknetIdVerifierContract**(`chainId`): `string` + +Returns the address of the Starknet ID Verifier contract based on the specified chain ID. + +#### Parameters + +| Name | Type | Description | +| :-------- | :--------------------------------------------------------- | :---------------------------- | +| `chainId` | [`StarknetChainId`](../enums/constants.StarknetChainId.md) | The ID of the Starknet chain. | + +#### Returns + +`string` + +- The address of the Starknet ID Verifier contract. + +**`Throws`** + +- If the Starknet ID Verifier contract is not deployed on the specified network. + +**`Example`** + +```typescript +const result = starknetId.getStarknetIdVerifierContract(constants.StarknetChainId.SN_SEPOLIA); +// result = "0x60B94fEDe525f815AE5E8377A463e121C787cCCf3a36358Aa9B18c12c4D566" +``` + +#### Defined in + +[src/utils/starknetId.ts:234](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/starknetId.ts#L234) + +--- + +### getStarknetIdPfpContract + +▸ **getStarknetIdPfpContract**(`chainId`): `string` + +Retrieves the contract address of the Starknet.id profile picture verifier contract based on the given chain ID. + +#### Parameters + +| Name | Type | Description | +| :-------- | :--------------------------------------------------------- | :--------------------------- | +| `chainId` | [`StarknetChainId`](../enums/constants.StarknetChainId.md) | The chain ID of the network. | + +#### Returns + +`string` + +- The contract address of the Starknet.id profile picture verifier contract. + +**`Throws`** + +- Throws an error if the Starknet.id profile picture verifier contract is not yet deployed on the network. + +**`Example`** + +```typescript +const result = starknetId.getStarknetIdPfpContract(constants.StarknetChainId.SN_SEPOLIA); +// result = "0x9e7bdb8dabd02ea8cfc23b1d1c5278e46490f193f87516ed5ff2dfec02" +``` + +#### Defined in + +[src/utils/starknetId.ts:264](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/starknetId.ts#L264) + +--- + +### getStarknetIdPopContract + +▸ **getStarknetIdPopContract**(`chainId`): `string` + +Retrieves the Starknet ID Proof of Personhood (IdPop) verifier contract address for the given chain ID. + +#### Parameters + +| Name | Type | Description | +| :-------- | :--------------------------------------------------------- | :------------------------------------ | +| `chainId` | [`StarknetChainId`](../enums/constants.StarknetChainId.md) | The chain ID of the Starknet network. | + +#### Returns + +`string` + +- The Starknet ID Pop contract address. + +**`Throws`** + +- If the Starknet ID Pop contract is not deployed on the specified network. + +**`Example`** + +```typescript +const result = starknetId.getStarknetIdPopContract(constants.StarknetChainId.SN_SEPOLIA); +// result = "0x15ae88ae054caa74090b89025c1595683f12edf7a4ed2ad0274de3e1d4a" +``` + +#### Defined in + +[src/utils/starknetId.ts:296](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/starknetId.ts#L296) + +--- + +### execution + +▸ **execution**(`staticEx?`, `ifEqual?`, `ifNotEqual?`): [`CairoCustomEnum`](../classes/CairoCustomEnum.md) + +Returns a CairoCustomEnum object. + +Functions to build CairoCustomEnum for multiCall contracts + +#### Parameters + +| Name | Type | Default value | Description | +| :------------ | :--------- | :------------ | :------------------------------------------------------------------------ | +| `staticEx?` | `Object` | `undefined` | An optional object defining the "Static" value of the CairoCustomEnum. | +| `ifEqual?` | `number`[] | `undefined` | An optional array defining the "IfEqual" value of the CairoCustomEnum. | +| `ifNotEqual?` | `number`[] | `undefined` | An optional array defining the "IfNotEqual" value of the CairoCustomEnum. | + +#### Returns + +[`CairoCustomEnum`](../classes/CairoCustomEnum.md) + +- The created CairoCustomEnum object. + +**`Example`** + +```typescript +const result: CairoCustomEnum = starknetId.execution(undefined, [1, 2, 3], undefined); +// result = CairoCustomEnum { +// variant: { +// Static: undefined, +// IfEqual: { '0': 1, '1': 2, '2': 3 }, +// IfNotEqual: undefined +// } +// } +``` + +#### Defined in + +[src/utils/starknetId.ts:331](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/starknetId.ts#L331) + +--- + +### dynamicFelt + +▸ **dynamicFelt**(`hardcoded?`, `reference?`): [`CairoCustomEnum`](../classes/CairoCustomEnum.md) + +Creates a new instance of CairoCustomEnum. + +#### Parameters + +| Name | Type | Default value | Description | +| :----------- | :-------------------------------------- | :------------ | :------------------------------------------- | +| `hardcoded?` | [`BigNumberish`](types.md#bignumberish) | `undefined` | The hardcoded value for the CairoCustomEnum. | +| `reference?` | `number`[] | `undefined` | The reference array for the CairoCustomEnum. | + +#### Returns + +[`CairoCustomEnum`](../classes/CairoCustomEnum.md) + +The new instance of CairoCustomEnum. + +**`Example`** + +```typescript +const result: CairoCustomEnum = starknetId.dynamicFelt(undefined, [1, 2]); +// result = CairoCustomEnum { +// variant: { Hardcoded: undefined, Reference: { '0': 1, '1': 2 } } +// } +``` + +#### Defined in + +[src/utils/starknetId.ts:357](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/starknetId.ts#L357) + +--- + +### dynamicCallData + +▸ **dynamicCallData**(`hardcoded?`, `reference?`, `arrayReference?`): [`CairoCustomEnum`](../classes/CairoCustomEnum.md) + +Creates a new instance of CairoCustomEnum with the given parameters. + +#### Parameters + +| Name | Type | Default value | Description | +| :---------------- | :---------------------------------------- | :------------ | :------------------------------------ | +| `hardcoded?` | [`BigNumberish`](types.md#bignumberish) | `undefined` | The hardcoded value. | +| `reference?` | [`BigNumberish`](types.md#bignumberish)[] | `undefined` | The reference value (optional). | +| `arrayReference?` | [`BigNumberish`](types.md#bignumberish)[] | `undefined` | The array reference value (optional). | + +#### Returns + +[`CairoCustomEnum`](../classes/CairoCustomEnum.md) + +The new instance of CairoCustomEnum. + +**`Example`** + +```typescript +const result: CairoCustomEnum = starknetId.dynamicCallData(undefined, [1, 2], undefined); +// result = CairoCustomEnum { +// variant: { +// Hardcoded: undefined, +// Reference: { '0': 1, '1': 2 }, +// ArrayReference: undefined +// } +// } +``` + +#### Defined in + +[src/utils/starknetId.ts:385](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/starknetId.ts#L385) diff --git a/www/versioned_docs/version-6.11.0/API/namespaces/transaction.md b/www/versioned_docs/version-6.11.0/API/namespaces/transaction.md new file mode 100644 index 000000000..26f5a3c80 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/namespaces/transaction.md @@ -0,0 +1,343 @@ +--- +id: 'transaction' +title: 'Namespace: transaction' +sidebar_label: 'transaction' +sidebar_position: 0 +custom_edit_url: null +--- + +## Functions + +### buildUDCCall + +▸ **buildUDCCall**(`payload`, `address`): `Object` + +Builds a UDCCall object. + +#### Parameters + +| Name | Type | Description | +| :-------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :----------------------------------------------------------------------------------------------- | +| `payload` | [`UniversalDeployerContractPayload`](types.md#universaldeployercontractpayload) \| [`UniversalDeployerContractPayload`](types.md#universaldeployercontractpayload)[] | the payload data for the UDCCall. Can be a single payload object or an array of payload objects. | +| `address` | `string` | the address to be used in the UDCCall | + +#### Returns + +`Object` + +the UDCCall object containing an array of calls and an array of addresses. + +| Name | Type | +| :---------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `calls` | \{ `contractAddress`: `"0x041a78e741e5af2fec34b695679bc6891742439f7afb8484ecd7766661ad02bf"` = UDC.ADDRESS; `entrypoint`: `"deployContract"` = UDC.ENTRYPOINT; `calldata`: [`BigNumberish`](types.md#bignumberish)[] }[] | +| `addresses` | `string`[] | + +**`Example`** + +```typescript +const payload: UniversalDeployerContractPayload = { + classHash: '0x1234567890123456789012345678901234567890', + salt: '0x0987654321098765432109876543210987654321', + unique: true, + constructorCalldata: [1, 2, 3], +}; +const address = '0xABCDEF1234567890ABCDEF1234567890ABCDEF12'; +const result = transaction.buildUDCCall(payload, address); +// result = { +// calls: [ +// { +// contractAddress: "0xABCDEF1234567890ABCDEF1234567890ABCDEF12", +// entrypoint: "functionName", +// calldata: [classHash, salt, true, 3, 1, 2, 3] +// }], +// addresses: ["0x6fD084B56a7EDc5C06B3eB40f97Ae5A0C707A865"] +// } +``` + +#### Defined in + +[src/utils/transaction.ts:222](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/transaction.ts#L222) + +--- + +### getVersionsByType + +▸ **getVersionsByType**(`versionType?`): \{ `v1`: `"0x100000000000000000000000000000001"` = ETransactionVersion.F1; `v2`: `"0x100000000000000000000000000000002"` = ETransactionVersion.F2; `v3`: `"0x100000000000000000000000000000003"` = ETransactionVersion.F3 } \| \{ `v1`: `"0x1"` = ETransactionVersion.V1; `v2`: `"0x2"` = ETransactionVersion.V2; `v3`: `"0x3"` = ETransactionVersion.V3 } + +Return transaction versions based on version type, default version type is 'transaction'. + +#### Parameters + +| Name | Type | Description | +| :------------- | :------------------------- | :------------------------------------------- | +| `versionType?` | `"fee"` \| `"transaction"` | the type of version ("fee" or "transaction") | + +#### Returns + +\{ `v1`: `"0x100000000000000000000000000000001"` = ETransactionVersion.F1; `v2`: `"0x100000000000000000000000000000002"` = ETransactionVersion.F2; `v3`: `"0x100000000000000000000000000000003"` = ETransactionVersion.F3 } \| \{ `v1`: `"0x1"` = ETransactionVersion.V1; `v2`: `"0x2"` = ETransactionVersion.V2; `v3`: `"0x3"` = ETransactionVersion.V3 } + +an object containing the transaction versions. + +**`Example`** + +```typescript +const result = transaction.getVersionsByType('fee'); +// result = { +// v1: '0x100000000000000000000000000000001', +// v2: '0x100000000000000000000000000000002', +// v3: '0x100000000000000000000000000000003' +// } +``` + +#### Defined in + +[src/utils/transaction.ts:278](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/transaction.ts#L278) + +--- + +### transformCallsToMulticallArrays + +▸ **transformCallsToMulticallArrays**(`calls`): `Object` + +Transforms a list of Calls, each with their own calldata, into +two arrays: one with the entry points, and one with the concatenated calldata + +#### Parameters + +| Name | Type | Description | +| :------ | :------------------------ | :------------------------------ | +| `calls` | [`Call`](types.md#call)[] | the list of calls to transform. | + +#### Returns + +`Object` + +An object containing two arrays: callArray and calldata. + +| Name | Type | +| :---------- | :---------------------------------------- | +| `callArray` | [`ParsedStruct`](types.md#parsedstruct)[] | +| `calldata` | [`Calldata`](types.md#calldata) | + +**`Example`** + +```typescript +const calls: Call[] = [ + { + contractAddress: '0x1234567890123456789012345678901234567890', + entrypoint: 'functionName', + calldata: [1, 2, 3], + }, + { + contractAddress: '0x0987654321098765432109876543210987654321', + entrypoint: 'anotherFunction', + calldata: [4, 5, 6], + }, +]; +const result = transaction.transformCallsToMulticallArrays(calls); +// result = { +// callArray: [ +// { to: "0x1234567890123456789012345678901234567890", selector: "1234567890", +// data_offset: "0", data_len: "3" }, +// { to: "0x0987654321098765432109876543210987654321", selector: "1234567890", +// data_offset: "0987654321", data_offset: "3", data_len: "3"} +// ], calldata: [1, 2, 3, 4, 5, 6] +// } +``` + +#### Defined in + +[src/utils/transaction.ts:49](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/transaction.ts#L49) + +--- + +### fromCallsToExecuteCalldata + +▸ **fromCallsToExecuteCalldata**(`calls`): [`Calldata`](types.md#calldata) + +Transforms a list of calls into the Cairo 0 `__execute__` calldata. + +#### Parameters + +| Name | Type | Description | +| :------ | :------------------------ | :----------------------------- | +| `calls` | [`Call`](types.md#call)[] | the list of calls to transform | + +#### Returns + +[`Calldata`](types.md#calldata) + +the Cairo 0 `__execute__` calldata + +**`Example`** + +```typescript +const calls: Call[] = [ + { + contractAddress: '0x1234567890123456789012345678901234567890', + entrypoint: 'functionName', + calldata: [1, 2, 3], + }, + { + contractAddress: '0x0987654321098765432109876543210987654321', + entrypoint: 'anotherFunction', + calldata: [4, 5, 6], + }, +]; +const result = transaction.fromCallsToExecuteCalldata(calls); +// result = ['2', '103929005307130220006098923584552504982110632080', +// '784552248838722632831848474045274978537388011177294206940059575485454596699', '0', +// '3', '54400338722927882010739357306608455014511100705', +// '836430224577382061379420368022192503799782058803937958828224424676927281484', +// '3', '3', '6', '1', '2', '3', '4', '5', '6'] +``` + +#### Defined in + +[src/utils/transaction.ts:94](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/transaction.ts#L94) + +--- + +### fromCallsToExecuteCalldataWithNonce + +▸ **fromCallsToExecuteCalldataWithNonce**(`calls`, `nonce`): [`Calldata`](types.md#calldata) + +Transforms a list of calls into the Cairo 0 `__execute__` calldata including nonce. + +#### Parameters + +| Name | Type | +| :------ | :-------------------------------------- | +| `calls` | [`Call`](types.md#call)[] | +| `nonce` | [`BigNumberish`](types.md#bignumberish) | + +#### Returns + +[`Calldata`](types.md#calldata) + +**`Deprecated`** + +#### Defined in + +[src/utils/transaction.ts:104](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/transaction.ts#L104) + +--- + +### transformCallsToMulticallArrays_cairo1 + +▸ **transformCallsToMulticallArrays_cairo1**(`calls`): [`CallStruct`](../interfaces/types.CallStruct.md)[] + +Format Data inside Calls + +#### Parameters + +| Name | Type | +| :------ | :------------------------ | +| `calls` | [`Call`](types.md#call)[] | + +#### Returns + +[`CallStruct`](../interfaces/types.CallStruct.md)[] + +**`Deprecated`** + +Not required for getting execute Calldata + +#### Defined in + +[src/utils/transaction.ts:112](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/transaction.ts#L112) + +--- + +### fromCallsToExecuteCalldata_cairo1 + +▸ **fromCallsToExecuteCalldata_cairo1**(`calls`): [`Calldata`](types.md#calldata) + +Transforms a list of calls into the Cairo 1 `__execute__` calldata. + +#### Parameters + +| Name | Type | Description | +| :------ | :------------------------ | :------------------------------ | +| `calls` | [`Call`](types.md#call)[] | the list of calls to transform. | + +#### Returns + +[`Calldata`](types.md#calldata) + +the Cairo 1 `__execute__` calldata. + +**`Example`** + +```typescript +const calls: Call[] = [ + { + contractAddress: '0x1234567890123456789012345678901234567890', + entrypoint: 'functionName', + calldata: [1, 2, 3], + }, + { + contractAddress: '0x0987654321098765432109876543210987654321', + entrypoint: 'anotherFunction', + calldata: [4, 5, 6], + }, +]; +const result = transaction.fromCallsToExecuteCalldata_cairo1(calls); +// result = ['2', '103929005307130220006098923584552504982110632080', +// '784552248838722632831848474045274978537388011177294206940059575485454596699', +// '3', '1', '2', '3', '54400338722927882010739357306608455014511100705', +// '836430224577382061379420368022192503799782058803937958828224424676927281484', +// '3', '4', '5', '6'] +``` + +#### Defined in + +[src/utils/transaction.ts:147](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/transaction.ts#L147) + +--- + +### getExecuteCalldata + +▸ **getExecuteCalldata**(`calls`, `cairoVersion?`): [`Calldata`](types.md#calldata) + +Create `__execute__` Calldata from Calls based on Cairo versions. + +#### Parameters + +| Name | Type | Default value | Description | +| :------------- | :-------------------------------------- | :------------ | :----------------------------- | +| `calls` | [`Call`](types.md#call)[] | `undefined` | the list of calls to transform | +| `cairoVersion` | [`CairoVersion`](types.md#cairoversion) | `'0'` | the Cairo version | + +#### Returns + +[`Calldata`](types.md#calldata) + +the `__execute__` calldata. + +**`Example`** + +```typescript +const calls: Call[] = [ + { + contractAddress: '0x1234567890123456789012345678901234567890', + entrypoint: 'functionName', + calldata: [1, 2, 3], + }, + { + contractAddress: '0x0987654321098765432109876543210987654321', + entrypoint: 'anotherFunction', + calldata: [4, 5, 6], + }, +]; +const result = transaction.getExecuteCalldata(calls, '1'); +// result = ['2', '103929005307130220006098923584552504982110632080', +// '784552248838722632831848474045274978537388011177294206940059575485454596699', +// '3', '1', '2', '3', '54400338722927882010739357306608455014511100705', +// '836430224577382061379420368022192503799782058803937958828224424676927281484', +// '3', '4', '5', '6'] +``` + +#### Defined in + +[src/utils/transaction.ts:188](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/transaction.ts#L188) diff --git a/www/versioned_docs/version-6.11.0/API/namespaces/typedData.md b/www/versioned_docs/version-6.11.0/API/namespaces/typedData.md new file mode 100644 index 000000000..94394a72f --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/namespaces/typedData.md @@ -0,0 +1,280 @@ +--- +id: 'typedData' +title: 'Namespace: typedData' +sidebar_label: 'typedData' +sidebar_position: 0 +custom_edit_url: null +--- + +## References + +### TypedDataRevision + +Re-exports [TypedDataRevision](types.RPC.RPCSPEC07.WALLET_API.md#typeddatarevision-1) + +--- + +### StarknetEnumType + +Re-exports [StarknetEnumType](types.RPC.RPCSPEC07.WALLET_API.md#starknetenumtype) + +--- + +### StarknetMerkleType + +Re-exports [StarknetMerkleType](types.RPC.RPCSPEC07.WALLET_API.md#starknetmerkletype) + +--- + +### StarknetType + +Re-exports [StarknetType](types.RPC.RPCSPEC07.WALLET_API.md#starknettype) + +--- + +### StarknetDomain + +Re-exports [StarknetDomain](../interfaces/types.RPC.RPCSPEC07.WALLET_API.StarknetDomain.md) + +--- + +### TypedData + +Re-exports [TypedData](../interfaces/types.RPC.RPCSPEC07.WALLET_API.TypedData.md) + +## Functions + +### prepareSelector + +▸ **prepareSelector**(`selector`): `string` + +Prepares the selector for use. + +#### Parameters + +| Name | Type | Description | +| :--------- | :------- | :--------------------------- | +| `selector` | `string` | The selector to be prepared. | + +#### Returns + +`string` + +The prepared selector. + +#### Defined in + +[src/utils/typedData.ts:112](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/typedData.ts#L112) + +--- + +### isMerkleTreeType + +▸ **isMerkleTreeType**(`type`): type is StarknetMerkleType + +Checks if the given Starknet type is a Merkle tree type. + +#### Parameters + +| Name | Type | Description | +| :----- | :--------------------------------------------------------------- | :-------------------------- | +| `type` | [`StarknetType`](types.RPC.RPCSPEC07.WALLET_API.md#starknettype) | The StarkNet type to check. | + +#### Returns + +type is StarknetMerkleType + +- True if the type is a Merkle tree type, false otherwise. + +#### Defined in + +[src/utils/typedData.ts:123](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/typedData.ts#L123) + +--- + +### getDependencies + +▸ **getDependencies**(`types`, `type`, `dependencies?`, `contains?`, `revision?`): `string`[] + +Get the dependencies of a struct type. If a struct has the same dependency multiple times, it's only included once +in the resulting array. + +#### Parameters + +| Name | Type | Default value | +| :------------- | :-------------------------------------------------------------------------------------- | :---------------- | +| `types` | `Record`<`string`, [`StarknetType`](types.RPC.RPCSPEC07.WALLET_API.md#starknettype)[]\> | `undefined` | +| `type` | `string` | `undefined` | +| `dependencies` | `string`[] | `[]` | +| `contains` | `string` | `''` | +| `revision` | [`TypedDataRevision`](types.RPC.RPCSPEC07.WALLET_API.md#typeddatarevision-1) | `Revision.LEGACY` | + +#### Returns + +`string`[] + +#### Defined in + +[src/utils/typedData.ts:131](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/typedData.ts#L131) + +--- + +### encodeType + +▸ **encodeType**(`types`, `type`, `revision?`): `string` + +Encode a type to a string. All dependent types are alphabetically sorted. + +#### Parameters + +| Name | Type | Default value | +| :--------- | :-------------------------------------------------------------------------------------- | :---------------- | +| `types` | `Record`<`string`, [`StarknetType`](types.RPC.RPCSPEC07.WALLET_API.md#starknettype)[]\> | `undefined` | +| `type` | `string` | `undefined` | +| `revision` | [`TypedDataRevision`](types.RPC.RPCSPEC07.WALLET_API.md#typeddatarevision-1) | `Revision.LEGACY` | + +#### Returns + +`string` + +#### Defined in + +[src/utils/typedData.ts:189](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/typedData.ts#L189) + +--- + +### getTypeHash + +▸ **getTypeHash**(`types`, `type`, `revision?`): `string` + +Get a type string as hash. + +#### Parameters + +| Name | Type | Default value | +| :--------- | :-------------------------------------------------------------------------------------- | :---------------- | +| `types` | `Record`<`string`, [`StarknetType`](types.RPC.RPCSPEC07.WALLET_API.md#starknettype)[]\> | `undefined` | +| `type` | `string` | `undefined` | +| `revision` | [`TypedDataRevision`](types.RPC.RPCSPEC07.WALLET_API.md#typeddatarevision-1) | `Revision.LEGACY` | + +#### Returns + +`string` + +#### Defined in + +[src/utils/typedData.ts:234](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/typedData.ts#L234) + +--- + +### encodeValue + +▸ **encodeValue**(`types`, `type`, `data`, `ctx?`, `revision?`): [`string`, `string`] + +Encodes a single value to an ABI serialisable string, number or Buffer. Returns the data as tuple, which consists of +an array of ABI compatible types, and an array of corresponding values. + +#### Parameters + +| Name | Type | Default value | +| :--------- | :-------------------------------------------------------------------------------------- | :---------------- | +| `types` | `Record`<`string`, [`StarknetType`](types.RPC.RPCSPEC07.WALLET_API.md#starknettype)[]\> | `undefined` | +| `type` | `string` | `undefined` | +| `data` | `unknown` | `undefined` | +| `ctx` | `Context` | `{}` | +| `revision` | [`TypedDataRevision`](types.RPC.RPCSPEC07.WALLET_API.md#typeddatarevision-1) | `Revision.LEGACY` | + +#### Returns + +[`string`, `string`] + +#### Defined in + +[src/utils/typedData.ts:246](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/typedData.ts#L246) + +--- + +### encodeData + +▸ **encodeData**<`T`\>(`types`, `type`, `data`, `revision?`): `string`[][] + +Encode the data to an ABI encoded Buffer. The data should be a key -> value object with all the required values. +All dependent types are automatically encoded. + +#### Type parameters + +| Name | Type | +| :--- | :------------------------------------------------------------------------------- | +| `T` | extends [`TypedData`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.TypedData.md) | + +#### Parameters + +| Name | Type | Default value | +| :--------- | :--------------------------------------------------------------------------- | :---------------- | +| `types` | `T`[``"types"``] | `undefined` | +| `type` | `string` | `undefined` | +| `data` | `T`[``"message"``] | `undefined` | +| `revision` | [`TypedDataRevision`](types.RPC.RPCSPEC07.WALLET_API.md#typeddatarevision-1) | `Revision.LEGACY` | + +#### Returns + +`string`[][] + +#### Defined in + +[src/utils/typedData.ts:377](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/typedData.ts#L377) + +--- + +### getStructHash + +▸ **getStructHash**<`T`\>(`types`, `type`, `data`, `revision?`): `string` + +Get encoded data as a hash. The data should be a key -> value object with all the required values. +All dependent types are automatically encoded. + +#### Type parameters + +| Name | Type | +| :--- | :------------------------------------------------------------------------------- | +| `T` | extends [`TypedData`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.TypedData.md) | + +#### Parameters + +| Name | Type | Default value | +| :--------- | :--------------------------------------------------------------------------- | :---------------- | +| `types` | `T`[``"types"``] | `undefined` | +| `type` | `string` | `undefined` | +| `data` | `T`[``"message"``] | `undefined` | +| `revision` | [`TypedDataRevision`](types.RPC.RPCSPEC07.WALLET_API.md#typeddatarevision-1) | `Revision.LEGACY` | + +#### Returns + +`string` + +#### Defined in + +[src/utils/typedData.ts:412](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/typedData.ts#L412) + +--- + +### getMessageHash + +▸ **getMessageHash**(`typedData`, `account`): `string` + +Get the SNIP-12 encoded message to sign, from the typedData object. + +#### Parameters + +| Name | Type | +| :---------- | :----------------------------------------------------------------------- | +| `typedData` | [`TypedData`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.TypedData.md) | +| `account` | [`BigNumberish`](types.md#bignumberish) | + +#### Returns + +`string` + +#### Defined in + +[src/utils/typedData.ts:424](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/typedData.ts#L424) diff --git a/www/versioned_docs/version-6.11.0/API/namespaces/types.RPC.JRPC.md b/www/versioned_docs/version-6.11.0/API/namespaces/types.RPC.JRPC.md new file mode 100644 index 000000000..1d09dcfca --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/namespaces/types.RPC.JRPC.md @@ -0,0 +1,87 @@ +--- +id: 'types.RPC.JRPC' +title: 'Namespace: JRPC' +sidebar_label: 'JRPC' +custom_edit_url: null +--- + +[types](types.md).[RPC](types.RPC.md).JRPC + +## Type Aliases + +### RequestBody + +Ƭ **RequestBody**: `Object` + +#### Type declaration + +| Name | Type | +| :-------- | :------------------- | +| `id` | `number` \| `string` | +| `jsonrpc` | `"2.0"` | +| `method` | `string` | +| `params?` | {} | + +#### Defined in + +[src/types/api/jsonrpc/index.ts:1](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/jsonrpc/index.ts#L1) + +--- + +### ResponseBody + +Ƭ **ResponseBody**: \{ `id`: `number` \| `string` ; `jsonrpc`: `"2.0"` } & [`SuccessResponseBody`](types.RPC.JRPC.md#successresponsebody) \| [`ErrorResponseBody`](types.RPC.JRPC.md#errorresponsebody) + +#### Defined in + +[src/types/api/jsonrpc/index.ts:8](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/jsonrpc/index.ts#L8) + +--- + +### SuccessResponseBody + +Ƭ **SuccessResponseBody**: `Object` + +#### Type declaration + +| Name | Type | +| :------- | :-------- | +| `result` | `unknown` | + +#### Defined in + +[src/types/api/jsonrpc/index.ts:13](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/jsonrpc/index.ts#L13) + +--- + +### ErrorResponseBody + +Ƭ **ErrorResponseBody**: `Object` + +#### Type declaration + +| Name | Type | +| :------ | :--------------------------------- | +| `error` | [`Error`](types.RPC.JRPC.md#error) | + +#### Defined in + +[src/types/api/jsonrpc/index.ts:17](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/jsonrpc/index.ts#L17) + +--- + +### Error + +Ƭ **Error**: `Object` + +#### Type declaration + +| Name | Type | +| :-------- | :-------- | +| `code` | `number` | +| `message` | `string` | +| `data?` | `unknown` | + +#### Defined in + +[src/types/api/jsonrpc/index.ts:21](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/jsonrpc/index.ts#L21) diff --git a/www/versioned_docs/version-6.11.0/API/namespaces/types.RPC.RPCSPEC06.Errors.md b/www/versioned_docs/version-6.11.0/API/namespaces/types.RPC.RPCSPEC06.Errors.md new file mode 100644 index 000000000..a13ce556c --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/namespaces/types.RPC.RPCSPEC06.Errors.md @@ -0,0 +1,40 @@ +--- +id: 'types.RPC.RPCSPEC06.Errors' +title: 'Namespace: Errors' +sidebar_label: 'Errors' +custom_edit_url: null +--- + +[RPC](types.RPC.md).[RPCSPEC06](types.RPC.RPCSPEC06.md).Errors + +## Interfaces + +- [FAILED_TO_RECEIVE_TXN](../interfaces/types.RPC.RPCSPEC06.Errors.FAILED_TO_RECEIVE_TXN.md) +- [NO_TRACE_AVAILABLE](../interfaces/types.RPC.RPCSPEC06.Errors.NO_TRACE_AVAILABLE.md) +- [CONTRACT_NOT_FOUND](../interfaces/types.RPC.RPCSPEC06.Errors.CONTRACT_NOT_FOUND.md) +- [INVALID_MESSAGE_SELECTOR](../interfaces/types.RPC.RPCSPEC06.Errors.INVALID_MESSAGE_SELECTOR.md) +- [INVALID_CALL_DATA](../interfaces/types.RPC.RPCSPEC06.Errors.INVALID_CALL_DATA.md) +- [BLOCK_NOT_FOUND](../interfaces/types.RPC.RPCSPEC06.Errors.BLOCK_NOT_FOUND.md) +- [INVALID_BLOCK_HASH](../interfaces/types.RPC.RPCSPEC06.Errors.INVALID_BLOCK_HASH.md) +- [INVALID_TXN_INDEX](../interfaces/types.RPC.RPCSPEC06.Errors.INVALID_TXN_INDEX.md) +- [CLASS_HASH_NOT_FOUND](../interfaces/types.RPC.RPCSPEC06.Errors.CLASS_HASH_NOT_FOUND.md) +- [TXN_HASH_NOT_FOUND](../interfaces/types.RPC.RPCSPEC06.Errors.TXN_HASH_NOT_FOUND.md) +- [PAGE_SIZE_TOO_BIG](../interfaces/types.RPC.RPCSPEC06.Errors.PAGE_SIZE_TOO_BIG.md) +- [NO_BLOCKS](../interfaces/types.RPC.RPCSPEC06.Errors.NO_BLOCKS.md) +- [INVALID_CONTINUATION_TOKEN](../interfaces/types.RPC.RPCSPEC06.Errors.INVALID_CONTINUATION_TOKEN.md) +- [TOO_MANY_KEYS_IN_FILTER](../interfaces/types.RPC.RPCSPEC06.Errors.TOO_MANY_KEYS_IN_FILTER.md) +- [CONTRACT_ERROR](../interfaces/types.RPC.RPCSPEC06.Errors.CONTRACT_ERROR.md) +- [TRANSACTION_EXECUTION_ERROR](../interfaces/types.RPC.RPCSPEC06.Errors.TRANSACTION_EXECUTION_ERROR.md) +- [CLASS_ALREADY_DECLARED](../interfaces/types.RPC.RPCSPEC06.Errors.CLASS_ALREADY_DECLARED.md) +- [INVALID_TRANSACTION_NONCE](../interfaces/types.RPC.RPCSPEC06.Errors.INVALID_TRANSACTION_NONCE.md) +- [INSUFFICIENT_MAX_FEE](../interfaces/types.RPC.RPCSPEC06.Errors.INSUFFICIENT_MAX_FEE.md) +- [INSUFFICIENT_ACCOUNT_BALANCE](../interfaces/types.RPC.RPCSPEC06.Errors.INSUFFICIENT_ACCOUNT_BALANCE.md) +- [VALIDATION_FAILURE](../interfaces/types.RPC.RPCSPEC06.Errors.VALIDATION_FAILURE.md) +- [COMPILATION_FAILED](../interfaces/types.RPC.RPCSPEC06.Errors.COMPILATION_FAILED.md) +- [CONTRACT_CLASS_SIZE_IS_TOO_LARGE](../interfaces/types.RPC.RPCSPEC06.Errors.CONTRACT_CLASS_SIZE_IS_TOO_LARGE.md) +- [NON_ACCOUNT](../interfaces/types.RPC.RPCSPEC06.Errors.NON_ACCOUNT.md) +- [DUPLICATE_TX](../interfaces/types.RPC.RPCSPEC06.Errors.DUPLICATE_TX.md) +- [COMPILED_CLASS_HASH_MISMATCH](../interfaces/types.RPC.RPCSPEC06.Errors.COMPILED_CLASS_HASH_MISMATCH.md) +- [UNSUPPORTED_TX_VERSION](../interfaces/types.RPC.RPCSPEC06.Errors.UNSUPPORTED_TX_VERSION.md) +- [UNSUPPORTED_CONTRACT_CLASS_VERSION](../interfaces/types.RPC.RPCSPEC06.Errors.UNSUPPORTED_CONTRACT_CLASS_VERSION.md) +- [UNEXPECTED_ERROR](../interfaces/types.RPC.RPCSPEC06.Errors.UNEXPECTED_ERROR.md) diff --git a/www/versioned_docs/version-6.11.0/API/namespaces/types.RPC.RPCSPEC06.SPEC.md b/www/versioned_docs/version-6.11.0/API/namespaces/types.RPC.RPCSPEC06.SPEC.md new file mode 100644 index 000000000..854b5aa60 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/namespaces/types.RPC.RPCSPEC06.SPEC.md @@ -0,0 +1,1775 @@ +--- +id: 'types.RPC.RPCSPEC06.SPEC' +title: 'Namespace: SPEC' +sidebar_label: 'SPEC' +custom_edit_url: null +--- + +[RPC](types.RPC.md).[RPCSPEC06](types.RPC.RPCSPEC06.md).SPEC + +## Type Aliases + +### FELT + +Ƭ **FELT**: `string` + +A field element. represented by at most 63 hex digits + +**`Pattern`** + +^0x(0|[a-fA-F1-9]{1}[a-fA-F0-9]{0,62})$ + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:9](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L9) + +--- + +### ETH_ADDRESS + +Ƭ **ETH_ADDRESS**: `string` + +an ethereum address represented as 40 hex digits + +**`Pattern`** + +^0x[a-fA-F0-9]{40}$ + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:14](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L14) + +--- + +### STORAGE_KEY + +Ƭ **STORAGE_KEY**: `string` + +A storage key. Represented as up to 62 hex digits, 3 bits, and 5 leading zeroes. + +**`Pattern`** + +^0x0[0-7]{1}[a-fA-F0-9]{0,62}$ + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:19](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L19) + +--- + +### ADDRESS + +Ƭ **ADDRESS**: [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:20](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L20) + +--- + +### NUM_AS_HEX + +Ƭ **NUM_AS_HEX**: `string` + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:21](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L21) + +--- + +### u64 + +Ƭ **u64**: `string` + +64 bit integers, represented by hex string of length at most 16 +"pattern": "^0x(0|[a-fA-F1-9]{1}[a-fA-F0-9]{0,15})$" + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:26](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L26) + +--- + +### u128 + +Ƭ **u128**: `string` + +64 bit integers, represented by hex string of length at most 32 +"pattern": "^0x(0|[a-fA-F1-9]{1}[a-fA-F0-9]{0,31})$" + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:31](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L31) + +--- + +### SIGNATURE + +Ƭ **SIGNATURE**: [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt)[] + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:32](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L32) + +--- + +### BLOCK_NUMBER + +Ƭ **BLOCK_NUMBER**: `number` + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:33](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L33) + +--- + +### BLOCK_HASH + +Ƭ **BLOCK_HASH**: [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:34](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L34) + +--- + +### TXN_HASH + +Ƭ **TXN_HASH**: [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:35](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L35) + +--- + +### CHAIN_ID + +Ƭ **CHAIN_ID**: [`NUM_AS_HEX`](types.RPC.RPCSPEC06.SPEC.md#num_as_hex) + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:36](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L36) + +--- + +### STRUCT_ABI_TYPE + +Ƭ **STRUCT_ABI_TYPE**: `"struct"` + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:37](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L37) + +--- + +### EVENT_ABI_TYPE + +Ƭ **EVENT_ABI_TYPE**: `"event"` + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:38](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L38) + +--- + +### FUNCTION_ABI_TYPE + +Ƭ **FUNCTION_ABI_TYPE**: `"function"` \| `"l1_handler"` \| `"constructor"` + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:39](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L39) + +--- + +### ENTRY_POINT_TYPE + +Ƭ **ENTRY_POINT_TYPE**: `"EXTERNAL"` \| `"L1_HANDLER"` \| `"CONSTRUCTOR"` + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:41](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L41) + +--- + +### CALL_TYPE + +Ƭ **CALL_TYPE**: `"DELEGATE"` \| `"LIBRARY_CALL"` \| `"CALL"` + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:43](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L43) + +--- + +### TXN_STATUS + +Ƭ **TXN_STATUS**: `"RECEIVED"` \| `"REJECTED"` \| `"ACCEPTED_ON_L2"` \| `"ACCEPTED_ON_L1"` + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:45](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L45) + +--- + +### SIMULATION_FLAG + +Ƭ **SIMULATION_FLAG**: `"SKIP_VALIDATE"` \| `"SKIP_FEE_CHARGE"` + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:47](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L47) + +--- + +### DA_MODE + +Ƭ **DA_MODE**: `"L1"` \| `"L2"` + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:49](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L49) + +--- + +### TXN_TYPE + +Ƭ **TXN_TYPE**: `"DECLARE"` \| `"DEPLOY"` \| `"DEPLOY_ACCOUNT"` \| `"INVOKE"` \| `"L1_HANDLER"` + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:50](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L50) + +--- + +### TXN_FINALITY_STATUS + +Ƭ **TXN_FINALITY_STATUS**: `"ACCEPTED_ON_L2"` \| `"ACCEPTED_ON_L1"` + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:51](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L51) + +--- + +### TXN_EXECUTION_STATUS + +Ƭ **TXN_EXECUTION_STATUS**: `"SUCCEEDED"` \| `"REVERTED"` + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:52](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L52) + +--- + +### BLOCK_STATUS + +Ƭ **BLOCK_STATUS**: `"PENDING"` \| `"ACCEPTED_ON_L2"` \| `"ACCEPTED_ON_L1"` \| `"REJECTED"` + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:53](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L53) + +--- + +### BLOCK_TAG + +Ƭ **BLOCK_TAG**: `"latest"` \| `"pending"` + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:54](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L54) + +--- + +### EVENTS_CHUNK + +Ƭ **EVENTS_CHUNK**: `Object` + +READ API + +#### Type declaration + +| Name | Type | +| :-------------------- | :------------------------------------------------------------- | +| `events` | [`EMITTED_EVENT`](types.RPC.RPCSPEC06.SPEC.md#emitted_event)[] | +| `continuation_token?` | `string` | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:60](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L60) + +--- + +### RESULT_PAGE_REQUEST + +Ƭ **RESULT_PAGE_REQUEST**: `Object` + +#### Type declaration + +| Name | Type | +| :-------------------- | :------- | +| `continuation_token?` | `string` | +| `chunk_size` | `number` | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:67](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L67) + +--- + +### EMITTED_EVENT + +Ƭ **EMITTED_EVENT**: [`EVENT`](types.RPC.RPCSPEC06.SPEC.md#event) & \{ `block_hash`: [`BLOCK_HASH`](types.RPC.RPCSPEC06.SPEC.md#block_hash) ; `block_number`: [`BLOCK_NUMBER`](types.RPC.RPCSPEC06.SPEC.md#block_number) ; `transaction_hash`: [`TXN_HASH`](types.RPC.RPCSPEC06.SPEC.md#txn_hash) } + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:74](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L74) + +--- + +### EVENT + +Ƭ **EVENT**: \{ `from_address`: [`ADDRESS`](types.RPC.RPCSPEC06.SPEC.md#address) } & [`EVENT_CONTENT`](types.RPC.RPCSPEC06.SPEC.md#event_content) + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:80](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L80) + +--- + +### EVENT_CONTENT + +Ƭ **EVENT_CONTENT**: `Object` + +#### Type declaration + +| Name | Type | +| :----- | :------------------------------------------- | +| `keys` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt)[] | +| `data` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt)[] | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:84](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L84) + +--- + +### EVENT_FILTER + +Ƭ **EVENT_FILTER**: `Object` + +#### Type declaration + +| Name | Type | +| :------------ | :------------------------------------------------- | +| `from_block?` | [`BLOCK_ID`](types.RPC.RPCSPEC06.SPEC.md#block_id) | +| `to_block?` | [`BLOCK_ID`](types.RPC.RPCSPEC06.SPEC.md#block_id) | +| `address?` | [`ADDRESS`](types.RPC.RPCSPEC06.SPEC.md#address) | +| `keys?` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt)[][] | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:89](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L89) + +--- + +### BLOCK_ID + +Ƭ **BLOCK_ID**: \{ `block_hash?`: [`BLOCK_HASH`](types.RPC.RPCSPEC06.SPEC.md#block_hash) ; `block_number?`: [`BLOCK_NUMBER`](types.RPC.RPCSPEC06.SPEC.md#block_number) } \| [`BLOCK_TAG`](types.RPC.RPCSPEC06.SPEC.md#block_tag) + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:96](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L96) + +--- + +### SYNC_STATUS + +Ƭ **SYNC_STATUS**: `Object` + +#### Type declaration + +| Name | Type | +| :-------------------- | :--------------------------------------------------------- | +| `starting_block_hash` | [`BLOCK_HASH`](types.RPC.RPCSPEC06.SPEC.md#block_hash) | +| `starting_block_num` | [`BLOCK_NUMBER`](types.RPC.RPCSPEC06.SPEC.md#block_number) | +| `current_block_hash` | [`BLOCK_HASH`](types.RPC.RPCSPEC06.SPEC.md#block_hash) | +| `current_block_num` | [`BLOCK_NUMBER`](types.RPC.RPCSPEC06.SPEC.md#block_number) | +| `highest_block_hash` | [`BLOCK_HASH`](types.RPC.RPCSPEC06.SPEC.md#block_hash) | +| `highest_block_num` | [`BLOCK_NUMBER`](types.RPC.RPCSPEC06.SPEC.md#block_number) | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:103](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L103) + +--- + +### NEW_CLASSES + +Ƭ **NEW_CLASSES**: `Object` + +#### Type declaration + +| Name | Type | +| :-------------------- | :----------------------------------------- | +| `class_hash` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | +| `compiled_class_hash` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:112](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L112) + +--- + +### REPLACED_CLASS + +Ƭ **REPLACED_CLASS**: `Object` + +#### Type declaration + +| Name | Type | +| :----------------- | :----------------------------------------- | +| `class_hash` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | +| `contract_address` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:117](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L117) + +--- + +### NONCE_UPDATE + +Ƭ **NONCE_UPDATE**: `Object` + +#### Type declaration + +| Name | Type | +| :----------------- | :----------------------------------------------- | +| `contract_address` | [`ADDRESS`](types.RPC.RPCSPEC06.SPEC.md#address) | +| `nonce` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:122](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L122) + +--- + +### STATE_DIFF + +Ƭ **STATE_DIFF**: `Object` + +#### Type declaration + +| Name | Type | +| :---------------------------- | :--------------------------------------------------------------------------------------- | +| `storage_diffs` | [`CONTRACT_STORAGE_DIFF_ITEM`](types.RPC.RPCSPEC06.SPEC.md#contract_storage_diff_item)[] | +| `deprecated_declared_classes` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt)[] | +| `declared_classes` | [`NEW_CLASSES`](types.RPC.RPCSPEC06.SPEC.md#new_classes)[] | +| `deployed_contracts` | [`DEPLOYED_CONTRACT_ITEM`](types.RPC.RPCSPEC06.SPEC.md#deployed_contract_item)[] | +| `replaced_classes` | [`REPLACED_CLASS`](types.RPC.RPCSPEC06.SPEC.md#replaced_class)[] | +| `nonces` | [`NONCE_UPDATE`](types.RPC.RPCSPEC06.SPEC.md#nonce_update)[] | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:127](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L127) + +--- + +### PENDING_STATE_UPDATE + +Ƭ **PENDING_STATE_UPDATE**: `Object` + +#### Type declaration + +| Name | Type | +| :----------- | :----------------------------------------------------- | +| `old_root` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | +| `state_diff` | [`STATE_DIFF`](types.RPC.RPCSPEC06.SPEC.md#state_diff) | +| `block_hash` | `never` | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:136](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L136) + +--- + +### STATE_UPDATE + +Ƭ **STATE_UPDATE**: `Object` + +#### Type declaration + +| Name | Type | +| :----------- | :----------------------------------------------------- | +| `block_hash` | [`BLOCK_HASH`](types.RPC.RPCSPEC06.SPEC.md#block_hash) | +| `old_root` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | +| `new_root` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | +| `state_diff` | [`STATE_DIFF`](types.RPC.RPCSPEC06.SPEC.md#state_diff) | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:142](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L142) + +--- + +### BLOCK_BODY_WITH_TX_HASHES + +Ƭ **BLOCK_BODY_WITH_TX_HASHES**: `Object` + +#### Type declaration + +| Name | Type | +| :------------- | :--------------------------------------------------- | +| `transactions` | [`TXN_HASH`](types.RPC.RPCSPEC06.SPEC.md#txn_hash)[] | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:149](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L149) + +--- + +### BLOCK_BODY_WITH_TXS + +Ƭ **BLOCK_BODY_WITH_TXS**: `Object` + +#### Type declaration + +| Name | Type | +| :------------- | :----------------------------------------------------------------------------------------------------------------------- | +| `transactions` | [`TXN`](types.RPC.RPCSPEC06.SPEC.md#txn) & \{ `transaction_hash`: [`TXN_HASH`](types.RPC.RPCSPEC06.SPEC.md#txn_hash) }[] | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:153](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L153) + +--- + +### BLOCK_HEADER + +Ƭ **BLOCK_HEADER**: `Object` + +#### Type declaration + +| Name | Type | +| :------------------ | :------------------------------------------------------------- | +| `block_hash` | [`BLOCK_HASH`](types.RPC.RPCSPEC06.SPEC.md#block_hash) | +| `parent_hash` | [`BLOCK_HASH`](types.RPC.RPCSPEC06.SPEC.md#block_hash) | +| `block_number` | [`BLOCK_NUMBER`](types.RPC.RPCSPEC06.SPEC.md#block_number) | +| `new_root` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | +| `timestamp` | `number` | +| `sequencer_address` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | +| `l1_gas_price` | [`RESOURCE_PRICE`](types.RPC.RPCSPEC06.SPEC.md#resource_price) | +| `starknet_version` | `string` | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:159](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L159) + +--- + +### PENDING_BLOCK_HEADER + +Ƭ **PENDING_BLOCK_HEADER**: `Object` + +#### Type declaration + +| Name | Type | +| :------------------ | :------------------------------------------------------------- | +| `parent_hash` | [`BLOCK_HASH`](types.RPC.RPCSPEC06.SPEC.md#block_hash) | +| `timestamp` | `number` | +| `sequencer_address` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | +| `l1_gas_price` | [`RESOURCE_PRICE`](types.RPC.RPCSPEC06.SPEC.md#resource_price) | +| `starknet_version` | `string` | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:170](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L170) + +--- + +### BLOCK_WITH_TX_HASHES + +Ƭ **BLOCK_WITH_TX_HASHES**: \{ `status`: [`BLOCK_STATUS`](types.RPC.RPCSPEC06.SPEC.md#block_status) } & [`BLOCK_HEADER`](types.RPC.RPCSPEC06.SPEC.md#block_header) & [`BLOCK_BODY_WITH_TX_HASHES`](types.RPC.RPCSPEC06.SPEC.md#block_body_with_tx_hashes) + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:178](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L178) + +--- + +### BLOCK_WITH_TXS + +Ƭ **BLOCK_WITH_TXS**: \{ `status`: [`BLOCK_STATUS`](types.RPC.RPCSPEC06.SPEC.md#block_status) } & [`BLOCK_HEADER`](types.RPC.RPCSPEC06.SPEC.md#block_header) & [`BLOCK_BODY_WITH_TXS`](types.RPC.RPCSPEC06.SPEC.md#block_body_with_txs) + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:181](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L181) + +--- + +### PENDING_BLOCK_WITH_TX_HASHES + +Ƭ **PENDING_BLOCK_WITH_TX_HASHES**: [`BLOCK_BODY_WITH_TX_HASHES`](types.RPC.RPCSPEC06.SPEC.md#block_body_with_tx_hashes) & [`PENDING_BLOCK_HEADER`](types.RPC.RPCSPEC06.SPEC.md#pending_block_header) + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:183](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L183) + +--- + +### PENDING_BLOCK_WITH_TXS + +Ƭ **PENDING_BLOCK_WITH_TXS**: [`BLOCK_BODY_WITH_TXS`](types.RPC.RPCSPEC06.SPEC.md#block_body_with_txs) & [`PENDING_BLOCK_HEADER`](types.RPC.RPCSPEC06.SPEC.md#pending_block_header) + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:185](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L185) + +--- + +### DEPLOYED_CONTRACT_ITEM + +Ƭ **DEPLOYED_CONTRACT_ITEM**: `Object` + +#### Type declaration + +| Name | Type | +| :----------- | :----------------------------------------- | +| `address` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | +| `class_hash` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:187](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L187) + +--- + +### CONTRACT_STORAGE_DIFF_ITEM + +Ƭ **CONTRACT_STORAGE_DIFF_ITEM**: `Object` + +#### Type declaration + +| Name | Type | +| :---------------- | :----------------------------------------------------------------- | +| `address` | `string` | +| `storage_entries` | [`StorageDiffItem`](types.RPC.RPCSPEC06.SPEC.md#storagediffitem)[] | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:192](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L192) + +--- + +### StorageDiffItem + +Ƭ **StorageDiffItem**: `Object` + +#### Type declaration + +| Name | Type | +| :------ | :------- | +| `key` | `string` | +| `value` | `string` | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:199](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L199) + +--- + +### TXN + +Ƭ **TXN**: [`INVOKE_TXN`](types.RPC.RPCSPEC06.SPEC.md#invoke_txn) \| [`L1_HANDLER_TXN`](types.RPC.RPCSPEC06.SPEC.md#l1_handler_txn) \| [`DECLARE_TXN`](types.RPC.RPCSPEC06.SPEC.md#declare_txn) \| [`DEPLOY_TXN`](types.RPC.RPCSPEC06.SPEC.md#deploy_txn) \| [`DEPLOY_ACCOUNT_TXN`](types.RPC.RPCSPEC06.SPEC.md#deploy_account_txn) + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:206](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L206) + +--- + +### DECLARE_TXN + +Ƭ **DECLARE_TXN**: [`DECLARE_TXN_V0`](types.RPC.RPCSPEC06.SPEC.md#declare_txn_v0) \| [`DECLARE_TXN_V1`](types.RPC.RPCSPEC06.SPEC.md#declare_txn_v1) \| [`DECLARE_TXN_V2`](types.RPC.RPCSPEC06.SPEC.md#declare_txn_v2) \| [`DECLARE_TXN_V3`](types.RPC.RPCSPEC06.SPEC.md#declare_txn_v3) + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:208](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L208) + +--- + +### DECLARE_TXN_V0 + +Ƭ **DECLARE_TXN_V0**: `Object` + +#### Type declaration + +| Name | Type | +| :--------------- | :--------------------------------------------------- | +| `type` | `"DECLARE"` | +| `sender_address` | [`ADDRESS`](types.RPC.RPCSPEC06.SPEC.md#address) | +| `max_fee` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | +| `version` | `"0x0"` \| `"0x100000000000000000000000000000000"` | +| `signature` | [`SIGNATURE`](types.RPC.RPCSPEC06.SPEC.md#signature) | +| `class_hash` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:210](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L210) + +--- + +### DECLARE_TXN_V1 + +Ƭ **DECLARE_TXN_V1**: `Object` + +#### Type declaration + +| Name | Type | +| :--------------- | :--------------------------------------------------- | +| `type` | `"DECLARE"` | +| `sender_address` | [`ADDRESS`](types.RPC.RPCSPEC06.SPEC.md#address) | +| `max_fee` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | +| `version` | `"0x1"` \| `"0x100000000000000000000000000000001"` | +| `signature` | [`SIGNATURE`](types.RPC.RPCSPEC06.SPEC.md#signature) | +| `nonce` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | +| `class_hash` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:219](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L219) + +--- + +### DECLARE_TXN_V2 + +Ƭ **DECLARE_TXN_V2**: `Object` + +#### Type declaration + +| Name | Type | +| :-------------------- | :--------------------------------------------------- | +| `type` | `"DECLARE"` | +| `sender_address` | [`ADDRESS`](types.RPC.RPCSPEC06.SPEC.md#address) | +| `compiled_class_hash` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | +| `max_fee` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | +| `version` | `"0x2"` \| `"0x100000000000000000000000000000002"` | +| `signature` | [`SIGNATURE`](types.RPC.RPCSPEC06.SPEC.md#signature) | +| `nonce` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | +| `class_hash` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:229](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L229) + +--- + +### DECLARE_TXN_V3 + +Ƭ **DECLARE_TXN_V3**: `Object` + +#### Type declaration + +| Name | Type | +| :----------------------------- | :------------------------------------------------------------------------------- | +| `type` | `"DECLARE"` | +| `sender_address` | [`ADDRESS`](types.RPC.RPCSPEC06.SPEC.md#address) | +| `compiled_class_hash` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | +| `version` | `"0x3"` \| `"0x100000000000000000000000000000003"` | +| `signature` | [`SIGNATURE`](types.RPC.RPCSPEC06.SPEC.md#signature) | +| `nonce` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | +| `class_hash` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | +| `resource_bounds` | [`RESOURCE_BOUNDS_MAPPING`](types.RPC.RPCSPEC06.SPEC.md#resource_bounds_mapping) | +| `tip` | [`u64`](types.RPC.RPCSPEC06.SPEC.md#u64) | +| `paymaster_data` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt)[] | +| `account_deployment_data` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt)[] | +| `nonce_data_availability_mode` | [`DA_MODE`](types.RPC.RPCSPEC06.SPEC.md#da_mode) | +| `fee_data_availability_mode` | [`DA_MODE`](types.RPC.RPCSPEC06.SPEC.md#da_mode) | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:240](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L240) + +--- + +### BROADCASTED_TXN + +Ƭ **BROADCASTED_TXN**: [`BROADCASTED_INVOKE_TXN`](types.RPC.RPCSPEC06.SPEC.md#broadcasted_invoke_txn) \| [`BROADCASTED_DECLARE_TXN`](types.RPC.RPCSPEC06.SPEC.md#broadcasted_declare_txn) \| [`BROADCASTED_DEPLOY_ACCOUNT_TXN`](types.RPC.RPCSPEC06.SPEC.md#broadcasted_deploy_account_txn) + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:257](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L257) + +--- + +### BROADCASTED_INVOKE_TXN + +Ƭ **BROADCASTED_INVOKE_TXN**: [`INVOKE_TXN`](types.RPC.RPCSPEC06.SPEC.md#invoke_txn) + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:262](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L262) + +--- + +### BROADCASTED_DEPLOY_ACCOUNT_TXN + +Ƭ **BROADCASTED_DEPLOY_ACCOUNT_TXN**: [`DEPLOY_ACCOUNT_TXN`](types.RPC.RPCSPEC06.SPEC.md#deploy_account_txn) + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:264](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L264) + +--- + +### BROADCASTED_DECLARE_TXN + +Ƭ **BROADCASTED_DECLARE_TXN**: [`BROADCASTED_DECLARE_TXN_V1`](types.RPC.RPCSPEC06.SPEC.md#broadcasted_declare_txn_v1) \| [`BROADCASTED_DECLARE_TXN_V2`](types.RPC.RPCSPEC06.SPEC.md#broadcasted_declare_txn_v2) \| [`BROADCASTED_DECLARE_TXN_V3`](types.RPC.RPCSPEC06.SPEC.md#broadcasted_declare_txn_v3) + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:266](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L266) + +--- + +### BROADCASTED_DECLARE_TXN_V1 + +Ƭ **BROADCASTED_DECLARE_TXN_V1**: `Object` + +#### Type declaration + +| Name | Type | +| :--------------- | :----------------------------------------------------------------------------------- | +| `type` | `"DECLARE"` | +| `sender_address` | [`ADDRESS`](types.RPC.RPCSPEC06.SPEC.md#address) | +| `max_fee` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | +| `version` | `"0x1"` \| `"0x100000000000000000000000000000001"` | +| `signature` | [`SIGNATURE`](types.RPC.RPCSPEC06.SPEC.md#signature) | +| `nonce` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | +| `contract_class` | [`DEPRECATED_CONTRACT_CLASS`](types.RPC.RPCSPEC06.SPEC.md#deprecated_contract_class) | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:271](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L271) + +--- + +### BROADCASTED_DECLARE_TXN_V2 + +Ƭ **BROADCASTED_DECLARE_TXN_V2**: `Object` + +#### Type declaration + +| Name | Type | +| :-------------------- | :------------------------------------------------------------- | +| `type` | `"DECLARE"` | +| `sender_address` | [`ADDRESS`](types.RPC.RPCSPEC06.SPEC.md#address) | +| `compiled_class_hash` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | +| `max_fee` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | +| `version` | `"0x2"` \| `"0x100000000000000000000000000000002"` | +| `signature` | [`SIGNATURE`](types.RPC.RPCSPEC06.SPEC.md#signature) | +| `nonce` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | +| `contract_class` | [`CONTRACT_CLASS`](types.RPC.RPCSPEC06.SPEC.md#contract_class) | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:282](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L282) + +--- + +### BROADCASTED_DECLARE_TXN_V3 + +Ƭ **BROADCASTED_DECLARE_TXN_V3**: `Object` + +#### Type declaration + +| Name | Type | +| :----------------------------- | :------------------------------------------------------------------------------- | +| `type` | `"DECLARE"` | +| `sender_address` | [`ADDRESS`](types.RPC.RPCSPEC06.SPEC.md#address) | +| `compiled_class_hash` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | +| `version` | `"0x3"` \| `"0x100000000000000000000000000000003"` | +| `signature` | [`SIGNATURE`](types.RPC.RPCSPEC06.SPEC.md#signature) | +| `nonce` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | +| `contract_class` | [`CONTRACT_CLASS`](types.RPC.RPCSPEC06.SPEC.md#contract_class) | +| `resource_bounds` | [`RESOURCE_BOUNDS_MAPPING`](types.RPC.RPCSPEC06.SPEC.md#resource_bounds_mapping) | +| `tip` | [`u64`](types.RPC.RPCSPEC06.SPEC.md#u64) | +| `paymaster_data` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt)[] | +| `account_deployment_data` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt)[] | +| `nonce_data_availability_mode` | [`DA_MODE`](types.RPC.RPCSPEC06.SPEC.md#da_mode) | +| `fee_data_availability_mode` | [`DA_MODE`](types.RPC.RPCSPEC06.SPEC.md#da_mode) | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:293](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L293) + +--- + +### DEPLOY_ACCOUNT_TXN + +Ƭ **DEPLOY_ACCOUNT_TXN**: [`DEPLOY_ACCOUNT_TXN_V1`](types.RPC.RPCSPEC06.SPEC.md#deploy_account_txn_v1) \| [`DEPLOY_ACCOUNT_TXN_V3`](types.RPC.RPCSPEC06.SPEC.md#deploy_account_txn_v3) + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:310](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L310) + +--- + +### DEPLOY_ACCOUNT_TXN_V1 + +Ƭ **DEPLOY_ACCOUNT_TXN_V1**: `Object` + +#### Type declaration + +| Name | Type | +| :---------------------- | :--------------------------------------------------- | +| `type` | `"DEPLOY_ACCOUNT"` | +| `max_fee` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | +| `version` | `"0x1"` \| `"0x100000000000000000000000000000001"` | +| `signature` | [`SIGNATURE`](types.RPC.RPCSPEC06.SPEC.md#signature) | +| `nonce` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | +| `contract_address_salt` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | +| `constructor_calldata` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt)[] | +| `class_hash` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:312](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L312) + +--- + +### DEPLOY_ACCOUNT_TXN_V3 + +Ƭ **DEPLOY_ACCOUNT_TXN_V3**: `Object` + +#### Type declaration + +| Name | Type | +| :----------------------------- | :------------------------------------------------------------------------------- | +| `type` | `"DEPLOY_ACCOUNT"` | +| `version` | `"0x3"` \| `"0x100000000000000000000000000000003"` | +| `signature` | [`SIGNATURE`](types.RPC.RPCSPEC06.SPEC.md#signature) | +| `nonce` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | +| `contract_address_salt` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | +| `constructor_calldata` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt)[] | +| `class_hash` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | +| `resource_bounds` | [`RESOURCE_BOUNDS_MAPPING`](types.RPC.RPCSPEC06.SPEC.md#resource_bounds_mapping) | +| `tip` | [`u64`](types.RPC.RPCSPEC06.SPEC.md#u64) | +| `paymaster_data` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt)[] | +| `nonce_data_availability_mode` | [`DA_MODE`](types.RPC.RPCSPEC06.SPEC.md#da_mode) | +| `fee_data_availability_mode` | [`DA_MODE`](types.RPC.RPCSPEC06.SPEC.md#da_mode) | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:323](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L323) + +--- + +### DEPLOY_TXN + +Ƭ **DEPLOY_TXN**: `Object` + +#### Type declaration + +| Name | Type | +| :---------------------- | :------------------------------------------- | +| `type` | `"DEPLOY"` | +| `version` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | +| `contract_address_salt` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | +| `constructor_calldata` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt)[] | +| `class_hash` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:338](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L338) + +--- + +### INVOKE_TXN + +Ƭ **INVOKE_TXN**: [`INVOKE_TXN_V0`](types.RPC.RPCSPEC06.SPEC.md#invoke_txn_v0) \| [`INVOKE_TXN_V1`](types.RPC.RPCSPEC06.SPEC.md#invoke_txn_v1) \| [`INVOKE_TXN_V3`](types.RPC.RPCSPEC06.SPEC.md#invoke_txn_v3) + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:346](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L346) + +--- + +### INVOKE_TXN_V0 + +Ƭ **INVOKE_TXN_V0**: `Object` + +#### Type declaration + +| Name | Type | +| :--------------------- | :--------------------------------------------------- | +| `type` | `"INVOKE"` | +| `max_fee` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | +| `version` | `"0x0"` \| `"0x100000000000000000000000000000000"` | +| `signature` | [`SIGNATURE`](types.RPC.RPCSPEC06.SPEC.md#signature) | +| `contract_address` | [`ADDRESS`](types.RPC.RPCSPEC06.SPEC.md#address) | +| `entry_point_selector` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | +| `calldata` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt)[] | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:348](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L348) + +--- + +### INVOKE_TXN_V1 + +Ƭ **INVOKE_TXN_V1**: `Object` + +#### Type declaration + +| Name | Type | +| :--------------- | :--------------------------------------------------- | +| `type` | `"INVOKE"` | +| `sender_address` | [`ADDRESS`](types.RPC.RPCSPEC06.SPEC.md#address) | +| `calldata` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt)[] | +| `max_fee` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | +| `version` | `"0x1"` \| `"0x100000000000000000000000000000001"` | +| `signature` | [`SIGNATURE`](types.RPC.RPCSPEC06.SPEC.md#signature) | +| `nonce` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:358](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L358) + +--- + +### INVOKE_TXN_V3 + +Ƭ **INVOKE_TXN_V3**: `Object` + +#### Type declaration + +| Name | Type | +| :----------------------------- | :------------------------------------------------------------------------------- | +| `type` | `"INVOKE"` | +| `sender_address` | [`ADDRESS`](types.RPC.RPCSPEC06.SPEC.md#address) | +| `calldata` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt)[] | +| `version` | `"0x3"` \| `"0x100000000000000000000000000000003"` | +| `signature` | [`SIGNATURE`](types.RPC.RPCSPEC06.SPEC.md#signature) | +| `nonce` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | +| `resource_bounds` | [`RESOURCE_BOUNDS_MAPPING`](types.RPC.RPCSPEC06.SPEC.md#resource_bounds_mapping) | +| `tip` | [`u64`](types.RPC.RPCSPEC06.SPEC.md#u64) | +| `paymaster_data` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt)[] | +| `account_deployment_data` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt)[] | +| `nonce_data_availability_mode` | [`DA_MODE`](types.RPC.RPCSPEC06.SPEC.md#da_mode) | +| `fee_data_availability_mode` | [`DA_MODE`](types.RPC.RPCSPEC06.SPEC.md#da_mode) | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:368](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L368) + +--- + +### L1_HANDLER_TXN + +Ƭ **L1_HANDLER_TXN**: \{ `version`: [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) ; `type`: `"L1_HANDLER"` ; `nonce`: [`NUM_AS_HEX`](types.RPC.RPCSPEC06.SPEC.md#num_as_hex) } & [`FUNCTION_CALL`](types.RPC.RPCSPEC06.SPEC.md#function_call) + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:383](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L383) + +--- + +### COMMON_RECEIPT_PROPERTIES + +Ƭ **COMMON_RECEIPT_PROPERTIES**: `Object` + +#### Type declaration + +| Name | Type | +| :-------------------- | :------------------------------------------------------------------------- | +| `transaction_hash` | [`TXN_HASH`](types.RPC.RPCSPEC06.SPEC.md#txn_hash) | +| `actual_fee` | [`FEE_PAYMENT`](types.RPC.RPCSPEC06.SPEC.md#fee_payment) | +| `execution_status` | [`TXN_EXECUTION_STATUS`](types.RPC.RPCSPEC06.SPEC.md#txn_execution_status) | +| `finality_status` | [`TXN_FINALITY_STATUS`](types.RPC.RPCSPEC06.SPEC.md#txn_finality_status) | +| `block_hash` | [`BLOCK_HASH`](types.RPC.RPCSPEC06.SPEC.md#block_hash) | +| `block_number` | [`BLOCK_NUMBER`](types.RPC.RPCSPEC06.SPEC.md#block_number) | +| `messages_sent` | [`MSG_TO_L1`](types.RPC.RPCSPEC06.SPEC.md#msg_to_l1)[] | +| `revert_reason?` | `string` | +| `events` | [`EVENT`](types.RPC.RPCSPEC06.SPEC.md#event)[] | +| `execution_resources` | [`EXECUTION_RESOURCES`](types.RPC.RPCSPEC06.SPEC.md#execution_resources) | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:389](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L389) + +--- + +### PENDING_COMMON_RECEIPT_PROPERTIES + +Ƭ **PENDING_COMMON_RECEIPT_PROPERTIES**: `Object` + +#### Type declaration + +| Name | Type | +| :-------------------- | :------------------------------------------------------------------------- | +| `transaction_hash` | [`TXN_HASH`](types.RPC.RPCSPEC06.SPEC.md#txn_hash) | +| `actual_fee` | [`FEE_PAYMENT`](types.RPC.RPCSPEC06.SPEC.md#fee_payment) | +| `messages_sent` | [`MSG_TO_L1`](types.RPC.RPCSPEC06.SPEC.md#msg_to_l1)[] | +| `events` | [`EVENT`](types.RPC.RPCSPEC06.SPEC.md#event)[] | +| `revert_reason?` | `string` | +| `finality_status` | `"ACCEPTED_ON_L2"` | +| `execution_status` | [`TXN_EXECUTION_STATUS`](types.RPC.RPCSPEC06.SPEC.md#txn_execution_status) | +| `execution_resources` | [`EXECUTION_RESOURCES`](types.RPC.RPCSPEC06.SPEC.md#execution_resources) | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:402](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L402) + +--- + +### INVOKE_TXN_RECEIPT + +Ƭ **INVOKE_TXN_RECEIPT**: \{ `type`: `"INVOKE"` } & [`COMMON_RECEIPT_PROPERTIES`](types.RPC.RPCSPEC06.SPEC.md#common_receipt_properties) + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:413](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L413) + +--- + +### PENDING_INVOKE_TXN_RECEIPT + +Ƭ **PENDING_INVOKE_TXN_RECEIPT**: \{ `type`: `"INVOKE"` } & [`PENDING_COMMON_RECEIPT_PROPERTIES`](types.RPC.RPCSPEC06.SPEC.md#pending_common_receipt_properties) + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:417](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L417) + +--- + +### DECLARE_TXN_RECEIPT + +Ƭ **DECLARE_TXN_RECEIPT**: \{ `type`: `"DECLARE"` } & [`COMMON_RECEIPT_PROPERTIES`](types.RPC.RPCSPEC06.SPEC.md#common_receipt_properties) + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:421](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L421) + +--- + +### PENDING_DECLARE_TXN_RECEIPT + +Ƭ **PENDING_DECLARE_TXN_RECEIPT**: \{ `type`: `"DECLARE"` } & [`PENDING_COMMON_RECEIPT_PROPERTIES`](types.RPC.RPCSPEC06.SPEC.md#pending_common_receipt_properties) + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:425](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L425) + +--- + +### DEPLOY_ACCOUNT_TXN_RECEIPT + +Ƭ **DEPLOY_ACCOUNT_TXN_RECEIPT**: \{ `type`: `"DEPLOY_ACCOUNT"` ; `contract_address`: [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) } & [`COMMON_RECEIPT_PROPERTIES`](types.RPC.RPCSPEC06.SPEC.md#common_receipt_properties) + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:429](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L429) + +--- + +### PENDING_DEPLOY_ACCOUNT_TXN_RECEIPT + +Ƭ **PENDING_DEPLOY_ACCOUNT_TXN_RECEIPT**: \{ `type`: `"DEPLOY_ACCOUNT"` ; `contract_address`: [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) } & [`PENDING_COMMON_RECEIPT_PROPERTIES`](types.RPC.RPCSPEC06.SPEC.md#pending_common_receipt_properties) + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:434](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L434) + +--- + +### DEPLOY_TXN_RECEIPT + +Ƭ **DEPLOY_TXN_RECEIPT**: \{ `type`: `"DEPLOY"` ; `contract_address`: [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) } & [`COMMON_RECEIPT_PROPERTIES`](types.RPC.RPCSPEC06.SPEC.md#common_receipt_properties) + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:439](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L439) + +--- + +### L1_HANDLER_TXN_RECEIPT + +Ƭ **L1_HANDLER_TXN_RECEIPT**: \{ `type`: `"L1_HANDLER"` ; `message_hash`: [`NUM_AS_HEX`](types.RPC.RPCSPEC06.SPEC.md#num_as_hex) } & [`COMMON_RECEIPT_PROPERTIES`](types.RPC.RPCSPEC06.SPEC.md#common_receipt_properties) + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:444](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L444) + +--- + +### PENDING_L1_HANDLER_TXN_RECEIPT + +Ƭ **PENDING_L1_HANDLER_TXN_RECEIPT**: \{ `type`: `"L1_HANDLER"` ; `message_hash`: [`NUM_AS_HEX`](types.RPC.RPCSPEC06.SPEC.md#num_as_hex) } & [`PENDING_COMMON_RECEIPT_PROPERTIES`](types.RPC.RPCSPEC06.SPEC.md#pending_common_receipt_properties) + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:449](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L449) + +--- + +### TXN_RECEIPT + +Ƭ **TXN_RECEIPT**: [`INVOKE_TXN_RECEIPT`](types.RPC.RPCSPEC06.SPEC.md#invoke_txn_receipt) \| [`L1_HANDLER_TXN_RECEIPT`](types.RPC.RPCSPEC06.SPEC.md#l1_handler_txn_receipt) \| [`DECLARE_TXN_RECEIPT`](types.RPC.RPCSPEC06.SPEC.md#declare_txn_receipt) \| [`DEPLOY_TXN_RECEIPT`](types.RPC.RPCSPEC06.SPEC.md#deploy_txn_receipt) \| [`DEPLOY_ACCOUNT_TXN_RECEIPT`](types.RPC.RPCSPEC06.SPEC.md#deploy_account_txn_receipt) + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:454](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L454) + +--- + +### PENDING_TXN_RECEIPT + +Ƭ **PENDING_TXN_RECEIPT**: [`PENDING_INVOKE_TXN_RECEIPT`](types.RPC.RPCSPEC06.SPEC.md#pending_invoke_txn_receipt) \| [`PENDING_L1_HANDLER_TXN_RECEIPT`](types.RPC.RPCSPEC06.SPEC.md#pending_l1_handler_txn_receipt) \| [`PENDING_DECLARE_TXN_RECEIPT`](types.RPC.RPCSPEC06.SPEC.md#pending_declare_txn_receipt) \| [`PENDING_DEPLOY_ACCOUNT_TXN_RECEIPT`](types.RPC.RPCSPEC06.SPEC.md#pending_deploy_account_txn_receipt) + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:461](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L461) + +--- + +### MSG_TO_L1 + +Ƭ **MSG_TO_L1**: `Object` + +#### Type declaration + +| Name | Type | +| :------------- | :------------------------------------------- | +| `from_address` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | +| `to_address` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | +| `payload` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt)[] | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:467](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L467) + +--- + +### MSG_FROM_L1 + +Ƭ **MSG_FROM_L1**: `Object` + +#### Type declaration + +| Name | Type | +| :--------------------- | :------------------------------------------------------- | +| `from_address` | [`ETH_ADDRESS`](types.RPC.RPCSPEC06.SPEC.md#eth_address) | +| `to_address` | [`ADDRESS`](types.RPC.RPCSPEC06.SPEC.md#address) | +| `entry_point_selector` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | +| `payload` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt)[] | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:473](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L473) + +--- + +### FUNCTION_CALL + +Ƭ **FUNCTION_CALL**: `Object` + +#### Type declaration + +| Name | Type | +| :--------------------- | :----------------------------------------------- | +| `contract_address` | [`ADDRESS`](types.RPC.RPCSPEC06.SPEC.md#address) | +| `entry_point_selector` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | +| `calldata` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt)[] | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:480](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L480) + +--- + +### CONTRACT_CLASS + +Ƭ **CONTRACT_CLASS**: `Object` + +#### Type declaration + +| Name | Type | +| :--------------------------------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `sierra_program` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt)[] | +| `contract_class_version` | `string` | +| `entry_points_by_type` | \{ `CONSTRUCTOR`: [`SIERRA_ENTRY_POINT`](types.RPC.RPCSPEC06.SPEC.md#sierra_entry_point)[] ; `EXTERNAL`: [`SIERRA_ENTRY_POINT`](types.RPC.RPCSPEC06.SPEC.md#sierra_entry_point)[] ; `L1_HANDLER`: [`SIERRA_ENTRY_POINT`](types.RPC.RPCSPEC06.SPEC.md#sierra_entry_point)[] } | +| `entry_points_by_type.CONSTRUCTOR` | [`SIERRA_ENTRY_POINT`](types.RPC.RPCSPEC06.SPEC.md#sierra_entry_point)[] | +| `entry_points_by_type.EXTERNAL` | [`SIERRA_ENTRY_POINT`](types.RPC.RPCSPEC06.SPEC.md#sierra_entry_point)[] | +| `entry_points_by_type.L1_HANDLER` | [`SIERRA_ENTRY_POINT`](types.RPC.RPCSPEC06.SPEC.md#sierra_entry_point)[] | +| `abi` | `string` | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:486](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L486) + +--- + +### DEPRECATED_CONTRACT_CLASS + +Ƭ **DEPRECATED_CONTRACT_CLASS**: `Object` + +#### Type declaration + +| Name | Type | +| :--------------------------------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `program` | `string` | +| `entry_points_by_type` | \{ `CONSTRUCTOR`: [`DEPRECATED_CAIRO_ENTRY_POINT`](types.RPC.RPCSPEC06.SPEC.md#deprecated_cairo_entry_point)[] ; `EXTERNAL`: [`DEPRECATED_CAIRO_ENTRY_POINT`](types.RPC.RPCSPEC06.SPEC.md#deprecated_cairo_entry_point)[] ; `L1_HANDLER`: [`DEPRECATED_CAIRO_ENTRY_POINT`](types.RPC.RPCSPEC06.SPEC.md#deprecated_cairo_entry_point)[] } | +| `entry_points_by_type.CONSTRUCTOR` | [`DEPRECATED_CAIRO_ENTRY_POINT`](types.RPC.RPCSPEC06.SPEC.md#deprecated_cairo_entry_point)[] | +| `entry_points_by_type.EXTERNAL` | [`DEPRECATED_CAIRO_ENTRY_POINT`](types.RPC.RPCSPEC06.SPEC.md#deprecated_cairo_entry_point)[] | +| `entry_points_by_type.L1_HANDLER` | [`DEPRECATED_CAIRO_ENTRY_POINT`](types.RPC.RPCSPEC06.SPEC.md#deprecated_cairo_entry_point)[] | +| `abi` | [`CONTRACT_ABI`](types.RPC.RPCSPEC06.SPEC.md#contract_abi) | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:497](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L497) + +--- + +### DEPRECATED_CAIRO_ENTRY_POINT + +Ƭ **DEPRECATED_CAIRO_ENTRY_POINT**: `Object` + +#### Type declaration + +| Name | Type | +| :--------- | :----------------------------------------------------------------- | +| `offset` | [`NUM_AS_HEX`](types.RPC.RPCSPEC06.SPEC.md#num_as_hex) \| `number` | +| `selector` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:507](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L507) + +--- + +### SIERRA_ENTRY_POINT + +Ƭ **SIERRA_ENTRY_POINT**: `Object` + +#### Type declaration + +| Name | Type | +| :------------- | :----------------------------------------- | +| `selector` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | +| `function_idx` | `number` | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:512](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L512) + +--- + +### CONTRACT_ABI + +Ƭ **CONTRACT_ABI**: readonly [`CONTRACT_ABI_ENTRY`](types.RPC.RPCSPEC06.SPEC.md#contract_abi_entry)[] + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:517](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L517) + +--- + +### CONTRACT_ABI_ENTRY + +Ƭ **CONTRACT_ABI_ENTRY**: `Object` + +#### Type declaration + +| Name | Type | +| :--------- | :----------------------------------------- | +| `selector` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | +| `input` | `string` | +| `output` | `string` | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:519](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L519) + +--- + +### STRUCT_ABI_ENTRY + +Ƭ **STRUCT_ABI_ENTRY**: `Object` + +#### Type declaration + +| Name | Type | +| :-------- | :--------------------------------------------------------------- | +| `type` | [`STRUCT_ABI_TYPE`](types.RPC.RPCSPEC06.SPEC.md#struct_abi_type) | +| `name` | `string` | +| `size` | `number` | +| `members` | [`STRUCT_MEMBER`](types.RPC.RPCSPEC06.SPEC.md#struct_member)[] | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:525](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L525) + +--- + +### STRUCT_MEMBER + +Ƭ **STRUCT_MEMBER**: [`TYPED_PARAMETER`](types.RPC.RPCSPEC06.SPEC.md#typed_parameter) & \{ `offset`: `number` } + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:532](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L532) + +--- + +### EVENT_ABI_ENTRY + +Ƭ **EVENT_ABI_ENTRY**: `Object` + +#### Type declaration + +| Name | Type | +| :----- | :----------------------------------------------------------------- | +| `type` | [`EVENT_ABI_TYPE`](types.RPC.RPCSPEC06.SPEC.md#event_abi_type) | +| `name` | `string` | +| `keys` | [`TYPED_PARAMETER`](types.RPC.RPCSPEC06.SPEC.md#typed_parameter)[] | +| `data` | [`TYPED_PARAMETER`](types.RPC.RPCSPEC06.SPEC.md#typed_parameter)[] | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:536](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L536) + +--- + +### FUNCTION_STATE_MUTABILITY + +Ƭ **FUNCTION_STATE_MUTABILITY**: `"view"` + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:543](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L543) + +--- + +### FUNCTION_ABI_ENTRY + +Ƭ **FUNCTION_ABI_ENTRY**: `Object` + +#### Type declaration + +| Name | Type | +| :---------------- | :----------------------------------------------------------------------------------- | +| `type` | [`FUNCTION_ABI_TYPE`](types.RPC.RPCSPEC06.SPEC.md#function_abi_type) | +| `name` | `string` | +| `inputs` | [`TYPED_PARAMETER`](types.RPC.RPCSPEC06.SPEC.md#typed_parameter)[] | +| `outputs` | [`TYPED_PARAMETER`](types.RPC.RPCSPEC06.SPEC.md#typed_parameter)[] | +| `stateMutability` | [`FUNCTION_STATE_MUTABILITY`](types.RPC.RPCSPEC06.SPEC.md#function_state_mutability) | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:545](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L545) + +--- + +### TYPED_PARAMETER + +Ƭ **TYPED_PARAMETER**: `Object` + +#### Type declaration + +| Name | Type | +| :----- | :------- | +| `name` | `string` | +| `type` | `string` | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:553](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L553) + +--- + +### SIMULATION_FLAG_FOR_ESTIMATE_FEE + +Ƭ **SIMULATION_FLAG_FOR_ESTIMATE_FEE**: `"SKIP_VALIDATE"` + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:558](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L558) + +--- + +### PRICE_UNIT + +Ƭ **PRICE_UNIT**: `"WEI"` \| `"FRI"` + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:559](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L559) + +--- + +### FEE_ESTIMATE + +Ƭ **FEE_ESTIMATE**: `Object` + +#### Type declaration + +| Name | Type | +| :------------- | :----------------------------------------------------- | +| `gas_consumed` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | +| `gas_price` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | +| `overall_fee` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | +| `unit` | [`PRICE_UNIT`](types.RPC.RPCSPEC06.SPEC.md#price_unit) | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:561](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L561) + +--- + +### FEE_PAYMENT + +Ƭ **FEE_PAYMENT**: `Object` + +#### Type declaration + +| Name | Type | +| :------- | :----------------------------------------------------- | +| `amount` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | +| `unit` | [`PRICE_UNIT`](types.RPC.RPCSPEC06.SPEC.md#price_unit) | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:568](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L568) + +--- + +### RESOURCE_BOUNDS_MAPPING + +Ƭ **RESOURCE_BOUNDS_MAPPING**: `Object` + +#### Type declaration + +| Name | Type | +| :------- | :--------------------------------------------------------------- | +| `l1_gas` | [`RESOURCE_BOUNDS`](types.RPC.RPCSPEC06.SPEC.md#resource_bounds) | +| `l2_gas` | [`RESOURCE_BOUNDS`](types.RPC.RPCSPEC06.SPEC.md#resource_bounds) | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:573](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L573) + +--- + +### RESOURCE_BOUNDS + +Ƭ **RESOURCE_BOUNDS**: `Object` + +#### Type declaration + +| Name | Type | +| :------------------- | :----------------------------------------- | +| `max_amount` | [`u64`](types.RPC.RPCSPEC06.SPEC.md#u64) | +| `max_price_per_unit` | [`u128`](types.RPC.RPCSPEC06.SPEC.md#u128) | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:578](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L578) + +--- + +### RESOURCE_PRICE + +Ƭ **RESOURCE_PRICE**: `Object` + +#### Type declaration + +| Name | Type | +| :------------- | :----------------------------------------- | +| `price_in_fri` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | +| `price_in_wei` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:583](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L583) + +--- + +### EXECUTION_RESOURCES + +Ƭ **EXECUTION_RESOURCES**: `Object` + +#### Type declaration + +| Name | Type | +| :---------------------------------- | :------- | +| `steps` | `number` | +| `memory_holes?` | `number` | +| `range_check_builtin_applications?` | `number` | +| `pedersen_builtin_applications?` | `number` | +| `poseidon_builtin_applications?` | `number` | +| `ec_op_builtin_applications?` | `number` | +| `ecdsa_builtin_applications?` | `number` | +| `bitwise_builtin_applications?` | `number` | +| `keccak_builtin_applications?` | `number` | +| `segment_arena_builtin?` | `number` | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:588](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L588) + +--- + +### TRANSACTION_TRACE + +Ƭ **TRANSACTION_TRACE**: `Object` + +TRACE API + +#### Type declaration + +| Name | Type | +| :------------------------- | :--------------------------------------------------------------------------------- | +| `invoke_tx_trace?` | [`INVOKE_TXN_TRACE`](types.RPC.RPCSPEC06.SPEC.md#invoke_txn_trace) | +| `declare_tx_trace?` | [`DECLARE_TXN_TRACE`](types.RPC.RPCSPEC06.SPEC.md#declare_txn_trace) | +| `deploy_account_tx_trace?` | [`DEPLOY_ACCOUNT_TXN_TRACE`](types.RPC.RPCSPEC06.SPEC.md#deploy_account_txn_trace) | +| `l1_handler_tx_trace?` | [`L1_HANDLER_TXN_TRACE`](types.RPC.RPCSPEC06.SPEC.md#l1_handler_txn_trace) | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:606](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L606) + +--- + +### INVOKE_TXN_TRACE + +Ƭ **INVOKE_TXN_TRACE**: `Object` + +#### Type declaration + +| Name | Type | +| :------------------------- | :--------------------------------------------------------------------------------------------------------- | +| `type` | `"INVOKE"` | +| `execute_invocation` | [`FUNCTION_INVOCATION`](types.RPC.RPCSPEC06.SPEC.md#function_invocation) \| \{ `revert_reason`: `string` } | +| `validate_invocation?` | [`FUNCTION_INVOCATION`](types.RPC.RPCSPEC06.SPEC.md#function_invocation) | +| `fee_transfer_invocation?` | [`FUNCTION_INVOCATION`](types.RPC.RPCSPEC06.SPEC.md#function_invocation) | +| `state_diff?` | [`STATE_DIFF`](types.RPC.RPCSPEC06.SPEC.md#state_diff) | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:614](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L614) + +--- + +### DECLARE_TXN_TRACE + +Ƭ **DECLARE_TXN_TRACE**: `Object` + +#### Type declaration + +| Name | Type | +| :------------------------- | :----------------------------------------------------------------------- | +| `type` | `"DECLARE"` | +| `validate_invocation?` | [`FUNCTION_INVOCATION`](types.RPC.RPCSPEC06.SPEC.md#function_invocation) | +| `fee_transfer_invocation?` | [`FUNCTION_INVOCATION`](types.RPC.RPCSPEC06.SPEC.md#function_invocation) | +| `state_diff?` | [`STATE_DIFF`](types.RPC.RPCSPEC06.SPEC.md#state_diff) | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:623](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L623) + +--- + +### DEPLOY_ACCOUNT_TXN_TRACE + +Ƭ **DEPLOY_ACCOUNT_TXN_TRACE**: `Object` + +#### Type declaration + +| Name | Type | +| :------------------------- | :----------------------------------------------------------------------- | +| `type` | `"DEPLOY_ACCOUNT"` | +| `constructor_invocation` | [`FUNCTION_INVOCATION`](types.RPC.RPCSPEC06.SPEC.md#function_invocation) | +| `validate_invocation?` | [`FUNCTION_INVOCATION`](types.RPC.RPCSPEC06.SPEC.md#function_invocation) | +| `fee_transfer_invocation?` | [`FUNCTION_INVOCATION`](types.RPC.RPCSPEC06.SPEC.md#function_invocation) | +| `state_diff?` | [`STATE_DIFF`](types.RPC.RPCSPEC06.SPEC.md#state_diff) | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:631](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L631) + +--- + +### L1_HANDLER_TXN_TRACE + +Ƭ **L1_HANDLER_TXN_TRACE**: `Object` + +#### Type declaration + +| Name | Type | +| :-------------------- | :----------------------------------------------------------------------- | +| `type` | `"L1_HANDLER"` | +| `function_invocation` | [`FUNCTION_INVOCATION`](types.RPC.RPCSPEC06.SPEC.md#function_invocation) | +| `state_diff?` | [`STATE_DIFF`](types.RPC.RPCSPEC06.SPEC.md#state_diff) | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:640](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L640) + +--- + +### NESTED_CALL + +Ƭ **NESTED_CALL**: [`FUNCTION_INVOCATION`](types.RPC.RPCSPEC06.SPEC.md#function_invocation) + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:647](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L647) + +--- + +### FUNCTION_INVOCATION + +Ƭ **FUNCTION_INVOCATION**: [`FUNCTION_CALL`](types.RPC.RPCSPEC06.SPEC.md#function_call) & \{ `caller_address`: `string` ; `class_hash`: `string` ; `entry_point_type`: [`ENTRY_POINT_TYPE`](types.RPC.RPCSPEC06.SPEC.md#entry_point_type) ; `call_type`: [`CALL_TYPE`](types.RPC.RPCSPEC06.SPEC.md#call_type) ; `result`: `string`[] ; `calls`: [`NESTED_CALL`](types.RPC.RPCSPEC06.SPEC.md#nested_call)[] ; `events`: [`ORDERED_EVENT`](types.RPC.RPCSPEC06.SPEC.md#ordered_event)[] ; `messages`: [`ORDERED_MESSAGE`](types.RPC.RPCSPEC06.SPEC.md#ordered_message)[] ; `execution_resources`: [`EXECUTION_RESOURCES`](types.RPC.RPCSPEC06.SPEC.md#execution_resources) } + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:650](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L650) + +--- + +### ORDERED_EVENT + +Ƭ **ORDERED_EVENT**: `Object` + +#### Type declaration + +| Name | Type | +| :------ | :------------------------------------------- | +| `order` | `number` | +| `event` | [`EVENT`](types.RPC.RPCSPEC06.SPEC.md#event) | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:663](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L663) + +--- + +### ORDERED_MESSAGE + +Ƭ **ORDERED_MESSAGE**: `Object` + +#### Type declaration + +| Name | Type | +| :-------- | :--------------------------------------------------- | +| `order` | `number` | +| `message` | [`MSG_TO_L1`](types.RPC.RPCSPEC06.SPEC.md#msg_to_l1) | + +#### Defined in + +[src/types/api/rpcspec_0_6/components.ts:669](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/components.ts#L669) diff --git a/www/versioned_docs/version-6.11.0/API/namespaces/types.RPC.RPCSPEC06.md b/www/versioned_docs/version-6.11.0/API/namespaces/types.RPC.RPCSPEC06.md new file mode 100644 index 000000000..0a3ce45ab --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/namespaces/types.RPC.RPCSPEC06.md @@ -0,0 +1,495 @@ +--- +id: 'types.RPC.RPCSPEC06' +title: 'Namespace: RPCSPEC06' +sidebar_label: 'RPCSPEC06' +custom_edit_url: null +--- + +[types](types.md).[RPC](types.RPC.md).RPCSPEC06 + +## Namespaces + +- [Errors](types.RPC.RPCSPEC06.Errors.md) +- [SPEC](types.RPC.RPCSPEC06.SPEC.md) + +## Enumerations + +- [ETransactionType](../enums/types.RPC.RPCSPEC06.ETransactionType.md) +- [ESimulationFlag](../enums/types.RPC.RPCSPEC06.ESimulationFlag.md) +- [ETransactionStatus](../enums/types.RPC.RPCSPEC06.ETransactionStatus.md) +- [ETransactionFinalityStatus](../enums/types.RPC.RPCSPEC06.ETransactionFinalityStatus.md) +- [ETransactionExecutionStatus](../enums/types.RPC.RPCSPEC06.ETransactionExecutionStatus.md) +- [EBlockTag](../enums/types.RPC.RPCSPEC06.EBlockTag.md) +- [EDataAvailabilityMode](../enums/types.RPC.RPCSPEC06.EDataAvailabilityMode.md) +- [EDAMode](../enums/types.RPC.RPCSPEC06.EDAMode.md) +- [ETransactionVersion](../enums/types.RPC.RPCSPEC06.ETransactionVersion.md) +- [ETransactionVersion2](../enums/types.RPC.RPCSPEC06.ETransactionVersion2.md) +- [ETransactionVersion3](../enums/types.RPC.RPCSPEC06.ETransactionVersion3.md) + +## Type Aliases + +### Methods + +Ƭ **Methods**: `ReadMethods` & `WriteMethods` & `TraceMethods` + +#### Defined in + +[src/types/api/rpcspec_0_6/methods.ts:42](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/methods.ts#L42) + +--- + +### ABI + +Ƭ **ABI**: (`FUNCTION` \| `CONSTRUCTOR` \| `L1_HANDLER` \| `EVENT` \| `STRUCT` \| `ENUM` \| `INTERFACE` \| `IMPL`)[] + +TypeScript Representation of Cairo1 v2+ Starknet Contract ABI + +starknet_metadata.json - tags/v0.5.0 + +'starknet-specs' (OpenRpc protocol types) +https://github.com/starkware-libs/starknet-specs + +#### Defined in + +[src/types/api/rpcspec_0_6/contract.ts:10](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/contract.ts#L10) + +--- + +### ContractClass + +Ƭ **ContractClass**: [`CONTRACT_CLASS`](types.RPC.RPCSPEC06.SPEC.md#contract_class) \| [`DEPRECATED_CONTRACT_CLASS`](types.RPC.RPCSPEC06.SPEC.md#deprecated_contract_class) + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:45](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L45) + +--- + +### SimulateTransaction + +Ƭ **SimulateTransaction**: `Object` + +#### Type declaration + +| Name | Type | +| :------------------ | :------------------------------------------------------------------- | +| `transaction_trace` | [`TRANSACTION_TRACE`](types.RPC.RPCSPEC06.SPEC.md#transaction_trace) | +| `fee_estimation` | [`FEE_ESTIMATE`](types.RPC.RPCSPEC06.SPEC.md#fee_estimate) | + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:47](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L47) + +--- + +### SimulateTransactionResponse + +Ƭ **SimulateTransactionResponse**: [`SimulateTransaction`](types.RPC.RPCSPEC06.md#simulatetransaction)[] + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:51](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L51) + +--- + +### FeeEstimate + +Ƭ **FeeEstimate**: [`FEE_ESTIMATE`](types.RPC.RPCSPEC06.SPEC.md#fee_estimate) + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:53](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L53) + +--- + +### TransactionWithHash + +Ƭ **TransactionWithHash**: [`TXN`](types.RPC.RPCSPEC06.SPEC.md#txn) & \{ `transaction_hash`: [`TXN_HASH`](types.RPC.RPCSPEC06.SPEC.md#txn_hash) } + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:55](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L55) + +--- + +### BlockHashAndNumber + +Ƭ **BlockHashAndNumber**: `Object` + +#### Type declaration + +| Name | Type | +| :------------- | :--------------------------------------------------------- | +| `block_hash` | [`BLOCK_HASH`](types.RPC.RPCSPEC06.SPEC.md#block_hash) | +| `block_number` | [`BLOCK_NUMBER`](types.RPC.RPCSPEC06.SPEC.md#block_number) | + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:57](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L57) + +--- + +### BlockWithTxs + +Ƭ **BlockWithTxs**: [`BLOCK_WITH_TXS`](types.RPC.RPCSPEC06.SPEC.md#block_with_txs) \| [`PENDING_BLOCK_WITH_TXS`](types.RPC.RPCSPEC06.SPEC.md#pending_block_with_txs) + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:59](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L59) + +--- + +### BlockWithTxHashes + +Ƭ **BlockWithTxHashes**: [`BLOCK_WITH_TX_HASHES`](types.RPC.RPCSPEC06.SPEC.md#block_with_tx_hashes) \| [`PENDING_BLOCK_WITH_TX_HASHES`](types.RPC.RPCSPEC06.SPEC.md#pending_block_with_tx_hashes) + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:61](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L61) + +--- + +### StateUpdate + +Ƭ **StateUpdate**: [`STATE_UPDATE`](types.RPC.RPCSPEC06.SPEC.md#state_update) \| [`PENDING_STATE_UPDATE`](types.RPC.RPCSPEC06.SPEC.md#pending_state_update) + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:63](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L63) + +--- + +### BlockTransactionsTraces + +Ƭ **BlockTransactionsTraces**: \{ `transaction_hash`: [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) ; `trace_root`: [`TRANSACTION_TRACE`](types.RPC.RPCSPEC06.SPEC.md#transaction_trace) }[] + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:65](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L65) + +--- + +### Syncing + +Ƭ **Syncing**: `false` \| [`SYNC_STATUS`](types.RPC.RPCSPEC06.SPEC.md#sync_status) + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:67](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L67) + +--- + +### Events + +Ƭ **Events**: [`EVENTS_CHUNK`](types.RPC.RPCSPEC06.SPEC.md#events_chunk) + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:69](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L69) + +--- + +### EmittedEvent + +Ƭ **EmittedEvent**: [`EMITTED_EVENT`](types.RPC.RPCSPEC06.SPEC.md#emitted_event) + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:70](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L70) + +--- + +### Event + +Ƭ **Event**: [`EVENT`](types.RPC.RPCSPEC06.SPEC.md#event) + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:71](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L71) + +--- + +### InvokedTransaction + +Ƭ **InvokedTransaction**: `Object` + +#### Type declaration + +| Name | Type | +| :----------------- | :------------------------------------------------- | +| `transaction_hash` | [`TXN_HASH`](types.RPC.RPCSPEC06.SPEC.md#txn_hash) | + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:73](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L73) + +--- + +### DeclaredTransaction + +Ƭ **DeclaredTransaction**: `Object` + +#### Type declaration + +| Name | Type | +| :----------------- | :------------------------------------------------- | +| `transaction_hash` | [`TXN_HASH`](types.RPC.RPCSPEC06.SPEC.md#txn_hash) | +| `class_hash` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:75](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L75) + +--- + +### DeployedAccountTransaction + +Ƭ **DeployedAccountTransaction**: `Object` + +#### Type declaration + +| Name | Type | +| :----------------- | :------------------------------------------------- | +| `transaction_hash` | [`TXN_HASH`](types.RPC.RPCSPEC06.SPEC.md#txn_hash) | +| `contract_address` | [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) | + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:77](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L77) + +--- + +### ContractAddress + +Ƭ **ContractAddress**: [`ADDRESS`](types.RPC.RPCSPEC06.SPEC.md#address) + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:80](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L80) + +--- + +### Felt + +Ƭ **Felt**: [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:81](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L81) + +--- + +### Nonce + +Ƭ **Nonce**: [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt) + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:82](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L82) + +--- + +### TransactionHash + +Ƭ **TransactionHash**: [`TXN_HASH`](types.RPC.RPCSPEC06.SPEC.md#txn_hash) + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:83](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L83) + +--- + +### TransactionTrace + +Ƭ **TransactionTrace**: [`TRANSACTION_TRACE`](types.RPC.RPCSPEC06.SPEC.md#transaction_trace) + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:84](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L84) + +--- + +### BlockHash + +Ƭ **BlockHash**: [`BLOCK_HASH`](types.RPC.RPCSPEC06.SPEC.md#block_hash) + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:85](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L85) + +--- + +### TransactionReceipt + +Ƭ **TransactionReceipt**: [`TXN_RECEIPT`](types.RPC.RPCSPEC06.SPEC.md#txn_receipt) \| [`PENDING_TXN_RECEIPT`](types.RPC.RPCSPEC06.SPEC.md#pending_txn_receipt) + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:86](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L86) + +--- + +### Receipt + +Ƭ **Receipt**: [`TXN_RECEIPT`](types.RPC.RPCSPEC06.SPEC.md#txn_receipt) + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:87](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L87) + +--- + +### PendingReceipt + +Ƭ **PendingReceipt**: [`PENDING_TXN_RECEIPT`](types.RPC.RPCSPEC06.SPEC.md#pending_txn_receipt) + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:88](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L88) + +--- + +### EventFilter + +Ƭ **EventFilter**: [`EVENT_FILTER`](types.RPC.RPCSPEC06.SPEC.md#event_filter) & [`RESULT_PAGE_REQUEST`](types.RPC.RPCSPEC06.SPEC.md#result_page_request) + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:89](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L89) + +--- + +### SimulationFlags + +Ƭ **SimulationFlags**: [`SIMULATION_FLAG`](types.RPC.RPCSPEC06.SPEC.md#simulation_flag)[] + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:90](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L90) + +--- + +### L1Message + +Ƭ **L1Message**: [`MSG_FROM_L1`](types.RPC.RPCSPEC06.SPEC.md#msg_from_l1) + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:91](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L91) + +--- + +### BaseTransaction + +Ƭ **BaseTransaction**: [`BROADCASTED_TXN`](types.RPC.RPCSPEC06.SPEC.md#broadcasted_txn) + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:92](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L92) + +--- + +### ChainId + +Ƭ **ChainId**: [`CHAIN_ID`](types.RPC.RPCSPEC06.SPEC.md#chain_id) + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:93](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L93) + +--- + +### Transaction + +Ƭ **Transaction**: [`TXN`](types.RPC.RPCSPEC06.SPEC.md#txn) + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:94](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L94) + +--- + +### TransactionStatus + +Ƭ **TransactionStatus**: `Object` + +#### Type declaration + +| Name | Type | +| :------------------ | :------------------------------------------------------------------------- | +| `finality_status` | [`TXN_STATUS`](types.RPC.RPCSPEC06.SPEC.md#txn_status) | +| `execution_status?` | [`TXN_EXECUTION_STATUS`](types.RPC.RPCSPEC06.SPEC.md#txn_execution_status) | + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:95](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L95) + +--- + +### ResourceBounds + +Ƭ **ResourceBounds**: [`RESOURCE_BOUNDS_MAPPING`](types.RPC.RPCSPEC06.SPEC.md#resource_bounds_mapping) + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:99](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L99) + +--- + +### FeePayment + +Ƭ **FeePayment**: [`FEE_PAYMENT`](types.RPC.RPCSPEC06.SPEC.md#fee_payment) + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:100](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L100) + +--- + +### PriceUnit + +Ƭ **PriceUnit**: [`PRICE_UNIT`](types.RPC.RPCSPEC06.SPEC.md#price_unit) + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:101](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L101) + +--- + +### StorageDiffs + +Ƭ **StorageDiffs**: [`CONTRACT_STORAGE_DIFF_ITEM`](types.RPC.RPCSPEC06.SPEC.md#contract_storage_diff_item)[] + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:104](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L104) + +--- + +### DeprecatedDeclaredClasses + +Ƭ **DeprecatedDeclaredClasses**: [`FELT`](types.RPC.RPCSPEC06.SPEC.md#felt)[] + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:105](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L105) + +--- + +### NonceUpdates + +Ƭ **NonceUpdates**: [`NONCE_UPDATE`](types.RPC.RPCSPEC06.SPEC.md#nonce_update)[] + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:106](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L106) + +--- + +### ReplacedClasses + +Ƭ **ReplacedClasses**: [`REPLACED_CLASS`](types.RPC.RPCSPEC06.SPEC.md#replaced_class)[] + +#### Defined in + +[src/types/api/rpcspec_0_6/nonspec.ts:107](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/api/rpcspec_0_6/nonspec.ts#L107) diff --git a/www/versioned_docs/version-6.11.0/API/namespaces/types.RPC.RPCSPEC07.API.Errors.md b/www/versioned_docs/version-6.11.0/API/namespaces/types.RPC.RPCSPEC07.API.Errors.md new file mode 100644 index 000000000..b2ae269f3 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/namespaces/types.RPC.RPCSPEC07.API.Errors.md @@ -0,0 +1,40 @@ +--- +id: 'types.RPC.RPCSPEC07.API.Errors' +title: 'Namespace: Errors' +sidebar_label: 'Errors' +custom_edit_url: null +--- + +[RPCSPEC07](types.RPC.RPCSPEC07.md).[API](types.RPC.RPCSPEC07.API.md).Errors + +## Interfaces + +- [FAILED_TO_RECEIVE_TXN](../interfaces/types.RPC.RPCSPEC07.API.Errors.FAILED_TO_RECEIVE_TXN.md) +- [NO_TRACE_AVAILABLE](../interfaces/types.RPC.RPCSPEC07.API.Errors.NO_TRACE_AVAILABLE.md) +- [CONTRACT_NOT_FOUND](../interfaces/types.RPC.RPCSPEC07.API.Errors.CONTRACT_NOT_FOUND.md) +- [INVALID_MESSAGE_SELECTOR](../interfaces/types.RPC.RPCSPEC07.API.Errors.INVALID_MESSAGE_SELECTOR.md) +- [INVALID_CALL_DATA](../interfaces/types.RPC.RPCSPEC07.API.Errors.INVALID_CALL_DATA.md) +- [BLOCK_NOT_FOUND](../interfaces/types.RPC.RPCSPEC07.API.Errors.BLOCK_NOT_FOUND.md) +- [INVALID_BLOCK_HASH](../interfaces/types.RPC.RPCSPEC07.API.Errors.INVALID_BLOCK_HASH.md) +- [INVALID_TXN_INDEX](../interfaces/types.RPC.RPCSPEC07.API.Errors.INVALID_TXN_INDEX.md) +- [CLASS_HASH_NOT_FOUND](../interfaces/types.RPC.RPCSPEC07.API.Errors.CLASS_HASH_NOT_FOUND.md) +- [TXN_HASH_NOT_FOUND](../interfaces/types.RPC.RPCSPEC07.API.Errors.TXN_HASH_NOT_FOUND.md) +- [PAGE_SIZE_TOO_BIG](../interfaces/types.RPC.RPCSPEC07.API.Errors.PAGE_SIZE_TOO_BIG.md) +- [NO_BLOCKS](../interfaces/types.RPC.RPCSPEC07.API.Errors.NO_BLOCKS.md) +- [INVALID_CONTINUATION_TOKEN](../interfaces/types.RPC.RPCSPEC07.API.Errors.INVALID_CONTINUATION_TOKEN.md) +- [TOO_MANY_KEYS_IN_FILTER](../interfaces/types.RPC.RPCSPEC07.API.Errors.TOO_MANY_KEYS_IN_FILTER.md) +- [CONTRACT_ERROR](../interfaces/types.RPC.RPCSPEC07.API.Errors.CONTRACT_ERROR.md) +- [TRANSACTION_EXECUTION_ERROR](../interfaces/types.RPC.RPCSPEC07.API.Errors.TRANSACTION_EXECUTION_ERROR.md) +- [CLASS_ALREADY_DECLARED](../interfaces/types.RPC.RPCSPEC07.API.Errors.CLASS_ALREADY_DECLARED.md) +- [INVALID_TRANSACTION_NONCE](../interfaces/types.RPC.RPCSPEC07.API.Errors.INVALID_TRANSACTION_NONCE.md) +- [INSUFFICIENT_MAX_FEE](../interfaces/types.RPC.RPCSPEC07.API.Errors.INSUFFICIENT_MAX_FEE.md) +- [INSUFFICIENT_ACCOUNT_BALANCE](../interfaces/types.RPC.RPCSPEC07.API.Errors.INSUFFICIENT_ACCOUNT_BALANCE.md) +- [VALIDATION_FAILURE](../interfaces/types.RPC.RPCSPEC07.API.Errors.VALIDATION_FAILURE.md) +- [COMPILATION_FAILED](../interfaces/types.RPC.RPCSPEC07.API.Errors.COMPILATION_FAILED.md) +- [CONTRACT_CLASS_SIZE_IS_TOO_LARGE](../interfaces/types.RPC.RPCSPEC07.API.Errors.CONTRACT_CLASS_SIZE_IS_TOO_LARGE.md) +- [NON_ACCOUNT](../interfaces/types.RPC.RPCSPEC07.API.Errors.NON_ACCOUNT.md) +- [DUPLICATE_TX](../interfaces/types.RPC.RPCSPEC07.API.Errors.DUPLICATE_TX.md) +- [COMPILED_CLASS_HASH_MISMATCH](../interfaces/types.RPC.RPCSPEC07.API.Errors.COMPILED_CLASS_HASH_MISMATCH.md) +- [UNSUPPORTED_TX_VERSION](../interfaces/types.RPC.RPCSPEC07.API.Errors.UNSUPPORTED_TX_VERSION.md) +- [UNSUPPORTED_CONTRACT_CLASS_VERSION](../interfaces/types.RPC.RPCSPEC07.API.Errors.UNSUPPORTED_CONTRACT_CLASS_VERSION.md) +- [UNEXPECTED_ERROR](../interfaces/types.RPC.RPCSPEC07.API.Errors.UNEXPECTED_ERROR.md) diff --git a/www/versioned_docs/version-6.11.0/API/namespaces/types.RPC.RPCSPEC07.API.SPEC.md b/www/versioned_docs/version-6.11.0/API/namespaces/types.RPC.RPCSPEC07.API.SPEC.md new file mode 100644 index 000000000..2c754f56d --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/namespaces/types.RPC.RPCSPEC07.API.SPEC.md @@ -0,0 +1,1753 @@ +--- +id: 'types.RPC.RPCSPEC07.API.SPEC' +title: 'Namespace: SPEC' +sidebar_label: 'SPEC' +custom_edit_url: null +--- + +[RPCSPEC07](types.RPC.RPCSPEC07.md).[API](types.RPC.RPCSPEC07.API.md).SPEC + +## Type Aliases + +### FELT + +Ƭ **FELT**: `string` + +A field element. represented by at most 63 hex digits + +**`Pattern`** + +^0x(0|[a-fA-F1-9]{1}[a-fA-F0-9]{0,62})$ + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:8 + +--- + +### ETH_ADDRESS + +Ƭ **ETH_ADDRESS**: `string` + +an ethereum address represented as 40 hex digits + +**`Pattern`** + +^0x[a-fA-F0-9]{40}$ + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:13 + +--- + +### STORAGE_KEY + +Ƭ **STORAGE_KEY**: `string` + +A storage key. Represented as up to 62 hex digits, 3 bits, and 5 leading zeroes. + +**`Pattern`** + +^0x(0|[0-7]{1}[a-fA-F0-9]{0,62}$) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:18 + +--- + +### ADDRESS + +Ƭ **ADDRESS**: [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:19 + +--- + +### NUM_AS_HEX + +Ƭ **NUM_AS_HEX**: `string` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:20 + +--- + +### u64 + +Ƭ **u64**: `string` + +64 bit integers, represented by hex string of length at most 16 +"pattern": "^0x(0|[a-fA-F1-9]{1}[a-fA-F0-9]{0,15})$" + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:25 + +--- + +### u128 + +Ƭ **u128**: `string` + +64 bit integers, represented by hex string of length at most 32 +"pattern": "^0x(0|[a-fA-F1-9]{1}[a-fA-F0-9]{0,31})$" + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:30 + +--- + +### SIGNATURE + +Ƭ **SIGNATURE**: [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt)[] + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:31 + +--- + +### BLOCK_NUMBER + +Ƭ **BLOCK_NUMBER**: `number` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:32 + +--- + +### BLOCK_HASH + +Ƭ **BLOCK_HASH**: [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:33 + +--- + +### TXN_HASH + +Ƭ **TXN_HASH**: [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:34 + +--- + +### CHAIN_ID + +Ƭ **CHAIN_ID**: [`NUM_AS_HEX`](types.RPC.RPCSPEC07.API.SPEC.md#num_as_hex) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:35 + +--- + +### STRUCT_ABI_TYPE + +Ƭ **STRUCT_ABI_TYPE**: `"struct"` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:36 + +--- + +### EVENT_ABI_TYPE + +Ƭ **EVENT_ABI_TYPE**: `"event"` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:37 + +--- + +### FUNCTION_ABI_TYPE + +Ƭ **FUNCTION_ABI_TYPE**: `"function"` \| `"l1_handler"` \| `"constructor"` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:38 + +--- + +### ENTRY_POINT_TYPE + +Ƭ **ENTRY_POINT_TYPE**: `"EXTERNAL"` \| `"L1_HANDLER"` \| `"CONSTRUCTOR"` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:39 + +--- + +### CALL_TYPE + +Ƭ **CALL_TYPE**: `"DELEGATE"` \| `"LIBRARY_CALL"` \| `"CALL"` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:40 + +--- + +### TXN_STATUS + +Ƭ **TXN_STATUS**: `"RECEIVED"` \| `"REJECTED"` \| `"ACCEPTED_ON_L2"` \| `"ACCEPTED_ON_L1"` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:41 + +--- + +### SIMULATION_FLAG + +Ƭ **SIMULATION_FLAG**: `"SKIP_VALIDATE"` \| `"SKIP_FEE_CHARGE"` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:42 + +--- + +### DA_MODE + +Ƭ **DA_MODE**: `"L1"` \| `"L2"` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:43 + +--- + +### TXN_TYPE + +Ƭ **TXN_TYPE**: `"DECLARE"` \| `"DEPLOY"` \| `"DEPLOY_ACCOUNT"` \| `"INVOKE"` \| `"L1_HANDLER"` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:44 + +--- + +### TXN_FINALITY_STATUS + +Ƭ **TXN_FINALITY_STATUS**: `"ACCEPTED_ON_L2"` \| `"ACCEPTED_ON_L1"` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:45 + +--- + +### TXN_EXECUTION_STATUS + +Ƭ **TXN_EXECUTION_STATUS**: `"SUCCEEDED"` \| `"REVERTED"` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:46 + +--- + +### BLOCK_STATUS + +Ƭ **BLOCK_STATUS**: `"PENDING"` \| `"ACCEPTED_ON_L2"` \| `"ACCEPTED_ON_L1"` \| `"REJECTED"` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:47 + +--- + +### BLOCK_TAG + +Ƭ **BLOCK_TAG**: `"latest"` \| `"pending"` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:48 + +--- + +### EVENTS_CHUNK + +Ƭ **EVENTS_CHUNK**: `Object` + +READ API + +#### Type declaration + +| Name | Type | +| :-------------------- | :----------------------------------------------------------------- | +| `events` | [`EMITTED_EVENT`](types.RPC.RPCSPEC07.API.SPEC.md#emitted_event)[] | +| `continuation_token?` | `string` | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:52 + +--- + +### RESULT_PAGE_REQUEST + +Ƭ **RESULT_PAGE_REQUEST**: `Object` + +#### Type declaration + +| Name | Type | +| :-------------------- | :------- | +| `continuation_token?` | `string` | +| `chunk_size` | `number` | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:56 + +--- + +### EMITTED_EVENT + +Ƭ **EMITTED_EVENT**: [`EVENT`](types.RPC.RPCSPEC07.API.SPEC.md#event) & \{ `block_hash`: [`BLOCK_HASH`](types.RPC.RPCSPEC07.API.SPEC.md#block_hash) ; `block_number`: [`BLOCK_NUMBER`](types.RPC.RPCSPEC07.API.SPEC.md#block_number) ; `transaction_hash`: [`TXN_HASH`](types.RPC.RPCSPEC07.API.SPEC.md#txn_hash) } + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:60 + +--- + +### EVENT + +Ƭ **EVENT**: \{ `from_address`: [`ADDRESS`](types.RPC.RPCSPEC07.API.SPEC.md#address) } & [`EVENT_CONTENT`](types.RPC.RPCSPEC07.API.SPEC.md#event_content) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:65 + +--- + +### EVENT_CONTENT + +Ƭ **EVENT_CONTENT**: `Object` + +#### Type declaration + +| Name | Type | +| :----- | :----------------------------------------------- | +| `keys` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt)[] | +| `data` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt)[] | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:68 + +--- + +### EVENT_FILTER + +Ƭ **EVENT_FILTER**: `Object` + +#### Type declaration + +| Name | Type | +| :------------ | :----------------------------------------------------- | +| `from_block?` | [`BLOCK_ID`](types.RPC.RPCSPEC07.API.SPEC.md#block_id) | +| `to_block?` | [`BLOCK_ID`](types.RPC.RPCSPEC07.API.SPEC.md#block_id) | +| `address?` | [`ADDRESS`](types.RPC.RPCSPEC07.API.SPEC.md#address) | +| `keys?` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt)[][] | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:72 + +--- + +### BLOCK_ID + +Ƭ **BLOCK_ID**: \{ `block_hash?`: [`BLOCK_HASH`](types.RPC.RPCSPEC07.API.SPEC.md#block_hash) ; `block_number?`: [`BLOCK_NUMBER`](types.RPC.RPCSPEC07.API.SPEC.md#block_number) } \| [`BLOCK_TAG`](types.RPC.RPCSPEC07.API.SPEC.md#block_tag) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:78 + +--- + +### SYNC_STATUS + +Ƭ **SYNC_STATUS**: `Object` + +#### Type declaration + +| Name | Type | +| :-------------------- | :------------------------------------------------------------- | +| `starting_block_hash` | [`BLOCK_HASH`](types.RPC.RPCSPEC07.API.SPEC.md#block_hash) | +| `starting_block_num` | [`BLOCK_NUMBER`](types.RPC.RPCSPEC07.API.SPEC.md#block_number) | +| `current_block_hash` | [`BLOCK_HASH`](types.RPC.RPCSPEC07.API.SPEC.md#block_hash) | +| `current_block_num` | [`BLOCK_NUMBER`](types.RPC.RPCSPEC07.API.SPEC.md#block_number) | +| `highest_block_hash` | [`BLOCK_HASH`](types.RPC.RPCSPEC07.API.SPEC.md#block_hash) | +| `highest_block_num` | [`BLOCK_NUMBER`](types.RPC.RPCSPEC07.API.SPEC.md#block_number) | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:82 + +--- + +### NEW_CLASSES + +Ƭ **NEW_CLASSES**: `Object` + +#### Type declaration + +| Name | Type | +| :-------------------- | :--------------------------------------------- | +| `class_hash` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | +| `compiled_class_hash` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:90 + +--- + +### REPLACED_CLASS + +Ƭ **REPLACED_CLASS**: `Object` + +#### Type declaration + +| Name | Type | +| :----------------- | :--------------------------------------------- | +| `class_hash` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | +| `contract_address` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:94 + +--- + +### NONCE_UPDATE + +Ƭ **NONCE_UPDATE**: `Object` + +#### Type declaration + +| Name | Type | +| :----------------- | :--------------------------------------------------- | +| `contract_address` | [`ADDRESS`](types.RPC.RPCSPEC07.API.SPEC.md#address) | +| `nonce` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:98 + +--- + +### STATE_DIFF + +Ƭ **STATE_DIFF**: `Object` + +#### Type declaration + +| Name | Type | +| :---------------------------- | :------------------------------------------------------------------------------------------- | +| `storage_diffs` | [`CONTRACT_STORAGE_DIFF_ITEM`](types.RPC.RPCSPEC07.API.SPEC.md#contract_storage_diff_item)[] | +| `deprecated_declared_classes` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt)[] | +| `declared_classes` | [`NEW_CLASSES`](types.RPC.RPCSPEC07.API.SPEC.md#new_classes)[] | +| `deployed_contracts` | [`DEPLOYED_CONTRACT_ITEM`](types.RPC.RPCSPEC07.API.SPEC.md#deployed_contract_item)[] | +| `replaced_classes` | [`REPLACED_CLASS`](types.RPC.RPCSPEC07.API.SPEC.md#replaced_class)[] | +| `nonces` | [`NONCE_UPDATE`](types.RPC.RPCSPEC07.API.SPEC.md#nonce_update)[] | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:102 + +--- + +### PENDING_STATE_UPDATE + +Ƭ **PENDING_STATE_UPDATE**: `Object` + +#### Type declaration + +| Name | Type | +| :----------- | :--------------------------------------------------------- | +| `old_root` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | +| `state_diff` | [`STATE_DIFF`](types.RPC.RPCSPEC07.API.SPEC.md#state_diff) | +| `block_hash` | `never` | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:110 + +--- + +### STATE_UPDATE + +Ƭ **STATE_UPDATE**: `Object` + +#### Type declaration + +| Name | Type | +| :----------- | :--------------------------------------------------------- | +| `block_hash` | [`BLOCK_HASH`](types.RPC.RPCSPEC07.API.SPEC.md#block_hash) | +| `old_root` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | +| `new_root` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | +| `state_diff` | [`STATE_DIFF`](types.RPC.RPCSPEC07.API.SPEC.md#state_diff) | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:115 + +--- + +### BLOCK_BODY_WITH_TX_HASHES + +Ƭ **BLOCK_BODY_WITH_TX_HASHES**: `Object` + +#### Type declaration + +| Name | Type | +| :------------- | :------------------------------------------------------- | +| `transactions` | [`TXN_HASH`](types.RPC.RPCSPEC07.API.SPEC.md#txn_hash)[] | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:121 + +--- + +### BLOCK_BODY_WITH_TXS + +Ƭ **BLOCK_BODY_WITH_TXS**: `Object` + +#### Type declaration + +| Name | Type | +| :------------- | :------------------------------------------------------------------------------------------------------------------------------- | +| `transactions` | [`TXN`](types.RPC.RPCSPEC07.API.SPEC.md#txn) & \{ `transaction_hash`: [`TXN_HASH`](types.RPC.RPCSPEC07.API.SPEC.md#txn_hash) }[] | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:124 + +--- + +### BLOCK_BODY_WITH_RECEIPTS + +Ƭ **BLOCK_BODY_WITH_RECEIPTS**: `Object` + +#### Type declaration + +| Name | Type | +| :------------- | :------------------------------------------------------------------------------------------------------------------------------------------- | +| `transactions` | \{ `transaction`: [`TXN`](types.RPC.RPCSPEC07.API.SPEC.md#txn) ; `receipt`: [`TXN_RECEIPT`](types.RPC.RPCSPEC07.API.SPEC.md#txn_receipt) }[] | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:129 + +--- + +### BLOCK_HEADER + +Ƭ **BLOCK_HEADER**: `Object` + +#### Type declaration + +| Name | Type | +| :------------------ | :----------------------------------------------------------------- | +| `block_hash` | [`BLOCK_HASH`](types.RPC.RPCSPEC07.API.SPEC.md#block_hash) | +| `parent_hash` | [`BLOCK_HASH`](types.RPC.RPCSPEC07.API.SPEC.md#block_hash) | +| `block_number` | [`BLOCK_NUMBER`](types.RPC.RPCSPEC07.API.SPEC.md#block_number) | +| `new_root` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | +| `timestamp` | `number` | +| `sequencer_address` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | +| `l1_gas_price` | [`RESOURCE_PRICE`](types.RPC.RPCSPEC07.API.SPEC.md#resource_price) | +| `l1_data_gas_price` | [`RESOURCE_PRICE`](types.RPC.RPCSPEC07.API.SPEC.md#resource_price) | +| `l1_da_mode` | `"BLOB"` \| `"CALLDATA"` | +| `starknet_version` | `string` | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:135 + +--- + +### PENDING_BLOCK_HEADER + +Ƭ **PENDING_BLOCK_HEADER**: `Object` + +#### Type declaration + +| Name | Type | +| :------------------ | :----------------------------------------------------------------- | +| `parent_hash` | [`BLOCK_HASH`](types.RPC.RPCSPEC07.API.SPEC.md#block_hash) | +| `timestamp` | `number` | +| `sequencer_address` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | +| `l1_gas_price` | [`RESOURCE_PRICE`](types.RPC.RPCSPEC07.API.SPEC.md#resource_price) | +| `l1_data_gas_price` | [`RESOURCE_PRICE`](types.RPC.RPCSPEC07.API.SPEC.md#resource_price) | +| `l1_da_mode` | `"BLOB"` \| `"CALLDATA"` | +| `starknet_version` | `string` | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:147 + +--- + +### BLOCK_WITH_TX_HASHES + +Ƭ **BLOCK_WITH_TX_HASHES**: \{ `status`: [`BLOCK_STATUS`](types.RPC.RPCSPEC07.API.SPEC.md#block_status) } & [`BLOCK_HEADER`](types.RPC.RPCSPEC07.API.SPEC.md#block_header) & [`BLOCK_BODY_WITH_TX_HASHES`](types.RPC.RPCSPEC07.API.SPEC.md#block_body_with_tx_hashes) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:156 + +--- + +### BLOCK_WITH_TXS + +Ƭ **BLOCK_WITH_TXS**: \{ `status`: [`BLOCK_STATUS`](types.RPC.RPCSPEC07.API.SPEC.md#block_status) } & [`BLOCK_HEADER`](types.RPC.RPCSPEC07.API.SPEC.md#block_header) & [`BLOCK_BODY_WITH_TXS`](types.RPC.RPCSPEC07.API.SPEC.md#block_body_with_txs) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:159 + +--- + +### BLOCK_WITH_RECEIPTS + +Ƭ **BLOCK_WITH_RECEIPTS**: \{ `status`: [`BLOCK_STATUS`](types.RPC.RPCSPEC07.API.SPEC.md#block_status) } & [`BLOCK_HEADER`](types.RPC.RPCSPEC07.API.SPEC.md#block_header) & [`BLOCK_BODY_WITH_RECEIPTS`](types.RPC.RPCSPEC07.API.SPEC.md#block_body_with_receipts) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:162 + +--- + +### PENDING_BLOCK_WITH_TX_HASHES + +Ƭ **PENDING_BLOCK_WITH_TX_HASHES**: [`BLOCK_BODY_WITH_TX_HASHES`](types.RPC.RPCSPEC07.API.SPEC.md#block_body_with_tx_hashes) & [`PENDING_BLOCK_HEADER`](types.RPC.RPCSPEC07.API.SPEC.md#pending_block_header) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:165 + +--- + +### PENDING_BLOCK_WITH_TXS + +Ƭ **PENDING_BLOCK_WITH_TXS**: [`BLOCK_BODY_WITH_TXS`](types.RPC.RPCSPEC07.API.SPEC.md#block_body_with_txs) & [`PENDING_BLOCK_HEADER`](types.RPC.RPCSPEC07.API.SPEC.md#pending_block_header) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:166 + +--- + +### PENDING_BLOCK_WITH_RECEIPTS + +Ƭ **PENDING_BLOCK_WITH_RECEIPTS**: [`BLOCK_BODY_WITH_RECEIPTS`](types.RPC.RPCSPEC07.API.SPEC.md#block_body_with_receipts) & [`PENDING_BLOCK_HEADER`](types.RPC.RPCSPEC07.API.SPEC.md#pending_block_header) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:167 + +--- + +### DEPLOYED_CONTRACT_ITEM + +Ƭ **DEPLOYED_CONTRACT_ITEM**: `Object` + +#### Type declaration + +| Name | Type | +| :----------- | :--------------------------------------------- | +| `address` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | +| `class_hash` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:168 + +--- + +### CONTRACT_STORAGE_DIFF_ITEM + +Ƭ **CONTRACT_STORAGE_DIFF_ITEM**: `Object` + +#### Type declaration + +| Name | Type | +| :---------------- | :--------------------------------------------------------------------- | +| `address` | `string` | +| `storage_entries` | [`StorageDiffItem`](types.RPC.RPCSPEC07.API.SPEC.md#storagediffitem)[] | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:172 + +--- + +### StorageDiffItem + +Ƭ **StorageDiffItem**: `Object` + +#### Type declaration + +| Name | Type | +| :------ | :------- | +| `key` | `string` | +| `value` | `string` | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:176 + +--- + +### TXN + +Ƭ **TXN**: [`INVOKE_TXN`](types.RPC.RPCSPEC07.API.SPEC.md#invoke_txn) \| [`L1_HANDLER_TXN`](types.RPC.RPCSPEC07.API.SPEC.md#l1_handler_txn) \| [`DECLARE_TXN`](types.RPC.RPCSPEC07.API.SPEC.md#declare_txn) \| [`DEPLOY_TXN`](types.RPC.RPCSPEC07.API.SPEC.md#deploy_txn) \| [`DEPLOY_ACCOUNT_TXN`](types.RPC.RPCSPEC07.API.SPEC.md#deploy_account_txn) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:180 + +--- + +### DECLARE_TXN + +Ƭ **DECLARE_TXN**: [`DECLARE_TXN_V0`](types.RPC.RPCSPEC07.API.SPEC.md#declare_txn_v0) \| [`DECLARE_TXN_V1`](types.RPC.RPCSPEC07.API.SPEC.md#declare_txn_v1) \| [`DECLARE_TXN_V2`](types.RPC.RPCSPEC07.API.SPEC.md#declare_txn_v2) \| [`DECLARE_TXN_V3`](types.RPC.RPCSPEC07.API.SPEC.md#declare_txn_v3) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:181 + +--- + +### DECLARE_TXN_V0 + +Ƭ **DECLARE_TXN_V0**: `Object` + +#### Type declaration + +| Name | Type | +| :--------------- | :------------------------------------------------------- | +| `type` | `"DECLARE"` | +| `sender_address` | [`ADDRESS`](types.RPC.RPCSPEC07.API.SPEC.md#address) | +| `max_fee` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | +| `version` | `"0x0"` \| `"0x100000000000000000000000000000000"` | +| `signature` | [`SIGNATURE`](types.RPC.RPCSPEC07.API.SPEC.md#signature) | +| `class_hash` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:182 + +--- + +### DECLARE_TXN_V1 + +Ƭ **DECLARE_TXN_V1**: `Object` + +#### Type declaration + +| Name | Type | +| :--------------- | :------------------------------------------------------- | +| `type` | `"DECLARE"` | +| `sender_address` | [`ADDRESS`](types.RPC.RPCSPEC07.API.SPEC.md#address) | +| `max_fee` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | +| `version` | `"0x1"` \| `"0x100000000000000000000000000000001"` | +| `signature` | [`SIGNATURE`](types.RPC.RPCSPEC07.API.SPEC.md#signature) | +| `nonce` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | +| `class_hash` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:190 + +--- + +### DECLARE_TXN_V2 + +Ƭ **DECLARE_TXN_V2**: `Object` + +#### Type declaration + +| Name | Type | +| :-------------------- | :------------------------------------------------------- | +| `type` | `"DECLARE"` | +| `sender_address` | [`ADDRESS`](types.RPC.RPCSPEC07.API.SPEC.md#address) | +| `compiled_class_hash` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | +| `max_fee` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | +| `version` | `"0x2"` \| `"0x100000000000000000000000000000002"` | +| `signature` | [`SIGNATURE`](types.RPC.RPCSPEC07.API.SPEC.md#signature) | +| `nonce` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | +| `class_hash` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:199 + +--- + +### DECLARE_TXN_V3 + +Ƭ **DECLARE_TXN_V3**: `Object` + +#### Type declaration + +| Name | Type | +| :----------------------------- | :----------------------------------------------------------------------------------- | +| `type` | `"DECLARE"` | +| `sender_address` | [`ADDRESS`](types.RPC.RPCSPEC07.API.SPEC.md#address) | +| `compiled_class_hash` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | +| `version` | `"0x3"` \| `"0x100000000000000000000000000000003"` | +| `signature` | [`SIGNATURE`](types.RPC.RPCSPEC07.API.SPEC.md#signature) | +| `nonce` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | +| `class_hash` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | +| `resource_bounds` | [`RESOURCE_BOUNDS_MAPPING`](types.RPC.RPCSPEC07.API.SPEC.md#resource_bounds_mapping) | +| `tip` | [`u64`](types.RPC.RPCSPEC07.API.SPEC.md#u64) | +| `paymaster_data` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt)[] | +| `account_deployment_data` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt)[] | +| `nonce_data_availability_mode` | [`DA_MODE`](types.RPC.RPCSPEC07.API.SPEC.md#da_mode) | +| `fee_data_availability_mode` | [`DA_MODE`](types.RPC.RPCSPEC07.API.SPEC.md#da_mode) | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:209 + +--- + +### BROADCASTED_TXN + +Ƭ **BROADCASTED_TXN**: [`BROADCASTED_INVOKE_TXN`](types.RPC.RPCSPEC07.API.SPEC.md#broadcasted_invoke_txn) \| [`BROADCASTED_DECLARE_TXN`](types.RPC.RPCSPEC07.API.SPEC.md#broadcasted_declare_txn) \| [`BROADCASTED_DEPLOY_ACCOUNT_TXN`](types.RPC.RPCSPEC07.API.SPEC.md#broadcasted_deploy_account_txn) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:224 + +--- + +### BROADCASTED_INVOKE_TXN + +Ƭ **BROADCASTED_INVOKE_TXN**: [`INVOKE_TXN`](types.RPC.RPCSPEC07.API.SPEC.md#invoke_txn) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:225 + +--- + +### BROADCASTED_DEPLOY_ACCOUNT_TXN + +Ƭ **BROADCASTED_DEPLOY_ACCOUNT_TXN**: [`DEPLOY_ACCOUNT_TXN`](types.RPC.RPCSPEC07.API.SPEC.md#deploy_account_txn) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:226 + +--- + +### BROADCASTED_DECLARE_TXN + +Ƭ **BROADCASTED_DECLARE_TXN**: [`BROADCASTED_DECLARE_TXN_V1`](types.RPC.RPCSPEC07.API.SPEC.md#broadcasted_declare_txn_v1) \| [`BROADCASTED_DECLARE_TXN_V2`](types.RPC.RPCSPEC07.API.SPEC.md#broadcasted_declare_txn_v2) \| [`BROADCASTED_DECLARE_TXN_V3`](types.RPC.RPCSPEC07.API.SPEC.md#broadcasted_declare_txn_v3) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:227 + +--- + +### BROADCASTED_DECLARE_TXN_V1 + +Ƭ **BROADCASTED_DECLARE_TXN_V1**: `Object` + +#### Type declaration + +| Name | Type | +| :--------------- | :--------------------------------------------------------------------------------------- | +| `type` | `"DECLARE"` | +| `sender_address` | [`ADDRESS`](types.RPC.RPCSPEC07.API.SPEC.md#address) | +| `max_fee` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | +| `version` | `"0x1"` \| `"0x100000000000000000000000000000001"` | +| `signature` | [`SIGNATURE`](types.RPC.RPCSPEC07.API.SPEC.md#signature) | +| `nonce` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | +| `contract_class` | [`DEPRECATED_CONTRACT_CLASS`](types.RPC.RPCSPEC07.API.SPEC.md#deprecated_contract_class) | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:228 + +--- + +### BROADCASTED_DECLARE_TXN_V2 + +Ƭ **BROADCASTED_DECLARE_TXN_V2**: `Object` + +#### Type declaration + +| Name | Type | +| :-------------------- | :----------------------------------------------------------------- | +| `type` | `"DECLARE"` | +| `sender_address` | [`ADDRESS`](types.RPC.RPCSPEC07.API.SPEC.md#address) | +| `compiled_class_hash` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | +| `max_fee` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | +| `version` | `"0x2"` \| `"0x100000000000000000000000000000002"` | +| `signature` | [`SIGNATURE`](types.RPC.RPCSPEC07.API.SPEC.md#signature) | +| `nonce` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | +| `contract_class` | [`CONTRACT_CLASS`](types.RPC.RPCSPEC07.API.SPEC.md#contract_class) | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:237 + +--- + +### BROADCASTED_DECLARE_TXN_V3 + +Ƭ **BROADCASTED_DECLARE_TXN_V3**: `Object` + +#### Type declaration + +| Name | Type | +| :----------------------------- | :----------------------------------------------------------------------------------- | +| `type` | `"DECLARE"` | +| `sender_address` | [`ADDRESS`](types.RPC.RPCSPEC07.API.SPEC.md#address) | +| `compiled_class_hash` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | +| `version` | `"0x3"` \| `"0x100000000000000000000000000000003"` | +| `signature` | [`SIGNATURE`](types.RPC.RPCSPEC07.API.SPEC.md#signature) | +| `nonce` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | +| `contract_class` | [`CONTRACT_CLASS`](types.RPC.RPCSPEC07.API.SPEC.md#contract_class) | +| `resource_bounds` | [`RESOURCE_BOUNDS_MAPPING`](types.RPC.RPCSPEC07.API.SPEC.md#resource_bounds_mapping) | +| `tip` | [`u64`](types.RPC.RPCSPEC07.API.SPEC.md#u64) | +| `paymaster_data` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt)[] | +| `account_deployment_data` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt)[] | +| `nonce_data_availability_mode` | [`DA_MODE`](types.RPC.RPCSPEC07.API.SPEC.md#da_mode) | +| `fee_data_availability_mode` | [`DA_MODE`](types.RPC.RPCSPEC07.API.SPEC.md#da_mode) | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:247 + +--- + +### DEPLOY_ACCOUNT_TXN + +Ƭ **DEPLOY_ACCOUNT_TXN**: [`DEPLOY_ACCOUNT_TXN_V1`](types.RPC.RPCSPEC07.API.SPEC.md#deploy_account_txn_v1) \| [`DEPLOY_ACCOUNT_TXN_V3`](types.RPC.RPCSPEC07.API.SPEC.md#deploy_account_txn_v3) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:262 + +--- + +### DEPLOY_ACCOUNT_TXN_V1 + +Ƭ **DEPLOY_ACCOUNT_TXN_V1**: `Object` + +#### Type declaration + +| Name | Type | +| :---------------------- | :------------------------------------------------------- | +| `type` | `"DEPLOY_ACCOUNT"` | +| `max_fee` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | +| `version` | `"0x1"` \| `"0x100000000000000000000000000000001"` | +| `signature` | [`SIGNATURE`](types.RPC.RPCSPEC07.API.SPEC.md#signature) | +| `nonce` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | +| `contract_address_salt` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | +| `constructor_calldata` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt)[] | +| `class_hash` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:263 + +--- + +### DEPLOY_ACCOUNT_TXN_V3 + +Ƭ **DEPLOY_ACCOUNT_TXN_V3**: `Object` + +#### Type declaration + +| Name | Type | +| :----------------------------- | :----------------------------------------------------------------------------------- | +| `type` | `"DEPLOY_ACCOUNT"` | +| `version` | `"0x3"` \| `"0x100000000000000000000000000000003"` | +| `signature` | [`SIGNATURE`](types.RPC.RPCSPEC07.API.SPEC.md#signature) | +| `nonce` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | +| `contract_address_salt` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | +| `constructor_calldata` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt)[] | +| `class_hash` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | +| `resource_bounds` | [`RESOURCE_BOUNDS_MAPPING`](types.RPC.RPCSPEC07.API.SPEC.md#resource_bounds_mapping) | +| `tip` | [`u64`](types.RPC.RPCSPEC07.API.SPEC.md#u64) | +| `paymaster_data` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt)[] | +| `nonce_data_availability_mode` | [`DA_MODE`](types.RPC.RPCSPEC07.API.SPEC.md#da_mode) | +| `fee_data_availability_mode` | [`DA_MODE`](types.RPC.RPCSPEC07.API.SPEC.md#da_mode) | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:273 + +--- + +### DEPLOY_TXN + +Ƭ **DEPLOY_TXN**: `Object` + +#### Type declaration + +| Name | Type | +| :---------------------- | :----------------------------------------------- | +| `type` | `"DEPLOY"` | +| `version` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | +| `contract_address_salt` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | +| `constructor_calldata` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt)[] | +| `class_hash` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:287 + +--- + +### INVOKE_TXN + +Ƭ **INVOKE_TXN**: [`INVOKE_TXN_V0`](types.RPC.RPCSPEC07.API.SPEC.md#invoke_txn_v0) \| [`INVOKE_TXN_V1`](types.RPC.RPCSPEC07.API.SPEC.md#invoke_txn_v1) \| [`INVOKE_TXN_V3`](types.RPC.RPCSPEC07.API.SPEC.md#invoke_txn_v3) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:294 + +--- + +### INVOKE_TXN_V0 + +Ƭ **INVOKE_TXN_V0**: `Object` + +#### Type declaration + +| Name | Type | +| :--------------------- | :------------------------------------------------------- | +| `type` | `"INVOKE"` | +| `max_fee` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | +| `version` | `"0x0"` \| `"0x100000000000000000000000000000000"` | +| `signature` | [`SIGNATURE`](types.RPC.RPCSPEC07.API.SPEC.md#signature) | +| `contract_address` | [`ADDRESS`](types.RPC.RPCSPEC07.API.SPEC.md#address) | +| `entry_point_selector` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | +| `calldata` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt)[] | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:295 + +--- + +### INVOKE_TXN_V1 + +Ƭ **INVOKE_TXN_V1**: `Object` + +#### Type declaration + +| Name | Type | +| :--------------- | :------------------------------------------------------- | +| `type` | `"INVOKE"` | +| `sender_address` | [`ADDRESS`](types.RPC.RPCSPEC07.API.SPEC.md#address) | +| `calldata` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt)[] | +| `max_fee` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | +| `version` | `"0x1"` \| `"0x100000000000000000000000000000001"` | +| `signature` | [`SIGNATURE`](types.RPC.RPCSPEC07.API.SPEC.md#signature) | +| `nonce` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:304 + +--- + +### INVOKE_TXN_V3 + +Ƭ **INVOKE_TXN_V3**: `Object` + +#### Type declaration + +| Name | Type | +| :----------------------------- | :----------------------------------------------------------------------------------- | +| `type` | `"INVOKE"` | +| `sender_address` | [`ADDRESS`](types.RPC.RPCSPEC07.API.SPEC.md#address) | +| `calldata` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt)[] | +| `version` | `"0x3"` \| `"0x100000000000000000000000000000003"` | +| `signature` | [`SIGNATURE`](types.RPC.RPCSPEC07.API.SPEC.md#signature) | +| `nonce` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | +| `resource_bounds` | [`RESOURCE_BOUNDS_MAPPING`](types.RPC.RPCSPEC07.API.SPEC.md#resource_bounds_mapping) | +| `tip` | [`u64`](types.RPC.RPCSPEC07.API.SPEC.md#u64) | +| `paymaster_data` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt)[] | +| `account_deployment_data` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt)[] | +| `nonce_data_availability_mode` | [`DA_MODE`](types.RPC.RPCSPEC07.API.SPEC.md#da_mode) | +| `fee_data_availability_mode` | [`DA_MODE`](types.RPC.RPCSPEC07.API.SPEC.md#da_mode) | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:313 + +--- + +### L1_HANDLER_TXN + +Ƭ **L1_HANDLER_TXN**: \{ `version`: `"0x0"` ; `type`: `"L1_HANDLER"` ; `nonce`: [`NUM_AS_HEX`](types.RPC.RPCSPEC07.API.SPEC.md#num_as_hex) } & [`FUNCTION_CALL`](types.RPC.RPCSPEC07.API.SPEC.md#function_call) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:327 + +--- + +### COMMON_RECEIPT_PROPERTIES + +Ƭ **COMMON_RECEIPT_PROPERTIES**: \{ `transaction_hash`: [`TXN_HASH`](types.RPC.RPCSPEC07.API.SPEC.md#txn_hash) ; `actual_fee`: [`FEE_PAYMENT`](types.RPC.RPCSPEC07.API.SPEC.md#fee_payment) ; `finality_status`: [`TXN_FINALITY_STATUS`](types.RPC.RPCSPEC07.API.SPEC.md#txn_finality_status) ; `messages_sent`: [`MSG_TO_L1`](types.RPC.RPCSPEC07.API.SPEC.md#msg_to_l1)[] ; `events`: [`EVENT`](types.RPC.RPCSPEC07.API.SPEC.md#event)[] ; `execution_resources`: [`EXECUTION_RESOURCES`](types.RPC.RPCSPEC07.API.SPEC.md#execution_resources) } & `SUCCESSFUL_COMMON_RECEIPT_PROPERTIES` \| `REVERTED_COMMON_RECEIPT_PROPERTIES` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:332 + +--- + +### INVOKE_TXN_RECEIPT + +Ƭ **INVOKE_TXN_RECEIPT**: \{ `type`: `"INVOKE"` } & [`COMMON_RECEIPT_PROPERTIES`](types.RPC.RPCSPEC07.API.SPEC.md#common_receipt_properties) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:347 + +--- + +### DECLARE_TXN_RECEIPT + +Ƭ **DECLARE_TXN_RECEIPT**: \{ `type`: `"DECLARE"` } & [`COMMON_RECEIPT_PROPERTIES`](types.RPC.RPCSPEC07.API.SPEC.md#common_receipt_properties) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:350 + +--- + +### DEPLOY_ACCOUNT_TXN_RECEIPT + +Ƭ **DEPLOY_ACCOUNT_TXN_RECEIPT**: \{ `type`: `"DEPLOY_ACCOUNT"` ; `contract_address`: [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) } & [`COMMON_RECEIPT_PROPERTIES`](types.RPC.RPCSPEC07.API.SPEC.md#common_receipt_properties) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:353 + +--- + +### DEPLOY_TXN_RECEIPT + +Ƭ **DEPLOY_TXN_RECEIPT**: \{ `type`: `"DEPLOY"` ; `contract_address`: [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) } & [`COMMON_RECEIPT_PROPERTIES`](types.RPC.RPCSPEC07.API.SPEC.md#common_receipt_properties) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:357 + +--- + +### L1_HANDLER_TXN_RECEIPT + +Ƭ **L1_HANDLER_TXN_RECEIPT**: \{ `type`: `"L1_HANDLER"` ; `message_hash`: [`NUM_AS_HEX`](types.RPC.RPCSPEC07.API.SPEC.md#num_as_hex) } & [`COMMON_RECEIPT_PROPERTIES`](types.RPC.RPCSPEC07.API.SPEC.md#common_receipt_properties) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:361 + +--- + +### TXN_RECEIPT + +Ƭ **TXN_RECEIPT**: [`INVOKE_TXN_RECEIPT`](types.RPC.RPCSPEC07.API.SPEC.md#invoke_txn_receipt) \| [`L1_HANDLER_TXN_RECEIPT`](types.RPC.RPCSPEC07.API.SPEC.md#l1_handler_txn_receipt) \| [`DECLARE_TXN_RECEIPT`](types.RPC.RPCSPEC07.API.SPEC.md#declare_txn_receipt) \| [`DEPLOY_TXN_RECEIPT`](types.RPC.RPCSPEC07.API.SPEC.md#deploy_txn_receipt) \| [`DEPLOY_ACCOUNT_TXN_RECEIPT`](types.RPC.RPCSPEC07.API.SPEC.md#deploy_account_txn_receipt) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:365 + +--- + +### TXN_RECEIPT_WITH_BLOCK_INFO + +Ƭ **TXN_RECEIPT_WITH_BLOCK_INFO**: [`TXN_RECEIPT`](types.RPC.RPCSPEC07.API.SPEC.md#txn_receipt) & \{ `block_hash?`: [`BLOCK_HASH`](types.RPC.RPCSPEC07.API.SPEC.md#block_hash) ; `block_number?`: [`BLOCK_NUMBER`](types.RPC.RPCSPEC07.API.SPEC.md#block_number) } + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:366 + +--- + +### MSG_TO_L1 + +Ƭ **MSG_TO_L1**: `Object` + +#### Type declaration + +| Name | Type | +| :------------- | :----------------------------------------------- | +| `from_address` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | +| `to_address` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | +| `payload` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt)[] | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:370 + +--- + +### MSG_FROM_L1 + +Ƭ **MSG_FROM_L1**: `Object` + +#### Type declaration + +| Name | Type | +| :--------------------- | :----------------------------------------------------------- | +| `from_address` | [`ETH_ADDRESS`](types.RPC.RPCSPEC07.API.SPEC.md#eth_address) | +| `to_address` | [`ADDRESS`](types.RPC.RPCSPEC07.API.SPEC.md#address) | +| `entry_point_selector` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | +| `payload` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt)[] | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:375 + +--- + +### FUNCTION_CALL + +Ƭ **FUNCTION_CALL**: `Object` + +#### Type declaration + +| Name | Type | +| :--------------------- | :--------------------------------------------------- | +| `contract_address` | [`ADDRESS`](types.RPC.RPCSPEC07.API.SPEC.md#address) | +| `entry_point_selector` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | +| `calldata` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt)[] | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:381 + +--- + +### CONTRACT_CLASS + +Ƭ **CONTRACT_CLASS**: `Object` + +#### Type declaration + +| Name | Type | +| :--------------------------------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `sierra_program` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt)[] | +| `contract_class_version` | `string` | +| `entry_points_by_type` | \{ `CONSTRUCTOR`: [`SIERRA_ENTRY_POINT`](types.RPC.RPCSPEC07.API.SPEC.md#sierra_entry_point)[] ; `EXTERNAL`: [`SIERRA_ENTRY_POINT`](types.RPC.RPCSPEC07.API.SPEC.md#sierra_entry_point)[] ; `L1_HANDLER`: [`SIERRA_ENTRY_POINT`](types.RPC.RPCSPEC07.API.SPEC.md#sierra_entry_point)[] } | +| `entry_points_by_type.CONSTRUCTOR` | [`SIERRA_ENTRY_POINT`](types.RPC.RPCSPEC07.API.SPEC.md#sierra_entry_point)[] | +| `entry_points_by_type.EXTERNAL` | [`SIERRA_ENTRY_POINT`](types.RPC.RPCSPEC07.API.SPEC.md#sierra_entry_point)[] | +| `entry_points_by_type.L1_HANDLER` | [`SIERRA_ENTRY_POINT`](types.RPC.RPCSPEC07.API.SPEC.md#sierra_entry_point)[] | +| `abi` | `string` | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:386 + +--- + +### DEPRECATED_CONTRACT_CLASS + +Ƭ **DEPRECATED_CONTRACT_CLASS**: `Object` + +#### Type declaration + +| Name | Type | +| :--------------------------------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `program` | `string` | +| `entry_points_by_type` | \{ `CONSTRUCTOR`: [`DEPRECATED_CAIRO_ENTRY_POINT`](types.RPC.RPCSPEC07.API.SPEC.md#deprecated_cairo_entry_point)[] ; `EXTERNAL`: [`DEPRECATED_CAIRO_ENTRY_POINT`](types.RPC.RPCSPEC07.API.SPEC.md#deprecated_cairo_entry_point)[] ; `L1_HANDLER`: [`DEPRECATED_CAIRO_ENTRY_POINT`](types.RPC.RPCSPEC07.API.SPEC.md#deprecated_cairo_entry_point)[] } | +| `entry_points_by_type.CONSTRUCTOR` | [`DEPRECATED_CAIRO_ENTRY_POINT`](types.RPC.RPCSPEC07.API.SPEC.md#deprecated_cairo_entry_point)[] | +| `entry_points_by_type.EXTERNAL` | [`DEPRECATED_CAIRO_ENTRY_POINT`](types.RPC.RPCSPEC07.API.SPEC.md#deprecated_cairo_entry_point)[] | +| `entry_points_by_type.L1_HANDLER` | [`DEPRECATED_CAIRO_ENTRY_POINT`](types.RPC.RPCSPEC07.API.SPEC.md#deprecated_cairo_entry_point)[] | +| `abi` | [`CONTRACT_ABI`](types.RPC.RPCSPEC07.API.SPEC.md#contract_abi) | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:396 + +--- + +### DEPRECATED_CAIRO_ENTRY_POINT + +Ƭ **DEPRECATED_CAIRO_ENTRY_POINT**: `Object` + +#### Type declaration + +| Name | Type | +| :--------- | :--------------------------------------------------------------------- | +| `offset` | [`NUM_AS_HEX`](types.RPC.RPCSPEC07.API.SPEC.md#num_as_hex) \| `number` | +| `selector` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:405 + +--- + +### SIERRA_ENTRY_POINT + +Ƭ **SIERRA_ENTRY_POINT**: `Object` + +#### Type declaration + +| Name | Type | +| :------------- | :--------------------------------------------- | +| `selector` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | +| `function_idx` | `number` | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:409 + +--- + +### CONTRACT_ABI + +Ƭ **CONTRACT_ABI**: readonly [`CONTRACT_ABI_ENTRY`](types.RPC.RPCSPEC07.API.SPEC.md#contract_abi_entry)[] + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:413 + +--- + +### CONTRACT_ABI_ENTRY + +Ƭ **CONTRACT_ABI_ENTRY**: `Object` + +#### Type declaration + +| Name | Type | +| :--------- | :--------------------------------------------- | +| `selector` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | +| `input` | `string` | +| `output` | `string` | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:414 + +--- + +### STRUCT_ABI_ENTRY + +Ƭ **STRUCT_ABI_ENTRY**: `Object` + +#### Type declaration + +| Name | Type | +| :-------- | :------------------------------------------------------------------- | +| `type` | [`STRUCT_ABI_TYPE`](types.RPC.RPCSPEC07.API.SPEC.md#struct_abi_type) | +| `name` | `string` | +| `size` | `number` | +| `members` | [`STRUCT_MEMBER`](types.RPC.RPCSPEC07.API.SPEC.md#struct_member)[] | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:419 + +--- + +### STRUCT_MEMBER + +Ƭ **STRUCT_MEMBER**: [`TYPED_PARAMETER`](types.RPC.RPCSPEC07.API.SPEC.md#typed_parameter) & \{ `offset`: `number` } + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:425 + +--- + +### EVENT_ABI_ENTRY + +Ƭ **EVENT_ABI_ENTRY**: `Object` + +#### Type declaration + +| Name | Type | +| :----- | :--------------------------------------------------------------------- | +| `type` | [`EVENT_ABI_TYPE`](types.RPC.RPCSPEC07.API.SPEC.md#event_abi_type) | +| `name` | `string` | +| `keys` | [`TYPED_PARAMETER`](types.RPC.RPCSPEC07.API.SPEC.md#typed_parameter)[] | +| `data` | [`TYPED_PARAMETER`](types.RPC.RPCSPEC07.API.SPEC.md#typed_parameter)[] | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:428 + +--- + +### FUNCTION_STATE_MUTABILITY + +Ƭ **FUNCTION_STATE_MUTABILITY**: `"view"` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:434 + +--- + +### FUNCTION_ABI_ENTRY + +Ƭ **FUNCTION_ABI_ENTRY**: `Object` + +#### Type declaration + +| Name | Type | +| :---------------- | :--------------------------------------------------------------------------------------- | +| `type` | [`FUNCTION_ABI_TYPE`](types.RPC.RPCSPEC07.API.SPEC.md#function_abi_type) | +| `name` | `string` | +| `inputs` | [`TYPED_PARAMETER`](types.RPC.RPCSPEC07.API.SPEC.md#typed_parameter)[] | +| `outputs` | [`TYPED_PARAMETER`](types.RPC.RPCSPEC07.API.SPEC.md#typed_parameter)[] | +| `stateMutability` | [`FUNCTION_STATE_MUTABILITY`](types.RPC.RPCSPEC07.API.SPEC.md#function_state_mutability) | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:435 + +--- + +### TYPED_PARAMETER + +Ƭ **TYPED_PARAMETER**: `Object` + +#### Type declaration + +| Name | Type | +| :----- | :------- | +| `name` | `string` | +| `type` | `string` | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:442 + +--- + +### SIMULATION_FLAG_FOR_ESTIMATE_FEE + +Ƭ **SIMULATION_FLAG_FOR_ESTIMATE_FEE**: `"SKIP_VALIDATE"` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:446 + +--- + +### PRICE_UNIT + +Ƭ **PRICE_UNIT**: `"WEI"` \| `"FRI"` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:447 + +--- + +### FEE_ESTIMATE + +Ƭ **FEE_ESTIMATE**: `Object` + +#### Type declaration + +| Name | Type | +| :------------------ | :--------------------------------------------------------- | +| `gas_consumed` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | +| `gas_price` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | +| `data_gas_consumed` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | +| `data_gas_price` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | +| `overall_fee` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | +| `unit` | [`PRICE_UNIT`](types.RPC.RPCSPEC07.API.SPEC.md#price_unit) | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:448 + +--- + +### FEE_PAYMENT + +Ƭ **FEE_PAYMENT**: `Object` + +#### Type declaration + +| Name | Type | +| :------- | :--------------------------------------------------------- | +| `amount` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | +| `unit` | [`PRICE_UNIT`](types.RPC.RPCSPEC07.API.SPEC.md#price_unit) | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:456 + +--- + +### RESOURCE_BOUNDS_MAPPING + +Ƭ **RESOURCE_BOUNDS_MAPPING**: `Object` + +#### Type declaration + +| Name | Type | +| :------- | :------------------------------------------------------------------- | +| `l1_gas` | [`RESOURCE_BOUNDS`](types.RPC.RPCSPEC07.API.SPEC.md#resource_bounds) | +| `l2_gas` | [`RESOURCE_BOUNDS`](types.RPC.RPCSPEC07.API.SPEC.md#resource_bounds) | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:460 + +--- + +### RESOURCE_BOUNDS + +Ƭ **RESOURCE_BOUNDS**: `Object` + +#### Type declaration + +| Name | Type | +| :------------------- | :--------------------------------------------- | +| `max_amount` | [`u64`](types.RPC.RPCSPEC07.API.SPEC.md#u64) | +| `max_price_per_unit` | [`u128`](types.RPC.RPCSPEC07.API.SPEC.md#u128) | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:464 + +--- + +### RESOURCE_PRICE + +Ƭ **RESOURCE_PRICE**: `Object` + +#### Type declaration + +| Name | Type | +| :------------- | :--------------------------------------------- | +| `price_in_fri` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | +| `price_in_wei` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:468 + +--- + +### COMPUTATION_RESOURCES + +Ƭ **COMPUTATION_RESOURCES**: `Object` + +#### Type declaration + +| Name | Type | +| :---------------------------------- | :------- | +| `steps` | `number` | +| `memory_holes?` | `number` | +| `range_check_builtin_applications?` | `number` | +| `pedersen_builtin_applications?` | `number` | +| `poseidon_builtin_applications?` | `number` | +| `ec_op_builtin_applications?` | `number` | +| `ecdsa_builtin_applications?` | `number` | +| `bitwise_builtin_applications?` | `number` | +| `keccak_builtin_applications?` | `number` | +| `segment_arena_builtin?` | `number` | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:472 + +--- + +### EXECUTION_RESOURCES + +Ƭ **EXECUTION_RESOURCES**: [`COMPUTATION_RESOURCES`](types.RPC.RPCSPEC07.API.SPEC.md#computation_resources) & \{ `data_availability`: \{ `l1_gas`: `number` ; `l1_data_gas`: `number` } } + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:484 + +--- + +### TRANSACTION_TRACE + +Ƭ **TRANSACTION_TRACE**: `Object` + +TRACE API + +#### Type declaration + +| Name | Type | +| :------------------------- | :------------------------------------------------------------------------------------- | +| `invoke_tx_trace?` | [`INVOKE_TXN_TRACE`](types.RPC.RPCSPEC07.API.SPEC.md#invoke_txn_trace) | +| `declare_tx_trace?` | [`DECLARE_TXN_TRACE`](types.RPC.RPCSPEC07.API.SPEC.md#declare_txn_trace) | +| `deploy_account_tx_trace?` | [`DEPLOY_ACCOUNT_TXN_TRACE`](types.RPC.RPCSPEC07.API.SPEC.md#deploy_account_txn_trace) | +| `l1_handler_tx_trace?` | [`L1_HANDLER_TXN_TRACE`](types.RPC.RPCSPEC07.API.SPEC.md#l1_handler_txn_trace) | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:493 + +--- + +### INVOKE_TXN_TRACE + +Ƭ **INVOKE_TXN_TRACE**: `Object` + +#### Type declaration + +| Name | Type | +| :------------------------- | :------------------------------------------------------------------------------------------------------------- | +| `type` | `"INVOKE"` | +| `execute_invocation` | [`FUNCTION_INVOCATION`](types.RPC.RPCSPEC07.API.SPEC.md#function_invocation) \| \{ `revert_reason`: `string` } | +| `validate_invocation?` | [`FUNCTION_INVOCATION`](types.RPC.RPCSPEC07.API.SPEC.md#function_invocation) | +| `fee_transfer_invocation?` | [`FUNCTION_INVOCATION`](types.RPC.RPCSPEC07.API.SPEC.md#function_invocation) | +| `state_diff?` | [`STATE_DIFF`](types.RPC.RPCSPEC07.API.SPEC.md#state_diff) | +| `execution_resources` | [`EXECUTION_RESOURCES`](types.RPC.RPCSPEC07.API.SPEC.md#execution_resources) | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:499 + +--- + +### DECLARE_TXN_TRACE + +Ƭ **DECLARE_TXN_TRACE**: `Object` + +#### Type declaration + +| Name | Type | +| :------------------------- | :--------------------------------------------------------------------------- | +| `type` | `"DECLARE"` | +| `validate_invocation?` | [`FUNCTION_INVOCATION`](types.RPC.RPCSPEC07.API.SPEC.md#function_invocation) | +| `fee_transfer_invocation?` | [`FUNCTION_INVOCATION`](types.RPC.RPCSPEC07.API.SPEC.md#function_invocation) | +| `state_diff?` | [`STATE_DIFF`](types.RPC.RPCSPEC07.API.SPEC.md#state_diff) | +| `execution_resources` | [`EXECUTION_RESOURCES`](types.RPC.RPCSPEC07.API.SPEC.md#execution_resources) | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:509 + +--- + +### DEPLOY_ACCOUNT_TXN_TRACE + +Ƭ **DEPLOY_ACCOUNT_TXN_TRACE**: `Object` + +#### Type declaration + +| Name | Type | +| :------------------------- | :--------------------------------------------------------------------------- | +| `type` | `"DEPLOY_ACCOUNT"` | +| `constructor_invocation` | [`FUNCTION_INVOCATION`](types.RPC.RPCSPEC07.API.SPEC.md#function_invocation) | +| `validate_invocation?` | [`FUNCTION_INVOCATION`](types.RPC.RPCSPEC07.API.SPEC.md#function_invocation) | +| `fee_transfer_invocation?` | [`FUNCTION_INVOCATION`](types.RPC.RPCSPEC07.API.SPEC.md#function_invocation) | +| `state_diff?` | [`STATE_DIFF`](types.RPC.RPCSPEC07.API.SPEC.md#state_diff) | +| `execution_resources` | [`EXECUTION_RESOURCES`](types.RPC.RPCSPEC07.API.SPEC.md#execution_resources) | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:516 + +--- + +### L1_HANDLER_TXN_TRACE + +Ƭ **L1_HANDLER_TXN_TRACE**: `Object` + +#### Type declaration + +| Name | Type | +| :-------------------- | :--------------------------------------------------------------------------- | +| `type` | `"L1_HANDLER"` | +| `function_invocation` | [`FUNCTION_INVOCATION`](types.RPC.RPCSPEC07.API.SPEC.md#function_invocation) | +| `state_diff?` | [`STATE_DIFF`](types.RPC.RPCSPEC07.API.SPEC.md#state_diff) | +| `execution_resources` | [`EXECUTION_RESOURCES`](types.RPC.RPCSPEC07.API.SPEC.md#execution_resources) | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:524 + +--- + +### NESTED_CALL + +Ƭ **NESTED_CALL**: [`FUNCTION_INVOCATION`](types.RPC.RPCSPEC07.API.SPEC.md#function_invocation) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:530 + +--- + +### FUNCTION_INVOCATION + +Ƭ **FUNCTION_INVOCATION**: [`FUNCTION_CALL`](types.RPC.RPCSPEC07.API.SPEC.md#function_call) & \{ `caller_address`: `string` ; `class_hash`: `string` ; `entry_point_type`: [`ENTRY_POINT_TYPE`](types.RPC.RPCSPEC07.API.SPEC.md#entry_point_type) ; `call_type`: [`CALL_TYPE`](types.RPC.RPCSPEC07.API.SPEC.md#call_type) ; `result`: `string`[] ; `calls`: [`NESTED_CALL`](types.RPC.RPCSPEC07.API.SPEC.md#nested_call)[] ; `events`: [`ORDERED_EVENT`](types.RPC.RPCSPEC07.API.SPEC.md#ordered_event)[] ; `messages`: [`ORDERED_MESSAGE`](types.RPC.RPCSPEC07.API.SPEC.md#ordered_message)[] ; `execution_resources`: [`COMPUTATION_RESOURCES`](types.RPC.RPCSPEC07.API.SPEC.md#computation_resources) } + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:531 + +--- + +### ORDERED_EVENT + +Ƭ **ORDERED_EVENT**: `Object` + +#### Type declaration + +| Name | Type | +| :------ | :----------------------------------------------- | +| `order` | `number` | +| `event` | [`EVENT`](types.RPC.RPCSPEC07.API.SPEC.md#event) | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:542 + +--- + +### ORDERED_MESSAGE + +Ƭ **ORDERED_MESSAGE**: `Object` + +#### Type declaration + +| Name | Type | +| :-------- | :------------------------------------------------------- | +| `order` | `number` | +| `message` | [`MSG_TO_L1`](types.RPC.RPCSPEC07.API.SPEC.md#msg_to_l1) | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/components.d.ts:546 diff --git a/www/versioned_docs/version-6.11.0/API/namespaces/types.RPC.RPCSPEC07.API.md b/www/versioned_docs/version-6.11.0/API/namespaces/types.RPC.RPCSPEC07.API.md new file mode 100644 index 000000000..bd23a4f91 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/namespaces/types.RPC.RPCSPEC07.API.md @@ -0,0 +1,1056 @@ +--- +id: 'types.RPC.RPCSPEC07.API' +title: 'Namespace: API' +sidebar_label: 'API' +custom_edit_url: null +--- + +[RPC](types.RPC.md).[RPCSPEC07](types.RPC.RPCSPEC07.md).API + +## Namespaces + +- [Errors](types.RPC.RPCSPEC07.API.Errors.md) +- [SPEC](types.RPC.RPCSPEC07.API.SPEC.md) + +## Type Aliases + +### Methods + +Ƭ **Methods**: `ReadMethods` & `WriteMethods` & `TraceMethods` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/methods.d.ts:4 + +--- + +### ABI + +Ƭ **ABI**: ([`FUNCTION`](types.RPC.RPCSPEC07.API.md#function) \| [`CONSTRUCTOR`](types.RPC.RPCSPEC07.API.md#constructor) \| [`L1_HANDLER`](types.RPC.RPCSPEC07.API.md#l1_handler) \| [`EVENT`](types.RPC.RPCSPEC07.API.md#event) \| [`STRUCT`](types.RPC.RPCSPEC07.API.md#struct) \| [`ENUM`](types.RPC.RPCSPEC07.API.md#enum) \| [`INTERFACE`](types.RPC.RPCSPEC07.API.md#interface) \| [`IMPL`](types.RPC.RPCSPEC07.API.md#impl))[] + +TypeScript Representation of Cairo1 v2+ Starknet Contract ABI + +starknet_metadata.json - tags/v0.5.0 + +'starknet-specs' (OpenRpc protocol types) +https://github.com/starkware-libs/starknet-specs + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/contract.d.ts:9 + +--- + +### FUNCTION + +Ƭ **FUNCTION**: `Object` + +#### Type declaration + +| Name | Type | +| :----------------- | :----------------------------------------- | +| `type` | `"function"` | +| `name` | `string` | +| `inputs` | \{ `name`: `string` ; `type`: `string` }[] | +| `outputs?` | \{ `type`: `string` }[] | +| `state_mutability` | `"view"` \| `"external"` | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/contract.d.ts:10 + +--- + +### CONSTRUCTOR + +Ƭ **CONSTRUCTOR**: `Object` + +#### Type declaration + +| Name | Type | +| :------- | :----------------------------------------- | +| `type` | `"constructor"` | +| `name` | `"constructor"` | +| `inputs` | \{ `name`: `string` ; `type`: `string` }[] | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/contract.d.ts:22 + +--- + +### L1_HANDLER + +Ƭ **L1_HANDLER**: `Object` + +#### Type declaration + +| Name | Type | +| :----------------- | :----------------------------------------- | +| `type` | `"l1_handler"` | +| `name` | `string` | +| `inputs` | \{ `name`: `string` ; `type`: `string` }[] | +| `outputs?` | \{ `type`: `string` }[] | +| `state_mutability` | `"view"` \| `"external"` | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/contract.d.ts:30 + +--- + +### EVENT + +Ƭ **EVENT**: \{ `type`: `"event"` ; `name`: `string` } & [`ENUM_EVENT`](types.RPC.RPCSPEC07.API.md#enum_event) \| [`STRUCT_EVENT`](types.RPC.RPCSPEC07.API.md#struct_event) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/contract.d.ts:42 + +--- + +### STRUCT_EVENT + +Ƭ **STRUCT_EVENT**: `Object` + +#### Type declaration + +| Name | Type | +| :-------- | :-------------------------------------------------------- | +| `kind` | `"struct"` | +| `members` | [`EVENT_FIELD`](types.RPC.RPCSPEC07.API.md#event_field)[] | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/contract.d.ts:46 + +--- + +### ENUM_EVENT + +Ƭ **ENUM_EVENT**: `Object` + +#### Type declaration + +| Name | Type | +| :--------- | :-------------------------------------------------------- | +| `kind` | `"enum"` | +| `variants` | [`EVENT_FIELD`](types.RPC.RPCSPEC07.API.md#event_field)[] | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/contract.d.ts:50 + +--- + +### STRUCT + +Ƭ **STRUCT**: `Object` + +#### Type declaration + +| Name | Type | +| :-------- | :----------------------------------------- | +| `type` | `"struct"` | +| `name` | `string` | +| `members` | \{ `name`: `string` ; `type`: `string` }[] | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/contract.d.ts:54 + +--- + +### ENUM + +Ƭ **ENUM**: `Object` + +#### Type declaration + +| Name | Type | +| :--------- | :----------------------------------------- | +| `type` | `"enum"` | +| `name` | `string` | +| `variants` | \{ `name`: `string` ; `type`: `string` }[] | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/contract.d.ts:62 + +--- + +### INTERFACE + +Ƭ **INTERFACE**: `Object` + +#### Type declaration + +| Name | Type | +| :------ | :-------------------------------------------------- | +| `type` | `"interface"` | +| `name` | `string` | +| `items` | [`FUNCTION`](types.RPC.RPCSPEC07.API.md#function)[] | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/contract.d.ts:70 + +--- + +### IMPL + +Ƭ **IMPL**: `Object` + +#### Type declaration + +| Name | Type | +| :--------------- | :------- | +| `type` | `"impl"` | +| `name` | `string` | +| `interface_name` | `string` | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/contract.d.ts:75 + +--- + +### EVENT_KIND + +Ƭ **EVENT_KIND**: `"struct"` \| `"enum"` + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/contract.d.ts:80 + +--- + +### EVENT_FIELD + +Ƭ **EVENT_FIELD**: `Object` + +#### Type declaration + +| Name | Type | +| :----- | :-------------------------------- | +| `name` | `string` | +| `type` | `string` | +| `kind` | `"key"` \| `"data"` \| `"nested"` | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/contract.d.ts:81 + +--- + +### ContractClass + +Ƭ **ContractClass**: [`CONTRACT_CLASS`](types.RPC.RPCSPEC07.API.SPEC.md#contract_class) \| [`DEPRECATED_CONTRACT_CLASS`](types.RPC.RPCSPEC07.API.SPEC.md#deprecated_contract_class) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:5 + +--- + +### SimulateTransaction + +Ƭ **SimulateTransaction**: `Object` + +#### Type declaration + +| Name | Type | +| :------------------ | :----------------------------------------------------------------------- | +| `transaction_trace` | [`TRANSACTION_TRACE`](types.RPC.RPCSPEC07.API.SPEC.md#transaction_trace) | +| `fee_estimation` | [`FEE_ESTIMATE`](types.RPC.RPCSPEC07.API.SPEC.md#fee_estimate) | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:6 + +--- + +### SimulateTransactionResponse + +Ƭ **SimulateTransactionResponse**: [`SimulateTransaction`](types.RPC.RPCSPEC07.API.md#simulatetransaction)[] + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:10 + +--- + +### FeeEstimate + +Ƭ **FeeEstimate**: [`FEE_ESTIMATE`](types.RPC.RPCSPEC07.API.SPEC.md#fee_estimate) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:11 + +--- + +### TransactionWithHash + +Ƭ **TransactionWithHash**: [`TXN`](types.RPC.RPCSPEC07.API.SPEC.md#txn) & \{ `transaction_hash`: [`TXN_HASH`](types.RPC.RPCSPEC07.API.SPEC.md#txn_hash) } + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:12 + +--- + +### BlockHashAndNumber + +Ƭ **BlockHashAndNumber**: `Object` + +#### Type declaration + +| Name | Type | +| :------------- | :------------------------------------------------------------- | +| `block_hash` | [`BLOCK_HASH`](types.RPC.RPCSPEC07.API.SPEC.md#block_hash) | +| `block_number` | [`BLOCK_NUMBER`](types.RPC.RPCSPEC07.API.SPEC.md#block_number) | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:15 + +--- + +### BlockWithTxs + +Ƭ **BlockWithTxs**: [`BLOCK_WITH_TXS`](types.RPC.RPCSPEC07.API.SPEC.md#block_with_txs) \| [`PENDING_BLOCK_WITH_TXS`](types.RPC.RPCSPEC07.API.SPEC.md#pending_block_with_txs) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:19 + +--- + +### BlockWithTxHashes + +Ƭ **BlockWithTxHashes**: [`BLOCK_WITH_TX_HASHES`](types.RPC.RPCSPEC07.API.SPEC.md#block_with_tx_hashes) \| [`PENDING_BLOCK_WITH_TX_HASHES`](types.RPC.RPCSPEC07.API.SPEC.md#pending_block_with_tx_hashes) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:20 + +--- + +### BlockWithTxReceipts + +Ƭ **BlockWithTxReceipts**: [`BLOCK_WITH_RECEIPTS`](types.RPC.RPCSPEC07.API.SPEC.md#block_with_receipts) \| [`PENDING_BLOCK_WITH_RECEIPTS`](types.RPC.RPCSPEC07.API.SPEC.md#pending_block_with_receipts) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:21 + +--- + +### StateUpdate + +Ƭ **StateUpdate**: [`STATE_UPDATE`](types.RPC.RPCSPEC07.API.SPEC.md#state_update) \| [`PENDING_STATE_UPDATE`](types.RPC.RPCSPEC07.API.SPEC.md#pending_state_update) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:22 + +--- + +### BlockTransactionsTraces + +Ƭ **BlockTransactionsTraces**: \{ `transaction_hash`: [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) ; `trace_root`: [`TRANSACTION_TRACE`](types.RPC.RPCSPEC07.API.SPEC.md#transaction_trace) }[] + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:23 + +--- + +### Syncing + +Ƭ **Syncing**: `false` \| [`SYNC_STATUS`](types.RPC.RPCSPEC07.API.SPEC.md#sync_status) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:27 + +--- + +### Events + +Ƭ **Events**: [`EVENTS_CHUNK`](types.RPC.RPCSPEC07.API.SPEC.md#events_chunk) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:28 + +--- + +### EmittedEvent + +Ƭ **EmittedEvent**: [`EMITTED_EVENT`](types.RPC.RPCSPEC07.API.SPEC.md#emitted_event) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:29 + +--- + +### Event + +Ƭ **Event**: [`EVENT`](types.RPC.RPCSPEC07.API.SPEC.md#event) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:30 + +--- + +### InvokedTransaction + +Ƭ **InvokedTransaction**: `Object` + +#### Type declaration + +| Name | Type | +| :----------------- | :----------------------------------------------------- | +| `transaction_hash` | [`TXN_HASH`](types.RPC.RPCSPEC07.API.SPEC.md#txn_hash) | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:31 + +--- + +### DeclaredTransaction + +Ƭ **DeclaredTransaction**: `Object` + +#### Type declaration + +| Name | Type | +| :----------------- | :----------------------------------------------------- | +| `transaction_hash` | [`TXN_HASH`](types.RPC.RPCSPEC07.API.SPEC.md#txn_hash) | +| `class_hash` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:34 + +--- + +### DeployedAccountTransaction + +Ƭ **DeployedAccountTransaction**: `Object` + +#### Type declaration + +| Name | Type | +| :----------------- | :----------------------------------------------------- | +| `transaction_hash` | [`TXN_HASH`](types.RPC.RPCSPEC07.API.SPEC.md#txn_hash) | +| `contract_address` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:38 + +--- + +### ContractAddress + +Ƭ **ContractAddress**: [`ADDRESS`](types.RPC.RPCSPEC07.API.SPEC.md#address) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:42 + +--- + +### Felt + +Ƭ **Felt**: [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:43 + +--- + +### Nonce + +Ƭ **Nonce**: [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:44 + +--- + +### TransactionHash + +Ƭ **TransactionHash**: [`TXN_HASH`](types.RPC.RPCSPEC07.API.SPEC.md#txn_hash) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:45 + +--- + +### TransactionTrace + +Ƭ **TransactionTrace**: [`TRANSACTION_TRACE`](types.RPC.RPCSPEC07.API.SPEC.md#transaction_trace) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:46 + +--- + +### BlockHash + +Ƭ **BlockHash**: [`BLOCK_HASH`](types.RPC.RPCSPEC07.API.SPEC.md#block_hash) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:47 + +--- + +### TransactionReceipt + +Ƭ **TransactionReceipt**: [`TXN_RECEIPT_WITH_BLOCK_INFO`](types.RPC.RPCSPEC07.API.SPEC.md#txn_receipt_with_block_info) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:48 + +--- + +### Receipt + +Ƭ **Receipt**: [`TXN_RECEIPT_WITH_BLOCK_INFO`](types.RPC.RPCSPEC07.API.SPEC.md#txn_receipt_with_block_info) & [`BlockHashAndNumber`](types.RPC.RPCSPEC07.API.md#blockhashandnumber) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:49 + +--- + +### PendingReceipt + +Ƭ **PendingReceipt**: [`TXN_RECEIPT`](types.RPC.RPCSPEC07.API.SPEC.md#txn_receipt) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:50 + +--- + +### EventFilter + +Ƭ **EventFilter**: [`EVENT_FILTER`](types.RPC.RPCSPEC07.API.SPEC.md#event_filter) & [`RESULT_PAGE_REQUEST`](types.RPC.RPCSPEC07.API.SPEC.md#result_page_request) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:51 + +--- + +### SimulationFlags + +Ƭ **SimulationFlags**: [`SIMULATION_FLAG`](types.RPC.RPCSPEC07.API.SPEC.md#simulation_flag)[] + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:52 + +--- + +### L1Message + +Ƭ **L1Message**: [`MSG_FROM_L1`](types.RPC.RPCSPEC07.API.SPEC.md#msg_from_l1) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:53 + +--- + +### BaseTransaction + +Ƭ **BaseTransaction**: [`BROADCASTED_TXN`](types.RPC.RPCSPEC07.API.SPEC.md#broadcasted_txn) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:54 + +--- + +### ChainId + +Ƭ **ChainId**: [`CHAIN_ID`](types.RPC.RPCSPEC07.API.SPEC.md#chain_id) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:55 + +--- + +### Transaction + +Ƭ **Transaction**: [`TXN`](types.RPC.RPCSPEC07.API.SPEC.md#txn) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:56 + +--- + +### TransactionStatus + +Ƭ **TransactionStatus**: `Object` + +#### Type declaration + +| Name | Type | +| :------------------ | :----------------------------------------------------------------------------- | +| `finality_status` | [`TXN_STATUS`](types.RPC.RPCSPEC07.API.SPEC.md#txn_status) | +| `execution_status?` | [`TXN_EXECUTION_STATUS`](types.RPC.RPCSPEC07.API.SPEC.md#txn_execution_status) | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:57 + +--- + +### ResourceBounds + +Ƭ **ResourceBounds**: [`RESOURCE_BOUNDS_MAPPING`](types.RPC.RPCSPEC07.API.SPEC.md#resource_bounds_mapping) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:61 + +--- + +### FeePayment + +Ƭ **FeePayment**: [`FEE_PAYMENT`](types.RPC.RPCSPEC07.API.SPEC.md#fee_payment) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:62 + +--- + +### PriceUnit + +Ƭ **PriceUnit**: [`PRICE_UNIT`](types.RPC.RPCSPEC07.API.SPEC.md#price_unit) + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:63 + +--- + +### StorageDiffs + +Ƭ **StorageDiffs**: [`CONTRACT_STORAGE_DIFF_ITEM`](types.RPC.RPCSPEC07.API.SPEC.md#contract_storage_diff_item)[] + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:64 + +--- + +### DeprecatedDeclaredClasses + +Ƭ **DeprecatedDeclaredClasses**: [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt)[] + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:65 + +--- + +### NonceUpdates + +Ƭ **NonceUpdates**: [`NONCE_UPDATE`](types.RPC.RPCSPEC07.API.SPEC.md#nonce_update)[] + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:66 + +--- + +### ReplacedClasses + +Ƭ **ReplacedClasses**: [`REPLACED_CLASS`](types.RPC.RPCSPEC07.API.SPEC.md#replaced_class)[] + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:67 + +--- + +### ETransactionType + +Ƭ **ETransactionType**: typeof [`ETransactionType`](types.RPC.RPCSPEC07.API.md#etransactiontype-1)[keyof typeof [`ETransactionType`](types.RPC.RPCSPEC07.API.md#etransactiontype-1)] + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:68 + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:75 + +--- + +### ESimulationFlag + +Ƭ **ESimulationFlag**: typeof [`ESimulationFlag`](types.RPC.RPCSPEC07.API.md#esimulationflag-1)[keyof typeof [`ESimulationFlag`](types.RPC.RPCSPEC07.API.md#esimulationflag-1)] + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:76 + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:80 + +--- + +### ETransactionStatus + +Ƭ **ETransactionStatus**: typeof [`ETransactionStatus`](types.RPC.RPCSPEC07.API.md#etransactionstatus-1)[keyof typeof [`ETransactionStatus`](types.RPC.RPCSPEC07.API.md#etransactionstatus-1)] + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:81 + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:87 + +--- + +### ETransactionFinalityStatus + +Ƭ **ETransactionFinalityStatus**: typeof [`ETransactionFinalityStatus`](types.RPC.RPCSPEC07.API.md#etransactionfinalitystatus-1)[keyof typeof [`ETransactionFinalityStatus`](types.RPC.RPCSPEC07.API.md#etransactionfinalitystatus-1)] + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:88 + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:92 + +--- + +### ETransactionExecutionStatus + +Ƭ **ETransactionExecutionStatus**: typeof [`ETransactionExecutionStatus`](types.RPC.RPCSPEC07.API.md#etransactionexecutionstatus-1)[keyof typeof [`ETransactionExecutionStatus`](types.RPC.RPCSPEC07.API.md#etransactionexecutionstatus-1)] + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:93 + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:97 + +--- + +### EBlockTag + +Ƭ **EBlockTag**: typeof [`EBlockTag`](types.RPC.RPCSPEC07.API.md#eblocktag-1)[keyof typeof [`EBlockTag`](types.RPC.RPCSPEC07.API.md#eblocktag-1)] + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:98 + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:102 + +--- + +### EDataAvailabilityMode + +Ƭ **EDataAvailabilityMode**: typeof [`EDataAvailabilityMode`](types.RPC.RPCSPEC07.API.md#edataavailabilitymode-1)[keyof typeof [`EDataAvailabilityMode`](types.RPC.RPCSPEC07.API.md#edataavailabilitymode-1)] + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:103 + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:107 + +--- + +### EDAMode + +Ƭ **EDAMode**: typeof [`EDAMode`](types.RPC.RPCSPEC07.API.md#edamode-1)[keyof typeof [`EDAMode`](types.RPC.RPCSPEC07.API.md#edamode-1)] + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:108 + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:112 + +--- + +### ETransactionVersion + +Ƭ **ETransactionVersion**: typeof [`ETransactionVersion`](types.RPC.RPCSPEC07.API.md#etransactionversion-1)[keyof typeof [`ETransactionVersion`](types.RPC.RPCSPEC07.API.md#etransactionversion-1)] + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:117 + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:127 + +--- + +### ETransactionVersion2 + +Ƭ **ETransactionVersion2**: typeof [`ETransactionVersion2`](types.RPC.RPCSPEC07.API.md#etransactionversion2-1)[keyof typeof [`ETransactionVersion2`](types.RPC.RPCSPEC07.API.md#etransactionversion2-1)] + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:131 + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:139 + +--- + +### ETransactionVersion3 + +Ƭ **ETransactionVersion3**: typeof [`ETransactionVersion3`](types.RPC.RPCSPEC07.API.md#etransactionversion3-1)[keyof typeof [`ETransactionVersion3`](types.RPC.RPCSPEC07.API.md#etransactionversion3-1)] + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:143 + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:147 + +## Variables + +### ETransactionType + +• `Const` **ETransactionType**: `Object` + +#### Type declaration + +| Name | Type | +| :--------------- | :----------------- | +| `DECLARE` | `"DECLARE"` | +| `DEPLOY` | `"DEPLOY"` | +| `DEPLOY_ACCOUNT` | `"DEPLOY_ACCOUNT"` | +| `INVOKE` | `"INVOKE"` | +| `L1_HANDLER` | `"L1_HANDLER"` | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:68 + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:75 + +--- + +### ESimulationFlag + +• `Const` **ESimulationFlag**: `Object` + +#### Type declaration + +| Name | Type | +| :---------------- | :------------------ | +| `SKIP_VALIDATE` | `"SKIP_VALIDATE"` | +| `SKIP_FEE_CHARGE` | `"SKIP_FEE_CHARGE"` | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:76 + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:80 + +--- + +### ETransactionStatus + +• `Const` **ETransactionStatus**: `Object` + +#### Type declaration + +| Name | Type | +| :--------------- | :----------------- | +| `RECEIVED` | `"RECEIVED"` | +| `REJECTED` | `"REJECTED"` | +| `ACCEPTED_ON_L2` | `"ACCEPTED_ON_L2"` | +| `ACCEPTED_ON_L1` | `"ACCEPTED_ON_L1"` | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:81 + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:87 + +--- + +### ETransactionFinalityStatus + +• `Const` **ETransactionFinalityStatus**: `Object` + +#### Type declaration + +| Name | Type | +| :--------------- | :----------------- | +| `ACCEPTED_ON_L2` | `"ACCEPTED_ON_L2"` | +| `ACCEPTED_ON_L1` | `"ACCEPTED_ON_L1"` | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:88 + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:92 + +--- + +### ETransactionExecutionStatus + +• `Const` **ETransactionExecutionStatus**: `Object` + +#### Type declaration + +| Name | Type | +| :---------- | :------------ | +| `SUCCEEDED` | `"SUCCEEDED"` | +| `REVERTED` | `"REVERTED"` | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:93 + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:97 + +--- + +### EBlockTag + +• `Const` **EBlockTag**: `Object` + +#### Type declaration + +| Name | Type | +| :-------- | :---------- | +| `LATEST` | `"latest"` | +| `PENDING` | `"pending"` | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:98 + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:102 + +--- + +### EDataAvailabilityMode + +• `Const` **EDataAvailabilityMode**: `Object` + +#### Type declaration + +| Name | Type | +| :--- | :----- | +| `L1` | `"L1"` | +| `L2` | `"L2"` | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:103 + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:107 + +--- + +### EDAMode + +• `Const` **EDAMode**: `Object` + +#### Type declaration + +| Name | Type | +| :--- | :--- | +| `L1` | `0` | +| `L2` | `1` | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:108 + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:112 + +--- + +### ETransactionVersion + +• `Const` **ETransactionVersion**: `Object` + +V* Transaction versions HexString +F* Fee Transaction Versions HexString (2 \*\* 128 + TRANSACTION_VERSION) + +#### Type declaration + +| Name | Type | +| :--- | :-------------------------------------- | +| `V0` | `"0x0"` | +| `V1` | `"0x1"` | +| `V2` | `"0x2"` | +| `V3` | `"0x3"` | +| `F0` | `"0x100000000000000000000000000000000"` | +| `F1` | `"0x100000000000000000000000000000001"` | +| `F2` | `"0x100000000000000000000000000000002"` | +| `F3` | `"0x100000000000000000000000000000003"` | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:117 + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:127 + +--- + +### ETransactionVersion2 + +• `Const` **ETransactionVersion2**: `Object` + +Old Transaction Versions + +#### Type declaration + +| Name | Type | +| :--- | :-------------------------------------- | +| `V0` | `"0x0"` | +| `V1` | `"0x1"` | +| `V2` | `"0x2"` | +| `F0` | `"0x100000000000000000000000000000000"` | +| `F1` | `"0x100000000000000000000000000000001"` | +| `F2` | `"0x100000000000000000000000000000002"` | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:131 + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:139 + +--- + +### ETransactionVersion3 + +• `Const` **ETransactionVersion3**: `Object` + +V3 Transaction Versions + +#### Type declaration + +| Name | Type | +| :--- | :-------------------------------------- | +| `V3` | `"0x3"` | +| `F3` | `"0x100000000000000000000000000000003"` | + +#### Defined in + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:143 + +node_modules/starknet-types-07/dist/types/api/nonspec.d.ts:147 diff --git a/www/versioned_docs/version-6.11.0/API/namespaces/types.RPC.RPCSPEC07.WALLET_API.md b/www/versioned_docs/version-6.11.0/API/namespaces/types.RPC.RPCSPEC07.WALLET_API.md new file mode 100644 index 000000000..ad71604e5 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/namespaces/types.RPC.RPCSPEC07.WALLET_API.md @@ -0,0 +1,454 @@ +--- +id: 'types.RPC.RPCSPEC07.WALLET_API' +title: 'Namespace: WALLET_API' +sidebar_label: 'WALLET_API' +custom_edit_url: null +--- + +[RPC](types.RPC.md).[RPCSPEC07](types.RPC.RPCSPEC07.md).WALLET_API + +## Interfaces + +- [StarknetDomain](../interfaces/types.RPC.RPCSPEC07.WALLET_API.StarknetDomain.md) +- [TypedData](../interfaces/types.RPC.RPCSPEC07.WALLET_API.TypedData.md) +- [StarknetWindowObject](../interfaces/types.RPC.RPCSPEC07.WALLET_API.StarknetWindowObject.md) +- [AddInvokeTransactionParameters](../interfaces/types.RPC.RPCSPEC07.WALLET_API.AddInvokeTransactionParameters.md) +- [AddInvokeTransactionResult](../interfaces/types.RPC.RPCSPEC07.WALLET_API.AddInvokeTransactionResult.md) +- [AddDeclareTransactionParameters](../interfaces/types.RPC.RPCSPEC07.WALLET_API.AddDeclareTransactionParameters.md) +- [AddDeclareTransactionResult](../interfaces/types.RPC.RPCSPEC07.WALLET_API.AddDeclareTransactionResult.md) +- [RequestAccountsParameters](../interfaces/types.RPC.RPCSPEC07.WALLET_API.RequestAccountsParameters.md) +- [WatchAssetParameters](../interfaces/types.RPC.RPCSPEC07.WALLET_API.WatchAssetParameters.md) +- [AddStarknetChainParameters](../interfaces/types.RPC.RPCSPEC07.WALLET_API.AddStarknetChainParameters.md) +- [SwitchStarknetChainParameters](../interfaces/types.RPC.RPCSPEC07.WALLET_API.SwitchStarknetChainParameters.md) +- [AccountDeploymentData](../interfaces/types.RPC.RPCSPEC07.WALLET_API.AccountDeploymentData.md) +- [ApiVersion](../interfaces/types.RPC.RPCSPEC07.WALLET_API.ApiVersion.md) +- [RpcTypeToMessageMap](../interfaces/types.RPC.RPCSPEC07.WALLET_API.RpcTypeToMessageMap.md) +- [WalletEventHandlers](../interfaces/types.RPC.RPCSPEC07.WALLET_API.WalletEventHandlers.md) +- [NOT_ERC20](../interfaces/types.RPC.RPCSPEC07.WALLET_API.NOT_ERC20.md) +- [UNLISTED_NETWORK](../interfaces/types.RPC.RPCSPEC07.WALLET_API.UNLISTED_NETWORK.md) +- [USER_REFUSED_OP](../interfaces/types.RPC.RPCSPEC07.WALLET_API.USER_REFUSED_OP.md) +- [INVALID_REQUEST_PAYLOAD](../interfaces/types.RPC.RPCSPEC07.WALLET_API.INVALID_REQUEST_PAYLOAD.md) +- [ACCOUNT_ALREADY_DEPLOYED](../interfaces/types.RPC.RPCSPEC07.WALLET_API.ACCOUNT_ALREADY_DEPLOYED.md) +- [API_VERSION_NOT_SUPPORTED](../interfaces/types.RPC.RPCSPEC07.WALLET_API.API_VERSION_NOT_SUPPORTED.md) +- [UNKNOWN_ERROR](../interfaces/types.RPC.RPCSPEC07.WALLET_API.UNKNOWN_ERROR.md) + +## Type Aliases + +### Permission + +Ƭ **Permission**: typeof [`Permission`](types.RPC.RPCSPEC07.WALLET_API.md#permission-1)[keyof typeof [`Permission`](types.RPC.RPCSPEC07.WALLET_API.md#permission-1)] + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/constants.d.ts:1 + +node_modules/starknet-types-07/dist/types/wallet-api/constants.d.ts:4 + +--- + +### TypedDataRevision + +Ƭ **TypedDataRevision**: typeof [`TypedDataRevision`](types.RPC.RPCSPEC07.WALLET_API.md#typeddatarevision-1)[keyof typeof [`TypedDataRevision`](types.RPC.RPCSPEC07.WALLET_API.md#typeddatarevision-1)] + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/typedData.d.ts:1 + +node_modules/starknet-types-07/dist/types/wallet-api/typedData.d.ts:5 + +--- + +### StarknetEnumType + +Ƭ **StarknetEnumType**: `Object` + +#### Type declaration + +| Name | Type | +| :--------- | :------- | +| `name` | `string` | +| `type` | `"enum"` | +| `contains` | `string` | + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/typedData.d.ts:6 + +--- + +### StarknetMerkleType + +Ƭ **StarknetMerkleType**: `Object` + +#### Type declaration + +| Name | Type | +| :--------- | :------------- | +| `name` | `string` | +| `type` | `"merkletree"` | +| `contains` | `string` | + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/typedData.d.ts:11 + +--- + +### StarknetType + +Ƭ **StarknetType**: \{ `name`: `string` ; `type`: `string` } \| [`StarknetEnumType`](types.RPC.RPCSPEC07.WALLET_API.md#starknetenumtype) \| [`StarknetMerkleType`](types.RPC.RPCSPEC07.WALLET_API.md#starknetmerkletype) + +SPEC: STARKNET_TYPE +A single type, as part of a struct. The `type` field can be any of the EIP-712 supported types. +Note that the `uint` and `int` aliases like in Solidity, and fixed point numbers are not supported by the EIP-712 +standard. + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/typedData.d.ts:22 + +--- + +### Address + +Ƭ **Address**: [`ADDRESS`](types.RPC.RPCSPEC07.API.SPEC.md#address) + +Account Address + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/components.d.ts:6 + +--- + +### Signature + +Ƭ **Signature**: [`SIGNATURE`](types.RPC.RPCSPEC07.API.SPEC.md#signature) + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/components.d.ts:7 + +--- + +### PADDED_TXN_HASH + +Ƭ **PADDED_TXN_HASH**: [`PADDED_FELT`](types.RPC.RPCSPEC07.WALLET_API.md#padded_felt) + +The transaction hash, as assigned in Starknet + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/components.d.ts:11 + +--- + +### PADDED_FELT + +Ƭ **PADDED_FELT**: `string` + +A padded felt represent 0x0 + (0-7) + (62 hex digits) + +**`Pattern`** + +^0x(0[0-7]{1}[a-fA-F0-9]{62}$) + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/components.d.ts:16 + +--- + +### SpecVersion + +Ƭ **SpecVersion**: `string` + +A Starknet RPC spec version, only two numbers are provided + +**`Pattern`** + +^[0-9]+\\.[0-9]+$ + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/components.d.ts:21 + +--- + +### TokenSymbol + +Ƭ **TokenSymbol**: `string` + +ERC20 Token Symbol (min:1 char - max:6 chars) + +**`Pattern`** + +^[A-Za-z0-9]{1,6}$ + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/components.d.ts:26 + +--- + +### Asset + +Ƭ **Asset**: `Object` + +Starknet Token +Details of an onchain Starknet ERC20 token + +#### Type declaration + +| Name | Type | +| :------------------ | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | `"ERC20"` | +| `options` | \{ `address`: [`Address`](types.RPC.RPCSPEC07.WALLET_API.md#address) ; `symbol?`: [`TokenSymbol`](types.RPC.RPCSPEC07.WALLET_API.md#tokensymbol) ; `decimals?`: `number` ; `image?`: `string` ; `name?`: `string` } | +| `options.address` | [`Address`](types.RPC.RPCSPEC07.WALLET_API.md#address) | +| `options.symbol?` | [`TokenSymbol`](types.RPC.RPCSPEC07.WALLET_API.md#tokensymbol) | +| `options.decimals?` | `number` | +| `options.image?` | `string` | +| `options.name?` | `string` | + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/components.d.ts:31 + +--- + +### StarknetChain + +Ƭ **StarknetChain**: `Object` + +#### Type declaration + +| Name | Type | +| :-------------------- | :------------------------------------------------- | +| `id` | `string` | +| `chain_id` | [`ChainId`](types.RPC.RPCSPEC07.API.md#chainid) | +| `chain_name` | `string` | +| `rpc_urls?` | `string`[] | +| `block_explorer_url?` | `string`[] | +| `native_currency?` | [`Asset`](types.RPC.RPCSPEC07.WALLET_API.md#asset) | +| `icon_urls?` | `string`[] | + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/components.d.ts:41 + +--- + +### Call + +Ƭ **Call**: `Object` + +#### Type declaration + +| Name | Type | +| :----------------- | :----------------------------------------------------- | +| `contract_address` | [`Address`](types.RPC.RPCSPEC07.WALLET_API.md#address) | +| `entry_point` | `string` | +| `calldata?` | [`FELT`](types.RPC.RPCSPEC07.API.SPEC.md#felt)[] | + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/components.d.ts:50 + +--- + +### RpcMessage + +Ƭ **RpcMessage**: \{ [K in keyof RpcTypeToMessageMap]: Object & RpcTypeToMessageMap[K] }[keyof [`RpcTypeToMessageMap`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.RpcTypeToMessageMap.md)] + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/methods.d.ts:125 + +--- + +### IsParamsOptional + +Ƭ **IsParamsOptional**<`T`\>: `undefined` extends [`RpcTypeToMessageMap`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.RpcTypeToMessageMap.md)[`T`][``"params"``] ? `true` : `false` + +#### Type parameters + +| Name | Type | +| :--- | :--------------------------------------------------------------------------------------------------------- | +| `T` | extends keyof [`RpcTypeToMessageMap`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.RpcTypeToMessageMap.md) | + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/methods.d.ts:130 + +--- + +### RequestFnCall + +Ƭ **RequestFnCall**<`T`\>: \{ `type`: `T` } & [`IsParamsOptional`](types.RPC.RPCSPEC07.WALLET_API.md#isparamsoptional)<`T`\> extends `true` ? \{ `params?`: [`RpcTypeToMessageMap`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.RpcTypeToMessageMap.md)[`T`][``"params"``] } : \{ `params`: [`RpcTypeToMessageMap`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.RpcTypeToMessageMap.md)[`T`][``"params"``] } + +#### Type parameters + +| Name | Type | +| :--- | :------------------------------------------------------------------------------- | +| `T` | extends [`RpcMessage`](types.RPC.RPCSPEC07.WALLET_API.md#rpcmessage)[``"type"``] | + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/methods.d.ts:131 + +--- + +### RequestFn + +Ƭ **RequestFn**: (`call`: [`RequestFnCall`](types.RPC.RPCSPEC07.WALLET_API.md#requestfncall)<`T`\>) => `Promise`<[`RpcTypeToMessageMap`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.RpcTypeToMessageMap.md)[`T`][``"result"``]\> + +#### Type declaration + +▸ <`T`\>(`call`): `Promise`<[`RpcTypeToMessageMap`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.RpcTypeToMessageMap.md)[`T`][``"result"``]\> + +##### Type parameters + +| Name | Type | +| :--- | :------------------------------------------------------------------------------- | +| `T` | extends [`RpcMessage`](types.RPC.RPCSPEC07.WALLET_API.md#rpcmessage)[``"type"``] | + +##### Parameters + +| Name | Type | +| :----- | :----------------------------------------------------------------------- | +| `call` | [`RequestFnCall`](types.RPC.RPCSPEC07.WALLET_API.md#requestfncall)<`T`\> | + +##### Returns + +`Promise`<[`RpcTypeToMessageMap`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.RpcTypeToMessageMap.md)[`T`][``"result"``]\> + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/methods.d.ts:138 + +--- + +### AccountChangeEventHandler + +Ƭ **AccountChangeEventHandler**: (`accounts?`: `string`[]) => `void` + +#### Type declaration + +▸ (`accounts?`): `void` + +##### Parameters + +| Name | Type | +| :---------- | :--------- | +| `accounts?` | `string`[] | + +##### Returns + +`void` + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/events.d.ts:2 + +--- + +### NetworkChangeEventHandler + +Ƭ **NetworkChangeEventHandler**: (`chainId?`: [`ChainId`](types.RPC.RPCSPEC07.API.md#chainid), `accounts?`: `string`[]) => `void` + +#### Type declaration + +▸ (`chainId?`, `accounts?`): `void` + +##### Parameters + +| Name | Type | +| :---------- | :---------------------------------------------- | +| `chainId?` | [`ChainId`](types.RPC.RPCSPEC07.API.md#chainid) | +| `accounts?` | `string`[] | + +##### Returns + +`void` + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/events.d.ts:3 + +--- + +### WalletEvents + +Ƭ **WalletEvents**: \{ [E in keyof WalletEventHandlers]: Object }[keyof [`WalletEventHandlers`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.WalletEventHandlers.md)] + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/events.d.ts:8 + +--- + +### WalletEventListener + +Ƭ **WalletEventListener**: (`event`: `E`, `handleEvent`: [`WalletEventHandlers`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.WalletEventHandlers.md)[`E`]) => `void` + +#### Type declaration + +▸ <`E`\>(`event`, `handleEvent`): `void` + +##### Type parameters + +| Name | Type | +| :--- | :--------------------------------------------------------------------------------------------------------- | +| `E` | extends keyof [`WalletEventHandlers`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.WalletEventHandlers.md) | + +##### Parameters + +| Name | Type | +| :------------ | :------------------------------------------------------------------------------------------------ | +| `event` | `E` | +| `handleEvent` | [`WalletEventHandlers`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.WalletEventHandlers.md)[`E`] | + +##### Returns + +`void` + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/events.d.ts:14 + +## Variables + +### Permission + +• `Const` **Permission**: `Object` + +#### Type declaration + +| Name | Type | +| :--------- | :----------- | +| `ACCOUNTS` | `"accounts"` | + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/constants.d.ts:1 + +node_modules/starknet-types-07/dist/types/wallet-api/constants.d.ts:4 + +--- + +### TypedDataRevision + +• `Const` **TypedDataRevision**: `Object` + +#### Type declaration + +| Name | Type | +| :------- | :---- | +| `ACTIVE` | `"1"` | +| `LEGACY` | `"0"` | + +#### Defined in + +node_modules/starknet-types-07/dist/types/wallet-api/typedData.d.ts:1 + +node_modules/starknet-types-07/dist/types/wallet-api/typedData.d.ts:5 diff --git a/www/versioned_docs/version-6.11.0/API/namespaces/types.RPC.RPCSPEC07.md b/www/versioned_docs/version-6.11.0/API/namespaces/types.RPC.RPCSPEC07.md new file mode 100644 index 000000000..3bacf5ec3 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/namespaces/types.RPC.RPCSPEC07.md @@ -0,0 +1,685 @@ +--- +id: 'types.RPC.RPCSPEC07' +title: 'Namespace: RPCSPEC07' +sidebar_label: 'RPCSPEC07' +custom_edit_url: null +--- + +[types](types.md).[RPC](types.RPC.md).RPCSPEC07 + +## Namespaces + +- [API](types.RPC.RPCSPEC07.API.md) +- [WALLET_API](types.RPC.RPCSPEC07.WALLET_API.md) + +## References + +### Methods + +Re-exports [Methods](types.RPC.RPCSPEC07.API.md#methods) + +--- + +### Errors + +Re-exports [Errors](types.RPC.RPCSPEC07.API.Errors.md) + +--- + +### SPEC + +Re-exports [SPEC](types.RPC.RPCSPEC07.API.SPEC.md) + +--- + +### ABI + +Re-exports [ABI](types.RPC.RPCSPEC07.API.md#abi) + +--- + +### FUNCTION + +Re-exports [FUNCTION](types.RPC.RPCSPEC07.API.md#function) + +--- + +### CONSTRUCTOR + +Re-exports [CONSTRUCTOR](types.RPC.RPCSPEC07.API.md#constructor) + +--- + +### L1_HANDLER + +Re-exports [L1_HANDLER](types.RPC.RPCSPEC07.API.md#l1_handler) + +--- + +### EVENT + +Re-exports [EVENT](types.RPC.RPCSPEC07.API.md#event) + +--- + +### STRUCT_EVENT + +Re-exports [STRUCT_EVENT](types.RPC.RPCSPEC07.API.md#struct_event) + +--- + +### ENUM_EVENT + +Re-exports [ENUM_EVENT](types.RPC.RPCSPEC07.API.md#enum_event) + +--- + +### STRUCT + +Re-exports [STRUCT](types.RPC.RPCSPEC07.API.md#struct) + +--- + +### ENUM + +Re-exports [ENUM](types.RPC.RPCSPEC07.API.md#enum) + +--- + +### INTERFACE + +Re-exports [INTERFACE](types.RPC.RPCSPEC07.API.md#interface) + +--- + +### IMPL + +Re-exports [IMPL](types.RPC.RPCSPEC07.API.md#impl) + +--- + +### EVENT_KIND + +Re-exports [EVENT_KIND](types.RPC.RPCSPEC07.API.md#event_kind) + +--- + +### EVENT_FIELD + +Re-exports [EVENT_FIELD](types.RPC.RPCSPEC07.API.md#event_field) + +--- + +### ContractClass + +Re-exports [ContractClass](types.RPC.RPCSPEC07.API.md#contractclass) + +--- + +### SimulateTransaction + +Re-exports [SimulateTransaction](types.RPC.RPCSPEC07.API.md#simulatetransaction) + +--- + +### SimulateTransactionResponse + +Re-exports [SimulateTransactionResponse](types.RPC.RPCSPEC07.API.md#simulatetransactionresponse) + +--- + +### FeeEstimate + +Re-exports [FeeEstimate](types.RPC.RPCSPEC07.API.md#feeestimate) + +--- + +### TransactionWithHash + +Re-exports [TransactionWithHash](types.RPC.RPCSPEC07.API.md#transactionwithhash) + +--- + +### BlockHashAndNumber + +Re-exports [BlockHashAndNumber](types.RPC.RPCSPEC07.API.md#blockhashandnumber) + +--- + +### BlockWithTxs + +Re-exports [BlockWithTxs](types.RPC.RPCSPEC07.API.md#blockwithtxs) + +--- + +### BlockWithTxHashes + +Re-exports [BlockWithTxHashes](types.RPC.RPCSPEC07.API.md#blockwithtxhashes) + +--- + +### BlockWithTxReceipts + +Re-exports [BlockWithTxReceipts](types.RPC.RPCSPEC07.API.md#blockwithtxreceipts) + +--- + +### StateUpdate + +Re-exports [StateUpdate](types.RPC.RPCSPEC07.API.md#stateupdate) + +--- + +### BlockTransactionsTraces + +Re-exports [BlockTransactionsTraces](types.RPC.RPCSPEC07.API.md#blocktransactionstraces) + +--- + +### Syncing + +Re-exports [Syncing](types.RPC.RPCSPEC07.API.md#syncing) + +--- + +### Events + +Re-exports [Events](types.RPC.RPCSPEC07.API.md#events) + +--- + +### EmittedEvent + +Re-exports [EmittedEvent](types.RPC.RPCSPEC07.API.md#emittedevent) + +--- + +### Event + +Re-exports [Event](types.RPC.RPCSPEC07.API.md#event-1) + +--- + +### InvokedTransaction + +Re-exports [InvokedTransaction](types.RPC.RPCSPEC07.API.md#invokedtransaction) + +--- + +### DeclaredTransaction + +Re-exports [DeclaredTransaction](types.RPC.RPCSPEC07.API.md#declaredtransaction) + +--- + +### DeployedAccountTransaction + +Re-exports [DeployedAccountTransaction](types.RPC.RPCSPEC07.API.md#deployedaccounttransaction) + +--- + +### ContractAddress + +Re-exports [ContractAddress](types.RPC.RPCSPEC07.API.md#contractaddress) + +--- + +### Felt + +Re-exports [Felt](types.RPC.RPCSPEC07.API.md#felt) + +--- + +### Nonce + +Re-exports [Nonce](types.RPC.RPCSPEC07.API.md#nonce) + +--- + +### TransactionHash + +Re-exports [TransactionHash](types.RPC.RPCSPEC07.API.md#transactionhash) + +--- + +### TransactionTrace + +Re-exports [TransactionTrace](types.RPC.RPCSPEC07.API.md#transactiontrace) + +--- + +### BlockHash + +Re-exports [BlockHash](types.RPC.RPCSPEC07.API.md#blockhash) + +--- + +### TransactionReceipt + +Re-exports [TransactionReceipt](types.RPC.RPCSPEC07.API.md#transactionreceipt) + +--- + +### Receipt + +Re-exports [Receipt](types.RPC.RPCSPEC07.API.md#receipt) + +--- + +### PendingReceipt + +Re-exports [PendingReceipt](types.RPC.RPCSPEC07.API.md#pendingreceipt) + +--- + +### EventFilter + +Re-exports [EventFilter](types.RPC.RPCSPEC07.API.md#eventfilter) + +--- + +### SimulationFlags + +Re-exports [SimulationFlags](types.RPC.RPCSPEC07.API.md#simulationflags) + +--- + +### L1Message + +Re-exports [L1Message](types.RPC.RPCSPEC07.API.md#l1message) + +--- + +### BaseTransaction + +Re-exports [BaseTransaction](types.RPC.RPCSPEC07.API.md#basetransaction) + +--- + +### ChainId + +Re-exports [ChainId](types.RPC.RPCSPEC07.API.md#chainid) + +--- + +### Transaction + +Re-exports [Transaction](types.RPC.RPCSPEC07.API.md#transaction) + +--- + +### TransactionStatus + +Re-exports [TransactionStatus](types.RPC.RPCSPEC07.API.md#transactionstatus) + +--- + +### ResourceBounds + +Re-exports [ResourceBounds](types.RPC.RPCSPEC07.API.md#resourcebounds) + +--- + +### FeePayment + +Re-exports [FeePayment](types.RPC.RPCSPEC07.API.md#feepayment) + +--- + +### PriceUnit + +Re-exports [PriceUnit](types.RPC.RPCSPEC07.API.md#priceunit) + +--- + +### StorageDiffs + +Re-exports [StorageDiffs](types.RPC.RPCSPEC07.API.md#storagediffs) + +--- + +### DeprecatedDeclaredClasses + +Re-exports [DeprecatedDeclaredClasses](types.RPC.RPCSPEC07.API.md#deprecateddeclaredclasses) + +--- + +### NonceUpdates + +Re-exports [NonceUpdates](types.RPC.RPCSPEC07.API.md#nonceupdates) + +--- + +### ReplacedClasses + +Re-exports [ReplacedClasses](types.RPC.RPCSPEC07.API.md#replacedclasses) + +--- + +### ETransactionType + +Re-exports [ETransactionType](types.RPC.RPCSPEC07.API.md#etransactiontype-1) + +--- + +### ESimulationFlag + +Re-exports [ESimulationFlag](types.RPC.RPCSPEC07.API.md#esimulationflag-1) + +--- + +### ETransactionStatus + +Re-exports [ETransactionStatus](types.RPC.RPCSPEC07.API.md#etransactionstatus-1) + +--- + +### ETransactionFinalityStatus + +Re-exports [ETransactionFinalityStatus](types.RPC.RPCSPEC07.API.md#etransactionfinalitystatus-1) + +--- + +### ETransactionExecutionStatus + +Re-exports [ETransactionExecutionStatus](types.RPC.RPCSPEC07.API.md#etransactionexecutionstatus-1) + +--- + +### EBlockTag + +Re-exports [EBlockTag](types.RPC.RPCSPEC07.API.md#eblocktag-1) + +--- + +### EDataAvailabilityMode + +Re-exports [EDataAvailabilityMode](types.RPC.RPCSPEC07.API.md#edataavailabilitymode-1) + +--- + +### EDAMode + +Re-exports [EDAMode](types.RPC.RPCSPEC07.API.md#edamode-1) + +--- + +### ETransactionVersion + +Re-exports [ETransactionVersion](types.RPC.RPCSPEC07.API.md#etransactionversion-1) + +--- + +### ETransactionVersion2 + +Re-exports [ETransactionVersion2](types.RPC.RPCSPEC07.API.md#etransactionversion2-1) + +--- + +### ETransactionVersion3 + +Re-exports [ETransactionVersion3](types.RPC.RPCSPEC07.API.md#etransactionversion3-1) + +--- + +### Permission + +Re-exports [Permission](types.RPC.RPCSPEC07.WALLET_API.md#permission-1) + +--- + +### TypedDataRevision + +Re-exports [TypedDataRevision](types.RPC.RPCSPEC07.WALLET_API.md#typeddatarevision-1) + +--- + +### StarknetEnumType + +Re-exports [StarknetEnumType](types.RPC.RPCSPEC07.WALLET_API.md#starknetenumtype) + +--- + +### StarknetMerkleType + +Re-exports [StarknetMerkleType](types.RPC.RPCSPEC07.WALLET_API.md#starknetmerkletype) + +--- + +### StarknetType + +Re-exports [StarknetType](types.RPC.RPCSPEC07.WALLET_API.md#starknettype) + +--- + +### StarknetDomain + +Re-exports [StarknetDomain](../interfaces/types.RPC.RPCSPEC07.WALLET_API.StarknetDomain.md) + +--- + +### TypedData + +Re-exports [TypedData](../interfaces/types.RPC.RPCSPEC07.WALLET_API.TypedData.md) + +--- + +### StarknetWindowObject + +Re-exports [StarknetWindowObject](../interfaces/types.RPC.RPCSPEC07.WALLET_API.StarknetWindowObject.md) + +--- + +### Address + +Re-exports [Address](types.RPC.RPCSPEC07.WALLET_API.md#address) + +--- + +### Signature + +Re-exports [Signature](types.RPC.RPCSPEC07.WALLET_API.md#signature) + +--- + +### PADDED_TXN_HASH + +Re-exports [PADDED_TXN_HASH](types.RPC.RPCSPEC07.WALLET_API.md#padded_txn_hash) + +--- + +### PADDED_FELT + +Re-exports [PADDED_FELT](types.RPC.RPCSPEC07.WALLET_API.md#padded_felt) + +--- + +### SpecVersion + +Re-exports [SpecVersion](types.RPC.RPCSPEC07.WALLET_API.md#specversion) + +--- + +### TokenSymbol + +Re-exports [TokenSymbol](types.RPC.RPCSPEC07.WALLET_API.md#tokensymbol) + +--- + +### Asset + +Re-exports [Asset](types.RPC.RPCSPEC07.WALLET_API.md#asset) + +--- + +### StarknetChain + +Re-exports [StarknetChain](types.RPC.RPCSPEC07.WALLET_API.md#starknetchain) + +--- + +### Call + +Re-exports [Call](types.RPC.RPCSPEC07.WALLET_API.md#call) + +--- + +### AddInvokeTransactionParameters + +Re-exports [AddInvokeTransactionParameters](../interfaces/types.RPC.RPCSPEC07.WALLET_API.AddInvokeTransactionParameters.md) + +--- + +### AddInvokeTransactionResult + +Re-exports [AddInvokeTransactionResult](../interfaces/types.RPC.RPCSPEC07.WALLET_API.AddInvokeTransactionResult.md) + +--- + +### AddDeclareTransactionParameters + +Re-exports [AddDeclareTransactionParameters](../interfaces/types.RPC.RPCSPEC07.WALLET_API.AddDeclareTransactionParameters.md) + +--- + +### AddDeclareTransactionResult + +Re-exports [AddDeclareTransactionResult](../interfaces/types.RPC.RPCSPEC07.WALLET_API.AddDeclareTransactionResult.md) + +--- + +### RequestAccountsParameters + +Re-exports [RequestAccountsParameters](../interfaces/types.RPC.RPCSPEC07.WALLET_API.RequestAccountsParameters.md) + +--- + +### WatchAssetParameters + +Re-exports [WatchAssetParameters](../interfaces/types.RPC.RPCSPEC07.WALLET_API.WatchAssetParameters.md) + +--- + +### AddStarknetChainParameters + +Re-exports [AddStarknetChainParameters](../interfaces/types.RPC.RPCSPEC07.WALLET_API.AddStarknetChainParameters.md) + +--- + +### SwitchStarknetChainParameters + +Re-exports [SwitchStarknetChainParameters](../interfaces/types.RPC.RPCSPEC07.WALLET_API.SwitchStarknetChainParameters.md) + +--- + +### AccountDeploymentData + +Re-exports [AccountDeploymentData](../interfaces/types.RPC.RPCSPEC07.WALLET_API.AccountDeploymentData.md) + +--- + +### ApiVersion + +Re-exports [ApiVersion](../interfaces/types.RPC.RPCSPEC07.WALLET_API.ApiVersion.md) + +--- + +### RpcTypeToMessageMap + +Re-exports [RpcTypeToMessageMap](../interfaces/types.RPC.RPCSPEC07.WALLET_API.RpcTypeToMessageMap.md) + +--- + +### RpcMessage + +Re-exports [RpcMessage](types.RPC.RPCSPEC07.WALLET_API.md#rpcmessage) + +--- + +### IsParamsOptional + +Re-exports [IsParamsOptional](types.RPC.RPCSPEC07.WALLET_API.md#isparamsoptional) + +--- + +### RequestFnCall + +Re-exports [RequestFnCall](types.RPC.RPCSPEC07.WALLET_API.md#requestfncall) + +--- + +### RequestFn + +Re-exports [RequestFn](types.RPC.RPCSPEC07.WALLET_API.md#requestfn) + +--- + +### AccountChangeEventHandler + +Re-exports [AccountChangeEventHandler](types.RPC.RPCSPEC07.WALLET_API.md#accountchangeeventhandler) + +--- + +### NetworkChangeEventHandler + +Re-exports [NetworkChangeEventHandler](types.RPC.RPCSPEC07.WALLET_API.md#networkchangeeventhandler) + +--- + +### WalletEventHandlers + +Re-exports [WalletEventHandlers](../interfaces/types.RPC.RPCSPEC07.WALLET_API.WalletEventHandlers.md) + +--- + +### WalletEvents + +Re-exports [WalletEvents](types.RPC.RPCSPEC07.WALLET_API.md#walletevents) + +--- + +### WalletEventListener + +Re-exports [WalletEventListener](types.RPC.RPCSPEC07.WALLET_API.md#walleteventlistener) + +--- + +### NOT_ERC20 + +Re-exports [NOT_ERC20](../interfaces/types.RPC.RPCSPEC07.WALLET_API.NOT_ERC20.md) + +--- + +### UNLISTED_NETWORK + +Re-exports [UNLISTED_NETWORK](../interfaces/types.RPC.RPCSPEC07.WALLET_API.UNLISTED_NETWORK.md) + +--- + +### USER_REFUSED_OP + +Re-exports [USER_REFUSED_OP](../interfaces/types.RPC.RPCSPEC07.WALLET_API.USER_REFUSED_OP.md) + +--- + +### INVALID_REQUEST_PAYLOAD + +Re-exports [INVALID_REQUEST_PAYLOAD](../interfaces/types.RPC.RPCSPEC07.WALLET_API.INVALID_REQUEST_PAYLOAD.md) + +--- + +### ACCOUNT_ALREADY_DEPLOYED + +Re-exports [ACCOUNT_ALREADY_DEPLOYED](../interfaces/types.RPC.RPCSPEC07.WALLET_API.ACCOUNT_ALREADY_DEPLOYED.md) + +--- + +### API_VERSION_NOT_SUPPORTED + +Re-exports [API_VERSION_NOT_SUPPORTED](../interfaces/types.RPC.RPCSPEC07.WALLET_API.API_VERSION_NOT_SUPPORTED.md) + +--- + +### UNKNOWN_ERROR + +Re-exports [UNKNOWN_ERROR](../interfaces/types.RPC.RPCSPEC07.WALLET_API.UNKNOWN_ERROR.md) diff --git a/www/versioned_docs/version-6.11.0/API/namespaces/types.RPC.md b/www/versioned_docs/version-6.11.0/API/namespaces/types.RPC.md new file mode 100644 index 000000000..90a87d6de --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/namespaces/types.RPC.md @@ -0,0 +1,698 @@ +--- +id: 'types.RPC' +title: 'Namespace: RPC' +sidebar_label: 'RPC' +custom_edit_url: null +--- + +[types](types.md).RPC + +## Namespaces + +- [JRPC](types.RPC.JRPC.md) +- [RPCSPEC06](types.RPC.RPCSPEC06.md) +- [RPCSPEC07](types.RPC.RPCSPEC07.md) + +## References + +### API + +Re-exports [API](types.RPC.RPCSPEC07.API.md) + +--- + +### WALLET_API + +Re-exports [WALLET_API](types.RPC.RPCSPEC07.WALLET_API.md) + +--- + +### Methods + +Re-exports [Methods](types.RPC.RPCSPEC07.API.md#methods) + +--- + +### Errors + +Re-exports [Errors](types.RPC.RPCSPEC07.API.Errors.md) + +--- + +### SPEC + +Re-exports [SPEC](types.RPC.RPCSPEC07.API.SPEC.md) + +--- + +### ABI + +Re-exports [ABI](types.RPC.RPCSPEC07.API.md#abi) + +--- + +### FUNCTION + +Re-exports [FUNCTION](types.RPC.RPCSPEC07.API.md#function) + +--- + +### CONSTRUCTOR + +Re-exports [CONSTRUCTOR](types.RPC.RPCSPEC07.API.md#constructor) + +--- + +### L1_HANDLER + +Re-exports [L1_HANDLER](types.RPC.RPCSPEC07.API.md#l1_handler) + +--- + +### EVENT + +Re-exports [EVENT](types.RPC.RPCSPEC07.API.md#event) + +--- + +### STRUCT_EVENT + +Re-exports [STRUCT_EVENT](types.RPC.RPCSPEC07.API.md#struct_event) + +--- + +### ENUM_EVENT + +Re-exports [ENUM_EVENT](types.RPC.RPCSPEC07.API.md#enum_event) + +--- + +### STRUCT + +Re-exports [STRUCT](types.RPC.RPCSPEC07.API.md#struct) + +--- + +### ENUM + +Re-exports [ENUM](types.RPC.RPCSPEC07.API.md#enum) + +--- + +### INTERFACE + +Re-exports [INTERFACE](types.RPC.RPCSPEC07.API.md#interface) + +--- + +### IMPL + +Re-exports [IMPL](types.RPC.RPCSPEC07.API.md#impl) + +--- + +### EVENT_KIND + +Re-exports [EVENT_KIND](types.RPC.RPCSPEC07.API.md#event_kind) + +--- + +### EVENT_FIELD + +Re-exports [EVENT_FIELD](types.RPC.RPCSPEC07.API.md#event_field) + +--- + +### ContractClass + +Re-exports [ContractClass](types.RPC.RPCSPEC07.API.md#contractclass) + +--- + +### SimulateTransaction + +Re-exports [SimulateTransaction](types.RPC.RPCSPEC07.API.md#simulatetransaction) + +--- + +### SimulateTransactionResponse + +Re-exports [SimulateTransactionResponse](types.RPC.RPCSPEC07.API.md#simulatetransactionresponse) + +--- + +### FeeEstimate + +Re-exports [FeeEstimate](types.RPC.RPCSPEC07.API.md#feeestimate) + +--- + +### TransactionWithHash + +Re-exports [TransactionWithHash](types.RPC.RPCSPEC07.API.md#transactionwithhash) + +--- + +### BlockHashAndNumber + +Re-exports [BlockHashAndNumber](types.RPC.RPCSPEC07.API.md#blockhashandnumber) + +--- + +### BlockWithTxs + +Re-exports [BlockWithTxs](types.RPC.RPCSPEC07.API.md#blockwithtxs) + +--- + +### BlockWithTxHashes + +Re-exports [BlockWithTxHashes](types.RPC.RPCSPEC07.API.md#blockwithtxhashes) + +--- + +### BlockWithTxReceipts + +Re-exports [BlockWithTxReceipts](types.RPC.RPCSPEC07.API.md#blockwithtxreceipts) + +--- + +### StateUpdate + +Re-exports [StateUpdate](types.RPC.RPCSPEC07.API.md#stateupdate) + +--- + +### BlockTransactionsTraces + +Re-exports [BlockTransactionsTraces](types.RPC.RPCSPEC07.API.md#blocktransactionstraces) + +--- + +### Syncing + +Re-exports [Syncing](types.RPC.RPCSPEC07.API.md#syncing) + +--- + +### Events + +Re-exports [Events](types.RPC.RPCSPEC07.API.md#events) + +--- + +### EmittedEvent + +Re-exports [EmittedEvent](types.RPC.RPCSPEC07.API.md#emittedevent) + +--- + +### Event + +Re-exports [Event](types.RPC.RPCSPEC07.API.md#event-1) + +--- + +### InvokedTransaction + +Re-exports [InvokedTransaction](types.RPC.RPCSPEC07.API.md#invokedtransaction) + +--- + +### DeclaredTransaction + +Re-exports [DeclaredTransaction](types.RPC.RPCSPEC07.API.md#declaredtransaction) + +--- + +### DeployedAccountTransaction + +Re-exports [DeployedAccountTransaction](types.RPC.RPCSPEC07.API.md#deployedaccounttransaction) + +--- + +### ContractAddress + +Re-exports [ContractAddress](types.RPC.RPCSPEC07.API.md#contractaddress) + +--- + +### Felt + +Re-exports [Felt](types.RPC.RPCSPEC07.API.md#felt) + +--- + +### Nonce + +Re-exports [Nonce](types.RPC.RPCSPEC07.API.md#nonce) + +--- + +### TransactionHash + +Re-exports [TransactionHash](types.RPC.RPCSPEC07.API.md#transactionhash) + +--- + +### TransactionTrace + +Re-exports [TransactionTrace](types.RPC.RPCSPEC07.API.md#transactiontrace) + +--- + +### BlockHash + +Re-exports [BlockHash](types.RPC.RPCSPEC07.API.md#blockhash) + +--- + +### TransactionReceipt + +Re-exports [TransactionReceipt](types.RPC.RPCSPEC07.API.md#transactionreceipt) + +--- + +### Receipt + +Re-exports [Receipt](types.RPC.RPCSPEC07.API.md#receipt) + +--- + +### PendingReceipt + +Re-exports [PendingReceipt](types.RPC.RPCSPEC07.API.md#pendingreceipt) + +--- + +### EventFilter + +Re-exports [EventFilter](types.RPC.RPCSPEC07.API.md#eventfilter) + +--- + +### SimulationFlags + +Re-exports [SimulationFlags](types.RPC.RPCSPEC07.API.md#simulationflags) + +--- + +### L1Message + +Re-exports [L1Message](types.RPC.RPCSPEC07.API.md#l1message) + +--- + +### BaseTransaction + +Re-exports [BaseTransaction](types.RPC.RPCSPEC07.API.md#basetransaction) + +--- + +### ChainId + +Re-exports [ChainId](types.RPC.RPCSPEC07.API.md#chainid) + +--- + +### Transaction + +Re-exports [Transaction](types.RPC.RPCSPEC07.API.md#transaction) + +--- + +### TransactionStatus + +Re-exports [TransactionStatus](types.RPC.RPCSPEC07.API.md#transactionstatus) + +--- + +### ResourceBounds + +Re-exports [ResourceBounds](types.RPC.RPCSPEC07.API.md#resourcebounds) + +--- + +### FeePayment + +Re-exports [FeePayment](types.RPC.RPCSPEC07.API.md#feepayment) + +--- + +### PriceUnit + +Re-exports [PriceUnit](types.RPC.RPCSPEC07.API.md#priceunit) + +--- + +### StorageDiffs + +Re-exports [StorageDiffs](types.RPC.RPCSPEC07.API.md#storagediffs) + +--- + +### DeprecatedDeclaredClasses + +Re-exports [DeprecatedDeclaredClasses](types.RPC.RPCSPEC07.API.md#deprecateddeclaredclasses) + +--- + +### NonceUpdates + +Re-exports [NonceUpdates](types.RPC.RPCSPEC07.API.md#nonceupdates) + +--- + +### ReplacedClasses + +Re-exports [ReplacedClasses](types.RPC.RPCSPEC07.API.md#replacedclasses) + +--- + +### ETransactionType + +Re-exports [ETransactionType](types.RPC.RPCSPEC07.API.md#etransactiontype-1) + +--- + +### ESimulationFlag + +Re-exports [ESimulationFlag](types.RPC.RPCSPEC07.API.md#esimulationflag-1) + +--- + +### ETransactionStatus + +Re-exports [ETransactionStatus](types.RPC.RPCSPEC07.API.md#etransactionstatus-1) + +--- + +### ETransactionFinalityStatus + +Re-exports [ETransactionFinalityStatus](types.RPC.RPCSPEC07.API.md#etransactionfinalitystatus-1) + +--- + +### ETransactionExecutionStatus + +Re-exports [ETransactionExecutionStatus](types.RPC.RPCSPEC07.API.md#etransactionexecutionstatus-1) + +--- + +### EBlockTag + +Re-exports [EBlockTag](types.RPC.RPCSPEC07.API.md#eblocktag-1) + +--- + +### EDataAvailabilityMode + +Re-exports [EDataAvailabilityMode](types.RPC.RPCSPEC07.API.md#edataavailabilitymode-1) + +--- + +### EDAMode + +Re-exports [EDAMode](types.RPC.RPCSPEC07.API.md#edamode-1) + +--- + +### ETransactionVersion + +Re-exports [ETransactionVersion](types.RPC.RPCSPEC07.API.md#etransactionversion-1) + +--- + +### ETransactionVersion2 + +Re-exports [ETransactionVersion2](types.RPC.RPCSPEC07.API.md#etransactionversion2-1) + +--- + +### ETransactionVersion3 + +Re-exports [ETransactionVersion3](types.RPC.RPCSPEC07.API.md#etransactionversion3-1) + +--- + +### Permission + +Re-exports [Permission](types.RPC.RPCSPEC07.WALLET_API.md#permission-1) + +--- + +### TypedDataRevision + +Re-exports [TypedDataRevision](types.RPC.RPCSPEC07.WALLET_API.md#typeddatarevision-1) + +--- + +### StarknetEnumType + +Re-exports [StarknetEnumType](types.RPC.RPCSPEC07.WALLET_API.md#starknetenumtype) + +--- + +### StarknetMerkleType + +Re-exports [StarknetMerkleType](types.RPC.RPCSPEC07.WALLET_API.md#starknetmerkletype) + +--- + +### StarknetType + +Re-exports [StarknetType](types.RPC.RPCSPEC07.WALLET_API.md#starknettype) + +--- + +### StarknetDomain + +Re-exports [StarknetDomain](../interfaces/types.RPC.RPCSPEC07.WALLET_API.StarknetDomain.md) + +--- + +### TypedData + +Re-exports [TypedData](../interfaces/types.RPC.RPCSPEC07.WALLET_API.TypedData.md) + +--- + +### StarknetWindowObject + +Re-exports [StarknetWindowObject](../interfaces/types.RPC.RPCSPEC07.WALLET_API.StarknetWindowObject.md) + +--- + +### Address + +Re-exports [Address](types.RPC.RPCSPEC07.WALLET_API.md#address) + +--- + +### Signature + +Re-exports [Signature](types.RPC.RPCSPEC07.WALLET_API.md#signature) + +--- + +### PADDED_TXN_HASH + +Re-exports [PADDED_TXN_HASH](types.RPC.RPCSPEC07.WALLET_API.md#padded_txn_hash) + +--- + +### PADDED_FELT + +Re-exports [PADDED_FELT](types.RPC.RPCSPEC07.WALLET_API.md#padded_felt) + +--- + +### SpecVersion + +Re-exports [SpecVersion](types.RPC.RPCSPEC07.WALLET_API.md#specversion) + +--- + +### TokenSymbol + +Re-exports [TokenSymbol](types.RPC.RPCSPEC07.WALLET_API.md#tokensymbol) + +--- + +### Asset + +Re-exports [Asset](types.RPC.RPCSPEC07.WALLET_API.md#asset) + +--- + +### StarknetChain + +Re-exports [StarknetChain](types.RPC.RPCSPEC07.WALLET_API.md#starknetchain) + +--- + +### Call + +Re-exports [Call](types.RPC.RPCSPEC07.WALLET_API.md#call) + +--- + +### AddInvokeTransactionParameters + +Re-exports [AddInvokeTransactionParameters](../interfaces/types.RPC.RPCSPEC07.WALLET_API.AddInvokeTransactionParameters.md) + +--- + +### AddInvokeTransactionResult + +Re-exports [AddInvokeTransactionResult](../interfaces/types.RPC.RPCSPEC07.WALLET_API.AddInvokeTransactionResult.md) + +--- + +### AddDeclareTransactionParameters + +Re-exports [AddDeclareTransactionParameters](../interfaces/types.RPC.RPCSPEC07.WALLET_API.AddDeclareTransactionParameters.md) + +--- + +### AddDeclareTransactionResult + +Re-exports [AddDeclareTransactionResult](../interfaces/types.RPC.RPCSPEC07.WALLET_API.AddDeclareTransactionResult.md) + +--- + +### RequestAccountsParameters + +Re-exports [RequestAccountsParameters](../interfaces/types.RPC.RPCSPEC07.WALLET_API.RequestAccountsParameters.md) + +--- + +### WatchAssetParameters + +Re-exports [WatchAssetParameters](../interfaces/types.RPC.RPCSPEC07.WALLET_API.WatchAssetParameters.md) + +--- + +### AddStarknetChainParameters + +Re-exports [AddStarknetChainParameters](../interfaces/types.RPC.RPCSPEC07.WALLET_API.AddStarknetChainParameters.md) + +--- + +### SwitchStarknetChainParameters + +Re-exports [SwitchStarknetChainParameters](../interfaces/types.RPC.RPCSPEC07.WALLET_API.SwitchStarknetChainParameters.md) + +--- + +### AccountDeploymentData + +Re-exports [AccountDeploymentData](../interfaces/types.RPC.RPCSPEC07.WALLET_API.AccountDeploymentData.md) + +--- + +### ApiVersion + +Re-exports [ApiVersion](../interfaces/types.RPC.RPCSPEC07.WALLET_API.ApiVersion.md) + +--- + +### RpcTypeToMessageMap + +Re-exports [RpcTypeToMessageMap](../interfaces/types.RPC.RPCSPEC07.WALLET_API.RpcTypeToMessageMap.md) + +--- + +### RpcMessage + +Re-exports [RpcMessage](types.RPC.RPCSPEC07.WALLET_API.md#rpcmessage) + +--- + +### IsParamsOptional + +Re-exports [IsParamsOptional](types.RPC.RPCSPEC07.WALLET_API.md#isparamsoptional) + +--- + +### RequestFnCall + +Re-exports [RequestFnCall](types.RPC.RPCSPEC07.WALLET_API.md#requestfncall) + +--- + +### RequestFn + +Re-exports [RequestFn](types.RPC.RPCSPEC07.WALLET_API.md#requestfn) + +--- + +### AccountChangeEventHandler + +Re-exports [AccountChangeEventHandler](types.RPC.RPCSPEC07.WALLET_API.md#accountchangeeventhandler) + +--- + +### NetworkChangeEventHandler + +Re-exports [NetworkChangeEventHandler](types.RPC.RPCSPEC07.WALLET_API.md#networkchangeeventhandler) + +--- + +### WalletEventHandlers + +Re-exports [WalletEventHandlers](../interfaces/types.RPC.RPCSPEC07.WALLET_API.WalletEventHandlers.md) + +--- + +### WalletEvents + +Re-exports [WalletEvents](types.RPC.RPCSPEC07.WALLET_API.md#walletevents) + +--- + +### WalletEventListener + +Re-exports [WalletEventListener](types.RPC.RPCSPEC07.WALLET_API.md#walleteventlistener) + +--- + +### NOT_ERC20 + +Re-exports [NOT_ERC20](../interfaces/types.RPC.RPCSPEC07.WALLET_API.NOT_ERC20.md) + +--- + +### UNLISTED_NETWORK + +Re-exports [UNLISTED_NETWORK](../interfaces/types.RPC.RPCSPEC07.WALLET_API.UNLISTED_NETWORK.md) + +--- + +### USER_REFUSED_OP + +Re-exports [USER_REFUSED_OP](../interfaces/types.RPC.RPCSPEC07.WALLET_API.USER_REFUSED_OP.md) + +--- + +### INVALID_REQUEST_PAYLOAD + +Re-exports [INVALID_REQUEST_PAYLOAD](../interfaces/types.RPC.RPCSPEC07.WALLET_API.INVALID_REQUEST_PAYLOAD.md) + +--- + +### ACCOUNT_ALREADY_DEPLOYED + +Re-exports [ACCOUNT_ALREADY_DEPLOYED](../interfaces/types.RPC.RPCSPEC07.WALLET_API.ACCOUNT_ALREADY_DEPLOYED.md) + +--- + +### API_VERSION_NOT_SUPPORTED + +Re-exports [API_VERSION_NOT_SUPPORTED](../interfaces/types.RPC.RPCSPEC07.WALLET_API.API_VERSION_NOT_SUPPORTED.md) + +--- + +### UNKNOWN_ERROR + +Re-exports [UNKNOWN_ERROR](../interfaces/types.RPC.RPCSPEC07.WALLET_API.UNKNOWN_ERROR.md) diff --git a/www/versioned_docs/version-6.11.0/API/namespaces/types.md b/www/versioned_docs/version-6.11.0/API/namespaces/types.md new file mode 100644 index 000000000..466584716 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/namespaces/types.md @@ -0,0 +1,2057 @@ +--- +id: 'types' +title: 'Namespace: types' +sidebar_label: 'types' +sidebar_position: 0 +custom_edit_url: null +--- + +## Namespaces + +- [RPC](types.RPC.md) + +## Enumerations + +- [ValidateType](../enums/types.ValidateType.md) +- [Uint](../enums/types.Uint.md) +- [Literal](../enums/types.Literal.md) +- [TransactionType](../enums/types.TransactionType.md) +- [TransactionStatus](../enums/types.TransactionStatus.md) +- [TransactionFinalityStatus](../enums/types.TransactionFinalityStatus.md) +- [TransactionExecutionStatus](../enums/types.TransactionExecutionStatus.md) +- [BlockStatus](../enums/types.BlockStatus.md) +- [BlockTag](../enums/types.BlockTag.md) +- [EntryPointType](../enums/types.EntryPointType.md) + +## Interfaces + +- [EstimateFee](../interfaces/types.EstimateFee.md) +- [UniversalDetails](../interfaces/types.UniversalDetails.md) +- [EstimateFeeDetails](../interfaces/types.EstimateFeeDetails.md) +- [DeployContractResponse](../interfaces/types.DeployContractResponse.md) +- [Uint256](../interfaces/types.Uint256.md) +- [Uint512](../interfaces/types.Uint512.md) +- [CallStruct](../interfaces/types.CallStruct.md) +- [Program](../interfaces/types.Program.md) +- [ProviderOptions](../interfaces/types.ProviderOptions.md) +- [MessageToL1](../interfaces/types.MessageToL1.md) +- [EstimateFeeResponse](../interfaces/types.EstimateFeeResponse.md) + +## References + +### TypedDataRevision + +Re-exports [TypedDataRevision](types.RPC.RPCSPEC07.WALLET_API.md#typeddatarevision-1) + +--- + +### StarknetEnumType + +Re-exports [StarknetEnumType](types.RPC.RPCSPEC07.WALLET_API.md#starknetenumtype) + +--- + +### StarknetMerkleType + +Re-exports [StarknetMerkleType](types.RPC.RPCSPEC07.WALLET_API.md#starknetmerkletype) + +--- + +### StarknetType + +Re-exports [StarknetType](types.RPC.RPCSPEC07.WALLET_API.md#starknettype) + +--- + +### StarknetDomain + +Re-exports [StarknetDomain](../interfaces/types.RPC.RPCSPEC07.WALLET_API.StarknetDomain.md) + +--- + +### TypedData + +Re-exports [TypedData](../interfaces/types.RPC.RPCSPEC07.WALLET_API.TypedData.md) + +## Type Aliases + +### EstimateFeeBulk + +Ƭ **EstimateFeeBulk**: [`EstimateFee`](../interfaces/types.EstimateFee.md)[] + +#### Defined in + +[src/types/account.ts:17](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/account.ts#L17) + +--- + +### AccountInvocationsFactoryDetails + +Ƭ **AccountInvocationsFactoryDetails**: \{ `versions`: \`$\{ETransactionVersion}\`[] ; `nonce?`: [`BigNumberish`](types.md#bignumberish) ; `blockIdentifier?`: [`BlockIdentifier`](types.md#blockidentifier) ; `skipValidate?`: `boolean` } & `Partial`<[`V3TransactionDetails`](types.md#v3transactiondetails)\> + +#### Defined in + +[src/types/account.ts:20](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/account.ts#L20) + +--- + +### MultiDeployContractResponse + +Ƭ **MultiDeployContractResponse**: `Object` + +#### Type declaration + +| Name | Type | +| :----------------- | :--------- | +| `contract_address` | `string`[] | +| `transaction_hash` | `string` | + +#### Defined in + +[src/types/account.ts:48](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/account.ts#L48) + +--- + +### DeployContractUDCResponse + +Ƭ **DeployContractUDCResponse**: `Object` + +#### Type declaration + +| Name | Type | +| :----------------- | :--------- | +| `contract_address` | `string` | +| `transaction_hash` | `string` | +| `address` | `string` | +| `deployer` | `string` | +| `unique` | `string` | +| `classHash` | `string` | +| `calldata_len` | `string` | +| `calldata` | `string`[] | +| `salt` | `string` | + +#### Defined in + +[src/types/account.ts:53](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/account.ts#L53) + +--- + +### DeclareDeployUDCResponse + +Ƭ **DeclareDeployUDCResponse**: `Object` + +#### Type declaration + +| Name | Type | +| :-------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `declare` | \{ `class_hash`: [`BigNumberish`](types.md#bignumberish) } & `Partial`<[`DeclareTransactionReceiptResponse`](types.md#declaretransactionreceiptresponse)\> | +| `deploy` | [`DeployContractUDCResponse`](types.md#deploycontractudcresponse) | + +#### Defined in + +[src/types/account.ts:65](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/account.ts#L65) + +--- + +### SimulateTransactionDetails + +Ƭ **SimulateTransactionDetails**: \{ `nonce?`: [`BigNumberish`](types.md#bignumberish) ; `blockIdentifier?`: [`BlockIdentifier`](types.md#blockidentifier) ; `skipValidate?`: `boolean` ; `skipExecute?`: `boolean` } & `Partial`<[`V3TransactionDetails`](types.md#v3transactiondetails)\> + +#### Defined in + +[src/types/account.ts:72](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/account.ts#L72) + +--- + +### EstimateFeeAction + +Ƭ **EstimateFeeAction**: \{ `type`: [`INVOKE`](../enums/types.TransactionType.md#invoke) ; `payload`: [`AllowArray`](types.md#allowarray)<[`Call`](types.md#call)\> } \| \{ `type`: [`DECLARE`](../enums/types.TransactionType.md#declare) ; `payload`: [`DeclareContractPayload`](types.md#declarecontractpayload) } \| \{ `type`: [`DEPLOY_ACCOUNT`](../enums/types.TransactionType.md#deploy_account) ; `payload`: [`DeployAccountContractPayload`](types.md#deployaccountcontractpayload) } \| \{ `type`: [`DEPLOY`](../enums/types.TransactionType.md#deploy) ; `payload`: [`UniversalDeployerContractPayload`](types.md#universaldeployercontractpayload) } + +#### Defined in + +[src/types/account.ts:79](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/account.ts#L79) + +--- + +### StarkProfile + +Ƭ **StarkProfile**: `Object` + +#### Type declaration + +| Name | Type | +| :------------------- | :-------- | +| `name?` | `string` | +| `profilePicture?` | `string` | +| `discord?` | `string` | +| `twitter?` | `string` | +| `github?` | `string` | +| `proofOfPersonhood?` | `boolean` | + +#### Defined in + +[src/types/account.ts:97](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/account.ts#L97) + +--- + +### AsyncContractFunction + +Ƭ **AsyncContractFunction**<`T`\>: (...`args`: [`ArgsOrCalldataWithOptions`](types.md#argsorcalldatawithoptions)) => `Promise`<`T`\> + +#### Type parameters + +| Name | Type | +| :--- | :---- | +| `T` | `any` | + +#### Type declaration + +▸ (`...args`): `Promise`<`T`\> + +##### Parameters + +| Name | Type | +| :-------- | :---------------------------------------------------------------- | +| `...args` | [`ArgsOrCalldataWithOptions`](types.md#argsorcalldatawithoptions) | + +##### Returns + +`Promise`<`T`\> + +#### Defined in + +[src/types/contract.ts:11](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/contract.ts#L11) + +--- + +### ContractFunction + +Ƭ **ContractFunction**: (...`args`: [`ArgsOrCalldataWithOptions`](types.md#argsorcalldatawithoptions)) => `any` + +#### Type declaration + +▸ (`...args`): `any` + +##### Parameters + +| Name | Type | +| :-------- | :---------------------------------------------------------------- | +| `...args` | [`ArgsOrCalldataWithOptions`](types.md#argsorcalldatawithoptions) | + +##### Returns + +`any` + +#### Defined in + +[src/types/contract.ts:12](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/contract.ts#L12) + +--- + +### Result + +Ƭ **Result**: \{ `[key: string]`: `any`; } \| [`Result`](types.md#result)[] \| `bigint` \| `string` \| `boolean` \| [`CairoEnum`](types.md#cairoenum) + +#### Defined in + +[src/types/contract.ts:14](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/contract.ts#L14) + +--- + +### ArgsOrCalldata + +Ƭ **ArgsOrCalldata**: [`RawArgsArray`](types.md#rawargsarray) \| [[`Calldata`](types.md#calldata)] \| [`Calldata`](types.md#calldata) + +#### Defined in + +[src/types/contract.ts:24](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/contract.ts#L24) + +--- + +### ArgsOrCalldataWithOptions + +Ƭ **ArgsOrCalldataWithOptions**: [`ArgsOrCalldata`](types.md#argsorcalldata) & [`ContractOptions`](types.md#contractoptions) + +#### Defined in + +[src/types/contract.ts:25](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/contract.ts#L25) + +--- + +### ContractOptions + +Ƭ **ContractOptions**: `Object` + +#### Type declaration + +| Name | Type | +| :----------------- | :-------------------------------------------- | +| `blockIdentifier?` | [`BlockIdentifier`](types.md#blockidentifier) | +| `parseRequest?` | `boolean` | +| `parseResponse?` | `boolean` | +| `formatResponse?` | \{ `[key: string]`: `any`; } | +| `maxFee?` | [`BigNumberish`](types.md#bignumberish) | +| `nonce?` | [`BigNumberish`](types.md#bignumberish) | +| `signature?` | [`Signature`](types.md#signature) | +| `addressSalt?` | `string` | + +#### Defined in + +[src/types/contract.ts:26](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/contract.ts#L26) + +--- + +### CallOptions + +Ƭ **CallOptions**: `Pick`<[`ContractOptions`](types.md#contractoptions), `"blockIdentifier"` \| `"parseRequest"` \| `"parseResponse"` \| `"formatResponse"`\> + +#### Defined in + +[src/types/contract.ts:37](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/contract.ts#L37) + +--- + +### InvokeOptions + +Ƭ **InvokeOptions**: `Pick`<[`ContractOptions`](types.md#contractoptions), `"maxFee"` \| `"nonce"` \| `"signature"` \| `"parseRequest"`\> + +#### Defined in + +[src/types/contract.ts:42](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/contract.ts#L42) + +--- + +### ParsedEvent + +Ƭ **ParsedEvent**: `Object` + +#### Index signature + +▪ [name: `string`]: [`ParsedStruct`](types.md#parsedstruct) + +#### Defined in + +[src/types/contract.ts:47](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/contract.ts#L47) + +--- + +### ParsedEvents + +Ƭ **ParsedEvents**: [`ParsedEvent`](types.md#parsedevent)[] + +#### Defined in + +[src/types/contract.ts:49](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/contract.ts#L49) + +--- + +### WeierstrassSignatureType + +Ƭ **WeierstrassSignatureType**: [`SignatureType`](../interfaces/ec.weierstrass.SignatureType.md) + +#### Defined in + +[src/types/lib/index.ts:7](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L7) + +--- + +### ArraySignatureType + +Ƭ **ArraySignatureType**: `string`[] + +#### Defined in + +[src/types/lib/index.ts:8](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L8) + +--- + +### Signature + +Ƭ **Signature**: [`ArraySignatureType`](types.md#arraysignaturetype) \| [`WeierstrassSignatureType`](types.md#weierstrasssignaturetype) + +#### Defined in + +[src/types/lib/index.ts:9](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L9) + +--- + +### BigNumberish + +Ƭ **BigNumberish**: `string` \| `number` \| `bigint` + +#### Defined in + +[src/types/lib/index.ts:11](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L11) + +--- + +### ByteArray + +Ƭ **ByteArray**: `Object` + +#### Type declaration + +| Name | Type | +| :----------------- | :---------------------------------------- | +| `data` | [`BigNumberish`](types.md#bignumberish)[] | +| `pending_word` | [`BigNumberish`](types.md#bignumberish) | +| `pending_word_len` | [`BigNumberish`](types.md#bignumberish) | + +#### Defined in + +[src/types/lib/index.ts:13](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L13) + +--- + +### Calldata + +Ƭ **Calldata**: `string`[] & \{ `__compiled__?`: `true` } + +Compiled calldata ready to be sent + +decimal-string array + +#### Defined in + +[src/types/lib/index.ts:24](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L24) + +--- + +### RawCalldata + +Ƭ **RawCalldata**: [`BigNumberish`](types.md#bignumberish)[] + +BigNumberish array + +use CallData.compile() to convert to Calldata + +#### Defined in + +[src/types/lib/index.ts:53](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L53) + +--- + +### HexCalldata + +Ƭ **HexCalldata**: `string`[] + +Hexadecimal-string array + +#### Defined in + +[src/types/lib/index.ts:58](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L58) + +--- + +### AllowArray + +Ƭ **AllowArray**<`T`\>: `T` \| `T`[] + +#### Type parameters + +| Name | +| :--- | +| `T` | + +#### Defined in + +[src/types/lib/index.ts:60](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L60) + +--- + +### OptionalPayload + +Ƭ **OptionalPayload**<`T`\>: \{ `payload`: `T` } \| `T` + +#### Type parameters + +| Name | +| :--- | +| `T` | + +#### Defined in + +[src/types/lib/index.ts:62](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L62) + +--- + +### RawArgs + +Ƭ **RawArgs**: [`RawArgsObject`](types.md#rawargsobject) \| [`RawArgsArray`](types.md#rawargsarray) + +#### Defined in + +[src/types/lib/index.ts:64](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L64) + +--- + +### RawArgsObject + +Ƭ **RawArgsObject**: `Object` + +#### Index signature + +▪ [inputName: `string`]: [`MultiType`](types.md#multitype) \| [`MultiType`](types.md#multitype)[] \| [`RawArgs`](types.md#rawargs) + +#### Defined in + +[src/types/lib/index.ts:66](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L66) + +--- + +### RawArgsArray + +Ƭ **RawArgsArray**: ([`MultiType`](types.md#multitype) \| [`MultiType`](types.md#multitype)[] \| [`RawArgs`](types.md#rawargs))[] + +#### Defined in + +[src/types/lib/index.ts:70](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L70) + +--- + +### MultiType + +Ƭ **MultiType**: [`BigNumberish`](types.md#bignumberish) \| [`Uint256`](../interfaces/types.Uint256.md) \| `object` \| `boolean` \| [`CairoEnum`](types.md#cairoenum) + +#### Defined in + +[src/types/lib/index.ts:72](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L72) + +--- + +### UniversalDeployerContractPayload + +Ƭ **UniversalDeployerContractPayload**: `Object` + +#### Type declaration + +| Name | Type | +| :--------------------- | :-------------------------------------- | +| `classHash` | [`BigNumberish`](types.md#bignumberish) | +| `salt?` | `string` | +| `unique?` | `boolean` | +| `constructorCalldata?` | [`RawArgs`](types.md#rawargs) | + +#### Defined in + +[src/types/lib/index.ts:74](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L74) + +--- + +### DeployAccountContractPayload + +Ƭ **DeployAccountContractPayload**: `Object` + +#### Type declaration + +| Name | Type | +| :--------------------- | :-------------------------------------- | +| `classHash` | `string` | +| `constructorCalldata?` | [`RawArgs`](types.md#rawargs) | +| `addressSalt?` | [`BigNumberish`](types.md#bignumberish) | +| `contractAddress?` | `string` | + +#### Defined in + +[src/types/lib/index.ts:81](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L81) + +--- + +### DeployAccountContractTransaction + +Ƭ **DeployAccountContractTransaction**: `Omit`<[`DeployAccountContractPayload`](types.md#deployaccountcontractpayload), `"contractAddress"`\> & \{ `signature?`: [`Signature`](types.md#signature) } + +#### Defined in + +[src/types/lib/index.ts:88](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L88) + +--- + +### DeclareContractPayload + +Ƭ **DeclareContractPayload**: `Object` + +#### Type declaration + +| Name | Type | +| :------------------- | :---------------------------------------------------------- | +| `contract` | [`CompiledContract`](types.md#compiledcontract) \| `string` | +| `classHash?` | `string` | +| `casm?` | [`CompiledSierraCasm`](types.md#compiledsierracasm) | +| `compiledClassHash?` | `string` | + +#### Defined in + +[src/types/lib/index.ts:95](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L95) + +--- + +### CompleteDeclareContractPayload + +Ƭ **CompleteDeclareContractPayload**: `Object` + +#### Type declaration + +| Name | Type | +| :------------------- | :---------------------------------------------------------- | +| `contract` | [`CompiledContract`](types.md#compiledcontract) \| `string` | +| `classHash` | `string` | +| `casm?` | [`CompiledSierraCasm`](types.md#compiledsierracasm) | +| `compiledClassHash?` | `string` | + +#### Defined in + +[src/types/lib/index.ts:102](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L102) + +--- + +### DeclareAndDeployContractPayload + +Ƭ **DeclareAndDeployContractPayload**: `Omit`<[`UniversalDeployerContractPayload`](types.md#universaldeployercontractpayload), `"classHash"`\> & [`DeclareContractPayload`](types.md#declarecontractpayload) + +#### Defined in + +[src/types/lib/index.ts:109](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L109) + +--- + +### DeclareContractTransaction + +Ƭ **DeclareContractTransaction**: `Object` + +#### Type declaration + +| Name | Type | +| :------------------- | :---------------------------------------- | +| `contract` | [`ContractClass`](types.md#contractclass) | +| `senderAddress` | `string` | +| `signature?` | [`Signature`](types.md#signature) | +| `compiledClassHash?` | `string` | + +#### Defined in + +[src/types/lib/index.ts:112](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L112) + +--- + +### CallDetails + +Ƭ **CallDetails**: `Object` + +#### Type declaration + +| Name | Type | +| :---------------- | :--------------------------------------------------------------- | +| `contractAddress` | `string` | +| `calldata?` | [`RawArgs`](types.md#rawargs) \| [`Calldata`](types.md#calldata) | +| `entrypoint?` | `string` | + +#### Defined in + +[src/types/lib/index.ts:119](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L119) + +--- + +### Invocation + +Ƭ **Invocation**: [`CallDetails`](types.md#calldetails) & \{ `signature?`: [`Signature`](types.md#signature) } + +#### Defined in + +[src/types/lib/index.ts:125](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L125) + +--- + +### Call + +Ƭ **Call**: [`CallDetails`](types.md#calldetails) & \{ `entrypoint`: `string` } + +#### Defined in + +[src/types/lib/index.ts:127](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L127) + +--- + +### CairoVersion + +Ƭ **CairoVersion**: `"0"` \| `"1"` \| `undefined` + +#### Defined in + +[src/types/lib/index.ts:129](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L129) + +--- + +### CompilerVersion + +Ƭ **CompilerVersion**: `"0"` \| `"1"` \| `"2"` \| `undefined` + +#### Defined in + +[src/types/lib/index.ts:130](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L130) + +--- + +### InvocationsDetails + +Ƭ **InvocationsDetails**: \{ `nonce?`: [`BigNumberish`](types.md#bignumberish) ; `maxFee?`: [`BigNumberish`](types.md#bignumberish) ; `version?`: [`BigNumberish`](types.md#bignumberish) } & `Partial`<[`V3TransactionDetails`](types.md#v3transactiondetails)\> + +#### Defined in + +[src/types/lib/index.ts:132](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L132) + +--- + +### V3TransactionDetails + +Ƭ **V3TransactionDetails**: `Object` + +#### Type declaration + +| Name | Type | +| :-------------------------- | :---------------------------------------------------------------------------- | +| `nonce` | [`BigNumberish`](types.md#bignumberish) | +| `version` | [`BigNumberish`](types.md#bignumberish) | +| `resourceBounds` | [`ResourceBounds`](types.RPC.RPCSPEC07.API.md#resourcebounds) | +| `tip` | [`BigNumberish`](types.md#bignumberish) | +| `paymasterData` | [`BigNumberish`](types.md#bignumberish)[] | +| `accountDeploymentData` | [`BigNumberish`](types.md#bignumberish)[] | +| `nonceDataAvailabilityMode` | [`EDataAvailabilityMode`](types.RPC.RPCSPEC07.API.md#edataavailabilitymode-1) | +| `feeDataAvailabilityMode` | [`EDataAvailabilityMode`](types.RPC.RPCSPEC07.API.md#edataavailabilitymode-1) | + +#### Defined in + +[src/types/lib/index.ts:138](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L138) + +--- + +### Details + +Ƭ **Details**: `Object` + +Contain all additional details params + +#### Type declaration + +| Name | Type | +| :-------- | :--------------------------------------------------------- | +| `nonce` | [`BigNumberish`](types.md#bignumberish) | +| `maxFee` | [`BigNumberish`](types.md#bignumberish) | +| `version` | [`BigNumberish`](types.md#bignumberish) | +| `chainId` | [`StarknetChainId`](../enums/constants.StarknetChainId.md) | + +#### Defined in + +[src/types/lib/index.ts:152](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L152) + +--- + +### InvocationsDetailsWithNonce + +Ƭ **InvocationsDetailsWithNonce**: [`InvocationsDetails`](types.md#invocationsdetails) & \{ `nonce`: [`BigNumberish`](types.md#bignumberish) } \| [`V3TransactionDetails`](types.md#v3transactiondetails) + +#### Defined in + +[src/types/lib/index.ts:159](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L159) + +--- + +### BlockNumber + +Ƭ **BlockNumber**: [`BlockTag`](../enums/types.BlockTag.md) \| `null` \| `number` + +#### Defined in + +[src/types/lib/index.ts:208](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L208) + +--- + +### BlockIdentifier + +Ƭ **BlockIdentifier**: [`BlockNumber`](types.md#blocknumber) \| [`BigNumberish`](types.md#bignumberish) + +hex string and BigInt are detected as block hashes + +decimal string and number are detected as block numbers + +text string are detected as block tag + +null return 'pending' block tag + +#### Defined in + +[src/types/lib/index.ts:219](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L219) + +--- + +### AccountInvocationItem + +Ƭ **AccountInvocationItem**: \{ `type`: typeof [`DECLARE`](../enums/types.TransactionType.md#declare) } & [`DeclareContractTransaction`](types.md#declarecontracttransaction) \| \{ `type`: typeof [`DEPLOY_ACCOUNT`](../enums/types.TransactionType.md#deploy_account) } & [`DeployAccountContractTransaction`](types.md#deployaccountcontracttransaction) \| \{ `type`: typeof [`INVOKE`](../enums/types.TransactionType.md#invoke) } & [`Invocation`](types.md#invocation) & [`InvocationsDetailsWithNonce`](types.md#invocationsdetailswithnonce) + +items used by AccountInvocations + +#### Defined in + +[src/types/lib/index.ts:224](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L224) + +--- + +### AccountInvocations + +Ƭ **AccountInvocations**: [`AccountInvocationItem`](types.md#accountinvocationitem)[] + +Complete invocations array with account details (internal type from account -> provider) + +#### Defined in + +[src/types/lib/index.ts:234](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L234) + +--- + +### Invocations + +Ƭ **Invocations**: (\{ `type`: typeof [`DECLARE`](../enums/types.TransactionType.md#declare) } & [`OptionalPayload`](types.md#optionalpayload)<[`DeclareContractPayload`](types.md#declarecontractpayload)\> \| \{ `type`: typeof [`DEPLOY`](../enums/types.TransactionType.md#deploy) } & [`OptionalPayload`](types.md#optionalpayload)<[`AllowArray`](types.md#allowarray)<[`UniversalDeployerContractPayload`](types.md#universaldeployercontractpayload)\>\> \| \{ `type`: typeof [`DEPLOY_ACCOUNT`](../enums/types.TransactionType.md#deploy_account) } & [`OptionalPayload`](types.md#optionalpayload)<[`DeployAccountContractPayload`](types.md#deployaccountcontractpayload)\> \| \{ `type`: typeof [`INVOKE`](../enums/types.TransactionType.md#invoke) } & [`OptionalPayload`](types.md#optionalpayload)<[`AllowArray`](types.md#allowarray)<[`Call`](types.md#call)\>\>)[] + +Invocations array user provide to bulk method (simulate) + +#### Defined in + +[src/types/lib/index.ts:239](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L239) + +--- + +### Tupled + +Ƭ **Tupled**: `Object` + +#### Type declaration + +| Name | Type | +| :-------- | :------- | +| `element` | `any` | +| `type` | `string` | + +#### Defined in + +[src/types/lib/index.ts:250](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L250) + +--- + +### Args + +Ƭ **Args**: `Object` + +#### Index signature + +▪ [inputName: `string`]: [`BigNumberish`](types.md#bignumberish) \| [`BigNumberish`](types.md#bignumberish)[] \| [`ParsedStruct`](types.md#parsedstruct) \| [`ParsedStruct`](types.md#parsedstruct)[] + +#### Defined in + +[src/types/lib/index.ts:252](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L252) + +--- + +### ParsedStruct + +Ƭ **ParsedStruct**: `Object` + +#### Index signature + +▪ [key: `string`]: [`BigNumberish`](types.md#bignumberish) \| [`BigNumberish`](types.md#bignumberish)[] \| [`ParsedStruct`](types.md#parsedstruct) \| [`Uint256`](../interfaces/types.Uint256.md) + +#### Defined in + +[src/types/lib/index.ts:255](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L255) + +--- + +### waitForTransactionOptions + +Ƭ **waitForTransactionOptions**: `Object` + +#### Type declaration + +| Name | Type | +| :--------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `retryInterval?` | `number` | +| `successStates?` | ([`TransactionFinalityStatus`](../enums/types.TransactionFinalityStatus.md) \| [`TransactionExecutionStatus`](../enums/types.TransactionExecutionStatus.md))[] | +| `errorStates?` | ([`TransactionFinalityStatus`](../enums/types.TransactionFinalityStatus.md) \| [`TransactionExecutionStatus`](../enums/types.TransactionExecutionStatus.md))[] | + +#### Defined in + +[src/types/lib/index.ts:259](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L259) + +--- + +### getSimulateTransactionOptions + +Ƭ **getSimulateTransactionOptions**: `Object` + +#### Type declaration + +| Name | Type | +| :----------------- | :-------------------------------------------- | +| `blockIdentifier?` | [`BlockIdentifier`](types.md#blockidentifier) | +| `skipValidate?` | `boolean` | +| `skipExecute?` | `boolean` | +| `skipFeeCharge?` | `boolean` | + +#### Defined in + +[src/types/lib/index.ts:265](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L265) + +--- + +### getContractVersionOptions + +Ƭ **getContractVersionOptions**: `Object` + +#### Type declaration + +| Name | Type | +| :----------------- | :-------------------------------------------- | +| `blockIdentifier?` | [`BlockIdentifier`](types.md#blockidentifier) | +| `compiler?` | `boolean` | + +#### Defined in + +[src/types/lib/index.ts:272](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L272) + +--- + +### getEstimateFeeBulkOptions + +Ƭ **getEstimateFeeBulkOptions**: `Object` + +#### Type declaration + +| Name | Type | +| :----------------- | :-------------------------------------------- | +| `blockIdentifier?` | [`BlockIdentifier`](types.md#blockidentifier) | +| `skipValidate?` | `boolean` | + +#### Defined in + +[src/types/lib/index.ts:277](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L277) + +--- + +### ContractVersion + +Ƭ **ContractVersion**: `Object` + +Represent Contract version + +#### Type declaration + +| Name | Type | Description | +| :--------- | :-------------------------------------------- | :--------------------------------------------------------- | +| `cairo` | [`CairoVersion`](types.md#cairoversion) | version of the cairo language | +| `compiler` | [`CompilerVersion`](types.md#compilerversion) | version of the cairo compiler used to compile the contract | + +#### Defined in + +[src/types/lib/index.ts:291](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/index.ts#L291) + +--- + +### ContractClass + +Ƭ **ContractClass**: [`LegacyContractClass`](types.md#legacycontractclass) \| [`SierraContractClass`](types.md#sierracontractclass) + +format produced after compressing compiled contract + +CompressedCompiledContract + +#### Defined in + +[src/types/lib/contract/index.ts:10](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/contract/index.ts#L10) + +--- + +### CompiledContract + +Ƭ **CompiledContract**: [`LegacyCompiledContract`](types.md#legacycompiledcontract) \| [`CompiledSierra`](types.md#compiledsierra) + +format produced after compile .cairo to .json + +#### Defined in + +[src/types/lib/contract/index.ts:15](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/contract/index.ts#L15) + +--- + +### CairoContract + +Ƭ **CairoContract**: [`ContractClass`](types.md#contractclass) \| [`CompiledContract`](types.md#compiledcontract) + +Compressed or decompressed Cairo0 or Cairo1 Contract + +#### Defined in + +[src/types/lib/contract/index.ts:20](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/contract/index.ts#L20) + +--- + +### Abi + +Ƭ **Abi**: `ReadonlyArray`<[`FunctionAbi`](types.md#functionabi) \| [`AbiEvent`](types.md#abievent) \| [`AbiStruct`](types.md#abistruct) \| [`InterfaceAbi`](types.md#interfaceabi) \| `any`\> + +ABI + +#### Defined in + +[src/types/lib/contract/abi.ts:4](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/contract/abi.ts#L4) + +--- + +### AbiEntry + +Ƭ **AbiEntry**: `Object` + +#### Type declaration + +| Name | Type | +| :----- | :-------------------------------- | +| `name` | `string` | +| `type` | `"felt"` \| `"felt*"` \| `string` | + +#### Defined in + +[src/types/lib/contract/abi.ts:7](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/contract/abi.ts#L7) + +--- + +### EventEntry + +Ƭ **EventEntry**: `Object` + +#### Type declaration + +| Name | Type | +| :----- | :-------------------------------- | +| `name` | `string` | +| `type` | `"felt"` \| `"felt*"` \| `string` | +| `kind` | `"key"` \| `"data"` | + +#### Defined in + +[src/types/lib/contract/abi.ts:9](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/contract/abi.ts#L9) + +--- + +### FunctionAbi + +Ƭ **FunctionAbi**: `Object` + +#### Type declaration + +| Name | Type | +| :------------------ | :-------------------------------- | +| `inputs` | [`AbiEntry`](types.md#abientry)[] | +| `name` | `string` | +| `outputs` | [`AbiEntry`](types.md#abientry)[] | +| `stateMutability?` | `"view"` | +| `state_mutability?` | `string` | +| `type` | `FunctionAbiType` | + +#### Defined in + +[src/types/lib/contract/abi.ts:14](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/contract/abi.ts#L14) + +--- + +### AbiStructs + +Ƭ **AbiStructs**: `Object` + +#### Index signature + +▪ [name: `string`]: [`AbiStruct`](types.md#abistruct) + +#### Defined in + +[src/types/lib/contract/abi.ts:23](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/contract/abi.ts#L23) + +--- + +### AbiStruct + +Ƭ **AbiStruct**: `Object` + +#### Type declaration + +| Name | Type | +| :-------- | :---------------------------------------------------------- | +| `members` | [`AbiEntry`](types.md#abientry) & \{ `offset`: `number` }[] | +| `name` | `string` | +| `size` | `number` | +| `type` | `"struct"` | + +#### Defined in + +[src/types/lib/contract/abi.ts:25](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/contract/abi.ts#L25) + +--- + +### AbiInterfaces + +Ƭ **AbiInterfaces**: `Object` + +#### Index signature + +▪ [name: `string`]: [`InterfaceAbi`](types.md#interfaceabi) + +#### Defined in + +[src/types/lib/contract/abi.ts:32](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/contract/abi.ts#L32) + +--- + +### InterfaceAbi + +Ƭ **InterfaceAbi**: `Object` + +#### Type declaration + +| Name | Type | +| :------ | :-------------------------------------- | +| `items` | [`FunctionAbi`](types.md#functionabi)[] | +| `name` | `string` | +| `type` | `"interface"` | + +#### Defined in + +[src/types/lib/contract/abi.ts:33](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/contract/abi.ts#L33) + +--- + +### AbiEnums + +Ƭ **AbiEnums**: `Object` + +#### Index signature + +▪ [name: `string`]: [`AbiEnum`](types.md#abienum) + +#### Defined in + +[src/types/lib/contract/abi.ts:39](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/contract/abi.ts#L39) + +--- + +### AbiEnum + +Ƭ **AbiEnum**: `Object` + +#### Type declaration + +| Name | Type | +| :--------- | :---------------------------------------------------------- | +| `variants` | [`AbiEntry`](types.md#abientry) & \{ `offset`: `number` }[] | +| `name` | `string` | +| `size` | `number` | +| `type` | `"enum"` | + +#### Defined in + +[src/types/lib/contract/abi.ts:40](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/contract/abi.ts#L40) + +--- + +### AbiEvents + +Ƭ **AbiEvents**: `Object` + +#### Index signature + +▪ [hash: `string`]: [`AbiEvent`](types.md#abievent) + +#### Defined in + +[src/types/lib/contract/abi.ts:53](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/contract/abi.ts#L53) + +--- + +### AbiEvent + +Ƭ **AbiEvent**: [`CairoEvent`](types.md#cairoevent) \| [`LegacyEvent`](types.md#legacyevent) + +#### Defined in + +[src/types/lib/contract/abi.ts:57](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/contract/abi.ts#L57) + +--- + +### CairoEvent + +Ƭ **CairoEvent**: [`CairoEventDefinition`](types.md#cairoeventdefinition) \| [`AbiEvents`](types.md#abievents) + +#### Defined in + +[src/types/lib/contract/abi.ts:60](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/contract/abi.ts#L60) + +--- + +### CairoEventDefinition + +Ƭ **CairoEventDefinition**: [`STRUCT_EVENT`](types.RPC.RPCSPEC07.API.md#struct_event) & \{ `name`: `string` ; `type`: `"event"` } + +#### Defined in + +[src/types/lib/contract/abi.ts:62](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/contract/abi.ts#L62) + +--- + +### CairoEventVariant + +Ƭ **CairoEventVariant**: [`ENUM_EVENT`](types.RPC.RPCSPEC07.API.md#enum_event) & \{ `name`: `string` ; `type`: `string` } + +#### Defined in + +[src/types/lib/contract/abi.ts:67](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/contract/abi.ts#L67) + +--- + +### LegacyEvent + +Ƭ **LegacyEvent**: `Object` + +#### Type declaration + +| Name | Type | +| :----- | :-------------------------------------------------------- | +| `name` | `string` | +| `type` | `"event"` | +| `data` | [`EVENT_FIELD`](types.RPC.RPCSPEC07.API.md#event_field)[] | +| `keys` | [`EVENT_FIELD`](types.RPC.RPCSPEC07.API.md#event_field)[] | + +#### Defined in + +[src/types/lib/contract/abi.ts:72](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/contract/abi.ts#L72) + +--- + +### LegacyContractClass + +Ƭ **LegacyContractClass**: `Object` + +format produced after compressing 'program' property + +#### Type declaration + +| Name | Type | +| :--------------------- | :------------------------------------------------ | +| `program` | [`CompressedProgram`](types.md#compressedprogram) | +| `entry_points_by_type` | [`EntryPointsByType`](types.md#entrypointsbytype) | +| `abi` | [`Abi`](types.md#abi) | + +#### Defined in + +[src/types/lib/contract/legacy.ts:7](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/contract/legacy.ts#L7) + +--- + +### LegacyCompiledContract + +Ƭ **LegacyCompiledContract**: `Omit`<[`LegacyContractClass`](types.md#legacycontractclass), `"program"`\> & \{ `program`: [`Program`](../interfaces/types.Program.md) } + +format produced after compiling .cairo to .json + +#### Defined in + +[src/types/lib/contract/legacy.ts:16](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/contract/legacy.ts#L16) + +--- + +### Builtins + +Ƭ **Builtins**: `string`[] + +SUBTYPES + +#### Defined in + +[src/types/lib/contract/legacy.ts:21](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/contract/legacy.ts#L21) + +--- + +### CompressedProgram + +Ƭ **CompressedProgram**: `string` + +#### Defined in + +[src/types/lib/contract/legacy.ts:22](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/contract/legacy.ts#L22) + +--- + +### EntryPointsByType + +Ƭ **EntryPointsByType**: `Object` + +#### Type declaration + +| Name | Type | +| :------------ | :---------------------------------------------------------------- | +| `CONSTRUCTOR` | [`ContractEntryPointFields`](types.md#contractentrypointfields)[] | +| `EXTERNAL` | [`ContractEntryPointFields`](types.md#contractentrypointfields)[] | +| `L1_HANDLER` | [`ContractEntryPointFields`](types.md#contractentrypointfields)[] | + +#### Defined in + +[src/types/lib/contract/legacy.ts:24](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/contract/legacy.ts#L24) + +--- + +### ContractEntryPointFields + +Ƭ **ContractEntryPointFields**: `Object` + +#### Type declaration + +| Name | Type | +| :---------- | :------------------------------ | +| `selector` | `string` | +| `offset` | `string` \| `number` | +| `builtins?` | [`Builtins`](types.md#builtins) | + +#### Defined in + +[src/types/lib/contract/legacy.ts:30](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/contract/legacy.ts#L30) + +--- + +### CairoAssembly + +Ƭ **CairoAssembly**: `Object` + +SYSTEM TYPES + +#### Type declaration + +| Name | Type | +| :-------------------------- | :------------------------------------------------ | +| `prime` | `string` | +| `compiler_version` | `string` | +| `bytecode` | [`ByteCode`](types.md#bytecode) | +| `hints` | `any`[] | +| `pythonic_hints?` | [`PythonicHints`](types.md#pythonichints) | +| `bytecode_segment_lengths?` | `number`[] | +| `entry_points_by_type` | [`EntryPointsByType`](types.md#entrypointsbytype) | + +#### Defined in + +[src/types/lib/contract/sierra.ts:5](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/contract/sierra.ts#L5) + +--- + +### CompiledSierra + +Ƭ **CompiledSierra**: `Object` + +format produced after starknet-compile .cairo to .json + +sierra_program is hex array + +#### Type declaration + +| Name | Type | +| :--------------------------- | :------------------------------------------------------------ | +| `sierra_program` | [`ByteCode`](types.md#bytecode) | +| `sierra_program_debug_info?` | [`SierraProgramDebugInfo`](types.md#sierraprogramdebuginfo) | +| `contract_class_version` | `string` | +| `entry_points_by_type` | [`SierraEntryPointsByType`](types.md#sierraentrypointsbytype) | +| `abi` | [`Abi`](types.md#abi) | + +#### Defined in + +[src/types/lib/contract/sierra.ts:21](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/contract/sierra.ts#L21) + +--- + +### SierraContractClass + +Ƭ **SierraContractClass**: `Omit`<[`CompiledSierra`](types.md#compiledsierra), `"abi"` \| `"sierra_program_debug_info"`\> & \{ `sierra_program`: `string` ; `abi`: `string` } + +format produced after compressing 'sierra_program', stringifies 'abi' property and omit sierra_program_debug_info + +CompressedCompiledSierra + +#### Defined in + +[src/types/lib/contract/sierra.ts:34](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/contract/sierra.ts#L34) + +--- + +### CompiledSierraCasm + +Ƭ **CompiledSierraCasm**: [`CairoAssembly`](types.md#cairoassembly) + +#### Defined in + +[src/types/lib/contract/sierra.ts:38](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/contract/sierra.ts#L38) + +--- + +### ByteCode + +Ƭ **ByteCode**: `string`[] + +SUBTYPES + +#### Defined in + +[src/types/lib/contract/sierra.ts:41](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/contract/sierra.ts#L41) + +--- + +### PythonicHints + +Ƭ **PythonicHints**: [`number`, `string`[]][] + +#### Defined in + +[src/types/lib/contract/sierra.ts:42](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/contract/sierra.ts#L42) + +--- + +### SierraProgramDebugInfo + +Ƭ **SierraProgramDebugInfo**: `Object` + +#### Type declaration + +| Name | Type | +| :---------------- | :--------------------- | +| `type_names` | [`number`, `string`][] | +| `libfunc_names` | [`number`, `string`][] | +| `user_func_names` | [`number`, `string`][] | + +#### Defined in + +[src/types/lib/contract/sierra.ts:44](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/contract/sierra.ts#L44) + +--- + +### SierraEntryPointsByType + +Ƭ **SierraEntryPointsByType**: `Object` + +#### Type declaration + +| Name | Type | +| :------------ | :---------------------------------------------------------------------------- | +| `CONSTRUCTOR` | [`SierraContractEntryPointFields`](types.md#sierracontractentrypointfields)[] | +| `EXTERNAL` | [`SierraContractEntryPointFields`](types.md#sierracontractentrypointfields)[] | +| `L1_HANDLER` | [`SierraContractEntryPointFields`](types.md#sierracontractentrypointfields)[] | + +#### Defined in + +[src/types/lib/contract/sierra.ts:50](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/contract/sierra.ts#L50) + +--- + +### SierraContractEntryPointFields + +Ƭ **SierraContractEntryPointFields**: `Object` + +#### Type declaration + +| Name | Type | +| :------------- | :------- | +| `selector` | `string` | +| `function_idx` | `number` | + +#### Defined in + +[src/types/lib/contract/sierra.ts:56](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/lib/contract/sierra.ts#L56) + +--- + +### RpcProviderOptions + +Ƭ **RpcProviderOptions**: `Object` + +#### Type declaration + +| Name | Type | +| :------------------------------------------- | :------------------------------------------------------------------------------------------ | +| `nodeUrl?` | `string` \| [`NetworkName`](../enums/constants.NetworkName.md) | +| `retries?` | `number` | +| `transactionRetryIntervalFallback?` | `number` | +| `headers?` | `object` | +| `blockIdentifier?` | [`BlockIdentifier`](types.md#blockidentifier) | +| `chainId?` | [`StarknetChainId`](../enums/constants.StarknetChainId.md) | +| `specVersion?` | `string` | +| `default?` | `boolean` | +| `waitMode?` | `boolean` | +| `feeMarginPercentage?` | \{ `l1BoundMaxAmount`: `number` ; `l1BoundMaxPricePerUnit`: `number` ; `maxFee`: `number` } | +| `feeMarginPercentage.l1BoundMaxAmount` | `number` | +| `feeMarginPercentage.l1BoundMaxPricePerUnit` | `number` | +| `feeMarginPercentage.maxFee` | `number` | + +#### Defined in + +[src/types/provider/configuration.ts:6](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/configuration.ts#L6) + +--- + +### BlockWithTxHashes + +Ƭ **BlockWithTxHashes**: `Merge`<[`BlockWithTxHashes`](types.RPC.RPCSPEC06.md#blockwithtxhashes), [`BlockWithTxHashes`](types.RPC.RPCSPEC07.API.md#blockwithtxhashes)\> + +#### Defined in + +[src/types/provider/spec.ts:101](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/spec.ts#L101) + +--- + +### ContractClassPayload + +Ƭ **ContractClassPayload**: `Merge`<[`ContractClass`](types.RPC.RPCSPEC06.md#contractclass), [`ContractClass`](types.RPC.RPCSPEC07.API.md#contractclass)\> + +#### Defined in + +[src/types/provider/spec.ts:102](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/spec.ts#L102) + +--- + +### FeeEstimate + +Ƭ **FeeEstimate**: `Merge`<[`FEE_ESTIMATE`](types.RPC.RPCSPEC06.SPEC.md#fee_estimate), [`FEE_ESTIMATE`](types.RPC.RPCSPEC07.API.SPEC.md#fee_estimate)\> + +#### Defined in + +[src/types/provider/spec.ts:104](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/spec.ts#L104) + +--- + +### TransactionReceipt + +Ƭ **TransactionReceipt**: `Merge`<[`TransactionReceipt`](types.RPC.RPCSPEC06.md#transactionreceipt), [`TransactionReceipt`](types.RPC.RPCSPEC07.API.md#transactionreceipt)\> + +#### Defined in + +[src/types/provider/spec.ts:110](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/spec.ts#L110) + +--- + +### GetBlockResponse + +Ƭ **GetBlockResponse**: [`PendingBlock`](types.md#pendingblock) \| [`Block`](types.md#block) + +#### Defined in + +[src/types/provider/response.ts:42](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/response.ts#L42) + +--- + +### PendingBlock + +Ƭ **PendingBlock**: `Object` + +#### Type declaration + +| Name | Type | +| :------------------ | :--------------- | +| `status` | `"PENDING"` | +| `parent_hash` | `BLOCK_HASH` | +| `timestamp` | `number` | +| `sequencer_address` | `FELT` | +| `l1_gas_price` | `RESOURCE_PRICE` | +| `starknet_version` | `string` | +| `transactions` | `TXN_HASH`[] | + +#### Defined in + +[src/types/provider/response.ts:44](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/response.ts#L44) + +--- + +### Block + +Ƭ **Block**: `Object` + +#### Type declaration + +| Name | Type | +| :------------------ | :------------------------------------------------------- | +| `status` | `"ACCEPTED_ON_L2"` \| `"ACCEPTED_ON_L1"` \| `"REJECTED"` | +| `block_hash` | `BLOCK_HASH` | +| `parent_hash` | `BLOCK_HASH` | +| `block_number` | `BLOCK_NUMBER` | +| `new_root` | `FELT` | +| `timestamp` | `number` | +| `sequencer_address` | `FELT` | +| `l1_gas_price` | `RESOURCE_PRICE` | +| `starknet_version` | `string` | +| `transactions` | `TXN_HASH`[] | + +#### Defined in + +[src/types/provider/response.ts:54](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/response.ts#L54) + +--- + +### RevertedTransactionReceiptResponse + +Ƭ **RevertedTransactionReceiptResponse**: `Object` + +#### Type declaration + +| Name | Type | +| :------------------- | :---------------------------------------------------------------------------------- | +| `type?` | [`TransactionType`](../enums/types.TransactionType.md) \| `any` | +| `execution_status` | [`REVERTED`](../enums/types.TransactionExecutionStatus.md#reverted) \| `any` | +| `finality_status` | [`TransactionFinalityStatus`](../enums/types.TransactionFinalityStatus.md) \| `any` | +| `status?` | [`TransactionStatus`](../enums/types.TransactionStatus.md) | +| `actual_fee` | `string` | +| `block_hash?` | `string` | +| `block_number?` | [`BlockNumber`](types.md#blocknumber) | +| `transaction_hash` | `string` | +| `transaction_index?` | `number` | +| `messages_sent` | [`MessageToL1`](../interfaces/types.MessageToL1.md)[] | +| `events` | `any`[] | +| `revert_reason?` | `string` | + +#### Defined in + +[src/types/provider/response.ts:72](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/response.ts#L72) + +--- + +### RejectedTransactionReceiptResponse + +Ƭ **RejectedTransactionReceiptResponse**: `Object` + +#### Type declaration + +| Name | Type | +| :----------------------------------------- | :------------------------------------------------ | +| `status` | \`$\{REJECTED}\` | +| `transaction_failure_reason` | \{ `code`: `string` ; `error_message`: `string` } | +| `transaction_failure_reason.code` | `string` | +| `transaction_failure_reason.error_message` | `string` | + +#### Defined in + +[src/types/provider/response.ts:87](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/response.ts#L87) + +--- + +### GetTxReceiptResponseWithoutHelper + +Ƭ **GetTxReceiptResponseWithoutHelper**: [`SuccessfulTransactionReceiptResponse`](types.md#successfultransactionreceiptresponse) \| [`RevertedTransactionReceiptResponse`](types.md#revertedtransactionreceiptresponse) \| [`RejectedTransactionReceiptResponse`](types.md#rejectedtransactionreceiptresponse) + +#### Defined in + +[src/types/provider/response.ts:95](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/response.ts#L95) + +--- + +### SuccessfulTransactionReceiptResponse + +Ƭ **SuccessfulTransactionReceiptResponse**: [`InvokeTransactionReceiptResponse`](types.md#invoketransactionreceiptresponse) \| [`DeployTransactionReceiptResponse`](types.md#deploytransactionreceiptresponse) \| [`DeclareTransactionReceiptResponse`](types.md#declaretransactionreceiptresponse) + +#### Defined in + +[src/types/provider/response.ts:100](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/response.ts#L100) + +--- + +### GetTransactionResponse + +Ƭ **GetTransactionResponse**: `TransactionWithHash` + +#### Defined in + +[src/types/provider/response.ts:105](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/response.ts#L105) + +--- + +### InvokeTransactionReceiptResponse + +Ƭ **InvokeTransactionReceiptResponse**: `INVOKE_TXN_RECEIPT` \| `PENDING_INVOKE_TXN_RECEIPT` + +#### Defined in + +[src/types/provider/response.ts:107](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/response.ts#L107) + +--- + +### DeclareTransactionReceiptResponse + +Ƭ **DeclareTransactionReceiptResponse**: `DECLARE_TXN_RECEIPT` \| `PENDING_DECLARE_TXN_RECEIPT` + +#### Defined in + +[src/types/provider/response.ts:108](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/response.ts#L108) + +--- + +### DeployTransactionReceiptResponse + +Ƭ **DeployTransactionReceiptResponse**: [`InvokeTransactionReceiptResponse`](types.md#invoketransactionreceiptresponse) + +#### Defined in + +[src/types/provider/response.ts:109](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/response.ts#L109) + +--- + +### DeployAccountTransactionReceiptResponse + +Ƭ **DeployAccountTransactionReceiptResponse**: `DEPLOY_ACCOUNT_TXN_RECEIPT` \| `PENDING_DEPLOY_ACCOUNT_TXN_RECEIPT` + +#### Defined in + +[src/types/provider/response.ts:110](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/response.ts#L110) + +--- + +### L1HandlerTransactionReceiptResponse + +Ƭ **L1HandlerTransactionReceiptResponse**: `L1_HANDLER_TXN_RECEIPT` \| `PENDING_L1_HANDLER_TXN_RECEIPT` + +#### Defined in + +[src/types/provider/response.ts:113](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/response.ts#L113) + +--- + +### EstimateFeeResponseBulk + +Ƭ **EstimateFeeResponseBulk**: [`EstimateFeeResponse`](../interfaces/types.EstimateFeeResponse.md)[] + +#### Defined in + +[src/types/provider/response.ts:128](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/response.ts#L128) + +--- + +### InvokeFunctionResponse + +Ƭ **InvokeFunctionResponse**: `InvokedTransaction` + +#### Defined in + +[src/types/provider/response.ts:130](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/response.ts#L130) + +--- + +### DeclareContractResponse + +Ƭ **DeclareContractResponse**: `DeclaredTransaction` + +#### Defined in + +[src/types/provider/response.ts:132](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/response.ts#L132) + +--- + +### CallContractResponse + +Ƭ **CallContractResponse**: `string`[] + +#### Defined in + +[src/types/provider/response.ts:134](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/response.ts#L134) + +--- + +### Storage + +Ƭ **Storage**: `FELT` + +#### Defined in + +[src/types/provider/response.ts:136](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/response.ts#L136) + +--- + +### Nonce + +Ƭ **Nonce**: `string` + +#### Defined in + +[src/types/provider/response.ts:138](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/response.ts#L138) + +--- + +### SIMULATION_FLAG + +Ƭ **SIMULATION_FLAG**: `Merge`<[`SIMULATION_FLAG`](types.RPC.RPCSPEC06.SPEC.md#simulation_flag), [`SIMULATION_FLAG`](types.RPC.RPCSPEC07.API.SPEC.md#simulation_flag)\> + +#### Defined in + +[src/types/provider/spec.ts:60](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/spec.ts#L60) + +--- + +### SimulationFlags + +Ƭ **SimulationFlags**: [`SIMULATION_FLAG`](types.md#simulation_flag)[] + +#### Defined in + +[src/types/provider/response.ts:141](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/response.ts#L141) + +--- + +### SimulatedTransaction + +Ƭ **SimulatedTransaction**: `SimulateTransaction` & \{ `suggestedMaxFee`: `bigint` ; `resourceBounds`: `ResourceBounds` } + +#### Defined in + +[src/types/provider/response.ts:143](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/response.ts#L143) + +--- + +### SimulateTransactionResponse + +Ƭ **SimulateTransactionResponse**: [`SimulatedTransaction`](types.md#simulatedtransaction)[] + +#### Defined in + +[src/types/provider/response.ts:148](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/response.ts#L148) + +--- + +### StateUpdateResponse + +Ƭ **StateUpdateResponse**: [`StateUpdate`](types.md#stateupdate) \| [`PendingStateUpdate`](types.md#pendingstateupdate) + +#### Defined in + +[src/types/provider/response.ts:150](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/response.ts#L150) + +--- + +### StateUpdate + +Ƭ **StateUpdate**: `STATE_UPDATE` + +#### Defined in + +[src/types/provider/response.ts:151](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/response.ts#L151) + +--- + +### PendingStateUpdate + +Ƭ **PendingStateUpdate**: `PENDING_STATE_UPDATE` + +#### Defined in + +[src/types/provider/response.ts:152](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/response.ts#L152) + +--- + +### ContractClassResponse + +Ƭ **ContractClassResponse**: [`LegacyContractClass`](types.md#legacycontractclass) \| `Omit`<[`CompiledSierra`](types.md#compiledsierra), `"sierra_program_debug_info"`\> + +Standardized type + +Cairo0 program compressed and Cairo1 sierra_program decompressed + +abi Abi + +CompiledSierra without '.sierra_program_debug_info' + +#### Defined in + +[src/types/provider/response.ts:163](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/provider/response.ts#L163) + +--- + +### InvocationsSignerDetails + +Ƭ **InvocationsSignerDetails**: [`V2InvocationsSignerDetails`](types.md#v2invocationssignerdetails) \| [`V3InvocationsSignerDetails`](types.md#v3invocationssignerdetails) & \{ `version`: \`$\{ETransactionVersion}\` ; `skipValidate?`: `boolean` } + +#### Defined in + +[src/types/signer.ts:11](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/signer.ts#L11) + +--- + +### V2InvocationsSignerDetails + +Ƭ **V2InvocationsSignerDetails**: `Object` + +#### Type declaration + +| Name | Type | +| :-------------- | :--------------------------------------------------------- | +| `walletAddress` | `string` | +| `cairoVersion` | [`CairoVersion`](types.md#cairoversion) | +| `chainId` | [`StarknetChainId`](../enums/constants.StarknetChainId.md) | +| `nonce` | [`BigNumberish`](types.md#bignumberish) | +| `maxFee` | [`BigNumberish`](types.md#bignumberish) | +| `version` | \`$\{ETransactionVersion2}\` | + +#### Defined in + +[src/types/signer.ts:16](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/signer.ts#L16) + +--- + +### V3InvocationsSignerDetails + +Ƭ **V3InvocationsSignerDetails**: [`V3TransactionDetails`](types.md#v3transactiondetails) & \{ `walletAddress`: `string` ; `cairoVersion`: [`CairoVersion`](types.md#cairoversion) ; `chainId`: [`StarknetChainId`](../enums/constants.StarknetChainId.md) ; `version`: \`$\{ETransactionVersion3}\` } + +#### Defined in + +[src/types/signer.ts:25](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/signer.ts#L25) + +--- + +### DeclareSignerDetails + +Ƭ **DeclareSignerDetails**: [`V3DeclareSignerDetails`](types.md#v3declaresignerdetails) \| [`V2DeclareSignerDetails`](types.md#v2declaresignerdetails) & \{ `version`: \`$\{ETransactionVersion}\` } + +#### Defined in + +[src/types/signer.ts:32](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/signer.ts#L32) + +--- + +### V2DeclareSignerDetails + +Ƭ **V2DeclareSignerDetails**: `Required`<[`InvocationsDetails`](types.md#invocationsdetails)\> & \{ `classHash`: `string` ; `compiledClassHash?`: `string` ; `senderAddress`: `string` ; `chainId`: [`StarknetChainId`](../enums/constants.StarknetChainId.md) ; `version`: \`$\{ETransactionVersion2}\` } + +#### Defined in + +[src/types/signer.ts:36](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/signer.ts#L36) + +--- + +### V3DeclareSignerDetails + +Ƭ **V3DeclareSignerDetails**: [`V3TransactionDetails`](types.md#v3transactiondetails) & \{ `classHash`: `string` ; `compiledClassHash`: `string` ; `senderAddress`: `string` ; `chainId`: [`StarknetChainId`](../enums/constants.StarknetChainId.md) ; `version`: \`$\{ETransactionVersion3}\` } + +#### Defined in + +[src/types/signer.ts:44](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/signer.ts#L44) + +--- + +### DeployAccountSignerDetails + +Ƭ **DeployAccountSignerDetails**: [`V2DeployAccountSignerDetails`](types.md#v2deployaccountsignerdetails) \| [`V3DeployAccountSignerDetails`](types.md#v3deployaccountsignerdetails) + +#### Defined in + +[src/types/signer.ts:52](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/signer.ts#L52) + +--- + +### V2DeployAccountSignerDetails + +Ƭ **V2DeployAccountSignerDetails**: `Required`<[`DeployAccountContractPayload`](types.md#deployaccountcontractpayload)\> & `Required`<[`InvocationsDetails`](types.md#invocationsdetails)\> & \{ `contractAddress`: [`BigNumberish`](types.md#bignumberish) ; `chainId`: [`StarknetChainId`](../enums/constants.StarknetChainId.md) ; `version`: \`$\{ETransactionVersion2}\` } + +#### Defined in + +[src/types/signer.ts:56](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/signer.ts#L56) + +--- + +### V3DeployAccountSignerDetails + +Ƭ **V3DeployAccountSignerDetails**: `Required`<[`DeployAccountContractPayload`](types.md#deployaccountcontractpayload)\> & [`V3TransactionDetails`](types.md#v3transactiondetails) & \{ `contractAddress`: [`BigNumberish`](types.md#bignumberish) ; `chainId`: [`StarknetChainId`](../enums/constants.StarknetChainId.md) ; `version`: \`$\{ETransactionVersion3}\` } + +#### Defined in + +[src/types/signer.ts:63](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/signer.ts#L63) + +--- + +### CairoEnum + +Ƭ **CairoEnum**: [`CairoCustomEnum`](../classes/CairoCustomEnum.md) \| [`CairoOption`](../classes/CairoOption.md)<`any`\> \| [`CairoResult`](../classes/CairoResult.md)<`any`, `any`\> + +#### Defined in + +[src/types/cairoEnum.ts:3](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/cairoEnum.ts#L3) + +--- + +### TransactionStatusReceiptSets + +Ƭ **TransactionStatusReceiptSets**: `Object` + +#### Type declaration + +| Name | Type | +| :--------- | :-------------------------------------------------------------------------------------- | +| `success` | [`SuccessfulTransactionReceiptResponse`](types.md#successfultransactionreceiptresponse) | +| `reverted` | [`RevertedTransactionReceiptResponse`](types.md#revertedtransactionreceiptresponse) | +| `rejected` | [`RejectedTransactionReceiptResponse`](types.md#rejectedtransactionreceiptresponse) | +| `error` | `Error` | + +#### Defined in + +[src/types/transactionReceipt.ts:7](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/transactionReceipt.ts#L7) + +--- + +### TransactionReceiptStatus + +Ƭ **TransactionReceiptStatus**: keyof [`TransactionStatusReceiptSets`](types.md#transactionstatusreceiptsets) + +#### Defined in + +[src/types/transactionReceipt.ts:13](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/transactionReceipt.ts#L13) + +--- + +### TransactionReceiptValue + +Ƭ **TransactionReceiptValue**: [`TransactionStatusReceiptSets`](types.md#transactionstatusreceiptsets)[[`TransactionReceiptStatus`](types.md#transactionreceiptstatus)] + +#### Defined in + +[src/types/transactionReceipt.ts:14](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/transactionReceipt.ts#L14) + +--- + +### TransactionReceiptCallbacksDefined + +Ƭ **TransactionReceiptCallbacksDefined**: \{ [key in TransactionReceiptStatus]: Function } + +#### Defined in + +[src/types/transactionReceipt.ts:16](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/transactionReceipt.ts#L16) + +--- + +### TransactionReceiptCallbacksDefault + +Ƭ **TransactionReceiptCallbacksDefault**: `Partial`<[`TransactionReceiptCallbacksDefined`](types.md#transactionreceiptcallbacksdefined)\> & \{ `_`: () => `void` } + +#### Defined in + +[src/types/transactionReceipt.ts:19](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/transactionReceipt.ts#L19) + +--- + +### TransactionReceiptCallbacks + +Ƭ **TransactionReceiptCallbacks**: [`TransactionReceiptCallbacksDefined`](types.md#transactionreceiptcallbacksdefined) \| [`TransactionReceiptCallbacksDefault`](types.md#transactionreceiptcallbacksdefault) + +#### Defined in + +[src/types/transactionReceipt.ts:22](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/transactionReceipt.ts#L22) + +--- + +### TransactionReceiptUtilityInterface + +Ƭ **TransactionReceiptUtilityInterface**: \{ `statusReceipt`: [`TransactionReceiptStatus`](types.md#transactionreceiptstatus) ; `value`: [`TransactionReceiptValue`](types.md#transactionreceiptvalue) ; `match`: (`callbacks`: [`TransactionReceiptCallbacks`](types.md#transactionreceiptcallbacks)) => `void` } & \{ [key in \`is$\{Capitalize}\`]: Function } + +#### Defined in + +[src/types/transactionReceipt.ts:26](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/types/transactionReceipt.ts#L26) diff --git a/www/versioned_docs/version-6.11.0/API/namespaces/uint256.md b/www/versioned_docs/version-6.11.0/API/namespaces/uint256.md new file mode 100644 index 000000000..644a0ea94 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/namespaces/uint256.md @@ -0,0 +1,126 @@ +--- +id: 'uint256' +title: 'Namespace: uint256' +sidebar_label: 'uint256' +sidebar_position: 0 +custom_edit_url: null +--- + +## Variables + +### UINT_128_MAX + +• `Const` **UINT_128_MAX**: `bigint` + +#### Defined in + +[src/utils/cairoDataTypes/uint256.ts:10](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/cairoDataTypes/uint256.ts#L10) + +--- + +### UINT_256_MAX + +• `Const` **UINT_256_MAX**: `bigint` + +#### Defined in + +[src/utils/cairoDataTypes/uint256.ts:11](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/cairoDataTypes/uint256.ts#L11) + +## Functions + +### uint256ToBN + +▸ **uint256ToBN**(`uint256`): `bigint` + +Convert Uint256 to bigint +Legacy support Export + +#### Parameters + +| Name | Type | Description | +| :-------- | :------------------------------------------ | :--------------------------------- | +| `uint256` | [`Uint256`](../interfaces/types.Uint256.md) | Uint256 value to convert to bigint | + +#### Returns + +`bigint` + +BigInt representation of the input Uint256 + +**`Example`** + +```typescript +const uint256Value: Uint256 = { low: 1234567890, high: 1 }; +const result = uint256.uint256ToBN(uint256Value); +// result = 340282366920938463463374607433002779346n +``` + +#### Defined in + +[src/utils/uint256.ts:22](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/uint256.ts#L22) + +--- + +### isUint256 + +▸ **isUint256**(`bn`): `boolean` + +Test BigNumberish is in the range[0, 2**256-1] +Legacy support Export + +#### Parameters + +| Name | Type | Description | +| :--- | :-------------------------------------- | :------------ | +| `bn` | [`BigNumberish`](types.md#bignumberish) | value to test | + +#### Returns + +`boolean` + +True if the input value is in the range[0, 2**256-1], false otherwise + +**`Example`** + +```typescript +const result = uint256.isUint256(12345n); +// result = true +const result1 = uint256.isUint256(-1); +// result1 = false +``` + +#### Defined in + +[src/utils/uint256.ts:39](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/uint256.ts#L39) + +--- + +### bnToUint256 + +▸ **bnToUint256**(`bn`): [`Uint256`](../interfaces/types.Uint256.md) + +Convert BigNumberish (string | number | bigint) to Uint256 +Legacy support Export + +#### Parameters + +| Name | Type | Description | +| :--- | :-------------------------------------- | :-------------------------- | +| `bn` | [`BigNumberish`](types.md#bignumberish) | value to convert to Uint256 | + +#### Returns + +[`Uint256`](../interfaces/types.Uint256.md) + +Uint256 object representing the BigNumberish value + +**`Example`** + +```typescript +const result = uint256.bnToUint256(1000000000n); +// result = {"low": "0x3b9aca00", "high": "0x0"} +``` + +#### Defined in + +[src/utils/uint256.ts:54](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/uint256.ts#L54) diff --git a/www/versioned_docs/version-6.11.0/API/namespaces/v2hash.md b/www/versioned_docs/version-6.11.0/API/namespaces/v2hash.md new file mode 100644 index 000000000..3f3824e40 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/namespaces/v2hash.md @@ -0,0 +1,154 @@ +--- +id: 'v2hash' +title: 'Namespace: v2hash' +sidebar_label: 'v2hash' +sidebar_position: 0 +custom_edit_url: null +--- + +## Functions + +### computeHashOnElements + +▸ **computeHashOnElements**(`data`): `string` + +Compute pedersen hash from data + +#### Parameters + +| Name | Type | +| :----- | :---------------------------------------- | +| `data` | [`BigNumberish`](types.md#bignumberish)[] | + +#### Returns + +`string` + +format: hex-string - pedersen hash + +#### Defined in + +[src/utils/hash/transactionHash/v2.ts:16](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/hash/transactionHash/v2.ts#L16) + +--- + +### calculateTransactionHashCommon + +▸ **calculateTransactionHashCommon**(`txHashPrefix`, `version`, `contractAddress`, `entryPointSelector`, `calldata`, `maxFee`, `chainId`, `additionalData?`): `string` + +Calculate transaction pedersen hash for common properties + +Following implementation is based on this python [implementation #](https://github.com/starkware-libs/cairo-lang/blob/b614d1867c64f3fb2cf4a4879348cfcf87c3a5a7/src/starkware/starknet/core/os/transaction_hash/transaction_hash.py) + +#### Parameters + +| Name | Type | Default value | +| :------------------- | :--------------------------------------------------------------------- | :------------ | +| `txHashPrefix` | [`TransactionHashPrefix`](../enums/constants.TransactionHashPrefix.md) | `undefined` | +| `version` | [`BigNumberish`](types.md#bignumberish) | `undefined` | +| `contractAddress` | [`BigNumberish`](types.md#bignumberish) | `undefined` | +| `entryPointSelector` | [`BigNumberish`](types.md#bignumberish) | `undefined` | +| `calldata` | [`RawCalldata`](types.md#rawcalldata) | `undefined` | +| `maxFee` | [`BigNumberish`](types.md#bignumberish) | `undefined` | +| `chainId` | [`StarknetChainId`](../enums/constants.StarknetChainId.md) | `undefined` | +| `additionalData` | [`BigNumberish`](types.md#bignumberish)[] | `[]` | + +#### Returns + +`string` + +format: hex-string + +#### Defined in + +[src/utils/hash/transactionHash/v2.ts:28](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/hash/transactionHash/v2.ts#L28) + +--- + +### calculateDeclareTransactionHash + +▸ **calculateDeclareTransactionHash**(`classHash`, `senderAddress`, `version`, `maxFee`, `chainId`, `nonce`, `compiledClassHash?`): `string` + +Calculate declare transaction hash + +#### Parameters + +| Name | Type | Description | +| :------------------- | :--------------------------------------------------------- | :---------- | +| `classHash` | `string` | hex-string | +| `senderAddress` | [`BigNumberish`](types.md#bignumberish) | - | +| `version` | [`BigNumberish`](types.md#bignumberish) | - | +| `maxFee` | [`BigNumberish`](types.md#bignumberish) | - | +| `chainId` | [`StarknetChainId`](../enums/constants.StarknetChainId.md) | - | +| `nonce` | [`BigNumberish`](types.md#bignumberish) | - | +| `compiledClassHash?` | `string` | hex-string | + +#### Returns + +`string` + +format: hex-string + +#### Defined in + +[src/utils/hash/transactionHash/v2.ts:58](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/hash/transactionHash/v2.ts#L58) + +--- + +### calculateDeployAccountTransactionHash + +▸ **calculateDeployAccountTransactionHash**(`contractAddress`, `classHash`, `constructorCalldata`, `salt`, `version`, `maxFee`, `chainId`, `nonce`): `string` + +Calculate deploy_account transaction hash + +#### Parameters + +| Name | Type | +| :-------------------- | :--------------------------------------------------------- | +| `contractAddress` | [`BigNumberish`](types.md#bignumberish) | +| `classHash` | [`BigNumberish`](types.md#bignumberish) | +| `constructorCalldata` | [`RawCalldata`](types.md#rawcalldata) | +| `salt` | [`BigNumberish`](types.md#bignumberish) | +| `version` | [`BigNumberish`](types.md#bignumberish) | +| `maxFee` | [`BigNumberish`](types.md#bignumberish) | +| `chainId` | [`StarknetChainId`](../enums/constants.StarknetChainId.md) | +| `nonce` | [`BigNumberish`](types.md#bignumberish) | + +#### Returns + +`string` + +format: hex-string + +#### Defined in + +[src/utils/hash/transactionHash/v2.ts:83](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/hash/transactionHash/v2.ts#L83) + +--- + +### calculateTransactionHash + +▸ **calculateTransactionHash**(`contractAddress`, `version`, `calldata`, `maxFee`, `chainId`, `nonce`): `string` + +Calculate invoke transaction hash + +#### Parameters + +| Name | Type | +| :---------------- | :--------------------------------------------------------- | +| `contractAddress` | [`BigNumberish`](types.md#bignumberish) | +| `version` | [`BigNumberish`](types.md#bignumberish) | +| `calldata` | [`RawCalldata`](types.md#rawcalldata) | +| `maxFee` | [`BigNumberish`](types.md#bignumberish) | +| `chainId` | [`StarknetChainId`](../enums/constants.StarknetChainId.md) | +| `nonce` | [`BigNumberish`](types.md#bignumberish) | + +#### Returns + +`string` + +format: hex-string + +#### Defined in + +[src/utils/hash/transactionHash/v2.ts:111](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/hash/transactionHash/v2.ts#L111) diff --git a/www/versioned_docs/version-6.11.0/API/namespaces/v3hash.md b/www/versioned_docs/version-6.11.0/API/namespaces/v3hash.md new file mode 100644 index 000000000..7cd8b4615 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/namespaces/v3hash.md @@ -0,0 +1,183 @@ +--- +id: 'v3hash' +title: 'Namespace: v3hash' +sidebar_label: 'v3hash' +sidebar_position: 0 +custom_edit_url: null +--- + +## Functions + +### hashDAMode + +▸ **hashDAMode**(`nonceDAMode`, `feeDAMode`): `bigint` + +#### Parameters + +| Name | Type | +| :------------ | :-------------------------------------- | +| `nonceDAMode` | [`BigNumberish`](types.md#bignumberish) | +| `feeDAMode` | [`BigNumberish`](types.md#bignumberish) | + +#### Returns + +`bigint` + +#### Defined in + +[src/utils/hash/transactionHash/v3.ts:23](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/hash/transactionHash/v3.ts#L23) + +--- + +### hashFeeField + +▸ **hashFeeField**(`tip`, `bounds`): `bigint` + +#### Parameters + +| Name | Type | +| :------- | :----------------------------------------------------------------------------------- | +| `tip` | [`BigNumberish`](types.md#bignumberish) | +| `bounds` | [`RESOURCE_BOUNDS_MAPPING`](types.RPC.RPCSPEC07.API.SPEC.md#resource_bounds_mapping) | + +#### Returns + +`bigint` + +#### Defined in + +[src/utils/hash/transactionHash/v3.ts:27](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/hash/transactionHash/v3.ts#L27) + +--- + +### calculateTransactionHashCommon + +▸ **calculateTransactionHashCommon**(`txHashPrefix`, `version`, `senderAddress`, `chainId`, `nonce`, `tip`, `paymasterData`, `nonceDataAvailabilityMode`, `feeDataAvailabilityMode`, `resourceBounds`, `additionalData?`): `string` + +#### Parameters + +| Name | Type | Default value | +| :-------------------------- | :----------------------------------------------------------------------------------- | :------------ | +| `txHashPrefix` | [`TransactionHashPrefix`](../enums/constants.TransactionHashPrefix.md) | `undefined` | +| `version` | [`BigNumberish`](types.md#bignumberish) | `undefined` | +| `senderAddress` | [`BigNumberish`](types.md#bignumberish) | `undefined` | +| `chainId` | [`StarknetChainId`](../enums/constants.StarknetChainId.md) | `undefined` | +| `nonce` | [`BigNumberish`](types.md#bignumberish) | `undefined` | +| `tip` | [`BigNumberish`](types.md#bignumberish) | `undefined` | +| `paymasterData` | [`BigNumberish`](types.md#bignumberish)[] | `undefined` | +| `nonceDataAvailabilityMode` | [`EDAMode`](types.RPC.RPCSPEC07.API.md#edamode-1) | `undefined` | +| `feeDataAvailabilityMode` | [`EDAMode`](types.RPC.RPCSPEC07.API.md#edamode-1) | `undefined` | +| `resourceBounds` | [`RESOURCE_BOUNDS_MAPPING`](types.RPC.RPCSPEC07.API.SPEC.md#resource_bounds_mapping) | `undefined` | +| `additionalData` | [`BigNumberish`](types.md#bignumberish)[] | `[]` | + +#### Returns + +`string` + +#### Defined in + +[src/utils/hash/transactionHash/v3.ts:41](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/hash/transactionHash/v3.ts#L41) + +--- + +### calculateDeployAccountTransactionHash + +▸ **calculateDeployAccountTransactionHash**(`contractAddress`, `classHash`, `compiledConstructorCalldata`, `salt`, `version`, `chainId`, `nonce`, `nonceDataAvailabilityMode`, `feeDataAvailabilityMode`, `resourceBounds`, `tip`, `paymasterData`): `string` + +Calculate v3 deploy_account transaction hash + +#### Parameters + +| Name | Type | +| :---------------------------- | :----------------------------------------------------------------------------------- | +| `contractAddress` | [`BigNumberish`](types.md#bignumberish) | +| `classHash` | [`BigNumberish`](types.md#bignumberish) | +| `compiledConstructorCalldata` | [`Calldata`](types.md#calldata) | +| `salt` | [`BigNumberish`](types.md#bignumberish) | +| `version` | [`BigNumberish`](types.md#bignumberish) | +| `chainId` | [`StarknetChainId`](../enums/constants.StarknetChainId.md) | +| `nonce` | [`BigNumberish`](types.md#bignumberish) | +| `nonceDataAvailabilityMode` | [`EDAMode`](types.RPC.RPCSPEC07.API.md#edamode-1) | +| `feeDataAvailabilityMode` | [`EDAMode`](types.RPC.RPCSPEC07.API.md#edamode-1) | +| `resourceBounds` | [`RESOURCE_BOUNDS_MAPPING`](types.RPC.RPCSPEC07.API.SPEC.md#resource_bounds_mapping) | +| `tip` | [`BigNumberish`](types.md#bignumberish) | +| `paymasterData` | [`BigNumberish`](types.md#bignumberish)[] | + +#### Returns + +`string` + +format: hex-string + +#### Defined in + +[src/utils/hash/transactionHash/v3.ts:74](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/hash/transactionHash/v3.ts#L74) + +--- + +### calculateDeclareTransactionHash + +▸ **calculateDeclareTransactionHash**(`classHash`, `compiledClassHash`, `senderAddress`, `version`, `chainId`, `nonce`, `accountDeploymentData`, `nonceDataAvailabilityMode`, `feeDataAvailabilityMode`, `resourceBounds`, `tip`, `paymasterData`): `string` + +Calculate v3 declare transaction hash + +#### Parameters + +| Name | Type | +| :-------------------------- | :----------------------------------------------------------------------------------- | +| `classHash` | `string` | +| `compiledClassHash` | `string` | +| `senderAddress` | [`BigNumberish`](types.md#bignumberish) | +| `version` | [`BigNumberish`](types.md#bignumberish) | +| `chainId` | [`StarknetChainId`](../enums/constants.StarknetChainId.md) | +| `nonce` | [`BigNumberish`](types.md#bignumberish) | +| `accountDeploymentData` | [`BigNumberish`](types.md#bignumberish)[] | +| `nonceDataAvailabilityMode` | [`EDAMode`](types.RPC.RPCSPEC07.API.md#edamode-1) | +| `feeDataAvailabilityMode` | [`EDAMode`](types.RPC.RPCSPEC07.API.md#edamode-1) | +| `resourceBounds` | [`RESOURCE_BOUNDS_MAPPING`](types.RPC.RPCSPEC07.API.SPEC.md#resource_bounds_mapping) | +| `tip` | [`BigNumberish`](types.md#bignumberish) | +| `paymasterData` | [`BigNumberish`](types.md#bignumberish)[] | + +#### Returns + +`string` + +format: hex-string + +#### Defined in + +[src/utils/hash/transactionHash/v3.ts:107](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/hash/transactionHash/v3.ts#L107) + +--- + +### calculateInvokeTransactionHash + +▸ **calculateInvokeTransactionHash**(`senderAddress`, `version`, `compiledCalldata`, `chainId`, `nonce`, `accountDeploymentData`, `nonceDataAvailabilityMode`, `feeDataAvailabilityMode`, `resourceBounds`, `tip`, `paymasterData`): `string` + +Calculate v3 invoke transaction hash + +#### Parameters + +| Name | Type | +| :-------------------------- | :----------------------------------------------------------------------------------- | +| `senderAddress` | [`BigNumberish`](types.md#bignumberish) | +| `version` | [`BigNumberish`](types.md#bignumberish) | +| `compiledCalldata` | [`Calldata`](types.md#calldata) | +| `chainId` | [`StarknetChainId`](../enums/constants.StarknetChainId.md) | +| `nonce` | [`BigNumberish`](types.md#bignumberish) | +| `accountDeploymentData` | [`BigNumberish`](types.md#bignumberish)[] | +| `nonceDataAvailabilityMode` | [`EDAMode`](types.RPC.RPCSPEC07.API.md#edamode-1) | +| `feeDataAvailabilityMode` | [`EDAMode`](types.RPC.RPCSPEC07.API.md#edamode-1) | +| `resourceBounds` | [`RESOURCE_BOUNDS_MAPPING`](types.RPC.RPCSPEC07.API.SPEC.md#resource_bounds_mapping) | +| `tip` | [`BigNumberish`](types.md#bignumberish) | +| `paymasterData` | [`BigNumberish`](types.md#bignumberish)[] | + +#### Returns + +`string` + +format: hex-string + +#### Defined in + +[src/utils/hash/transactionHash/v3.ts:140](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/utils/hash/transactionHash/v3.ts#L140) diff --git a/www/versioned_docs/version-6.11.0/API/namespaces/wallet.md b/www/versioned_docs/version-6.11.0/API/namespaces/wallet.md new file mode 100644 index 000000000..d6e2ceeb7 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/API/namespaces/wallet.md @@ -0,0 +1,325 @@ +--- +id: 'wallet' +title: 'Namespace: wallet' +sidebar_label: 'wallet' +sidebar_position: 0 +custom_edit_url: null +--- + +## Functions + +### requestAccounts + +▸ **requestAccounts**(`swo`, `silent_mode?`): `Promise`<`string`[]\> + +Request Permission for wallet account, return addresses that are allowed by user + +#### Parameters + +| Name | Type | Default value | Description | +| :------------- | :--------------------------------------------------------------------------------------------- | :------------ | :----------------------------------------------------------------------- | +| `swo` | [`StarknetWindowObject`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.StarknetWindowObject.md) | `undefined` | - | +| `silent_mode?` | `boolean` | `false` | false: request user interaction allowance. true: return only pre-allowed | + +#### Returns + +`Promise`<`string`[]\> + +allowed accounts addresses + +#### Defined in + +[src/wallet/connect.ts:20](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/wallet/connect.ts#L20) + +--- + +### getPermissions + +▸ **getPermissions**(`swo`): `Promise`<[] \| `"accounts"`[]\> + +Request Permission for wallet account + +#### Parameters + +| Name | Type | +| :---- | :--------------------------------------------------------------------------------------------- | +| `swo` | [`StarknetWindowObject`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.StarknetWindowObject.md) | + +#### Returns + +`Promise`<[] \| `"accounts"`[]\> + +allowed accounts addresses + +#### Defined in + +[src/wallet/connect.ts:33](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/wallet/connect.ts#L33) + +--- + +### watchAsset + +▸ **watchAsset**(`swo`, `asset`): `Promise`<`boolean`\> + +Request adding ERC20 Token to Wallet List + +#### Parameters + +| Name | Type | Description | +| :------ | :--------------------------------------------------------------------------------------------- | :------------------- | +| `swo` | [`StarknetWindowObject`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.StarknetWindowObject.md) | - | +| `asset` | [`WatchAssetParameters`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.WatchAssetParameters.md) | WatchAssetParameters | + +#### Returns + +`Promise`<`boolean`\> + +boolean + +#### Defined in + +[src/wallet/connect.ts:42](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/wallet/connect.ts#L42) + +--- + +### addStarknetChain + +▸ **addStarknetChain**(`swo`, `chain`): `Promise`<`boolean`\> + +Request adding custom Starknet chain + +#### Parameters + +| Name | Type | Description | +| :------ | :--------------------------------------------------------------------------------------------------------- | :------------------------- | +| `swo` | [`StarknetWindowObject`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.StarknetWindowObject.md) | - | +| `chain` | [`AddStarknetChainParameters`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.AddStarknetChainParameters.md) | AddStarknetChainParameters | + +#### Returns + +`Promise`<`boolean`\> + +boolean + +#### Defined in + +[src/wallet/connect.ts:54](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/wallet/connect.ts#L54) + +--- + +### switchStarknetChain + +▸ **switchStarknetChain**(`swo`, `chainId`): `Promise`<`boolean`\> + +Request Wallet Network change + +#### Parameters + +| Name | Type | Description | +| :-------- | :--------------------------------------------------------------------------------------------- | :-------------- | +| `swo` | [`StarknetWindowObject`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.StarknetWindowObject.md) | - | +| `chainId` | `string` | StarknetChainId | + +#### Returns + +`Promise`<`boolean`\> + +boolean + +#### Defined in + +[src/wallet/connect.ts:67](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/wallet/connect.ts#L67) + +--- + +### requestChainId + +▸ **requestChainId**(`swo`): `Promise`<`string`\> + +Request the current chain ID from the wallet. + +#### Parameters + +| Name | Type | +| :---- | :--------------------------------------------------------------------------------------------- | +| `swo` | [`StarknetWindowObject`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.StarknetWindowObject.md) | + +#### Returns + +`Promise`<`string`\> + +The current Starknet chain ID. + +#### Defined in + +[src/wallet/connect.ts:80](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/wallet/connect.ts#L80) + +--- + +### deploymentData + +▸ **deploymentData**(`swo`): `Promise`<[`AccountDeploymentData`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.AccountDeploymentData.md)\> + +Get deployment data for a contract. + +#### Parameters + +| Name | Type | +| :---- | :--------------------------------------------------------------------------------------------- | +| `swo` | [`StarknetWindowObject`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.StarknetWindowObject.md) | + +#### Returns + +`Promise`<[`AccountDeploymentData`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.AccountDeploymentData.md)\> + +The deployment data result. + +#### Defined in + +[src/wallet/connect.ts:88](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/wallet/connect.ts#L88) + +--- + +### addInvokeTransaction + +▸ **addInvokeTransaction**(`swo`, `params`): `Promise`<[`AddInvokeTransactionResult`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.AddInvokeTransactionResult.md)\> + +Add an invoke transaction to the wallet. + +#### Parameters + +| Name | Type | Description | +| :------- | :----------------------------------------------------------------------------------------------------------------- | :-------------------------------------------------- | +| `swo` | [`StarknetWindowObject`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.StarknetWindowObject.md) | - | +| `params` | [`AddInvokeTransactionParameters`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.AddInvokeTransactionParameters.md) | The parameters required for the invoke transaction. | + +#### Returns + +`Promise`<[`AddInvokeTransactionResult`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.AddInvokeTransactionResult.md)\> + +The result of adding the invoke transaction. + +#### Defined in + +[src/wallet/connect.ts:97](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/wallet/connect.ts#L97) + +--- + +### addDeclareTransaction + +▸ **addDeclareTransaction**(`swo`, `params`): `Promise`<[`AddDeclareTransactionResult`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.AddDeclareTransactionResult.md)\> + +Add a declare transaction to the wallet. + +#### Parameters + +| Name | Type | Description | +| :------- | :------------------------------------------------------------------------------------------------------------------- | :--------------------------------------------------- | +| `swo` | [`StarknetWindowObject`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.StarknetWindowObject.md) | - | +| `params` | [`AddDeclareTransactionParameters`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.AddDeclareTransactionParameters.md) | The parameters required for the declare transaction. | + +#### Returns + +`Promise`<[`AddDeclareTransactionResult`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.AddDeclareTransactionResult.md)\> + +The result of adding the declare transaction. + +#### Defined in + +[src/wallet/connect.ts:112](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/wallet/connect.ts#L112) + +--- + +### signMessage + +▸ **signMessage**(`swo`, `typedData`): `Promise`<[`SIGNATURE`](types.RPC.RPCSPEC07.API.SPEC.md#signature)\> + +Sign typed data using the wallet. + +#### Parameters + +| Name | Type | Description | +| :---------- | :--------------------------------------------------------------------------------------------- | :------------------------------------------------------------ | +| `swo` | [`StarknetWindowObject`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.StarknetWindowObject.md) | the starknet (wallet) window object to request the signature. | +| `typedData` | [`TypedData`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.TypedData.md) | The typed data to sign. | + +#### Returns + +`Promise`<[`SIGNATURE`](types.RPC.RPCSPEC07.API.SPEC.md#signature)\> + +An array of signatures as strings. + +#### Defined in + +[src/wallet/connect.ts:128](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/wallet/connect.ts#L128) + +--- + +### supportedSpecs + +▸ **supportedSpecs**(`swo`): `Promise`<`string`[]\> + +Get the list of supported specifications. + +#### Parameters + +| Name | Type | +| :---- | :--------------------------------------------------------------------------------------------- | +| `swo` | [`StarknetWindowObject`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.StarknetWindowObject.md) | + +#### Returns + +`Promise`<`string`[]\> + +An array of supported specification strings. + +#### Defined in + +[src/wallet/connect.ts:139](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/wallet/connect.ts#L139) + +--- + +### onAccountChange + +▸ **onAccountChange**(`swo`, `callback`): `void` + +Attaches an event handler function to the "accountsChanged" event of a StarknetWindowObject. +When the accounts are changed, the specified callback function will be called. + +#### Parameters + +| Name | Type | Description | +| :--------- | :--------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------ | +| `swo` | [`StarknetWindowObject`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.StarknetWindowObject.md) | The StarknetWindowObject to attach the event handler to. | +| `callback` | [`AccountChangeEventHandler`](types.RPC.RPCSPEC07.WALLET_API.md#accountchangeeventhandler) | The function to be called when the accounts are changed. It will receive the changed accounts as a parameter. | + +#### Returns + +`void` + +#### Defined in + +[src/wallet/connect.ts:152](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/wallet/connect.ts#L152) + +--- + +### onNetworkChanged + +▸ **onNetworkChanged**(`swo`, `callback`): `void` + +Register a callback function to be called when the network is changed. + +#### Parameters + +| Name | Type | Description | +| :--------- | :--------------------------------------------------------------------------------------------- | :-------------------------------------------------------------- | +| `swo` | [`StarknetWindowObject`](../interfaces/types.RPC.RPCSPEC07.WALLET_API.StarknetWindowObject.md) | The StarknetWindowObject instance. | +| `callback` | [`NetworkChangeEventHandler`](types.RPC.RPCSPEC07.WALLET_API.md#networkchangeeventhandler) | The callback function to be called when the network is changed. | + +#### Returns + +`void` + +#### Defined in + +[src/wallet/connect.ts:166](https://github.com/starknet-io/starknet.js/blob/v6.11.0/src/wallet/connect.ts#L166) diff --git a/www/versioned_docs/version-6.11.0/guides/L1message.md b/www/versioned_docs/version-6.11.0/guides/L1message.md new file mode 100644 index 000000000..d4f8ecc30 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/guides/L1message.md @@ -0,0 +1,65 @@ +--- +sidebar_position: 14 +--- + +# Messages with L1 network + +You can exchange messages between L1 & L2 networks: + +- L2 Starknet mainnet ↔️ L1 Ethereum. +- L2 Starknet testnet ↔️ L1 Sepolia ETH testnet. +- L2 local Starknet devnet ↔️ L1 local ETH testnet (Ganache, ...). + +You can find an explanation of the global mechanism [here](https://docs.starknet.io/documentation/architecture_and_concepts/L1-L2_Communication/messaging-mechanism/). + +Most of the code for this messaging process will be written in Cairo, but Starknet.js provides some functionalities for this subject. + +## L1 ➡️ L2 messages + +To send a message from L1 to L2, you need a solidity smart contract in the L1 network, calling the `SendMessageToL2` function of the Starknet core contract. +The interface of this function: + +```solidity +/** + Sends a message to an L2 contract. + This function is payable, the paid amount is the message fee. + Returns the hash of the message and the nonce of the message. +*/ +function sendMessageToL2( + uint256 toAddress, + uint256 selector, + uint256[] calldata payload +) external payable returns (bytes32, uint256); +``` + +You have to pay in the L1 an extra fee when invoking `sendMessageToL2` (of course paid with the L1 fee TOKEN), to pay the L2 part of the messaging mechanism. You can estimate this fee with this function: + +```typescript +import { RpcProvider, constants } from 'starknet'; +const provider = new RpcProvider({ nodeUrl: constants.NetworkName.SN_SEPOLIA }); // for testnet + +const responseEstimateMessageFee = await provider.estimateMessageFee({ + from_address: L1address, + to_address: L2address, + entry_point_selector: 'handle_l1_mess', + payload: ['1234567890123456789', '200'], // without from_address +}); +``` + +If the fee is paid in L1, the Cairo contract at `to_Address` is automatically executed, function `entry_point_selector` (the function shall have a decorator `#[l1_handler]` in the Cairo code, with a first parameter called `from_address: felt252`). The payload shall not include the `from_address` parameter. + +## L2 ➡️ L1 messages + +To send a message to L1, you will just invoke a Cairo contract function, paying a fee that will pay all the processes (in L1 & L2). + +If necessary you can estimate this fee with the generic `estimateInvokeFee` function: + +```typescript +const { suggestedMaxFee: estimatedFee1 } = await account0.estimateInvokeFee({ + contractAddress: testAddress, + entrypoint: 'withdraw_to_L1', + calldata: ['123456789', '30'], +}); +``` + +The result is in `estimatedFee1`, of type BN. diff --git a/www/versioned_docs/version-6.11.0/guides/_category_.json b/www/versioned_docs/version-6.11.0/guides/_category_.json new file mode 100644 index 000000000..c694eb5b2 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/guides/_category_.json @@ -0,0 +1,5 @@ +{ + "label": "Guides", + "position": 2, + "collapsed": false +} diff --git a/www/versioned_docs/version-6.11.0/guides/automatic_cairo_ABI_parsing.md b/www/versioned_docs/version-6.11.0/guides/automatic_cairo_ABI_parsing.md new file mode 100644 index 000000000..f609479a4 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/guides/automatic_cairo_ABI_parsing.md @@ -0,0 +1,82 @@ +--- +sidebar_position: 18 +--- + +# Automatic TypeScript parsing of Cairo ABI-s + +Starknet.js has integrated [Abi-Wan-Kanabi](https://github.com/keep-starknet-strange/abi-wan-kanabi), the standalone TypeScript parser for Cairo smart contracts. + +It enables on-the-fly typechecking and autocompletion for contract calls directly in TypeScript. Developers can now catch typing mistakes early, prior to executing a call on-chain, thus enhancing the overall DAPP development experience. + +## Supported Cairo ABI-s + +Please take a look on the Abi-Wan [documentation](https://github.com/keep-starknet-strange/abi-wan-kanabi#cairo-versions) for a list of supported Cairo ABI-s. + +## Usage + +First, you need to wrap your ABI in a array and export it as a `const`. + +Example: + +```js +export const ABI = [ + { + type: 'function', + name: 'increase_balance', + inputs: [ + { + name: 'amount', + type: 'core::felt252', + }, + ], + outputs: [], + state_mutability: 'external', + }, +] as const; +``` + +Later on, to use it in our code: + +```js +import { Contract, RpcProvider, constants } from 'starknet'; + +const address = 'YOUR_ADDRESS_HERE'; +const provider = new RpcProvider({ nodeUrl: `${yourNodeUrl}` }); +const contract = new Contract(ABI, address, provider).typedv2(ABI); + +// Notice the autocompletion and typechecking in your editor +const result = await contract.increase_balance(100); +``` + +After that, you can use `contract` in your code as you would before, but with autocompletion and typechecking! + +### Generate `abi.ts` from the contract class + +If you have your contract class in a Json file, you can use the abiwan CLI to generate the `abi.ts` typescript file + +```bash +npx abi-wan-kanabi --input /path/to/contract_class.json --output /path/to/abi.ts +``` + +### Usage for deployed contracts + +Let's say you want to interact with the [Ekubo: Core](https://starkscan.co/contract/0x00000005dd3d2f4429af886cd1a3b08289dbcea99a294197e9eb43b0e0325b4b) contract + +You need to first get the **ABI** of the contract and export it in a typescript file, you can do so using one command combining both [`starkli`](https://github.com/xJonathanLEI/starkli) (tested with version 0.2.3) and `npx abi-wan-kanabi`: + +```bash +starkli class-at "0x00000005dd3d2f4429af886cd1a3b08289dbcea99a294197e9eb43b0e0325b4b" --network mainnet | npx abi-wan-kanabi --input /dev/stdin --output abi.ts +``` + +```typescript +import { Contract, RpcProvider, constants } from 'starknet'; +import { ABI } from './abi'; + +const address = '0x00000005dd3d2f4429af886cd1a3b08289dbcea99a294197e9eb43b0e0325b4b'; +const provider = new RpcProvider({ nodeUrl: constants.NetworkName.SN_MAIN }); +const contract = new Contract(ABI, address, provider).typedv2(ABI); + +// Notice the types inferred for the parameter and the returned value +const primary_inteface_id = contract.get_primary_interface_id(); +const protocol_fees_collected = contract.get_protocol_fees_collected('0x1'); +``` diff --git a/www/versioned_docs/version-6.11.0/guides/cairo_enum.md b/www/versioned_docs/version-6.11.0/guides/cairo_enum.md new file mode 100644 index 000000000..1f6b24c3b --- /dev/null +++ b/www/versioned_docs/version-6.11.0/guides/cairo_enum.md @@ -0,0 +1,285 @@ +--- +sidebar_position: 17 +--- + +# Cairo Enums + +## Cairo Enums usage + +Cairo-lang v0.12.0 (includes Cairo v2.0.0) introduces a new type of data that can be exchanged with Starknet: the Enums. Not related to the TypeScript Enums, the Cairo Enums are identical to Rust Enums. +More information in the Cairo book [here](https://book.cairo-lang.org/ch08-01-generic-data-types.html?highlight=enum#enums). +In the following paragraphs, you will see how to send and receive Enums with the Starknet network. + +## Cairo Option + +The `Option` Enum is a core enum, and has 2 variants (`Some` and `None`). Only the `some` variant can contain data. + +### Receive Cairo Option + +An example of Cairo code that returns an Option enum: + +```rust +fn test(self: @ContractState, val1: u16) -> Option { + if val1 < 100 { + return Option::None(()); + } + Option::Some(Order { p1: 18, p2: val1 }) +} +``` + +In your code, the Starknet.js response will be an instance of the CairoOption class: + +```typescript +import { CairoOption } from 'starknet'; +type Order = { + p1: BigNumberish; + p2: BigNumberish; +}; +const res: CairoOption = await myTestContract.test(50); +const res2: CairoOption = await myTestContract.test(150); +``` + +In `CairoOption`, T is the type of the data related to the `Some` variant. +The `CairoOption` class has "Cairo like" methods: + +```typescript +const a = res.isSome(); // false +const a2 = res2.isSome(); // true +const b = res.isNone(); // true +const b2 = res2.isNone(); // false +const c = res.unwrap(); // undefined +const c2: Order = res2.unwrap(); // { p1: 18n, p2: 150n } +``` + +### Send Cairo Option + +An example of Cairo code that use an Option enum as input: + +```rust +fn test5(self: @ContractState, inp: Option) -> u16 { + match inp { + Option::Some(x) => { + return x.p2; + }, + Option::None(()) => { + return 17; + } + } +} +``` + +In your code, the Starknet.js request is an instance of the CairoOption class: + +```typescript +import { CairoOption, CairoOptionVariant } from 'starknet'; +type Order = { + p1: BigNumberish; + p2: BigNumberish; +}; +const res = (await myTestContract.call('test5', [ + new CairoOption(CairoOptionVariant.Some, { p1: 20, p2: 40 }), +])) as bigint; +const res2 = (await myTestContract.call('test5', [ + new CairoOption(CairoOptionVariant.None), +])) as bigint; +``` + +## Cairo Result + +Cairo v2.1.0 introduces an other core Enum: `Result`. +This Enum has 2 variants (`Ok` and `Err`) and both variants can contain data. + +### Receive Cairo Result + +An example of Cairo code that returns a Result enum: + +```rust +fn test(self: @ContractState, val1: u16) -> Result { + if val1 < 100 { + return Result::Err(14); + } + Result::Ok(val1) +} +``` + +In your code, the Starknet.js response will be an instance of the CairoResult class: + +```typescript +import { CairoResult } from 'starknet'; + +const res: CairoResult = await myTestContract.test(90); +const res2 = (await myTestContract.call('test', [110])) as CairoResult; +``` + +In `CairoResult`, T is the type of the data related to the `Ok` variant, and U is the type of the data related to the `Err` variant. +The `CairoResult` class has "Cairo like" methods: + +```typescript +const a = res.isOk(); // false +const a2 = res2.isOk(); // true +const b = res.isErr(); // true +const b2 = res2.isErr(); // false +const c = res.unwrap(); // 14n +const c2 = res2.unwrap(); // 110n +``` + +### Send Cairo Result + +An example of Cairo code that uses a Result enum: + +```rust +fn test8(self: @ContractState, inp: Result) -> u16 { + match inp { + Result::Ok(x) => { + return x.p2; + }, + Result::Err(y) => { + return y; + } + } +} +``` + +In your code, the Starknet.js request is an instance of the CairoResult class: + +```typescript +import { CairoResult, CairoResultVariant } from 'starknet'; + +const res = (await myTestContract.call('test8', [ + new CairoResult(CairoResultVariant.Ok, { p1: 50, p2: 60 }), +])) as bigint; +const res2 = (await myTestContract.call('test8', [ + new CairoResult(CairoResultVariant.Err, 50), +])) as bigint; +``` + +## Cairo custom Enum + +In Cairo v2.0.0, you can also create your own customized Enum. + +### Receive Cairo custom Enum + +An example of Cairo code that returns the Result enum: + +```rust +#[derive(Drop, Serde, Append)] +enum MyEnum { + Response: Order, + Warning: felt252, + Error: (u16,u16), + Critical: Array, + Empty:(), +} +fn test(self: @ContractState, val1: u16) -> MyEnum { + if val1 < 100 { + return MyEnum::Error((3,4)); + } + if val1 == 100 { + return MyEnum::Warning('attention:100'); + } + if val1 < 150 { + let mut arr=ArrayTrait::new(); + arr.append(5); + arr.append(6); + return MyEnum::Critical(arr); + } + if val1<200 { + return MyEnum::Empty(()); + } + MyEnum::Response(Order { p1: 1, p2: val1 }) +} +``` + +This example Enum has 5 variants (`Response`, `Warning`, `Error`, `Critical` and `Empty`) and both variants can contain data. + +In your code, the Starknet.js response will be an instance of the CairoCustomEnum class: + +```typescript +import { CairoCustomEnum } from 'starknet'; + +const res: CairoCustomEnum = await myTestContract.test(10); +const res2: CairoCustomEnum = await myTestContract.test(100); +const res3: CairoCustomEnum = await myTestContract.test(120); +const res4: CairoCustomEnum = await myTestContract.test(190); +const res5: CairoCustomEnum = await myTestContract.test(220); +``` + +The `CairoCustomEnum` class has "Cairo like" methods: + +```typescript +const a = res.activeVariant(); // "Error" +const a2 = res2.activeVariant(); // "Warning" +const a3 = res3.activeVariant(); // "Critical" +const a4 = res4.activeVariant(); // "Response" +const a5 = res5.activeVariant(); // "Empty" +const c = res.unwrap(); // {"0": 3n, "1": 4n} +const c2: bigint = res2.unwrap(); // 7721172739414537047772488609840n +const c3: bigint[] = res3.unwrap(); // [5n, 6n] +const c4: Order = res4.unwrap(); // { p1: 1n, p2: 190n } +const c5: Object = res5.unwrap(); // {} +``` + +> In a `CairoCustomEnum` instance, you can also have a direct access to the content of a variant: + +```typescript +const d: Order = res4.variant.Response; // { p1: 1n, p2: 190n } +const e = res4.variant['Critical']; // undefined +``` + +### Send Cairo custom Enum + +An example of Cairo code that uses the Result enum: + +```rust +#[derive(Drop, Serde, Append)] +enum MyEnum { + Response: Order, + Warning: felt252, + Error: (u16,u16), + Critical: Array, + Empty:(), +} +fn test2a(self: @ContractState, customEnum:MyEnum ) -> u16{ + match customEnum{ + MyEnum::Response(my_order)=>{return my_order.p2;}, + MyEnum::Warning(val)=>{return 0x13_u16;}, + MyEnum::Error((a,b))=>{return b;}, + MyEnum::Critical(myArray)=>{return 0x3c_u16;}, + MyEnum::Empty(_)=>{return 0xab_u16;} + } +} +``` + +In your code, the Starknet.js request is an instance of the CairoCustomEnum class: + +```typescript +import { CairoCustomEnum } from 'starknet'; + +const orderToSend: Order = { p1: 8, p2: 10 }; +const myCustomEnum = new CairoCustomEnum({ Response: orderToSend }); +const res14 = (await myTestContract.call('test2a', [myCustomEnum])) as bigint; +const res14c = (await myTestContract.call('test2a', [ + new CairoCustomEnum({ Error: cairo.tuple(100, 110) }), +])) as bigint; +const res14d = (await myTestContract.call('test2a', [ + new CairoCustomEnum({ Critical: ['0x10', '0x11'] }), +])) as bigint; +const res14e = (await myTestContract.call('test2a', [ + new CairoCustomEnum({ Empty: {} }), +])) as bigint; +``` + +Take care that if you call a method that do not use the abi (as `CallData.compile`), you have to list all the variants of the enum, like this: + +```typescript +const orderToSend: Order = { p1: 8, p2: 10 }; +const myCustomEnum = new CairoCustomEnum({ + Response: undefined, + Warning: undefined, + Error: cairo.tuple(100, 110), + Critical: undefined, + Empty: undefined, +}); +const myCalldata = CallData.compile(myCustomEnum); +const res = (await myTestContract.call('test2a', myCalldata)) as bigint; +``` diff --git a/www/versioned_docs/version-6.11.0/guides/connect_account.md b/www/versioned_docs/version-6.11.0/guides/connect_account.md new file mode 100644 index 000000000..fa775c329 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/guides/connect_account.md @@ -0,0 +1,88 @@ +--- +sidebar_position: 4 +--- + +# 🔌 Connect to an existing account + +Once your provider is initialized, you can connect an existing account. + +You need 2 pieces of data: + +- the address of the account +- the private key of this account + +```typescript +import { Account, RpcProvider } from 'starknet'; +``` + +## Connect to a pre-deployed account in Starknet-devnet-rs + +When you launch starknet-devnet-rs, 10 accounts are pre-deployed with 100 dummy ETH in each. + +Addresses and private keys are displayed on the console at initialization. + +> This data will change at each launch, so to freeze them, launch with: `cargo run --release -- --seed 0`. + +The result for `account #0`: + +```text +Address : 0x64b48806902a367c8598f4f95c305e8c1a1acba5f082d294a43793113115691 +Private key: 0x71d7bb07b9a64f6f78ac4c816aff4da9 +Public key : 0x7e52885445756b313ea16849145363ccb73fb4ab0440dbac333cf9d13de82b9 +``` + +Then you can use this code: + +```typescript +// initialize provider +const provider = new RpcProvider({ nodeUrl: 'http://127.0.0.1:5050/rpc' }); +// initialize existing pre-deployed account 0 of Devnet +const privateKey = '0x71d7bb07b9a64f6f78ac4c816aff4da9'; +const accountAddress = '0x64b48806902a367c8598f4f95c305e8c1a1acba5f082d294a43793113115691'; + +const account = new Account(provider, accountAddress, privateKey); +``` + +Your account is now connected, and you can use it. + +```typescript +const account = new Account(provider, accountAddress, privateKey); +``` + +> Take care that this added parameter is a string, NOT a number. + +## 👛 Connect to an existing account (in any network) + +The code is the same, you just have to: + +- connect to the appropriate network. +- use the address of this account (public data). +- use the private key of this account (very sensitive data: your code MUST not disclose it). + +For example, to connect an existing account on testnet, with a private key stored in a .env non-archived file: + +```typescript +import * as dotenv from 'dotenv'; +dotenv.config(); + +// initialize provider +const provider = new RpcProvider({ nodeUrl: `${myNodeUrl}` }); +// initialize existing account +const privateKey = process.env.OZ_NEW_ACCOUNT_PRIVKEY; +const accountAddress = '0x051158d244c7636dde39ec822873b29e6c9a758c6a9812d005b6287564908667'; + +const account = new Account(provider, accountAddress, privateKey); +``` + +## Connect to an account that uses Ethereum signature + +As a consequence of account abstraction, you can find accounts that uses Ethereum signature logical. +To connect to this type of account: + +```typescript +const myEthPrivateKey = '0x525bc68475c0955fae83869beec0996114d4bb27b28b781ed2a20ef23121b8de'; +const myEthAccountAddressInStarknet = + '0x65a822fbee1ae79e898688b5a4282dc79e0042cbed12f6169937fddb4c26641'; +const myEthSigner = new EthSigner(myEthPrivateKey); +const myEthAccount = new Account(provider, myEthAccountAddressInStarknet, myEthSigner); +``` diff --git a/www/versioned_docs/version-6.11.0/guides/connect_contract.md b/www/versioned_docs/version-6.11.0/guides/connect_contract.md new file mode 100644 index 000000000..fd5921070 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/guides/connect_contract.md @@ -0,0 +1,59 @@ +--- +sidebar_position: 5 +--- + +# 🔌 Connect a deployed contract + +Once your provider is initialized, you can connect a contract already deployed in the network. + +You need 2 pieces of data: + +- the address of the contract +- the ABI file of the contract (or the compiled/compressed contract file, that includes the abi) + +> If you don't have the abi file, the `provider.getClassAt()` and `provider.getClassByHash()` commands will recover the compressed contract file. As these methods generate a significant workload for the sequencer/node, it's recommended to store the result on your computer to be able to reuse it later without using the provider each time: + +```typescript +import fs from 'fs'; + +const compressedContract = await provider.getClassAt(addrContract); +fs.writeFileSync('./myAbi.json', json.stringify(compressedContract.abi, undefined, 2)); +``` + +> When possible, prefer to read the compiled contract from a local Json file, as it's much more faster, using the `json.parse` util provided by Starknet.js, as shown below. + +## Get the abi from a compiled/compressed file + +```typescript +import { RpcProvider, Contract, json } from 'starknet'; +``` + +If you have the compiled/compressed file of the contract, use this code to recover all data, including the ABI: + +```typescript +const compiledContract = json.parse( + fs.readFileSync('./compiledContracts/test.json').toString('ascii') +); +``` + +> Note the `json.parse` util provided by Starknet.js + +## Connect to the contract + +```typescript +// initialize provider +const provider = new RpcProvider({ nodeUrl: `${myNodeUrl}` }); + +// initialize deployed contract +const testAddress = '0x7667469b8e93faa642573078b6bf8c790d3a6184b2a1bb39c5c923a732862e1'; +const compiledTest = json.parse(fs.readFileSync('./compiledContracts/test.json').toString('ascii')); + +// connect the contract +const myTestContract = new Contract(compiledTest.abi, testAddress, provider); +``` + +## Typechecking and autocompletion + +If you want to have typechecking and autocompletion for your contracts functions calls and catch typing errors early, you can use Abiwan! + +See [this guide](./automatic_cairo_ABI_parsing.md) for more details. diff --git a/www/versioned_docs/version-6.11.0/guides/connect_network.md b/www/versioned_docs/version-6.11.0/guides/connect_network.md new file mode 100644 index 000000000..9abc87917 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/guides/connect_network.md @@ -0,0 +1,162 @@ +--- +sidebar_position: 3 +--- + +# RpcProvider object 🔌 connect to the network + +The first thing to do is to define with which network you want to interact. + +Then you need to select a node. A node is a safe way to connect with the Starknet blockchain. You can use: + +- a node supplied by a node provider - it can be free or not; it can have limitations or not; it can have WebSocket support or not. + > RPC node providers are for example Infura, Alchemy, Blast, Nethermind, Lava, Chainstack... +- your own node, located on your local computer or in your local network. + > you can spin up your own node with Pathfinder, Juno, Papyrus, Deoxys, ... +- a local development node, that simulates a Starknet network. Useful for devs to perform quick tests without spending precious fee token. + > Main development devnets are Starknet-devnet-rs, Madara, ... + +Each node is communicating with Starknet.js using a rpc specification. Most of the nodes are able to use 2 rpc spec versions. +For example, this node is compatible with v0.6.0 & v0.7.0, using the following entry points : + +- "https://free-rpc.nethermind.io/sepolia-juno/v0_6" +- "https://free-rpc.nethermind.io/sepolia-juno/v0_7" + +From rpc spec v0.5.0, you can request the rpc spec version that uses a node address : + +```typescript +const resp = await myProvider.getSpecVersion(); +console.log('rpc version =', resp); +// result : rpc version = 0.7.0 +``` + +On Starknet.js side, you have to select the proper version, to be in accordance with the node you want to use : + +| Rpc spec version of your node | Starknet.js version to use | +| :---------------------------: | ---------------------------- | +| v0.4.0 | Starknet.js v5.21.1 | +| v0.5.0 | Starknet.js v5.23.0 | +| v0.5.1 | Starknet.js v5.29.0 & v6.1.0 | +| v0.6.0 | Starknet.js v6.9.0 | +| v0.7.0 | Starknet.js v6.9.0 | + +[!NOTE] Each Starknet.js version 6.x.x is compatible with 3 rpc spec versions, and recognize automatically the spec version if not provided. + +With the `RpcProvider` class, you define the Starknet Rpc node to use. + +```typescript +import { RpcProvider } from 'starknet'; +``` + +## Connect your DAPP to an RPC node provider + +### Default Rpc node + +If you don't want to use a specific node, or to handle an API key, you can use by default (using Rpc spec 0.7.0): + +```typescript +const myProvider = new RpcProvider({ nodeUrl: constants.NetworkName.SN_SEPOLIA }); +const myProvider = new RpcProvider({ nodeUrl: constants.NetworkName.SN_MAIN }); +// or +const myProvider = new RpcProvider(); // Sepolia +``` + +> when using this syntax, a random public node will be selected. + +Using a specific nodeUrl is the better approach, as such a node will have fewer limitations, the last version of software and will be less crowded. + +Some examples of RpcProvider instantiation to connect to RPC node providers: + +### Mainnet + +```typescript +// Infura node rpc 0.5.1 for Mainnet: +const providerInfuraMainnet = new RpcProvider({ + nodeUrl: 'https://starknet-mainnet.infura.io/v3/' + infuraKey, +}); +// Blast node rpc 0.7.0 for Mainnet (0.4, 0.5 & 0_6 also available): +const providerBlastMainnet = new RpcProvider({ + nodeUrl: 'https://starknet-mainnet.blastapi.io/' + blastKey + '/rpc/v0_7', +}); +// Lava node rpc 0.6.0 for Mainnet: +const providerMainnetLava = new RpcProvider({ + nodeUrl: 'https://g.w.lavanet.xyz:443/gateway/strk/rpc-http/' + lavaMainnetKey, +}); +// Alchemy node rpc 0.6.0 for Mainnet: +const providerAlchemyMainnet = new RpcProvider({ + nodeUrl: 'https://starknet-mainnet.g.alchemy.com/starknet/version/rpc/v0_6/' + alchemyKey, +}); +// Public Nethermind node rpc 0.7.0 for Mainnet (0_6 also available): +const providerMainnetNethermindPublic = new RpcProvider({ + nodeUrl: 'https://free-rpc.nethermind.io/mainnet-juno/v0_7', +}); +// Public Blast node rpc 0.7.0 for Mainnet (0.4, 0.5 & 0_6 also available) : +const providerBlastMainnet = new RpcProvider({ + nodeUrl: 'https://starknet-mainnet.public.blastapi.io/rpc/v0_7', +}); +// Public Lava node rpc 0.6.0 for Mainnet: +const providerLavaMainnet = new RpcProvider({ + nodeUrl: 'https://json-rpc.starknet-mainnet.public.lavanet.xyz', +}); +``` + +> Take care to safely manage your API key. It's a confidential item! + +### Goerli Testnet + +[!IMPORTANT] + +> The Goerli testnet is no more in service. + +### Sepolia Testnet + +```typescript +// Infura node rpc 0.5.1 for Sepolia Testnet : +const providerInfuraSepoliaTestnet = new RpcProvider({ + nodeUrl: 'https://starknet-sepolia.infura.io/v3/' + infuraKey, +}); +// Public Nethermind node rpc 0.7.0 for Sepolia Testnet (0_6 also available) : +const providerSepoliaTestnetNethermindPublic = new RpcProvider({ + nodeUrl: 'https://free-rpc.nethermind.io/sepolia-juno/v0_7', +}); +// Public Blast node rpc 0.7.0 for Sepolia Testnet (0_6 also available) : +const providerSepoliaTestnetBlastPublic = new RpcProvider({ + nodeUrl: 'https://starknet-sepolia.public.blastapi.io/rpc/v0_7', +}); +``` + +## Connect to your own node + +### Pathfinder + +For a local [Pathfinder](https://github.com/eqlabs/pathfinder) node: + +```typescript +const provider = new RpcProvider({ nodeUrl: '127.0.0.1:9545/rpc/v0_7' }); +``` + +Your node can be located in your local network (example: Pathfinder node running on a computer in your network, launched with this additional option: `--http-rpc 0.0.0.0:9545`). +You can connect with: + +```typescript +const provider = new RpcProvider({ nodeUrl: '192.168.1.99:9545/rpc/v0_7' }); +``` + +### Juno + +For a local [Juno](https://github.com/NethermindEth/juno) node initialize the provider with: + +```typescript +const provider = new RpcProvider({ nodeUrl: 'http://127.0.0.1:6060/v0_7' }); +``` + +> If Juno is running on a separate computer in your local network, don't forget to add the option `--http-host 0.0.0.0` when launching Juno. + +## Devnet + +Example of a connection to a local development node (rpc 0.7.0), with Starknet-devnet-rs v0.0.6: + +```typescript +const provider = new RpcProvider({ nodeUrl: 'http://127.0.0.1:5050/rpc' }); +``` + +> If you have customized host and port during starknet-devnet initialization, adapt in accordance your script. diff --git a/www/versioned_docs/version-6.11.0/guides/create_account.md b/www/versioned_docs/version-6.11.0/guides/create_account.md new file mode 100644 index 000000000..ae4705a79 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/guides/create_account.md @@ -0,0 +1,377 @@ +--- +sidebar_position: 8 +--- + +# Create an account + +Since there are no Externally Owned Accounts (EOA) in Starknet, all Accounts in Starknet are contracts. + +Unlike in Ethereum where a wallet is created with a public and private key pair, Starknet Accounts are the only way to sign transactions and messages and verify signatures. Therefore an Account - Contract interface is needed. + +Account contracts on Starknet cannot be deployed without paying a fee. +Creating an account is a bit tricky; you have several steps: + +1. Decide on your account type (OpenZeppelin, ArgentX, Braavos, ...). +2. Compute the address of your future account. +3. Send funds to this pre-computed address. The funds will be used to pay for the account contract deployment and remains will fund the new account. +4. Actual deployment of the Account + +## Create an OZ (Open Zeppelin) account + +Here, we will create a wallet with the Open Zeppelin smart contract v0.8.1. The contract class is already implemented in Testnet. +This contract is coded in Cairo 1. + +```typescript +import { Account, constants, ec, json, stark, RpcProvider, hash, CallData } from 'starknet'; +``` + +### Compute address + +```typescript +// connect provider (Mainnet or Sepolia) +const provider = new RpcProvider({ nodeUrl: `${myNodeUrl}` }); + +// new Open Zeppelin account v0.8.1 +// Generate public and private key pair. +const privateKey = stark.randomAddress(); +console.log('New OZ account:\nprivateKey=', privateKey); +const starkKeyPub = ec.starkCurve.getStarkKey(privateKey); +console.log('publicKey=', starkKeyPub); + +const OZaccountClassHash = '0x061dac032f228abef9c6626f995015233097ae253a7f72d68552db02f2971b8f'; +// Calculate future address of the account +const OZaccountConstructorCallData = CallData.compile({ publicKey: starkKeyPub }); +const OZcontractAddress = hash.calculateContractAddressFromHash( + starkKeyPub, + OZaccountClassHash, + OZaccountConstructorCallData, + 0 +); +console.log('Precalculated account address=', OZcontractAddress); +``` + +If you want a specific private key, replace `stark.randomAddress`()` with your choice. + +Then you have to fund this address! + +How to proceed is out of the scope of this guide, but you can for example: + +- Transfer ETH from another wallet. +- Bridge ETH to this Starknet address. +- Use a faucet. (https://starknet-faucet.vercel.app/) +- Mint ETH on starknet-devnet-rs, like so: + +```bash +// ETH +curl -X POST http://127.0.0.1:5050/mint -d '{"address":"0x04a093c37ab61065d001550089b1089922212c60b34e662bb14f2f91faee2979","amount":50000000000000000000}' -H "Content-Type:application/json" +// STRK +curl -X POST http://127.0.0.1:5050/mint -d '{"address":"0x04a093c37ab61065d001550089b1089922212c60b34e662bb14f2f91faee2979","amount":50000000000000000000,"unit":"FRI"}' -H "Content-Type:application/json" +``` + +### Deployment of the new account + +If you have sent enough funds to this new address, you can go forward to the final step: + +```typescript +const OZaccount = new Account(provider, OZcontractAddress, privateKey); + +const { transaction_hash, contract_address } = await OZaccount.deployAccount({ + classHash: OZaccountClassHash, + constructorCalldata: OZaccountConstructorCallData, + addressSalt: starkKeyPub, +}); + +await provider.waitForTransaction(transaction_hash); +console.log('✅ New OpenZeppelin account created.\n address =', contract_address); +``` + +## Create an Argent account + +Here, we will create a wallet with the Argent smart contract v0.3.0. The contract class is already implemented in the networks. + +```typescript +import { Account, ec, json, stark, RpcProvider, hash, CallData } from 'starknet'; +``` + +### Compute address + +```typescript +// connect provider +const provider = new RpcProvider({ nodeUrl: `${myNodeUrl}` }); + +//new Argent X account v0.3.0 +const argentXaccountClassHash = '0x1a736d6ed154502257f02b1ccdf4d9d1089f80811cd6acad48e6b6a9d1f2003'; + +// Generate public and private key pair. +const privateKeyAX = stark.randomAddress(); +console.log('AX_ACCOUNT_PRIVATE_KEY=', privateKeyAX); +const starkKeyPubAX = ec.starkCurve.getStarkKey(privateKeyAX); +console.log('AX_ACCOUNT_PUBLIC_KEY=', starkKeyPubAX); + +// Calculate future address of the ArgentX account +const AXConstructorCallData = CallData.compile({ + owner: starkKeyPubAX, + guardian: '0', +}); +const AXcontractAddress = hash.calculateContractAddressFromHash( + starkKeyPubAX, + argentXaccountClassHash, + AXConstructorCallData, + 0 +); +console.log('Precalculated account address=', AXcontractAddress); +``` + +If you want a specific private key, replace `stark.randomAddress`()` with your choice. + +Then you have to fund this address. + +### Deployment of the new account + +If you have sent enough funds to this new address, you can go forward to the final step: + +```typescript +const accountAX = new Account(provider, AXcontractAddress, privateKeyAX); + +const deployAccountPayload = { + classHash: argentXaccountClassHash, + constructorCalldata: AXConstructorCallData, + contractAddress: AXcontractAddress, + addressSalt: starkKeyPubAX, +}; + +const { transaction_hash: AXdAth, contract_address: AXcontractFinalAddress } = + await accountAX.deployAccount(deployAccountPayload); +console.log('✅ ArgentX wallet deployed at:', AXcontractFinalAddress); +``` + +## Create a Braavos account + +More complicated, a Braavos account needs a proxy and a specific signature. Starknet.js is handling only Starknet standard signatures; so we need extra code to handle this specific signature for account creation. These nearly 200 lines of code are not displayed here but are available in a module [here](./doc_scripts/deployBraavos.ts). + +We will deploy hereunder a Braavos account in devnet. So launch starknet-devnet with these parameters: + +```bash +starknet-devnet --seed 0 --fork-network 'https://free-rpc.nethermind.io/sepolia-juno/v0_7' +``` + +Initialization: + +```typescript +import { RpcProvider, Account, num, stark } from 'starknet'; +import { + calculateAddressBraavos, + deployBraavosAccount, + estimateBraavosAccountDeployFee, +} from './deployBraavos'; +import axios from 'axios'; +``` + +If you want to create the private key, for example with a random number: + +```typescript +const privateKeyBraavos = stark.randomAddress(); +``` + +If you want to use a private key generated by your browser wallet, create a new account (without deploying it), then copy/paste the account private key (it's useless to copy the public key). + +```typescript +const privateKeyBraavos = '0x02e8....e12'; +``` + +### Compute address + +```typescript +// initialize provider +const providerDevnet = new RpcProvider({ nodeUrl: `${myNodeUrl}` }); +// address +const BraavosProxyAddress = calculateAddressBraavos(privateKeyBraavos); +console.log('Calculated account address=', BraavosProxyAddress); +``` + +### Estimate fees + +```typescript +// estimate fees +const estimatedFee = await estimateBraavosAccountDeployFee(privateKeyBraavos, providerDevnet); +console.log('calculated fee =', estimatedFee); +``` + +### Deploy account + +```typescript +// fund account address before account creation (easy in devnet) +const { data: answer } = await axios.post( + 'http://127.0.0.1:5050/mint', + { + address: BraavosProxyAddress, + amount: 10_000_000_000_000_000_000, + }, + { headers: { 'Content-Type': 'application/json' } } +); +console.log('Answer mint =', answer); // 10 ETH + +// deploy Braavos account +const { transaction_hash, contract_address: BraavosAccountFinalAddress } = + await deployBraavosAccount(privateKeyBraavos, providerDevnet, estimatedFee); +// estimatedFee is optional +console.log('Transaction hash =', transaction_hash); +await providerDevnet.waitForTransaction(transaction_hash); +console.log('✅ Braavos wallet deployed at', BraavosAccountFinalAddress); +``` + +The computed address has been funded automatically by minting a new dummy ETH in Starknet devnet! + +## Create an Ethereum account + +Thanks to account abstraction, you can create an account in Starknet that holds the cryptographic logic of an Ethereum account. This way, you can use Ethereum private and public keys! +OpenZeppelin has released an account contract for such an Ethereum account. + +Below is an example of account creation in Sepolia Testnet. + +### Compute address + +```typescript +const privateKeyETH = '0x45397ee6ca34cb49060f1c303c6cb7ee2d6123e617601ef3e31ccf7bf5bef1f9'; +const ethSigner = new EthSigner(privateKeyETH); +const ethFullPublicKey = await ethSigner.getPubKey(); +const accountEthClassHash = '0x23e416842ca96b1f7067693892ed00881d97a4b0d9a4c793b75cb887944d98d'; +const myCallData = new CallData(ethAccountAbi); +const accountETHconstructorCalldata = myCallData.compile('constructor', { + public_key: ethFullPublicKey, +}); +const salt = '0x12345'; // or lower felt of public key X part +const contractETHaddress = hash.calculateContractAddressFromHash( + salt, + accountEthClassHash, + accountETHconstructorCalldata, + 0 +); +console.log('Pre-calculated ETH account address =', contractETHaddress); +``` + +> If you need a random Ethereum private key: +> +> ```typescript +> const myPrivateKey = eth.ethRandomPrivateKey(); +> ``` + +Then you have to fund this address. + +### Deployment of the new account + +If you have sent enough funds to this new address, you can go forward to the final step: + +```typescript +const ethAccount = new Account(provider, contractETHaddress, ethSigner); +const deployPayload = { + classHash: accountEthClassHash, + constructorCalldata: accountETHconstructorCalldata, + addressSalt: salt, +}; +const { suggestedMaxFee: feeDeploy } = await ethAccount.estimateAccountDeployFee(deployPayload); +const { transaction_hash, contract_address } = await ethAccount.deployAccount( + deployPayload, + { maxFee: stark.estimatedFeeToMaxFee(feeDeploy, 100) } + // Extra fee to fund the validation of the transaction +); +await provider.waitForTransaction(transaction_hash); +console.log('✅ New Ethereum account final address =', contract_address); +``` + +## Create your account abstraction + +You are not limited to these 3 contracts. You can create your own contract for the wallet. It's the concept of Account Abstraction. + +You can entirely customize the wallet - for example: + +- use a different concept of keys. + +- add a guardian to save your account. + +- have the possibility to transfer ownership of the wallet. + +- add some administrators or a super-administrator. + +- whitelist of addresses for transfer. + +- multisig. + +- delayed withdraw. + +The only limitation is your imagination... + +Here is an example of a customized wallet, including super administrator management, on a local starknet-devnet-rs: + +> launch `cargo run --release -- --seed 0` before using this script + +```typescript +import { Account, ec, json, stark, RpcProvider, hash, CallData } from 'starknet'; +import fs from 'fs'; +import axios from 'axios'; +``` + +```typescript +// connect provider +const provider = new RpcProvider({ network: 'http://127.0.0.1:5050/rpc' }); + +// initialize existing pre-deployed account 0 of Devnet-rs +const privateKey0 = '0x71d7bb07b9a64f6f78ac4c816aff4da9'; +const accountAddress0 = '0x64b48806902a367c8598f4f95c305e8c1a1acba5f082d294a43793113115691'; +const account0 = new Account(provider, accountAddress0, privateKey0); + +// new account abstraction +// Generate public and private key pair. +const AAprivateKey = stark.randomAddress(); +console.log('New account:\nprivateKey=', AAprivateKey); +const AAstarkKeyPub = ec.starkCurve.getStarkKey(AAprivateKey); +console.log('publicKey=', AAstarkKeyPub); + +// declare the contract +const compiledAAaccount = json.parse( + fs + .readFileSync('./__mocks__/cairo/myAccountAbstraction/myAccountAbstraction.json') + .toString('ascii') +); +const { transaction_hash: declTH, class_hash: decCH } = await account0.declare({ + contract: compiledAAaccount, +}); +console.log('Customized account class hash =', decCH); +await provider.waitForTransaction(declTH); + +// Calculate future address of the account +const AAaccountConstructorCallData = CallData.compile({ + super_admin_address: account0.address, + publicKey: AAstarkKeyPub, +}); +const AAcontractAddress = hash.calculateContractAddressFromHash( + AAstarkKeyPub, + AAaccountClassHash, + AAaccountConstructorCallData, + 0 +); +console.log('Precalculated account address=', AAcontractAddress); + +// fund account address before account creation +const { data: answer } = await axios.post( + 'http://127.0.0.1:5050/mint', + { address: AAcontractAddress, amount: 50_000_000_000_000_000_000, lite: true }, + { headers: { 'Content-Type': 'application/json' } } +); +console.log('Answer mint =', answer); + +// deploy account +const AAaccount = new Account(provider, AAcontractAddress, AAprivateKey); +const { transaction_hash, contract_address } = await AAaccount.deployAccount({ + classHash: AAaccountClassHash, + constructorCalldata: AAaccountConstructorCallData, + addressSalt: AAstarkKeyPub, +}); +await provider.waitForTransaction(transaction_hash); +console.log('✅ New customized account created.\n address =', contract_address); +``` + +## Account update + +For ArgentX and Braavos wallets, if you have created the private key inside the browser wallet, necessary upgrades will be automatically managed in the wallet. +However, if you have created the private key by yourself, it becomes your responsibility to update the account implementation class when it's necessary. It can be done with the `upgrade` function of the implementation class. diff --git a/www/versioned_docs/version-6.11.0/guides/create_contract.md b/www/versioned_docs/version-6.11.0/guides/create_contract.md new file mode 100644 index 000000000..6f826eacb --- /dev/null +++ b/www/versioned_docs/version-6.11.0/guides/create_contract.md @@ -0,0 +1,204 @@ +--- +sidebar_position: 7 +--- + +# Create a new contract + +When you have compiled your new Cairo contract, you can deploy it in the network. + +In Starknet, a new contract has to be added in two phases: + +1. Create the contract class. +2. Deploy an instance of the contract. + +> You must first declare your contract class and only then deploy a new instance of it! + +![](./pictures/createContract.png) + +> Both declaration and deployment will cost fees. That's why these functions are methods of the `Account` object. The account should be funded enough to be able to process everything. + +- The contract class contains the logic of the contract. A contract class is identified by its Class Hash. +- The contract instance contains the memory storage of this instance. A contract instance is identified by its contract address. You will interact with the contract instance by using this address. + +You will have only one Class Hash for one contract code, but you can have as many contract instances as you need. + +Other users of the network can use your declared contract. It means that if somebody has already declared a contract class (and paid this declaration), and if you would like to have your own instance of this contract, you have only to deploy (and pay) a new instance. + +Example: if you want an ERC20 contract, and somebody has already declared an ERC20 contract that conforms to your needs, you have just to deploy a new instance of this contract class. + +```typescript +import { RpcProvider, Account, Contract, json, stark, uint256, shortString } from 'starknet'; +``` + +## `declareAndDeploy()` your new contract + +Starknet.js proposes a function to perform both operations in one step: `declareAndDeploy()`. + +Here, to declare & deploy a `Test.cairo` smart contract, in devnet: + +```typescript +// connect provider +const provider = new RpcProvider({ baseUrl: 'http://127.0.0.1:5050/rpc' }); +// connect your account. To adapt to your own account: +const privateKey0 = process.env.OZ_ACCOUNT_PRIVATE_KEY; +const account0Address: string = '0x123....789'; +const account0 = new Account(provider, account0Address, privateKey0); + +// Declare & deploy Test contract in devnet +const compiledTestSierra = json.parse( + fs.readFileSync('./compiledContracts/test.sierra').toString('ascii') +); +const compiledTestCasm = json.parse( + fs.readFileSync('./compiledContracts/test.casm').toString('ascii') +); +const deployResponse = await account0.declareAndDeploy({ + contract: compiledTestSierra, + casm: compiledTestCasm, +}); + +// Connect the new contract instance: +const myTestContract = new Contract( + compiledTestSierra.abi, + deployResponse.deploy.contract_address, + provider +); +console.log('Test Contract Class Hash =', deployResponse.declare.class_hash); +console.log('✅ Test Contract connected at =', myTestContract.address); +``` + +## `deployContract()` for a new instance + +If the contract class is already declared, it's faster and cheaper: just use `deployContract()`. + +```typescript +// connect provider +const provider = new RpcProvider({ baseUrl: 'http://127.0.0.1:5050/rpc' }); +// connect your account. To adapt to your own account: +const privateKey0 = process.env.OZ_ACCOUNT_PRIVATE_KEY; +const account0Address: string = '0x123....789'; + +const account0 = new Account(provider, account0Address, privateKey0); + +// Deploy Test contract in devnet +// ClassHash of the already declared contract +const testClassHash = '0xff0378becffa6ad51c67ac968948dbbd110b8a8550397cf17866afebc6c17d'; + +const deployResponse = await account0.deployContract({ classHash: testClassHash }); +await provider.waitForTransaction(deployResponse.transaction_hash); + +// read abi of Test contract +const { abi: testAbi } = await provider.getClassByHash(testClassHash); +if (testAbi === undefined) { + throw new Error('no abi.'); +} + +// Connect the new contract instance: +const myTestContract = new Contract(testAbi, deployResponse.contract_address, provider); +console.log('✅ Test Contract connected at =', myTestContract.address); +``` + +## Construct the constructor + +If your contract has a constructor with inputs, you have to provide these inputs in the `deployContract` or `declareAndDeploy` commands. +For example, with this contract constructor: + +```json + "name": "constructor", + "inputs": [ + { + "name": "text", + "type": "core::felt252" + }, + { + "name": "longText", + "type": "core::array::Array::" + }, + { + "name": "array1", + "type": "core::array::Array::" + } + ], +``` + +You have several ways to define these inputs: + +### myCalldata.compile + +This is the recommended way to proceed: + +```typescript +const myArray1: RawCalldata = ['0x0a', 24, 36n]; +const contractCallData: CallData = new CallData(compiledContractSierra.abi); +const contractConstructor: Calldata = contractCallData.compile('constructor', { + text: 'niceToken', + longText: 'http://addressOfMyERC721pictures/image1.jpg', + array1: myArray1, +}); +const deployResponse = await account0.deployContract({ + classHash: contractClassHash, + constructorCalldata: contractConstructor, +}); +``` + +Starknet.js will perform a full verification of conformity with the abi. Properties can be unordered. Do not use properties for array_len, it will be handled automatically by Starknet.js. + +### CallData.compile + +For very simple constructors, you can use `CallData.compile`: + +```typescript +const myArray1: RawCalldata = ['0x0a', 24, 36n]; +const contractConstructor: Calldata = CallData.compile({ + text: 'niceToken', + longText: 'http://addressOfMyERC721pictures/image1.jpg', // for Cairo v2.4.0 onwards + array1: myArray1, +}); +// with older Cairo, use: longText: shortString.splitLongString("http://addressOfMyERC721pictures/image1.jpg"), +const deployResponse = await account0.deployContract({ + classHash: contractClassHash, + constructorCalldata: contractConstructor, +}); +``` + +Properties have to be ordered in conformity with the abi. + +Even easier: + +```typescript +const contractConstructor: Calldata = CallData.compile([ + 'niceToken', + 'http://addressOfMyERC721pictures/image1.jpg', + myArray1, +]); // for Cairo v2.4.0 onwards +``` + +## `declare()` for a new class + +If you want only declare a new Contract Class, use `declare()`. + +```typescript +// connect provider +const provider = new RpcProvider({ baseUrl: 'http://127.0.0.1:5050/rpc' }); +// connect your account. To adapt to your own account: +const privateKey0 = process.env.OZ_ACCOUNT_PRIVATE_KEY; +const account0Address: string = '0x123....789'; + +const account0 = new Account(provider, account0Address, privateKey0); + +// Declare Test contract in devnet +const compiledTestSierra = json.parse( + fs.readFileSync('./compiledContracts/test.sierra').toString('ascii') +); +const compiledTestCasm = json.parse( + fs.readFileSync('./compiledContracts/test.casm').toString('ascii') +); +const declareResponse = await account0.declare({ + contract: compiledTestSierra, + casm: compiledTestCasm, +}); +console.log('Test Contract declared with classHash =', declareResponse.class_hash); +await provider.waitForTransaction(declareResponse.transaction_hash); +console.log('✅ Test Completed.'); +``` + +> If the class is already declared, `declare()` will fail. You can also use `declareIfNot()` to not fail in this case. diff --git a/www/versioned_docs/version-6.11.0/guides/define_call_message.md b/www/versioned_docs/version-6.11.0/guides/define_call_message.md new file mode 100644 index 000000000..967007bf3 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/guides/define_call_message.md @@ -0,0 +1,624 @@ +--- +sidebar_position: 10 +--- + +# Data transformation + +This guide is the most important of all this documentation. Take your time, and read it carefully... + +Cairo contracts and JavaScript/TypeScript languages do not have the same types of data. To exchange data with Starknet, the data have to be transformed and formatted in a list of numbers. + +So, it's necessary to prepare the data before sending them to a contract. +On the other side, when a contract sends data to your DAPP (the result of a call), you also have to transform them before using them in your code. + +In Starknet.js, you can perform these transformations manually, but you can take advantage of methods that perform these transformations. + +## Types of data + +### Cairo + +Cairo has 2 versions, involving 2 types of data: + +- **Cairo 0**: here, everything is felt, an integer on 251 bits. + Available: array, struct, tuple, named tuple, or a mix of these elements. +- **Cairo 1**: with plethora of literal types: u8, u16, u32, usize, u64, u128, felt252, u256, bool, address, eth address, classHash. + Available: array, struct, tuple, bytes31, byteArray, enums or a mix of these elements. + +Starknet.js is compatible with both versions. + +### Starknet + +Starknet is waiting for a list of felts, and answers with the same format. + +### JavaScript / TypeScript + +These types do not exist in JS/TS - you have Number, bigInt, string, array, objects... and types defined in libraries. + +In Starknet.js, it's a bit ... complicated: you have the BigNumberish type and it can include: + +- String (representing a number): "123", "0xabc2" +- Number (max 53 bits): 123 +- BigInt (max 255 bits): 12345612345n + +```typescript +import { BigNumberish } from 'starknet'; +const decimals: BigNumberish = 18; +``` + +## Preparation of data before delivery + +If your Cairo smart contract is waiting for a: + +### felt, u8, u16, u32, usize, u64, u128, felt252, ContractAddress, EthAddress, ClassHash + +Starknet is waiting for a felt. +You can send to Starknet.js methods: bigNumberish. + +```typescript +await myContract.my_function(12, '13', '0xe', 15n); +``` + +> `EthAddress` is limited to 160 bits. +> `felt, felt252, ClassHash` and `ContractAddress` are limited to 252 bits. + +### bool + +Starknet is waiting for a felt, containing 0 or 1. +You can send to Starknet.js methods: boolean, bigNumberish. + +```typescript +await myContract.my_function(true, 1); +``` + +### u256 + +Starknet is waiting for 2 felts, the first including the lowest 128 bits, the second including the 128 highest bits. +You can send to Starknet.js methods: bigNumberish (Cairo 1 only), Uint256 object (both Cairo 0 & 1). + +```typescript +await myContract0.my_function({ low: 100, high: 0 }); // Cairo 0 & 1 contract +await myContract1.my_function(cairo.uint256(100)); // Cairo 0 & 1 contract +await myContract2.my_function(12345678, '13456789765', '0xe23a40b543f', 1534566734334n); // Cairo 1 contract +``` + +In specific cases that we will see hereunder, you can use an object, with the following format: + +```typescript +const a1: Uint256 = cairo.uint256( + '0x05f7cd1fd465baff2ba9d2d1501ad0a2eb5337d9a885be319366b5205a414fdd' +); +const a2: Uint256 = { + low: '0xeb5337d9a885be319366b5205a414fdd', + high: '0x05f7cd1fd465baff2ba9d2d1501ad0a2', +}; +const a3: Uint256 = { low: a1.low, high: a1.high }; +``` + +### u512 + +Starknet is waiting for 4 u128, the first one has the lowest weight. +You can send to Starknet.js methods: bigNumberish or Uint512 object. + +```typescript +await myContract0.my_function(553844998243714947043252949842317834769n); +await myContract1.my_function( + cairo.uint512( + '0xa9d2d1501ad0a2eb5337a9d2d1501ad0a2eb5337a9d2d1501ad0a2eb5337a9d2d1501ad0a2eb5337a9d2d1501ad0a2eb5337' + ) +); +await myContract2.my_function(12345678, '13456789765', '0xe23a40b543f', 1534566734334n); +``` + +In specific cases, you can use an object, with the following format: + +```typescript +const a2: Uint512 = { + limb0: '0xeb5337d9a885be310x9365205a414fdd', + limb1: '0x1fd465baff2ba9d2d1501ad0a2eb5337', + limb2: '0x05f7cd1fd465baff2ba9d2d1501ad0a2', + limb3: '0x2eb5337d9a885be319366b5205a414fd', +}; +``` + +### shortString or bytes31 + +For a shortString, Starknet is waiting for a felt, including 31 ASCII characters max. +You can send to Starknet.js methods: string, bigNumberish. + +bytes31 is similar to shortString. +You can send to Starknet.js methods: string. + +```typescript +await myContract.my_function('Token', '0x0x534e5f4d41494e'); // send 2 shortStrings +``` + +To encode yourself a string: + +```typescript +const encStr: string = shortString.encodeShortString('Stark'); +``` + +To decode yourself a string: + +```typescript +const decStr: string = shortString.decodeShortString('0x7572692f706963742f7433382e6a7067'); +``` + +The result is: "uri/pict/t38.jpg" + +### longString or ByteArray + +longString is a string that may contain more than 31 characters. +Starknet is waiting for an array of felt: string_len, string1, string2, ... +You can send to Starknet.js methods: string, bigNumberish[]. + +ByteArray is similar to longString. +Starknet is waiting for a specific struct. +You can send to Starknet.js methods: string. + +```typescript +await myContract.my_function('http://addressOfMyERC721pictures/image1.jpg'); +``` + +To force to send a shortString as a ByteArray with `CallData.compile()`: + +```typescript +const myCalldata = Calldata.compile([byteArray.byteArrayFromString('Take care.')]); +``` + +If you want to split yourself your longString in 31 chars substrings: + +```typescript +const splitted: string[] = shortString.splitLongString( + 'http://addressOfMyERC721pictures/image1.jpg' +); +``` + +If you want to split your longString in an array of felts: + +```typescript +const longString: string[] = shortString + .splitLongString('http://addressOfMyERC721pictures/image1.jpg') + .map((str) => shortString.encodeShortString(str)); +``` + +### tuple + +Starknet is waiting for a list of felts. +You can send it to Starknet.js methods: `cairo.tuple()`, object. + +```typescript +const myTpl = cairo.tuple('0x0a', 200); +await myContract.my_function(myTpl); +``` + +To construct your tuple: + +```typescript +const myTpl = { '0': '0x0a', '1': 200 }; +``` + +### Named tuple + +:::warning Only for Cairo 0 +::: + +Starknet is waiting for a list of felts. +You can send to Starknet.js methods: an object, `cairo.tuple()`, list of bigNumberish. +From this ABI: + +```json +{ + "name": "data2", + "type": "(min: felt, max: felt)" +} +``` + +You can create this code: + +```typescript +const namedTup = { min: '0x4e65ac6', max: 296735486n }; +await myContract.my_function(namedTup); +``` + +:::tip +It's not mandatory to create manually an object conform to the Cairo 0 named tuple ; you can just use the `cairo.tuple()` function. +::: + +### Ethereum public key + +If your abi is requesting this type : `core::starknet::secp256k1::Secp256k1Point`, it means that you have probably to send an Ethereum full public key. Example : + +```json +{ + "type": "constructor", + "name": "constructor", + "inputs": [ + { + "name": "public_key", + "type": "core::starknet::secp256k1::Secp256k1Point" + } + ] +} +``` + +- If you are using a calldata construction method using the Abi, you have just to use a 512 bits number (so, without parity) : + +```typescript +const privateKeyETH = '0x45397ee6ca34cb49060f1c303c6cb7ee2d6123e617601ef3e31ccf7bf5bef1f9'; +const ethSigner = new EthSigner(privateKeyETH); +const ethFullPublicKey = await ethSigner.getPubKey(); // 512 bits number +const myCallData = new CallData(ethAccountAbi); +const accountETHconstructorCalldata = myCallData.compile('constructor', { + public_key: ethFullPublicKey, +}); +``` + +- If you are using a calldata construction method without the Abi, you have to send a tuple of 2 u256 : + +```typescript +const ethFullPublicKey = + '0x0178bb97615b49070eefad71cb2f159392274404e41db748d9397147cb25cf597ebfcf2f399e635b72b99b8f76e9080763c65a42c842869815039d912150ddfe'; // 512 bits number +const pubKeyETH = encode.addHexPrefix(encode.removeHexPrefix(ethFullPublicKey).padStart(128, '0')); +const pubKeyETHx = cairo.uint256(addAddressPadding(encode.addHexPrefix(pubKeyETH.slice(2, -64)))); +const pubKeyETHy = cairo.uint256(addAddressPadding(encode.addHexPrefix(pubKeyETH.slice(-64)))); +const accountETHconstructorCalldata = CallData.compile([cairo.tuple(pubKeyETHx, pubKeyETHy)]); +``` + +### struct + +Starknet is waiting for a list of felts. +You can send to Starknet.js methods: an object. + +```typescript +const myStruct = { type: 'TR1POST', tries: 8, isBridged: true }; +await myContract.my_function(myStruct); +``` + +### array, span + +Starknet is waiting for an array of felts: array_len, array1, array2, ... +You can send it to Starknet.js methods: bigNumberish[]. + +```typescript +Const myArray = [10, "0xaa", 567n]; +await myContract.my_function(myArray); +``` + +:::danger important +Do not add the `array_len` parameter before your array. Starknet.js will manage this element automatically. +::: + +> It's also applicable for Cairo `Span` type. + +### Complex types + +You can mix and nest literals, arrays, structs, and tuples. + +Starknet is waiting for a list of felts. +All these examples are valid: + +```typescript +type Order2 = { + p1: BigNumberish; + p2: BigNumberish[]; +}; // struct +const myOrder2: Order2 = { + p1: 17, + p2: [234, 467456745457n, '0x56ec'], +}; +const param1 = cairo.tuple(cairo.tuple(34, '0x5e'), 234n); +const param2 = [ + [200, 201], + [202, 203], + [204, 205], +]; +const param3 = [myOrder2, myOrder2]; +const param4 = [cairo.tuple(251, 40000n), cairo.tuple(252, 40001n)]; +await myContract.my_function(param1, param2, param3, param4); +``` + +## Authorized types for Starknet.js methods + +There are 12 methods using contract parameters. Some types are authorized for each method: + +### List of parameters + +Only meta-class methods are using a list of parameters (as illustrated in the previous chapter). +A Meta-Class is a Class that has any of its properties determined at run-time. The Contract object uses a Contract's ABI to determine what methods are available. + +```typescript +await myContract.my_function('TOKEN', '13', [10, 11, 12], 135438734812n); +// or +const functionName = 'my_function'; +await myContract[functionName]('TOKEN', '13', [10, 11, 12], 135438734812n); +``` + +### Array of parameters + +An array of parameters can be used as input: + +```typescript +const myParams = [{ x: 100, y: 200 }, 13, [10, 11, 12], cairo.uint256('0x295fa652e32b')]; +const txResp = await account0.execute({ + contractAddress: testAddress, + entrypoint: 'change_activity', + calldata: myParams, +}); +``` + +All Starknet.js methods accept this type of input, except meta-class, which needs 3 dots prefix: + +```typescript +const myParams = ['TOKEN', '13', [10, 11, 12], 135438734812n]; +await myContract.my_function(...myParams); +// or +const functionName = 'my_function'; +await myContract[functionName](...myParams); +``` + +:::warning important +Objects properties have to be ordered in accordance with the ABI. +::: + +### Object (without ABI conformity check) + +The use of objects allows a clear representation of the list of parameters: + +```typescript +const myParams = { + name: 'TOKEN', + decimals: '13', + amount: 135438734812n, +}; +const deployResponse = await myAccount.deployContract({ + classHash: contractClassHash, + constructorCalldata: myParams, +}); +``` + +This type is available for: `CallData.compile(), hash.calculateContractAddressFromHash, account.deployContract, account.deployAccount, account.execute` + +:::warning important +Objects properties have to be ordered in accordance with the ABI. +::: + +### Object (with ABI conformity check) + +This is the recommended type of input to use, especially for complex ABI. + +```typescript +const myFalseUint256 = { high: 1, low: 23456 }; // wrong order; should be low first +type Order2 = { + p1: BigNumberish; + p2: BigNumberish[]; +}; +const myOrder2bis: Order2 = { + // wrong order; p1 should be first + p2: [234, 467456745457n, '0x56ec'], + p1: '17', +}; +const functionParameters: RawArgsObject = { + //wrong order; all properties are mixed + active: true, + symbol: 'NIT', + initial_supply: myFalseUint256, + recipient: account0.address, + decimals: 18, + tupOfTup: cairo.tuple(cairo.tuple(34, '0x5e'), myFalseUint256), + card: myOrder2bis, + longText: 'Zorg is back, for ever, here and everywhere', + array1: [100, 101, 102], + array2: [ + [200, 201], + [202, 203], + [204, 205], + ], + array3: [myOrder2bis, myOrder2bis], + array4: [myFalseUint256, myFalseUint256], + tuple1: cairo.tuple(40000n, myOrder2bis, [54, 55n, '0xae'], 'texte'), + name: 'niceToken', + array5: [cairo.tuple(251, 40000n), cairo.tuple(252, 40001n)], +}; +const contractCallData: CallData = new CallData(compiledContractSierra.abi); +const myCalldata: Calldata = contractCallData.compile('constructor', functionParameters); +const deployResponse = await account0.deployContract({ + classHash: contractClassHash, + constructorCalldata: myCalldata, +}); +// or +const myCall: Call = myContract.populate('setup_elements', functionParameters); +const tx = await account0.execute(myCall); +// or +const myCall: Call = myContract.populate('get_elements', functionParameters); +const res = await myContract.get_elements(myCall.calldata); +``` + +It can be used only with methods that know the abi: `Contract.populate, myCallData.compile`. +Starknet.js will perform a full check of conformity with the ABI of the contract, reorder the object's properties if necessary, stop if something is wrong or missing, remove not requested properties, and convert everything to Starknet format. +Starknet.js will alert you earlier of errors in your parameters (with human comprehensible words), before the call to Starknet. So, no more incomprehensible Starknet messages due to parameters construction. + +If a property `array_len` has been added before an array, this property is ignored as it's automatically managed by Starknet.js. + +### Call, or Call[] + +A Call is an object with this format: + +```typescript +type Call = { + contractAddress: string; + entrypoint: string; + calldata?: RawArgs; +}; +``` + +...and is only authorized with `Account.execute `. It can be generated manually or by `Contract.populate()`: + +```typescript +const myCall: Call = myContract.populate('get_component', [100, recipient]); +// or +const myCall: Call = { + contractAddress: tokenContract.address, + entrypoint: 'get_component', + calldata: CallData.compile([100, recipient]), +}; + +const tx = await account0.execute(myCall); +``` + +It's particularly interesting when you want to invoke a function several times in the same transaction: + +```typescript +const myCall1: Call = myContract.populate('mint', { type: 7, qty: 10 }); +const myCall2: Call = myContract.populate('mint', { type: 21, qty: 3 }); +const myCall3: Call = myContract.populate('mint', { type: 2, qty: 1 }); +const tx = await account0.execute([myCall1, myCall2, myCall3]); +``` + +### Array of strings (representing numbers) + +This type is particularly useful when you need the maximum performance and speed in your code; You have no automatic transformation, no checks with ABI, and no parsing. + +You provide to starknet.js the low-level data expected by Starknet: + +```typescript +const specialParameters: Calldata = [ + '2036735872918048433518', + '5130580', + '18', + '23456', + '1', + '17', + '3', + '234', + '467456745457', + '22252', +]; +const getResponse = await myAccount.get_bal(specialParameters, { parseRequest: false }); +``` + +To use with `parseRequest: false` (see hereunder). + +### Summary table for arguments + +These types of arguments can't be used at your convenience everywhere. Here is a table showing which types can be used in which function: + +| Function | array of parameters | ordered object | non ordered object | Call & MultiCall | list of parameters | array of strings (\*) | array of strings (\*\*) | +| ----------------------------------------------------------: | :-----------------: | :-------------: | :----------------: | :--------------------------: | :----------------: | :-------------------: | :---------------------: | +| **TypeScript type** | N/A | {} RawArgsArray | {} RawArgsObject | Call & Call[] | ...[] | string[] | string[] | +| contract.metaClass() contract\[metaclass]() | | | | | ✔️ | ✔️ | ✔️ | +| contract.call / contract.invoke | ✔️ | | | | | ✔️ | ✔️ | +| account.execute

(with 3 params, incl. calldata) |

✔️ |

✔️ | | ✔️



| | |

✔️ | +| account.deployContract / Account | ✔️ | ✔️ | | | | | ✔️ | +| account.declareAndDeploy | ✔️ | ✔️ | | | | | ✔️ | +| CallData.compile | ✔️ | ✔️ | | | | | ✔️ | +| myCallData.compile | ✔️ | ✔️ | ✔️ | | | | ✔️ | +| Contract.populate | ✔️ | ✔️ | ✔️ | | | | ✔️ | +| hash. calculateContract AddressFromHash | ✔️ | ✔️ | | | | | ✔️ | + +> (\*) = with `parseRequest: false` +> (\*\*) = result of `Calldata.compile, myCallData.compile, myContract.populate().calldata` + +## Receive data from a Cairo contract + +When you perform a call, the result depends on the contract language: + +- In Cairo 0, the answer is an object, with keys using the Cairo variable's names. + +Example: + +```typescript +const res=myContract.call(...); +const amount = res.amount; +``` + +- In Cairo 1, the result is a variable: + +```typescript +const amount = myContract.call(...); +``` + +| Type in Cairo 1 | Cairo 1 code | Type expected in JS/TS | JS/TS function to recover data | +| --------------------------------------------------------- | ---------------------------------- | --------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| u8, u16, u32, usize, u64, u128, felt252, address | `func get_v()->u128` | bigint | `const res: bigint = myContract.call(...` | +| | | string representing an hex number | `const res=myContract.call(...`
`const address: string = num.toHex(res);` | +| u8, u16, u32, usize | `func get_v() -> u16` | number (53 bits max) | `const res=myContract.call(...`
`const total: number = Number(res)` | +| u256 (255 bits max) | `func get_v() -> u256` | bigint | `const res: bigint = myContract.call(...` | +| u512 (512 bits max) | `func get_v() -> u512` | bigint | `const res: bigint = myContract.call(...` | +| array of u8, u16, u32, usize, u64, u128, felt252, address | `func get_v() -> Array` | bigint[] | `const res: bigint[] = myContract.call(...` | +| bytes31 (31 ASCII characters max) | `func get_v() -> bytes31` | string | `const res: string = myContract.call(...` | +| felt252 (31 ASCII characters max) | `func get_v() -> felt252` | string | `const res = myContract.call(...`
`const title:string = shortString.decodeShortstring(res);` | +| longString | `func get_v() -> Array` | string | `const res=myContract.call(...`
`const longString = res.map( (shortStr: bigint) => { return shortString.decodeShortString( num.toHex( shortStr)) }).join("");` | +| ByteArray | `func get_v() -> ByteArray` | string | `const res: string = myContract.call(...` | +| Tuple | `func get_v() -> (felt252, u8)` | Object {"0": bigint, "1": bigint} | `const res = myContract.call(...`
`const res0: bigint = res["0"];`
`const results: bigint[] = Object.values(res)` | +| Struct | ` func get_v() -> MyStruct` | MyStruct = { account: bigint, amount: bigint} | `const res: MyStruct = myContract.call(...` | +| complex array | `func get_v() -> Array` | MyStruct[] | `const res: MyStruct[] = myContract.call(...` | + +If you don't know if your Contract object is interacting with a Cairo 0 or a Cairo 1 contract, you have these methods: + +```typescript +import { cairo } from 'starknet'; +const isCairo1: boolean = myContract.isCairo1(); +const isAbiCairo1: boolean = cairo.isCairo1Abi(myAbi); +``` + +## Parse configuration + +### parseRequest + +If for any reason (mainly for speed of processing), you want to define yourself the low-level parameters to send to Starknet, you can use the `parseRequest` option. +Parameters are an array of strings (representing numbers). + +```typescript +const txH = await myContract.send_tk(['2036735872918048433518', '5130580', '18'], { + parseRequest: false, +}); +``` + +### parseResponse + +If for any reason, you want to receive a low-level answer from Starknet, you can use the parseResponse option. + +```typescript +const result = await myContract.call('get_bals', 100n, { parseResponse: false }); +``` + +The answer is an array of strings (representing numbers). + +### formatResponse + +As seen above, the strings returned by Starknet are not automatically parsed, because ABI does not inform when a contract returns a string. +But there is a way to have automatic parsing of a string. + +For example, if a contract returns a struct containing a shortString and a longString: + +```typescript +{ name: felt252, description: Array } +``` + +You can automate the string parsing with: + +```typescript +const formatAnswer = { name: 'string', description: 'string' }; +const result = await myContract.get_text(calldata, { + parseRequest: true, + parseResponse: true, + formatResponse: formatAnswer, +}); +``` + +The result will be an object, with 2 strings: + +```typescript +{ name: "Organic", description: "The best way to read a long string!!!" } +``` + +## Tool to learn how to encode/decode + +A DAPP has been created to learn how to encode/decode with Starknet.js : **Startnet-encode-decode**. +It's also a convenient tool for the exploration of any contract ABI. +![](./pictures/encodeFn2.png) + +Follow these links : +DAPP : https://starknet-encode-decode.vercel.app/ +Tuto : https://github.com/PhilippeR26/starknet-encode-decode/blob/main/tuto.md diff --git a/www/versioned_docs/version-6.11.0/guides/doc_scripts/deployBraavos.ts b/www/versioned_docs/version-6.11.0/guides/doc_scripts/deployBraavos.ts new file mode 100644 index 000000000..0848be974 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/guides/doc_scripts/deployBraavos.ts @@ -0,0 +1,197 @@ +// Collection of functions for Braavos account creation +// coded with Starknet.js v5.11.1, 01/jun/2023 + +import { + BigNumberish, + CairoVersion, + CallData, + Calldata, + DeployAccountContractPayload, + DeployAccountContractTransaction, + DeployContractResponse, + EstimateFeeDetails, + InvocationsSignerDetails, + RawCalldata, + RpcProvider, + constants, + ec, + hash, + num, + stark, +} from 'starknet'; + +const BraavosProxyClassHash: BigNumberish = + '0x03131fa018d520a037686ce3efddeab8f28895662f019ca3ca18a626650f7d1e'; +const BraavosInitialClassHash = '0x5aa23d5bb71ddaa783da7ea79d405315bafa7cf0387a74f4593578c3e9e6570'; +const BraavosAccountClassHash = '0x2c2b8f559e1221468140ad7b2352b1a5be32660d0bf1a3ae3a054a4ec5254e4'; // will probably change over time + +export function getBraavosSignature( + BraavosProxyAddress: BigNumberish, + BraavosProxyConstructorCallData: RawCalldata, + starkKeyPubBraavos: BigNumberish, + version: bigint, + max_fee: BigNumberish, + chainId: constants.StarknetChainId, + nonce: bigint, + privateKeyBraavos: BigNumberish +): string[] { + const txnHash = hash.calculateDeployAccountTransactionHash( + BraavosProxyAddress, + BraavosProxyClassHash, + BraavosProxyConstructorCallData, + starkKeyPubBraavos, + version, + max_fee, + chainId, + nonce + ); + + const parsedOtherSigner = [0, 0, 0, 0, 0, 0, 0]; + const { r, s } = ec.starkCurve.sign( + hash.computeHashOnElements([txnHash, BraavosAccountClassHash, ...parsedOtherSigner]), + num.toHex(privateKeyBraavos) + ); + const signature = [ + r.toString(), + s.toString(), + BraavosAccountClassHash.toString(), + ...parsedOtherSigner.map((e) => e.toString()), + ]; + console.log('signature =', signature); + return signature; +} + +const calcBraavosInit = (starkKeyPubBraavos: string) => + CallData.compile({ public_key: starkKeyPubBraavos }); +const BraavosProxyConstructor = (BraavosInitializer: Calldata) => + CallData.compile({ + implementation_address: BraavosInitialClassHash, + initializer_selector: hash.getSelectorFromName('initializer'), + calldata: [...BraavosInitializer], + }); + +export function calculateAddressBraavos(privateKeyBraavos: BigNumberish): string { + const starkKeyPubBraavos = ec.starkCurve.getStarkKey(num.toHex(privateKeyBraavos)); + const BraavosInitializer = calcBraavosInit(starkKeyPubBraavos); + const BraavosProxyConstructorCallData = BraavosProxyConstructor(BraavosInitializer); + + return hash.calculateContractAddressFromHash( + starkKeyPubBraavos, + BraavosProxyClassHash, + BraavosProxyConstructorCallData, + 0 + ); +} + +async function buildBraavosAccountDeployPayload( + privateKeyBraavos: BigNumberish, + { + classHash, + addressSalt, + constructorCalldata, + contractAddress: providedContractAddress, + }: DeployAccountContractPayload, + { nonce, chainId, version, maxFee }: InvocationsSignerDetails +): Promise { + const compiledCalldata = CallData.compile(constructorCalldata ?? []); + const contractAddress = providedContractAddress ?? calculateAddressBraavos(privateKeyBraavos); + const starkKeyPubBraavos = ec.starkCurve.getStarkKey(num.toHex(privateKeyBraavos)); + const signature = getBraavosSignature( + contractAddress, + compiledCalldata, + starkKeyPubBraavos, + BigInt(version), + maxFee, + chainId, + BigInt(nonce), + privateKeyBraavos + ); + return { + classHash, + addressSalt, + constructorCalldata: compiledCalldata, + signature, + }; +} + +export async function estimateBraavosAccountDeployFee( + privateKeyBraavos: BigNumberish, + provider: RpcProvider, + { blockIdentifier, skipValidate }: EstimateFeeDetails = {} +): Promise { + const version = hash.feeTransactionVersion; + const nonce = constants.ZERO; + const chainId = await provider.getChainId(); + const cairoVersion: CairoVersion = '0'; + const starkKeyPubBraavos = ec.starkCurve.getStarkKey(num.toHex(privateKeyBraavos)); + const BraavosProxyAddress = calculateAddressBraavos(privateKeyBraavos); + const BraavosInitializer = calcBraavosInit(starkKeyPubBraavos); + const BraavosProxyConstructorCallData = BraavosProxyConstructor(BraavosInitializer); + + const payload = await buildBraavosAccountDeployPayload( + privateKeyBraavos, + { + classHash: BraavosProxyClassHash.toString(), + addressSalt: starkKeyPubBraavos, + constructorCalldata: BraavosProxyConstructorCallData, + contractAddress: BraavosProxyAddress, + }, + { + nonce, + chainId, + version, + walletAddress: BraavosProxyAddress, + maxFee: constants.ZERO, + cairoVersion, + } + ); + + const response = await provider.getDeployAccountEstimateFee( + { ...payload }, + { version, nonce }, + blockIdentifier, + skipValidate + ); + const suggestedMaxFee = stark.estimatedFeeToMaxFee(response.overall_fee); + + return suggestedMaxFee; +} + +export async function deployBraavosAccount( + privateKeyBraavos: BigNumberish, + provider: RpcProvider, + max_fee?: BigNumberish +): Promise { + const nonce = constants.ZERO; + const starkKeyPubBraavos = ec.starkCurve.getStarkKey(num.toHex(privateKeyBraavos)); + console.log('pubkey =', starkKeyPubBraavos.toString()); + const BraavosProxyAddress = calculateAddressBraavos(privateKeyBraavos); + const BraavosInitializer = calcBraavosInit(starkKeyPubBraavos); + const BraavosProxyConstructorCallData = BraavosProxyConstructor(BraavosInitializer); + max_fee ??= await estimateBraavosAccountDeployFee(privateKeyBraavos, provider); + const version = hash.transactionVersion; + const signatureBraavos = getBraavosSignature( + BraavosProxyAddress, + BraavosProxyConstructorCallData, + starkKeyPubBraavos, + version, + max_fee, + await provider.getChainId(), + nonce, + privateKeyBraavos + ); + + return provider.deployAccountContract( + { + classHash: BraavosProxyClassHash.toString(), + addressSalt: starkKeyPubBraavos, + constructorCalldata: BraavosProxyConstructorCallData, + signature: signatureBraavos, + }, + { + nonce, + maxFee: max_fee, + version, + } + ); +} diff --git a/www/versioned_docs/version-6.11.0/guides/estimate_fees.md b/www/versioned_docs/version-6.11.0/guides/estimate_fees.md new file mode 100644 index 000000000..2c8d4f3b6 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/guides/estimate_fees.md @@ -0,0 +1,138 @@ +--- +sidebar_position: 11 +--- + +# Estimate fees + +By default, all nonfree Starknet commands (declare, deploy, invoke) work without any limitation of cost. + +Nevertheless, you might want to inform the DAPP user of the cost of the incoming transaction before proceeding and requesting its validation. + +Starknet.js proposes several functions to estimate the fees: + +## estimateInvokeFee + +To estimate the cost to invoke a contract in the network: + +```typescript +const { suggestedMaxFee: estimatedFee1 } = await account0.estimateInvokeFee({ + contractAddress: testAddress, + entrypoint: 'increase_balance', + calldata: ['10', '30'], +}); +``` + +The result is in `estimatedFee1`, of type BigInt. Unit is WEI for "legacy" transactions, and FRI for V3 transactions. + +The complete answer for a "legacy" transaction : + +```typescript +{ + overall_fee: 2499000034986n, + gas_consumed: 2499n, + gas_price: 1000000014n, + unit: 'WEI', + suggestedMaxFee: 3748500052479n, + resourceBounds: { + l2_gas: { max_amount: '0x0', max_price_per_unit: '0x0' }, + l1_gas: { max_amount: '0xabc', max_price_per_unit: '0x59682f15' } + } +} +``` + +The complete answer for a V3 transaction : + +```typescript +{ + overall_fee: 46098414083169n, + gas_consumed: 2499n, + gas_price: 18446744331n, + unit: 'FRI', + suggestedMaxFee: 69147621124753n, + resourceBounds: { + l2_gas: { max_amount: '0x0', max_price_per_unit: '0x0' }, + l1_gas: { max_amount: '0xabc', max_price_per_unit: '0x671447890' } + } +} +``` + +## estimateDeclareFee + +To estimate the cost to declare a contract in the network: + +```typescript +const { suggestedMaxFee: estimatedFee1 } = await account0.estimateDeclareFee({ + contract: compiledTest, + classHash: testClassHash, +}); +``` + +The result is in `estimatedFee1`, of type BigInt. + +## estimateDeployFee + +To estimate the cost to deploy a contract in the network: + +```typescript +const { suggestedMaxFee: estimatedFee1 } = await account0.estimateDeployFee({ + classHash: testClassHash, + // constructorCalldata is not necessary if the contract to deploy has no constructor + constructorCalldata: callData, +}); +``` + +The result is in `estimatedFee1`, of type BigInt. + +## estimateAccountDeployFee + +To estimate the cost to deploy an account in the network: + +```typescript +const { suggestedMaxFee: estimatedFee1 } = await account0.estimateAccountDeployFee({ + classHash: OZaccountClassHash, + constructorCalldata: OZaccountConstructorCallData, + contractAddress: OZcontractAddress, +}); +``` + +The result is in `estimatedFee1`, of type BigInt. + +## Fee limitation + +In all non-free functions, you can add an optional parameter limiting the fee consumption. +If the fee has been previously estimated, you can use this value for this parameter, but sometimes this value is under-evaluated: **don't hesitate to add a margin of approximately 10%**: + +```typescript +(estimatedFee1 * 11n) / 10n; +``` + +You can also use the `stark.estimatedFeeToMaxFee` function: + +```typescript +import { stark } from 'starknet'; +stark.estimatedFeeToMaxFee(estimatedFee1, 0.1); +``` + +Example for declaring: + +```typescript +const { suggestedMaxFee: estimatedFee1 } = await account0.estimateDeclareFee({ + contract: compiledTest, +}); + +const declareResponse = await account0.declare( + { contract: compiledTest }, + { maxFee: (estimatedFee1 * 11n) / 10n } +); +``` + +## Real fee paid + +After the processing of the transaction, you can read the fee that has really been paid : + +```typescript +const txR = await provider.waitForTransaction(txH); +if (txR.isSuccess()) { + console.log('Fee paid =', txR.actual_fee); +} +``` diff --git a/www/versioned_docs/version-6.11.0/guides/events.md b/www/versioned_docs/version-6.11.0/guides/events.md new file mode 100644 index 000000000..d7c38a8e4 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/guides/events.md @@ -0,0 +1,217 @@ +--- +sidebar_position: 13 +--- + +# Events + +A contract may emit events throughout its execution. Each event contains the following fields: + +- from_address: address of the contract emitting the events +- keys: a list of field elements +- data: a list of field elements + +The keys can be used for indexing the events, while the data may contain any information that we wish to log. + +The events are recorded in the blocks of the blockchain. + +Example of Cairo code for an event: + +```rust +#[derive(Drop, starknet::Event)] + struct EventPanic { + #[key] + errorType: u8, + errorDescription: felt252, + } +``` + +Here we have an event called `EventPanic`, with an u8 stored in keys, and a felt252 (text) in data. + +## Why events ? + +Events are a useful tool for logging and notifying external entities about specific occurrences within a contract, with a timestamp (the block number). They emit data that can be accessed by everybody. + +Some cases: + +- When a specific value is reached in a contract, an event can be created to store the fact that this value has been reached at a specific block number. +- When the L1 network has triggered the execution of a L2 contract, you can store in the event some results and when it occurs. + +An event can be useful also when you invoke a contract. When you invoke a Cairo function (meaning to write in the network), the API does not authorize any response (only call functions can provide an answer). To generate an event in the code is a way to provide a response (for example for the creation of an account, an event is generated to return the account address). + +## With the Transaction hash + +If you use Starknet.js to invoke a Cairo function that will trigger a new event, you will receive the transaction hash as a response. Preserve it so it can be used to easily retrieve the event data. + +Example of invocation: + +```typescript +const transactionHash = myContract.invoke('emitEventPanic', [8, 'Mega Panic.']); +``` + +Then get the transaction receipt: + +```typescript +const txReceipt = await provider.waitForTransaction(transactionHash); +``` + +### Raw response + +You can recover all the events related to this transaction hash: + +```typescript +if (txReceipt.isSuccess()) { + const listEvents = txReceipt.events; +} +``` + +The result is an array of events (here only one event): + +```typescript +[ + { + from_address: '0x47cb13bf174043adde61f7bea49ab2d9ebc575b0431f85bcbfa113a6f93fc4', + keys: ['0x3ba972537cb2f8e811809bba7623a2119f4f1133ac9e955a53d5a605af72bf2', '0x8'], + data: ['0x4d6567612050616e69632e'], + }, +]; +``` + +The first parameter in the `keys` array is a hash of the name of the event, calculated this way: + +```typescript +const nameHash = num.toHex(hash.starknetKeccak('EventPanic')); +``` + +:::info +In some cases (when an event is coded in a Cairo component, without the `#[flat]` flag), this hash is handled in several numbers. +::: + +The second parameter is the `errorType` variable content (stored in keys array because of the `#[key]` flag in the Cairo code). + +The `data` array contains the `errorDescription` variable content (`'0x4d6567612050616e69632e'` corresponds to the encoded value of "Mega Panic.") + +You can decode it with: + +```typescript +const ErrorMessage = shortString.decodeShortString('0x4d6567612050616e69632e'); +``` + +### Parsed response + +Once you have the transaction receipt, you can parse the events to have something easier to process. +We will perform parsing this way: + +```typescript +const events = myTestContract.parseEvents(txReceipt); +``` + +The result is an array of parsed events (here only one event): + +```typescript +events = [ + { + EventPanic: { errorType: 8n, errorDescription: 93566154138418073030976302n }, + }, +]; +``` + +Easier to read and process, isn't it? + +## Without transaction hash + +If you don't have the transaction Hash of the contract execution that created the event, it will be necessary to search inside the blocks of the Starknet blockchain. + +In this example, if you want to read the events recorded in the last 10 blocks, you need to use a method available from an RPC node. The class `RpcProvider` is available for this case: + +```typescript +import { RpcProvider } from 'starknet'; +const provider = new RpcProvider({ nodeUrl: `${myNodeUrl}` }); +const lastBlock = await provider.getBlock('latest'); +const keyFilter = [[num.toHex(hash.starknetKeccak('EventPanic')), '0x8']]; +const eventsList = await provider.getEvents({ + address: myContractAddress, + from_block: { block_number: lastBlock.block_number - 9 }, + to_block: { block_number: lastBlock.block_number }, + keys: keyFilter, + chunk_size: 10, +}); +``` + +:::info +`address, from_block, to_block, keys` are all optional parameters. +::: + +:::tip +If you don't want to filter by key, you can either remove the `keys` parameter, or affect it this way: `[[]]` . +::: + +:::warning CAUTION +An event can be nested in a Cairo component (See the Cairo code of the contract to verify). In this case, the array of keys will start with additional hashes, and you will have to adapt your code in consequence ; in this example, we have to skip one hash : + +```typescript +const keyFilter = [[], [num.toHex(hash.starknetKeccak('EventPanic'))]]; +``` + +::: + +Here we have only one event. You can easily read this event: + +```typescript +const event = eventsList.events[0]; +console.log('data length =', event.data.length, 'key length =', event.keys.length, ':'); +console.log('\nkeys =', event.keys, 'data =', event.data); +``` + +To limit the workload of the node, the parameter `chunk_size` defines a size of chunk to read. If the request needs an additional chunk, the response includes a key `continuation_token` containing a string to use in the next request. +Hereunder a code to read all the chunks of a request: + +```typescript +const keyFilter = [num.toHex(hash.starknetKeccak('EventPanic')), '0x8']; +let block = await provider.getBlock('latest'); +console.log('bloc #', block.block_number); + +let continuationToken: string | undefined = '0'; +let chunkNum: number = 1; +while (continuationToken) { + const eventsRes = await providerRPC.getEvents({ + from_block: { + block_number: block.block_number - 30, + }, + to_block: { + block_number: block.block_number, + }, + address: myContractAddress, + keys: [keyFilter], + chunk_size: 5, + continuation_token: continuationToken === '0' ? undefined : continuationToken, + }); + const nbEvents = eventsRes.events.length; + continuationToken = eventsRes.continuation_token; + console.log('chunk nb =', chunkNum, '.', nbEvents, 'events recovered.'); + console.log('continuation_token =', continuationToken); + for (let i = 0; i < nbEvents; i++) { + const event = eventsRes.events[i]; + console.log( + 'event #', + i, + 'data length =', + event.data.length, + 'key length =', + event.keys.length, + ':' + ); + console.log('\nkeys =', event.keys, 'data =', event.data); + } + chunkNum++; +} +``` + +If you want to parse an array of events of the same contract (abi of the contract available) : + +```typescript +const abiEvents = events.getAbiEvents(abi); +const abiStructs = CallData.getAbiStruct(abi); +const abiEnums = CallData.getAbiEnum(abi); +const parsed = events.parseEvents(eventsRes.events, abiEvents, abiStructs, abiEnums); +console.log('parsed events=', parsed); +``` diff --git a/www/versioned_docs/version-6.11.0/guides/interact.md b/www/versioned_docs/version-6.11.0/guides/interact.md new file mode 100644 index 000000000..ff8392f40 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/guides/interact.md @@ -0,0 +1,279 @@ +--- +sidebar_position: 6 +--- + +# Interact with your contract + +Once your provider, contract, and account are connected, you can interact with the contract: + +- you can read the memory of the contract, without fees. +- you can write to memory, but you have to pay fees. + - On Mainnet, you have to pay fees with a bridged ETH token. + - On Testnet, you have to pay with a bridged Sepolia ETH token. + - On devnet, you have to pay with a dummy ETH token. + +Your account should be funded enough to pay fees (0.01 ETH should be enough to start). + +![](./pictures/Interact_contract.png) + +Here we will interact with a `test.cairo` contract (Cairo 1) already deployed in Sepolia Testnet at the address: + +- [0x02d2a4804f83c34227314dba41d5c2f8a546a500d34e30bb5078fd36b5af2d77](https://sepolia.starkscan.co/contract/0x02d2a4804f83c34227314dba41d5c2f8a546a500d34e30bb5078fd36b5af2d77) + +This contract contains a storage variable called `balance`. + +- It can be read with the `fn get_balance(self: @TContractState) -> felt252;` +- Balance can be modified with `fn increase_balance(ref self: TContractState, amount: felt252);` + +```typescript +import { RpcProvider, Contract, Account, ec, json } from 'starknet'; +``` + +## 🔍 Read from contract memory, with meta-class + +To read the balance, you need to connect an RpcProvider and a Contract. +You have to call Starknet, with the use of the meta-class method: `contract.function_name(params)` (here `params` is not necessary, because there are no parameters for the `get_balance` function). + +```typescript +//initialize provider with a Sepolia Testnet node +const provider = new RpcProvider({ nodeUrl: `${myNodeUrl}` }); +// Connect the deployed Test contract in Sepolia Testnet +const testAddress = '0x02d2a4804f83c34227314dba41d5c2f8a546a500d34e30bb5078fd36b5af2d77'; + +// read abi of Test contract +const { abi: testAbi } = await provider.getClassAt(testAddress); +if (testAbi === undefined) { + throw new Error('no abi.'); +} +const myTestContract = new Contract(testAbi, testAddress, provider); + +// Interaction with the contract with call +const bal1 = await myTestContract.get_balance(); +console.log('Initial balance =', bal1); // Cairo 1 contract +// With Cairo 0 contract, `bal1.res.toString()` because the return value is called 'res' in the Cairo 0 contract. +// With Cairo 1 contract, the result value is in `bal1`, as bigint. +``` + +## ✍️ Write to contract memory, with meta-class + +To increase the balance, you need in addition a connected and funded Account. + +You have to invoke Starknet, with the use of the meta-class method: `contract.function_name(params)` + +> After the invoke, you have to wait the incorporation of the modification of Balance in the network, with `await provider.waitForTransaction(transaction_hash)` + +Here is an example of how to increase and check the balance: + +```typescript +//initialize provider with a Sepolia Testnet node +const provider = new RpcProvider({ nodeUrl: `${myNodeUrl}` }); +// connect your account. To adapt to your own account: +const privateKey0 = process.env.OZ_ACCOUNT_PRIVATE_KEY; +const account0Address = '0x123....789'; + +const account0 = new Account(provider, account0Address, privateKey0); + +// Connect the deployed Test contract in Testnet +const testAddress = '0x02d2a4804f83c34227314dba41d5c2f8a546a500d34e30bb5078fd36b5af2d77'; + +// read abi of Test contract +const { abi: testAbi } = await provider.getClassAt(testAddress); +if (testAbi === undefined) { + throw new Error('no abi.'); +} +const myTestContract = new Contract(testAbi, testAddress, provider); + +// Connect account with the contract +myTestContract.connect(account0); + +// Interactions with the contract with meta-class +const bal1 = await myTestContract.get_balance(); +console.log('Initial balance =', bal1); // Cairo 1 contract +const myCall = myTestContract.populate('increase_balance', [10]); +const res = await myTestContract.increase_balance(myCall.calldata); +await provider.waitForTransaction(res.transaction_hash); + +const bal2 = await myTestContract.get_balance(); +console.log('Final balance =', bal2); +``` + +`Contract.populate()` is the recommended method to define the parameters to call/invoke the Cairo functions. + +## ✍️ Send a V3 transaction, paying fees with STRK + +We have seen in the previous chapter how to send a "legacy" transaction, with fees paid in ETH. +You can also send transactions and pay the fees with the STRK token. It is called a V3 transaction. +To perform a such transaction, you need: + +- an account compatible with V3 transactions. +- Some STRK tokens in this account. +- a node with a rpc spec 0.6.0. +- Starknet.js v6. + +You have to initialize the account this way : + +```typescript +const account0 = new Account( + provider, + accountAddress0, + privateKey0, + undefined, + constants.TRANSACTION_VERSION.V3 +); +``` + +By this way, all the transactions sent by this account are by default performed in V3 (paid with STRK). If the transactionVersion parameter is omitted, "legacy" transactions will be performed. + +One example of V3 transaction, using account.execute : + +```typescript +const myCall = myTestContract.populate('test_fail', [100]); +const maxQtyGasAuthorized = 1800n; // max quantity of gas authorized +const maxPriceAuthorizeForOneGas = 12n * 10n ** 9n; // max FRI authorized to pay 1 gas (1 FRI=10**-18 STRK) +console.log('max authorized cost =', maxQtyGasAuthorized * maxPriceAuthorizeForOneGas, 'FRI'); +const { transaction_hash: txH } = await account0.execute(myCall, { + version: 3, + maxFee: 10 ** 15, + feeDataAvailabilityMode: RPC.EDataAvailabilityMode.L1, + tip: 10 ** 13, + paymasterData: [], + resourceBounds: { + l1_gas: { + max_amount: num.toHex(maxQtyGasAuthorized), + max_price_per_unit: num.toHex(maxPriceAuthorizeForOneGas), + }, + l2_gas: { + max_amount: num.toHex(0), + max_price_per_unit: num.toHex(0), + }, + }, +}); +const txR = await provider.waitForTransaction(txH); +if (txR.isSuccess()) { + console.log('Paid fee =', txR.actual_fee); +} +``` + +Yes, it's much more complicated. Let's see in detail. +In fact, Starknet v0.13.0 is using few of these parameters : +`feeDataAvailabilityMode: RPC.EDataAvailabilityMode.L2` is not yet accepted. +`feeDataAvailabilityMode: RPC.EDataAvailabilityMode.L1` is accepted. +`maxFee : 10**15` : value not taken into account in V3 +`tip: 10**13` : value not yet taken into account +`paymasterData: []` : only empty value currently authorized + +```typescript +l1_gas: { + max_amount: num.toHex(2000n), // max quantity of gas authorized + max_price_per_unit: num.toHex(12n * 10n ** 9n) // max FRI authorized to pay 1 gas (here 12 G FRI) +}, +l2_gas: { + max_amount: num.toHex(0), // currently set to 0 + max_price_per_unit: num.toHex(0) // currently set to 0 +} +``` + +Take care that these gas values have to be `string` type. +In future versions, Starknet will uses all these parameters. +The `version` parameter is optional (account settings by default), and overtakes the `transactionVersion` parameter of the Account instantiation. Here, it's not really necessary to use this parameter, as the same transaction version has been already initialized in the account instantiation. + +## Sending sequential transactions + +If you intend to send sequential transactions through the contract object, like so: + +```typescript +const tx = await cairo1Contract.array2d_ex(data); +const tx1 = await cairo1Contract.array2d_ex(data); +``` + +Be sure to use `waitForTransaction` between the calls, because you may experience issues with the nonce not incrementing: + +```typescript +const tx = await cairo1Contract.array2d_ex(data); +await provider.waitForTransaction(tx.transaction_hash); +const tx1 = await cairo1Contract.array2d_ex(data); +await provider.waitForTransaction(tx1.transaction_hash); +``` + +## Write several operations, with Account.execute + +In a Starknet transaction, you can include several invoke operations. It will be performed with `account.execute`. + +We will later see this case more in detail in this dedicated [guide](multiCall.md), but in summary, you use this command with the following parameters: + +- address of the contract to invoke +- name of the function to invoke +- and an array of parameters for this function + +```typescript +const result = await account.execute({ + contractAddress: myContractAddress, + entrypoint: 'transfer', + calldata: CallData.compile({ + recipient: receiverAddress, + amount: cairo.uint256(100000n), + }), +}); +await provider.waitForTransaction(result.transaction_hash); +``` + +## Other existing methods + +Some other useful methods to interact with Starknet: + +### Function name defined in the code + +If you want to call a function with its name contained in a variable: + +```typescript +const listFn = ['calc-sum', 'calc-hash', 'calc-proof']; +// fnChoice is a number defined during execution +const res = await myTestContract[listFn[fnChoice]](200, 234567897n, 865423); +``` + +### Light and fast call + +If you want to have a very fast execution, with minimum resource usage: + +```typescript +const specialParameters: Calldata = ['2036735872918048433518', '5130580', '18']; +const getResponse = await myAccount.call('get_bal', specialParameters, { parseRequest: false }); +``` + +You provide the low-level numbers expected by Starknet, without any parsing or checking. See more details [here](define_call_message.md#parse-configuration). + +## Transaction receipt response + +You can interpret the transaction receipt response to check whether it succeeded or not. + +```typescript +const result = await account.execute(myCall); +const txR = await provider.waitForTransaction(result.transaction_hash); + +console.log(txR.statusReceipt, txR.value); +console.log(txR.isSuccess(), txR.isRejected(), txR.isReverted(), txR.isError()); + +txR.match({ + success: () => { + console.log('Success'); + }, + _: () => { + console.log('Unsuccess'); + }, +}); + +txR.match({ + success: (txR: SuccessfulTransactionReceiptResponse) => { + console.log('Success =', txR); + }, + rejected: (txR: RejectedTransactionReceiptResponse) => { + console.log('Rejected =', txR); + }, + reverted: (txR: RevertedTransactionReceiptResponse) => { + console.log('Reverted =', txR); + }, + error: (err: Error) => { + console.log('An error occured =', err); + }, +}); +``` diff --git a/www/versioned_docs/version-6.11.0/guides/intro.md b/www/versioned_docs/version-6.11.0/guides/intro.md new file mode 100644 index 000000000..7c78839f6 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/guides/intro.md @@ -0,0 +1,58 @@ +--- +sidebar_position: 1 +--- + +# Getting Started + +## Installation + +```bash +# use the main branch + +npm install starknet + +# to use latest features (merges in develop branch) + +npm install starknet@next +``` + +## Running test locally + +### With Devnet + +- RPC Devnet [repo](https://github.com/0xSpaceShard/starknet-devnet-rs) + +Launch the development net. + +Open a new console tab, go to your starknet.js directory, and run: + +```bash +npm run test # all tests +npm run test ./__tests__/contract.test.ts # just one test suite +``` + +## Running docs locally + +If you want to change documentation and see how it looks before making a PR: + +```bash +cd www +npm install # install docusaurus +npm run start # fires up a local documentation site +``` + +## Compiling Starknet Contracts + +Please check the Starknet documentation [here](https://docs.starknet.io/documentation/quick_start/declare_a_smart_contract/#compiling_a_smart_contract) to compile Starknet contracts. + +Additional helpful resources can also be found at [OpenZeppelin](https://docs.openzeppelin.com/contracts-cairo/0.6.1/) documentation site. + +## Interacting with contracts and accounts + +For a basic overview on how to interact with contracts and accounts continue following this guide. + +For some more extensive examples visit PhilippeR26's [workshop](https://github.com/PhilippeR26/starknet.js-workshop-typescript). + +## Contracts used in the guides + +You can find the compiled contracts used in these guides in the [\_\_mocks\_\_](https://github.com/starknet-io/starknet.js/tree/develop/__mocks__/cairo/myAccountAbstraction/) directory. diff --git a/www/versioned_docs/version-6.11.0/guides/migrate.md b/www/versioned_docs/version-6.11.0/guides/migrate.md new file mode 100644 index 000000000..37483ef84 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/guides/migrate.md @@ -0,0 +1,105 @@ +--- +sidebar_position: 101 +--- + +# Migrate from v5 to v6 + +This document only covers the features present in v5 which have changed in some significant way in v6. + +If you encounter any missing changes, please let us know and we will update this guide. + +## Transaction receipt + +When sending a transaction, the receipt type has changed. +In V5, it's an object that can have varied definitions, depending of the status and the type of transaction. +In V6, this object is in `TxR.value`, and several helpers are available (`.statusReceipt`, `isSuccess()`, `isRejected()`, `isReverted()`, `.isError()`, `match`, ...) + +```typescript +const response = await ethContract.approve(swapContractAddress, cairo.uint256(100000)); +const transactionReceipt = await provider.waitForTransaction(response.transaction_hash); + +// v5 : transactionReceipt is just an object +{ +type: 'INVOKE', + transaction_hash: '0x5286217518c621581ac85505a99ffe182ce1114abaa8fce8b418d2b27c3c04c', + actual_fee: { unit: 'WEI', amount: '0x1c1902fe99800' }, + messages_sent: [], + execution_status: 'SUCCEEDED', + finality_status: 'ACCEPTED_ON_L2', + // ... +} +// v6 : transactionReceipt is an object + helpers +const receipt = transactionReceipt.value; +const status: boolean = transactionReceipt.isSuccess(); + +``` + +> See this [guide](./interact.md#transaction-receipt-response) + +## Long strings + +Starknet.js v6 is compatible with Cairo v2.4.0. It means that long strings (>31 characters) are automatically handled and converted to the Cairo `ByteArray` type. +This means that the approach to convert a long string to an array of felts (for Cairo 0 contracts for example) has changed: + +```typescript +// v5 +const feltArray: BigNumberish[] = CallData.compile( + 'http://addressOfMyERC721pictures/storage/image1.jpg' +); + +// v6 +const feltArray: BigNumberish[] = CallData.compile( + shortString.splitLongString('http://addressOfMyERC721pictures/storage/image1.jpg') +); +``` + +## Fees + +All functions related to gas price and fee estimation have changed output types. + +For example, if you read the content of a block with v5 the ETH gas price was a top level property, with v6 the same information is nested a level deeper: + +```typescript +const resp: GetBlockResponse = await myProvider.getBlock('latest'); + +// v5 +const gasPrice = resp.gas_price; + +// v6 +const gasPrice = resp.l1_gas_price.price_in_wei; +``` + +Another example is `estimateDeclareFee()` where the response object has changed: + +```typescript +const fee = await account0.estimateDeclareFee({ contract: compiledContract }); + +// v5 response +fee = { + overall_fee: 247700000000000n, + gas_consumed: 2477n, + gas_price: 100000000000n, + suggestedMaxFee: 371550000000000n, +}; + +// v6 response +fee = { + overall_fee: 247700000000000n, + gas_consumed: 2477n, + gas_price: 100000000000n, + unit: undefined, + suggestedMaxFee: 371550000000000n, + resourceBounds: { + l2_gas: { max_amount: '0x0', max_price_per_unit: '0x0' }, + l1_gas: { max_amount: '0xaa4', max_price_per_unit: '0x22ecb25c00' }, + }, +}; +``` + +You have to adapt your code to all these new entries. +In general, pay attention to the result types of methods that return a response from an RPC node. + +
+
+ +For the old v4 to v5 migration instructions check [here](./migrate_v4). diff --git a/www/versioned_docs/version-6.11.0/guides/migrate_v4.md b/www/versioned_docs/version-6.11.0/guides/migrate_v4.md new file mode 100644 index 000000000..1f0a6a16b --- /dev/null +++ b/www/versioned_docs/version-6.11.0/guides/migrate_v4.md @@ -0,0 +1,195 @@ +--- +sidebar_position: 102 +sidebar_class_name: hidden +--- + +# Migrate from v4 to v5 + +This document only covers the features present in v4 which have changed in some significant way in v5. + +If you encounter any missing changes, please let us know and we will update this guide. + +## _number_ utility replaced by _num_ + +To avoid confusion with the native `number` type, the `number` namespace has been renamed to `num`. + +```typescript +// v4 +const res = number.isHex(d1); + +// v5 +const res = num.isHex(d1); +``` + +`number.toFelt()` has been removed, if manual handling is necessary `cairo.felt()` can be used. + +## _bn.js_ no longer supported + +The `bn.js` library has been removed in favor of using the native JavaScript `BigInt` data type. + +```typescript +// v4 +const qty = new BN('0x4a8bc'); + +// v5 +const qty1 = BigInt('0x4a8bc'); +const qty2 = 32786324915918425n; +``` + +The `BigNumberish` type is now defined as: + +- String representing a number: "123", "0xabc2" +- Number (max 53 bits): 123 +- BigInt (max 255 bits): 12345612345n + +Some commonly used `BN` utility methods are of course no longer present, however, they have simple equivalents: + +- `.mul()` and `.div()`: common operators can be used with bigints: `+` `-` `*` `/` +- `.umod()` can be easily replaced with: + +```typescript +// v4 +const c = a.umod(b); + +// v5 +const tmp = a % b; // a and b are bigint +const c = tmp >= 0n ? tmp : tmp + b; +``` + +- `.toarray()` can be replaced with `num.hexToBytes(a)` + +## ec (elliptic curve) + +With the `bn.js` removal the accompanying elliptic curve libraries have also been replaced, +consequently many functions have been relocated or modified. + +The concept of a key pair, where the private and public key are used as a single entity, has been removed. +`ec.getKeyPair()`, `ec.getKeyPairFromPublicKey()` and `ec.genKeyPair()` do not exist anymore, corresponding +methods use the private key directly. Check the following examples: + +`Account` creation: + +```typescript +// v4 +const privateKey0 = accountTestnet4PrivateKey; +const account0Address: string = accountTestnet4Address; +const starkKeyPair0 = ec.getKeyPair(privateKey0); +const account0 = new Account(provider, account0Address, starkKeyPair0); + +// v5 +const privateKey0 = accountTestnet4PrivateKey; +const account0Address: string = accountTestnet4Address; +const account0 = new Account(provider, account0Address, privateKey0); +``` + +Derive partial public key (`starknetPubKey`): + +```typescript +// v4 +const starknetPubKey = ec.getStarkKey(keyPair); + +// v5 +const starknetPubKey = ec.starkCurve.getStarkKey(privateKey); // only X part of full pubKey +``` + +Derive full public key (`fullPubKey`): + +```typescript +// v4 +const fullPubKey = encode.addHexPrefix(keyPair.getPublic('hex')); + +// v5 +const fullPubKey = encode.addHexPrefix( + encode.buf2hex(ec.starkCurve.getPublicKey(privateKey, false)) +); // full key +``` + +`ec.sign` and `ec.verify`: + +```typescript +// v4 +const signature = ec.sign(keyPair, msgHash); +const isVerified = ec.verify(inferredKeyPair, msgHash, signature); + +// v5 +const signature = ec.starkCurve.sign(msgHash, privateKey); +const verifStarknet = ec.starkCurve.verify(signature, msgHash, fullPubKeySource); +``` + +`pedersen` hash calculation: + +```typescript +// v4 +const hashMsg = hash.pedersen([account, price]); + +// v5 +const hashMsg = ec.starkCurve.pedersen(account, price); +``` + +## 'declare**And**Deploy' renaming + +The `account.declareDeploy()` method has been renamed to `declareAndDeploy()`: + +```typescript +// v4 +const response = await account0.declareDeploy({ contract: compiledTest, classHash: testClassHash }); + +// v5 +const response = await account0.declareAndDeploy({ + contract: compiledHelloSierra, + casm: compiledHelloCasm, +}); +``` + +> Note: `declare` and `declareAndDeploy` no longer require `classHash`! The new ec library is now able to calculate it quickly +> and does so automatically when it is not provided. If a contract has been written in Cairo 1 the `casm` property is needed. + +## Calldata and returned values + +Deep modifications and improvements have been performed concerning exchange of data with the Cairo contract functions. +The complete new rules are listed in this **[guide](define_call_message.md)**. +In short, it is easier to construct a list of parameters while relying on the built-in verification of the conformity to the abi. +Returned values from a Cairo 0 contract are identical, but returned values from a Cairo 1 contract are easier to recover. + +`stark.compileCalldata()` has been replaced by `CallData.compile()`. Regardless, the new `Contract.populate()` and `myCallData.compile()` methods are the recommended way to create calldata. + +## Provider + +Constants for `Provider` initialization have been updated. Only `RpcProvider` is now authorized: + +```typescript +// v4 +const providerTestnet = new Provider({ sequencer: { network: 'goerli-alpha' } }); + +// v5 +const providerTestnet = new RpcProvider({ nodeUrl: `${myNodeUrl}` }); +``` + +`Provider.chainId()` has been removed, `RpcProvider.getChainId()` should be used. + +```typescript +// v4 +const chainId = myProvider.chainId(); + +// v5 +const chainId = await myProvider.getChainId(); +``` + +## Uint256 + +The approach to create a `uint256` variable has changed: + +```typescript +// v4 +const amountIn = uint256.bnToUint256(amountToSwap); + +// v5 +const amountIn: Uint256 = cairo.uint256(50000n); +``` + +## get-starknet + +In your DAPP React code you can connect to ArgentX or Braavos wallets using the `get-starknet` library. + +The current v2.1.0 version is not yet compatible with starknet.js v5. +An update is expected. diff --git a/www/versioned_docs/version-6.11.0/guides/multiCall.md b/www/versioned_docs/version-6.11.0/guides/multiCall.md new file mode 100644 index 000000000..48a985263 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/guides/multiCall.md @@ -0,0 +1,54 @@ +--- +sidebar_position: 16 +--- + +# Interact with more than one contract within one transaction + +Interacting with more than one contract with one transaction is one of Starknet's features. To use this feature, two contracts are required. + +## Setup + +Set up basic stuff before multicall. + +```javascript +// devnet private key from Account #0 if generated with --seed 0 +const privateKey = '0xe3e70682c2094cac629f6fbed82c07cd'; +const accountAddress = '0x7e00d496e324876bbc8531f2d9a82bf154d1a04a50218ee74cdd372f75a551a'; + +// Ether token contract address +const contractAddress_1 = '0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7'; + +// contract address which require ether +const contractAddress_2 = '0x078f36c1d59dd29e00a0bb60aa2a9409856f4f9841c47f165aba5bab4225aa6b'; + +const account = new Account(provider, accountAddress, privateKey); +``` + +## Interact with contracts + +Interact with more than one contract by using `account.execute([calls])`. The example is as follows. + +```javascript +const multiCall = await account.execute([ + // Calling the first contract + { + contractAddress: contractAddress_1, + entrypoint: 'approve', + // approve 1 wei for bridge + calldata: CallData.compile({ + spender: contractAddress_2, + amount: cairo.uint256(1), + }), + }, + // Calling the second contract + { + contractAddress: contractAddress_2, + entrypoint: 'transfer_ether', + // transfer 1 wei to the contract address + calldata: CallData.compile({ + amount: cairo.uint256(1), + }), + }, +]); +await provider.waitForTransaction(multiCall.transaction_hash); +``` diff --git a/www/versioned_docs/version-6.11.0/guides/pictures/ERC20.png b/www/versioned_docs/version-6.11.0/guides/pictures/ERC20.png new file mode 100644 index 000000000..b79481e54 Binary files /dev/null and b/www/versioned_docs/version-6.11.0/guides/pictures/ERC20.png differ diff --git a/www/versioned_docs/version-6.11.0/guides/pictures/Interact_contract.png b/www/versioned_docs/version-6.11.0/guides/pictures/Interact_contract.png new file mode 100644 index 000000000..440567883 Binary files /dev/null and b/www/versioned_docs/version-6.11.0/guides/pictures/Interact_contract.png differ diff --git a/www/versioned_docs/version-6.11.0/guides/pictures/SelectWallet.png b/www/versioned_docs/version-6.11.0/guides/pictures/SelectWallet.png new file mode 100644 index 000000000..9fd554857 Binary files /dev/null and b/www/versioned_docs/version-6.11.0/guides/pictures/SelectWallet.png differ diff --git a/www/versioned_docs/version-6.11.0/guides/pictures/WalletAccountArchitecture.png b/www/versioned_docs/version-6.11.0/guides/pictures/WalletAccountArchitecture.png new file mode 100644 index 000000000..0bc717d5a Binary files /dev/null and b/www/versioned_docs/version-6.11.0/guides/pictures/WalletAccountArchitecture.png differ diff --git a/www/versioned_docs/version-6.11.0/guides/pictures/addToken.png b/www/versioned_docs/version-6.11.0/guides/pictures/addToken.png new file mode 100644 index 000000000..58d279adc Binary files /dev/null and b/www/versioned_docs/version-6.11.0/guides/pictures/addToken.png differ diff --git a/www/versioned_docs/version-6.11.0/guides/pictures/createContract.png b/www/versioned_docs/version-6.11.0/guides/pictures/createContract.png new file mode 100644 index 000000000..976b809b5 Binary files /dev/null and b/www/versioned_docs/version-6.11.0/guides/pictures/createContract.png differ diff --git a/www/versioned_docs/version-6.11.0/guides/pictures/encodeFn2.png b/www/versioned_docs/version-6.11.0/guides/pictures/encodeFn2.png new file mode 100644 index 000000000..0135cf123 Binary files /dev/null and b/www/versioned_docs/version-6.11.0/guides/pictures/encodeFn2.png differ diff --git a/www/versioned_docs/version-6.11.0/guides/pictures/executeTx.png b/www/versioned_docs/version-6.11.0/guides/pictures/executeTx.png new file mode 100644 index 000000000..17dbdb6aa Binary files /dev/null and b/www/versioned_docs/version-6.11.0/guides/pictures/executeTx.png differ diff --git a/www/versioned_docs/version-6.11.0/guides/pictures/starknet-js-chart.png b/www/versioned_docs/version-6.11.0/guides/pictures/starknet-js-chart.png new file mode 100644 index 000000000..383a8377e Binary files /dev/null and b/www/versioned_docs/version-6.11.0/guides/pictures/starknet-js-chart.png differ diff --git a/www/versioned_docs/version-6.11.0/guides/pictures/switchNetwork.png b/www/versioned_docs/version-6.11.0/guides/pictures/switchNetwork.png new file mode 100644 index 000000000..d502f64d2 Binary files /dev/null and b/www/versioned_docs/version-6.11.0/guides/pictures/switchNetwork.png differ diff --git a/www/versioned_docs/version-6.11.0/guides/signature.md b/www/versioned_docs/version-6.11.0/guides/signature.md new file mode 100644 index 000000000..57d41c938 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/guides/signature.md @@ -0,0 +1,206 @@ +--- +sidebar_position: 15 +--- + +# Signature + +You can use Starknet.js to sign a message outside of the network, using the standard methods of hash and sign of Starknet. In this way, in some cases, you can avoid paying fees to store data in-chain; you transfer the signed message off-chain, and the recipient can verify (without fee) on-chain the validity of the message. + +## Sign and send a message + +Your message has to be an array of `BigNumberish`. First, calculate the hash of this message, then calculate the signature. + +> If the message does not respect some safety rules of composition, this method could be a way of attack of your smart contract. If you have any doubt, prefer the [EIP712 like method](#sign-and-verify-following-eip712), which is safe, but is also more complicated. + +```typescript +import { ec, hash, num, json, Contract, WeierstrassSignatureType } from 'starknet'; + +const privateKey = '0x1234567890987654321'; +const starknetPublicKey = ec.starkCurve.getStarkKey(privateKey); +const fullPublicKey = encode.addHexPrefix( + encode.buf2hex(ec.starkCurve.getPublicKey(privateKey, false)) +); + +const message: BigNumberish[] = [1, 128, 18, 14]; + +const msgHash = hash.computeHashOnElements(message); +const signature: WeierstrassSignatureType = ec.starkCurve.sign(msgHash, privateKey); +``` + +Then you can send, by any means, to the recipient of the message: + +- the message. +- the signature. +- the full public key (or an account address using this private key). + +## Receive and verify a message + +On the receiver side, you can verify that: + +- the message has not been modified, +- the sender of this message owns the private key corresponding to the public key. + +2 ways to perform this verification: + +- off-chain, using the full public key (very fast, but only for standard Starknet hash & sign). +- on-chain, using the account address (slow, add workload to the node/sequencer, but can manage exotic account abstraction about hash or sign). + +### Verify outside of Starknet: + +The sender provides the message, the signature, and the full public key. Verification: + +```typescript +const msgHash1 = hash.computeHashOnElements(message); +const result1 = ec.starkCurve.verify(signature, msgHash1, fullPublicKey); +console.log('Result (boolean) =', result1); +``` + +> The sender can also provide their account address. Then you can check that this full public key is linked to this account. The public Key that you can read in the account contract is part (part X) of the full public Key (parts X & Y): + +Read the Public Key of the account: + +```typescript +const provider = new RpcProvider({ nodeUrl: 'http://127.0.0.1:5050/rpc' }); //devnet +const compiledAccount = json.parse( + fs.readFileSync('./__mocks__/cairo/account/accountOZ080.json').toString('ascii') +); +const accountAddress = '0x....'; // account of sender +const contractAccount = new Contract(compiledAccount.abi, accountAddress, provider); +const pubKey3 = await contractAccount.call('getPublicKey'); +``` + +Check that the Public Key of the account is part of the full public Key: + +```typescript +const isFullPubKeyRelatedToAccount: boolean = + publicKey.publicKey == BigInt(encode.addHexPrefix(fullPublicKey.slice(4, 68))); +console.log('Result (boolean)=', isFullPubKeyRelatedToAccount); +``` + +### Verify in the Starknet network, with the account: + +The sender can provide an account address, despite a full public key. + +```typescript +const provider = new RpcProvider({ nodeUrl: 'http://127.0.0.1:5050/rpc' }); //devnet +const compiledAccount = json.parse( + fs.readFileSync('./__mocks__/cairo/account/accountOZ080.json').toString('ascii') +); + +const accountAddress = '0x...'; // account of sender +const contractAccount = new Contract(compiledAccount.abi, accountAddress, provider); +const msgHash2 = hash.computeHashOnElements(message); +// The call of isValidSignature will generate an error if not valid +let result2: boolean; +try { + await contractAccount.isValidSignature(msgHash2, [signature.r, signature.s]); + result2 = true; +} catch { + result2 = false; +} +console.log('Result (boolean) =', result2); +``` + +## Sign and verify the following EIP712 + +Previous examples are valid for an array of numbers. In the case of a more complex structure of an object, you have to work in the spirit of [EIP 712](https://eips.ethereum.org/EIPS/eip-712). This JSON structure has 4 mandatory items: `types`, `primaryType`, `domain`, and `message`. +These items are designed to be able to be an interface with a wallet. At sign request, the wallet will display: + +- the `message` will be displayed at the bottom of the wallet display, showing clearly (not in hex) the message to sign. Its structure has to be in accordance with the type listed in `primaryType`, defined in `types`. +- the `domain` will be shown above the message. Its structure has to be in accordance with `StarkNetDomain`. + +The predefined types that you can use: + +- felt: for an integer on 251 bits. +- felt\*: for an array of felt. +- string: for a shortString of 31 ASCII characters max. +- selector: for a name of a smart contract function. +- merkletree: for a Root of a Merkle tree. the root is calculated with the provided data. + +```typescript +const typedDataValidate: TypedData = { + types: { + StarkNetDomain: [ + { name: 'name', type: 'string' }, + { name: 'version', type: 'felt' }, + { name: 'chainId', type: 'felt' }, + ], + Airdrop: [ + { name: 'address', type: 'felt' }, + { name: 'amount', type: 'felt' }, + ], + Validate: [ + { name: 'id', type: 'felt' }, + { name: 'from', type: 'felt' }, + { name: 'amount', type: 'felt' }, + { name: 'nameGamer', type: 'string' }, + { name: 'endDate', type: 'felt' }, + { name: 'itemsAuthorized', type: 'felt*' }, // array of felt + { name: 'chkFunction', type: 'selector' }, // name of function + { name: 'rootList', type: 'merkletree', contains: 'Airdrop' }, // root of a merkle tree + ], + }, + primaryType: 'Validate', + domain: { + name: 'myDapp', // put the name of your dapp to ensure that the signatures will not be used by other DAPP + version: '1', + chainId: shortString.encodeShortString('SN_SEPOLIA'), // shortString of 'SN_SEPOLIA' (or 'SN_MAIN'), to be sure that signature can't be used by other network. + }, + message: { + id: '0x0000004f000f', + from: '0x2c94f628d125cd0e86eaefea735ba24c262b9a441728f63e5776661829a4066', + amount: '400', + nameGamer: 'Hector26', + endDate: '0x27d32a3033df4277caa9e9396100b7ca8c66a4ef8ea5f6765b91a7c17f0109c', + itemsAuthorized: ['0x01', '0x03', '0x0a', '0x0e'], + chkFunction: 'check_authorization', + rootList: [ + { + address: '0x69b49c2cc8b16e80e86bfc5b0614a59aa8c9b601569c7b80dde04d3f3151b79', + amount: '1554785', + }, + { + address: '0x7447084f620ba316a42c72ca5b8eefb3fe9a05ca5fe6430c65a69ecc4349b3b', + amount: '2578248', + }, + { + address: '0x3cad9a072d3cf29729ab2fad2e08972b8cfde01d4979083fb6d15e8e66f8ab1', + amount: '4732581', + }, + { + address: '0x7f14339f5d364946ae5e27eccbf60757a5c496bf45baf35ddf2ad30b583541a', + amount: '913548', + }, + ], + }, +}; + +// connect your account, then +const signature2 = (await account.signMessage(typedDataValidate)) as WeierstrassSignatureType; +``` + +On the receiver side, you receive the JSON, the signature, and the account address. To verify the message: + +```typescript +const myAccount = new Account(provider, accountAddress, '0x0123'); // fake private key +try { + const result = await myAccount.verifyMessage(typedMessage, signature); + console.log('Result (boolean) =', result); +} catch { + console.log('verification failed:', result.error); +} +``` + +### Signing with an Ethereum signer + +All the previous examples are using the standard Starknet signature process, but you can also use the Ethereum one. + +```typescript +const myEthPrivateKey = '0x525bc68475c0955fae83869beec0996114d4bb27b28b781ed2a20ef23121b8de'; +const myEthAccountAddressInStarknet = + '0x65a822fbee1ae79e898688b5a4282dc79e0042cbed12f6169937fddb4c26641'; +const myEthSigner = new EthSigner(myEthPrivateKey); +console.log('Complete public key =', await myEthSigner.getPubKey()); +const sig0 = await myEthSigner.signMessage(message, myEthAccountAddressInStarknet); +console.log('signature message =', sig0); +``` diff --git a/www/versioned_docs/version-6.11.0/guides/use_ERC20.md b/www/versioned_docs/version-6.11.0/guides/use_ERC20.md new file mode 100644 index 000000000..b2f3bf999 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/guides/use_ERC20.md @@ -0,0 +1,117 @@ +--- +sidebar_position: 12 +--- + +# Work with ERC20 tokens + +Based on what has been seen in the previous pages of this guide, we will use an ERC20 contract. + +## What's an ERC20 + +As in Ethereum, a token has an ERC20 contract to manage it. This contract contains a table, that lists the quantity of tokens owned by each involved account: +![](./pictures/ERC20.png) + +For example, Account address 2 owns 100 tokens of this ERC20 contract. + +Users have the feeling that their tokens are stored in their wallets, but it's absolutely false. You have no list of assets stored in your account contract. In fact, a token has its own ERC20 contract, and the amount of token owned by your account address is stored in this contract. + +If you want to have your balance of a token, ask for its ERC20 contract, with the function `ERC20contract.balanceOf(accountAddress)`. + +When you want to transfer some tokens in your possession, you have to use the ERC20 contract function `transfer`, through the `account.execute` function (or meta-class methods). In this way, Starknet.js will send to the account contract a message signed with the private key. + +This message contains the name of the function to call in the ERC20 contract, with its optional parameters. + +The account contract will use the public key to check that you have the private key, then will ask the ERC20 contract to execute the requested function. + +This way, the ERC20 contract is absolutely sure that the caller of the transfer function knows the private key of this account. + +## ETH token is an ERC20 in Starknet + +In opposition to Ethereum, the ETH token is an ERC20 in Starknet, like all other tokens. In all networks, its ERC20 contract address is: + +```typescript +const addrETH = '0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7'; +``` + +## Deploy an ERC20 + +Let's dive down the rabbit hole! + +This example works with an ERC20, that we will deploy on the devnet-rs (launched with `cargo run --release -- --seed 0`). + +First, let's initialize an existing account: + +```typescript +// initialize provider +const provider = new RpcProvider({ nodeUrl: 'http://127.0.0.1:5050/rpc' }); +// initialize existing pre-deployed account 0 of Devnet-rs +const privateKey = '0x71d7bb07b9a64f6f78ac4c816aff4da9'; +const accountAddress = '0x64b48806902a367c8598f4f95c305e8c1a1acba5f082d294a43793113115691'; + +const account0 = new Account(provider, accountAddress, privateKey); +``` + +Declaration and deployment of the ERC20 contract: + +```typescript +// Deploy an ERC20 contract +console.log('Deployment Tx - ERC20 Contract to Starknet...'); +const compiledSierra = json.parse( + fs.readFileSync('./__mocks__/cairo/ERC20-241/ERC20OZ081.sierra.json').toString('ascii') +); +const compiledCasm = json.parse( + fs.readFileSync('./__mocks__/cairo/ERC20-241/ERC20OZ081.casm.json').toString('ascii') +); +const initialTk: Uint256 = cairo.uint256(20n * 10n ** 18n); // 20 NIT +const erc20CallData: CallData = new CallData(compiledSierra.abi); +const ERC20ConstructorCallData: Calldata = erc20CallData.compile('constructor', { + name: 'niceToken', + symbol: 'NIT', + fixed_supply: initialTk, + recipient: account0.address, +}); + +console.log('constructor=', ERC20ConstructorCallData); +const deployERC20Response = await account0.declareAndDeploy({ + contract: compiledSierra, + casm: compiledCasm, + constructorCalldata: ERC20ConstructorCallData, +}); +console.log('ERC20 declared hash: ', deployERC20Response.declare.class_hash); +console.log('ERC20 deployed at address: ', deployERC20Response.deploy.contract_address); + +// Get the erc20 contract address +const erc20Address = deployERC20Response.deploy.contract_address; +// Create a new erc20 contract object +const erc20 = new Contract(compiledSierra.abi, erc20Address, provider); +erc20.connect(account0); +``` + +## Interact with an ERC20 + +Here we will read the balance and transfer tokens: + +```typescript +// Check balance - should be 20 NIT +console.log(`Calling Starknet for account balance...`); +const balanceInitial = await erc20.balanceOf(account0.address); +console.log('account0 has a balance of:', balanceInitial); + +// Execute tx transfer of 1 tokens to account 1 +console.log(`Invoke Tx - Transfer 1 tokens to erc20 contract...`); +const toTransferTk: Uint256 = cairo.uint256(1 * 10 ** 18); +const transferCall: Call = erc20.populate('transfer', { + recipient: '0x78662e7352d062084b0010068b99288486c2d8b914f6e2a55ce945f8792c8b1', + amount: 1n * 10n ** 18n, +}); +const { transaction_hash: transferTxHash } = await account0.execute(transferCall); +// Wait for the invoke transaction to be accepted on Starknet +console.log(`Waiting for Tx to be Accepted on Starknet - Transfer...`); +await provider.waitForTransaction(transferTxHash); + +// Check balance after transfer - should be 19 NIT +console.log(`Calling Starknet for account balance...`); +const balanceAfterTransfer = await erc20.balanceOf(account0.address); +console.log('account0 has a balance of:', balanceAfterTransfer); +console.log('✅ Script completed.'); +``` diff --git a/www/versioned_docs/version-6.11.0/guides/walletAccount.md b/www/versioned_docs/version-6.11.0/guides/walletAccount.md new file mode 100644 index 000000000..6497f4cd1 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/guides/walletAccount.md @@ -0,0 +1,185 @@ +--- +sidebar_position: 9 +--- + +# WalletAccount + +**Use wallets (like Braavos & ArgentX) to sign your transactions in your DAPP.** + +The `WalletAccount` class is similar to the regular `Account` class, but is also able to ask a browser wallet to sign and send a transaction. Some other cool functionalities will be detailed hereunder. + +The private key of a WalletAccount is held in a browser wallet (as ArgentX or Braavos), and any signature is managed by the wallet. You don't have to manage in your DAPP the security of any private key. + +:::caution +This class is working only in the scope of a DAPP. You can't use it in a node.js script. +::: + +## Architecture + +![](./pictures/WalletAccountArchitecture.png) + +If you want to read Starknet, the WalletAccount will read directly the blockchain. That's why at the initialization of a WalletAccount, you need to put in the parameters a Provider instance. It will be used for all reading activities. + +If you want to write to Starknet, the WalletAccount will ask the browser Wallet to sign and send the transaction, using the Starknet Wallet API to communicate. +As several Wallets can be installed in your browser, the WalletAccount needs the ID of one of the available wallets. You can ask `get-starknet` to display a list of available wallets and to provide as a response the identifier of the selected wallet, called a `Starknet Windows Object` (named SWO from now). + +## Select a Wallet + +You can ask the `get-starknet` v4 library to display a list of wallets, then it will ask you to make a choice. It will return the SWO of the wallet the user selected. +Using the `get-starknet-core` v4 library, you can create your own UI and logic to select the wallet. An example of DAPP using a custom UI : [**here**](https://github.com/PhilippeR26/Starknet-WalletAccount/blob/main/src/app/components/client/WalletHandle/SelectWallet.tsx), where you can select only the wallets compatible with the Starknet wallet API. +![](./pictures/SelectWallet.png) + +So, you instantiate a new WalletAccount with : + +```typescript +import { connect } from 'get-starknet'; // v4.0.0 min +import { WalletAccount } from 'starknet'; // v6.10.0 min +const myFrontendProviderUrl = 'https://free-rpc.nethermind.io/sepolia-juno/v0_7'; +// standard UI to select a wallet : +const selectedWalletSWO = await connect({ modalMode: 'alwaysAsk', modalTheme: 'light' }); +const myWalletAccount = new WalletAccount({ nodeUrl: myFrontendProviderUrl }, selectedWalletSWO); +``` + +## Use as an account + +Once the new WalletAccount is created, you can use all the power of Starknet.js, exactly as a with a normal Account instance. +You can use for example `myWalletAccount.execute(call)` or `myWalletAccount.signMessage(typedMessage)` : + +```typescript +const claimCall = airdropContract.populate('claim_airdrop', { + amount: amount, + proof: proof, +}); +const resp = await myWalletAccount.execute(claimCall); +``` + +![](./pictures/executeTx.png) + +## Use in a Contract instance + +You can connect a WalletAccount with a Contract instance. All reading actions are performed by the provider of the WalletAccount, and all writing actions (that needs a signature) are performed by the browser wallet. + +```typescript +const lendContract = new Contract(contract.abi, contractAddress, myWalletAccount); +const qty = await lendContract.get_available_asset(addr); // use of the WalletAccount provider. +const resp = await lendContract.process_lend_asset(addr); // use of the browser wallet +``` + +## Use as a provider + +Your WalletAccount instance can be used as a provider : + +```typescript +const bl = await myWalletAccount.getBlockNumber(); +// bl = 2374543 +``` + +You can use all the methods of the RpcProvider class. Under the hood, the WalletAccount will use the rpc node that you indicated at its instantiation. + +## Subscription to events + +You can subscribe to 2 events : + +- `accountsChanged` : Triggered each time you change the current account in the wallet. +- `networkChanged` : Triggered each time you change the current network in the wallet. + +At each change of the network, both account and network events are occurring. +At each change of the account, only the account event is occurring. + +### Subscribe + +#### accountsChanged + +```typescript +const handleAccount: AccountChangeEventHandler = (accounts: string[] | undefined) => { + if (accounts?.length) { + const textAddr = accounts[0]; // hex string + setChangedAccount(textAddr); // from a React useState + } +}; +selectedWalletSWO.on('accountsChanged', handleAccount); +``` + +#### networkChanged + +```typescript +const handleNetwork: NetworkChangeEventHandler = (chainId?: string, accounts?: string[]) => { + if (!!chainId) { + setChangedNetwork(chainId); + } // from a React useState +}; +selectedWalletSWO.on('networkChanged', handleNetwork); +``` + +### Un-subscribe : + +Similar to subscription, using `.off` method. + +```typescript +selectedWalletSWO.off('accountsChanged', handleAccount); +selectedWalletSWO.off('networkChanged', handleNetwork); +``` + +:::info +You can subscribe both with the SWO or with a WalletAccount instance. +The above examples are using the SWO, because it's the simpler way to process. +::: + +## Direct access to the wallet API entry points + +The WalletAccount class is able to interact with all the entrypoints of the Starknet wallet API, including some functionalities that do not exists in an Account class. +You have a full description of this API [**here**](https://github.com/PhilippeR26/Starknet-WalletAccount/blob/main/doc/walletAPIspec.md). + +Some examples: + +### Request a change of wallet network + +Using your WalletAccount, you can ask the wallet to change its current network: + +```typescript +useEffect( + () => { + if (!isValidNetwork()) { + const tryChangeNetwork = async () => { + await myWalletAccount.switchStarknetChain(constants.StarknetChainId.SN_SEPOLIA); + }; + tryChangeNetwork().catch(console.error); + } + }, + [chainId] // from a networkChanged event +); +``` + +![](./pictures/switchNetwork.png) + +### Request to display a token in the wallet + +Using your WalletAccount, you can ask the wallet to display a new token: + +```typescript +useEffect( + () => { + const fetchAddToken = async () => { + const resp = await myWalletAccount.watchAsset({ + type: 'ERC20', + options: { + address: erc20Address, + }, + }); + }; + if (isAirdropSuccess) { + fetchAddToken().catch(console.error); + } + }, + [isAirdropSuccess] // from a React useState +); +``` + +![](./pictures/addToken.png) + +## Change of network or account + +When you change the network or the account address, the WalletAccount is automatically updated, but it can lead to tricky behavior (read and write in different networks, problems of Cairo versions of the accounts, ....). +:::warning RECOMMENDATION +It's strongly recommended to create a new WalletAccount instance each time the network or the account address is changed. +::: diff --git a/www/versioned_docs/version-6.11.0/guides/what_s_starknet.js.md b/www/versioned_docs/version-6.11.0/guides/what_s_starknet.js.md new file mode 100644 index 000000000..ffd90cba0 --- /dev/null +++ b/www/versioned_docs/version-6.11.0/guides/what_s_starknet.js.md @@ -0,0 +1,33 @@ +--- +sidebar_position: 2 +--- + +# What is Starknet.js ? + +Starknet.js is a library that helps to connect your website or your Decentralized Application (DAPP) to the blockchain-based Starknet network, using JavaScript / TypeScript language. + +## Overview + +![](./pictures/starknet-js-chart.png) + +Some important topics that have to be understood: + +- You can connect your DAPP to several networks: + + - [Starknet mainnet](https://starkscan.co) (Layer 2 of [Ethereum network](https://etherscan.io/) ). + - [Starknet testnet](https://sepolia.starkscan.co/) (Layer 2 of [Sepolia network](https://sepolia.etherscan.io/) (testnet of Ethereum)). + - [Starknet-devnet](https://github.com/0xSpaceShard/starknet-devnet-rs) (your local Starknet network, for developers). + + and also to some more specific solutions: + + - private customized version of Starknet. + - local Starknet node (connected to mainnet or testnet). + +> Understanding what Starknet is and how it works is necessary. Then, you can learn how to interact with it using Starknet.js. So, at this stage, you should be aware of the content of the [Starknet official doc](https://docs.starknet.io/documentation/) and [the Starknet Book](https://book.starknet.io/). + +- Only the `RpcProvider` object communicates directly with the network; your DAPP will mainly interact with `Account` and `Contract` objects. You will define with the `RpcProvider` with which network you want to work. You can use the provider to access some low-level data from the network (block, timestamp, ...). +- `Signer` and `Utils` objects contain many useful functions for interaction with Starknet.js. +- The `Contract` object is mainly used to read the memory of a blockchain contract. +- The `Account` object is the most useful: + - as a wallet, to store your tokens. + - as a way to pay the fees to the network, and to be able to write in its memory. diff --git a/www/versioned_sidebars/version-6.11.0-sidebars.json b/www/versioned_sidebars/version-6.11.0-sidebars.json new file mode 100644 index 000000000..cff0c94e1 --- /dev/null +++ b/www/versioned_sidebars/version-6.11.0-sidebars.json @@ -0,0 +1,8 @@ +{ + "defaultSidebar": [ + { + "type": "autogenerated", + "dirName": "." + } + ] +} diff --git a/www/versions.json b/www/versions.json index 6aecc937e..18087a46c 100644 --- a/www/versions.json +++ b/www/versions.json @@ -1 +1 @@ -["5.24.3", "5.19.5", "5.14.1"] +["6.11.0", "5.24.3", "5.19.5", "5.14.1"]